refactor: add types to handle setting a node's power and memebership

main
Josue 4 years ago committed by Tsu-ba-me
parent 65677c0bfb
commit 2fe146d58c
  1. 11
      striker-ui/types/NodeSet.d.ts

@ -0,0 +1,11 @@
declare type NodeSet = {
host_uuid: string;
};
declare type NodeSetPower = NodeSet & {
is_on: boolean;
};
declare type NodeSetMembership = NodeSet & {
is_membership: boolean;
};
Loading…
Cancel
Save