+ on:click={newCandidate}
+ >
+
+ {#if draftExists}
+
+ {/if}
+
+
+
+
diff --git a/plugins/recruit-resources/src/plugin.ts b/plugins/recruit-resources/src/plugin.ts
index 8ab0abf36e..84bebff7f6 100644
--- a/plugins/recruit-resources/src/plugin.ts
+++ b/plugins/recruit-resources/src/plugin.ts
@@ -48,6 +48,9 @@ export default mergeIds(recruitId, recruit, {
Talent: '' as IntlString,
TalentCreateLabel: '' as IntlString,
CreateTalent: '' as IntlString,
+ CreateTalentDialogClose: '' as IntlString,
+ CreateTalentDialogCloseNote: '' as IntlString,
+ ResumeDraft: '' as IntlString,
AssignRecruiter: '' as IntlString,
Recruiters: '' as IntlString,
UnAssignRecruiter: '' as IntlString,
diff --git a/plugins/recruit/package.json b/plugins/recruit/package.json
index 36e6fd410a..e6df751a24 100644
--- a/plugins/recruit/package.json
+++ b/plugins/recruit/package.json
@@ -32,6 +32,7 @@
"@hcengineering/chunter": "~0.6.1",
"@hcengineering/task": "~0.6.0",
"@hcengineering/calendar": "~0.6.1",
- "@hcengineering/ui": "^0.6.2"
+ "@hcengineering/ui": "^0.6.2",
+ "@hcengineering/tags": "~0.6.2"
}
}
diff --git a/plugins/recruit/src/index.ts b/plugins/recruit/src/index.ts
index d83ee3381a..3b1665f403 100644
--- a/plugins/recruit/src/index.ts
+++ b/plugins/recruit/src/index.ts
@@ -14,12 +14,13 @@
//
import { Event } from '@hcengineering/calendar'
-import type { Organization, Person } from '@hcengineering/contact'
-import type { AttachedDoc, Class, Doc, Mixin, Ref, Space, Timestamp } from '@hcengineering/core'
+import type { Channel, Organization, Person } from '@hcengineering/contact'
+import type { AttachedData, AttachedDoc, Class, Doc, Mixin, Ref, Space, Timestamp } from '@hcengineering/core'
import type { Asset, Plugin } from '@hcengineering/platform'
import { plugin } from '@hcengineering/platform'
import type { KanbanTemplateSpace, SpaceWithStates, Task } from '@hcengineering/task'
import { AnyComponent } from '@hcengineering/ui'
+import { TagReference } from '@hcengineering/tags'
/**
* @public
@@ -58,6 +59,27 @@ export interface Candidate extends Person {
reviews?: number
}
+/**
+ * @public
+ */
+export interface CandidateDraft extends Doc {
+ candidateId: Ref