@a_team/prisma 3.12.1-win → 3.12.2-linux

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-af36fd2a00ac4ab3b6d0aa79319018c0cd9388f2644c7824b76b95d7102f4ad6",
2
+ "name": "prisma-client-2e3bca6f792e57183ce4aa4e398bfe7f2a78fc2336ff0e5f319b8d8b096258a0",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -1042,39 +1042,42 @@ type ClientRoleQuestion {
1042
1042
  }
1043
1043
 
1044
1044
  model Proposal {
1045
- id String @id @default(auto()) @map("_id") @db.ObjectId
1046
- createdById String? @db.ObjectId
1047
- createdBy User? @relation(fields: [createdById], references: [id], name: "createdBy")
1048
- missionId String? @db.ObjectId
1049
- mission Mission? @relation(fields: [missionId], references: [mid])
1050
- createdAt DateTime? @default(now()) @db.Date
1051
- updatedAt DateTime? @updatedAt @db.Date
1052
- expiresAt DateTime? @db.Date
1053
- clientName String?
1054
- projectName String?
1055
- webflowId String?
1056
- publicURL String?
1057
- isShared Boolean?
1058
- sharedById String? @db.ObjectId
1059
- sharedBy User? @relation(fields: [sharedById], references: [id], name: "sharedBy")
1060
- sharedAt DateTime? @db.Date
1061
- archivedURL String?
1062
- schemaVersion ProposalSchemaVersion @default(v1)
1063
- templateMap ProposalTemplateMap?
1064
- template ProposalTemplate?
1065
- version Int?
1066
- publicUntil DateTime? @db.Date
1067
- missionSpecId String? @db.ObjectId
1068
- missionSpec MissionSpec? @relation(fields: [missionSpecId], references: [id])
1069
- applications String[] @db.ObjectId
1070
- adminReview ProposalReview?
1071
- candidates ProposalCandidate[]
1072
- currency String?
1073
- teamProposal Boolean?
1074
- rolesData ProposalRoleData[]
1075
- name String?
1076
- slug String?
1077
- teamBlurb String?
1045
+ id String @id @default(auto()) @map("_id") @db.ObjectId
1046
+ createdById String? @db.ObjectId
1047
+ createdBy User? @relation(fields: [createdById], references: [id], name: "createdBy")
1048
+ missionId String? @db.ObjectId
1049
+ mission Mission? @relation(fields: [missionId], references: [mid])
1050
+ createdAt DateTime? @default(now()) @db.Date
1051
+ updatedAt DateTime? @updatedAt @db.Date
1052
+ expiresAt DateTime? @db.Date
1053
+ clientName String?
1054
+ projectName String?
1055
+ webflowId String?
1056
+ publicURL String?
1057
+ isShared Boolean?
1058
+ sharedById String? @db.ObjectId
1059
+ sharedBy User? @relation(fields: [sharedById], references: [id], name: "sharedBy")
1060
+ sharedAt DateTime? @db.Date
1061
+ archivedURL String?
1062
+ schemaVersion ProposalSchemaVersion @default(v1)
1063
+ templateMap ProposalTemplateMap?
1064
+ template ProposalTemplate?
1065
+ version Int?
1066
+ publicUntil DateTime? @db.Date
1067
+ missionSpecId String? @db.ObjectId
1068
+ missionSpec MissionSpec? @relation(fields: [missionSpecId], references: [id])
1069
+ applications String[] @db.ObjectId
1070
+ adminReview ProposalReview?
1071
+ candidates ProposalCandidate[]
1072
+ currency String?
1073
+ teamProposal Boolean?
1074
+ rolesData ProposalRoleData[]
1075
+ name String?
1076
+ slug String?
1077
+ teamBlurb String?
1078
+ teamAdvisorId String? @db.ObjectId
1079
+ teamAdvisor User? @relation(fields: [teamAdvisorId], references: [id], name: "teamAdvisor")
1080
+
1078
1081
  clientInterviews ClientInterview[]
1079
1082
 
1080
1083
  @@map("proposals")
@@ -1083,6 +1086,7 @@ model Proposal {
1083
1086
  enum ProposalSchemaVersion {
1084
1087
  v1
1085
1088
  v2
1089
+ v3
1086
1090
  }
1087
1091
 
1088
1092
  enum ProposalTemplate {
@@ -1412,6 +1416,7 @@ model User {
1412
1416
  rescheduledInterviews CalendarEvent[] @relation("reschedulingUser")
1413
1417
  clientInterviews ClientInterview[] @relation("clientInterviews")
1414
1418
  builderInterviews ClientInterview[] @relation("builderInterviews")
1419
+ proposalsAsTeamAdvisor Proposal[] @relation("teamAdvisor")
1415
1420
 
1416
1421
  @@map("users")
1417
1422
  }
@@ -409,7 +409,8 @@ exports.Prisma.ProposalScalarFieldEnum = {
409
409
  teamProposal: 'teamProposal',
410
410
  name: 'name',
411
411
  slug: 'slug',
412
- teamBlurb: 'teamBlurb'
412
+ teamBlurb: 'teamBlurb',
413
+ teamAdvisorId: 'teamAdvisorId'
413
414
  };
414
415
 
415
416
  exports.Prisma.RoleCategoryScalarFieldEnum = {
@@ -598,7 +599,8 @@ exports.MissionSpecStatus = exports.$Enums.MissionSpecStatus = {
598
599
 
599
600
  exports.ProposalSchemaVersion = exports.$Enums.ProposalSchemaVersion = {
600
601
  v1: 'v1',
601
- v2: 'v2'
602
+ v2: 'v2',
603
+ v3: 'v3'
602
604
  };
603
605
 
604
606
  exports.ProposalTemplate = exports.$Enums.ProposalTemplate = {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.12.1-win",
3
+ "version": "3.12.2-linux",
4
4
  "os": [
5
- "win32"
5
+ "linux"
6
6
  ],
7
7
  "cpu": [],
8
8
  "keywords": [],