mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 06:22:53 +00:00
refactor: remodel app config menu categories
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user