From 2e036d14c56b3f8c1127b656ac9b7f7faf8f4ab0 Mon Sep 17 00:00:00 2001 From: Marie Date: Wed, 2 Oct 2024 17:53:44 +0200 Subject: [PATCH] fix: sidebarLogoUrl type --- packages/backend/src/models/json-schema/meta.ts | 4 ++++ packages/misskey-js/src/autogen/apiClientJSDoc.ts | 2 +- packages/misskey-js/src/autogen/types.ts | 9 +++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/backend/src/models/json-schema/meta.ts b/packages/backend/src/models/json-schema/meta.ts index 1d620f16fd..74b6cfe883 100644 --- a/packages/backend/src/models/json-schema/meta.ts +++ b/packages/backend/src/models/json-schema/meta.ts @@ -160,6 +160,10 @@ export const packedMetaLiteSchema = { type: 'string', optional: false, nullable: true, }, + sidebarLogoUrl: { + type: 'string', + optional: false, nullable: true, + }, maxNoteTextLength: { type: 'number', optional: false, nullable: false, diff --git a/packages/misskey-js/src/autogen/apiClientJSDoc.ts b/packages/misskey-js/src/autogen/apiClientJSDoc.ts index c13485621b..c3524bcda5 100644 --- a/packages/misskey-js/src/autogen/apiClientJSDoc.ts +++ b/packages/misskey-js/src/autogen/apiClientJSDoc.ts @@ -4258,7 +4258,7 @@ declare module '../api.js' { ): Promise>; /** - * Get Sharkey GH Sponsors + * Get Sharkey Sponsors * * **Credential required**: *No* */ diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index 10354043fc..7cf376258d 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -3673,7 +3673,7 @@ export type paths = { '/sponsors': { /** * sponsors - * @description Get Sharkey GH Sponsors + * @description Get Sharkey Sponsors * * **Credential required**: *No* */ @@ -5061,6 +5061,7 @@ export type components = { infoImageUrl: string | null; notFoundImageUrl: string | null; iconUrl: string | null; + sidebarLogoUrl: string | null; maxNoteTextLength: number; ads: { /** @@ -5191,9 +5192,9 @@ export type operations = { infoImageUrl: string | null; notFoundImageUrl: string | null; iconUrl: string | null; - sidebarLogoUrl: string | null; app192IconUrl: string | null; app512IconUrl: string | null; + sidebarLogoUrl: string | null; enableEmail: boolean; enableServiceWorker: boolean; translatorAvailable: boolean; @@ -9705,9 +9706,9 @@ export type operations = { infoImageUrl?: string | null; notFoundImageUrl?: string | null; iconUrl?: string | null; - sidebarLogoUrl?: string | null; app192IconUrl?: string | null; app512IconUrl?: string | null; + sidebarLogoUrl?: string | null; backgroundImageUrl?: string | null; logoImageUrl?: string | null; name?: string | null; @@ -27990,7 +27991,7 @@ export type operations = { }; /** * sponsors - * @description Get Sharkey GH Sponsors + * @description Get Sharkey Sponsors * * **Credential required**: *No* */