@a_team/prisma 2.1.7 → 2.1.9

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-5854e915362fb2f63b6ce600af75cb75f9ea1bae742096abaf3b57e515cba721",
2
+ "name": "prisma-client-cbefe81c15fc836982ecce5a129466eff38d58b8014a7b0abce0e8c3df14c666",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -155,7 +155,7 @@ type MissionRoleAvailability {
155
155
  }
156
156
 
157
157
  type MissionRoleCustomQuestion {
158
- id String @map("_id") @db.ObjectId
158
+ id String? @map("_id") @db.ObjectId
159
159
  createdAt DateTime? @db.Date
160
160
  isRequired Boolean?
161
161
  isVisible Boolean
@@ -215,7 +215,7 @@ type MissionRole {
215
215
  requiredSkills MissionRoleRequiredSkill[]
216
216
  setAsScheduledToEndAt DateTime? @db.Date
217
217
  showRateRangeToBuilders Boolean?
218
- status String?
218
+ status MissionRoleStatus
219
219
  updatedAt DateTime? @db.Date
220
220
  user String? @db.ObjectId
221
221
  userAssignedAt DateTime? @db.Date
@@ -337,6 +337,14 @@ enum MissionStatus {
337
337
  Archived
338
338
  }
339
339
 
340
+ enum MissionRoleStatus {
341
+ Open
342
+ Active
343
+ Canceled
344
+ ScheduledToEnd
345
+ Ended
346
+ }
347
+
340
348
  model MissionSpec {
341
349
  id String @id @default(auto()) @map("_id") @db.ObjectId
342
350
  account Account? @relation(fields: [accountId], references: [id])
@@ -336,6 +336,14 @@ exports.ContractPartyType = exports.$Enums.ContractPartyType = {
336
336
  MissionRole: 'MissionRole'
337
337
  };
338
338
 
339
+ exports.MissionRoleStatus = exports.$Enums.MissionRoleStatus = {
340
+ Open: 'Open',
341
+ Active: 'Active',
342
+ Canceled: 'Canceled',
343
+ ScheduledToEnd: 'ScheduledToEnd',
344
+ Ended: 'Ended'
345
+ };
346
+
339
347
  exports.Prisma.ModelName = {
340
348
  Account: 'Account',
341
349
  ClientCompany: 'ClientCompany',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "2.1.7",
3
+ "version": "2.1.9",
4
4
  "keywords": [],
5
5
  "scripts": {
6
6
  "build": "rm -rf ./dist & npm run generate & tsc",