@adaptware/eagles-db 0.1.85 → 0.1.86
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 +17 -44
- package/client/index-browser.js +12 -39
- package/client/index.d.ts +902 -1192
- package/client/index.js +17 -44
- package/client/package.json +1 -1
- package/client/schema.prisma +42 -66
- package/client/wasm.js +12 -39
- package/package.json +1 -1
- package/prisma/.DS_Store +0 -0
- package/prisma/migrations/20260415120000_remove_job_profile_current_phase/migration.sql +2 -0
- package/prisma/migrations/20260422120000_add_integration_provider_zoom/migration.sql +2 -0
- package/prisma/migrations/20260422140000_add_zoom_meeting_tables/migration.sql +57 -0
- package/prisma/migrations/20260422180000_add_zoom_webhook_event/migration.sql +18 -0
- package/prisma/migrations/20260423140000_add_interview_platform/migration.sql +6 -0
- package/prisma/migrations/20260423150000_remove_interview_zoom_topic/migration.sql +2 -0
- package/prisma/migrations/20260423160000_zoom_meeting_uuid/migration.sql +4 -0
- package/prisma/migrations/20260424120000_auth_module_user_provider_unique/migration.sql +5 -0
- package/prisma/migrations/20260424130000_zoom_meeting_zoom_host_user_id/migration.sql +6 -0
- package/prisma/migrations/20260425100000_zoom_participant_user_enum/migration.sql +22 -0
- package/prisma/migrations/20260425110000_zoom_participant_zoom_id_required/migration.sql +13 -0
- package/prisma/migrations/20260425120000_zoom_participant_id_nullable/migration.sql +4 -0
- package/prisma/migrations/20260429140000_drop_evaluation_plan_job_order_unique/migration.sql +5 -0
- package/prisma/migrations/20260429180000_eval_plan_timeline_optional_ongoing_duration/migration.sql +15 -0
- package/prisma/migrations/20260430120000_drop_assessment_library_metadata_fields/migration.sql +8 -0
- package/prisma/migrations/20260430140000_drop_question_question_type/migration.sql +5 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema/assessmentLibrary.prisma +15 -26
- package/prisma/schema/evaluationPlan.prisma +1 -2
- package/prisma/schema/ongoingEvaluation.prisma +26 -30
- package/prisma/schema/questions.prisma +0 -8
- package/client/libquery_engine-darwin.dylib.node +0 -0
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
enum OngoingEvaluationStatus {
|
|
2
|
-
LOCKED
|
|
3
|
-
ACTION_REQUIRED
|
|
4
|
-
IN_PROGRESS
|
|
5
|
-
EVALUATED
|
|
6
|
-
CLEARED
|
|
7
|
-
NOT_CLEARED
|
|
8
|
-
SKIPPED
|
|
9
|
-
}
|
|
10
|
-
|
|
11
1
|
enum OngoingEvaluationState {
|
|
12
2
|
NOT_STARTED
|
|
13
3
|
IN_PROGRESS
|
|
@@ -26,37 +16,24 @@ enum OngoingEvaluationRoundStatus {
|
|
|
26
16
|
}
|
|
27
17
|
|
|
28
18
|
model OngoingEvaluation {
|
|
19
|
+
// Primary Key
|
|
29
20
|
id String @id @default(uuid())
|
|
21
|
+
// Foreign Keys
|
|
22
|
+
organisation_id String
|
|
30
23
|
application_id String
|
|
31
24
|
candidate_id String
|
|
32
25
|
resume_id String
|
|
33
|
-
organisation_id String
|
|
34
26
|
job_description_id String
|
|
35
27
|
evaluation_plan_id String
|
|
36
28
|
interview_id String? @unique
|
|
37
29
|
assignment_id String? @unique
|
|
38
30
|
assessment_id String? @unique
|
|
39
|
-
|
|
31
|
+
// Data Fields
|
|
40
32
|
state OngoingEvaluationState? @default(NOT_STARTED)
|
|
41
33
|
round_status OngoingEvaluationRoundStatus? @default(NOT_SCHEDULED)
|
|
42
34
|
comments String? @default("")
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
application Application @relation(fields: [application_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
46
|
-
candidate User? @relation(fields: [candidate_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
47
|
-
resume Resume? @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
48
|
-
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
49
|
-
evaluation_plan EvaluationPlan @relation(fields: [evaluation_plan_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
50
|
-
interview Interview? @relation(fields: [interview_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
51
|
-
assignment Assignment?
|
|
52
|
-
assessment Assessment? @relation(fields: [assessment_id], references: [id], onDelete: SetNull)
|
|
53
|
-
created_at DateTime @default(now())
|
|
54
|
-
updated_at DateTime @updatedAt
|
|
55
|
-
created_by String
|
|
56
|
-
updated_by String
|
|
57
|
-
is_active Boolean @default(true)
|
|
58
|
-
is_current Boolean @default(false)
|
|
59
|
-
// Evaluation Plan Details Will be stored only when candidate starts for the evaluation round
|
|
35
|
+
completed_at DateTime?
|
|
36
|
+
/// Evaluation Plan Fields Filled After Round Started
|
|
60
37
|
title String?
|
|
61
38
|
description String?
|
|
62
39
|
order_no Int?
|
|
@@ -66,8 +43,27 @@ model OngoingEvaluation {
|
|
|
66
43
|
elimination_round Boolean? @default(false)
|
|
67
44
|
evaluation_type EvaluationType?
|
|
68
45
|
type_of_round RoundType?
|
|
69
|
-
|
|
46
|
+
duration Int?
|
|
47
|
+
deadline Int?
|
|
48
|
+
duration_unit DurationUnit?
|
|
70
49
|
details Json?
|
|
50
|
+
// Audit Fields
|
|
51
|
+
created_at DateTime @default(now())
|
|
52
|
+
updated_at DateTime @updatedAt
|
|
53
|
+
created_by String
|
|
54
|
+
updated_by String
|
|
55
|
+
is_active Boolean @default(true)
|
|
56
|
+
is_current Boolean @default(false)
|
|
57
|
+
// Relations
|
|
58
|
+
jobDescription JobDescription? @relation(fields: [job_description_id], references: [id], onDelete: SetNull)
|
|
59
|
+
application Application @relation(fields: [application_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
60
|
+
candidate User? @relation(fields: [candidate_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
61
|
+
resume Resume? @relation(fields: [resume_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
62
|
+
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
63
|
+
evaluation_plan EvaluationPlan @relation(fields: [evaluation_plan_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
64
|
+
interview Interview? @relation(fields: [interview_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
65
|
+
assignment Assignment?
|
|
66
|
+
assessment Assessment? @relation(fields: [assessment_id], references: [id], onDelete: SetNull)
|
|
71
67
|
|
|
72
68
|
@@unique([application_id, evaluation_plan_id])
|
|
73
69
|
@@index([application_id])
|
|
@@ -4,20 +4,12 @@ enum Difficulty {
|
|
|
4
4
|
HARD // challenging questions
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
enum QuestionType {
|
|
8
|
-
MCQ
|
|
9
|
-
TRUE_FALSE
|
|
10
|
-
THEORY
|
|
11
|
-
CODING
|
|
12
|
-
}
|
|
13
|
-
|
|
14
7
|
model Question {
|
|
15
8
|
id String @id @default(uuid())
|
|
16
9
|
assessment_library_id String?
|
|
17
10
|
evaluation_plan_id String?
|
|
18
11
|
candidate_id String?
|
|
19
12
|
skill String?
|
|
20
|
-
question_type QuestionType?
|
|
21
13
|
question String
|
|
22
14
|
answer String
|
|
23
15
|
options String[] // For MCQ's
|
|
Binary file
|