From 75155a9a864b4ed0e6773d63421e9ae1e82274b9 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Tue, 11 Oct 2022 12:22:38 +0200 Subject: [PATCH] refactor: remodel app config menu categories --- src/config/app.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/config/app.ts b/src/config/app.ts index 0ed6feff..d5b73a15 100644 --- a/src/config/app.ts +++ b/src/config/app.ts @@ -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; + translations: SCTranslations; } /** @@ -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 {