@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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-85eb67d1c6db13d7a51d676a41064b8b3e277525eb6cbdc919e865236fcaa07d",
2
+ "name": "prisma-client-f22a53a8ea96bee0fd8615ec06949c3122b9c92d15271dd7d580cd9c9e06d04d",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "default.js",
@@ -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 String @id @default(uuid())
1755
+ id String @id @default(uuid())
1758
1756
  /// FK to organisations table
1759
- organisation_id String?
1760
- candidate_id String?
1761
- resume_id String
1762
- job_description_id String
1763
- /// Owning application (inverted from Application.fit_check_id)
1764
- application_id String? @unique
1765
- skills_analysis Json?
1766
- overall_analysis Json?
1767
- /// Optional; new FitChecks from Orion omit a numeric score.
1768
- overall_score Float?
1769
- /// Free-text from Overall Analysis agent; preferred over recommendation Json.
1770
- overall_recommendation String?
1771
- /// Why `overall_score` is this value. Distinct from `overall_recommendation`.
1772
- score_reasoning String?
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 CurrentEvaluation?
1775
- short_match_analysis Json[]
1776
- fit_comparison Json?
1777
- recommendation Json?
1778
- competencies_analysis Json?
1779
- competencies_verdict Json?
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 String
1782
- updated_by String
1783
- is_active Boolean @default(true)
1784
- created_at DateTime @default(now())
1785
- updated_at DateTime @updatedAt
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 Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1788
- candidate User? @relation(fields: [candidate_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1789
- resume Resume @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1790
- job_description JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1791
- application Application? @relation(fields: [application_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
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])