blob: ff01fc5179c63216d1c5985bde42370e78f6dc5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
namespace Sink.Commands;
enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress, Inspection }
enum NotificationCode : byte { Success = 0, Failure = 1, UserCode }
table Notification {
type: NotificationType = Status;
identifier: string; //An identifier that links back to the something related to the notification (e.g. an entity id or a command id)
message: string;
code: int = 0; //Of type NotificationCode
}
root_type Notification;
|