diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2024-08-16 21:02:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-16 21:02:12 +0900 |
| commit | a8810af8d9a78c0819781001ab045a9c8cf9d171 (patch) | |
| tree | 5394547362eba377f244d39a28fd9e943caa8302 /packages/misskey-js/src/consts.ts | |
| parent | enhance(frontend): improve usability (diff) | |
| download | misskey-a8810af8d9a78c0819781001ab045a9c8cf9d171.tar.gz misskey-a8810af8d9a78c0819781001ab045a9c8cf9d171.tar.bz2 misskey-a8810af8d9a78c0819781001ab045a9c8cf9d171.zip | |
fix(backend): リバーシの設定変更が反映されないのを修正 (#14404)
* fix(backend): リバーシの設定変更が反映されないのを修正
* Update Changelog
* add bindthis
Diffstat (limited to 'packages/misskey-js/src/consts.ts')
| -rw-r--r-- | packages/misskey-js/src/consts.ts | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/misskey-js/src/consts.ts b/packages/misskey-js/src/consts.ts index aa8eeb48cb..5863a0b1dd 100644 --- a/packages/misskey-js/src/consts.ts +++ b/packages/misskey-js/src/consts.ts @@ -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]; |