@adaptware/eagles-db 0.1.67 → 0.1.68

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-5297fc472d2b9310debb93b931d8e67f63913d7d036c79b4a032d9bd6e5efdf5",
2
+ "name": "prisma-client-27be9a494fcb3b0825b03cd37c78878e371af5fe2402438c44d4795654311f5b",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -798,6 +798,7 @@ model JobDescription {
798
798
  uploaded_job_description_path String?
799
799
  is_plan_published Boolean @default(false)
800
800
  is_posted Boolean @default(false)
801
+ summary Json?
801
802
  ai_insight Json?
802
803
  job_fit_comparison Json?
803
804
  // Audit fields
@@ -906,14 +907,20 @@ model JobProfile {
906
907
 
907
908
  model LiveAnalysis {
908
909
  id String @id @default(uuid())
910
+ //foreign keys
909
911
  interview_id String
912
+ //data
910
913
  analysis Json
914
+ //audit fields
911
915
  created_at DateTime @default(now())
912
916
  updated_at DateTime @updatedAt
913
917
  created_by String
914
918
  updated_by String
915
919
  is_active Boolean @default(true)
920
+ //relations
916
921
  interview Interview @relation(fields: [interview_id], references: [id])
922
+
923
+ @@index([interview_id])
917
924
  }
918
925
 
919
926
  model Message {
@@ -1153,6 +1160,7 @@ model Resume {
1153
1160
  organisation_id String?
1154
1161
  job_description_id String?
1155
1162
  uploaded_resume_path String?
1163
+ summary Json?
1156
1164
  created_at DateTime @default(now())
1157
1165
  updated_at DateTime @updatedAt
1158
1166
  created_by String
package/client/wasm.js CHANGED
@@ -549,6 +549,7 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
549
549
  uploaded_job_description_path: 'uploaded_job_description_path',
550
550
  is_plan_published: 'is_plan_published',
551
551
  is_posted: 'is_posted',
552
+ summary: 'summary',
552
553
  ai_insight: 'ai_insight',
553
554
  job_fit_comparison: 'job_fit_comparison',
554
555
  created_at: 'created_at',
@@ -733,6 +734,7 @@ exports.Prisma.ResumeScalarFieldEnum = {
733
734
  organisation_id: 'organisation_id',
734
735
  job_description_id: 'job_description_id',
735
736
  uploaded_resume_path: 'uploaded_resume_path',
737
+ summary: 'summary',
736
738
  created_at: 'created_at',
737
739
  updated_at: 'updated_at',
738
740
  created_by: 'created_by',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,6 +16,7 @@ model JobDescription {
16
16
  uploaded_job_description_path String?
17
17
  is_plan_published Boolean @default(false)
18
18
  is_posted Boolean @default(false)
19
+ summary Json?
19
20
  ai_insight Json?
20
21
  job_fit_comparison Json?
21
22
  // Audit fields
@@ -4,6 +4,7 @@ model Resume {
4
4
  organisation_id String?
5
5
  job_description_id String?
6
6
  uploaded_resume_path String?
7
+ summary Json?
7
8
  created_at DateTime @default(now())
8
9
  updated_at DateTime @updatedAt
9
10
  created_by String