@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.
Files changed (23) hide show
  1. package/client/edge.js +8 -6
  2. package/client/index-browser.js +1 -0
  3. package/client/index.d.ts +558 -2
  4. package/client/index.js +8 -6
  5. package/client/package.json +1 -1
  6. package/client/schema.prisma +5 -2
  7. package/client/wasm.js +8 -6
  8. package/package.json +1 -1
  9. package/prisma/schema/document.prisma +2 -1
  10. package/prisma/schema/jobDescription.prisma +3 -1
  11. package/prisma/schema/migrations/20260522120000_ongoing_evaluation_record_kind/migration.sql +25 -0
  12. package/prisma/schema/migrations/20260523120000_replace_record_kind_with_is_committed/migration.sql +24 -0
  13. package/prisma/schema/migrations/20260528120000_drop_job_description_recommendation_config/migration.sql +2 -0
  14. package/prisma/.DS_Store +0 -0
  15. package/prisma/schema/migrations/20260519120000_interview_deadline/migration.sql +0 -2
  16. package/prisma/schema/migrations/20260520120000_interview_duration_drop_deadline/migration.sql +0 -30
  17. package/prisma/schema/migrations/20260602120000_resume_file_hash_drop_unique/migration.sql +0 -2
  18. package/prisma/schema/migrations/20260603120000_job_application_field_is_mandatory/migration.sql +0 -2
  19. package/prisma/schema/migrations/20260604120000_job_application_response_updated_by_organisation/migration.sql +0 -2
  20. package/prisma/schema/migrations/20260605120000_drop_document_application_id/migration.sql +0 -3
  21. package/prisma/schema/migrations/20260610120000_jaf_template_model/migration.sql +0 -70
  22. package/prisma/schema/migrations/20260610130000_assignment_document_fks/migration.sql +0 -15
  23. package/prisma/schema/migrations/20260610140000_jaf_draft_activation/migration.sql +0 -12
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-21eaf0bc9a1622e21269ed75e52a7bd080767d8d3a6fa5ebe712d4469a450f69",
2
+ "name": "prisma-client-22f354adc2ceed9301fe854b1c2e9a11bc98b2c530f19d336e326955a2524b21",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "default.js",
@@ -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[]