This commit is contained in:
tamaina
2021-09-06 02:33:16 +09:00
parent 75015c7044
commit ee03cd6160
3 changed files with 26 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ export const packedBlockingSchema = {
blockee: {
type: 'object' as const,
optional: false as const, nullable: false as const,
ref: 'User',
ref: 'User' as const,
},
}
};

View File

@@ -145,6 +145,19 @@ export const packedNotificationSchema = {
format: 'id',
},
note: {
type: 'object' as const,
ref: 'Note' as const,
optional: true as const, nullable: true as const,
},
reaction: {
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,
ref: 'Note',
optional: true as const, nullable: true as const,