2022-03-31 08:32:42 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2020, 2021 Anticrm Platform Contributors.
|
|
|
|
// Copyright © 2021 Hardcore Engineering Inc.
|
|
|
|
//
|
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
//
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2022-09-21 08:08:25 +00:00
|
|
|
import { Doc, Ref } from '@hcengineering/core'
|
|
|
|
import { ObjectSearchCategory, ObjectSearchFactory } from '@hcengineering/model-presentation'
|
|
|
|
import { IntlString, mergeIds, Resource } from '@hcengineering/platform'
|
|
|
|
import { trackerId } from '@hcengineering/tracker'
|
|
|
|
import tracker from '@hcengineering/tracker-resources/src/plugin'
|
|
|
|
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
|
|
|
import { Action, ViewAction, ViewletDescriptor } from '@hcengineering/view'
|
|
|
|
import { Application } from '@hcengineering/workbench'
|
2022-03-31 08:32:42 +00:00
|
|
|
|
|
|
|
export default mergeIds(trackerId, tracker, {
|
|
|
|
string: {
|
|
|
|
TrackerApplication: '' as IntlString,
|
2022-05-04 08:08:12 +00:00
|
|
|
Teams: '' as IntlString,
|
|
|
|
GotoIssues: '' as IntlString,
|
|
|
|
GotoActive: '' as IntlString,
|
|
|
|
GotoBacklog: '' as IntlString,
|
|
|
|
GotoBoard: '' as IntlString,
|
|
|
|
GotoProjects: '' as IntlString,
|
2022-06-10 15:48:14 +00:00
|
|
|
GotoTrackerApplication: '' as IntlString,
|
2022-09-09 03:44:33 +00:00
|
|
|
SearchIssue: '' as IntlString,
|
|
|
|
NewRelatedIssue: '' as IntlString
|
2022-03-31 08:32:42 +00:00
|
|
|
},
|
|
|
|
component: {
|
|
|
|
// Required to pass build without errorsF
|
2022-08-03 07:05:19 +00:00
|
|
|
Nope: '' as AnyComponent,
|
2022-08-22 18:55:45 +00:00
|
|
|
SprintSelector: '' as AnyComponent,
|
|
|
|
SubIssuesSelector: '' as AnyComponent
|
2022-03-31 08:32:42 +00:00
|
|
|
},
|
|
|
|
app: {
|
|
|
|
Tracker: '' as Ref<Application>
|
2022-06-08 14:03:26 +00:00
|
|
|
},
|
|
|
|
viewlet: {
|
2022-06-15 04:59:43 +00:00
|
|
|
List: '' as Ref<ViewletDescriptor>,
|
|
|
|
Kanban: '' as Ref<ViewletDescriptor>
|
2022-06-10 15:48:14 +00:00
|
|
|
},
|
|
|
|
completion: {
|
|
|
|
IssueQuery: '' as Resource<ObjectSearchFactory>,
|
|
|
|
IssueCategory: '' as Ref<ObjectSearchCategory>
|
2022-06-27 15:56:24 +00:00
|
|
|
},
|
|
|
|
actionImpl: {
|
2022-07-01 15:24:58 +00:00
|
|
|
CopyToClipboard: '' as ViewAction,
|
2022-11-21 05:44:46 +00:00
|
|
|
EditWorkflowStatuses: '' as ViewAction,
|
2022-12-07 09:40:19 +00:00
|
|
|
EditTeam: '' as ViewAction,
|
2022-11-21 05:44:46 +00:00
|
|
|
DeleteSprint: '' as ViewAction
|
2022-09-09 03:44:33 +00:00
|
|
|
},
|
|
|
|
action: {
|
2022-11-21 05:44:46 +00:00
|
|
|
NewRelatedIssue: '' as Ref<Action<Doc, Record<string, any>>>,
|
|
|
|
DeleteSprint: '' as Ref<Action<Doc, Record<string, any>>>
|
2022-03-31 08:32:42 +00:00
|
|
|
}
|
|
|
|
})
|