From f2783900127afd103ae485ab1cd0f00aff2fcdd9 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 21 Sep 2021 02:50:35 +0900 Subject: fix: Notificationsの型を修正 (#27) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update entities.ts * Update entities.ts * extract * fix app define extract * appの定義を修正 * 改行コード修正 * add changelog * fix Co-authored-by: syuilo --- src/entities.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') 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 = { -- cgit v1.2.3-freya