fix TS errors from defaultLike

This commit is contained in:
Hazelnoot 2025-05-22 16:20:49 -04:00
parent c510cfa312
commit 0ae8d85c3f
3 changed files with 7 additions and 2 deletions

View file

@ -481,6 +481,10 @@ export const meta = {
type: 'string', type: 'string',
optional: false, nullable: true, optional: false, nullable: true,
}, },
defaultLike: {
type: 'string',
optional: false, nullable: false,
},
description: { description: {
type: 'string', type: 'string',
optional: false, nullable: true, optional: false, nullable: true,

View file

@ -69,7 +69,7 @@ export const paramDef = {
description: { type: 'string', nullable: true }, description: { type: 'string', nullable: true },
defaultLightTheme: { type: 'string', nullable: true }, defaultLightTheme: { type: 'string', nullable: true },
defaultDarkTheme: { type: 'string', nullable: true }, defaultDarkTheme: { type: 'string', nullable: true },
defaultLike: { type: 'string', nullable: true }, defaultLike: { type: 'string' },
cacheRemoteFiles: { type: 'boolean' }, cacheRemoteFiles: { type: 'boolean' },
cacheRemoteSensitiveFiles: { type: 'boolean' }, cacheRemoteSensitiveFiles: { type: 'boolean' },
emailRequiredForSignup: { type: 'boolean' }, emailRequiredForSignup: { type: 'boolean' },

View file

@ -9259,6 +9259,7 @@ export type operations = {
libreTranslateKey: string | null; libreTranslateKey: string | null;
defaultDarkTheme: string | null; defaultDarkTheme: string | null;
defaultLightTheme: string | null; defaultLightTheme: string | null;
defaultLike: string;
description: string | null; description: string | null;
disableRegistration: boolean; disableRegistration: boolean;
impressumUrl: string | null; impressumUrl: string | null;
@ -12129,7 +12130,7 @@ export type operations = {
description?: string | null; description?: string | null;
defaultLightTheme?: string | null; defaultLightTheme?: string | null;
defaultDarkTheme?: string | null; defaultDarkTheme?: string | null;
defaultLike?: string | null; defaultLike?: string;
cacheRemoteFiles?: boolean; cacheRemoteFiles?: boolean;
cacheRemoteSensitiveFiles?: boolean; cacheRemoteSensitiveFiles?: boolean;
emailRequiredForSignup?: boolean; emailRequiredForSignup?: boolean;