@adaptware/eagles-db 0.3.4 → 0.3.6
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 +4 -3
- package/client/index-browser.js +1 -0
- package/client/index.d.ts +95 -1
- package/client/index.js +4 -3
- package/client/package.json +1 -1
- package/client/schema.prisma +29 -28
- package/client/wasm.js +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/prisma/schema/interview.prisma +29 -28
- package/prisma/schema/user.prisma +17 -16
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -764,38 +764,39 @@ enum AiAssistanceMode {
|
|
|
764
764
|
}
|
|
765
765
|
|
|
766
766
|
model Interview {
|
|
767
|
-
id
|
|
767
|
+
id String @id @default(uuid())
|
|
768
768
|
/// Foreign keys
|
|
769
|
-
organisation_id
|
|
770
|
-
candidate_id
|
|
771
|
-
interviewer_id
|
|
772
|
-
evaluation_plan_id
|
|
773
|
-
application_id
|
|
774
|
-
resume_id
|
|
775
|
-
job_description_id
|
|
776
|
-
calendar_event_id
|
|
769
|
+
organisation_id String
|
|
770
|
+
candidate_id String
|
|
771
|
+
interviewer_id String?
|
|
772
|
+
evaluation_plan_id String
|
|
773
|
+
application_id String?
|
|
774
|
+
resume_id String
|
|
775
|
+
job_description_id String
|
|
776
|
+
calendar_event_id String?
|
|
777
777
|
/// Data
|
|
778
|
-
room_name
|
|
779
|
-
interview_summary
|
|
780
|
-
scheduled_start_time
|
|
781
|
-
scheduled_end_time
|
|
782
|
-
actual_start_time
|
|
783
|
-
actual_end_time
|
|
784
|
-
recording_url
|
|
785
|
-
interview_status
|
|
786
|
-
interview_platform
|
|
778
|
+
room_name String?
|
|
779
|
+
interview_summary String[]
|
|
780
|
+
scheduled_start_time DateTime?
|
|
781
|
+
scheduled_end_time DateTime?
|
|
782
|
+
actual_start_time DateTime?
|
|
783
|
+
actual_end_time DateTime?
|
|
784
|
+
recording_url String?
|
|
785
|
+
interview_status InterviewStatus @default(SCHEDULED)
|
|
786
|
+
interview_platform InterviewPlatform @default(TREADSPACE)
|
|
787
787
|
/// Old Feedback fields will be deprecated soon
|
|
788
|
-
ai_interview_feedback
|
|
789
|
-
interview_feedback
|
|
790
|
-
overall_feedback
|
|
791
|
-
interview_rating
|
|
788
|
+
ai_interview_feedback InterviewFeedback?
|
|
789
|
+
interview_feedback InterviewFeedback?
|
|
790
|
+
overall_feedback String?
|
|
791
|
+
interview_rating Float? // Overall rating out of 100 based on evaluation
|
|
792
792
|
/// New Feedback fields
|
|
793
|
-
ai_feedback
|
|
794
|
-
human_feedback
|
|
795
|
-
interviewer_feedback
|
|
796
|
-
section_feedback
|
|
797
|
-
interview_preparation
|
|
798
|
-
final_feedback
|
|
793
|
+
ai_feedback Json?
|
|
794
|
+
human_feedback Json?
|
|
795
|
+
interviewer_feedback Json?
|
|
796
|
+
section_feedback Json[]
|
|
797
|
+
interview_preparation Json?
|
|
798
|
+
final_feedback Json?
|
|
799
|
+
interview_analysis_ranges Json?
|
|
799
800
|
|
|
800
801
|
/// Self-scheduling
|
|
801
802
|
reschedule_count Int @default(0)
|
package/client/wasm.js
CHANGED
|
@@ -543,6 +543,7 @@ exports.Prisma.InterviewScalarFieldEnum = {
|
|
|
543
543
|
section_feedback: 'section_feedback',
|
|
544
544
|
interview_preparation: 'interview_preparation',
|
|
545
545
|
final_feedback: 'final_feedback',
|
|
546
|
+
interview_analysis_ranges: 'interview_analysis_ranges',
|
|
546
547
|
reschedule_count: 'reschedule_count',
|
|
547
548
|
last_rescheduled_at: 'last_rescheduled_at',
|
|
548
549
|
first_assigned_at: 'first_assigned_at',
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PrismaClient } from
|
|
1
|
+
import { PrismaClient } from '../client/index.js';
|
|
2
2
|
export declare const prisma: PrismaClient<{
|
|
3
3
|
log: ("error" | "info" | "warn")[];
|
|
4
4
|
}, "error" | "info" | "warn", import("../client/runtime/library.js").DefaultArgs>;
|
|
5
|
-
export type { PrismaClient } from
|
|
6
|
-
export * from
|
|
5
|
+
export type { PrismaClient } from '../client/index.js';
|
|
6
|
+
export * from '../client/index.js';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { PrismaClient } from
|
|
1
|
+
import { PrismaClient } from '../client/index.js';
|
|
2
2
|
// Never enable Prisma `query` logging — it prints full SQL to stdout.
|
|
3
3
|
export const prisma = new PrismaClient({
|
|
4
|
-
log: [
|
|
4
|
+
log: ['error', 'warn', 'info'],
|
|
5
5
|
});
|
|
6
6
|
// Export all Prisma types
|
|
7
|
-
export * from
|
|
7
|
+
export * from '../client/index.js';
|
|
8
8
|
// Graceful shutdown
|
|
9
|
-
process.on(
|
|
9
|
+
process.on('beforeExit', async () => {
|
|
10
10
|
await prisma.$disconnect();
|
|
11
11
|
});
|
|
12
|
-
process.on(
|
|
12
|
+
process.on('SIGINT', async () => {
|
|
13
13
|
await prisma.$disconnect();
|
|
14
14
|
process.exit(0);
|
|
15
15
|
});
|
|
16
|
-
process.on(
|
|
16
|
+
process.on('SIGTERM', async () => {
|
|
17
17
|
await prisma.$disconnect();
|
|
18
18
|
process.exit(0);
|
|
19
19
|
});
|
package/package.json
CHANGED
|
@@ -26,38 +26,39 @@ enum AiAssistanceMode {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
model Interview {
|
|
29
|
-
id
|
|
29
|
+
id String @id @default(uuid())
|
|
30
30
|
/// Foreign keys
|
|
31
|
-
organisation_id
|
|
32
|
-
candidate_id
|
|
33
|
-
interviewer_id
|
|
34
|
-
evaluation_plan_id
|
|
35
|
-
application_id
|
|
36
|
-
resume_id
|
|
37
|
-
job_description_id
|
|
38
|
-
calendar_event_id
|
|
31
|
+
organisation_id String
|
|
32
|
+
candidate_id String
|
|
33
|
+
interviewer_id String?
|
|
34
|
+
evaluation_plan_id String
|
|
35
|
+
application_id String?
|
|
36
|
+
resume_id String
|
|
37
|
+
job_description_id String
|
|
38
|
+
calendar_event_id String?
|
|
39
39
|
/// Data
|
|
40
|
-
room_name
|
|
41
|
-
interview_summary
|
|
42
|
-
scheduled_start_time
|
|
43
|
-
scheduled_end_time
|
|
44
|
-
actual_start_time
|
|
45
|
-
actual_end_time
|
|
46
|
-
recording_url
|
|
47
|
-
interview_status
|
|
48
|
-
interview_platform
|
|
40
|
+
room_name String?
|
|
41
|
+
interview_summary String[]
|
|
42
|
+
scheduled_start_time DateTime?
|
|
43
|
+
scheduled_end_time DateTime?
|
|
44
|
+
actual_start_time DateTime?
|
|
45
|
+
actual_end_time DateTime?
|
|
46
|
+
recording_url String?
|
|
47
|
+
interview_status InterviewStatus @default(SCHEDULED)
|
|
48
|
+
interview_platform InterviewPlatform @default(TREADSPACE)
|
|
49
49
|
/// Old Feedback fields will be deprecated soon
|
|
50
|
-
ai_interview_feedback
|
|
51
|
-
interview_feedback
|
|
52
|
-
overall_feedback
|
|
53
|
-
interview_rating
|
|
50
|
+
ai_interview_feedback InterviewFeedback?
|
|
51
|
+
interview_feedback InterviewFeedback?
|
|
52
|
+
overall_feedback String?
|
|
53
|
+
interview_rating Float? // Overall rating out of 100 based on evaluation
|
|
54
54
|
/// New Feedback fields
|
|
55
|
-
ai_feedback
|
|
56
|
-
human_feedback
|
|
57
|
-
interviewer_feedback
|
|
58
|
-
section_feedback
|
|
59
|
-
interview_preparation
|
|
60
|
-
final_feedback
|
|
55
|
+
ai_feedback Json?
|
|
56
|
+
human_feedback Json?
|
|
57
|
+
interviewer_feedback Json?
|
|
58
|
+
section_feedback Json[]
|
|
59
|
+
interview_preparation Json?
|
|
60
|
+
final_feedback Json?
|
|
61
|
+
interview_analysis_ranges Json?
|
|
61
62
|
|
|
62
63
|
/// Self-scheduling
|
|
63
64
|
reschedule_count Int @default(0)
|
|
@@ -68,22 +68,23 @@ model User {
|
|
|
68
68
|
zoom_meeting_participants ZoomMeetingParticipant[]
|
|
69
69
|
notes Notes[]
|
|
70
70
|
|
|
71
|
-
name
|
|
72
|
-
phone
|
|
73
|
-
description
|
|
74
|
-
date_of_birth
|
|
75
|
-
designation
|
|
76
|
-
location
|
|
77
|
-
salary
|
|
78
|
-
work_experience
|
|
79
|
-
education
|
|
80
|
-
skills
|
|
81
|
-
notice_period
|
|
82
|
-
preferred_work_mode
|
|
83
|
-
gender
|
|
84
|
-
ethnicity
|
|
85
|
-
veteran_status
|
|
86
|
-
disability_status
|
|
71
|
+
name String?
|
|
72
|
+
phone String?
|
|
73
|
+
description String?
|
|
74
|
+
date_of_birth DateTime?
|
|
75
|
+
designation String?
|
|
76
|
+
location String?
|
|
77
|
+
salary String?
|
|
78
|
+
work_experience Json?
|
|
79
|
+
education Json?
|
|
80
|
+
skills Json?
|
|
81
|
+
notice_period String?
|
|
82
|
+
preferred_work_mode String?
|
|
83
|
+
gender String?
|
|
84
|
+
ethnicity String?
|
|
85
|
+
veteran_status String?
|
|
86
|
+
disability_status String?
|
|
87
|
+
professional_expertise String?
|
|
87
88
|
|
|
88
89
|
@@index([role_id])
|
|
89
90
|
@@index([permission_id])
|