From 9ea268a6d0f4054c31b2729ecd6cfcc9d07a2d6a Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 24 Mar 2017 22:15:18 +0100 Subject: Implemented notification support in the model. This will allow us to fold things like progress and sync status directly into the model. Usecases are mail download progress and folder sync progress. Ideally we would also solve the resource/account state through this. --- common/commands/notification.fbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/commands/notification.fbs') diff --git a/common/commands/notification.fbs b/common/commands/notification.fbs index c82fad3..517111c 100644 --- a/common/commands/notification.fbs +++ b/common/commands/notification.fbs @@ -2,9 +2,10 @@ namespace Sink.Commands; table Notification { type: int = 0; //See notification.h - identifier: string; //An identifier that links back to the something related to the notification (e.g. an entity id or a command id) + identifier: string; //An identifier that links back to the something related to the notification (e.g. a command id) message: string; code: int = 0; //See notification.h + entities: [string]; //A list of entities this applies to } root_type Notification; -- cgit v1.2.3