@adaptware/eagles-db 0.1.34 → 0.1.36

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-c80224cf26d7fd974417ec266d74d78084d8eb98a28ac517e2d16a1e7eea47e8",
2
+ "name": "prisma-client-a3d9b695d947951ed70e866b5fe5fe9438d58ee410e3c62d37e70587ea2ee8f9",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -470,7 +470,6 @@ model FitCheck {
470
470
 
471
471
  /// Old Fields will be deprecated soon
472
472
  skills_match String[]
473
- skills_score Float?
474
473
  responsibilities_match String[]
475
474
  responsibilities_score Float?
476
475
  experience_match String[]
@@ -479,19 +478,20 @@ model FitCheck {
479
478
  organisation_value_match String[]
480
479
  qualifications_match String[]
481
480
  qualifications_score Float?
482
- overall_analysis String[]
483
481
  fit Json[]
484
482
  fit_check_status FitCheckStatus?
485
483
  // Fields to be used now
486
484
  skills_analysis Json?
487
- experience_analysis Json?
485
+ overall_analysis Json?
486
+ skills_score Float?
488
487
  overall_score Float
489
- // New Fields needs to be changed now
490
488
  short_match_analysis Json[]
489
+ fit_comparison Json?
490
+ recommendation Json?
491
+ // New Fields needs to be changed now
491
492
  candidate_analysis Json[]
492
493
  technical_analysis Json[]
493
494
  competency_analysis Json[]
494
- recommendation Json?
495
495
 
496
496
  /// Audit fields
497
497
  created_by String
@@ -681,11 +681,10 @@ model JobDescription {
681
681
  screeningQuestions String[]
682
682
  recommendedQuestions Json[]
683
683
  uploaded_job_description_path String?
684
- is_plan_locked Boolean? @default(false)
685
684
  is_plan_published Boolean @default(false)
686
685
  is_posted Boolean @default(false)
687
686
  ai_insight Json?
688
- fit_comparison Json?
687
+ job_fit_comparison Json?
689
688
  // Audit fields
690
689
  created_at DateTime @default(now())
691
690
  updated_at DateTime @updatedAt
@@ -1025,6 +1024,7 @@ model Resume {
1025
1024
  created_by String
1026
1025
  updated_by String
1027
1026
  is_active Boolean @default(true)
1027
+ name String?
1028
1028
  user User? @relation(fields: [user_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
1029
1029
  organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
1030
1030
  job_description JobDescription? @relation(fields: [job_description_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
@@ -1079,7 +1079,7 @@ model Suggestion {
1079
1079
  interview_id String?
1080
1080
  transcript_id String? @unique // ✅ ensures one-to-one
1081
1081
  organisation_id String
1082
- suggestion String
1082
+ suggestion String?
1083
1083
  question String?
1084
1084
  created_at DateTime @default(now())
1085
1085
  updated_at DateTime @updatedAt
package/client/wasm.js CHANGED
@@ -367,7 +367,6 @@ exports.Prisma.FitCheckScalarFieldEnum = {
367
367
  resume_id: 'resume_id',
368
368
  job_description_id: 'job_description_id',
369
369
  skills_match: 'skills_match',
370
- skills_score: 'skills_score',
371
370
  responsibilities_match: 'responsibilities_match',
372
371
  responsibilities_score: 'responsibilities_score',
373
372
  experience_match: 'experience_match',
@@ -376,17 +375,18 @@ exports.Prisma.FitCheckScalarFieldEnum = {
376
375
  organisation_value_match: 'organisation_value_match',
377
376
  qualifications_match: 'qualifications_match',
378
377
  qualifications_score: 'qualifications_score',
379
- overall_analysis: 'overall_analysis',
380
378
  fit: 'fit',
381
379
  fit_check_status: 'fit_check_status',
382
380
  skills_analysis: 'skills_analysis',
383
- experience_analysis: 'experience_analysis',
381
+ overall_analysis: 'overall_analysis',
382
+ skills_score: 'skills_score',
384
383
  overall_score: 'overall_score',
385
384
  short_match_analysis: 'short_match_analysis',
385
+ fit_comparison: 'fit_comparison',
386
+ recommendation: 'recommendation',
386
387
  candidate_analysis: 'candidate_analysis',
387
388
  technical_analysis: 'technical_analysis',
388
389
  competency_analysis: 'competency_analysis',
389
- recommendation: 'recommendation',
390
390
  created_by: 'created_by',
391
391
  updated_by: 'updated_by',
392
392
  is_active: 'is_active',
@@ -485,11 +485,10 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
485
485
  screeningQuestions: 'screeningQuestions',
486
486
  recommendedQuestions: 'recommendedQuestions',
487
487
  uploaded_job_description_path: 'uploaded_job_description_path',
488
- is_plan_locked: 'is_plan_locked',
489
488
  is_plan_published: 'is_plan_published',
490
489
  is_posted: 'is_posted',
491
490
  ai_insight: 'ai_insight',
492
- fit_comparison: 'fit_comparison',
491
+ job_fit_comparison: 'job_fit_comparison',
493
492
  created_at: 'created_at',
494
493
  updated_at: 'updated_at',
495
494
  created_by: 'created_by',
@@ -666,6 +665,7 @@ exports.Prisma.ResumeScalarFieldEnum = {
666
665
  created_by: 'created_by',
667
666
  updated_by: 'updated_by',
668
667
  is_active: 'is_active',
668
+ name: 'name',
669
669
  yearsOfExperience: 'yearsOfExperience'
670
670
  };
671
671
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.1.34",
3
+ "version": "0.1.36",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,7 +14,6 @@ model FitCheck {
14
14
 
15
15
  /// Old Fields will be deprecated soon
16
16
  skills_match String[]
17
- skills_score Float?
18
17
  responsibilities_match String[]
19
18
  responsibilities_score Float?
20
19
  experience_match String[]
@@ -23,19 +22,20 @@ model FitCheck {
23
22
  organisation_value_match String[]
24
23
  qualifications_match String[]
25
24
  qualifications_score Float?
26
- overall_analysis String[]
27
25
  fit Json[]
28
26
  fit_check_status FitCheckStatus?
29
27
  // Fields to be used now
30
28
  skills_analysis Json?
31
- experience_analysis Json?
29
+ overall_analysis Json?
30
+ skills_score Float?
32
31
  overall_score Float
33
- // New Fields needs to be changed now
34
32
  short_match_analysis Json[]
33
+ fit_comparison Json?
34
+ recommendation Json?
35
+ // New Fields needs to be changed now
35
36
  candidate_analysis Json[]
36
37
  technical_analysis Json[]
37
38
  competency_analysis Json[]
38
- recommendation Json?
39
39
 
40
40
  /// Audit fields
41
41
  created_by String
@@ -14,11 +14,10 @@ model JobDescription {
14
14
  screeningQuestions String[]
15
15
  recommendedQuestions Json[]
16
16
  uploaded_job_description_path String?
17
- is_plan_locked Boolean? @default(false)
18
17
  is_plan_published Boolean @default(false)
19
18
  is_posted Boolean @default(false)
20
19
  ai_insight Json?
21
- fit_comparison Json?
20
+ job_fit_comparison Json?
22
21
  // Audit fields
23
22
  created_at DateTime @default(now())
24
23
  updated_at DateTime @updatedAt
@@ -1,17 +1,18 @@
1
1
  model Resume {
2
- id String @id @default(uuid())
2
+ id String @id @default(uuid())
3
3
  user_id String?
4
4
  organisation_id String?
5
5
  job_description_id String?
6
6
  uploaded_resume_path String?
7
- created_at DateTime @default(now())
8
- updated_at DateTime @updatedAt
7
+ created_at DateTime @default(now())
8
+ updated_at DateTime @updatedAt
9
9
  created_by String
10
10
  updated_by String
11
- is_active Boolean @default(true)
12
- user User? @relation(fields: [user_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
13
- organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
14
- job_description JobDescription? @relation(fields: [job_description_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
11
+ is_active Boolean @default(true)
12
+ name String?
13
+ user User? @relation(fields: [user_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
14
+ organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
15
+ job_description JobDescription? @relation(fields: [job_description_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
15
16
  applications Application[]
16
17
  interviews Interview[]
17
18
  ongoing_evaluations OngoingEvaluation[] // optional one-to-many
@@ -3,7 +3,7 @@ model Suggestion {
3
3
  interview_id String?
4
4
  transcript_id String? @unique // ✅ ensures one-to-one
5
5
  organisation_id String
6
- suggestion String
6
+ suggestion String?
7
7
  question String?
8
8
  created_at DateTime @default(now())
9
9
  updated_at DateTime @updatedAt
package/prisma/.DS_Store DELETED
Binary file