update model

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-09-02 12:39:47 +02:00
parent fd303723aa
commit a5869ceb87
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0
3 changed files with 398 additions and 398 deletions

File diff suppressed because it is too large Load Diff

View File

@ -105,7 +105,7 @@ export function createModel (builder: Builder): void {
resume: chunter.class.Attachment
}
} as FindOptions<Doc>, // TODO: fix
config: ['', '$lookup.resume', 'channels', 'city']
config: ['', 'city', '$lookup.resume', 'channels']
})
builder.createDoc(view.class.Viewlet, core.space.Model, {
@ -118,7 +118,7 @@ export function createModel (builder: Builder): void {
candidate: recruit.class.Candidate
}
} as FindOptions<Doc>, // TODO: fix
config: ['$lookup.candidate', '$lookup.candidate.email', '$lookup.candidate.city']
config: ['$lookup.candidate', '$lookup.candidate.city', '$lookup.candidate.channels']
})
}

File diff suppressed because it is too large Load Diff