feat(admin): configure system navigation defaults
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { ApiSettings, DeltaDeletedItem, PrivacyRetentionPolicy } from "@govoplan/core-webui";
|
||||
import type { ApiSettings, DeltaDeletedItem, NavigationPreferences, PrivacyRetentionPolicy } from "@govoplan/core-webui";
|
||||
import { apiDownload, apiFetch, apiPath, apiQuery } from "@govoplan/core-webui";
|
||||
export { fetchAdminOverview, fetchPermissionCatalog, fetchTenants } from "@govoplan/core-webui";
|
||||
export type {
|
||||
@@ -33,6 +33,7 @@ export type SystemSettingsItem = {
|
||||
available_languages: LanguagePackage[];
|
||||
enabled_language_codes: string[];
|
||||
settings: Record<string, unknown>;
|
||||
navigation: NavigationPreferences | null;
|
||||
};
|
||||
|
||||
export type SystemSettingsDeltaSections = Partial<{
|
||||
@@ -42,6 +43,7 @@ export type SystemSettingsDeltaSections = Partial<{
|
||||
privacy_retention_policy: SystemSettingsItem["privacy_retention_policy"];
|
||||
maintenance_mode: SystemSettingsItem["maintenance_mode"];
|
||||
settings: SystemSettingsItem["settings"];
|
||||
navigation: SystemSettingsItem["navigation"];
|
||||
}>;
|
||||
|
||||
export type SystemSettingsUpdatePayload = {
|
||||
@@ -53,6 +55,7 @@ export type SystemSettingsUpdatePayload = {
|
||||
maintenance_mode?: MaintenanceMode | null;
|
||||
available_languages?: LanguagePackage[] | null;
|
||||
enabled_language_codes?: string[] | null;
|
||||
navigation?: NavigationPreferences | null;
|
||||
change_request_id?: string | null;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user