@a_team/prisma 3.1.1-macos → 3.2.0-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 +6 -5
- package/dist/client/index-browser.js +2 -1
- package/dist/client/index.d.ts +394 -33
- package/dist/client/index.js +8 -7
- package/dist/client/{libquery_engine-darwin-arm64.dylib.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 +3 -0
- package/dist/client/wasm.js +2 -1
- package/package.json +3 -5
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -26,6 +26,7 @@ model Account {
|
|
|
26
26
|
migrations String[]
|
|
27
27
|
missions Mission[]
|
|
28
28
|
missionSpecs MissionSpec[]
|
|
29
|
+
contracts Contract[]
|
|
29
30
|
|
|
30
31
|
@@map("accounts")
|
|
31
32
|
}
|
|
@@ -105,6 +106,8 @@ model Contract {
|
|
|
105
106
|
pandadocMetadata PandadocMetadata?
|
|
106
107
|
source ContractSource?
|
|
107
108
|
documentTitle String?
|
|
109
|
+
accountId String? @map("account") @db.ObjectId
|
|
110
|
+
account Account? @relation(fields: [accountId], references: [id])
|
|
108
111
|
|
|
109
112
|
@@index([type, missionId, role, createdAt], map: "type_1_mission_1_role_1_createdAt_-1")
|
|
110
113
|
@@index([parties.user, status, createdAt], map: "parties.user_1_status_1_createdAt_1")
|
package/dist/client/wasm.js
CHANGED
|
@@ -157,7 +157,8 @@ exports.Prisma.ContractScalarFieldEnum = {
|
|
|
157
157
|
role: 'role',
|
|
158
158
|
custom: 'custom',
|
|
159
159
|
source: 'source',
|
|
160
|
-
documentTitle: 'documentTitle'
|
|
160
|
+
documentTitle: 'documentTitle',
|
|
161
|
+
accountId: 'accountId'
|
|
161
162
|
};
|
|
162
163
|
|
|
163
164
|
exports.Prisma.MissionScalarFieldEnum = {
|
package/package.json
CHANGED