@adaptware/eagles-db 0.5.29 → 0.5.30
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/README.md +7 -2
- package/client/edge.js +9 -5
- package/client/index-browser.js +6 -2
- package/client/index.d.ts +428 -113
- package/client/index.js +9 -5
- package/client/package.json +1 -1
- package/client/schema.prisma +13 -10
- package/client/wasm.js +9 -5
- package/package.json +1 -1
- package/prisma/schema/jobProfile.prisma +13 -10
- package/prisma/schema/migrations/20260816120000_job_profile_opening_setup/migration.sql +13 -0
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -2573,34 +2573,37 @@ model JobProfile {
|
|
|
2573
2573
|
department_id String?
|
|
2574
2574
|
assigned_to String?
|
|
2575
2575
|
status JobProfileStatus @default(DRAFT)
|
|
2576
|
-
// Basics
|
|
2577
2576
|
title String?
|
|
2578
|
-
|
|
2577
|
+
/// Requisition reason: new / replacement / backfill (not the seniority ladder).
|
|
2578
|
+
role_type String?
|
|
2579
|
+
/// Seniority ladder (JobRoleLevel), e.g. TRAINEE, SENIOR_IC, CXO.
|
|
2580
|
+
job_role_level String?
|
|
2579
2581
|
work_arrangement String? // onsite / hybrid / remote
|
|
2580
2582
|
employment_type String? // full_time / part_time / contract / internship
|
|
2583
|
+
/// ISO 3166-1 alpha-2 (e.g. IN). Currency is derived in the UI from this.
|
|
2584
|
+
country_code String @default("IN")
|
|
2585
|
+
/// CSC state iso2 (unique with country_code).
|
|
2586
|
+
state_code String?
|
|
2587
|
+
/// City display name from CSC (not a code).
|
|
2588
|
+
city String?
|
|
2589
|
+
/// @deprecated Use `city` + `state_code`. Not written by new setup/PATCH paths.
|
|
2581
2590
|
location String?
|
|
2582
2591
|
experience String?
|
|
2583
2592
|
experience_min String?
|
|
2584
2593
|
comp_range String?
|
|
2585
2594
|
budget String?
|
|
2586
|
-
|
|
2587
|
-
country_code String @default("IN")
|
|
2588
|
-
// Requirements (structured from AI conversation)
|
|
2595
|
+
openings Int @default(1)
|
|
2589
2596
|
responsibilities Json?
|
|
2590
2597
|
must_have_skills Json?
|
|
2591
2598
|
nice_to_have_skills Json?
|
|
2592
2599
|
culture Json?
|
|
2593
|
-
// Competencies
|
|
2594
2600
|
competencies Json?
|
|
2595
|
-
// Conversation state
|
|
2596
2601
|
conversation_history Json?
|
|
2597
2602
|
orion_execution_id String?
|
|
2598
|
-
// Audit
|
|
2599
|
-
created_at DateTime @default(now())
|
|
2600
2603
|
created_by String
|
|
2604
|
+
created_at DateTime @default(now())
|
|
2601
2605
|
updated_at DateTime @updatedAt
|
|
2602
2606
|
is_active Boolean @default(true)
|
|
2603
|
-
// Relations
|
|
2604
2607
|
organisation Organisation @relation(fields: [organisation_id], references: [id], onDelete: Cascade, onUpdate: Cascade)
|
|
2605
2608
|
department Department? @relation(fields: [department_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
2606
2609
|
hiring_manager User? @relation("JobProfileHiringManager", fields: [hiring_manager_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|