add header, choice, invitation

This commit is contained in:
tamaina 2021-09-06 01:58:07 +09:00
parent 110de167e8
commit 47e0e32aa3
1 changed files with 12 additions and 0 deletions

View File

@ -153,10 +153,22 @@ export const packedNotificationSchema = {
type: 'string' as const, type: 'string' as const,
optional: true as const, nullable: true 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: { body: {
type: 'string' as const, type: 'string' as const,
optional: true as const, nullable: true as const, optional: true as const, nullable: true as const,
}, },
header: {
type: 'string' as const,
optional: true as const, nullable: true as const,
},
icon: { icon: {
type: 'string' as const, type: 'string' as const,
optional: true as const, nullable: true as const, optional: true as const, nullable: true as const,