@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/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -1616,8 +1616,6 @@ model EvaluationCriteria {
|
|
|
1616
1616
|
key String
|
|
1617
1617
|
criteria String?
|
|
1618
1618
|
description String?
|
|
1619
|
-
weightage Float?
|
|
1620
|
-
is_elimination Boolean @default(false)
|
|
1621
1619
|
metadata Json?
|
|
1622
1620
|
/// Audit fields
|
|
1623
1621
|
created_by String
|
|
@@ -1754,41 +1752,46 @@ enum CurrentEvaluation {
|
|
|
1754
1752
|
|
|
1755
1753
|
model FitCheck {
|
|
1756
1754
|
/// Primary key (UUID)
|
|
1757
|
-
id
|
|
1755
|
+
id String @id @default(uuid())
|
|
1758
1756
|
/// FK to organisations table
|
|
1759
|
-
organisation_id
|
|
1760
|
-
candidate_id
|
|
1761
|
-
resume_id
|
|
1762
|
-
job_description_id
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
overall_analysis
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1757
|
+
organisation_id String?
|
|
1758
|
+
candidate_id String?
|
|
1759
|
+
resume_id String
|
|
1760
|
+
job_description_id String
|
|
1761
|
+
application_id String? @unique
|
|
1762
|
+
skills_analysis Json?
|
|
1763
|
+
/// Unused by new writes; scheduled for removal.
|
|
1764
|
+
overall_analysis Json?
|
|
1765
|
+
overall_score Float?
|
|
1766
|
+
score_reasoning String?
|
|
1767
|
+
overall_recommendation String?
|
|
1768
|
+
overall_recommendation_reasoning String?
|
|
1769
|
+
overall_recommendation_metadata Json?
|
|
1770
|
+
// V2 recommendation — experimental evaluation.
|
|
1771
|
+
overall_recommendation_v2 String?
|
|
1772
|
+
overall_recommendation_reasoning_v2 String?
|
|
1773
|
+
current_evaluation_v2 CurrentEvaluation?
|
|
1773
1774
|
/// 5-level current evaluation (`CurrentEvaluation`). Independent of overall_score.
|
|
1774
|
-
current_evaluation
|
|
1775
|
-
short_match_analysis
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1775
|
+
current_evaluation CurrentEvaluation?
|
|
1776
|
+
short_match_analysis Json[]
|
|
1777
|
+
/// Unused by new writes; scheduled for removal.
|
|
1778
|
+
fit_comparison Json?
|
|
1779
|
+
/// Unused by new writes; scheduled for removal.
|
|
1780
|
+
recommendation Json?
|
|
1781
|
+
competencies_analysis Json?
|
|
1782
|
+
competencies_verdict Json?
|
|
1780
1783
|
/// Audit fields
|
|
1781
|
-
created_by
|
|
1782
|
-
updated_by
|
|
1783
|
-
is_active
|
|
1784
|
-
created_at
|
|
1785
|
-
updated_at
|
|
1784
|
+
created_by String
|
|
1785
|
+
updated_by String
|
|
1786
|
+
is_active Boolean @default(true)
|
|
1787
|
+
created_at DateTime @default(now())
|
|
1788
|
+
updated_at DateTime @updatedAt
|
|
1786
1789
|
/// Relations
|
|
1787
|
-
organisation
|
|
1788
|
-
candidate
|
|
1789
|
-
resume
|
|
1790
|
-
job_description
|
|
1791
|
-
application
|
|
1790
|
+
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
1791
|
+
candidate User? @relation(fields: [candidate_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
1792
|
+
resume Resume @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
1793
|
+
job_description JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
1794
|
+
application Application? @relation(fields: [application_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
1792
1795
|
|
|
1793
1796
|
/// Ensure one FitCheck per (resume_id, job_description_id) pair
|
|
1794
1797
|
@@unique([resume_id, job_description_id])
|