@adaptware/eagles-db 0.1.73 → 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 +26 -5
- package/client/index-browser.js +21 -0
- package/client/index.d.ts +2404 -215
- package/client/index.js +26 -5
- package/client/package.json +1 -1
- package/client/schema.prisma +31 -0
- package/client/wasm.js +21 -0
- package/package.json +1 -1
- package/prisma/schema/authModule.prisma +29 -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
|
|
@@ -1327,6 +1357,7 @@ model User {
|
|
|
1327
1357
|
fitChecks FitCheck[]
|
|
1328
1358
|
created_job_profiles JobProfile[] @relation("ProfileCreator")
|
|
1329
1359
|
assigned_job_profiles JobProfile[] @relation("ProfileAssignee")
|
|
1360
|
+
user_auth_modules AuthModule[] @relation("UserAuthModule")
|
|
1330
1361
|
|
|
1331
1362
|
name String?
|
|
1332
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',
|
|
@@ -912,6 +927,11 @@ exports.AssignmentStatus = exports.$Enums.AssignmentStatus = {
|
|
|
912
927
|
CANCELLED: 'CANCELLED'
|
|
913
928
|
};
|
|
914
929
|
|
|
930
|
+
exports.AuthProvider = exports.$Enums.AuthProvider = {
|
|
931
|
+
GOOGLE: 'GOOGLE',
|
|
932
|
+
MICROSOFT: 'MICROSOFT'
|
|
933
|
+
};
|
|
934
|
+
|
|
915
935
|
exports.JobType = exports.$Enums.JobType = {
|
|
916
936
|
Full_time: 'Full_time',
|
|
917
937
|
Part_time: 'Part_time',
|
|
@@ -1102,6 +1122,7 @@ exports.Prisma.ModelName = {
|
|
|
1102
1122
|
AssessmentQuestion: 'AssessmentQuestion',
|
|
1103
1123
|
Assignment: 'Assignment',
|
|
1104
1124
|
AssignmentLibrary: 'AssignmentLibrary',
|
|
1125
|
+
AuthModule: 'AuthModule',
|
|
1105
1126
|
Budget: 'Budget',
|
|
1106
1127
|
Calendly: 'Calendly',
|
|
1107
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
|
+
}
|
|
@@ -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
|