@creator.co/creatorco-prisma-client 1.0.51 → 1.0.53
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/edge.js +7 -7
- package/index-browser.js +3 -3
- package/index.d.ts +959 -959
- package/index.js +7 -7
- package/package.json +1 -1
- package/schema.prisma +6 -4
- package/wasm.js +3 -3
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -71,7 +71,7 @@ model User {
|
|
|
71
71
|
socialProfiles SocialProfile[]
|
|
72
72
|
rakutenActivity RakutenActivity[]
|
|
73
73
|
impactRadiusEvents ImpactRadiusEvent[]
|
|
74
|
-
cjEvents
|
|
74
|
+
cjEvents CjEvent[]
|
|
75
75
|
flagsAssigned CreatorFlag[] @relation("UserAssignedFlags") // flags assigned to the user
|
|
76
76
|
flagsCreated CreatorFlag[] @relation("UserCreatedFlags") // flags created by the user
|
|
77
77
|
flagsEdited CreatorFlag[] @relation("UserEditedFlags") // flags edited by the user
|
|
@@ -349,7 +349,7 @@ model Brand {
|
|
|
349
349
|
creatorsearchfilter CreatorSearchFilter[]
|
|
350
350
|
sequences Sequence[]
|
|
351
351
|
impactRadiusEvents ImpactRadiusEvent[]
|
|
352
|
-
cjEvents
|
|
352
|
+
cjEvents CjEvent[]
|
|
353
353
|
shopifyStores ShopifyStore[]
|
|
354
354
|
productLists ProductList[]
|
|
355
355
|
|
|
@@ -787,7 +787,7 @@ model OptIn {
|
|
|
787
787
|
productListItems OptinToProductListItem[]
|
|
788
788
|
ExternalAffiliateClick ExternalAffiliateClick[]
|
|
789
789
|
ImpactRadiusEvent ImpactRadiusEvent[]
|
|
790
|
-
|
|
790
|
+
CjEvent CjEvent[]
|
|
791
791
|
ShareASaleEvents ShareASaleEvent[]
|
|
792
792
|
shopifyDiscountCodes ShopifyDiscountCode[]
|
|
793
793
|
|
|
@@ -1291,7 +1291,7 @@ model ImpactRadiusEvent {
|
|
|
1291
1291
|
optIn OptIn? @relation(fields: [optInId], references: [id])
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
|
-
model
|
|
1294
|
+
model CjEvent {
|
|
1295
1295
|
id Int @id @default(autoincrement())
|
|
1296
1296
|
type String // action/click
|
|
1297
1297
|
created DateTime @default(now())
|
|
@@ -1306,6 +1306,8 @@ model CJEvent {
|
|
|
1306
1306
|
user User @relation(fields: [userId], references: [id])
|
|
1307
1307
|
brand Brand? @relation(fields: [brandId], references: [id])
|
|
1308
1308
|
optIn OptIn? @relation(fields: [optInId], references: [id])
|
|
1309
|
+
|
|
1310
|
+
@@map("cjevent")
|
|
1309
1311
|
}
|
|
1310
1312
|
|
|
1311
1313
|
model ShareASaleEvent {
|
package/wasm.js
CHANGED
|
@@ -884,7 +884,7 @@ exports.Prisma.ImpactRadiusEventScalarFieldEnum = {
|
|
|
884
884
|
optInId: 'optInId'
|
|
885
885
|
};
|
|
886
886
|
|
|
887
|
-
exports.Prisma.
|
|
887
|
+
exports.Prisma.CjEventScalarFieldEnum = {
|
|
888
888
|
id: 'id',
|
|
889
889
|
type: 'type',
|
|
890
890
|
created: 'created',
|
|
@@ -1372,7 +1372,7 @@ exports.Prisma.ImpactRadiusEventOrderByRelevanceFieldEnum = {
|
|
|
1372
1372
|
type: 'type'
|
|
1373
1373
|
};
|
|
1374
1374
|
|
|
1375
|
-
exports.Prisma.
|
|
1375
|
+
exports.Prisma.CjEventOrderByRelevanceFieldEnum = {
|
|
1376
1376
|
type: 'type'
|
|
1377
1377
|
};
|
|
1378
1378
|
|
|
@@ -1502,7 +1502,7 @@ exports.Prisma.ModelName = {
|
|
|
1502
1502
|
OptInView: 'OptInView',
|
|
1503
1503
|
RakutenActivity: 'RakutenActivity',
|
|
1504
1504
|
ImpactRadiusEvent: 'ImpactRadiusEvent',
|
|
1505
|
-
|
|
1505
|
+
CjEvent: 'CjEvent',
|
|
1506
1506
|
ShareASaleEvent: 'ShareASaleEvent',
|
|
1507
1507
|
CreatorSearchFilter: 'CreatorSearchFilter',
|
|
1508
1508
|
Sequence: 'Sequence',
|