@creator.co/creatorco-prisma-client 1.0.17 → 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 +6 -20
- package/index-browser.js +2 -16
- package/index.d.ts +252 -1772
- package/index.js +6 -20
- package/package.json +1 -1
- package/schema.prisma +6 -21
- package/wasm.js +2 -16
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -706,12 +706,12 @@ model TrolleyPayment {
|
|
|
706
706
|
id Int @id @default(autoincrement())
|
|
707
707
|
paymentId String @unique
|
|
708
708
|
type trolleyPaymentType?
|
|
709
|
-
status trolleyPaymentStatus
|
|
710
|
-
optInId Int
|
|
709
|
+
status trolleyPaymentStatus
|
|
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 {
|
|
@@ -721,9 +721,8 @@ enum trolleyPaymentType {
|
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
enum trolleyPaymentStatus {
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
deleted
|
|
724
|
+
pending
|
|
725
|
+
processing
|
|
727
726
|
processed
|
|
728
727
|
failed
|
|
729
728
|
returned
|
|
@@ -788,8 +787,6 @@ model SocialPost {
|
|
|
788
787
|
campaign Campaign? @relation(fields: [campaignId], references: [id])
|
|
789
788
|
lists ListToSocialPost[]
|
|
790
789
|
|
|
791
|
-
socialPostTags SocialPostTag[]
|
|
792
|
-
|
|
793
790
|
@@index(campaignId)
|
|
794
791
|
@@index(userId)
|
|
795
792
|
@@index(posted)
|
|
@@ -797,19 +794,6 @@ model SocialPost {
|
|
|
797
794
|
@@map("socialpost")
|
|
798
795
|
}
|
|
799
796
|
|
|
800
|
-
model SocialPostTag {
|
|
801
|
-
id Int @id @default(autoincrement())
|
|
802
|
-
title String
|
|
803
|
-
type String
|
|
804
|
-
|
|
805
|
-
socialPostId Int
|
|
806
|
-
|
|
807
|
-
socialPost SocialPost @relation(fields: [socialPostId], references: [id])
|
|
808
|
-
|
|
809
|
-
@@index([title, type])
|
|
810
|
-
@@map("socialposttag")
|
|
811
|
-
}
|
|
812
|
-
|
|
813
797
|
model Image {
|
|
814
798
|
id Int @id @default(autoincrement())
|
|
815
799
|
url String @db.VarChar(2083)
|
|
@@ -1095,6 +1079,7 @@ model ListToSocialPost {
|
|
|
1095
1079
|
socialPost SocialPost @relation(fields: [postId], references: [id], onDelete: Cascade)
|
|
1096
1080
|
|
|
1097
1081
|
@@index([listId, postId])
|
|
1082
|
+
@@index([postId])
|
|
1098
1083
|
@@map("listtosocialpost")
|
|
1099
1084
|
}
|
|
1100
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'
|
|
@@ -1180,9 +1168,8 @@ exports.trolleyPaymentType = exports.$Enums.trolleyPaymentType = {
|
|
|
1180
1168
|
};
|
|
1181
1169
|
|
|
1182
1170
|
exports.trolleyPaymentStatus = exports.$Enums.trolleyPaymentStatus = {
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
deleted: 'deleted',
|
|
1171
|
+
pending: 'pending',
|
|
1172
|
+
processing: 'processing',
|
|
1186
1173
|
processed: 'processed',
|
|
1187
1174
|
failed: 'failed',
|
|
1188
1175
|
returned: 'returned'
|
|
@@ -1222,7 +1209,6 @@ exports.Prisma.ModelName = {
|
|
|
1222
1209
|
TrolleyPayment: 'TrolleyPayment',
|
|
1223
1210
|
OptInVariable: 'OptInVariable',
|
|
1224
1211
|
SocialPost: 'SocialPost',
|
|
1225
|
-
SocialPostTag: 'SocialPostTag',
|
|
1226
1212
|
Image: 'Image',
|
|
1227
1213
|
BrandImage: 'BrandImage',
|
|
1228
1214
|
Country: 'Country',
|