parent
e0fbeab876
commit
ce9135c5af
5 changed files with 18 additions and 2 deletions
@ -0,0 +1,5 @@ |
||||
declare type AnvilCPU = { |
||||
cores: number; |
||||
threads: number; |
||||
allocated: number; |
||||
}; |
@ -1,3 +1,3 @@ |
||||
declare type AnvilList = { |
||||
anvils: AnvilListItem[]; |
||||
anvils: Array<AnvilListItem>; |
||||
}; |
||||
|
@ -1,3 +1,8 @@ |
||||
declare type AnvilListItem = { |
||||
uuid: string; |
||||
anvil_name: string; |
||||
anvil_uuid: string; |
||||
nodes: Array<{ |
||||
node_name: string; |
||||
node_uuid: string; |
||||
}>; |
||||
}; |
||||
|
@ -0,0 +1 @@ |
||||
declare type AnvilTypes = AnvilList | AnvilCPU; |
@ -0,0 +1,5 @@ |
||||
declare type GetResponses = { |
||||
data: T; |
||||
isLoading: boolean; |
||||
isError: Error; |
||||
}; |
Loading…
Reference in new issue