refactor: remodel app config menu categories

This commit is contained in:
Rainer Killinger
2022-10-11 12:22:38 +02:00
parent dd138fd0be
commit 75155a9a86

View File

@@ -59,25 +59,25 @@ export interface SCAppConfigurationMenuCategory {
*/
icon: string;
/**
* ID of the menu category
*/
id: 'main' | 'meta' | 'personal' | 'external';
/**
* A list of items that belong to the category
*/
items: SCAppConfigurationMenuItem[];
/**
* Name of the category
* Title of the category
*/
name: string;
title: string;
/**
* Route inside the app
*/
route: string;
/**
* Translations for the menu category
*/
translations: SCTranslations<SCAppConfigurationMenuCategoryTranslationName>;
translations: SCTranslations<SCAppConfigurationMenuCategoryTranslationTitle>;
}
/**
@@ -169,11 +169,11 @@ export interface SCAppConfigurationMenuItemTranslationTitle {
/**
* Translatable property of a menu category
*/
export interface SCAppConfigurationMenuCategoryTranslationName {
export interface SCAppConfigurationMenuCategoryTranslationTitle {
/**
* Translation of the name of a menu category
*/
name: string;
title: string;
}
export enum SCAboutPageContentType {