@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.
- package/dist/client/edge.js +11 -3
- package/dist/client/index-browser.js +8 -0
- package/dist/client/index.d.ts +58 -11
- package/dist/client/index.js +11 -3
- package/dist/client/package.json +1 -1
- package/dist/client/schema.prisma +10 -2
- package/dist/client/wasm.js +8 -0
- package/package.json +1 -1
package/dist/client/package.json
CHANGED
|
@@ -155,7 +155,7 @@ type MissionRoleAvailability {
|
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
type MissionRoleCustomQuestion {
|
|
158
|
-
id String
|
|
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
|
|
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])
|
package/dist/client/wasm.js
CHANGED
|
@@ -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',
|