feat: manage custom appearance policy

This commit is contained in:
2026-08-20 10:50:55 +02:00
parent 50c952565b
commit 935cee8ccd
7 changed files with 49 additions and 7 deletions
+3 -1
View File
@@ -36,6 +36,7 @@ export type SystemSettingsItem = {
navigation: NavigationPreferences | null;
appearance_palette: UserUiPalette;
appearance_palette_locked: boolean;
appearance_custom_overrides_allowed: boolean;
};
export type SystemSettingsDeltaSections = Partial<{
@@ -46,7 +47,7 @@ export type SystemSettingsDeltaSections = Partial<{
maintenance_mode: SystemSettingsItem["maintenance_mode"];
settings: SystemSettingsItem["settings"];
navigation: SystemSettingsItem["navigation"];
appearance: Pick<SystemSettingsItem, "appearance_palette" | "appearance_palette_locked">;
appearance: Pick<SystemSettingsItem, "appearance_palette" | "appearance_palette_locked" | "appearance_custom_overrides_allowed">;
}>;
export type SystemSettingsUpdatePayload = {
@@ -61,6 +62,7 @@ export type SystemSettingsUpdatePayload = {
navigation?: NavigationPreferences | null;
appearance_palette?: UserUiPalette;
appearance_palette_locked?: boolean;
appearance_custom_overrides_allowed?: boolean;
change_request_id?: string | null;
};