@a_team/prisma 3.1.1-win → 3.1.2-linux-debian
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/README.md +19 -2
- package/dist/client/edge.js +6 -5
- package/dist/client/index-browser.js +2 -1
- package/dist/client/index.d.ts +614 -33
- package/dist/client/index.js +8 -7
- package/dist/client/{query_engine-windows.dll.node → libquery_engine-debian-openssl-3.0.x.so.node} +0 -0
- package/dist/client/package.json +1 -1
- package/dist/client/schema.prisma +13 -0
- package/dist/client/wasm.js +2 -1
- package/package.json +2 -2
package/dist/client/{query_engine-windows.dll.node → libquery_engine-debian-openssl-3.0.x.so.node}
RENAMED
|
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
|
}
|
|
@@ -70,8 +71,18 @@ type StructuredEnrichment {
|
|
|
70
71
|
revenueRange String?
|
|
71
72
|
}
|
|
72
73
|
|
|
74
|
+
type ClearbitEnrichment {
|
|
75
|
+
data Json?
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
type AppoloEnrichment {
|
|
79
|
+
data Json?
|
|
80
|
+
}
|
|
81
|
+
|
|
73
82
|
type CompanyEnrichment {
|
|
74
83
|
structured StructuredEnrichment?
|
|
84
|
+
clearbit ClearbitEnrichment?
|
|
85
|
+
apollo AppoloEnrichment?
|
|
75
86
|
}
|
|
76
87
|
|
|
77
88
|
model Company {
|
|
@@ -105,6 +116,8 @@ model Contract {
|
|
|
105
116
|
pandadocMetadata PandadocMetadata?
|
|
106
117
|
source ContractSource?
|
|
107
118
|
documentTitle String?
|
|
119
|
+
accountId String? @map("account") @db.ObjectId
|
|
120
|
+
account Account? @relation(fields: [accountId], references: [id])
|
|
108
121
|
|
|
109
122
|
@@index([type, missionId, role, createdAt], map: "type_1_mission_1_role_1_createdAt_-1")
|
|
110
123
|
@@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 = {
|