Automation (#4052)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2023-11-27 13:58:14 +07:00
committed by GitHub
parent 43e1e38af0
commit 63c24da02a
8 changed files with 105 additions and 10 deletions
+2 -4
View File
@@ -71,8 +71,6 @@ export const DOMAIN_KANBAN = 'kanban' as Domain
/**
* @public
*
* No domain is specified, since pure Tasks could not exists
*/
@Model(task.class.Task, core.class.AttachedDoc, DOMAIN_TASK)
@UX(task.string.Task, task.icon.Task, task.string.Task)
@@ -86,8 +84,8 @@ export class TTask extends TAttachedDoc implements Task {
@Hidden()
number!: number
// @Prop(TypeRef(contact.mixin.Employee), task.string.TaskAssignee)
assignee!: Ref<Person> | null
@Prop(TypeRef(contact.mixin.Employee), task.string.TaskAssignee)
assignee!: Ref<Person> | null
@Prop(TypeDate(), task.string.DueDate, { editor: task.component.DueDateEditor })
dueDate!: Timestamp | null