@adaptware/eagles-db 0.4.35 → 0.4.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/edge.js +10 -4
- package/client/index-browser.js +7 -1
- package/client/index.d.ts +828 -36
- package/client/index.js +10 -4
- package/client/package.json +1 -1
- package/client/schema.prisma +32 -22
- package/client/wasm.js +10 -4
- package/package.json +1 -1
- package/prisma/schema/document.prisma +2 -4
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -347,6 +347,7 @@ enum ApplicationStatus {
|
|
|
347
347
|
SELECTED
|
|
348
348
|
SHORTLISTED
|
|
349
349
|
REJECTED
|
|
350
|
+
ON_HOLD
|
|
350
351
|
|
|
351
352
|
@@schema("public")
|
|
352
353
|
}
|
|
@@ -365,6 +366,7 @@ model Application {
|
|
|
365
366
|
source_id String?
|
|
366
367
|
round_no Int @default(0)
|
|
367
368
|
is_jaf_completed Boolean @default(false)
|
|
369
|
+
proceed_to_next_round Boolean? @default(false)
|
|
368
370
|
//Screening fields
|
|
369
371
|
on_notice_period Boolean @default(false)
|
|
370
372
|
expected_joining_date DateTime?
|
|
@@ -1153,7 +1155,8 @@ model Document {
|
|
|
1153
1155
|
// Relations
|
|
1154
1156
|
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
1155
1157
|
candidate User? @relation(fields: [candidate_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
1156
|
-
resume Resume?
|
|
1158
|
+
resume Resume? @relation("ResumeSourceDocument")
|
|
1159
|
+
resume_rendered_export Resume? @relation("RenderedResumeExport")
|
|
1157
1160
|
job_description_source JobDescription? @relation("SourceDocument")
|
|
1158
1161
|
job_description_rendered JobDescription? @relation("RenderedJdDocument")
|
|
1159
1162
|
interview_recording Interview?
|
|
@@ -1265,6 +1268,7 @@ model EvaluationPlan {
|
|
|
1265
1268
|
elimination_round Boolean @default(false)
|
|
1266
1269
|
evaluation_type EvaluationType @default(TREADSPACE_AI_ASSISTED)
|
|
1267
1270
|
type_of_round RoundType
|
|
1271
|
+
round_purpose String?
|
|
1268
1272
|
timeline Int?
|
|
1269
1273
|
order_no Int?
|
|
1270
1274
|
details Json?
|
|
@@ -2380,6 +2384,7 @@ model OngoingEvaluation {
|
|
|
2380
2384
|
description String?
|
|
2381
2385
|
order_no Int?
|
|
2382
2386
|
format EvaluationRoundFormat?
|
|
2387
|
+
round_purpose String?
|
|
2383
2388
|
topics String[]
|
|
2384
2389
|
assignee String?
|
|
2385
2390
|
elimination_round Boolean? @default(false)
|
|
@@ -2800,29 +2805,34 @@ model ReportingOverviewJobRecruiter {
|
|
|
2800
2805
|
}
|
|
2801
2806
|
|
|
2802
2807
|
model Resume {
|
|
2803
|
-
id
|
|
2804
|
-
user_id
|
|
2805
|
-
organisation_id
|
|
2806
|
-
job_description_id
|
|
2808
|
+
id String @id @default(uuid())
|
|
2809
|
+
user_id String?
|
|
2810
|
+
organisation_id String?
|
|
2811
|
+
job_description_id String?
|
|
2807
2812
|
/// @deprecated Prefer `document_id` + `Document`. Kept until backfill completes.
|
|
2808
|
-
uploaded_resume_path
|
|
2809
|
-
document_id
|
|
2813
|
+
uploaded_resume_path String?
|
|
2814
|
+
document_id String? @unique
|
|
2815
|
+
/// Latest ATS template export (PDF). Null until first successful export.
|
|
2816
|
+
rendered_export_document_id String? @unique
|
|
2817
|
+
/// Last chosen ATS layout template id (e.g. ats-classic). Set on first export.
|
|
2818
|
+
resume_template_id String?
|
|
2810
2819
|
/// @deprecated Prefer `Document.file_hash`. Kept for legacy read fallback.
|
|
2811
|
-
file_hash
|
|
2812
|
-
summary
|
|
2813
|
-
created_at
|
|
2814
|
-
updated_at
|
|
2815
|
-
created_by
|
|
2816
|
-
updated_by
|
|
2817
|
-
is_active
|
|
2818
|
-
name
|
|
2819
|
-
user
|
|
2820
|
-
organisation
|
|
2821
|
-
job_description
|
|
2822
|
-
document
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2820
|
+
file_hash String?
|
|
2821
|
+
summary Json?
|
|
2822
|
+
created_at DateTime @default(now())
|
|
2823
|
+
updated_at DateTime @updatedAt
|
|
2824
|
+
created_by String
|
|
2825
|
+
updated_by String
|
|
2826
|
+
is_active Boolean @default(true)
|
|
2827
|
+
name String?
|
|
2828
|
+
user User? @relation(fields: [user_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2829
|
+
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2830
|
+
job_description JobDescription? @relation(fields: [job_description_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2831
|
+
document Document? @relation("ResumeSourceDocument", fields: [document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2832
|
+
rendered_export_document Document? @relation("RenderedResumeExport", fields: [rendered_export_document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2833
|
+
applications Application[]
|
|
2834
|
+
interviews Interview[]
|
|
2835
|
+
ongoing_evaluations OngoingEvaluation[] // optional one-to-many
|
|
2826
2836
|
|
|
2827
2837
|
resume_data ResumeData[] // one-to-many link
|
|
2828
2838
|
fit_check FitCheck[] // one-to-many link
|