Board: Checklists model adjustments (#1633)

Signed-off-by: Anna No <anna.no@xored.com>
This commit is contained in:
Anna No
2022-05-04 20:52:31 +07:00
committed by GitHub
parent 113161e092
commit dfbf2d5263
11 changed files with 60 additions and 15 deletions
+5 -3
View File
@@ -14,7 +14,7 @@
//
import type { Employee } from '@anticrm/contact'
import { AttachedDoc, Class, Doc, Interface, Mixin, Ref, Space, Timestamp, TxOperations } from '@anticrm/core'
import { AttachedDoc, Class, Doc, Interface, Markup, Mixin, Ref, Space, Timestamp, TxOperations } from '@anticrm/core'
import type { Asset, IntlString, Plugin } from '@anticrm/platform'
import { plugin } from '@anticrm/platform'
import type { AnyComponent } from '@anticrm/ui'
@@ -72,9 +72,11 @@ export interface Task extends AttachedDoc, DocWithRank {
* @public
*/
export interface TodoItem extends AttachedDoc {
name: string
name: Markup
assignee: Ref<Employee> | null
done: boolean
dueTo?: Timestamp
dueTo: Timestamp | null
items?: number
}
/**