summaryrefslogtreecommitdiffstats
path: root/common/commands
diff options
context:
space:
mode:
Diffstat (limited to 'common/commands')
-rw-r--r--common/commands/inspection.fbs12
-rw-r--r--common/commands/notification.fbs5
2 files changed, 16 insertions, 1 deletions
diff --git a/common/commands/inspection.fbs b/common/commands/inspection.fbs
new file mode 100644
index 0000000..aaae1ae
--- /dev/null
+++ b/common/commands/inspection.fbs
@@ -0,0 +1,12 @@
1namespace Akonadi2.Commands;
2
3table Inspection {
4 id: string;
5 type: int;
6 entityId: string;
7 domainType: string;
8 property: string;
9 expectedValue: string;
10}
11
12root_type Inspection;
diff --git a/common/commands/notification.fbs b/common/commands/notification.fbs
index 6684472..eb00986 100644
--- a/common/commands/notification.fbs
+++ b/common/commands/notification.fbs
@@ -1,9 +1,12 @@
1namespace Akonadi2; 1namespace Akonadi2;
2 2
3enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress } 3enum NotificationType : byte { Shutdown = 1, Status, Warning, Progress, Inspection }
4enum NotificationCode : byte { Success = 0, Failure = 1, UserCode }
4 5
5table Notification { 6table Notification {
6 type: NotificationType = Status; 7 type: NotificationType = Status;
8 message: string;
9 code: int = 0; //Of type NotificationCode
7} 10}
8 11
9root_type Notification; 12root_type Notification;