Setting plugin (#328)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2021-11-22 13:06:14 +01:00
committed by GitHub
parent ef0c3e8c91
commit 5e807d466a
54 changed files with 2629 additions and 1284 deletions
+12
View File
@@ -26,6 +26,7 @@ import { plugin } from '@anticrm/platform'
export interface Application extends Doc {
label: IntlString
icon: Asset
hidden: boolean
navigatorModel?: NavigatorModel
}
@@ -45,6 +46,17 @@ export interface SpacesNavModel {
*/
export interface NavigatorModel {
spaces: SpacesNavModel[]
specials?: SpecialNavModel[]
}
/**
* @public
*/
export interface SpecialNavModel {
id: string // Uniq id
label: IntlString
icon: Asset
component: AnyComponent
}
/**