@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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-ae719f3b3d43a9f1b3944236fd3132e83186e01c020356d95ee70d90332c232a",
2
+ "name": "prisma-client-132116727cdcdad441587fda0233ddbe5933e4b700a944210a2e30459c4f4576",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -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
- organisation_id: 'organisation_id',
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.1.83",
3
+ "version": "0.1.85",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,6 +2,7 @@ enum AuthProvider {
2
2
  GOOGLE
3
3
  MICROSOFT
4
4
  ZOOM
5
+ CALENDLY
5
6
  }
6
7
 
7
8
  model AuthModule {
@@ -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[]