fix(striker-ui): add /api/anvil response type

main
Tsu-ba-me 1 year ago
parent b88f90c315
commit c1d6990070
  1. 21
      striker-ui/types/APIAnvil.d.ts

@ -86,3 +86,24 @@ type AnvilListItem = {
type AnvilList = { type AnvilList = {
anvils: AnvilListItem[]; anvils: AnvilListItem[];
}; };
type APIAnvilOverviewArray = Array<{
anvilName: string;
anvilUUID: string;
hosts: Array<{ hostName: string; hostUUID: string }>;
}>;
type APIAnvilOverview = {
hosts: {
[uuid: string]: {
name: string;
uuid: string;
};
};
name: string;
uuid: string;
};
type APIAnvilOverviewList = {
[uuid: string]: APIAnvilOverview;
};

Loading…
Cancel
Save