blob: 8750ff59bfa513792aa564f9a6e0d2c78bda05a0 (
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, RevisionUpdate }
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;
|