@adaptware/eagles-db 0.1.47 → 0.1.49

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-95e41a9407bdb0a6491bc324c19e7a0da21afab1ecf10c8bd9872d3ff8bdc1e3",
2
+ "name": "prisma-client-ac25e53c631512d142143ca345948068fd0d76aac704e94cec32263f9b75393a",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -444,7 +444,6 @@ model EvaluationPlan {
444
444
  assessment AssessmentLibrary? @relation(fields: [assessment_id], references: [id], onDelete: SetNull)
445
445
  assignment_library AssignmentLibrary? @relation(fields: [assignment_library_id], references: [id], onDelete: SetNull)
446
446
  ongoing_evaluations OngoingEvaluation[]
447
- interviews Interview[]
448
447
 
449
448
  @@unique([job_description_id, order_no])
450
449
  @@index([job_description_id])
@@ -563,15 +562,12 @@ enum InterviewStatus {
563
562
 
564
563
  model Interview {
565
564
  id String @id @default(uuid())
566
- /// Foreign keys
567
565
  candidate_id String
568
566
  interviewer_id String?
569
567
  application_id String?
570
- evaluation_plan_id String?
571
568
  resume_id String
572
569
  job_description_id String
573
570
  organisation_id String
574
- /// Data
575
571
  room_name String?
576
572
  interview_summary String[]
577
573
  scheduled_start_time DateTime?
@@ -594,14 +590,12 @@ model Interview {
594
590
  job_description JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
595
591
  resume Resume @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
596
592
  application Application? @relation(fields: [application_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
597
- evaluation_plan EvaluationPlan? @relation(fields: [evaluation_plan_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
598
593
  ongoing_evaluation OngoingEvaluation?
599
594
  transcripts Transcript[]
600
595
  suggestions Suggestion[]
601
596
  feedback Feedback[]
602
597
  interviewNotes InterviewNotes[]
603
598
 
604
- @@unique([interviewer_id, candidate_id, evaluation_plan_id])
605
599
  @@index([candidate_id])
606
600
  @@index([interviewer_id])
607
601
  @@index([job_description_id])
package/client/wasm.js CHANGED
@@ -425,7 +425,6 @@ exports.Prisma.InterviewScalarFieldEnum = {
425
425
  candidate_id: 'candidate_id',
426
426
  interviewer_id: 'interviewer_id',
427
427
  application_id: 'application_id',
428
- evaluation_plan_id: 'evaluation_plan_id',
429
428
  resume_id: 'resume_id',
430
429
  job_description_id: 'job_description_id',
431
430
  organisation_id: 'organisation_id',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.1.47",
3
+ "version": "0.1.49",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -72,11 +72,10 @@ model EvaluationPlan {
72
72
  // Relations
73
73
  jobDescription JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade)
74
74
  questions Question[] // One evaluation plan → many questions
75
- applications Application[]
76
- assessment AssessmentLibrary? @relation(fields: [assessment_id], references: [id], onDelete: SetNull)
77
- assignment_library AssignmentLibrary? @relation(fields: [assignment_library_id], references: [id], onDelete: SetNull)
78
- ongoing_evaluations OngoingEvaluation[]
79
- interviews Interview[]
75
+ applications Application[]
76
+ assessment AssessmentLibrary? @relation(fields: [assessment_id], references: [id], onDelete: SetNull)
77
+ assignment_library AssignmentLibrary? @relation(fields: [assignment_library_id], references: [id], onDelete: SetNull)
78
+ ongoing_evaluations OngoingEvaluation[]
80
79
 
81
80
  @@unique([job_description_id, order_no])
82
81
  @@index([job_description_id])
@@ -13,8 +13,8 @@ model Interview {
13
13
  /// Foreign keys
14
14
  candidate_id String
15
15
  interviewer_id String?
16
- application_id String
17
- evaluation_plan_id String
16
+ application_id String?
17
+ evaluation_plan_id String?
18
18
  resume_id String
19
19
  job_description_id String
20
20
  organisation_id String