@a_team/prisma 1.0.12 → 1.0.13

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.13",
4
4
  "keywords": [],
5
5
  "scripts": {
6
6
  "generate": "npx prisma generate",
@@ -1,11 +1,25 @@
1
+ type StructuredEnrichment {
2
+ name String?
3
+ countryCode String?
4
+ city String?
5
+ timezone String?
6
+ companyStage String?
7
+ logoURL String?
8
+ }
9
+
10
+ type CompanyEnrichment {
11
+ structured StructuredEnrichment?
12
+ }
13
+
1
14
  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
15
+ id String @id @default(auto()) @map("_id") @db.ObjectId
16
+ accounts Account[]
17
+ name String
18
+ url String
19
+ enrichment CompanyEnrichment
20
+ createdBy String? @db.ObjectId
21
+ createdAt DateTime? @db.Date
22
+ updatedAt DateTime? @db.Date
9
23
 
10
24
  @@index([name, createdAt], map: "name_1_createdAt_-1")
11
25
  @@index([url], map: "url_1")