mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
Setting plugin (#328)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user