@creator.co/creatorco-prisma-client 1.0.25 → 1.0.27
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 +9 -6
- package/index-browser.js +5 -2
- package/index.d.ts +115 -33
- package/index.js +9 -6
- package/package.json +1 -1
- package/schema.prisma +2 -0
- package/wasm.js +5 -2
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -297,6 +297,7 @@ model BrandUserProfile {
|
|
|
297
297
|
id Int @id @default(autoincrement())
|
|
298
298
|
userId Int
|
|
299
299
|
brandId Int
|
|
300
|
+
agencyPrivileges Boolean @default(false) @map("agency_privileges")
|
|
300
301
|
|
|
301
302
|
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
|
302
303
|
brand Brand @relation(fields: [brandId], references: [id], onDelete: Cascade)
|
|
@@ -1020,6 +1021,7 @@ model SocialProfile {
|
|
|
1020
1021
|
engagement Float?
|
|
1021
1022
|
avgViews Int?
|
|
1022
1023
|
verified Boolean?
|
|
1024
|
+
visibility String @default("public")
|
|
1023
1025
|
metaData Json @default("{}")
|
|
1024
1026
|
audienceData Json @default("{}")
|
|
1025
1027
|
phylloData Json @default("{}")
|
package/wasm.js
CHANGED
|
@@ -299,7 +299,8 @@ exports.Prisma.TwitterProfileScalarFieldEnum = {
|
|
|
299
299
|
exports.Prisma.BrandUserProfileScalarFieldEnum = {
|
|
300
300
|
id: 'id',
|
|
301
301
|
userId: 'userId',
|
|
302
|
-
brandId: 'brandId'
|
|
302
|
+
brandId: 'brandId',
|
|
303
|
+
agencyPrivileges: 'agencyPrivileges'
|
|
303
304
|
};
|
|
304
305
|
|
|
305
306
|
exports.Prisma.BrandScalarFieldEnum = {
|
|
@@ -723,6 +724,7 @@ exports.Prisma.SocialProfileScalarFieldEnum = {
|
|
|
723
724
|
engagement: 'engagement',
|
|
724
725
|
avgViews: 'avgViews',
|
|
725
726
|
verified: 'verified',
|
|
727
|
+
visibility: 'visibility',
|
|
726
728
|
metaData: 'metaData',
|
|
727
729
|
audienceData: 'audienceData',
|
|
728
730
|
phylloData: 'phylloData',
|
|
@@ -1169,7 +1171,8 @@ exports.Prisma.SocialProfileOrderByRelevanceFieldEnum = {
|
|
|
1169
1171
|
username: 'username',
|
|
1170
1172
|
fullname: 'fullname',
|
|
1171
1173
|
profileUrl: 'profileUrl',
|
|
1172
|
-
profilePicUrl: 'profilePicUrl'
|
|
1174
|
+
profilePicUrl: 'profilePicUrl',
|
|
1175
|
+
visibility: 'visibility'
|
|
1173
1176
|
};
|
|
1174
1177
|
|
|
1175
1178
|
exports.Prisma.MessageTemplateOrderByRelevanceFieldEnum = {
|