@creator.co/creatorco-prisma-client 1.0.42-alpha-60c9b5d → 1.0.43
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 -5
- package/index-browser.js +3 -1
- package/index.d.ts +675 -25
- package/index.js +7 -5
- package/package.json +1 -1
- package/schema.prisma +12 -7
- package/wasm.js +3 -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])
|
|
@@ -844,6 +845,7 @@ model SocialPost {
|
|
|
844
845
|
isOwnedByUser Boolean?
|
|
845
846
|
// METRICS
|
|
846
847
|
views Int?
|
|
848
|
+
replays Int?
|
|
847
849
|
impressions Int?
|
|
848
850
|
impressionsOrganic Int?
|
|
849
851
|
impressionsPaid Int?
|
|
@@ -992,8 +994,11 @@ model ExternalAffiliateClick {
|
|
|
992
994
|
linkUrl String
|
|
993
995
|
metaData Json @default("{}")
|
|
994
996
|
|
|
995
|
-
optInId
|
|
996
|
-
|
|
997
|
+
optInId Int
|
|
998
|
+
campaignId Int
|
|
999
|
+
|
|
1000
|
+
optin OptIn @relation(fields: [optInId], references: [id])
|
|
1001
|
+
campaign Campaign @relation(fields: [campaignId], references: [id])
|
|
997
1002
|
|
|
998
1003
|
@@index([optInId])
|
|
999
1004
|
@@map("external_affiliate_click")
|
package/wasm.js
CHANGED
|
@@ -600,6 +600,7 @@ exports.Prisma.SocialPostScalarFieldEnum = {
|
|
|
600
600
|
hasCollaborators: 'hasCollaborators',
|
|
601
601
|
isOwnedByUser: 'isOwnedByUser',
|
|
602
602
|
views: 'views',
|
|
603
|
+
replays: 'replays',
|
|
603
604
|
impressions: 'impressions',
|
|
604
605
|
impressionsOrganic: 'impressionsOrganic',
|
|
605
606
|
impressionsPaid: 'impressionsPaid',
|
|
@@ -701,7 +702,8 @@ exports.Prisma.ExternalAffiliateClickScalarFieldEnum = {
|
|
|
701
702
|
ipv6: 'ipv6',
|
|
702
703
|
linkUrl: 'linkUrl',
|
|
703
704
|
metaData: 'metaData',
|
|
704
|
-
optInId: 'optInId'
|
|
705
|
+
optInId: 'optInId',
|
|
706
|
+
campaignId: 'campaignId'
|
|
705
707
|
};
|
|
706
708
|
|
|
707
709
|
exports.Prisma.BrandAffiliateLinkScalarFieldEnum = {
|