@a_team/prisma 3.1.1-win → 3.1.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-3186fed3de00e9390c0aa107afaf074dcfca5b88a0b237b0e12d0148f5482d8d",
2
+ "name": "prisma-client-2c4b3a7fe8fda8e2afd3ccee6d3ca443d05469a8a740bbcba2a4680004836bbd",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -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")
@@ -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
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.1.1-win",
3
+ "version": "3.1.2-linux",
4
4
  "os": [
5
- "win32"
5
+ "linux"
6
6
  ],
7
7
  "cpu": [],
8
8
  "keywords": [],