Switch from RabbitMQ to server-sent events
(not fully working yet)
This commit is contained in:
@@ -8,7 +8,8 @@ export enum ISeverity {
|
||||
ERROR = 3
|
||||
}
|
||||
|
||||
export type NotificationType = 'beat' | 'phone_alive' | 'phone_dead' | 'phone_register' | 'panic';
|
||||
export type NotificationType = 'beat' | 'phone_alive' | 'phone_dead' | 'phone_register' | 'panic' | 'test';
|
||||
export type PublicNotificationType = 'shutdown' | 'restart' | 'warning' | 'error' | 'info';
|
||||
|
||||
export interface INotification extends Document {
|
||||
type: NotificationType;
|
||||
|
||||
Reference in New Issue
Block a user