@adaptware/eagles-db 0.1.74 → 0.1.75
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 +6 -26
- package/client/index-browser.js +1 -21
- package/client/index.d.ts +289 -2406
- package/client/index.js +6 -26
- package/client/package.json +1 -1
- package/client/schema.prisma +1 -31
- package/client/wasm.js +1 -21
- package/package.json +1 -1
- package/prisma/.DS_Store +0 -0
- package/prisma/migrations/20260415120000_remove_job_profile_current_phase/migration.sql +2 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/schema/resume.prisma +1 -0
- package/prisma/schema/user.prisma +0 -1
- package/prisma/schema/authModule.prisma +0 -29
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -313,36 +313,6 @@ 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
|
-
|
|
346
316
|
enum JobType {
|
|
347
317
|
Full_time
|
|
348
318
|
Part_time
|
|
@@ -1200,6 +1170,7 @@ model Resume {
|
|
|
1200
1170
|
organisation_id String?
|
|
1201
1171
|
job_description_id String?
|
|
1202
1172
|
uploaded_resume_path String?
|
|
1173
|
+
file_hash String? @unique
|
|
1203
1174
|
summary Json?
|
|
1204
1175
|
created_at DateTime @default(now())
|
|
1205
1176
|
updated_at DateTime @updatedAt
|
|
@@ -1357,7 +1328,6 @@ model User {
|
|
|
1357
1328
|
fitChecks FitCheck[]
|
|
1358
1329
|
created_job_profiles JobProfile[] @relation("ProfileCreator")
|
|
1359
1330
|
assigned_job_profiles JobProfile[] @relation("ProfileAssignee")
|
|
1360
|
-
user_auth_modules AuthModule[] @relation("UserAuthModule")
|
|
1361
1331
|
|
|
1362
1332
|
name String?
|
|
1363
1333
|
phone String?
|
package/client/wasm.js
CHANGED
|
@@ -289,21 +289,6 @@ 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
|
-
|
|
307
292
|
exports.Prisma.BudgetScalarFieldEnum = {
|
|
308
293
|
id: 'id',
|
|
309
294
|
job_type: 'job_type',
|
|
@@ -751,6 +736,7 @@ exports.Prisma.ResumeScalarFieldEnum = {
|
|
|
751
736
|
organisation_id: 'organisation_id',
|
|
752
737
|
job_description_id: 'job_description_id',
|
|
753
738
|
uploaded_resume_path: 'uploaded_resume_path',
|
|
739
|
+
file_hash: 'file_hash',
|
|
754
740
|
summary: 'summary',
|
|
755
741
|
created_at: 'created_at',
|
|
756
742
|
updated_at: 'updated_at',
|
|
@@ -927,11 +913,6 @@ exports.AssignmentStatus = exports.$Enums.AssignmentStatus = {
|
|
|
927
913
|
CANCELLED: 'CANCELLED'
|
|
928
914
|
};
|
|
929
915
|
|
|
930
|
-
exports.AuthProvider = exports.$Enums.AuthProvider = {
|
|
931
|
-
GOOGLE: 'GOOGLE',
|
|
932
|
-
MICROSOFT: 'MICROSOFT'
|
|
933
|
-
};
|
|
934
|
-
|
|
935
916
|
exports.JobType = exports.$Enums.JobType = {
|
|
936
917
|
Full_time: 'Full_time',
|
|
937
918
|
Part_time: 'Part_time',
|
|
@@ -1122,7 +1103,6 @@ exports.Prisma.ModelName = {
|
|
|
1122
1103
|
AssessmentQuestion: 'AssessmentQuestion',
|
|
1123
1104
|
Assignment: 'Assignment',
|
|
1124
1105
|
AssignmentLibrary: 'AssignmentLibrary',
|
|
1125
|
-
AuthModule: 'AuthModule',
|
|
1126
1106
|
Budget: 'Budget',
|
|
1127
1107
|
Calendly: 'Calendly',
|
|
1128
1108
|
CandidateProfile: 'CandidateProfile',
|
package/package.json
CHANGED
package/prisma/.DS_Store
ADDED
|
Binary file
|
|
@@ -52,7 +52,6 @@ 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")
|
|
56
55
|
|
|
57
56
|
name String?
|
|
58
57
|
phone String?
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
}
|