20 lines
339 B
TypeScript
20 lines
339 B
TypeScript
export interface CommandRegistry {
|
|
id: number;
|
|
commandName: string;
|
|
commandType: CommandType;
|
|
description?: string;
|
|
commandContent: string;
|
|
qoS: 0 | 1 | 2;
|
|
isRetained: boolean;
|
|
createdAt?: string;
|
|
updatedAt?: string;
|
|
}
|
|
|
|
export enum CommandType {
|
|
RESTART = 1,
|
|
SHUTDOWN = 2,
|
|
TASKKILL = 3,
|
|
BLOCK = 4,
|
|
RESET = 5,
|
|
}
|