Files
privacy.sexy/src/presentation/Scripts/ScriptsTree/SelectableTree/Node/INode.ts
2020-08-25 16:52:38 +01:00

14 lines
297 B
TypeScript

export enum NodeType {
Script,
Category,
}
export interface INode {
readonly id: string;
readonly text: string;
readonly isReversible: boolean;
readonly documentationUrls: ReadonlyArray<string>;
readonly children?: ReadonlyArray<INode>;
readonly type: NodeType;
}