@adaptware/eagles-db 0.5.63 → 0.5.65
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 -7
- package/client/index-browser.js +0 -4
- package/client/index.d.ts +61 -1032
- package/client/index.js +3 -7
- package/client/package.json +1 -1
- package/client/schema.prisma +4 -14
- package/client/wasm.js +3 -7
- package/package.json +1 -1
- package/prisma/schema/migrations/20260918153000_add_is_proctored_fields/migration.sql +0 -3
- package/prisma/schema/migrations/20260925200000_proctoring_drop_stitch_cols_and_unique/migration.sql +37 -0
- package/prisma/schema/migrations/20260925210000_proctoring_drop_session_candidate_id/migration.sql +3 -0
- package/prisma/schema/proctoring.prisma +4 -11
- package/prisma/schema/user.prisma +0 -3
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -3760,14 +3760,9 @@ model ProctoringSession {
|
|
|
3760
3760
|
interviewId String @unique @map("interview_id")
|
|
3761
3761
|
interview Interview @relation(fields: [interviewId], references: [id], onDelete: Cascade)
|
|
3762
3762
|
|
|
3763
|
-
candidateId String @map("candidate_id")
|
|
3764
|
-
candidate User @relation(fields: [candidateId], references: [id], onDelete: Cascade)
|
|
3765
|
-
|
|
3766
3763
|
// Proctoring Lifecycle & Media
|
|
3767
3764
|
status ProctoringSessionStatus @default(NOT_STARTED) @map("status")
|
|
3768
3765
|
calibrationFeatures Json? @map("calibration_features")
|
|
3769
|
-
fullVideoKey String? @map("full_video_key")
|
|
3770
|
-
fullVideoUrl String? @map("full_video_url")
|
|
3771
3766
|
chunkCount Int @default(0) @map("chunk_count")
|
|
3772
3767
|
completedChunks Int @default(0) @map("completed_chunks")
|
|
3773
3768
|
|
|
@@ -3775,9 +3770,9 @@ model ProctoringSession {
|
|
|
3775
3770
|
overallRisk RiskLevel @default(LOW) @map("overall_risk")
|
|
3776
3771
|
integrityScore Float @default(100.0) @map("integrity_score")
|
|
3777
3772
|
|
|
3778
|
-
totalDurationSec Float
|
|
3779
|
-
faceDetectedPct Float @
|
|
3780
|
-
onScreenGazePct Float @
|
|
3773
|
+
totalDurationSec Float @default(0.0) @map("total_duration_sec")
|
|
3774
|
+
faceDetectedPct Float? @map("face_detected_pct")
|
|
3775
|
+
onScreenGazePct Float? @map("on_screen_gaze_pct")
|
|
3781
3776
|
|
|
3782
3777
|
// Event Counters
|
|
3783
3778
|
totalGazeEvents Int @default(0) @map("total_gaze_events")
|
|
@@ -3791,7 +3786,6 @@ model ProctoringSession {
|
|
|
3791
3786
|
analyses ProctoringAnalysis[]
|
|
3792
3787
|
events ProctoringEvent[]
|
|
3793
3788
|
|
|
3794
|
-
@@index([candidateId])
|
|
3795
3789
|
@@map("proctoring_sessions")
|
|
3796
3790
|
@@schema("public")
|
|
3797
3791
|
}
|
|
@@ -3804,7 +3798,6 @@ model ProctoringAnalysis {
|
|
|
3804
3798
|
status AnalysisStatus @default(QUEUED)
|
|
3805
3799
|
|
|
3806
3800
|
chunkIndex Int @default(0) @map("chunk_index")
|
|
3807
|
-
totalChunks Int @default(1) @map("total_chunks")
|
|
3808
3801
|
startTimeSec Float @default(0.0) @map("start_time_sec")
|
|
3809
3802
|
endTimeSec Float @default(0.0) @map("end_time_sec")
|
|
3810
3803
|
|
|
@@ -3815,7 +3808,7 @@ model ProctoringAnalysis {
|
|
|
3815
3808
|
createdAt DateTime @default(now()) @map("created_at")
|
|
3816
3809
|
updatedAt DateTime @updatedAt @map("updated_at")
|
|
3817
3810
|
|
|
3818
|
-
@@
|
|
3811
|
+
@@unique([sessionId, chunkIndex])
|
|
3819
3812
|
@@map("proctoring_analyses")
|
|
3820
3813
|
@@schema("public")
|
|
3821
3814
|
}
|
|
@@ -4622,9 +4615,6 @@ model User {
|
|
|
4622
4615
|
notes Notes[]
|
|
4623
4616
|
recruiter_applications Application[] @relation("ApplicationRecruiter")
|
|
4624
4617
|
|
|
4625
|
-
// user proctoring
|
|
4626
|
-
proctoringSessions ProctoringSession[]
|
|
4627
|
-
|
|
4628
4618
|
name String?
|
|
4629
4619
|
phone String?
|
|
4630
4620
|
/// Contact email for interviews, assessments, and resume export. Login stays on `email`.
|