@adaptware/eagles-db 0.1.66 → 0.1.68
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 +18 -3
- package/client/index-browser.js +15 -0
- package/client/index.d.ts +2259 -215
- package/client/index.js +18 -3
- package/client/package.json +1 -1
- package/client/schema.prisma +40 -17
- package/client/wasm.js +15 -0
- package/package.json +1 -1
- package/prisma/schema/assignment.prisma +1 -0
- package/prisma/schema/interview.prisma +2 -1
- package/prisma/schema/jobDescription.prisma +1 -0
- package/prisma/schema/liveAnalysis.prisma +17 -0
- package/prisma/schema/resume.prisma +1 -0
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -269,6 +269,7 @@ model Assignment {
|
|
|
269
269
|
status AssignmentStatus @default(AVAILABLE)
|
|
270
270
|
cancel_reason String?
|
|
271
271
|
solution_url String?
|
|
272
|
+
zip_url String?
|
|
272
273
|
scheduled_start_time DateTime?
|
|
273
274
|
scheduled_end_time DateTime?
|
|
274
275
|
created_at DateTime @default(now())
|
|
@@ -733,25 +734,27 @@ model Interview {
|
|
|
733
734
|
section_feedback Json[]
|
|
734
735
|
interview_preparation Json?
|
|
735
736
|
final_feedback Json?
|
|
737
|
+
|
|
736
738
|
/// Audit fields
|
|
737
|
-
created_at
|
|
738
|
-
updated_at
|
|
739
|
-
created_by
|
|
740
|
-
updated_by
|
|
741
|
-
is_active
|
|
739
|
+
created_at DateTime @default(now())
|
|
740
|
+
updated_at DateTime @updatedAt
|
|
741
|
+
created_by String
|
|
742
|
+
updated_by String
|
|
743
|
+
is_active Boolean @default(true)
|
|
742
744
|
// Relations
|
|
743
|
-
candidate
|
|
744
|
-
interviewer
|
|
745
|
-
organisation
|
|
746
|
-
job_description
|
|
747
|
-
resume
|
|
748
|
-
evaluation_plan
|
|
749
|
-
application
|
|
750
|
-
ongoing_evaluation
|
|
751
|
-
transcripts
|
|
752
|
-
suggestions
|
|
753
|
-
feedback
|
|
754
|
-
interviewNotes
|
|
745
|
+
candidate User? @relation("CandidateInterviews", fields: [candidate_id], references: [id], onDelete: SetNull)
|
|
746
|
+
interviewer User? @relation("InterviewerInterviews", fields: [interviewer_id], references: [id], onDelete: SetNull)
|
|
747
|
+
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
748
|
+
job_description JobDescription @relation(fields: [job_description_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
749
|
+
resume Resume @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
750
|
+
evaluation_plan EvaluationPlan? @relation(fields: [evaluation_plan_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
751
|
+
application Application? @relation(fields: [application_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
752
|
+
ongoing_evaluation OngoingEvaluation?
|
|
753
|
+
transcripts Transcript[]
|
|
754
|
+
suggestions Suggestion[]
|
|
755
|
+
feedback Feedback[]
|
|
756
|
+
interviewNotes InterviewNotes[]
|
|
757
|
+
liveAnalysis LiveAnalysis[]
|
|
755
758
|
|
|
756
759
|
@@unique([interviewer_id, candidate_id, evaluation_plan_id])
|
|
757
760
|
@@index([candidate_id])
|
|
@@ -795,6 +798,7 @@ model JobDescription {
|
|
|
795
798
|
uploaded_job_description_path String?
|
|
796
799
|
is_plan_published Boolean @default(false)
|
|
797
800
|
is_posted Boolean @default(false)
|
|
801
|
+
summary Json?
|
|
798
802
|
ai_insight Json?
|
|
799
803
|
job_fit_comparison Json?
|
|
800
804
|
// Audit fields
|
|
@@ -901,6 +905,24 @@ model JobProfile {
|
|
|
901
905
|
@@index([created_by])
|
|
902
906
|
}
|
|
903
907
|
|
|
908
|
+
model LiveAnalysis {
|
|
909
|
+
id String @id @default(uuid())
|
|
910
|
+
//foreign keys
|
|
911
|
+
interview_id String
|
|
912
|
+
//data
|
|
913
|
+
analysis Json
|
|
914
|
+
//audit fields
|
|
915
|
+
created_at DateTime @default(now())
|
|
916
|
+
updated_at DateTime @updatedAt
|
|
917
|
+
created_by String
|
|
918
|
+
updated_by String
|
|
919
|
+
is_active Boolean @default(true)
|
|
920
|
+
//relations
|
|
921
|
+
interview Interview @relation(fields: [interview_id], references: [id])
|
|
922
|
+
|
|
923
|
+
@@index([interview_id])
|
|
924
|
+
}
|
|
925
|
+
|
|
904
926
|
model Message {
|
|
905
927
|
id String @id @default(uuid())
|
|
906
928
|
sender_id String
|
|
@@ -1138,6 +1160,7 @@ model Resume {
|
|
|
1138
1160
|
organisation_id String?
|
|
1139
1161
|
job_description_id String?
|
|
1140
1162
|
uploaded_resume_path String?
|
|
1163
|
+
summary Json?
|
|
1141
1164
|
created_at DateTime @default(now())
|
|
1142
1165
|
updated_at DateTime @updatedAt
|
|
1143
1166
|
created_by String
|
package/client/wasm.js
CHANGED
|
@@ -266,6 +266,7 @@ exports.Prisma.AssignmentScalarFieldEnum = {
|
|
|
266
266
|
status: 'status',
|
|
267
267
|
cancel_reason: 'cancel_reason',
|
|
268
268
|
solution_url: 'solution_url',
|
|
269
|
+
zip_url: 'zip_url',
|
|
269
270
|
scheduled_start_time: 'scheduled_start_time',
|
|
270
271
|
scheduled_end_time: 'scheduled_end_time',
|
|
271
272
|
created_at: 'created_at',
|
|
@@ -548,6 +549,7 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
|
|
|
548
549
|
uploaded_job_description_path: 'uploaded_job_description_path',
|
|
549
550
|
is_plan_published: 'is_plan_published',
|
|
550
551
|
is_posted: 'is_posted',
|
|
552
|
+
summary: 'summary',
|
|
551
553
|
ai_insight: 'ai_insight',
|
|
552
554
|
job_fit_comparison: 'job_fit_comparison',
|
|
553
555
|
created_at: 'created_at',
|
|
@@ -601,6 +603,17 @@ exports.Prisma.JobProfileScalarFieldEnum = {
|
|
|
601
603
|
is_active: 'is_active'
|
|
602
604
|
};
|
|
603
605
|
|
|
606
|
+
exports.Prisma.LiveAnalysisScalarFieldEnum = {
|
|
607
|
+
id: 'id',
|
|
608
|
+
interview_id: 'interview_id',
|
|
609
|
+
analysis: 'analysis',
|
|
610
|
+
created_at: 'created_at',
|
|
611
|
+
updated_at: 'updated_at',
|
|
612
|
+
created_by: 'created_by',
|
|
613
|
+
updated_by: 'updated_by',
|
|
614
|
+
is_active: 'is_active'
|
|
615
|
+
};
|
|
616
|
+
|
|
604
617
|
exports.Prisma.MessageScalarFieldEnum = {
|
|
605
618
|
id: 'id',
|
|
606
619
|
sender_id: 'sender_id',
|
|
@@ -721,6 +734,7 @@ exports.Prisma.ResumeScalarFieldEnum = {
|
|
|
721
734
|
organisation_id: 'organisation_id',
|
|
722
735
|
job_description_id: 'job_description_id',
|
|
723
736
|
uploaded_resume_path: 'uploaded_resume_path',
|
|
737
|
+
summary: 'summary',
|
|
724
738
|
created_at: 'created_at',
|
|
725
739
|
updated_at: 'updated_at',
|
|
726
740
|
created_by: 'created_by',
|
|
@@ -1096,6 +1110,7 @@ exports.Prisma.ModelName = {
|
|
|
1096
1110
|
JobDescription: 'JobDescription',
|
|
1097
1111
|
JobDescriptionData: 'JobDescriptionData',
|
|
1098
1112
|
JobProfile: 'JobProfile',
|
|
1113
|
+
LiveAnalysis: 'LiveAnalysis',
|
|
1099
1114
|
Message: 'Message',
|
|
1100
1115
|
OngoingEvaluation: 'OngoingEvaluation',
|
|
1101
1116
|
Organisation: 'Organisation',
|
package/package.json
CHANGED
|
@@ -47,6 +47,7 @@ model Interview {
|
|
|
47
47
|
section_feedback Json[]
|
|
48
48
|
interview_preparation Json?
|
|
49
49
|
final_feedback Json?
|
|
50
|
+
|
|
50
51
|
/// Audit fields
|
|
51
52
|
created_at DateTime @default(now())
|
|
52
53
|
updated_at DateTime @updatedAt
|
|
@@ -66,7 +67,7 @@ model Interview {
|
|
|
66
67
|
suggestions Suggestion[]
|
|
67
68
|
feedback Feedback[]
|
|
68
69
|
interviewNotes InterviewNotes[]
|
|
69
|
-
|
|
70
|
+
liveAnalysis LiveAnalysis[]
|
|
70
71
|
@@unique([interviewer_id, candidate_id, evaluation_plan_id])
|
|
71
72
|
@@index([candidate_id])
|
|
72
73
|
@@index([interviewer_id])
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
model LiveAnalysis {
|
|
2
|
+
id String @id @default(uuid())
|
|
3
|
+
//foreign keys
|
|
4
|
+
interview_id String
|
|
5
|
+
//data
|
|
6
|
+
analysis Json
|
|
7
|
+
//audit fields
|
|
8
|
+
created_at DateTime @default(now())
|
|
9
|
+
updated_at DateTime @updatedAt
|
|
10
|
+
created_by String
|
|
11
|
+
updated_by String
|
|
12
|
+
is_active Boolean @default(true)
|
|
13
|
+
//relations
|
|
14
|
+
interview Interview @relation(fields: [interview_id], references: [id])
|
|
15
|
+
|
|
16
|
+
@@index([interview_id])
|
|
17
|
+
}
|