@creator.co/creatorco-prisma-client 1.0.18 → 1.0.19
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 +4 -17
- package/index-browser.js +0 -13
- package/index.d.ts +276 -1795
- package/index.js +4 -17
- package/package.json +1 -1
- package/schema.prisma +3 -17
- package/wasm.js +0 -13
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -707,11 +707,11 @@ model TrolleyPayment {
|
|
|
707
707
|
paymentId String @unique
|
|
708
708
|
type trolleyPaymentType?
|
|
709
709
|
status trolleyPaymentStatus
|
|
710
|
-
optInId Int
|
|
710
|
+
optInId Int?
|
|
711
711
|
paymentAmount Int
|
|
712
712
|
metaData Json @default("{}")
|
|
713
713
|
|
|
714
|
-
optIn OptIn
|
|
714
|
+
optIn OptIn? @relation(fields: [optInId], references:[id])
|
|
715
715
|
}
|
|
716
716
|
|
|
717
717
|
enum trolleyPaymentType {
|
|
@@ -787,8 +787,6 @@ model SocialPost {
|
|
|
787
787
|
campaign Campaign? @relation(fields: [campaignId], references: [id])
|
|
788
788
|
lists ListToSocialPost[]
|
|
789
789
|
|
|
790
|
-
socialPostTags SocialPostTag[]
|
|
791
|
-
|
|
792
790
|
@@index(campaignId)
|
|
793
791
|
@@index(userId)
|
|
794
792
|
@@index(posted)
|
|
@@ -796,19 +794,6 @@ model SocialPost {
|
|
|
796
794
|
@@map("socialpost")
|
|
797
795
|
}
|
|
798
796
|
|
|
799
|
-
model SocialPostTag {
|
|
800
|
-
id Int @id @default(autoincrement())
|
|
801
|
-
title String
|
|
802
|
-
type String
|
|
803
|
-
|
|
804
|
-
socialPostId Int
|
|
805
|
-
|
|
806
|
-
socialPost SocialPost @relation(fields: [socialPostId], references: [id])
|
|
807
|
-
|
|
808
|
-
@@index([title, type])
|
|
809
|
-
@@map("socialposttag")
|
|
810
|
-
}
|
|
811
|
-
|
|
812
797
|
model Image {
|
|
813
798
|
id Int @id @default(autoincrement())
|
|
814
799
|
url String @db.VarChar(2083)
|
|
@@ -1094,6 +1079,7 @@ model ListToSocialPost {
|
|
|
1094
1079
|
socialPost SocialPost @relation(fields: [postId], references: [id], onDelete: Cascade)
|
|
1095
1080
|
|
|
1096
1081
|
@@index([listId, postId])
|
|
1082
|
+
@@index([postId])
|
|
1097
1083
|
@@map("listtosocialpost")
|
|
1098
1084
|
}
|
|
1099
1085
|
|
package/wasm.js
CHANGED
|
@@ -569,13 +569,6 @@ exports.Prisma.SocialPostScalarFieldEnum = {
|
|
|
569
569
|
campaignId: 'campaignId'
|
|
570
570
|
};
|
|
571
571
|
|
|
572
|
-
exports.Prisma.SocialPostTagScalarFieldEnum = {
|
|
573
|
-
id: 'id',
|
|
574
|
-
title: 'title',
|
|
575
|
-
type: 'type',
|
|
576
|
-
socialPostId: 'socialPostId'
|
|
577
|
-
};
|
|
578
|
-
|
|
579
572
|
exports.Prisma.ImageScalarFieldEnum = {
|
|
580
573
|
id: 'id',
|
|
581
574
|
url: 'url',
|
|
@@ -1060,11 +1053,6 @@ exports.Prisma.SocialPostOrderByRelevanceFieldEnum = {
|
|
|
1060
1053
|
visibility: 'visibility'
|
|
1061
1054
|
};
|
|
1062
1055
|
|
|
1063
|
-
exports.Prisma.SocialPostTagOrderByRelevanceFieldEnum = {
|
|
1064
|
-
title: 'title',
|
|
1065
|
-
type: 'type'
|
|
1066
|
-
};
|
|
1067
|
-
|
|
1068
1056
|
exports.Prisma.ImageOrderByRelevanceFieldEnum = {
|
|
1069
1057
|
url: 'url',
|
|
1070
1058
|
size: 'size'
|
|
@@ -1221,7 +1209,6 @@ exports.Prisma.ModelName = {
|
|
|
1221
1209
|
TrolleyPayment: 'TrolleyPayment',
|
|
1222
1210
|
OptInVariable: 'OptInVariable',
|
|
1223
1211
|
SocialPost: 'SocialPost',
|
|
1224
|
-
SocialPostTag: 'SocialPostTag',
|
|
1225
1212
|
Image: 'Image',
|
|
1226
1213
|
BrandImage: 'BrandImage',
|
|
1227
1214
|
Country: 'Country',
|