mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 09:32:41 +00:00
refactor: remodel app config menu categories
This commit is contained in:
@@ -59,25 +59,25 @@ export interface SCAppConfigurationMenuCategory {
|
|||||||
*/
|
*/
|
||||||
icon: string;
|
icon: string;
|
||||||
|
|
||||||
/**
|
|
||||||
* ID of the menu category
|
|
||||||
*/
|
|
||||||
id: 'main' | 'meta' | 'personal' | 'external';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A list of items that belong to the category
|
* A list of items that belong to the category
|
||||||
*/
|
*/
|
||||||
items: SCAppConfigurationMenuItem[];
|
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 for the menu category
|
||||||
*/
|
*/
|
||||||
translations: SCTranslations<SCAppConfigurationMenuCategoryTranslationName>;
|
translations: SCTranslations<SCAppConfigurationMenuCategoryTranslationTitle>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -169,11 +169,11 @@ export interface SCAppConfigurationMenuItemTranslationTitle {
|
|||||||
/**
|
/**
|
||||||
* Translatable property of a menu category
|
* Translatable property of a menu category
|
||||||
*/
|
*/
|
||||||
export interface SCAppConfigurationMenuCategoryTranslationName {
|
export interface SCAppConfigurationMenuCategoryTranslationTitle {
|
||||||
/**
|
/**
|
||||||
* Translation of the name of a menu category
|
* Translation of the name of a menu category
|
||||||
*/
|
*/
|
||||||
name: string;
|
title: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum SCAboutPageContentType {
|
export enum SCAboutPageContentType {
|
||||||
|
|||||||
Reference in New Issue
Block a user