@adaptware/eagles-db 0.4.38 → 0.4.42
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 +8 -5
- package/client/index-browser.js +3 -0
- package/client/index.d.ts +748 -4
- package/client/index.js +8 -5
- package/client/package.json +1 -1
- package/client/schema.prisma +32 -27
- package/client/wasm.js +8 -5
- package/package.json +1 -1
- package/prisma/.DS_Store +0 -0
- package/prisma/schema/document.prisma +1 -0
- package/prisma/schema/evaluationPlan.prisma +1 -0
- package/prisma/schema/jobDescription.prisma +2 -0
- package/prisma/schema/migrations/20260519120000_interview_deadline/migration.sql +2 -0
- package/prisma/schema/migrations/20260520120000_interview_duration_drop_deadline/migration.sql +30 -0
- package/prisma/schema/migrations/20260602120000_resume_file_hash_drop_unique/migration.sql +2 -0
- package/prisma/schema/migrations/20260603120000_job_application_field_is_mandatory/migration.sql +2 -0
- package/prisma/schema/migrations/20260604120000_job_application_response_updated_by_organisation/migration.sql +2 -0
- package/prisma/schema/migrations/20260605120000_drop_document_application_id/migration.sql +3 -0
- package/prisma/schema/migrations/20260610120000_jaf_template_model/migration.sql +70 -0
- package/prisma/schema/migrations/20260610130000_assignment_document_fks/migration.sql +15 -0
- package/prisma/schema/migrations/20260610140000_jaf_draft_activation/migration.sql +12 -0
- package/prisma/schema/migrations/20260713120000_add_focus_areas_backfill/migration.sql +16 -0
- package/prisma/schema/ongoingEvaluation.prisma +1 -0
- package/client/libquery_engine-darwin.dylib.node +0 -0
- package/prisma/migrations/20260519120000_migrate_shortlisted_to_selected/migration.sql +0 -2
- package/prisma/schema/.DS_Store +0 -0
- package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +0 -84
- package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +0 -26
- package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +0 -13
- package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +0 -2
- package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +0 -87
- package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +0 -38
- package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +0 -40
- package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +0 -232
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -1132,37 +1132,38 @@ model ContactUs {
|
|
|
1132
1132
|
|
|
1133
1133
|
model Document {
|
|
1134
1134
|
// Primary key
|
|
1135
|
-
id
|
|
1135
|
+
id String @id @default(uuid())
|
|
1136
1136
|
// Foreign keys
|
|
1137
|
-
organisation_id
|
|
1138
|
-
candidate_id
|
|
1137
|
+
organisation_id String?
|
|
1138
|
+
candidate_id String?
|
|
1139
1139
|
// Data fields
|
|
1140
|
-
original_file_name
|
|
1141
|
-
stored_file_name
|
|
1142
|
-
file_extension
|
|
1143
|
-
s3_bucket
|
|
1144
|
-
s3_key
|
|
1145
|
-
mime_type
|
|
1146
|
-
file_size
|
|
1147
|
-
file_hash
|
|
1148
|
-
metadata
|
|
1140
|
+
original_file_name String
|
|
1141
|
+
stored_file_name String
|
|
1142
|
+
file_extension String?
|
|
1143
|
+
s3_bucket String?
|
|
1144
|
+
s3_key String?
|
|
1145
|
+
mime_type String?
|
|
1146
|
+
file_size BigInt?
|
|
1147
|
+
file_hash String?
|
|
1148
|
+
metadata Json?
|
|
1149
1149
|
// Audit fields
|
|
1150
|
-
created_at
|
|
1151
|
-
updated_at
|
|
1152
|
-
created_by
|
|
1153
|
-
updated_by
|
|
1154
|
-
is_active
|
|
1150
|
+
created_at DateTime @default(now())
|
|
1151
|
+
updated_at DateTime @updatedAt
|
|
1152
|
+
created_by String
|
|
1153
|
+
updated_by String
|
|
1154
|
+
is_active Boolean @default(true)
|
|
1155
1155
|
// Relations
|
|
1156
|
-
organisation
|
|
1157
|
-
candidate
|
|
1158
|
-
resume
|
|
1159
|
-
resume_rendered_export
|
|
1160
|
-
job_description_source
|
|
1161
|
-
job_description_rendered
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1156
|
+
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
1157
|
+
candidate User? @relation(fields: [candidate_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
1158
|
+
resume Resume? @relation("ResumeSourceDocument")
|
|
1159
|
+
resume_rendered_export Resume? @relation("RenderedResumeExport")
|
|
1160
|
+
job_description_source JobDescription? @relation("SourceDocument")
|
|
1161
|
+
job_description_rendered JobDescription? @relation("RenderedJdDocument")
|
|
1162
|
+
job_description_display_html JobDescription? @relation("DisplayHtmlDocument")
|
|
1163
|
+
interview_recording Interview?
|
|
1164
|
+
job_application_responses JobApplicationResponse[]
|
|
1165
|
+
assignment_solution Assignment? @relation("AssignmentSolutionDocument")
|
|
1166
|
+
assignment_zip Assignment? @relation("AssignmentZipDocument")
|
|
1166
1167
|
|
|
1167
1168
|
// Indexes
|
|
1168
1169
|
@@index([candidate_id])
|
|
@@ -1263,6 +1264,7 @@ model EvaluationPlan {
|
|
|
1263
1264
|
title String
|
|
1264
1265
|
description String?
|
|
1265
1266
|
format EvaluationRoundFormat?
|
|
1267
|
+
focus_areas String[]
|
|
1266
1268
|
topics String[]
|
|
1267
1269
|
assignee String?
|
|
1268
1270
|
elimination_round Boolean @default(false)
|
|
@@ -2056,6 +2058,8 @@ model JobDescription {
|
|
|
2056
2058
|
source_document_id String? @unique
|
|
2057
2059
|
rendered_jd_document_id String? @unique
|
|
2058
2060
|
rendered_jd_document Document? @relation("RenderedJdDocument", fields: [rendered_jd_document_id], references: [id], onDelete: SetNull)
|
|
2061
|
+
display_html_document_id String? @unique
|
|
2062
|
+
display_html_document Document? @relation("DisplayHtmlDocument", fields: [display_html_document_id], references: [id], onDelete: SetNull)
|
|
2059
2063
|
is_plan_published Boolean @default(false)
|
|
2060
2064
|
is_posted Boolean @default(false)
|
|
2061
2065
|
summary Json?
|
|
@@ -2385,6 +2389,7 @@ model OngoingEvaluation {
|
|
|
2385
2389
|
order_no Int?
|
|
2386
2390
|
format EvaluationRoundFormat?
|
|
2387
2391
|
round_purpose String?
|
|
2392
|
+
focus_areas String[]
|
|
2388
2393
|
topics String[]
|
|
2389
2394
|
assignee String?
|
|
2390
2395
|
elimination_round Boolean? @default(false)
|