undergroundwires/privacy.sexy

View on GitHub
src/presentation/components/Scripts/View/Tree/NodeContent/NodeMetadata.ts

Summary

Maintainability
A
0 mins
Test Coverage
export enum NodeType {
  Script,
  Category,
}

export interface NodeMetadata {
  readonly id: string;
  readonly text: string;
  readonly isReversible: boolean;
  readonly docs: ReadonlyArray<string>;
  readonly children: ReadonlyArray<NodeMetadata>;
  readonly type: NodeType;
}