@adaptware/eagles-db 0.1.49 → 0.1.50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,15 +10,12 @@ enum InterviewStatus {
10
10
 
11
11
  model Interview {
12
12
  id String @id @default(uuid())
13
- /// Foreign keys
14
13
  candidate_id String
15
14
  interviewer_id String?
16
15
  application_id String?
17
- evaluation_plan_id String?
18
16
  resume_id String
19
17
  job_description_id String
20
18
  organisation_id String
21
- /// Data
22
19
  room_name String?
23
20
  interview_summary String[]
24
21
  scheduled_start_time DateTime?
@@ -41,14 +38,12 @@ model Interview {
41
38
  job_description JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
42
39
  resume Resume @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
43
40
  application Application? @relation(fields: [application_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
44
- evaluation_plan EvaluationPlan? @relation(fields: [evaluation_plan_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
45
41
  ongoing_evaluation OngoingEvaluation?
46
42
  transcripts Transcript[]
47
43
  suggestions Suggestion[]
48
44
  feedback Feedback[]
49
45
  interviewNotes InterviewNotes[]
50
46
 
51
- @@unique([interviewer_id, candidate_id, evaluation_plan_id])
52
47
  @@index([candidate_id])
53
48
  @@index([interviewer_id])
54
49
  @@index([job_description_id])