mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 13:17:45 +02:00
[TSK-225] Tracker: add issue shortlink resolver (Part 2) (#2173)
Signed-off-by: Anna <anna.no@xored.com>
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
import { Employee } from '@anticrm/contact'
|
||||
import type { AttachedDoc, Class, Doc, Markup, Ref, Space, Timestamp, Type } from '@anticrm/core'
|
||||
import { Action, ActionCategory } from '@anticrm/view'
|
||||
import type { Asset, IntlString, Plugin } from '@anticrm/platform'
|
||||
import type { Asset, IntlString, Plugin, Resource } from '@anticrm/platform'
|
||||
import { plugin } from '@anticrm/platform'
|
||||
import { AnyComponent } from '@anticrm/ui'
|
||||
import { AnyComponent, Location } from '@anticrm/ui'
|
||||
import type { TagCategory } from '@anticrm/tags'
|
||||
|
||||
/**
|
||||
@@ -288,5 +288,8 @@ export default plugin(trackerId, {
|
||||
},
|
||||
team: {
|
||||
DefaultTeam: '' as Ref<Team>
|
||||
},
|
||||
resolver: {
|
||||
Location: '' as Resource<(loc: Location) => Promise<Location | undefined>>
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user