@adaptware/eagles-db 0.1.72 → 0.1.74
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 +35 -5
- package/client/index-browser.js +30 -0
- package/client/index.d.ts +2674 -216
- package/client/index.js +35 -5
- package/client/package.json +1 -1
- package/client/schema.prisma +40 -0
- package/client/wasm.js +30 -0
- package/package.json +1 -1
- package/prisma/schema/authModule.prisma +29 -0
- package/prisma/schema/evaluationPlan.prisma +9 -0
- package/prisma/schema/user.prisma +1 -0
- package/prisma/.DS_Store +0 -0
- package/prisma/migrations/20260415120000_remove_job_profile_current_phase/migration.sql +0 -2
- package/prisma/migrations/migration_lock.toml +0 -3
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -313,6 +313,36 @@ model AssignmentLibrary {
|
|
|
313
313
|
@@index([job_description_id])
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
+
enum AuthProvider {
|
|
317
|
+
GOOGLE
|
|
318
|
+
MICROSOFT
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
model AuthModule {
|
|
322
|
+
id String @id @default(uuid())
|
|
323
|
+
|
|
324
|
+
user_id String
|
|
325
|
+
user User @relation("UserAuthModule", fields: [user_id], references: [id], onDelete: Cascade)
|
|
326
|
+
|
|
327
|
+
provider AuthProvider
|
|
328
|
+
provider_account_id String
|
|
329
|
+
|
|
330
|
+
access_token String? @db.Text
|
|
331
|
+
refresh_token String? @db.Text
|
|
332
|
+
id_token String? @db.Text
|
|
333
|
+
expires_at DateTime?
|
|
334
|
+
|
|
335
|
+
token_type String?
|
|
336
|
+
|
|
337
|
+
scope String?
|
|
338
|
+
|
|
339
|
+
created_at DateTime @default(now())
|
|
340
|
+
updated_at DateTime @updatedAt
|
|
341
|
+
|
|
342
|
+
@@unique([provider, provider_account_id])
|
|
343
|
+
@@index([user_id])
|
|
344
|
+
}
|
|
345
|
+
|
|
316
346
|
enum JobType {
|
|
317
347
|
Full_time
|
|
318
348
|
Part_time
|
|
@@ -460,6 +490,12 @@ enum EvaluationPlanType {
|
|
|
460
490
|
DELETED
|
|
461
491
|
}
|
|
462
492
|
|
|
493
|
+
enum DurationUnit {
|
|
494
|
+
MINUTES
|
|
495
|
+
HOURS
|
|
496
|
+
DAYS
|
|
497
|
+
}
|
|
498
|
+
|
|
463
499
|
model EvaluationPlan {
|
|
464
500
|
id String @id @default(uuid())
|
|
465
501
|
job_description_id String
|
|
@@ -477,6 +513,9 @@ model EvaluationPlan {
|
|
|
477
513
|
order_no Int?
|
|
478
514
|
details Json?
|
|
479
515
|
plan_type EvaluationPlanType @default(GENERIC)
|
|
516
|
+
duration Int?
|
|
517
|
+
duration_unit DurationUnit?
|
|
518
|
+
deadline Int?
|
|
480
519
|
created_by String
|
|
481
520
|
updated_by String
|
|
482
521
|
created_at DateTime @default(now())
|
|
@@ -1318,6 +1357,7 @@ model User {
|
|
|
1318
1357
|
fitChecks FitCheck[]
|
|
1319
1358
|
created_job_profiles JobProfile[] @relation("ProfileCreator")
|
|
1320
1359
|
assigned_job_profiles JobProfile[] @relation("ProfileAssignee")
|
|
1360
|
+
user_auth_modules AuthModule[] @relation("UserAuthModule")
|
|
1321
1361
|
|
|
1322
1362
|
name String?
|
|
1323
1363
|
phone String?
|
package/client/wasm.js
CHANGED
|
@@ -289,6 +289,21 @@ exports.Prisma.AssignmentLibraryScalarFieldEnum = {
|
|
|
289
289
|
is_active: 'is_active'
|
|
290
290
|
};
|
|
291
291
|
|
|
292
|
+
exports.Prisma.AuthModuleScalarFieldEnum = {
|
|
293
|
+
id: 'id',
|
|
294
|
+
user_id: 'user_id',
|
|
295
|
+
provider: 'provider',
|
|
296
|
+
provider_account_id: 'provider_account_id',
|
|
297
|
+
access_token: 'access_token',
|
|
298
|
+
refresh_token: 'refresh_token',
|
|
299
|
+
id_token: 'id_token',
|
|
300
|
+
expires_at: 'expires_at',
|
|
301
|
+
token_type: 'token_type',
|
|
302
|
+
scope: 'scope',
|
|
303
|
+
created_at: 'created_at',
|
|
304
|
+
updated_at: 'updated_at'
|
|
305
|
+
};
|
|
306
|
+
|
|
292
307
|
exports.Prisma.BudgetScalarFieldEnum = {
|
|
293
308
|
id: 'id',
|
|
294
309
|
job_type: 'job_type',
|
|
@@ -379,6 +394,9 @@ exports.Prisma.EvaluationPlanScalarFieldEnum = {
|
|
|
379
394
|
order_no: 'order_no',
|
|
380
395
|
details: 'details',
|
|
381
396
|
plan_type: 'plan_type',
|
|
397
|
+
duration: 'duration',
|
|
398
|
+
duration_unit: 'duration_unit',
|
|
399
|
+
deadline: 'deadline',
|
|
382
400
|
created_by: 'created_by',
|
|
383
401
|
updated_by: 'updated_by',
|
|
384
402
|
created_at: 'created_at',
|
|
@@ -909,6 +927,11 @@ exports.AssignmentStatus = exports.$Enums.AssignmentStatus = {
|
|
|
909
927
|
CANCELLED: 'CANCELLED'
|
|
910
928
|
};
|
|
911
929
|
|
|
930
|
+
exports.AuthProvider = exports.$Enums.AuthProvider = {
|
|
931
|
+
GOOGLE: 'GOOGLE',
|
|
932
|
+
MICROSOFT: 'MICROSOFT'
|
|
933
|
+
};
|
|
934
|
+
|
|
912
935
|
exports.JobType = exports.$Enums.JobType = {
|
|
913
936
|
Full_time: 'Full_time',
|
|
914
937
|
Part_time: 'Part_time',
|
|
@@ -957,6 +980,12 @@ exports.EvaluationPlanType = exports.$Enums.EvaluationPlanType = {
|
|
|
957
980
|
DELETED: 'DELETED'
|
|
958
981
|
};
|
|
959
982
|
|
|
983
|
+
exports.DurationUnit = exports.$Enums.DurationUnit = {
|
|
984
|
+
MINUTES: 'MINUTES',
|
|
985
|
+
HOURS: 'HOURS',
|
|
986
|
+
DAYS: 'DAYS'
|
|
987
|
+
};
|
|
988
|
+
|
|
960
989
|
exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
|
|
961
990
|
NAUKRI: 'NAUKRI',
|
|
962
991
|
ZOHO_RECRUIT: 'ZOHO_RECRUIT',
|
|
@@ -1093,6 +1122,7 @@ exports.Prisma.ModelName = {
|
|
|
1093
1122
|
AssessmentQuestion: 'AssessmentQuestion',
|
|
1094
1123
|
Assignment: 'Assignment',
|
|
1095
1124
|
AssignmentLibrary: 'AssignmentLibrary',
|
|
1125
|
+
AuthModule: 'AuthModule',
|
|
1096
1126
|
Budget: 'Budget',
|
|
1097
1127
|
Calendly: 'Calendly',
|
|
1098
1128
|
CandidateProfile: 'CandidateProfile',
|
package/package.json
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
enum AuthProvider {
|
|
2
|
+
GOOGLE
|
|
3
|
+
MICROSOFT
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
model AuthModule {
|
|
7
|
+
id String @id @default(uuid())
|
|
8
|
+
|
|
9
|
+
user_id String
|
|
10
|
+
user User @relation("UserAuthModule", fields: [user_id], references: [id], onDelete: Cascade)
|
|
11
|
+
|
|
12
|
+
provider AuthProvider
|
|
13
|
+
provider_account_id String
|
|
14
|
+
|
|
15
|
+
access_token String? @db.Text
|
|
16
|
+
refresh_token String? @db.Text
|
|
17
|
+
id_token String? @db.Text
|
|
18
|
+
expires_at DateTime?
|
|
19
|
+
|
|
20
|
+
token_type String?
|
|
21
|
+
|
|
22
|
+
scope String?
|
|
23
|
+
|
|
24
|
+
created_at DateTime @default(now())
|
|
25
|
+
updated_at DateTime @updatedAt
|
|
26
|
+
|
|
27
|
+
@@unique([provider, provider_account_id])
|
|
28
|
+
@@index([user_id])
|
|
29
|
+
}
|
|
@@ -47,6 +47,12 @@ enum EvaluationPlanType {
|
|
|
47
47
|
DELETED
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
enum DurationUnit {
|
|
51
|
+
MINUTES
|
|
52
|
+
HOURS
|
|
53
|
+
DAYS
|
|
54
|
+
}
|
|
55
|
+
|
|
50
56
|
model EvaluationPlan {
|
|
51
57
|
id String @id @default(uuid())
|
|
52
58
|
job_description_id String
|
|
@@ -64,6 +70,9 @@ model EvaluationPlan {
|
|
|
64
70
|
order_no Int?
|
|
65
71
|
details Json?
|
|
66
72
|
plan_type EvaluationPlanType @default(GENERIC)
|
|
73
|
+
duration Int?
|
|
74
|
+
duration_unit DurationUnit?
|
|
75
|
+
deadline Int?
|
|
67
76
|
created_by String
|
|
68
77
|
updated_by String
|
|
69
78
|
created_at DateTime @default(now())
|
|
@@ -52,6 +52,7 @@ model User {
|
|
|
52
52
|
fitChecks FitCheck[]
|
|
53
53
|
created_job_profiles JobProfile[] @relation("ProfileCreator")
|
|
54
54
|
assigned_job_profiles JobProfile[] @relation("ProfileAssignee")
|
|
55
|
+
user_auth_modules AuthModule[] @relation("UserAuthModule")
|
|
55
56
|
|
|
56
57
|
name String?
|
|
57
58
|
phone String?
|
package/prisma/.DS_Store
DELETED
|
Binary file
|