@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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-0db0ff2e3bea67e6412e2123786c535e3fe2556ec89d6cc0b2857b2946437f96",
2
+ "name": "prisma-client-7a0bff641aa99f4ac157d936332ef861e95d9b3896928640a3ca4c145117aae7",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "default.js",
@@ -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 @default(0.0) @map("total_duration_sec")
3779
- faceDetectedPct Float @default(100.0) @map("face_detected_pct")
3780
- onScreenGazePct Float @default(100.0) @map("on_screen_gaze_pct")
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
- @@index([sessionId, chunkIndex])
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`.