[TSK-225] Tracker: add issue shortlink resolver (Part 2) (#2173)

Signed-off-by: Anna <anna.no@xored.com>
This commit is contained in:
Anna No
2022-06-30 10:46:46 +07:00
committed by GitHub
parent 94ee6f5afe
commit bf6780a32f
16 changed files with 158 additions and 57 deletions
+2 -1
View File
@@ -16,7 +16,7 @@
import type { Class, Doc, Mixin, Obj, Ref, Space } from '@anticrm/core'
import type { Asset, IntlString, Metadata, Plugin, Resource } from '@anticrm/platform'
import { plugin } from '@anticrm/platform'
import { AnyComponent } from '@anticrm/ui'
import { AnyComponent, Location } from '@anticrm/ui'
import { ViewAction } from '@anticrm/view'
/**
@@ -28,6 +28,7 @@ export interface Application extends Doc {
icon: Asset
hidden: boolean
navigatorModel?: NavigatorModel
locationResolver?: Resource<(loc: Location) => Promise<Location | undefined>>
// Component will be displayed in case navigator model is not defined, or nothing is selected in navigator model
component?: AnyComponent