@adaptware/eagles-db 0.6.12 → 0.6.14
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 +9 -6
- package/client/index-browser.js +6 -3
- package/client/index.d.ts +352 -187
- package/client/index.js +9 -6
- package/client/package.json +1 -1
- package/client/schema.prisma +36 -33
- package/client/wasm.js +9 -6
- package/package.json +1 -1
- package/prisma/schema/evaluationCriteria.prisma +0 -2
- package/prisma/schema/fitCheck.prisma +36 -31
- package/prisma/schema/migrations/20261013120000_add_fitcheck_overall_recommendation_metadata/migration.sql +2 -0
- package/prisma/schema/migrations/20261013140000_fitcheck_overall_analysis_optional/migration.sql +2 -0
- package/prisma/schema/migrations/20261019120000_evaluation_criteria_drop_weightage_elimination/migration.sql +3 -0
package/package.json
CHANGED
|
@@ -20,41 +20,46 @@ enum CurrentEvaluation {
|
|
|
20
20
|
|
|
21
21
|
model FitCheck {
|
|
22
22
|
/// Primary key (UUID)
|
|
23
|
-
id
|
|
23
|
+
id String @id @default(uuid())
|
|
24
24
|
/// FK to organisations table
|
|
25
|
-
organisation_id
|
|
26
|
-
candidate_id
|
|
27
|
-
resume_id
|
|
28
|
-
job_description_id
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
overall_analysis
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
organisation_id String?
|
|
26
|
+
candidate_id String?
|
|
27
|
+
resume_id String
|
|
28
|
+
job_description_id String
|
|
29
|
+
application_id String? @unique
|
|
30
|
+
skills_analysis Json?
|
|
31
|
+
/// Unused by new writes; scheduled for removal.
|
|
32
|
+
overall_analysis Json?
|
|
33
|
+
overall_score Float?
|
|
34
|
+
score_reasoning String?
|
|
35
|
+
overall_recommendation String?
|
|
36
|
+
overall_recommendation_reasoning String?
|
|
37
|
+
overall_recommendation_metadata Json?
|
|
38
|
+
// V2 recommendation — experimental evaluation.
|
|
39
|
+
overall_recommendation_v2 String?
|
|
40
|
+
overall_recommendation_reasoning_v2 String?
|
|
41
|
+
current_evaluation_v2 CurrentEvaluation?
|
|
39
42
|
/// 5-level current evaluation (`CurrentEvaluation`). Independent of overall_score.
|
|
40
|
-
current_evaluation
|
|
41
|
-
short_match_analysis
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
current_evaluation CurrentEvaluation?
|
|
44
|
+
short_match_analysis Json[]
|
|
45
|
+
/// Unused by new writes; scheduled for removal.
|
|
46
|
+
fit_comparison Json?
|
|
47
|
+
/// Unused by new writes; scheduled for removal.
|
|
48
|
+
recommendation Json?
|
|
49
|
+
competencies_analysis Json?
|
|
50
|
+
competencies_verdict Json?
|
|
46
51
|
/// Audit fields
|
|
47
|
-
created_by
|
|
48
|
-
updated_by
|
|
49
|
-
is_active
|
|
50
|
-
created_at
|
|
51
|
-
updated_at
|
|
52
|
+
created_by String
|
|
53
|
+
updated_by String
|
|
54
|
+
is_active Boolean @default(true)
|
|
55
|
+
created_at DateTime @default(now())
|
|
56
|
+
updated_at DateTime @updatedAt
|
|
52
57
|
/// Relations
|
|
53
|
-
organisation
|
|
54
|
-
candidate
|
|
55
|
-
resume
|
|
56
|
-
job_description
|
|
57
|
-
application
|
|
58
|
+
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
59
|
+
candidate User? @relation(fields: [candidate_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
60
|
+
resume Resume @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
61
|
+
job_description JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
62
|
+
application Application? @relation(fields: [application_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
58
63
|
|
|
59
64
|
/// Ensure one FitCheck per (resume_id, job_description_id) pair
|
|
60
65
|
@@unique([resume_id, job_description_id])
|