feat: create types to handle shared storage

main
Josue 4 years ago committed by Tsu-ba-me
parent 78f4ccba9f
commit 75d28f441c
  1. 3
      striker-ui/types/AnvilSharedStorage.d.ts
  2. 4
      striker-ui/types/AnvilSharedStorageFileSystem.d.ts
  3. 9
      striker-ui/types/AnvilSharedStorageNode.d.ts

@ -0,0 +1,3 @@
declare type AnvilSharedStorage = {
file_systems: Array<AnvilSharedStorageFileSystem>;
};

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

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