mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-29 04:55:03 +02:00
TSK-342: add resume issue function (#2332)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -13,10 +13,11 @@
|
||||
// limitations under the License.
|
||||
//
|
||||
import { Client, Doc, Ref } from '@hcengineering/core'
|
||||
import type { IntlString, Resource } from '@hcengineering/platform'
|
||||
import type { IntlString, Metadata, Resource } from '@hcengineering/platform'
|
||||
import { mergeIds } from '@hcengineering/platform'
|
||||
import { AnyComponent } from '@hcengineering/ui'
|
||||
import tracker, { trackerId } from '../../tracker/lib'
|
||||
import { IssueDraft } from '@hcengineering/tracker'
|
||||
|
||||
export default mergeIds(trackerId, tracker, {
|
||||
string: {
|
||||
@@ -61,6 +62,7 @@ export default mergeIds(trackerId, tracker, {
|
||||
CreateTeam: '' as IntlString,
|
||||
AddIssue: '' as IntlString,
|
||||
NewIssue: '' as IntlString,
|
||||
ResumeDraft: '' as IntlString,
|
||||
NewSubIssue: '' as IntlString,
|
||||
Team: '' as IntlString,
|
||||
SelectIssue: '' as IntlString,
|
||||
@@ -302,6 +304,9 @@ export default mergeIds(trackerId, tracker, {
|
||||
IssueTemplates: '' as AnyComponent,
|
||||
IssueTemplatePresenter: '' as AnyComponent
|
||||
},
|
||||
metadata: {
|
||||
CreateIssueDraft: '' as Metadata<IssueDraft>
|
||||
},
|
||||
function: {
|
||||
IssueTitleProvider: '' as Resource<(client: Client, ref: Ref<Doc>) => Promise<string>>,
|
||||
GetIssueId: '' as Resource<(doc: Doc, props: Record<string, any>) => Promise<string>>,
|
||||
|
||||
Reference in New Issue
Block a user