add header, choice, invitation

This commit is contained in:
tamaina 2021-09-06 01:58:07 +09:00
parent 3bde3e523d
commit 75015c7044
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,