@adaptware/eagles-db 0.4.42 → 0.4.44
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 +32 -16
- package/client/index-browser.js +27 -11
- package/client/index.d.ts +1028 -228
- package/client/index.js +32 -16
- package/client/libquery_engine-darwin.dylib.node +0 -0
- package/client/package.json +1 -1
- package/client/schema.prisma +30 -13
- package/client/wasm.js +32 -16
- package/package.json +1 -1
- package/prisma/.DS_Store +0 -0
- package/prisma/migrations/20260519120000_migrate_shortlisted_to_selected/migration.sql +2 -0
- package/prisma/schema/.DS_Store +0 -0
- package/prisma/schema/activityEvent.prisma +2 -0
- package/prisma/schema/applicationAnalytics.prisma +4 -0
- package/prisma/schema/applications.prisma +1 -0
- package/prisma/schema/assessment.prisma +1 -0
- package/prisma/schema/assignment.prisma +1 -0
- package/prisma/schema/evaluationPlan.prisma +2 -3
- package/prisma/schema/interview.prisma +2 -0
- package/prisma/schema/jobDescription.prisma +1 -0
- package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +84 -0
- package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +26 -0
- package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +13 -0
- package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +2 -0
- package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +87 -0
- package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +38 -0
- package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +40 -0
- package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +232 -0
- package/prisma/schema/migrations/20260716120000_evaluation_category_four_values/migration.sql +204 -0
- package/prisma/schema/migrations/20260716130000_application_withdrawn_analytics/migration.sql +31 -0
- package/prisma/schema/ongoingEvaluation.prisma +2 -0
- package/prisma/schema/openJobAnalytics.prisma +4 -0
- package/prisma/schema/pipelineDistributionAnalytics.prisma +4 -6
- package/prisma/schema/sourceEffectivenessAnalytics.prisma +2 -0
- package/prisma/schema/migrations/20260519120000_interview_deadline/migration.sql +0 -2
- package/prisma/schema/migrations/20260520120000_interview_duration_drop_deadline/migration.sql +0 -30
- package/prisma/schema/migrations/20260602120000_resume_file_hash_drop_unique/migration.sql +0 -2
- package/prisma/schema/migrations/20260603120000_job_application_field_is_mandatory/migration.sql +0 -2
- package/prisma/schema/migrations/20260604120000_job_application_response_updated_by_organisation/migration.sql +0 -2
- package/prisma/schema/migrations/20260605120000_drop_document_application_id/migration.sql +0 -3
- package/prisma/schema/migrations/20260610120000_jaf_template_model/migration.sql +0 -70
- package/prisma/schema/migrations/20260610130000_assignment_document_fks/migration.sql +0 -15
- package/prisma/schema/migrations/20260610140000_jaf_draft_activation/migration.sql +0 -12
- package/prisma/schema/migrations/20260713120000_add_focus_areas_backfill/migration.sql +0 -16
|
Binary file
|
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -91,6 +91,8 @@ enum ActivityEventType {
|
|
|
91
91
|
APPLICATION_CREATED
|
|
92
92
|
APPLICATION_STARTED
|
|
93
93
|
APPLICATION_REJECTED
|
|
94
|
+
APPLICATION_ON_HOLD
|
|
95
|
+
APPLICATION_WITHDRAWN
|
|
94
96
|
APPLICATION_SHORTLISTED
|
|
95
97
|
|
|
96
98
|
FIT_CHECK_COMPLETED
|
|
@@ -283,6 +285,8 @@ model ApplicationAnalytics {
|
|
|
283
285
|
is_evaluated Boolean @default(false)
|
|
284
286
|
is_rejected Boolean @default(false)
|
|
285
287
|
is_shortlisted Boolean @default(false)
|
|
288
|
+
is_on_hold Boolean @default(false)
|
|
289
|
+
is_withdrawn Boolean @default(false)
|
|
286
290
|
has_committed_evaluation Boolean @default(false)
|
|
287
291
|
|
|
288
292
|
updated_at DateTime @updatedAt
|
|
@@ -328,6 +332,8 @@ model ApplicationAnalyticsDaily {
|
|
|
328
332
|
is_evaluated Boolean @default(false)
|
|
329
333
|
is_rejected Boolean @default(false)
|
|
330
334
|
is_shortlisted Boolean @default(false)
|
|
335
|
+
is_on_hold Boolean @default(false)
|
|
336
|
+
is_withdrawn Boolean @default(false)
|
|
331
337
|
has_committed_evaluation Boolean @default(false)
|
|
332
338
|
|
|
333
339
|
@@unique([snapshot_date, application_id])
|
|
@@ -348,6 +354,7 @@ enum ApplicationStatus {
|
|
|
348
354
|
SHORTLISTED
|
|
349
355
|
REJECTED
|
|
350
356
|
ON_HOLD
|
|
357
|
+
WITHDRAWN
|
|
351
358
|
|
|
352
359
|
@@schema("public")
|
|
353
360
|
}
|
|
@@ -443,6 +450,7 @@ model Assessment {
|
|
|
443
450
|
actual_end_time DateTime?
|
|
444
451
|
/// Attempt Expires At
|
|
445
452
|
attempt_expires_at DateTime?
|
|
453
|
+
evaluated_at DateTime?
|
|
446
454
|
/// Audit fields
|
|
447
455
|
created_at DateTime @default(now())
|
|
448
456
|
updated_at DateTime @updatedAt
|
|
@@ -657,6 +665,7 @@ model Assignment {
|
|
|
657
665
|
zip_document_id String? @unique
|
|
658
666
|
scheduled_start_time DateTime?
|
|
659
667
|
scheduled_end_time DateTime?
|
|
668
|
+
evaluated_at DateTime?
|
|
660
669
|
created_at DateTime @default(now())
|
|
661
670
|
updated_at DateTime @updatedAt
|
|
662
671
|
created_by String
|
|
@@ -1182,9 +1191,8 @@ enum RoundType {
|
|
|
1182
1191
|
}
|
|
1183
1192
|
|
|
1184
1193
|
enum EvaluationCategory {
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
TECHNICAL_INTERVIEW
|
|
1194
|
+
SCREENING
|
|
1195
|
+
BUSINESS_SCREENING
|
|
1188
1196
|
BUSINESS_ROUND
|
|
1189
1197
|
BEHAVIORAL_ROUND
|
|
1190
1198
|
|
|
@@ -1594,6 +1602,8 @@ model Interview {
|
|
|
1594
1602
|
ai_feedback_generated_at DateTime?
|
|
1595
1603
|
/// When recruiter human feedback was last saved (draft or final).
|
|
1596
1604
|
human_feedback_updated_at DateTime?
|
|
1605
|
+
/// When final human feedback was submitted.
|
|
1606
|
+
evaluated_at DateTime?
|
|
1597
1607
|
|
|
1598
1608
|
/// Self-scheduling
|
|
1599
1609
|
reschedule_count Int @default(0)
|
|
@@ -2067,6 +2077,7 @@ model JobDescription {
|
|
|
2067
2077
|
job_fit_comparison Json?
|
|
2068
2078
|
target_closing_date DateTime?
|
|
2069
2079
|
closing_date DateTime?
|
|
2080
|
+
opened_at DateTime?
|
|
2070
2081
|
|
|
2071
2082
|
job_number Int?
|
|
2072
2083
|
job_code String? @unique
|
|
@@ -2382,6 +2393,8 @@ model OngoingEvaluation {
|
|
|
2382
2393
|
round_status OngoingEvaluationRoundStatus? @default(NOT_SCHEDULED)
|
|
2383
2394
|
comments String? @default("")
|
|
2384
2395
|
completed_at DateTime?
|
|
2396
|
+
assigned_at DateTime?
|
|
2397
|
+
result_at DateTime?
|
|
2385
2398
|
is_committed Boolean?
|
|
2386
2399
|
/// Evaluation Plan Fields Filled After Round Started
|
|
2387
2400
|
title String?
|
|
@@ -2452,6 +2465,8 @@ model OpenJobAnalytics {
|
|
|
2452
2465
|
ongoing_count Int @default(0)
|
|
2453
2466
|
selected_count Int @default(0)
|
|
2454
2467
|
rejected_count Int @default(0)
|
|
2468
|
+
on_hold_count Int @default(0)
|
|
2469
|
+
withdrawn_count Int @default(0)
|
|
2455
2470
|
|
|
2456
2471
|
updated_at DateTime @updatedAt
|
|
2457
2472
|
|
|
@@ -2494,6 +2509,8 @@ model OpenJobAnalyticsDaily {
|
|
|
2494
2509
|
ongoing_count Int @default(0)
|
|
2495
2510
|
selected_count Int @default(0)
|
|
2496
2511
|
rejected_count Int @default(0)
|
|
2512
|
+
on_hold_count Int @default(0)
|
|
2513
|
+
withdrawn_count Int @default(0)
|
|
2497
2514
|
|
|
2498
2515
|
@@unique([snapshot_date, job_description_id])
|
|
2499
2516
|
@@index([snapshot_date], map: "ojad_snapshot_date_idx")
|
|
@@ -2615,11 +2632,10 @@ model PipelineDistributionAnalytics {
|
|
|
2615
2632
|
filtered_in_count Int @default(0)
|
|
2616
2633
|
min_fit_score Float?
|
|
2617
2634
|
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
behavioral_round_count Int @default(0)
|
|
2635
|
+
screening_count Int @default(0)
|
|
2636
|
+
business_screening_count Int @default(0)
|
|
2637
|
+
business_round_count Int @default(0)
|
|
2638
|
+
behavioral_round_count Int @default(0)
|
|
2623
2639
|
|
|
2624
2640
|
shortlisted_count Int @default(0)
|
|
2625
2641
|
|
|
@@ -2648,11 +2664,10 @@ model PipelineDistributionAnalyticsDaily {
|
|
|
2648
2664
|
filtered_in_count Int @default(0)
|
|
2649
2665
|
min_fit_score Float?
|
|
2650
2666
|
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
behavioral_round_count Int @default(0)
|
|
2667
|
+
screening_count Int @default(0)
|
|
2668
|
+
business_screening_count Int @default(0)
|
|
2669
|
+
business_round_count Int @default(0)
|
|
2670
|
+
behavioral_round_count Int @default(0)
|
|
2656
2671
|
|
|
2657
2672
|
shortlisted_count Int @default(0)
|
|
2658
2673
|
|
|
@@ -3083,6 +3098,7 @@ model SourceEffectivenessAnalytics {
|
|
|
3083
3098
|
screened_count Int @default(0)
|
|
3084
3099
|
evaluated_count Int @default(0)
|
|
3085
3100
|
rejected_count Int @default(0)
|
|
3101
|
+
on_hold_count Int @default(0)
|
|
3086
3102
|
shortlisted_count Int @default(0)
|
|
3087
3103
|
offered_count Int @default(0)
|
|
3088
3104
|
offer_accepted_count Int @default(0)
|
|
@@ -3124,6 +3140,7 @@ model SourceEffectivenessAnalyticsDaily {
|
|
|
3124
3140
|
screened_count Int @default(0)
|
|
3125
3141
|
evaluated_count Int @default(0)
|
|
3126
3142
|
rejected_count Int @default(0)
|
|
3143
|
+
on_hold_count Int @default(0)
|
|
3127
3144
|
shortlisted_count Int @default(0)
|
|
3128
3145
|
offered_count Int @default(0)
|
|
3129
3146
|
offer_accepted_count Int @default(0)
|