refactor: frontendのcomponentsの型エラーを改善 (#12926)
* add: safeFloatParserを追加
* fix: 欠けていた型を追加
* refactor: pageBlockTypesをjson-schemaに移植
* refactor: components/global内の型エラーが出ている箇所を修正
* lint: fix null check style
* refactor: fix type error
* refactor: fix some type errors
* fix: 翻訳が抜けていた箇所を修正
* refactor: getJsonSchemaで正しいスキーマが返されるように修正
* fix: MkChartの型エラーとbytesオプションが機能していない問題を修正
* fix(misskey-js): `drive`->`folderUpdated`のpayloadの型が間違っていたのを修正
* refactor: fix some type errors
* change: Captcha読み込み中の文言をLoadingに変更
* refactor(backend/misskey-js): MainEventの型を改善
* refactor: chartjs-plugin-gradientが二重でpluginに登録されていたのを修正
* update: misskey-js.api.md
* refactor: fix some type errors
* fix: backendのtypecheckが落ちていたのを修正
* update: misskey-js.api.md
* add: json-schemaのnoteにpollの型定義を追加
* refactor: noteのjson-schemaの型を改善
* refactor: MkPoll
* refactor: fix some type errors
* change: UserLiteにisLockedを持たせるように
* fix: notificationスキーマにroleが含まれていないのを修正
* Revert "change: UserLiteにisLockedを持たせるように"
This reverts commit 1bb0c8e7a9.
* fix: フォロー通知から鍵垢へのフォローを行うと処理中のまま止まってしまう問題を修正
* refactor: noteスキーマのvisibilityにenumを追加
* change: deepCloneのCloneableTypeにundefinedを追加
* refactor: fix some type errors
* refactor: `allowEmpty: false`を使用していた箇所を`minLength: 1`に置き換え
* enhance: API 'retension' のresponseの型を追加
* fix: Chart関連のtooltipが正しい位置に表示されない問題を修正
* refactor: fix some type errors
* fix: 型情報が不足していたのを修正
* enhance: announcementスキーマにenumを追加
* enhance: ロールポリシーの型定義をRoleServiceからjson-schemaに移植
* refactor: policiesを`ref: RolePolicies`に統一
* fix: API `meta` のレスポンスの型にpoliciesが含まれていないのを修正
* refactor: fix some type errors
* fix: backendのlintが落ちているのを修正
* fix: MkFoldableSectionの開閉時のanimationが適用されていない問題を修正
* fix: backendのtypecheckが落ちているのを修正
* update: run build-misskey-js-with-types
* fix: MkDialogのmount時に文字数制限の判定が行われない問題を修正
* update: CHANGELOG.md
* refactor: MkUserSelectDialogの型を改善
* fix: deepCloneでundefinedはcloneしないように (#9207)
* change: frontendのcloneをbackend側にも反映
* update: CHANGELOG.md
* fix: RoleServiceからPackを通して型RolePoliciesに依存させないように
* Update packages/frontend/src/scripts/get-note-summary.ts
* revert RoleService.ts changes
* change:  optional chaining -> non-null assertion
* remove: unused import
* fix: propsで渡されたuserがUserLiteの場合に意図しない動作になってしまうのを修正
* change: fix null check style
* refactor: fix type error
* change: fix null check style
* Update packages/frontend/src/components/MkDrive.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: css moduleでglobalを使わないように
* refactor: roleのiconUrlは必ず存在するものとして扱うように
* enhance: MenuButtonのactiveにcomputedを受け付けられるように
* Update packages/frontend/src/components/MkNotePreview.vue
* Update MkWindow.vue
* refactor: notification.noteは必ず存在するものとして扱うように
* Update packages/frontend/src/components/MkNotification.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: MkSignupDialogでdoneのemit時にresを含んでいなかったのを修正
* Update packages/frontend/src/scripts/clone.ts
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: 不要な返り値の型を削除
* refactor: 不要なnullチェックを削除
* update: misskey-js-autogen
* update: clone.ts
* refactor
* Update MkNotification.vue
* Update MkNotification.vue
* ✌️
* Update MkNotification.vue
* Update MkNotification.vue
* Update MkNotification.vue
* Update MkNotifications.vue
* Update MkUserSetupDialog.Profile.vue
* Update MkUserCardMini.vue
* ✌️
* Update MkMenu.vue
---------
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
			
			
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| /* | ||||
|  * version: 2024.2.0-beta.6 | ||||
|  * generatedAt: 2024-01-24T07:32:10.455Z | ||||
|  * version: 2024.2.0-beta.7 | ||||
|  * generatedAt: 2024-01-29T09:40:51.624Z | ||||
|  */ | ||||
|  | ||||
| import type { SwitchCaseResponseType } from '../api.js'; | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| /* | ||||
|  * version: 2024.2.0-beta.6 | ||||
|  * generatedAt: 2024-01-24T07:32:10.453Z | ||||
|  * version: 2024.2.0-beta.7 | ||||
|  * generatedAt: 2024-01-29T09:40:51.621Z | ||||
|  */ | ||||
|  | ||||
| import type { | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| /* | ||||
|  * version: 2024.2.0-beta.6 | ||||
|  * generatedAt: 2024-01-24T07:32:10.452Z | ||||
|  * version: 2024.2.0-beta.7 | ||||
|  * generatedAt: 2024-01-29T09:40:51.620Z | ||||
|  */ | ||||
|  | ||||
| import { operations } from './types.js'; | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| /* | ||||
|  * version: 2024.2.0-beta.6 | ||||
|  * generatedAt: 2024-01-24T07:32:10.450Z | ||||
|  * version: 2024.2.0-beta.7 | ||||
|  * generatedAt: 2024-01-29T09:40:51.618Z | ||||
|  */ | ||||
|  | ||||
| import { components } from './types.js'; | ||||
| @@ -29,6 +29,7 @@ export type Blocking = components['schemas']['Blocking']; | ||||
| export type Hashtag = components['schemas']['Hashtag']; | ||||
| export type InviteCode = components['schemas']['InviteCode']; | ||||
| export type Page = components['schemas']['Page']; | ||||
| export type PageBlock = components['schemas']['PageBlock']; | ||||
| export type Channel = components['schemas']['Channel']; | ||||
| export type QueueCount = components['schemas']['QueueCount']; | ||||
| export type Antenna = components['schemas']['Antenna']; | ||||
| @@ -41,5 +42,6 @@ export type Flash = components['schemas']['Flash']; | ||||
| export type Signin = components['schemas']['Signin']; | ||||
| export type RoleLite = components['schemas']['RoleLite']; | ||||
| export type Role = components['schemas']['Role']; | ||||
| export type RolePolicies = components['schemas']['RolePolicies']; | ||||
| export type ReversiGameLite = components['schemas']['ReversiGameLite']; | ||||
| export type ReversiGameDetailed = components['schemas']['ReversiGameDetailed']; | ||||
|   | ||||
| @@ -2,8 +2,8 @@ | ||||
| /* eslint @typescript-eslint/no-explicit-any: 0 */ | ||||
|  | ||||
| /* | ||||
|  * version: 2024.2.0-beta.6 | ||||
|  * generatedAt: 2024-01-24T07:32:10.370Z | ||||
|  * version: 2024.2.0-beta.7 | ||||
|  * generatedAt: 2024-01-29T09:40:51.532Z | ||||
|  */ | ||||
|  | ||||
| /** | ||||
| @@ -3744,32 +3744,7 @@ export type components = { | ||||
|           unlockedAt: number; | ||||
|         }[]; | ||||
|       loggedInDays: number; | ||||
|       policies: { | ||||
|         gtlAvailable: boolean; | ||||
|         ltlAvailable: boolean; | ||||
|         canPublicNote: boolean; | ||||
|         canInvite: boolean; | ||||
|         inviteLimit: number; | ||||
|         inviteLimitCycle: number; | ||||
|         inviteExpirationTime: number; | ||||
|         canManageCustomEmojis: boolean; | ||||
|         canManageAvatarDecorations: boolean; | ||||
|         canSearchNotes: boolean; | ||||
|         canUseTranslator: boolean; | ||||
|         canHideAds: boolean; | ||||
|         driveCapacityMb: number; | ||||
|         alwaysMarkNsfw: boolean; | ||||
|         pinLimit: number; | ||||
|         antennaLimit: number; | ||||
|         wordMuteLimit: number; | ||||
|         webhookLimit: number; | ||||
|         clipLimit: number; | ||||
|         noteEachClipsLimit: number; | ||||
|         userListLimit: number; | ||||
|         userEachUserListsLimit: number; | ||||
|         rateLimitFactor: number; | ||||
|         avatarDecorationLimit: number; | ||||
|       }; | ||||
|       policies: components['schemas']['RolePolicies']; | ||||
|       email?: string | null; | ||||
|       emailVerified?: boolean | null; | ||||
|       securityKeysList?: { | ||||
| @@ -3830,8 +3805,10 @@ export type components = { | ||||
|       text: string; | ||||
|       title: string; | ||||
|       imageUrl: string | null; | ||||
|       icon: string; | ||||
|       display: string; | ||||
|       /** @enum {string} */ | ||||
|       icon: 'info' | 'warning' | 'error' | 'success'; | ||||
|       /** @enum {string} */ | ||||
|       display: 'dialog' | 'normal' | 'banner'; | ||||
|       needConfirmationToRead: boolean; | ||||
|       silence: boolean; | ||||
|       forYou: boolean; | ||||
| @@ -3873,13 +3850,26 @@ export type components = { | ||||
|       reply?: components['schemas']['Note'] | null; | ||||
|       renote?: components['schemas']['Note'] | null; | ||||
|       isHidden?: boolean; | ||||
|       visibility: string; | ||||
|       /** @enum {string} */ | ||||
|       visibility: 'public' | 'home' | 'followers' | 'specified'; | ||||
|       mentions?: string[]; | ||||
|       visibleUserIds?: string[]; | ||||
|       fileIds?: string[]; | ||||
|       files?: components['schemas']['DriveFile'][]; | ||||
|       tags?: string[]; | ||||
|       poll?: Record<string, never> | null; | ||||
|       poll?: ({ | ||||
|         /** Format: date-time */ | ||||
|         expiresAt?: string | null; | ||||
|         multiple: boolean; | ||||
|         choices: { | ||||
|             isVoted: boolean; | ||||
|             text: string; | ||||
|             votes: number; | ||||
|           }[]; | ||||
|       }) | null; | ||||
|       emojis?: { | ||||
|         [key: string]: string; | ||||
|       }; | ||||
|       /** | ||||
|        * Format: id | ||||
|        * @example xxxxxxxxxx | ||||
| @@ -3895,14 +3885,19 @@ export type components = { | ||||
|       }) | null; | ||||
|       localOnly?: boolean; | ||||
|       reactionAcceptance: string | null; | ||||
|       reactions: Record<string, never>; | ||||
|       reactionEmojis: { | ||||
|         [key: string]: string; | ||||
|       }; | ||||
|       reactions: { | ||||
|         [key: string]: number; | ||||
|       }; | ||||
|       renoteCount: number; | ||||
|       repliesCount: number; | ||||
|       uri?: string; | ||||
|       url?: string; | ||||
|       reactionAndUserPairCache?: string[]; | ||||
|       clippedCount?: number; | ||||
|       myReaction?: Record<string, never> | null; | ||||
|       myReaction?: string | null; | ||||
|     }; | ||||
|     NoteReaction: { | ||||
|       /** | ||||
| @@ -3933,21 +3928,162 @@ export type components = { | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'note' | 'follow' | 'mention' | 'reply' | 'renote' | 'quote' | 'reaction' | 'pollEnded' | 'receiveFollowRequest' | 'followRequestAccepted' | 'roleAssigned' | 'achievementEarned' | 'app' | 'test' | 'reaction:grouped' | 'renote:grouped'; | ||||
|       user?: components['schemas']['UserLite'] | null; | ||||
|       type: 'note'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId?: string | null; | ||||
|       note?: components['schemas']['Note'] | null; | ||||
|       reaction?: string | null; | ||||
|       achievement?: string; | ||||
|       body?: string | null; | ||||
|       header?: string | null; | ||||
|       icon?: string | null; | ||||
|       reactions?: { | ||||
|       userId: string; | ||||
|       note: components['schemas']['Note']; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'mention'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|       note: components['schemas']['Note']; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'reply'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|       note: components['schemas']['Note']; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'renote'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|       note: components['schemas']['Note']; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'quote'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|       note: components['schemas']['Note']; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'reaction'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|       note: components['schemas']['Note']; | ||||
|       reaction: string; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'pollEnded'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|       note: components['schemas']['Note']; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'follow'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'receiveFollowRequest'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'followRequestAccepted'; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'roleAssigned'; | ||||
|       role: components['schemas']['Role']; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'achievementEarned'; | ||||
|       achievement: string; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'app'; | ||||
|       body: string; | ||||
|       header: string; | ||||
|       icon: string; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'reaction:grouped'; | ||||
|       note: components['schemas']['Note']; | ||||
|       reactions: { | ||||
|           user: components['schemas']['UserLite']; | ||||
|           reaction: string; | ||||
|         }[] | null; | ||||
|       users?: components['schemas']['UserLite'][] | null; | ||||
|         }[]; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'renote:grouped'; | ||||
|       note: components['schemas']['Note']; | ||||
|       users: components['schemas']['UserLite'][]; | ||||
|     } | { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
|       /** Format: date-time */ | ||||
|       createdAt: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'test'; | ||||
|     }; | ||||
|     DriveFile: { | ||||
|       /** | ||||
| @@ -4110,7 +4246,7 @@ export type components = { | ||||
|       /** Format: id */ | ||||
|       userId: string; | ||||
|       user: components['schemas']['UserLite']; | ||||
|       content: Record<string, never>[]; | ||||
|       content: components['schemas']['PageBlock'][]; | ||||
|       variables: Record<string, never>[]; | ||||
|       title: string; | ||||
|       name: string; | ||||
| @@ -4125,6 +4261,29 @@ export type components = { | ||||
|       likedCount: number; | ||||
|       isLiked?: boolean; | ||||
|     }; | ||||
|     PageBlock: OneOf<[{ | ||||
|       id: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'text'; | ||||
|       text: string; | ||||
|     }, { | ||||
|       id: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'section'; | ||||
|       title: string; | ||||
|       children: components['schemas']['PageBlock'][]; | ||||
|     }, { | ||||
|       id: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'image'; | ||||
|       fileId: string | null; | ||||
|     }, { | ||||
|       id: string; | ||||
|       /** @enum {string} */ | ||||
|       type: 'note'; | ||||
|       detailed: boolean; | ||||
|       note: string | null; | ||||
|     }]>; | ||||
|     Channel: { | ||||
|       /** | ||||
|        * Format: id | ||||
| @@ -4344,129 +4503,40 @@ export type components = { | ||||
|       /** @example false */ | ||||
|       canEditMembersByModerator: boolean; | ||||
|       policies: { | ||||
|         pinLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         canInvite: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         clipLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         canHideAds: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         inviteLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         antennaLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         gtlAvailable: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         ltlAvailable: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         webhookLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         canPublicNote: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         userListLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         wordMuteLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         alwaysMarkNsfw: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         canSearchNotes: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         driveCapacityMb: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         rateLimitFactor: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         inviteLimitCycle: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         noteEachClipsLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         inviteExpirationTime: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         canManageCustomEmojis: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         userEachUserListsLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         canManageAvatarDecorations: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         canUseTranslator: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         }; | ||||
|         avatarDecorationLimit: { | ||||
|           value: number | boolean; | ||||
|           priority: number; | ||||
|           useDefault: boolean; | ||||
|         [key: string]: { | ||||
|           value?: number | boolean; | ||||
|           priority?: number; | ||||
|           useDefault?: boolean; | ||||
|         }; | ||||
|       }; | ||||
|       usersCount: number; | ||||
|     }); | ||||
|     RolePolicies: { | ||||
|       gtlAvailable: boolean; | ||||
|       ltlAvailable: boolean; | ||||
|       canPublicNote: boolean; | ||||
|       canInvite: boolean; | ||||
|       inviteLimit: number; | ||||
|       inviteLimitCycle: number; | ||||
|       inviteExpirationTime: number; | ||||
|       canManageCustomEmojis: boolean; | ||||
|       canManageAvatarDecorations: boolean; | ||||
|       canSearchNotes: boolean; | ||||
|       canUseTranslator: boolean; | ||||
|       canHideAds: boolean; | ||||
|       driveCapacityMb: number; | ||||
|       alwaysMarkNsfw: boolean; | ||||
|       pinLimit: number; | ||||
|       antennaLimit: number; | ||||
|       wordMuteLimit: number; | ||||
|       webhookLimit: number; | ||||
|       clipLimit: number; | ||||
|       noteEachClipsLimit: number; | ||||
|       userListLimit: number; | ||||
|       userEachUserListsLimit: number; | ||||
|       rateLimitFactor: number; | ||||
|       avatarDecorationLimit: number; | ||||
|     }; | ||||
|     ReversiGameLite: { | ||||
|       /** Format: id */ | ||||
|       id: string; | ||||
| @@ -11030,14 +11100,18 @@ export type operations = { | ||||
|       200: { | ||||
|         content: { | ||||
|           'application/json': { | ||||
|             'local.incCount': number[]; | ||||
|             'local.incSize': number[]; | ||||
|             'local.decCount': number[]; | ||||
|             'local.decSize': number[]; | ||||
|             'remote.incCount': number[]; | ||||
|             'remote.incSize': number[]; | ||||
|             'remote.decCount': number[]; | ||||
|             'remote.decSize': number[]; | ||||
|             local: { | ||||
|               incCount: number[]; | ||||
|               incSize: number[]; | ||||
|               decCount: number[]; | ||||
|               decSize: number[]; | ||||
|             }; | ||||
|             remote: { | ||||
|               incCount: number[]; | ||||
|               incSize: number[]; | ||||
|               decCount: number[]; | ||||
|               decSize: number[]; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| @@ -11165,30 +11239,44 @@ export type operations = { | ||||
|       200: { | ||||
|         content: { | ||||
|           'application/json': { | ||||
|             'requests.failed': number[]; | ||||
|             'requests.succeeded': number[]; | ||||
|             'requests.received': number[]; | ||||
|             'notes.total': number[]; | ||||
|             'notes.inc': number[]; | ||||
|             'notes.dec': number[]; | ||||
|             'notes.diffs.normal': number[]; | ||||
|             'notes.diffs.reply': number[]; | ||||
|             'notes.diffs.renote': number[]; | ||||
|             'notes.diffs.withFile': number[]; | ||||
|             'users.total': number[]; | ||||
|             'users.inc': number[]; | ||||
|             'users.dec': number[]; | ||||
|             'following.total': number[]; | ||||
|             'following.inc': number[]; | ||||
|             'following.dec': number[]; | ||||
|             'followers.total': number[]; | ||||
|             'followers.inc': number[]; | ||||
|             'followers.dec': number[]; | ||||
|             'drive.totalFiles': number[]; | ||||
|             'drive.incFiles': number[]; | ||||
|             'drive.decFiles': number[]; | ||||
|             'drive.incUsage': number[]; | ||||
|             'drive.decUsage': number[]; | ||||
|             requests: { | ||||
|               failed: number[]; | ||||
|               succeeded: number[]; | ||||
|               received: number[]; | ||||
|             }; | ||||
|             notes: { | ||||
|               total: number[]; | ||||
|               inc: number[]; | ||||
|               dec: number[]; | ||||
|               diffs: { | ||||
|                 normal: number[]; | ||||
|                 reply: number[]; | ||||
|                 renote: number[]; | ||||
|                 withFile: number[]; | ||||
|               }; | ||||
|             }; | ||||
|             users: { | ||||
|               total: number[]; | ||||
|               inc: number[]; | ||||
|               dec: number[]; | ||||
|             }; | ||||
|             following: { | ||||
|               total: number[]; | ||||
|               inc: number[]; | ||||
|               dec: number[]; | ||||
|             }; | ||||
|             followers: { | ||||
|               total: number[]; | ||||
|               inc: number[]; | ||||
|               dec: number[]; | ||||
|             }; | ||||
|             drive: { | ||||
|               totalFiles: number[]; | ||||
|               incFiles: number[]; | ||||
|               decFiles: number[]; | ||||
|               incUsage: number[]; | ||||
|               decUsage: number[]; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| @@ -11248,20 +11336,28 @@ export type operations = { | ||||
|       200: { | ||||
|         content: { | ||||
|           'application/json': { | ||||
|             'local.total': number[]; | ||||
|             'local.inc': number[]; | ||||
|             'local.dec': number[]; | ||||
|             'local.diffs.normal': number[]; | ||||
|             'local.diffs.reply': number[]; | ||||
|             'local.diffs.renote': number[]; | ||||
|             'local.diffs.withFile': number[]; | ||||
|             'remote.total': number[]; | ||||
|             'remote.inc': number[]; | ||||
|             'remote.dec': number[]; | ||||
|             'remote.diffs.normal': number[]; | ||||
|             'remote.diffs.reply': number[]; | ||||
|             'remote.diffs.renote': number[]; | ||||
|             'remote.diffs.withFile': number[]; | ||||
|             local: { | ||||
|               total: number[]; | ||||
|               inc: number[]; | ||||
|               dec: number[]; | ||||
|               diffs: { | ||||
|                 normal: number[]; | ||||
|                 reply: number[]; | ||||
|                 renote: number[]; | ||||
|                 withFile: number[]; | ||||
|               }; | ||||
|             }; | ||||
|             remote: { | ||||
|               total: number[]; | ||||
|               inc: number[]; | ||||
|               dec: number[]; | ||||
|               diffs: { | ||||
|                 normal: number[]; | ||||
|                 reply: number[]; | ||||
|                 renote: number[]; | ||||
|                 withFile: number[]; | ||||
|               }; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| @@ -11390,18 +11486,30 @@ export type operations = { | ||||
|       200: { | ||||
|         content: { | ||||
|           'application/json': { | ||||
|             'local.followings.total': number[]; | ||||
|             'local.followings.inc': number[]; | ||||
|             'local.followings.dec': number[]; | ||||
|             'local.followers.total': number[]; | ||||
|             'local.followers.inc': number[]; | ||||
|             'local.followers.dec': number[]; | ||||
|             'remote.followings.total': number[]; | ||||
|             'remote.followings.inc': number[]; | ||||
|             'remote.followings.dec': number[]; | ||||
|             'remote.followers.total': number[]; | ||||
|             'remote.followers.inc': number[]; | ||||
|             'remote.followers.dec': number[]; | ||||
|             local: { | ||||
|               followings: { | ||||
|                 total: number[]; | ||||
|                 inc: number[]; | ||||
|                 dec: number[]; | ||||
|               }; | ||||
|               followers: { | ||||
|                 total: number[]; | ||||
|                 inc: number[]; | ||||
|                 dec: number[]; | ||||
|               }; | ||||
|             }; | ||||
|             remote: { | ||||
|               followings: { | ||||
|                 total: number[]; | ||||
|                 inc: number[]; | ||||
|                 dec: number[]; | ||||
|               }; | ||||
|               followers: { | ||||
|                 total: number[]; | ||||
|                 inc: number[]; | ||||
|                 dec: number[]; | ||||
|               }; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| @@ -11466,10 +11574,12 @@ export type operations = { | ||||
|             total: number[]; | ||||
|             inc: number[]; | ||||
|             dec: number[]; | ||||
|             'diffs.normal': number[]; | ||||
|             'diffs.reply': number[]; | ||||
|             'diffs.renote': number[]; | ||||
|             'diffs.withFile': number[]; | ||||
|             diffs: { | ||||
|               normal: number[]; | ||||
|               reply: number[]; | ||||
|               renote: number[]; | ||||
|               withFile: number[]; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| @@ -11531,10 +11641,14 @@ export type operations = { | ||||
|       200: { | ||||
|         content: { | ||||
|           'application/json': { | ||||
|             'upv.user': number[]; | ||||
|             'pv.user': number[]; | ||||
|             'upv.visitor': number[]; | ||||
|             'pv.visitor': number[]; | ||||
|             upv: { | ||||
|               user: number[]; | ||||
|               visitor: number[]; | ||||
|             }; | ||||
|             pv: { | ||||
|               user: number[]; | ||||
|               visitor: number[]; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| @@ -11596,8 +11710,12 @@ export type operations = { | ||||
|       200: { | ||||
|         content: { | ||||
|           'application/json': { | ||||
|             'local.count': number[]; | ||||
|             'remote.count': number[]; | ||||
|             local: { | ||||
|               count: number[]; | ||||
|             }; | ||||
|             remote: { | ||||
|               count: number[]; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| @@ -11657,12 +11775,16 @@ export type operations = { | ||||
|       200: { | ||||
|         content: { | ||||
|           'application/json': { | ||||
|             'local.total': number[]; | ||||
|             'local.inc': number[]; | ||||
|             'local.dec': number[]; | ||||
|             'remote.total': number[]; | ||||
|             'remote.inc': number[]; | ||||
|             'remote.dec': number[]; | ||||
|             local: { | ||||
|               total: number[]; | ||||
|               inc: number[]; | ||||
|               dec: number[]; | ||||
|             }; | ||||
|             remote: { | ||||
|               total: number[]; | ||||
|               inc: number[]; | ||||
|               dec: number[]; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| @@ -18987,6 +19109,7 @@ export type operations = { | ||||
|             privacyPolicyUrl: string | null; | ||||
|             serverRules: string[]; | ||||
|             themeColor: string | null; | ||||
|             policies: components['schemas']['RolePolicies']; | ||||
|           }; | ||||
|         }; | ||||
|       }; | ||||
| @@ -25519,7 +25642,14 @@ export type operations = { | ||||
|       /** @description OK (with results) */ | ||||
|       200: { | ||||
|         content: { | ||||
|           'application/json': unknown; | ||||
|           'application/json': { | ||||
|               /** Format: date-time */ | ||||
|               createdAt: string; | ||||
|               users: number; | ||||
|               data: { | ||||
|                 [key: string]: number; | ||||
|               }; | ||||
|             }[]; | ||||
|         }; | ||||
|       }; | ||||
|       /** @description Client error */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 yukineko
					yukineko