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
+56 -33
View File
@@ -25954,6 +25954,12 @@
"PublicConfigDto": {
"description": "Configuration properties that are visible to everyone",
"properties": {
"ffmpeg": {
"$ref": "#/components/schemas/PublicConfigFFmpegDto"
},
"map": {
"$ref": "#/components/schemas/PublicConfigMapDto"
},
"oauth": {
"$ref": "#/components/schemas/PublicConfigOAuthDto"
},
@@ -25962,16 +25968,61 @@
},
"server": {
"$ref": "#/components/schemas/PublicConfigServerDto"
},
"theme": {
"$ref": "#/components/schemas/PublicConfigThemeDto"
}
},
"required": [
"ffmpeg",
"map",
"oauth",
"passwordLogin",
"server",
"theme"
"server"
],
"type": "object"
},
"PublicConfigFFmpegDto": {
"properties": {
"realtime": {
"$ref": "#/components/schemas/PublicConfigFFmpegRealtimeDto"
}
},
"required": [
"realtime"
],
"type": "object"
},
"PublicConfigFFmpegRealtimeDto": {
"properties": {
"enabled": {
"description": "Enable real-time HLS transcoding (alpha)",
"type": "boolean"
}
},
"required": [
"enabled"
],
"type": "object"
},
"PublicConfigMapDto": {
"properties": {
"darkStyle": {
"description": "Dark map style URL",
"format": "uri",
"type": "string"
},
"enabled": {
"description": "Enabled",
"type": "boolean"
},
"lightStyle": {
"description": "Light map style URL",
"format": "uri",
"type": "string"
}
},
"required": [
"darkStyle",
"enabled",
"lightStyle"
],
"type": "object"
},
@@ -26021,18 +26072,6 @@
],
"type": "object"
},
"PublicConfigThemeDto": {
"properties": {
"customCss": {
"description": "Custom CSS for theming",
"type": "string"
}
},
"required": [
"customCss"
],
"type": "object"
},
"PurchaseResponse": {
"properties": {
"hideBuyButtonUntil": {
@@ -33128,9 +33167,6 @@
"server": {
"$ref": "#/components/schemas/UserConfigServerDto"
},
"theme": {
"$ref": "#/components/schemas/UserConfigThemeDto"
},
"trash": {
"$ref": "#/components/schemas/UserConfigTrashDto"
},
@@ -33148,7 +33184,6 @@
"passwordLogin",
"reverseGeocoding",
"server",
"theme",
"trash",
"user"
],
@@ -33424,18 +33459,6 @@
],
"type": "object"
},
"UserConfigThemeDto": {
"properties": {
"customCss": {
"description": "Custom CSS for theming",
"type": "string"
}
},
"required": [
"customCss"
],
"type": "object"
},
"UserConfigTrashDto": {
"properties": {
"days": {