File size: 442 Bytes
0646b18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { uuidv4 } from "./functions";

export enum CommandType {
  RenderSidepanel = "nl2ui.sidepanel.render",
}

export class RenderSidepanelCommand implements Command {
  type: string = CommandType.RenderSidepanel;
  id: string = uuidv4();

  constructor() {}
}

/**
 * Describes a command.
 */
export interface Command {
  id: string;
  type: string;
  //message?: string; This may not be right in same time commenting it may break stuff
}