@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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-ea5b36a2f63e53f715ba91279c4f0e7165da62d69187a1426adb80d9fcfb0223",
2
+ "name": "prisma-client-1fd905e58fa711fcb7a16d1aa13d5380f536993d0801611d54c44e8297a806da",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptware/eagles-db",
3
- "version": "0.1.74",
3
+ "version": "0.1.75",
4
4
  "description": "A Prisma client package for Treadspace database operations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
Binary file
@@ -0,0 +1,2 @@
1
+ -- AlterTable
2
+ ALTER TABLE "JobProfile" DROP COLUMN IF EXISTS "current_phase";
@@ -0,0 +1,3 @@
1
+ # Please do not edit this file manually
2
+ # It should be added in your version-control system (e.g. Git)
3
+ provider = "postgresql"
@@ -4,6 +4,7 @@ model Resume {
4
4
  organisation_id String?
5
5
  job_description_id String?
6
6
  uploaded_resume_path String?
7
+ file_hash String? @unique
7
8
  summary Json?
8
9
  created_at DateTime @default(now())
9
10
  updated_at DateTime @updatedAt
@@ -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
- }