// // Copyright © 2020 Anticrm Platform Contributors. // // 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 // // 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. // // See the License for the specific language governing permissions and // limitations under the License. // import type { Client, Doc, Ref } from '@hcengineering/core' import { NotificationGroup, NotificationType } from '@hcengineering/notification' import type { IntlString, Resource, Status } from '@hcengineering/platform' import { mergeIds } from '@hcengineering/platform' import { recruitId } from '@hcengineering/recruit' import recruit from '@hcengineering/recruit-resources/src/plugin' import { KanbanTemplate } from '@hcengineering/task' import type { AnyComponent, Location } from '@hcengineering/ui' import type { Action, ActionCategory, ViewAction, Viewlet } from '@hcengineering/view' export default mergeIds(recruitId, recruit, { action: { CreateOpinion: '' as Ref, CreateGlobalApplication: '' as Ref, CopyApplicationId: '' as Ref, CopyApplicationLink: '' as Ref, CopyCandidateLink: '' as Ref, MoveApplicant: '' as Ref }, actionImpl: { CreateOpinion: '' as ViewAction, MoveApplicant: '' as ViewAction }, category: { Recruit: '' as Ref }, function: { GetObjectLinkFragment: '' as Resource<(doc: Doc, props: Record) => Promise>, GetIdObjectLinkFragment: '' as Resource<(doc: Doc, props: Record) => Promise>, GetObjectLink: '' as Resource<(doc: Doc, props: Record) => Promise> }, string: { ApplicationsShort: '' as IntlString, RecruitApplication: '' as IntlString, TalentPools: '' as IntlString, SearchApplication: '' as IntlString, SearchVacancy: '' as IntlString, AssignedRecruiter: '' as IntlString, Due: '' as IntlString, Source: '' as IntlString, ManageVacancyStatuses: '' as IntlString, EditVacancy: '' as IntlString, GotoTalents: '' as IntlString, GotoVacancies: '' as IntlString, GotoSkills: '' as IntlString, GotoMyApplications: '' as IntlString, GotoApplicants: '' as IntlString, GotoRecruitApplication: '' as IntlString, VacancyList: '' as IntlString, ConfigLabel: '' as IntlString, ConfigDescription: '' as IntlString }, validator: { ApplicantValidator: '' as Resource<(doc: T, client: Client) => Promise> }, ids: { VacancyNotificationGroup: '' as Ref, CandidateNotificationGroup: '' as Ref, ApplicationNotificationGroup: '' as Ref, AssigneeNotification: '' as Ref, ApplicationCreateNotification: '' as Ref }, component: { CreateApplication: '' as AnyComponent, KanbanCard: '' as AnyComponent, ApplicationPresenter: '' as AnyComponent, ApplicationsPresenter: '' as AnyComponent, VacancyPresenter: '' as AnyComponent, EditApplication: '' as AnyComponent, TemplatesIcon: '' as AnyComponent, Applications: '' as AnyComponent, SkillsView: '' as AnyComponent, Vacancies: '' as AnyComponent, Organizations: '' as AnyComponent, CreateReview: '' as AnyComponent, Reviews: '' as AnyComponent, KanbanReviewCard: '' as AnyComponent, EditReview: '' as AnyComponent, ReviewPresenter: '' as AnyComponent, Opinions: '' as AnyComponent, OpinionPresenter: '' as AnyComponent, NewCandidateHeader: '' as AnyComponent, ApplicantFilter: '' as AnyComponent, VacancyList: '' as AnyComponent, VacancyTemplateEditor: '' as AnyComponent, ApplicationMatchPresenter: '' as AnyComponent, MatchVacancy: '' as AnyComponent, NotificationApplicantPresenter: '' as AnyComponent }, template: { DefaultVacancy: '' as Ref, Task: '' as Ref }, viewlet: { TableCandidate: '' as Ref, TableVacancy: '' as Ref, ApplicantTable: '' as Ref, ApplicantKanban: '' as Ref, ListApplicant: '' as Ref, TableApplicant: '' as Ref, TableApplicantMatch: '' as Ref, CalendarReview: '' as Ref, TableReview: '' as Ref, TableVacancyList: '' as Ref, ApplicantDashboard: '' as Ref } })