feat: manage custom appearance policy
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user