@creator.co/creatorco-prisma-client 1.0.10 → 1.0.12

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
@@ -5,5 +5,5 @@
5
5
  "browser": "index-browser.js",
6
6
  "sideEffects": false,
7
7
  "description": "Prisma client for creatorco Database",
8
- "version": "1.0.10"
8
+ "version": "1.0.12"
9
9
  }
package/schema.prisma CHANGED
@@ -18,7 +18,7 @@ generator client {
18
18
  output = "../../client/creatorco/client"
19
19
  previewFeatures = ["fullTextIndex", "fullTextSearch"]
20
20
  // macos (arm or x86), native, linux arm64 ssl3.x, windows
21
- binaryTargets = ["native", "darwin", "darwin-arm64", "linux-arm64-openssl-3.0.x", "windows", "debian-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"]
21
+ binaryTargets = ["native", "darwin", "darwin-arm64", "linux-arm64-openssl-3.0.x", "windows", "debian-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x", "linux-arm64-openssl-1.0.x"]
22
22
  }
23
23
 
24
24
  datasource db {
@@ -333,6 +333,7 @@ model Brand {
333
333
  socialListeningLists SocialListeningList[]
334
334
  campaignInvites CampaignInvite[]
335
335
  images BrandToImage[]
336
+ creatorsearchfilter CreatorSearchFilter[]
336
337
 
337
338
  // for agencies
338
339
  parentBrandId Int?
@@ -1065,3 +1066,14 @@ model SlowQueries {
1065
1066
 
1066
1067
  @@map("slow_queries")
1067
1068
  }
1069
+
1070
+ model CreatorSearchFilter {
1071
+ id Int @id @default(autoincrement())
1072
+ brandId Int
1073
+ title String
1074
+ filters Json @default("{}")
1075
+ createdAt DateTime @default(now())
1076
+ updatedAt DateTime?
1077
+ brand Brand @relation(fields: [brandId], references: [id], onDelete: Cascade)
1078
+ @@map("creatorsearchfilter")
1079
+ }