@a_team/prisma 2.1.13 → 2.1.15
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 +17 -5
- package/dist/client/index-browser.js +14 -2
- package/dist/client/index.d.ts +840 -523
- package/dist/client/index.js +17 -5
- package/dist/client/package.json +1 -1
- package/dist/client/schema.prisma +37 -12
- package/dist/client/wasm.js +14 -2
- package/package.json +1 -1
package/dist/client/package.json
CHANGED
|
@@ -345,7 +345,7 @@ enum MissionRoleStatus {
|
|
|
345
345
|
Ended
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
model
|
|
348
|
+
model MissionPrefill {
|
|
349
349
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
350
350
|
userId String @db.ObjectId
|
|
351
351
|
missionName String?
|
|
@@ -360,7 +360,7 @@ model MissionPreFill {
|
|
|
360
360
|
|
|
361
361
|
user User @relation(fields: [userId], references: [id], name: "user")
|
|
362
362
|
|
|
363
|
-
@@map("
|
|
363
|
+
@@map("missionPrefills")
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
model MissionSpec {
|
|
@@ -517,24 +517,49 @@ model TalentIndustry {
|
|
|
517
517
|
@@map("talentIndustries")
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
+
enum RegisterRequestType {
|
|
521
|
+
SUPERCHARGE
|
|
522
|
+
BUILD_PRODUCT
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
enum HiringTimeline {
|
|
526
|
+
immediate
|
|
527
|
+
next_month
|
|
528
|
+
within_3_months
|
|
529
|
+
exploring
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
type ClientRegistration {
|
|
533
|
+
emailVerified Boolean?
|
|
534
|
+
signupCompany String? @db.ObjectId
|
|
535
|
+
companyQualified Boolean?
|
|
536
|
+
requestType RegisterRequestType?
|
|
537
|
+
requestSolution String?
|
|
538
|
+
requestRoles String[]
|
|
539
|
+
requestHelp String?
|
|
540
|
+
howDidYouHear String?
|
|
541
|
+
hiringTimeline HiringTimeline?
|
|
542
|
+
}
|
|
543
|
+
|
|
520
544
|
model User {
|
|
521
|
-
id String
|
|
545
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
522
546
|
firstName String?
|
|
523
547
|
lastName String?
|
|
524
|
-
username String?
|
|
525
|
-
email String?
|
|
526
|
-
isAdmin Boolean
|
|
527
|
-
createdMissionsModels Mission[]
|
|
528
|
-
ownedMissionsModels Mission[]
|
|
548
|
+
username String? @unique(map: "username_1")
|
|
549
|
+
email String? @unique(map: "email_1")
|
|
550
|
+
isAdmin Boolean @default(false)
|
|
551
|
+
createdMissionsModels Mission[] @relation("creator")
|
|
552
|
+
ownedMissionsModels Mission[] @relation("ownerModel")
|
|
529
553
|
type String
|
|
530
554
|
pictureURL String?
|
|
531
555
|
status String
|
|
532
|
-
createdAt DateTime
|
|
556
|
+
createdAt DateTime @db.Date
|
|
533
557
|
titles String[]
|
|
534
558
|
scrubbed String?
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
559
|
+
clientRegistration ClientRegistration?
|
|
560
|
+
authoredMissionSpecs MissionSpec[] @relation("author")
|
|
561
|
+
modifiedMissionSpecs MissionSpec[] @relation("lastModifier")
|
|
562
|
+
missionPrefills MissionPrefill[] @relation("user")
|
|
538
563
|
|
|
539
564
|
@@map("users")
|
|
540
565
|
}
|
package/dist/client/wasm.js
CHANGED
|
@@ -203,7 +203,7 @@ exports.Prisma.MissionScalarFieldEnum = {
|
|
|
203
203
|
timezone: 'timezone'
|
|
204
204
|
};
|
|
205
205
|
|
|
206
|
-
exports.Prisma.
|
|
206
|
+
exports.Prisma.MissionPrefillScalarFieldEnum = {
|
|
207
207
|
id: 'id',
|
|
208
208
|
userId: 'userId',
|
|
209
209
|
missionName: 'missionName',
|
|
@@ -344,13 +344,25 @@ exports.MissionRoleStatus = exports.$Enums.MissionRoleStatus = {
|
|
|
344
344
|
Ended: 'Ended'
|
|
345
345
|
};
|
|
346
346
|
|
|
347
|
+
exports.RegisterRequestType = exports.$Enums.RegisterRequestType = {
|
|
348
|
+
SUPERCHARGE: 'SUPERCHARGE',
|
|
349
|
+
BUILD_PRODUCT: 'BUILD_PRODUCT'
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
exports.HiringTimeline = exports.$Enums.HiringTimeline = {
|
|
353
|
+
immediate: 'immediate',
|
|
354
|
+
next_month: 'next_month',
|
|
355
|
+
within_3_months: 'within_3_months',
|
|
356
|
+
exploring: 'exploring'
|
|
357
|
+
};
|
|
358
|
+
|
|
347
359
|
exports.Prisma.ModelName = {
|
|
348
360
|
Account: 'Account',
|
|
349
361
|
ClientCompany: 'ClientCompany',
|
|
350
362
|
Company: 'Company',
|
|
351
363
|
Contract: 'Contract',
|
|
352
364
|
Mission: 'Mission',
|
|
353
|
-
|
|
365
|
+
MissionPrefill: 'MissionPrefill',
|
|
354
366
|
MissionSpec: 'MissionSpec',
|
|
355
367
|
RoleCategory: 'RoleCategory',
|
|
356
368
|
TalentCategory: 'TalentCategory',
|