TTMT.ManageWebGUI/src/types/command-registry.ts

19 lines
326 B
TypeScript
Raw Normal View History

2026-01-18 22:52:19 +07:00
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,
}