@adaptware/eagles-db 0.1.83 → 0.1.85
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 +7 -5
- package/client/index-browser.js +4 -2
- package/client/index.d.ts +264 -98
- package/client/index.js +7 -5
- package/client/package.json +1 -1
- package/client/schema.prisma +3 -1
- package/client/wasm.js +4 -2
- package/package.json +1 -1
- package/prisma/schema/authModule.prisma +1 -0
- package/prisma/schema/user.prisma +2 -1
package/client/package.json
CHANGED
package/client/schema.prisma
CHANGED
|
@@ -325,6 +325,7 @@ enum AuthProvider {
|
|
|
325
325
|
GOOGLE
|
|
326
326
|
MICROSOFT
|
|
327
327
|
ZOOM
|
|
328
|
+
CALENDLY
|
|
328
329
|
}
|
|
329
330
|
|
|
330
331
|
model AuthModule {
|
|
@@ -1372,6 +1373,7 @@ model User {
|
|
|
1372
1373
|
password String
|
|
1373
1374
|
role_id String
|
|
1374
1375
|
role UserRole @relation(fields: [role_id], references: [id], onDelete: Restrict, onUpdate: Cascade)
|
|
1376
|
+
organisation_id String?
|
|
1375
1377
|
// Back-relations are defined from Resume side via user_id
|
|
1376
1378
|
google_id String? @unique
|
|
1377
1379
|
refresh_token String?
|
|
@@ -1382,8 +1384,8 @@ model User {
|
|
|
1382
1384
|
is_active Boolean @default(true)
|
|
1383
1385
|
is_self_registered Boolean @default(true)
|
|
1384
1386
|
permission_id String? @unique
|
|
1387
|
+
preferences Json? @default("{}")
|
|
1385
1388
|
permission Permission? @relation(fields: [permission_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
1386
|
-
organisation_id String?
|
|
1387
1389
|
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
1388
1390
|
applications Application[]
|
|
1389
1391
|
resume Resume[]
|
package/client/wasm.js
CHANGED
|
@@ -843,6 +843,7 @@ exports.Prisma.UserScalarFieldEnum = {
|
|
|
843
843
|
email: 'email',
|
|
844
844
|
password: 'password',
|
|
845
845
|
role_id: 'role_id',
|
|
846
|
+
organisation_id: 'organisation_id',
|
|
846
847
|
google_id: 'google_id',
|
|
847
848
|
refresh_token: 'refresh_token',
|
|
848
849
|
created_at: 'created_at',
|
|
@@ -852,7 +853,7 @@ exports.Prisma.UserScalarFieldEnum = {
|
|
|
852
853
|
is_active: 'is_active',
|
|
853
854
|
is_self_registered: 'is_self_registered',
|
|
854
855
|
permission_id: 'permission_id',
|
|
855
|
-
|
|
856
|
+
preferences: 'preferences',
|
|
856
857
|
profile_created: 'profile_created',
|
|
857
858
|
first_login_status: 'first_login_status',
|
|
858
859
|
name: 'name',
|
|
@@ -1002,7 +1003,8 @@ exports.AssignmentStatus = exports.$Enums.AssignmentStatus = {
|
|
|
1002
1003
|
exports.AuthProvider = exports.$Enums.AuthProvider = {
|
|
1003
1004
|
GOOGLE: 'GOOGLE',
|
|
1004
1005
|
MICROSOFT: 'MICROSOFT',
|
|
1005
|
-
ZOOM: 'ZOOM'
|
|
1006
|
+
ZOOM: 'ZOOM',
|
|
1007
|
+
CALENDLY: 'CALENDLY'
|
|
1006
1008
|
};
|
|
1007
1009
|
|
|
1008
1010
|
exports.JobType = exports.$Enums.JobType = {
|
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@ model User {
|
|
|
9
9
|
password String
|
|
10
10
|
role_id String
|
|
11
11
|
role UserRole @relation(fields: [role_id], references: [id], onDelete: Restrict, onUpdate: Cascade)
|
|
12
|
+
organisation_id String?
|
|
12
13
|
// Back-relations are defined from Resume side via user_id
|
|
13
14
|
google_id String? @unique
|
|
14
15
|
refresh_token String?
|
|
@@ -19,8 +20,8 @@ model User {
|
|
|
19
20
|
is_active Boolean @default(true)
|
|
20
21
|
is_self_registered Boolean @default(true)
|
|
21
22
|
permission_id String? @unique
|
|
23
|
+
preferences Json? @default("{}")
|
|
22
24
|
permission Permission? @relation(fields: [permission_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
23
|
-
organisation_id String?
|
|
24
25
|
organisation Organisation? @relation(fields: [organisation_id], references: [id], onDelete: SetNull, onUpdate: Cascade)
|
|
25
26
|
applications Application[]
|
|
26
27
|
resume Resume[]
|