This commit is contained in:
tamaina 2023-02-23 10:02:15 +00:00
parent 2042b33b5d
commit d72f29b2c3
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ export class NoteEntityService implements OnModuleInit {
private pollsRepository: PollsRepository, private pollsRepository: PollsRepository,
@Inject(DI.pollVotesRepository) @Inject(DI.pollVotesRepository)
private sRepository: PollVotesRepository, private pollVotesRepository: PollVotesRepository,
@Inject(DI.noteReactionsRepository) @Inject(DI.noteReactionsRepository)
private noteReactionsRepository: NoteReactionsRepository, private noteReactionsRepository: NoteReactionsRepository,

View File

@ -43,10 +43,10 @@ export const paramDef = {
markAsRead: { type: 'boolean', default: true }, markAsRead: { type: 'boolean', default: true },
// 後方互換のため、廃止された通知タイプも受け付ける // 後方互換のため、廃止された通知タイプも受け付ける
includeTypes: { type: 'array', items: { includeTypes: { type: 'array', items: {
type: 'string', enum: [ ...notificationTypes, ...obsoleteNotificationTypes ], type: 'string', enum: [...notificationTypes, ...obsoleteNotificationTypes],
} }, } },
excludeTypes: { type: 'array', items: { excludeTypes: { type: 'array', items: {
type: 'string', enum: [ ...notificationTypes, ...obsoleteNotificationTypes ], type: 'string', enum: [...notificationTypes, ...obsoleteNotificationTypes],
} }, } },
}, },
required: [], required: [],