@creator.co/creatorco-prisma-client 1.0.20-alpha-995a7a0 → 1.0.21

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/schema.prisma CHANGED
@@ -10,7 +10,9 @@ generator kysely {
10
10
  fileName = "types.ts"
11
11
  enumFileName = "enums.ts"
12
12
  readOnlyIds = true
13
+ camelCase = true
13
14
  jsonTypeOverride = Json
15
+ previewFeatures = ["multiSchema"]
14
16
  }
15
17
 
16
18
  generator client {
@@ -341,7 +343,6 @@ model Brand {
341
343
  creatorsearchfilter CreatorSearchFilter[]
342
344
  sequences Sequence[]
343
345
  impactRadiusEvents ImpactRadiusEvent[]
344
- shopifyStores ShopifyStore[]
345
346
 
346
347
  // for agencies
347
348
  parentBrandId Int?
@@ -1220,43 +1221,4 @@ model SequenceImapCheckpoint {
1220
1221
 
1221
1222
  @@id([sequenceId, creatorListItemId])
1222
1223
  @@map("sequenceimapcheckpoint")
1223
- }
1224
-
1225
- model ShopifyStore {
1226
- id Int @id @default(autoincrement())
1227
- shopifyId String @unique
1228
- name String
1229
- url String
1230
- accessToken String
1231
- metaData Json @default("{}")
1232
-
1233
- brandId Int
1234
-
1235
- products ShopifyProduct[]
1236
-
1237
- brand Brand @relation(fields: [brandId], references: [id])
1238
-
1239
- @@map("shopify_store")
1240
- }
1241
- model ShopifyProduct {
1242
- id Int @id @default(autoincrement())
1243
- shopifyId String @unique
1244
- title String
1245
- handle String
1246
- createdAt DateTime?
1247
- updatedAt DateTime?
1248
-
1249
- description String? @db.Text
1250
- price Float
1251
- tags String? @db.Text
1252
- status String
1253
- metaData Json @default("{}")
1254
-
1255
- lastSynced DateTime @default(now())
1256
-
1257
- shopifyStoreId Int
1258
-
1259
- shopifyStore ShopifyStore @relation(fields: [shopifyStoreId], references: [id])
1260
-
1261
- @@map("shopify_product")
1262
1224
  }
package/default.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './index'
package/default.js DELETED
@@ -1 +0,0 @@
1
- module.exports = { ...require('./index.js') }