2021-08-07 14:49:14 +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 type { Ref, Space } from '@hcengineering/core'
|
|
|
|
import { mergeIds } from '@hcengineering/platform'
|
2023-11-20 10:01:43 +00:00
|
|
|
import { type TagCategory } from '@hcengineering/tags'
|
2023-05-31 12:25:58 +00:00
|
|
|
import { taskId } from '@hcengineering/task'
|
2022-09-21 08:08:25 +00:00
|
|
|
import task from '@hcengineering/task-resources/src/plugin'
|
2023-11-20 15:22:42 +00:00
|
|
|
import type { AnyComponent } from '@hcengineering/ui/src/types'
|
2022-09-21 08:08:25 +00:00
|
|
|
import type { Action, ActionCategory, ViewAction, Viewlet } from '@hcengineering/view'
|
2021-08-07 14:49:14 +00:00
|
|
|
|
|
|
|
export default mergeIds(taskId, task, {
|
2021-12-15 09:04:43 +00:00
|
|
|
action: {
|
2021-12-20 10:18:29 +00:00
|
|
|
EditStatuses: '' as Ref<Action>,
|
2021-12-21 09:08:22 +00:00
|
|
|
ArchiveSpace: '' as Ref<Action>,
|
2022-05-17 08:36:11 +00:00
|
|
|
UnarchiveSpace: '' as Ref<Action>,
|
2023-08-18 01:27:52 +00:00
|
|
|
ArchiveState: '' as Ref<Action>
|
2021-12-15 09:04:43 +00:00
|
|
|
},
|
|
|
|
actionImpl: {
|
2022-04-19 09:38:31 +00:00
|
|
|
EditStatuses: '' as ViewAction,
|
|
|
|
TodoItemMarkDone: '' as ViewAction,
|
|
|
|
TodoItemMarkUnDone: '' as ViewAction,
|
|
|
|
ArchiveSpace: '' as ViewAction,
|
2023-09-14 03:25:26 +00:00
|
|
|
UnarchiveSpace: '' as ViewAction,
|
|
|
|
SelectStatus: '' as ViewAction
|
2021-12-15 09:04:43 +00:00
|
|
|
},
|
2022-05-04 08:08:12 +00:00
|
|
|
category: {
|
2022-05-29 04:32:39 +00:00
|
|
|
Task: '' as Ref<ActionCategory>,
|
|
|
|
TaskTag: '' as Ref<TagCategory>
|
2022-05-04 08:08:12 +00:00
|
|
|
},
|
2021-08-07 14:49:14 +00:00
|
|
|
component: {
|
|
|
|
ProjectView: '' as AnyComponent,
|
2021-12-17 09:04:49 +00:00
|
|
|
EditIssue: '' as AnyComponent,
|
2021-12-02 13:12:16 +00:00
|
|
|
TaskPresenter: '' as AnyComponent,
|
2022-11-09 11:24:02 +00:00
|
|
|
KanbanTemplatePresenter: '' as AnyComponent,
|
2021-12-14 09:24:14 +00:00
|
|
|
KanbanCard: '' as AnyComponent,
|
2021-12-15 09:04:43 +00:00
|
|
|
StatePresenter: '' as AnyComponent,
|
|
|
|
StateEditor: '' as AnyComponent,
|
2021-12-20 10:18:29 +00:00
|
|
|
KanbanView: '' as AnyComponent,
|
|
|
|
Todos: '' as AnyComponent,
|
2021-12-21 09:36:50 +00:00
|
|
|
TodoItemPresenter: '' as AnyComponent,
|
2022-01-18 10:21:32 +00:00
|
|
|
StatusTableView: '' as AnyComponent,
|
2022-07-05 05:38:19 +00:00
|
|
|
TaskHeader: '' as AnyComponent,
|
2023-01-14 10:54:54 +00:00
|
|
|
Dashboard: '' as AnyComponent,
|
|
|
|
StateRefPresenter: '' as AnyComponent,
|
2023-10-27 05:22:43 +00:00
|
|
|
StatusSelector: '' as AnyComponent,
|
|
|
|
TemplatesIcon: '' as AnyComponent,
|
2023-12-11 11:54:36 +00:00
|
|
|
TypesView: '' as AnyComponent,
|
|
|
|
StateIconPresenter: '' as AnyComponent
|
2021-08-07 14:49:14 +00:00
|
|
|
},
|
2021-11-30 15:39:08 +00:00
|
|
|
space: {
|
|
|
|
TasksPublic: '' as Ref<Space>
|
2021-12-22 09:04:07 +00:00
|
|
|
},
|
2022-06-07 12:21:09 +00:00
|
|
|
viewlet: {
|
2023-03-15 15:26:33 +00:00
|
|
|
TableIssue: '' as Ref<Viewlet>,
|
|
|
|
KanbanIssue: '' as Ref<Viewlet>
|
2021-08-07 14:49:14 +00:00
|
|
|
}
|
|
|
|
})
|