Skills search update (#1573)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-04-28 15:11:09 +07:00
committed by GitHub
parent e9a0225dd7
commit 18bd545c25
18 changed files with 348 additions and 43 deletions
+4 -3
View File
@@ -17,6 +17,7 @@ import type { Employee } from '@anticrm/contact'
import contact from '@anticrm/contact'
import { Domain, DOMAIN_MODEL, IndexKind, Markup, Ref, Timestamp } from '@anticrm/core'
import {
ArrOf,
Builder,
Collection,
Hidden,
@@ -126,10 +127,10 @@ export class TIssue extends TDoc implements Issue {
@Prop(TypeRef(tracker.class.Issue), tracker.string.Parent)
parentIssue!: Ref<Issue>
@Prop(Collection(tracker.class.Issue), tracker.string.BlockedBy)
@Prop(ArrOf(TypeRef(tracker.class.Issue)), tracker.string.BlockedBy)
blockedBy!: Ref<Issue>[]
@Prop(Collection(tracker.class.Issue), tracker.string.RelatedTo)
@Prop(ArrOf(TypeRef(tracker.class.Issue)), tracker.string.RelatedTo)
relatedIssue!: Ref<Issue>[]
@Prop(Collection(chunter.class.Comment), tracker.string.Comments)
@@ -193,7 +194,7 @@ export class TProject extends TDoc implements Project {
@Prop(TypeRef(contact.class.Employee), tracker.string.ProjectLead)
lead!: Ref<Employee> | null
@Prop(Collection(contact.class.Employee), tracker.string.Members)
@Prop(ArrOf(TypeRef(contact.class.Employee)), tracker.string.Members)
members!: Ref<Employee>[]
@Prop(Collection(chunter.class.Comment), chunter.string.Comments)