@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.
- package/dist/client/edge.js +8 -6
- package/dist/client/index-browser.js +4 -2
- package/dist/client/index.d.ts +682 -2
- package/dist/client/index.js +10 -8
- package/dist/client/{query_engine-windows.dll.node → libquery_engine-linux-musl-openssl-3.0.x.so.node} +0 -0
- package/dist/client/package.json +1 -1
- package/dist/client/schema.prisma +38 -33
- package/dist/client/wasm.js +4 -2
- package/package.json +2 -2
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -1042,39 +1042,42 @@ type ClientRoleQuestion {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
1044
|
model Proposal {
|
|
1045
|
-
id
|
|
1046
|
-
createdById
|
|
1047
|
-
createdBy
|
|
1048
|
-
missionId
|
|
1049
|
-
mission
|
|
1050
|
-
createdAt
|
|
1051
|
-
updatedAt
|
|
1052
|
-
expiresAt
|
|
1053
|
-
clientName
|
|
1054
|
-
projectName
|
|
1055
|
-
webflowId
|
|
1056
|
-
publicURL
|
|
1057
|
-
isShared
|
|
1058
|
-
sharedById
|
|
1059
|
-
sharedBy
|
|
1060
|
-
sharedAt
|
|
1061
|
-
archivedURL
|
|
1062
|
-
schemaVersion
|
|
1063
|
-
templateMap
|
|
1064
|
-
template
|
|
1065
|
-
version
|
|
1066
|
-
publicUntil
|
|
1067
|
-
missionSpecId
|
|
1068
|
-
missionSpec
|
|
1069
|
-
applications
|
|
1070
|
-
adminReview
|
|
1071
|
-
candidates
|
|
1072
|
-
currency
|
|
1073
|
-
teamProposal
|
|
1074
|
-
rolesData
|
|
1075
|
-
name
|
|
1076
|
-
slug
|
|
1077
|
-
teamBlurb
|
|
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
|
}
|
package/dist/client/wasm.js
CHANGED
|
@@ -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 = {
|