@adaptware/eagles-db 0.1.66 → 0.1.67
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 +16 -3
- package/client/index-browser.js +13 -0
- package/client/index.d.ts +2092 -213
- package/client/index.js +16 -3
- package/client/package.json +1 -1
- package/client/schema.prisma +32 -17
- package/client/wasm.js +13 -0
- package/package.json +1 -1
- package/prisma/schema/assignment.prisma +1 -0
- package/prisma/schema/interview.prisma +2 -1
- package/prisma/schema/liveAnalysis.prisma +17 -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])
|
|
@@ -901,6 +904,18 @@ model JobProfile {
|
|
|
901
904
|
@@index([created_by])
|
|
902
905
|
}
|
|
903
906
|
|
|
907
|
+
model LiveAnalysis {
|
|
908
|
+
id String @id @default(uuid())
|
|
909
|
+
interview_id String
|
|
910
|
+
analysis Json
|
|
911
|
+
created_at DateTime @default(now())
|
|
912
|
+
updated_at DateTime @updatedAt
|
|
913
|
+
created_by String
|
|
914
|
+
updated_by String
|
|
915
|
+
is_active Boolean @default(true)
|
|
916
|
+
interview Interview @relation(fields: [interview_id], references: [id])
|
|
917
|
+
}
|
|
918
|
+
|
|
904
919
|
model Message {
|
|
905
920
|
id String @id @default(uuid())
|
|
906
921
|
sender_id 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',
|
|
@@ -601,6 +602,17 @@ exports.Prisma.JobProfileScalarFieldEnum = {
|
|
|
601
602
|
is_active: 'is_active'
|
|
602
603
|
};
|
|
603
604
|
|
|
605
|
+
exports.Prisma.LiveAnalysisScalarFieldEnum = {
|
|
606
|
+
id: 'id',
|
|
607
|
+
interview_id: 'interview_id',
|
|
608
|
+
analysis: 'analysis',
|
|
609
|
+
created_at: 'created_at',
|
|
610
|
+
updated_at: 'updated_at',
|
|
611
|
+
created_by: 'created_by',
|
|
612
|
+
updated_by: 'updated_by',
|
|
613
|
+
is_active: 'is_active'
|
|
614
|
+
};
|
|
615
|
+
|
|
604
616
|
exports.Prisma.MessageScalarFieldEnum = {
|
|
605
617
|
id: 'id',
|
|
606
618
|
sender_id: 'sender_id',
|
|
@@ -1096,6 +1108,7 @@ exports.Prisma.ModelName = {
|
|
|
1096
1108
|
JobDescription: 'JobDescription',
|
|
1097
1109
|
JobDescriptionData: 'JobDescriptionData',
|
|
1098
1110
|
JobProfile: 'JobProfile',
|
|
1111
|
+
LiveAnalysis: 'LiveAnalysis',
|
|
1099
1112
|
Message: 'Message',
|
|
1100
1113
|
OngoingEvaluation: 'OngoingEvaluation',
|
|
1101
1114
|
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
|
+
}
|