From 47e0e32aa31c0d4e3da85da2294a1503f3a5588b Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 6 Sep 2021 01:58:07 +0900 Subject: [PATCH] add header, choice, invitation --- src/models/repositories/notification.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/models/repositories/notification.ts b/src/models/repositories/notification.ts index 4d13940c76..ed9de7ef4c 100644 --- a/src/models/repositories/notification.ts +++ b/src/models/repositories/notification.ts @@ -153,10 +153,22 @@ export const packedNotificationSchema = { type: 'string' as const, optional: true as const, nullable: true as const, }, + choice: { + type: 'number' as const, + optional: true as const, nullable: true as const, + }, + invitation: { + type: 'object' as const, + optional: true as const, nullable: true as const, + }, body: { type: 'string' as const, optional: true as const, nullable: true as const, }, + header: { + type: 'string' as const, + optional: true as const, nullable: true as const, + }, icon: { type: 'string' as const, optional: true as const, nullable: true as const,