2021-08-07 17:03:06 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2020 Anticrm Platform Contributors.
|
2021-12-15 09:04:43 +00:00
|
|
|
//
|
2021-08-07 17:03:06 +00:00
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
2021-12-15 09:04:43 +00:00
|
|
|
//
|
2021-08-07 17:03:06 +00:00
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2021-12-15 09:04:43 +00:00
|
|
|
//
|
2021-08-07 17:03:06 +00:00
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2023-02-08 06:42:26 +00:00
|
|
|
import { Client, Doc, Ref, Space } from '@hcengineering/core'
|
2022-09-21 08:08:25 +00:00
|
|
|
import type { IntlString, Resource, StatusCode } from '@hcengineering/platform'
|
|
|
|
import { mergeIds } from '@hcengineering/platform'
|
2023-02-20 05:10:15 +00:00
|
|
|
import { ObjectSearchCategory, ObjectSearchFactory } from '@hcengineering/presentation'
|
2022-09-21 08:08:25 +00:00
|
|
|
import recruit, { recruitId } from '@hcengineering/recruit'
|
|
|
|
import { TagCategory } from '@hcengineering/tags'
|
|
|
|
import { AnyComponent } from '@hcengineering/ui'
|
2023-02-08 06:42:26 +00:00
|
|
|
import { FilterFunction, FilterMode } from '@hcengineering/view'
|
2021-08-07 17:03:06 +00:00
|
|
|
|
|
|
|
export default mergeIds(recruitId, recruit, {
|
2021-09-16 09:46:04 +00:00
|
|
|
status: {
|
|
|
|
ApplicationExists: '' as StatusCode,
|
2022-06-07 13:49:13 +00:00
|
|
|
TalentRequired: '' as StatusCode,
|
2022-06-08 13:55:01 +00:00
|
|
|
VacancyRequired: '' as StatusCode
|
2021-09-16 09:46:04 +00:00
|
|
|
},
|
2021-08-07 17:03:06 +00:00
|
|
|
string: {
|
|
|
|
CreateVacancy: '' as IntlString,
|
|
|
|
VacancyName: '' as IntlString,
|
2022-02-07 09:21:32 +00:00
|
|
|
VacancyPlaceholder: '' as IntlString,
|
2021-08-07 17:03:06 +00:00
|
|
|
VacancyDescription: '' as IntlString,
|
|
|
|
CandidatesDescription: '' as IntlString,
|
2021-11-29 17:19:33 +00:00
|
|
|
CreateAnApplication: '' as IntlString,
|
2022-06-07 13:49:13 +00:00
|
|
|
NoApplicationsForTalent: '' as IntlString,
|
2021-08-07 17:03:06 +00:00
|
|
|
FirstName: '' as IntlString,
|
2022-01-06 11:38:40 +00:00
|
|
|
LastName: '' as IntlString,
|
2022-06-07 13:49:13 +00:00
|
|
|
Talents: '' as IntlString,
|
2022-01-06 11:38:40 +00:00
|
|
|
CreateApplication: '' as IntlString,
|
2022-03-14 09:04:41 +00:00
|
|
|
ApplicationCreateLabel: '' as IntlString,
|
2022-01-06 11:38:40 +00:00
|
|
|
Vacancy: '' as IntlString,
|
2022-03-14 09:04:41 +00:00
|
|
|
VacancyCreateLabel: '' as IntlString,
|
2022-01-06 11:38:40 +00:00
|
|
|
SelectVacancy: '' as IntlString,
|
2022-06-07 13:49:13 +00:00
|
|
|
Talent: '' as IntlString,
|
|
|
|
TalentCreateLabel: '' as IntlString,
|
|
|
|
CreateTalent: '' as IntlString,
|
2022-12-14 04:52:41 +00:00
|
|
|
CreateTalentDialogClose: '' as IntlString,
|
|
|
|
CreateTalentDialogCloseNote: '' as IntlString,
|
|
|
|
ResumeDraft: '' as IntlString,
|
2022-01-06 11:38:40 +00:00
|
|
|
AssignRecruiter: '' as IntlString,
|
|
|
|
Recruiters: '' as IntlString,
|
|
|
|
UnAssignRecruiter: '' as IntlString,
|
2022-05-16 11:41:22 +00:00
|
|
|
UnAssignCompany: '' as IntlString,
|
2022-01-12 09:18:50 +00:00
|
|
|
Create: '' as IntlString,
|
|
|
|
Applications: '' as IntlString,
|
|
|
|
ThisVacancyIsPrivate: '' as IntlString,
|
|
|
|
Description: '' as IntlString,
|
2022-03-10 09:04:08 +00:00
|
|
|
Verdict: '' as IntlString,
|
2022-01-14 09:06:32 +00:00
|
|
|
Company: '' as IntlString,
|
|
|
|
Edit: '' as IntlString,
|
|
|
|
Delete: '' as IntlString,
|
|
|
|
WorkLocationPreferences: '' as IntlString,
|
|
|
|
Onsite: '' as IntlString,
|
2022-02-16 09:02:31 +00:00
|
|
|
Remote: '' as IntlString,
|
|
|
|
SkillLabel: '' as IntlString,
|
2022-02-23 16:10:11 +00:00
|
|
|
SkillsLabel: '' as IntlString,
|
2022-03-14 09:04:41 +00:00
|
|
|
SkillCreateLabel: '' as IntlString,
|
2022-02-23 16:10:11 +00:00
|
|
|
General: '' as IntlString,
|
|
|
|
Members: '' as IntlString,
|
|
|
|
Yes: '' as IntlString,
|
|
|
|
No: '' as IntlString,
|
|
|
|
NA: '' as IntlString,
|
|
|
|
PersonFirstNamePlaceholder: '' as IntlString,
|
|
|
|
PersonLastNamePlaceholder: '' as IntlString,
|
|
|
|
Location: '' as IntlString,
|
2022-03-04 09:01:46 +00:00
|
|
|
Title: '' as IntlString,
|
2022-03-10 09:04:08 +00:00
|
|
|
Vacancies: '' as IntlString,
|
2023-03-01 09:22:39 +00:00
|
|
|
Organizations: '' as IntlString,
|
2022-03-10 09:04:08 +00:00
|
|
|
|
2022-06-28 06:54:14 +00:00
|
|
|
CopyLink: '' as IntlString,
|
|
|
|
CopyId: '' as IntlString,
|
|
|
|
|
2022-03-10 09:04:08 +00:00
|
|
|
Review: '' as IntlString,
|
2022-03-14 09:04:41 +00:00
|
|
|
ReviewCreateLabel: '' as IntlString,
|
2022-03-10 09:04:08 +00:00
|
|
|
CreateReview: '' as IntlString,
|
2022-03-19 16:17:47 +00:00
|
|
|
CreateReviewParams: '' as IntlString,
|
2022-03-10 09:04:08 +00:00
|
|
|
Reviews: '' as IntlString,
|
|
|
|
NoReviewForCandidate: '' as IntlString,
|
|
|
|
CreateAnReview: '' as IntlString,
|
|
|
|
CreateOpinion: '' as IntlString,
|
|
|
|
Opinion: '' as IntlString,
|
|
|
|
OpinionValue: '' as IntlString,
|
|
|
|
OpinionValuePlaceholder: '' as IntlString,
|
|
|
|
OpinionSave: '' as IntlString,
|
|
|
|
Opinions: '' as IntlString,
|
|
|
|
OpinionShortLabel: '' as IntlString,
|
|
|
|
ReviewShortLabel: '' as IntlString,
|
|
|
|
StartDate: '' as IntlString,
|
|
|
|
DueDate: '' as IntlString,
|
2022-06-07 13:49:13 +00:00
|
|
|
TalentReviews: '' as IntlString,
|
2022-04-16 03:06:32 +00:00
|
|
|
AddDescription: '' as IntlString,
|
2022-05-12 04:10:52 +00:00
|
|
|
NumberSkills: '' as IntlString,
|
2022-06-08 13:55:01 +00:00
|
|
|
AddDropHere: '' as IntlString,
|
2022-11-03 08:13:25 +00:00
|
|
|
Uploading: '' as IntlString,
|
|
|
|
Parsing: '' as IntlString,
|
2022-06-28 06:50:39 +00:00
|
|
|
TalentSelect: '' as IntlString,
|
2022-07-14 17:44:24 +00:00
|
|
|
FullDescription: '' as IntlString,
|
|
|
|
HasActiveApplicant: '' as IntlString,
|
2022-07-17 16:56:01 +00:00
|
|
|
HasNoActiveApplicant: '' as IntlString,
|
2022-09-14 04:53:48 +00:00
|
|
|
NoneApplications: '' as IntlString,
|
2023-01-26 13:53:00 +00:00
|
|
|
RelatedIssues: '' as IntlString,
|
|
|
|
|
|
|
|
MatchVacancy: '' as IntlString,
|
|
|
|
VacancyMatching: '' as IntlString,
|
|
|
|
Score: '' as IntlString,
|
|
|
|
Match: '' as IntlString,
|
2023-02-07 11:15:59 +00:00
|
|
|
PerformMatch: '' as IntlString,
|
2023-02-20 05:10:15 +00:00
|
|
|
MoveApplication: '' as IntlString,
|
|
|
|
Application: '' as IntlString
|
2022-01-06 11:38:40 +00:00
|
|
|
},
|
|
|
|
space: {
|
|
|
|
CandidatesPublic: '' as Ref<Space>
|
2022-02-25 09:02:38 +00:00
|
|
|
},
|
|
|
|
category: {
|
|
|
|
Other: '' as Ref<TagCategory>,
|
2022-05-29 04:32:39 +00:00
|
|
|
Category: '' as Ref<TagCategory>
|
2022-03-04 09:01:46 +00:00
|
|
|
},
|
2023-02-20 05:10:15 +00:00
|
|
|
completion: {
|
|
|
|
ApplicationQuery: '' as Resource<ObjectSearchFactory>,
|
|
|
|
ApplicationCategory: '' as Ref<ObjectSearchCategory>,
|
|
|
|
VacancyCategory: '' as Ref<ObjectSearchCategory>,
|
|
|
|
VacancyQuery: '' as Resource<ObjectSearchFactory>
|
|
|
|
},
|
2022-03-04 09:01:46 +00:00
|
|
|
component: {
|
|
|
|
VacancyItemPresenter: '' as AnyComponent,
|
2022-03-10 09:04:08 +00:00
|
|
|
VacancyCountPresenter: '' as AnyComponent,
|
2022-03-14 09:05:02 +00:00
|
|
|
OpinionsPresenter: '' as AnyComponent,
|
2022-03-18 09:58:34 +00:00
|
|
|
VacancyModifiedPresenter: '' as AnyComponent,
|
2022-05-16 11:41:22 +00:00
|
|
|
CreateVacancy: '' as AnyComponent,
|
|
|
|
CreateCandidate: '' as AnyComponent
|
2022-06-25 17:32:31 +00:00
|
|
|
},
|
|
|
|
function: {
|
2022-07-14 17:44:24 +00:00
|
|
|
ApplicationTitleProvider: '' as Resource<(client: Client, ref: Ref<Doc>) => Promise<string>>,
|
2023-02-08 06:42:26 +00:00
|
|
|
HasActiveApplicant: '' as FilterFunction,
|
|
|
|
HasNoActiveApplicant: '' as FilterFunction,
|
|
|
|
NoneApplications: '' as FilterFunction
|
2022-07-14 17:44:24 +00:00
|
|
|
},
|
|
|
|
filter: {
|
|
|
|
HasActive: '' as Ref<FilterMode>,
|
2022-07-17 16:56:01 +00:00
|
|
|
NoActive: '' as Ref<FilterMode>,
|
|
|
|
None: '' as Ref<FilterMode>
|
2021-08-07 17:03:06 +00:00
|
|
|
}
|
|
|
|
})
|