@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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-5cbfaed8af3609ab60a205185b6ba19525a108f8740f3c8fd5c285428777e120",
2
+ "name": "prisma-client-afd421b261d897172b3d16d2d7d7f7fc611bc2555d0fb1296912291df79744f8",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -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 @id @default(auto()) @map("_id") @db.ObjectId
545
+ id String @id @default(auto()) @map("_id") @db.ObjectId
522
546
  firstName String?
523
547
  lastName String?
524
- username String? @unique(map: "username_1")
525
- email String? @unique(map: "email_1")
526
- isAdmin Boolean @default(false)
527
- createdMissionsModels Mission[] @relation("creator")
528
- ownedMissionsModels Mission[] @relation("ownerModel")
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 @db.Date
556
+ createdAt DateTime @db.Date
533
557
  titles String[]
534
558
  scrubbed String?
535
- authoredMissionSpecs MissionSpec[] @relation("author")
536
- modifiedMissionSpecs MissionSpec[] @relation("lastModifier")
537
- missionPrefills MissionPrefill[] @relation("user")
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
  }
@@ -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',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "2.1.14",
3
+ "version": "2.1.15",
4
4
  "keywords": [],
5
5
  "scripts": {
6
6
  "build": "rm -rf ./dist & npm run generate & tsc",