chore: make features in meta not optional on detailed

Why did Misskey set the optional boolean on features between 2024.6 and 2024.8 considering it will always have values when called via detailed
This commit is contained in:
Marie 2024-09-14 00:18:16 +02:00
parent 01466279e8
commit 46f9bcc8dc
No known key found for this signature in database
GPG Key ID: 7ADF6C9CD9A28555
3 changed files with 4 additions and 4 deletions

View File

@ -278,7 +278,7 @@ export const packedMetaDetailedOnlySchema = {
properties: {
features: {
type: 'object',
optional: true, nullable: false,
optional: false, nullable: false,
properties: {
registration: {
type: 'boolean',

View File

@ -3356,8 +3356,8 @@ type UsersUpdateMemoRequest = operations['users___update-memo']['requestBody']['
// Warnings were encountered during analysis:
//
// src/entities.ts:49:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts
// src/streaming.types.ts:236:4 - (ae-forgotten-export) The symbol "ReversiUpdateKey" needs to be exported by the entry point index.d.ts
// src/streaming.types.ts:246:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts
// src/streaming.types.ts:240:4 - (ae-forgotten-export) The symbol "ReversiUpdateKey" needs to be exported by the entry point index.d.ts
// src/streaming.types.ts:250:4 - (ae-forgotten-export) The symbol "ReversiUpdateSettings" needs to be exported by the entry point index.d.ts
// (No @packageDocumentation comment for this package)

View File

@ -5118,7 +5118,7 @@ export type components = {
noteSearchableScope: 'local' | 'global';
};
MetaDetailedOnly: {
features?: {
features: {
registration: boolean;
emailRequiredForSignup: boolean;
localTimeline: boolean;