@adaptware/eagles-db 0.4.22 → 0.4.24
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 -6
- package/client/index-browser.js +1 -0
- package/client/index.d.ts +558 -2
- package/client/index.js +8 -6
- package/client/package.json +1 -1
- package/client/schema.prisma +5 -2
- package/client/wasm.js +8 -6
- package/package.json +1 -1
- package/prisma/schema/document.prisma +2 -1
- package/prisma/schema/jobDescription.prisma +3 -1
- package/prisma/schema/migrations/20260522120000_ongoing_evaluation_record_kind/migration.sql +25 -0
- package/prisma/schema/migrations/20260523120000_replace_record_kind_with_is_committed/migration.sql +24 -0
- package/prisma/schema/migrations/20260528120000_drop_job_description_recommendation_config/migration.sql +2 -0
- package/prisma/.DS_Store +0 -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/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -643,7 +643,8 @@ model Document {
|
|
|
643
643
|
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
644
644
|
candidate User? @relation(fields: [candidate_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
645
645
|
resume Resume?
|
|
646
|
-
job_description_source JobDescription?
|
|
646
|
+
job_description_source JobDescription? @relation("SourceDocument")
|
|
647
|
+
job_description_rendered JobDescription? @relation("RenderedJdDocument")
|
|
647
648
|
interview_recording Interview?
|
|
648
649
|
job_application_responses JobApplicationResponse[]
|
|
649
650
|
assignment_solution Assignment? @relation("AssignmentSolutionDocument")
|
|
@@ -1195,6 +1196,8 @@ model JobDescription {
|
|
|
1195
1196
|
/// @deprecated Prefer `source_document_id` + `Document` (type JOB_DESCRIPTION).
|
|
1196
1197
|
uploaded_job_description_path String?
|
|
1197
1198
|
source_document_id String? @unique
|
|
1199
|
+
rendered_jd_document_id String? @unique
|
|
1200
|
+
rendered_jd_document Document? @relation("RenderedJdDocument", fields: [rendered_jd_document_id], references: [id], onDelete: SetNull)
|
|
1198
1201
|
is_plan_published Boolean @default(false)
|
|
1199
1202
|
is_posted Boolean @default(false)
|
|
1200
1203
|
summary Json?
|
|
@@ -1210,7 +1213,7 @@ model JobDescription {
|
|
|
1210
1213
|
job_profile_id String?
|
|
1211
1214
|
job_profile JobProfile? @relation(fields: [job_profile_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
1212
1215
|
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
1213
|
-
source_document Document? @relation(fields: [source_document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
1216
|
+
source_document Document? @relation("SourceDocument", fields: [source_document_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
1214
1217
|
applications Application[]
|
|
1215
1218
|
interviews Interview[]
|
|
1216
1219
|
assignments Assignment[]
|