refactor: group up AnvilSharedStorage types

main
Josue 4 years ago committed by Tsu-ba-me
parent 5f2ca07549
commit 1642b637ee
  1. 12
      striker-ui/types/AnvilSharedStorage.d.ts
  2. 4
      striker-ui/types/AnvilSharedStorageFileSystem.d.ts
  3. 6
      striker-ui/types/AnvilSharedStorageNode.d.ts

@ -1,3 +1,15 @@
declare type AnvilSharedStorageNode = {
is_mounted: boolean;
total: number;
free: number;
nodeInfo?: AnvilListItemNode;
};
declare type AnvilSharedStorageFileSystem = {
mountPoint: string;
nodes: Array<AnvilSharedStorageNode>;
};
declare type AnvilSharedStorage = {
file_systems: Array<AnvilSharedStorageFileSystem>;
};

@ -1,4 +0,0 @@
declare type AnvilSharedStorageFileSystem = {
mountPoint: string;
nodes: Array<AnvilSharedStorageNode>;
};

@ -1,6 +0,0 @@
declare type AnvilSharedStorageNode = {
is_mounted: boolean;
total: number;
free: number;
nodeInfo?: AnvilListItemNode;
};
Loading…
Cancel
Save