@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.
- package/client/edge.js +38 -5
- package/client/index-browser.js +33 -0
- package/client/index.d.ts +2092 -232
- package/client/index.js +38 -5
- package/client/package.json +1 -1
- package/client/schema.prisma +50 -7
- package/client/wasm.js +33 -0
- package/package.json +1 -1
- package/prisma/.DS_Store +0 -0
- package/prisma/schema/fitCheck.prisma +9 -7
- package/prisma/schema/jobDescription.prisma +1 -0
- package/prisma/schema/promise.prisma +39 -0
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -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
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
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
package/prisma/.DS_Store
ADDED
|
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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
|
@@ -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
|
+
}
|