2020-08-14 03:47:16 +00:00
|
|
|
export enum SocketEvent {
|
|
|
|
DAEMON_MESSAGE = 'daemon message',
|
2021-01-31 02:43:46 +00:00
|
|
|
DAEMON_ERROR = 'daemon error',
|
2020-08-14 03:47:16 +00:00
|
|
|
INSTALL_OUTPUT = 'install output',
|
|
|
|
INSTALL_STARTED = 'install started',
|
|
|
|
INSTALL_COMPLETED = 'install completed',
|
|
|
|
CONSOLE_OUTPUT = 'console output',
|
|
|
|
STATUS = 'status',
|
|
|
|
STATS = 'stats',
|
2021-01-31 02:43:46 +00:00
|
|
|
TRANSFER_LOGS = 'transfer logs',
|
|
|
|
TRANSFER_STATUS = 'transfer status',
|
2020-08-14 03:47:16 +00:00
|
|
|
BACKUP_COMPLETED = 'backup completed',
|
2021-01-31 02:43:46 +00:00
|
|
|
BACKUP_RESTORE_COMPLETED = 'backup restore completed',
|
|
|
|
}
|
|
|
|
|
|
|
|
export enum SocketRequest {
|
|
|
|
SEND_LOGS = 'send logs',
|
|
|
|
SEND_STATS = 'send stats',
|
|
|
|
SET_STATE = 'set state'
|
2020-08-14 03:47:16 +00:00
|
|
|
}
|