@adaptware/eagles-db 0.1.48 → 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 +11 -188
- package/client/index-browser.js +4 -181
- package/client/index.d.ts +33952 -51713
- package/client/index.js +11 -188
- package/client/package.json +1 -1
- package/client/schema.prisma +71 -295
- package/client/wasm.js +4 -181
- package/package.json +1 -1
- package/prisma/.DS_Store +0 -0
- package/prisma/schema/assessment.prisma +0 -2
- package/prisma/schema/evaluationPlan.prisma +4 -7
- package/prisma/schema/feedback.prisma +9 -3
- package/prisma/schema/interview.prisma +37 -46
- package/prisma/schema/jobDescription.prisma +0 -1
- package/prisma/schema/organisation.prisma +2 -6
- package/prisma/schema/transcript.prisma +8 -9
- package/prisma/schema/user.prisma +0 -1
- package/prisma/schema/integration.prisma +0 -92
- package/prisma/schema/intermediateFeedback.prisma +0 -18
- package/prisma/schema/interviewLibrary.prisma +0 -31
- package/prisma/schema/overallFeedback.prisma +0 -34
- package/prisma/schema/panelist.prisma +0 -24
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
enum FeedbackType {
|
|
2
|
-
HUMAN
|
|
3
|
-
AI
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
enum OverallRecommendation {
|
|
7
|
-
StrongHire
|
|
8
|
-
Hire
|
|
9
|
-
LeaningHire
|
|
10
|
-
NoHire
|
|
11
|
-
StrongNoHire
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
model OverallFeedback {
|
|
15
|
-
id String @id @default(uuid())
|
|
16
|
-
interview_id String
|
|
17
|
-
interviewer_id String? // 👈 optional field
|
|
18
|
-
feedback_type FeedbackType
|
|
19
|
-
overall_score Float
|
|
20
|
-
overall_recommendation OverallRecommendation
|
|
21
|
-
overall_feedback Json
|
|
22
|
-
created_at DateTime @default(now())
|
|
23
|
-
updated_at DateTime @updatedAt
|
|
24
|
-
created_by String
|
|
25
|
-
updated_by String
|
|
26
|
-
is_active Boolean @default(true)
|
|
27
|
-
// Relations
|
|
28
|
-
interview Interview @relation(fields: [interview_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
29
|
-
interviewer Panelist? @relation(fields: [interviewer_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
30
|
-
intermediateFeedbacks IntermediateFeedback[] // 👈 one-to-many relation added here
|
|
31
|
-
|
|
32
|
-
@@unique([interview_id, interviewer_id]) // 👈 updated uniqueness logic
|
|
33
|
-
@@index([interview_id])
|
|
34
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
model Panelist {
|
|
2
|
-
id String @id @default(uuid())
|
|
3
|
-
name String
|
|
4
|
-
designation String
|
|
5
|
-
experience String // e.g. "10+", keeping as String for flexibility
|
|
6
|
-
expertise String // e.g. "Product Strategy, Figma..."
|
|
7
|
-
suited_interview String // e.g. "Consulting, Customer understanding..."
|
|
8
|
-
industry String // e.g. "Healthcare, Fintech"
|
|
9
|
-
special_areas String? // Optional field
|
|
10
|
-
organisation_id String
|
|
11
|
-
user_id String @unique
|
|
12
|
-
|
|
13
|
-
user User @relation(fields: [user_id], references: [id])
|
|
14
|
-
organisation Organisation @relation(fields: [organisation_id], references: [id])
|
|
15
|
-
evaluationPlans EvaluationPlan[]
|
|
16
|
-
overallFeedbacks OverallFeedback[]
|
|
17
|
-
created_at DateTime @default(now())
|
|
18
|
-
updated_at DateTime @updatedAt
|
|
19
|
-
created_by String
|
|
20
|
-
updated_by String
|
|
21
|
-
is_active Boolean @default(true)
|
|
22
|
-
|
|
23
|
-
assessments Assessment[]
|
|
24
|
-
}
|