@a_team/prisma 1.0.12 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "keywords": [],
5
5
  "scripts": {
6
6
  "generate": "npx prisma generate",
@@ -1,11 +1,30 @@
1
+ type StructuredEnrichment {
2
+ name String?
3
+ countryCode String?
4
+ city String?
5
+ timezone String?
6
+ industries String[] @db.ObjectId
7
+ companyStage String?
8
+ logoUrl String?
9
+ employeeRange String?
10
+ fundingRange String?
11
+ revenueRange String?
12
+ }
13
+
14
+ type CompanyEnrichment {
15
+ structured StructuredEnrichment?
16
+ }
17
+
1
18
  model Company {
2
- id String @id @default(auto()) @map("_id") @db.ObjectId
3
- accounts Account[]
4
- createdBy String? @db.ObjectId
5
- createdAt DateTime? @db.Date
6
- updatedAt DateTime? @db.Date
7
- name String
8
- url String
19
+ id String @id @default(auto()) @map("_id") @db.ObjectId
20
+ accounts Account[]
21
+ name String
22
+ url String
23
+ enrichment CompanyEnrichment
24
+ createdBy String? @db.ObjectId
25
+ createdAt DateTime? @db.Date
26
+ updatedAt DateTime? @db.Date
27
+ requiresDeepEnrichment Boolean?
9
28
 
10
29
  @@index([name, createdAt], map: "name_1_createdAt_-1")
11
30
  @@index([url], map: "url_1")