fix(backend): リバーシの設定変更が反映されないのを修正 (#14404)

* fix(backend): リバーシの設定変更が反映されないのを修正

* Update Changelog

* add bindthis
This commit is contained in:
かっこかり
2024-08-16 21:02:12 +09:00
committed by GitHub
parent 45d88574c3
commit a8810af8d9
6 changed files with 47 additions and 12 deletions

View File

@@ -1,11 +1,16 @@
import type { operations } from './autogen/types.js';
import type {
AbuseReportNotificationRecipient, Ad,
AbuseReportNotificationRecipient,
Ad,
Announcement,
EmojiDetailed, InviteCode,
EmojiDetailed,
InviteCode,
MetaDetailed,
Note,
Role, SystemWebhook, UserLite,
Role,
ReversiGameDetailed,
SystemWebhook,
UserLite,
} from './autogen/models.js';
export const notificationTypes = ['note', 'follow', 'mention', 'reply', 'renote', 'quote', 'reaction', 'pollVote', 'pollEnded', 'receiveFollowRequest', 'followRequestAccepted', 'groupInvited', 'app', 'roleAssigned', 'achievementEarned'] as const;
@@ -159,7 +164,7 @@ export const reversiUpdateKeys = [
'canPutEverywhere',
'loopedBoard',
'timeLimitForEachTurn',
] as const;
] as const satisfies (keyof ReversiGameDetailed)[];
export type ReversiUpdateKey = typeof reversiUpdateKeys[number];