@creator.co/creatorco-prisma-client 1.0.42-alpha-60c9b5d → 1.0.42
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 +6 -5
- package/index-browser.js +2 -1
- package/index.d.ts +624 -25
- package/index.js +6 -5
- package/package.json +1 -1
- package/schema.prisma +11 -7
- package/wasm.js +2 -1
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -525,11 +525,12 @@ model Campaign {
|
|
|
525
525
|
campaignToShopifyProducts CampaignToShopifyProduct[]
|
|
526
526
|
campaignToBrandAffiliateLinks CampaignToBrandAffiliateLink[]
|
|
527
527
|
|
|
528
|
-
brandId
|
|
529
|
-
brand
|
|
530
|
-
creatorLists
|
|
531
|
-
optInViews
|
|
532
|
-
sequences
|
|
528
|
+
brandId Int
|
|
529
|
+
brand Brand @relation(fields: [brandId], references: [id], onDelete: Cascade)
|
|
530
|
+
creatorLists CreatorList[]
|
|
531
|
+
optInViews OptInView[]
|
|
532
|
+
sequences Sequence[]
|
|
533
|
+
ExternalAffiliateClick ExternalAffiliateClick[]
|
|
533
534
|
|
|
534
535
|
@@index([brandId])
|
|
535
536
|
@@index([sfSyncDate])
|
|
@@ -992,8 +993,11 @@ model ExternalAffiliateClick {
|
|
|
992
993
|
linkUrl String
|
|
993
994
|
metaData Json @default("{}")
|
|
994
995
|
|
|
995
|
-
optInId
|
|
996
|
-
|
|
996
|
+
optInId Int
|
|
997
|
+
campaignId Int
|
|
998
|
+
|
|
999
|
+
optin OptIn @relation(fields: [optInId], references: [id])
|
|
1000
|
+
campaign Campaign @relation(fields: [campaignId], references: [id])
|
|
997
1001
|
|
|
998
1002
|
@@index([optInId])
|
|
999
1003
|
@@map("external_affiliate_click")
|
package/wasm.js
CHANGED
|
@@ -701,7 +701,8 @@ exports.Prisma.ExternalAffiliateClickScalarFieldEnum = {
|
|
|
701
701
|
ipv6: 'ipv6',
|
|
702
702
|
linkUrl: 'linkUrl',
|
|
703
703
|
metaData: 'metaData',
|
|
704
|
-
optInId: 'optInId'
|
|
704
|
+
optInId: 'optInId',
|
|
705
|
+
campaignId: 'campaignId'
|
|
705
706
|
};
|
|
706
707
|
|
|
707
708
|
exports.Prisma.BrandAffiliateLinkScalarFieldEnum = {
|