bring kanban back

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-10-14 17:51:23 +02:00
parent 65f8cc4384
commit a5809075ec
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0
4 changed files with 944 additions and 849 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -145,6 +145,20 @@ export function createModel (builder: Builder): void {
config: ['', '$lookup.candidate', '$lookup.state', '$lookup.candidate.city', '$lookup.candidate.channels']
})
builder.createDoc(view.class.Viewlet, core.space.Model, {
attachTo: recruit.class.Applicant,
descriptor: view.viewlet.Kanban,
open: recruit.component.EditCandidate,
// eslint-disable-next-line @typescript-eslint/consistent-type-assertions
options: {
lookup: {
candidate: recruit.class.Candidate,
state: core.class.State
}
} as FindOptions<Doc>, // TODO: fix
config: ['$lookup.candidate', '$lookup.state', '$lookup.candidate.city', '$lookup.candidate.channels']
})
builder.mixin(recruit.class.Applicant, core.class.Class, view.mixin.KanbanCard, {
card: recruit.component.KanbanCard
})

File diff suppressed because it is too large Load Diff