@a_team/prisma 2.1.14 → 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 +15 -3
- package/dist/client/index-browser.js +12 -0
- package/dist/client/index.d.ts +318 -1
- package/dist/client/index.js +15 -3
- package/dist/client/package.json +1 -1
- package/dist/client/schema.prisma +35 -10
- package/dist/client/wasm.js +12 -0
- package/package.json +1 -1
package/dist/client/package.json
CHANGED
|
@@ -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
|
@@ -344,6 +344,18 @@ 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',
|