@a_team/prisma 1.0.13 → 1.0.15

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.13",
3
+ "version": "1.0.15",
4
4
  "keywords": [],
5
5
  "scripts": {
6
6
  "generate": "npx prisma generate",
@@ -1,10 +1,14 @@
1
1
  type StructuredEnrichment {
2
- name String?
3
- countryCode String?
4
- city String?
5
- timezone String?
6
- companyStage String?
7
- logoURL String?
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?
8
12
  }
9
13
 
10
14
  type CompanyEnrichment {
@@ -12,14 +16,15 @@ type CompanyEnrichment {
12
16
  }
13
17
 
14
18
  model Company {
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
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?
23
28
 
24
29
  @@index([name, createdAt], map: "name_1_createdAt_-1")
25
30
  @@index([url], map: "url_1")
@@ -4,6 +4,7 @@ model User {
4
4
  lastName String?
5
5
  username String? @unique(map: "username_1")
6
6
  email String? @unique(map: "email_1")
7
+ isAdmin Boolean? @default(false)
7
8
  createdMissionsModels Mission[] @relation("creator")
8
9
  ownedMissionsModels Mission[] @relation("ownerModel")
9
10
  type String