merge: fix type error for sidebarLogoUrl (!641)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/641

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: fEmber <acomputerdog@gmail.com>
This commit is contained in:
fEmber 2024-10-02 16:05:18 +00:00
commit b151d19325
3 changed files with 10 additions and 5 deletions

View File

@ -160,6 +160,10 @@ export const packedMetaLiteSchema = {
type: 'string', type: 'string',
optional: false, nullable: true, optional: false, nullable: true,
}, },
sidebarLogoUrl: {
type: 'string',
optional: false, nullable: true,
},
maxNoteTextLength: { maxNoteTextLength: {
type: 'number', type: 'number',
optional: false, nullable: false, optional: false, nullable: false,

View File

@ -4258,7 +4258,7 @@ declare module '../api.js' {
): Promise<SwitchCaseResponseType<E, P>>; ): Promise<SwitchCaseResponseType<E, P>>;
/** /**
* Get Sharkey GH Sponsors * Get Sharkey Sponsors
* *
* **Credential required**: *No* * **Credential required**: *No*
*/ */

View File

@ -3673,7 +3673,7 @@ export type paths = {
'/sponsors': { '/sponsors': {
/** /**
* sponsors * sponsors
* @description Get Sharkey GH Sponsors * @description Get Sharkey Sponsors
* *
* **Credential required**: *No* * **Credential required**: *No*
*/ */
@ -5061,6 +5061,7 @@ export type components = {
infoImageUrl: string | null; infoImageUrl: string | null;
notFoundImageUrl: string | null; notFoundImageUrl: string | null;
iconUrl: string | null; iconUrl: string | null;
sidebarLogoUrl: string | null;
maxNoteTextLength: number; maxNoteTextLength: number;
ads: { ads: {
/** /**
@ -5191,9 +5192,9 @@ export type operations = {
infoImageUrl: string | null; infoImageUrl: string | null;
notFoundImageUrl: string | null; notFoundImageUrl: string | null;
iconUrl: string | null; iconUrl: string | null;
sidebarLogoUrl: string | null;
app192IconUrl: string | null; app192IconUrl: string | null;
app512IconUrl: string | null; app512IconUrl: string | null;
sidebarLogoUrl: string | null;
enableEmail: boolean; enableEmail: boolean;
enableServiceWorker: boolean; enableServiceWorker: boolean;
translatorAvailable: boolean; translatorAvailable: boolean;
@ -9705,9 +9706,9 @@ export type operations = {
infoImageUrl?: string | null; infoImageUrl?: string | null;
notFoundImageUrl?: string | null; notFoundImageUrl?: string | null;
iconUrl?: string | null; iconUrl?: string | null;
sidebarLogoUrl?: string | null;
app192IconUrl?: string | null; app192IconUrl?: string | null;
app512IconUrl?: string | null; app512IconUrl?: string | null;
sidebarLogoUrl?: string | null;
backgroundImageUrl?: string | null; backgroundImageUrl?: string | null;
logoImageUrl?: string | null; logoImageUrl?: string | null;
name?: string | null; name?: string | null;
@ -27990,7 +27991,7 @@ export type operations = {
}; };
/** /**
* sponsors * sponsors
* @description Get Sharkey GH Sponsors * @description Get Sharkey Sponsors
* *
* **Credential required**: *No* * **Credential required**: *No*
*/ */