@adaptware/eagles-db 0.4.2 → 0.4.6

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-94553ce9e384021d95cc00ceea7272654b17cfb4ed4079ec81e1f600517860b2",
2
+ "name": "prisma-client-88599a8e10ec108bcddab41b6c3b233339fd8a3988504481b1fa53a8526a6f6e",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -882,8 +882,6 @@ model JobDescription {
882
882
  summary Json?
883
883
  ai_insight Json?
884
884
  job_fit_comparison Json?
885
- /// Per-job thresholds for AI round recommendation (interview vs work-sample routing).
886
- recommendation_config Json?
887
885
  // Audit fields
888
886
  created_at DateTime @default(now())
889
887
  updated_at DateTime @updatedAt
@@ -1068,9 +1066,7 @@ model OngoingEvaluation {
1068
1066
  candidate_id String
1069
1067
  resume_id String
1070
1068
  job_description_id String
1071
- evaluation_plan_id String?
1072
- /// null = legacy row; false = pre-Proceed draft; true = committed pipeline round
1073
- is_committed Boolean?
1069
+ evaluation_plan_id String
1074
1070
  interview_id String? @unique
1075
1071
  assignment_id String? @unique
1076
1072
  assessment_id String? @unique
@@ -1079,6 +1075,7 @@ model OngoingEvaluation {
1079
1075
  round_status OngoingEvaluationRoundStatus? @default(NOT_SCHEDULED)
1080
1076
  comments String? @default("")
1081
1077
  completed_at DateTime?
1078
+ is_committed Boolean?
1082
1079
  /// Evaluation Plan Fields Filled After Round Started
1083
1080
  title String?
1084
1081
  description String?
@@ -1106,14 +1103,13 @@ model OngoingEvaluation {
1106
1103
  candidate User? @relation(fields: [candidate_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1107
1104
  resume Resume? @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1108
1105
  organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1109
- evaluation_plan EvaluationPlan? @relation(fields: [evaluation_plan_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1106
+ evaluation_plan EvaluationPlan @relation(fields: [evaluation_plan_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
1110
1107
  interview Interview? @relation(fields: [interview_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
1111
1108
  assignment Assignment?
1112
1109
  assessment Assessment? @relation(fields: [assessment_id], references: [id], onDelete: SetNull)
1113
1110
 
1114
1111
  @@unique([application_id, evaluation_plan_id])
1115
1112
  @@index([application_id])
1116
- @@index([application_id, is_committed])
1117
1113
  @@index([evaluation_plan_id])
1118
1114
  }
1119
1115
 
package/client/wasm.js CHANGED
@@ -585,7 +585,6 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
585
585
  summary: 'summary',
586
586
  ai_insight: 'ai_insight',
587
587
  job_fit_comparison: 'job_fit_comparison',
588
- recommendation_config: 'recommendation_config',
589
588
  created_at: 'created_at',
590
589
  updated_at: 'updated_at',
591
590
  created_by: 'created_by',
@@ -679,7 +678,6 @@ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
679
678
  resume_id: 'resume_id',
680
679
  job_description_id: 'job_description_id',
681
680
  evaluation_plan_id: 'evaluation_plan_id',
682
- is_committed: 'is_committed',
683
681
  interview_id: 'interview_id',
684
682
  assignment_id: 'assignment_id',
685
683
  assessment_id: 'assessment_id',
@@ -687,6 +685,7 @@ exports.Prisma.OngoingEvaluationScalarFieldEnum = {
687
685
  round_status: 'round_status',
688
686
  comments: 'comments',
689
687
  completed_at: 'completed_at',
688
+ is_committed: 'is_committed',
690
689
  title: 'title',
691
690
  description: 'description',
692
691
  order_no: 'order_no',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.4.2",
3
+ "version": "0.4.6",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,8 +19,6 @@ model JobDescription {
19
19
  summary Json?
20
20
  ai_insight Json?
21
21
  job_fit_comparison Json?
22
- /// Per-job thresholds for AI round recommendation (interview vs work-sample routing).
23
- recommendation_config Json?
24
22
  // Audit fields
25
23
  created_at DateTime @default(now())
26
24
  updated_at DateTime @updatedAt
@@ -24,9 +24,7 @@ model OngoingEvaluation {
24
24
  candidate_id String
25
25
  resume_id String
26
26
  job_description_id String
27
- evaluation_plan_id String?
28
- /// null = legacy row; false = pre-Proceed draft; true = committed pipeline round
29
- is_committed Boolean?
27
+ evaluation_plan_id String
30
28
  interview_id String? @unique
31
29
  assignment_id String? @unique
32
30
  assessment_id String? @unique
@@ -35,6 +33,7 @@ model OngoingEvaluation {
35
33
  round_status OngoingEvaluationRoundStatus? @default(NOT_SCHEDULED)
36
34
  comments String? @default("")
37
35
  completed_at DateTime?
36
+ is_committed Boolean?
38
37
  /// Evaluation Plan Fields Filled After Round Started
39
38
  title String?
40
39
  description String?
@@ -62,13 +61,12 @@ model OngoingEvaluation {
62
61
  candidate User? @relation(fields: [candidate_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
63
62
  resume Resume? @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
64
63
  organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
65
- evaluation_plan EvaluationPlan? @relation(fields: [evaluation_plan_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
64
+ evaluation_plan EvaluationPlan @relation(fields: [evaluation_plan_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
66
65
  interview Interview? @relation(fields: [interview_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
67
66
  assignment Assignment?
68
67
  assessment Assessment? @relation(fields: [assessment_id], references: [id], onDelete: SetNull)
69
68
 
70
69
  @@unique([application_id, evaluation_plan_id])
71
70
  @@index([application_id])
72
- @@index([application_id, is_committed])
73
71
  @@index([evaluation_plan_id])
74
72
  }