summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/entities.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/entities.ts b/src/entities.ts
index 87c8134637..f21036d960 100644
--- a/src/entities.ts
+++ b/src/entities.ts
@@ -150,11 +150,15 @@ export type Notification = {
user: User;
userId: User['id'];
} | {
- type: 'groupInvited'; // TODO
+ type: 'groupInvited';
+ invitation: UserGroup;
+ user: User;
+ userId: User['id'];
} | {
type: 'app';
+ header?: string | null;
body: string;
- icon: string;
+ icon?: string | null;
});
export type MessagingMessage = {