1
0
forked from mirror/misskey

add header, choice, invitation

This commit is contained in:
tamaina 2021-09-06 01:58:07 +09:00
parent 110de167e8
commit 47e0e32aa3

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,