@a_team/prisma 3.5.0-win → 3.5.1-linux

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-52cfd393312a7c7de79f100251a30d8742fbf5843c808f10363c097003231ef5",
2
+ "name": "prisma-client-1ae53754a0e6a8fed5e29e412b59acd93535d05a555ebd6165f5b6265941b742",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -266,12 +266,18 @@ type MissionRoleWorkingHours {
266
266
  utcStandardHours LocalHourRange[]
267
267
  }
268
268
 
269
+ type MissionRoleRemovalRequest {
270
+ reason String
271
+ comment String?
272
+ createdAt DateTime @default(now()) @db.Date
273
+ }
274
+
269
275
  type MissionRole {
270
276
  id String @map("_id") @db.ObjectId
271
277
  availability MissionRoleAvailability?
272
278
  builderRateMax Float?
273
279
  builderRateMin Float?
274
- category String @db.ObjectId
280
+ categoryId String @map("category") @db.ObjectId
275
281
  createdAt DateTime? @default(now()) @db.Date
276
282
  customQuestions MissionRoleCustomQuestion[]
277
283
  description String?
@@ -301,6 +307,7 @@ type MissionRole {
301
307
  builderMonthlyRateMax Float?
302
308
  collectMonthlyRate Boolean?
303
309
  isFullTimeRetainer Boolean?
310
+ removalRequest MissionRoleRemovalRequest?
304
311
  }
305
312
 
306
313
  type MissionsManager {
@@ -421,18 +428,26 @@ enum MissionRoleStatus {
421
428
  Ended
422
429
  }
423
430
 
431
+ type MissionPrefillRole {
432
+ categoryId String @db.ObjectId
433
+ headline String?
434
+ requiredSkills String[] @db.ObjectId
435
+ preferredSkills String[] @db.ObjectId
436
+ timeCommitemnt String?
437
+ screeningQuestion String?
438
+ }
439
+
424
440
  model MissionPrefill {
425
- id String @id @default(auto()) @map("_id") @db.ObjectId
426
- userId String @unique @db.ObjectId
441
+ id String @id @default(auto()) @map("_id") @db.ObjectId
442
+ userId String @unique @db.ObjectId
427
443
  missionName String?
428
444
  plannedStart String?
429
445
  companyDescription String?
430
446
  missionDescription String?
431
447
  timezone String?
432
- openRoles Json?
433
- status String @default("pending") // "pending", "completed", or "failed"
434
- createdAt DateTime @default(now())
435
- updatedAt DateTime @updatedAt
448
+ openRoles MissionPrefillRole[]
449
+ createdAt DateTime @default(now())
450
+ updatedAt DateTime @updatedAt
436
451
 
437
452
  user User @relation(fields: [userId], references: [id], name: "user")
438
453
 
@@ -700,6 +715,15 @@ enum InternalOnboardingStage {
700
715
  ProfileCompleteWithPendingApplication
701
716
  }
702
717
 
718
+ type MissionPreference {
719
+ missionId String @db.ObjectId
720
+ reason String?
721
+ }
722
+
723
+ type MissionPreferences {
724
+ notInterestedMissions MissionPreference[]
725
+ }
726
+
703
727
  model User {
704
728
  id String @id @default(auto()) @map("_id") @db.ObjectId
705
729
  firstName String?
@@ -727,6 +751,7 @@ model User {
727
751
  rateRange RateRange?
728
752
  talentProfile TalentProfile?
729
753
  onboardingStage InternalOnboardingStage?
754
+ missionPreferences MissionPreferences?
730
755
 
731
756
  @@map("users")
732
757
  }
@@ -237,8 +237,6 @@ exports.Prisma.MissionPrefillScalarFieldEnum = {
237
237
  companyDescription: 'companyDescription',
238
238
  missionDescription: 'missionDescription',
239
239
  timezone: 'timezone',
240
- openRoles: 'openRoles',
241
- status: 'status',
242
240
  createdAt: 'createdAt',
243
241
  updatedAt: 'updatedAt'
244
242
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.5.0-win",
3
+ "version": "3.5.1-linux",
4
4
  "os": [
5
- "win32"
5
+ "linux"
6
6
  ],
7
7
  "cpu": [],
8
8
  "keywords": [],
@@ -29,7 +29,6 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.8.5",
32
- "prisma": "^5.17.0",
33
32
  "ts-node": "^10.9.2",
34
33
  "typescript": "^5.5.4"
35
34
  },