@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.
- package/client/edge.js +3 -4
- package/client/index-browser.js +0 -1
- package/client/index.d.ts +2 -570
- package/client/index.js +3 -4
- package/client/package.json +1 -1
- package/client/schema.prisma +0 -6
- package/client/wasm.js +0 -1
- package/package.json +1 -1
- package/prisma/schema/evaluationPlan.prisma +4 -5
- package/prisma/schema/interview.prisma +2 -2
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -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
|
@@ -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
|
|
76
|
-
assessment
|
|
77
|
-
assignment_library
|
|
78
|
-
ongoing_evaluations
|
|
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
|