@a_team/prisma 2.1.7 → 2.1.8
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 +5 -17
- package/dist/client/index-browser.js +0 -12
- package/dist/client/index.d.ts +85 -173
- package/dist/client/index.js +5 -17
- package/dist/client/package.json +1 -1
- package/dist/client/schema.prisma +3 -15
- package/dist/client/wasm.js +0 -12
- package/package.json +1 -1
package/dist/client/package.json
CHANGED
|
@@ -297,8 +297,8 @@ model Mission {
|
|
|
297
297
|
mainManagerUserId String?
|
|
298
298
|
managers MissionsManager[]
|
|
299
299
|
migrations String[]
|
|
300
|
-
missionSpecId String
|
|
301
|
-
missionSpec MissionSpec
|
|
300
|
+
missionSpecId String @unique @db.ObjectId
|
|
301
|
+
missionSpec MissionSpec @relation(fields: [missionSpecId], references: [id])
|
|
302
302
|
owner String? @db.ObjectId
|
|
303
303
|
ownerModel User? @relation("ownerModel", fields: [owner], references: [id])
|
|
304
304
|
promotedTags String[]
|
|
@@ -309,7 +309,7 @@ model Mission {
|
|
|
309
309
|
setAsScheduledToEndAt DateTime? @db.Date
|
|
310
310
|
shortCompanyDescription String?
|
|
311
311
|
skipContracts Boolean?
|
|
312
|
-
status
|
|
312
|
+
status String
|
|
313
313
|
talentIndustries String[]
|
|
314
314
|
testing MissionsTesting?
|
|
315
315
|
title String
|
|
@@ -325,18 +325,6 @@ model Mission {
|
|
|
325
325
|
@@map("missions")
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
enum MissionStatus {
|
|
329
|
-
Spec
|
|
330
|
-
Formation
|
|
331
|
-
Created
|
|
332
|
-
Published
|
|
333
|
-
Pending
|
|
334
|
-
Running
|
|
335
|
-
ScheduledToEnd
|
|
336
|
-
Ended
|
|
337
|
-
Archived
|
|
338
|
-
}
|
|
339
|
-
|
|
340
328
|
model MissionSpec {
|
|
341
329
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
342
330
|
account Account? @relation(fields: [accountId], references: [id])
|
package/dist/client/wasm.js
CHANGED
|
@@ -310,18 +310,6 @@ exports.ContractSource = exports.$Enums.ContractSource = {
|
|
|
310
310
|
ATeamGenerated: 'ATeamGenerated'
|
|
311
311
|
};
|
|
312
312
|
|
|
313
|
-
exports.MissionStatus = exports.$Enums.MissionStatus = {
|
|
314
|
-
Spec: 'Spec',
|
|
315
|
-
Formation: 'Formation',
|
|
316
|
-
Created: 'Created',
|
|
317
|
-
Published: 'Published',
|
|
318
|
-
Pending: 'Pending',
|
|
319
|
-
Running: 'Running',
|
|
320
|
-
ScheduledToEnd: 'ScheduledToEnd',
|
|
321
|
-
Ended: 'Ended',
|
|
322
|
-
Archived: 'Archived'
|
|
323
|
-
};
|
|
324
|
-
|
|
325
313
|
exports.MissionSpecStatus = exports.$Enums.MissionSpecStatus = {
|
|
326
314
|
spec: 'spec',
|
|
327
315
|
formation: 'formation',
|