fix: use the same data type for Anvil nodes

main
Josue 4 years ago committed by Tsu-ba-me
parent e1e4df084f
commit 3c4284c4f3
  1. 4
      striker-ui/types/AnvilListItem.d.ts
  2. 5
      striker-ui/types/AnvilSharedStorageNode.d.ts

@ -2,7 +2,5 @@ declare type AnvilListItem = {
anvil_name: string;
anvil_uuid: string;
anvil_state: string;
nodes: Array<{
AnvilListItemNode;
}>;
nodes: Array<AnvilListItemNode>;
};

@ -2,8 +2,5 @@ declare type AnvilSharedStorageNode = {
is_mounted: boolean;
total: number;
free: number;
nodeInfo?: {
node_name: string;
node_uuid: string;
};
nodeInfo?: AnvilListItemNode;
};

Loading…
Cancel
Save