@adaptware/eagles-db 0.1.32 → 0.1.34

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-fc795c8ce704e7ff04091ac31b8db2c97920b31cdb4f47b5702600262d1212bd",
2
+ "name": "prisma-client-c80224cf26d7fd974417ec266d74d78084d8eb98a28ac517e2d16a1e7eea47e8",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -483,13 +483,15 @@ model FitCheck {
483
483
  fit Json[]
484
484
  fit_check_status FitCheckStatus?
485
485
  // Fields to be used now
486
-
487
- overall_score Float
488
- short_match_analysis Json[]
489
- candidate_analysis Json[]
490
- technical_analysis Json[]
491
- competency_analysis Json[]
492
- recommendation Json?
486
+ skills_analysis Json?
487
+ experience_analysis Json?
488
+ overall_score Float
489
+ // New Fields needs to be changed now
490
+ short_match_analysis Json[]
491
+ candidate_analysis Json[]
492
+ technical_analysis Json[]
493
+ competency_analysis Json[]
494
+ recommendation Json?
493
495
 
494
496
  /// Audit fields
495
497
  created_by String
@@ -683,6 +685,7 @@ model JobDescription {
683
685
  is_plan_published Boolean @default(false)
684
686
  is_posted Boolean @default(false)
685
687
  ai_insight Json?
688
+ fit_comparison Json?
686
689
  // Audit fields
687
690
  created_at DateTime @default(now())
688
691
  updated_at DateTime @updatedAt
@@ -934,6 +937,46 @@ model Permission {
934
937
  @@index([created_at])
935
938
  }
936
939
 
940
+ enum AsyncOperationStatus {
941
+ PENDING
942
+ IN_PROGRESS
943
+ SUCCESS
944
+ FAILED
945
+ RETRYING
946
+ CANCELLED
947
+ }
948
+
949
+ model AsyncOperation {
950
+ id String @id @default(uuid())
951
+ // Identification
952
+ operation_name String
953
+ // Status tracking
954
+ status AsyncOperationStatus @default(PENDING)
955
+ started_at DateTime?
956
+ completed_at DateTime?
957
+ // Execution metadata
958
+ payload Json?
959
+ metadata Json?
960
+ // Tracing
961
+ correlationId String?
962
+ sourceService String?
963
+ // Retry information
964
+ retry_count Int @default(0)
965
+ max_retries Int @default(0)
966
+ next_retry_at DateTime?
967
+ // Error information
968
+ error_message String?
969
+ error_details String?
970
+ // Audit fields
971
+ created_at DateTime @default(now())
972
+ updated_at DateTime @updatedAt
973
+ is_active Boolean @default(true)
974
+
975
+ @@index([status])
976
+ @@index([operation_name])
977
+ @@index([correlationId])
978
+ }
979
+
937
980
  enum Difficulty {
938
981
  EASY // simple/basic questions
939
982
  MEDIUM // moderate difficulty
package/client/wasm.js CHANGED
@@ -379,6 +379,8 @@ exports.Prisma.FitCheckScalarFieldEnum = {
379
379
  overall_analysis: 'overall_analysis',
380
380
  fit: 'fit',
381
381
  fit_check_status: 'fit_check_status',
382
+ skills_analysis: 'skills_analysis',
383
+ experience_analysis: 'experience_analysis',
382
384
  overall_score: 'overall_score',
383
385
  short_match_analysis: 'short_match_analysis',
384
386
  candidate_analysis: 'candidate_analysis',
@@ -487,6 +489,7 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
487
489
  is_plan_published: 'is_plan_published',
488
490
  is_posted: 'is_posted',
489
491
  ai_insight: 'ai_insight',
492
+ fit_comparison: 'fit_comparison',
490
493
  created_at: 'created_at',
491
494
  updated_at: 'updated_at',
492
495
  created_by: 'created_by',
@@ -613,6 +616,26 @@ exports.Prisma.PermissionScalarFieldEnum = {
613
616
  is_active: 'is_active'
614
617
  };
615
618
 
619
+ exports.Prisma.AsyncOperationScalarFieldEnum = {
620
+ id: 'id',
621
+ operation_name: 'operation_name',
622
+ status: 'status',
623
+ started_at: 'started_at',
624
+ completed_at: 'completed_at',
625
+ payload: 'payload',
626
+ metadata: 'metadata',
627
+ correlationId: 'correlationId',
628
+ sourceService: 'sourceService',
629
+ retry_count: 'retry_count',
630
+ max_retries: 'max_retries',
631
+ next_retry_at: 'next_retry_at',
632
+ error_message: 'error_message',
633
+ error_details: 'error_details',
634
+ created_at: 'created_at',
635
+ updated_at: 'updated_at',
636
+ is_active: 'is_active'
637
+ };
638
+
616
639
  exports.Prisma.QuestionScalarFieldEnum = {
617
640
  id: 'id',
618
641
  assessment_library_id: 'assessment_library_id',
@@ -943,6 +966,15 @@ exports.OverallRecommendation = exports.$Enums.OverallRecommendation = {
943
966
  StrongNoHire: 'StrongNoHire'
944
967
  };
945
968
 
969
+ exports.AsyncOperationStatus = exports.$Enums.AsyncOperationStatus = {
970
+ PENDING: 'PENDING',
971
+ IN_PROGRESS: 'IN_PROGRESS',
972
+ SUCCESS: 'SUCCESS',
973
+ FAILED: 'FAILED',
974
+ RETRYING: 'RETRYING',
975
+ CANCELLED: 'CANCELLED'
976
+ };
977
+
946
978
  exports.QuestionType = exports.$Enums.QuestionType = {
947
979
  MCQ: 'MCQ',
948
980
  TRUE_FALSE: 'TRUE_FALSE',
@@ -991,6 +1023,7 @@ exports.Prisma.ModelName = {
991
1023
  OverallFeedback: 'OverallFeedback',
992
1024
  Panelist: 'Panelist',
993
1025
  Permission: 'Permission',
1026
+ AsyncOperation: 'AsyncOperation',
994
1027
  Question: 'Question',
995
1028
  Resume: 'Resume',
996
1029
  ResumeData: 'ResumeData',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
Binary file
@@ -27,13 +27,15 @@ model FitCheck {
27
27
  fit Json[]
28
28
  fit_check_status FitCheckStatus?
29
29
  // Fields to be used now
30
-
31
- overall_score Float
32
- short_match_analysis Json[]
33
- candidate_analysis Json[]
34
- technical_analysis Json[]
35
- competency_analysis Json[]
36
- recommendation Json?
30
+ skills_analysis Json?
31
+ experience_analysis Json?
32
+ overall_score Float
33
+ // New Fields needs to be changed now
34
+ short_match_analysis Json[]
35
+ candidate_analysis Json[]
36
+ technical_analysis Json[]
37
+ competency_analysis Json[]
38
+ recommendation Json?
37
39
 
38
40
  /// Audit fields
39
41
  created_by String
@@ -18,6 +18,7 @@ model JobDescription {
18
18
  is_plan_published Boolean @default(false)
19
19
  is_posted Boolean @default(false)
20
20
  ai_insight Json?
21
+ fit_comparison Json?
21
22
  // Audit fields
22
23
  created_at DateTime @default(now())
23
24
  updated_at DateTime @updatedAt
@@ -0,0 +1,39 @@
1
+ enum AsyncOperationStatus {
2
+ PENDING
3
+ IN_PROGRESS
4
+ SUCCESS
5
+ FAILED
6
+ RETRYING
7
+ CANCELLED
8
+ }
9
+
10
+ model AsyncOperation {
11
+ id String @id @default(uuid())
12
+ // Identification
13
+ operation_name String
14
+ // Status tracking
15
+ status AsyncOperationStatus @default(PENDING)
16
+ started_at DateTime?
17
+ completed_at DateTime?
18
+ // Execution metadata
19
+ payload Json?
20
+ metadata Json?
21
+ // Tracing
22
+ correlationId String?
23
+ sourceService String?
24
+ // Retry information
25
+ retry_count Int @default(0)
26
+ max_retries Int @default(0)
27
+ next_retry_at DateTime?
28
+ // Error information
29
+ error_message String?
30
+ error_details String?
31
+ // Audit fields
32
+ created_at DateTime @default(now())
33
+ updated_at DateTime @updatedAt
34
+ is_active Boolean @default(true)
35
+
36
+ @@index([status])
37
+ @@index([operation_name])
38
+ @@index([correlationId])
39
+ }