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_name: string;
anvil_uuid: string; anvil_uuid: string;
anvil_state: string; anvil_state: string;
nodes: Array<{ nodes: Array<AnvilListItemNode>;
AnvilListItemNode;
}>;
}; };

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

Loading…
Cancel
Save