fix: public config properties (#32500)

fix: public config visibility
This commit is contained in:
Jason Rasmussen
2026-10-17 19:32:36 +03:00
committed by Codex
parent 49f65aa3b0
commit 36a6e033aa
5 changed files with 90 additions and 51 deletions
+17 -10
View File
@@ -1630,10 +1630,6 @@ export type UserConfigServerDto = {
/** Public users */
publicUsers: boolean;
};
export type UserConfigThemeDto = {
/** Custom CSS for theming */
customCss: string;
};
export type UserConfigTrashDto = {
/** Days */
days: number;
@@ -1654,7 +1650,6 @@ export type UserConfigDto = {
passwordLogin: UserConfigPasswordLoginDto;
reverseGeocoding: UserConfigReverseGeocodingDto;
server: UserConfigServerDto;
theme: UserConfigThemeDto;
trash: UserConfigTrashDto;
user: UserConfigUserDto;
};
@@ -2180,6 +2175,21 @@ export type PluginTemplateResponseDto = {
/** Ui hints, for example "smart-album" */
uiHints: string[];
};
export type PublicConfigFFmpegRealtimeDto = {
/** Enable real-time HLS transcoding (alpha) */
enabled: boolean;
};
export type PublicConfigFFmpegDto = {
realtime: PublicConfigFFmpegRealtimeDto;
};
export type PublicConfigMapDto = {
/** Dark map style URL */
darkStyle: string;
/** Enabled */
enabled: boolean;
/** Light map style URL */
lightStyle: string;
};
export type PublicConfigOAuthDto = {
/** Auto launch */
autoLaunch: boolean;
@@ -2196,15 +2206,12 @@ export type PublicConfigServerDto = {
/** Login page message */
loginPageMessage: string;
};
export type PublicConfigThemeDto = {
/** Custom CSS for theming */
customCss: string;
};
export type PublicConfigDto = {
ffmpeg: PublicConfigFFmpegDto;
map: PublicConfigMapDto;
oauth: PublicConfigOAuthDto;
passwordLogin: PublicConfigPasswordLoginDto;
server: PublicConfigServerDto;
theme: PublicConfigThemeDto;
};
export type QueueResponseDto = {
/** Whether the queue is paused */