@creator.co/creatorco-prisma-client 1.0.67 → 1.0.69
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 +15 -4
- package/index-browser.js +11 -0
- package/index.d.ts +1866 -229
- package/index.js +15 -4
- package/package.json +1 -1
- package/schema.prisma +39 -20
- package/wasm.js +11 -0
package/index.d.ts
CHANGED
|
@@ -203,6 +203,11 @@ export type OptInVariable = $Result.DefaultSelection<Prisma.$OptInVariablePayloa
|
|
|
203
203
|
*
|
|
204
204
|
*/
|
|
205
205
|
export type SocialPost = $Result.DefaultSelection<Prisma.$SocialPostPayload>
|
|
206
|
+
/**
|
|
207
|
+
* Model PublicSocialPost
|
|
208
|
+
*
|
|
209
|
+
*/
|
|
210
|
+
export type PublicSocialPost = $Result.DefaultSelection<Prisma.$PublicSocialPostPayload>
|
|
206
211
|
/**
|
|
207
212
|
* Model CampaignToSocialPost
|
|
208
213
|
*
|
|
@@ -985,6 +990,16 @@ export class PrismaClient<
|
|
|
985
990
|
*/
|
|
986
991
|
get socialPost(): Prisma.SocialPostDelegate<ExtArgs>;
|
|
987
992
|
|
|
993
|
+
/**
|
|
994
|
+
* `prisma.publicSocialPost`: Exposes CRUD operations for the **PublicSocialPost** model.
|
|
995
|
+
* Example usage:
|
|
996
|
+
* ```ts
|
|
997
|
+
* // Fetch zero or more PublicSocialPosts
|
|
998
|
+
* const publicSocialPosts = await prisma.publicSocialPost.findMany()
|
|
999
|
+
* ```
|
|
1000
|
+
*/
|
|
1001
|
+
get publicSocialPost(): Prisma.PublicSocialPostDelegate<ExtArgs>;
|
|
1002
|
+
|
|
988
1003
|
/**
|
|
989
1004
|
* `prisma.campaignToSocialPost`: Exposes CRUD operations for the **CampaignToSocialPost** model.
|
|
990
1005
|
* Example usage:
|
|
@@ -1939,6 +1954,7 @@ export namespace Prisma {
|
|
|
1939
1954
|
TrolleyPayment: 'TrolleyPayment',
|
|
1940
1955
|
OptInVariable: 'OptInVariable',
|
|
1941
1956
|
SocialPost: 'SocialPost',
|
|
1957
|
+
PublicSocialPost: 'PublicSocialPost',
|
|
1942
1958
|
CampaignToSocialPost: 'CampaignToSocialPost',
|
|
1943
1959
|
ArchivedSocialPost: 'ArchivedSocialPost',
|
|
1944
1960
|
Image: 'Image',
|
|
@@ -1999,7 +2015,7 @@ export namespace Prisma {
|
|
|
1999
2015
|
|
|
2000
2016
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2001
2017
|
meta: {
|
|
2002
|
-
modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'pendingBrandInvoicePayment' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'affiliatePayoutBatch' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'cjEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct' | 'shopifyDiscountCode' | 'shopifySale' | 'creatorFlag' | 'brandContract' | 'file' | 'creditRefundBatch'
|
|
2018
|
+
modelProps: 'user' | 'log' | 'creatorProfile' | 'instagramProfile' | 'tiktokProfile' | 'youtubeProfile' | 'twitchProfile' | 'facebookProfile' | 'twitterProfile' | 'brandUserProfile' | 'brand' | 'searchContacts' | 'reportCredits' | 'brandToImage' | 'brandToCategory' | 'creatorToCategory' | 'chat' | 'message' | 'campaign' | 'campaignPin' | 'campaignToImage' | 'campaignToBrandAffiliateLink' | 'campaignToCategory' | 'campaignToCountry' | 'productList' | 'productListItem' | 'campaignToProductList' | 'optinToProductListItem' | 'variable' | 'variableOption' | 'step' | 'campaignStep' | 'optInStep' | 'category' | 'optIn' | 'trolleyPayment' | 'optInVariable' | 'socialPost' | 'publicSocialPost' | 'campaignToSocialPost' | 'archivedSocialPost' | 'image' | 'brandImage' | 'country' | 'state' | 'pendingBrandInvoicePayment' | 'paymentTransaction' | 'externalAffiliateClick' | 'brandAffiliateLink' | 'affiliateLink' | 'affiliateClick' | 'affiliateEvent' | 'affiliatePayoutBatch' | 'savedFile' | 'campaignInvite' | 'creatorList' | 'creatorListItem' | 'socialProfile' | 'messageTemplate' | 'emailTemplate' | 'socialListeningList' | 'listToSocialPost' | 'optInView' | 'rakutenActivity' | 'impactRadiusEvent' | 'cjEvent' | 'shareASaleEvent' | 'creatorSearchFilter' | 'sequence' | 'sequenceStep' | 'sequenceOutboundEmail' | 'sequenceInboundEmail' | 'sequenceImapCheckpoint' | 'shopifyStore' | 'shopifyProduct' | 'shopifyProductVariation' | 'campaignToShopifyProduct' | 'shopifyDiscountCode' | 'shopifySale' | 'creatorFlag' | 'brandContract' | 'file' | 'creditRefundBatch'
|
|
2003
2019
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
2004
2020
|
},
|
|
2005
2021
|
model: {
|
|
@@ -4663,6 +4679,76 @@ export namespace Prisma {
|
|
|
4663
4679
|
}
|
|
4664
4680
|
}
|
|
4665
4681
|
}
|
|
4682
|
+
PublicSocialPost: {
|
|
4683
|
+
payload: Prisma.$PublicSocialPostPayload<ExtArgs>
|
|
4684
|
+
fields: Prisma.PublicSocialPostFieldRefs
|
|
4685
|
+
operations: {
|
|
4686
|
+
findUnique: {
|
|
4687
|
+
args: Prisma.PublicSocialPostFindUniqueArgs<ExtArgs>,
|
|
4688
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload> | null
|
|
4689
|
+
}
|
|
4690
|
+
findUniqueOrThrow: {
|
|
4691
|
+
args: Prisma.PublicSocialPostFindUniqueOrThrowArgs<ExtArgs>,
|
|
4692
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4693
|
+
}
|
|
4694
|
+
findFirst: {
|
|
4695
|
+
args: Prisma.PublicSocialPostFindFirstArgs<ExtArgs>,
|
|
4696
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload> | null
|
|
4697
|
+
}
|
|
4698
|
+
findFirstOrThrow: {
|
|
4699
|
+
args: Prisma.PublicSocialPostFindFirstOrThrowArgs<ExtArgs>,
|
|
4700
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4701
|
+
}
|
|
4702
|
+
findMany: {
|
|
4703
|
+
args: Prisma.PublicSocialPostFindManyArgs<ExtArgs>,
|
|
4704
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>[]
|
|
4705
|
+
}
|
|
4706
|
+
create: {
|
|
4707
|
+
args: Prisma.PublicSocialPostCreateArgs<ExtArgs>,
|
|
4708
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4709
|
+
}
|
|
4710
|
+
createMany: {
|
|
4711
|
+
args: Prisma.PublicSocialPostCreateManyArgs<ExtArgs>,
|
|
4712
|
+
result: Prisma.BatchPayload
|
|
4713
|
+
}
|
|
4714
|
+
createManyAndReturn: {
|
|
4715
|
+
args: Prisma.PublicSocialPostCreateManyAndReturnArgs<ExtArgs>,
|
|
4716
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>[]
|
|
4717
|
+
}
|
|
4718
|
+
delete: {
|
|
4719
|
+
args: Prisma.PublicSocialPostDeleteArgs<ExtArgs>,
|
|
4720
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4721
|
+
}
|
|
4722
|
+
update: {
|
|
4723
|
+
args: Prisma.PublicSocialPostUpdateArgs<ExtArgs>,
|
|
4724
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4725
|
+
}
|
|
4726
|
+
deleteMany: {
|
|
4727
|
+
args: Prisma.PublicSocialPostDeleteManyArgs<ExtArgs>,
|
|
4728
|
+
result: Prisma.BatchPayload
|
|
4729
|
+
}
|
|
4730
|
+
updateMany: {
|
|
4731
|
+
args: Prisma.PublicSocialPostUpdateManyArgs<ExtArgs>,
|
|
4732
|
+
result: Prisma.BatchPayload
|
|
4733
|
+
}
|
|
4734
|
+
upsert: {
|
|
4735
|
+
args: Prisma.PublicSocialPostUpsertArgs<ExtArgs>,
|
|
4736
|
+
result: $Utils.PayloadToResult<Prisma.$PublicSocialPostPayload>
|
|
4737
|
+
}
|
|
4738
|
+
aggregate: {
|
|
4739
|
+
args: Prisma.PublicSocialPostAggregateArgs<ExtArgs>,
|
|
4740
|
+
result: $Utils.Optional<AggregatePublicSocialPost>
|
|
4741
|
+
}
|
|
4742
|
+
groupBy: {
|
|
4743
|
+
args: Prisma.PublicSocialPostGroupByArgs<ExtArgs>,
|
|
4744
|
+
result: $Utils.Optional<PublicSocialPostGroupByOutputType>[]
|
|
4745
|
+
}
|
|
4746
|
+
count: {
|
|
4747
|
+
args: Prisma.PublicSocialPostCountArgs<ExtArgs>,
|
|
4748
|
+
result: $Utils.Optional<PublicSocialPostCountAggregateOutputType> | number
|
|
4749
|
+
}
|
|
4750
|
+
}
|
|
4751
|
+
}
|
|
4666
4752
|
CampaignToSocialPost: {
|
|
4667
4753
|
payload: Prisma.$CampaignToSocialPostPayload<ExtArgs>
|
|
4668
4754
|
fields: Prisma.CampaignToSocialPostFieldRefs
|
|
@@ -52286,6 +52372,7 @@ export namespace Prisma {
|
|
|
52286
52372
|
campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
|
|
52287
52373
|
lists?: boolean | SocialPost$listsArgs<ExtArgs>
|
|
52288
52374
|
campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
|
|
52375
|
+
publicPost?: boolean | SocialPost$publicPostArgs<ExtArgs>
|
|
52289
52376
|
_count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
|
|
52290
52377
|
}, ExtArgs["result"]["socialPost"]>
|
|
52291
52378
|
|
|
@@ -52368,6 +52455,7 @@ export namespace Prisma {
|
|
|
52368
52455
|
campaign?: boolean | SocialPost$campaignArgs<ExtArgs>
|
|
52369
52456
|
lists?: boolean | SocialPost$listsArgs<ExtArgs>
|
|
52370
52457
|
campaigns?: boolean | SocialPost$campaignsArgs<ExtArgs>
|
|
52458
|
+
publicPost?: boolean | SocialPost$publicPostArgs<ExtArgs>
|
|
52371
52459
|
_count?: boolean | SocialPostCountOutputTypeDefaultArgs<ExtArgs>
|
|
52372
52460
|
}
|
|
52373
52461
|
export type SocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
@@ -52382,6 +52470,7 @@ export namespace Prisma {
|
|
|
52382
52470
|
campaign: Prisma.$CampaignPayload<ExtArgs> | null
|
|
52383
52471
|
lists: Prisma.$ListToSocialPostPayload<ExtArgs>[]
|
|
52384
52472
|
campaigns: Prisma.$CampaignToSocialPostPayload<ExtArgs>[]
|
|
52473
|
+
publicPost: Prisma.$PublicSocialPostPayload<ExtArgs> | null
|
|
52385
52474
|
}
|
|
52386
52475
|
scalars: $Extensions.GetPayloadResult<{
|
|
52387
52476
|
id: number
|
|
@@ -52815,6 +52904,1160 @@ export namespace Prisma {
|
|
|
52815
52904
|
|
|
52816
52905
|
campaigns<T extends SocialPost$campaignsArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$campaignsArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignToSocialPostPayload<ExtArgs>, T, 'findMany'> | Null>;
|
|
52817
52906
|
|
|
52907
|
+
publicPost<T extends SocialPost$publicPostArgs<ExtArgs> = {}>(args?: Subset<T, SocialPost$publicPostArgs<ExtArgs>>): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'> | null, null, ExtArgs>;
|
|
52908
|
+
|
|
52909
|
+
/**
|
|
52910
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
52911
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
52912
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
52913
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
52914
|
+
*/
|
|
52915
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>;
|
|
52916
|
+
/**
|
|
52917
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
52918
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
52919
|
+
* @returns A Promise for the completion of the callback.
|
|
52920
|
+
*/
|
|
52921
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>;
|
|
52922
|
+
/**
|
|
52923
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
52924
|
+
* resolved value cannot be modified from the callback.
|
|
52925
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
52926
|
+
* @returns A Promise for the completion of the callback.
|
|
52927
|
+
*/
|
|
52928
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>;
|
|
52929
|
+
}
|
|
52930
|
+
|
|
52931
|
+
|
|
52932
|
+
|
|
52933
|
+
/**
|
|
52934
|
+
* Fields of the SocialPost model
|
|
52935
|
+
*/
|
|
52936
|
+
interface SocialPostFieldRefs {
|
|
52937
|
+
readonly id: FieldRef<"SocialPost", 'Int'>
|
|
52938
|
+
readonly externalId: FieldRef<"SocialPost", 'String'>
|
|
52939
|
+
readonly phylloId: FieldRef<"SocialPost", 'String'>
|
|
52940
|
+
readonly metaData: FieldRef<"SocialPost", 'Json'>
|
|
52941
|
+
readonly lastFetched: FieldRef<"SocialPost", 'DateTime'>
|
|
52942
|
+
readonly lastWebhook: FieldRef<"SocialPost", 'DateTime'>
|
|
52943
|
+
readonly posted: FieldRef<"SocialPost", 'DateTime'>
|
|
52944
|
+
readonly title: FieldRef<"SocialPost", 'String'>
|
|
52945
|
+
readonly description: FieldRef<"SocialPost", 'String'>
|
|
52946
|
+
readonly url: FieldRef<"SocialPost", 'String'>
|
|
52947
|
+
readonly format: FieldRef<"SocialPost", 'String'>
|
|
52948
|
+
readonly type: FieldRef<"SocialPost", 'String'>
|
|
52949
|
+
readonly platform: FieldRef<"SocialPost", 'String'>
|
|
52950
|
+
readonly visibility: FieldRef<"SocialPost", 'String'>
|
|
52951
|
+
readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
|
|
52952
|
+
readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
|
|
52953
|
+
readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
|
|
52954
|
+
readonly views: FieldRef<"SocialPost", 'Int'>
|
|
52955
|
+
readonly replays: FieldRef<"SocialPost", 'Int'>
|
|
52956
|
+
readonly impressions: FieldRef<"SocialPost", 'Int'>
|
|
52957
|
+
readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
|
|
52958
|
+
readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
|
|
52959
|
+
readonly reach: FieldRef<"SocialPost", 'Int'>
|
|
52960
|
+
readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
|
|
52961
|
+
readonly reachPaid: FieldRef<"SocialPost", 'Int'>
|
|
52962
|
+
readonly watchHours: FieldRef<"SocialPost", 'Float'>
|
|
52963
|
+
readonly likes: FieldRef<"SocialPost", 'Int'>
|
|
52964
|
+
readonly dislikes: FieldRef<"SocialPost", 'Int'>
|
|
52965
|
+
readonly comments: FieldRef<"SocialPost", 'Int'>
|
|
52966
|
+
readonly saves: FieldRef<"SocialPost", 'Int'>
|
|
52967
|
+
readonly shares: FieldRef<"SocialPost", 'Int'>
|
|
52968
|
+
readonly userId: FieldRef<"SocialPost", 'Int'>
|
|
52969
|
+
readonly campaignId: FieldRef<"SocialPost", 'Int'>
|
|
52970
|
+
}
|
|
52971
|
+
|
|
52972
|
+
|
|
52973
|
+
// Custom InputTypes
|
|
52974
|
+
/**
|
|
52975
|
+
* SocialPost findUnique
|
|
52976
|
+
*/
|
|
52977
|
+
export type SocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
52978
|
+
/**
|
|
52979
|
+
* Select specific fields to fetch from the SocialPost
|
|
52980
|
+
*/
|
|
52981
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
52982
|
+
/**
|
|
52983
|
+
* Choose, which related nodes to fetch as well
|
|
52984
|
+
*/
|
|
52985
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
52986
|
+
/**
|
|
52987
|
+
* Filter, which SocialPost to fetch.
|
|
52988
|
+
*/
|
|
52989
|
+
where: SocialPostWhereUniqueInput
|
|
52990
|
+
}
|
|
52991
|
+
|
|
52992
|
+
/**
|
|
52993
|
+
* SocialPost findUniqueOrThrow
|
|
52994
|
+
*/
|
|
52995
|
+
export type SocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
52996
|
+
/**
|
|
52997
|
+
* Select specific fields to fetch from the SocialPost
|
|
52998
|
+
*/
|
|
52999
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
53000
|
+
/**
|
|
53001
|
+
* Choose, which related nodes to fetch as well
|
|
53002
|
+
*/
|
|
53003
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
53004
|
+
/**
|
|
53005
|
+
* Filter, which SocialPost to fetch.
|
|
53006
|
+
*/
|
|
53007
|
+
where: SocialPostWhereUniqueInput
|
|
53008
|
+
}
|
|
53009
|
+
|
|
53010
|
+
/**
|
|
53011
|
+
* SocialPost findFirst
|
|
53012
|
+
*/
|
|
53013
|
+
export type SocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53014
|
+
/**
|
|
53015
|
+
* Select specific fields to fetch from the SocialPost
|
|
53016
|
+
*/
|
|
53017
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
53018
|
+
/**
|
|
53019
|
+
* Choose, which related nodes to fetch as well
|
|
53020
|
+
*/
|
|
53021
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
53022
|
+
/**
|
|
53023
|
+
* Filter, which SocialPost to fetch.
|
|
53024
|
+
*/
|
|
53025
|
+
where?: SocialPostWhereInput
|
|
53026
|
+
/**
|
|
53027
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
53028
|
+
*
|
|
53029
|
+
* Determine the order of SocialPosts to fetch.
|
|
53030
|
+
*/
|
|
53031
|
+
orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53032
|
+
/**
|
|
53033
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
53034
|
+
*
|
|
53035
|
+
* Sets the position for searching for SocialPosts.
|
|
53036
|
+
*/
|
|
53037
|
+
cursor?: SocialPostWhereUniqueInput
|
|
53038
|
+
/**
|
|
53039
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53040
|
+
*
|
|
53041
|
+
* Take `±n` SocialPosts from the position of the cursor.
|
|
53042
|
+
*/
|
|
53043
|
+
take?: number
|
|
53044
|
+
/**
|
|
53045
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53046
|
+
*
|
|
53047
|
+
* Skip the first `n` SocialPosts.
|
|
53048
|
+
*/
|
|
53049
|
+
skip?: number
|
|
53050
|
+
/**
|
|
53051
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
53052
|
+
*
|
|
53053
|
+
* Filter by unique combinations of SocialPosts.
|
|
53054
|
+
*/
|
|
53055
|
+
distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
|
|
53056
|
+
}
|
|
53057
|
+
|
|
53058
|
+
/**
|
|
53059
|
+
* SocialPost findFirstOrThrow
|
|
53060
|
+
*/
|
|
53061
|
+
export type SocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53062
|
+
/**
|
|
53063
|
+
* Select specific fields to fetch from the SocialPost
|
|
53064
|
+
*/
|
|
53065
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
53066
|
+
/**
|
|
53067
|
+
* Choose, which related nodes to fetch as well
|
|
53068
|
+
*/
|
|
53069
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
53070
|
+
/**
|
|
53071
|
+
* Filter, which SocialPost to fetch.
|
|
53072
|
+
*/
|
|
53073
|
+
where?: SocialPostWhereInput
|
|
53074
|
+
/**
|
|
53075
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
53076
|
+
*
|
|
53077
|
+
* Determine the order of SocialPosts to fetch.
|
|
53078
|
+
*/
|
|
53079
|
+
orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53080
|
+
/**
|
|
53081
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
53082
|
+
*
|
|
53083
|
+
* Sets the position for searching for SocialPosts.
|
|
53084
|
+
*/
|
|
53085
|
+
cursor?: SocialPostWhereUniqueInput
|
|
53086
|
+
/**
|
|
53087
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53088
|
+
*
|
|
53089
|
+
* Take `±n` SocialPosts from the position of the cursor.
|
|
53090
|
+
*/
|
|
53091
|
+
take?: number
|
|
53092
|
+
/**
|
|
53093
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53094
|
+
*
|
|
53095
|
+
* Skip the first `n` SocialPosts.
|
|
53096
|
+
*/
|
|
53097
|
+
skip?: number
|
|
53098
|
+
/**
|
|
53099
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
53100
|
+
*
|
|
53101
|
+
* Filter by unique combinations of SocialPosts.
|
|
53102
|
+
*/
|
|
53103
|
+
distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
|
|
53104
|
+
}
|
|
53105
|
+
|
|
53106
|
+
/**
|
|
53107
|
+
* SocialPost findMany
|
|
53108
|
+
*/
|
|
53109
|
+
export type SocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53110
|
+
/**
|
|
53111
|
+
* Select specific fields to fetch from the SocialPost
|
|
53112
|
+
*/
|
|
53113
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
53114
|
+
/**
|
|
53115
|
+
* Choose, which related nodes to fetch as well
|
|
53116
|
+
*/
|
|
53117
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
53118
|
+
/**
|
|
53119
|
+
* Filter, which SocialPosts to fetch.
|
|
53120
|
+
*/
|
|
53121
|
+
where?: SocialPostWhereInput
|
|
53122
|
+
/**
|
|
53123
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
53124
|
+
*
|
|
53125
|
+
* Determine the order of SocialPosts to fetch.
|
|
53126
|
+
*/
|
|
53127
|
+
orderBy?: SocialPostOrderByWithRelationAndSearchRelevanceInput | SocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53128
|
+
/**
|
|
53129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
53130
|
+
*
|
|
53131
|
+
* Sets the position for listing SocialPosts.
|
|
53132
|
+
*/
|
|
53133
|
+
cursor?: SocialPostWhereUniqueInput
|
|
53134
|
+
/**
|
|
53135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53136
|
+
*
|
|
53137
|
+
* Take `±n` SocialPosts from the position of the cursor.
|
|
53138
|
+
*/
|
|
53139
|
+
take?: number
|
|
53140
|
+
/**
|
|
53141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53142
|
+
*
|
|
53143
|
+
* Skip the first `n` SocialPosts.
|
|
53144
|
+
*/
|
|
53145
|
+
skip?: number
|
|
53146
|
+
distinct?: SocialPostScalarFieldEnum | SocialPostScalarFieldEnum[]
|
|
53147
|
+
}
|
|
53148
|
+
|
|
53149
|
+
/**
|
|
53150
|
+
* SocialPost create
|
|
53151
|
+
*/
|
|
53152
|
+
export type SocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53153
|
+
/**
|
|
53154
|
+
* Select specific fields to fetch from the SocialPost
|
|
53155
|
+
*/
|
|
53156
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
53157
|
+
/**
|
|
53158
|
+
* Choose, which related nodes to fetch as well
|
|
53159
|
+
*/
|
|
53160
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
53161
|
+
/**
|
|
53162
|
+
* The data needed to create a SocialPost.
|
|
53163
|
+
*/
|
|
53164
|
+
data: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
|
|
53165
|
+
}
|
|
53166
|
+
|
|
53167
|
+
/**
|
|
53168
|
+
* SocialPost createMany
|
|
53169
|
+
*/
|
|
53170
|
+
export type SocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53171
|
+
/**
|
|
53172
|
+
* The data used to create many SocialPosts.
|
|
53173
|
+
*/
|
|
53174
|
+
data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
|
|
53175
|
+
skipDuplicates?: boolean
|
|
53176
|
+
}
|
|
53177
|
+
|
|
53178
|
+
/**
|
|
53179
|
+
* SocialPost createManyAndReturn
|
|
53180
|
+
*/
|
|
53181
|
+
export type SocialPostCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53182
|
+
/**
|
|
53183
|
+
* Select specific fields to fetch from the SocialPost
|
|
53184
|
+
*/
|
|
53185
|
+
select?: SocialPostSelectCreateManyAndReturn<ExtArgs> | null
|
|
53186
|
+
/**
|
|
53187
|
+
* The data used to create many SocialPosts.
|
|
53188
|
+
*/
|
|
53189
|
+
data: SocialPostCreateManyInput | SocialPostCreateManyInput[]
|
|
53190
|
+
skipDuplicates?: boolean
|
|
53191
|
+
/**
|
|
53192
|
+
* Choose, which related nodes to fetch as well
|
|
53193
|
+
*/
|
|
53194
|
+
include?: SocialPostIncludeCreateManyAndReturn<ExtArgs> | null
|
|
53195
|
+
}
|
|
53196
|
+
|
|
53197
|
+
/**
|
|
53198
|
+
* SocialPost update
|
|
53199
|
+
*/
|
|
53200
|
+
export type SocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53201
|
+
/**
|
|
53202
|
+
* Select specific fields to fetch from the SocialPost
|
|
53203
|
+
*/
|
|
53204
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
53205
|
+
/**
|
|
53206
|
+
* Choose, which related nodes to fetch as well
|
|
53207
|
+
*/
|
|
53208
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
53209
|
+
/**
|
|
53210
|
+
* The data needed to update a SocialPost.
|
|
53211
|
+
*/
|
|
53212
|
+
data: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
|
|
53213
|
+
/**
|
|
53214
|
+
* Choose, which SocialPost to update.
|
|
53215
|
+
*/
|
|
53216
|
+
where: SocialPostWhereUniqueInput
|
|
53217
|
+
}
|
|
53218
|
+
|
|
53219
|
+
/**
|
|
53220
|
+
* SocialPost updateMany
|
|
53221
|
+
*/
|
|
53222
|
+
export type SocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53223
|
+
/**
|
|
53224
|
+
* The data used to update SocialPosts.
|
|
53225
|
+
*/
|
|
53226
|
+
data: XOR<SocialPostUpdateManyMutationInput, SocialPostUncheckedUpdateManyInput>
|
|
53227
|
+
/**
|
|
53228
|
+
* Filter which SocialPosts to update
|
|
53229
|
+
*/
|
|
53230
|
+
where?: SocialPostWhereInput
|
|
53231
|
+
}
|
|
53232
|
+
|
|
53233
|
+
/**
|
|
53234
|
+
* SocialPost upsert
|
|
53235
|
+
*/
|
|
53236
|
+
export type SocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53237
|
+
/**
|
|
53238
|
+
* Select specific fields to fetch from the SocialPost
|
|
53239
|
+
*/
|
|
53240
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
53241
|
+
/**
|
|
53242
|
+
* Choose, which related nodes to fetch as well
|
|
53243
|
+
*/
|
|
53244
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
53245
|
+
/**
|
|
53246
|
+
* The filter to search for the SocialPost to update in case it exists.
|
|
53247
|
+
*/
|
|
53248
|
+
where: SocialPostWhereUniqueInput
|
|
53249
|
+
/**
|
|
53250
|
+
* In case the SocialPost found by the `where` argument doesn't exist, create a new SocialPost with this data.
|
|
53251
|
+
*/
|
|
53252
|
+
create: XOR<SocialPostCreateInput, SocialPostUncheckedCreateInput>
|
|
53253
|
+
/**
|
|
53254
|
+
* In case the SocialPost was found with the provided `where` argument, update it with this data.
|
|
53255
|
+
*/
|
|
53256
|
+
update: XOR<SocialPostUpdateInput, SocialPostUncheckedUpdateInput>
|
|
53257
|
+
}
|
|
53258
|
+
|
|
53259
|
+
/**
|
|
53260
|
+
* SocialPost delete
|
|
53261
|
+
*/
|
|
53262
|
+
export type SocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53263
|
+
/**
|
|
53264
|
+
* Select specific fields to fetch from the SocialPost
|
|
53265
|
+
*/
|
|
53266
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
53267
|
+
/**
|
|
53268
|
+
* Choose, which related nodes to fetch as well
|
|
53269
|
+
*/
|
|
53270
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
53271
|
+
/**
|
|
53272
|
+
* Filter which SocialPost to delete.
|
|
53273
|
+
*/
|
|
53274
|
+
where: SocialPostWhereUniqueInput
|
|
53275
|
+
}
|
|
53276
|
+
|
|
53277
|
+
/**
|
|
53278
|
+
* SocialPost deleteMany
|
|
53279
|
+
*/
|
|
53280
|
+
export type SocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53281
|
+
/**
|
|
53282
|
+
* Filter which SocialPosts to delete
|
|
53283
|
+
*/
|
|
53284
|
+
where?: SocialPostWhereInput
|
|
53285
|
+
}
|
|
53286
|
+
|
|
53287
|
+
/**
|
|
53288
|
+
* SocialPost.user
|
|
53289
|
+
*/
|
|
53290
|
+
export type SocialPost$userArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53291
|
+
/**
|
|
53292
|
+
* Select specific fields to fetch from the User
|
|
53293
|
+
*/
|
|
53294
|
+
select?: UserSelect<ExtArgs> | null
|
|
53295
|
+
/**
|
|
53296
|
+
* Choose, which related nodes to fetch as well
|
|
53297
|
+
*/
|
|
53298
|
+
include?: UserInclude<ExtArgs> | null
|
|
53299
|
+
where?: UserWhereInput
|
|
53300
|
+
}
|
|
53301
|
+
|
|
53302
|
+
/**
|
|
53303
|
+
* SocialPost.campaign
|
|
53304
|
+
*/
|
|
53305
|
+
export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53306
|
+
/**
|
|
53307
|
+
* Select specific fields to fetch from the Campaign
|
|
53308
|
+
*/
|
|
53309
|
+
select?: CampaignSelect<ExtArgs> | null
|
|
53310
|
+
/**
|
|
53311
|
+
* Choose, which related nodes to fetch as well
|
|
53312
|
+
*/
|
|
53313
|
+
include?: CampaignInclude<ExtArgs> | null
|
|
53314
|
+
where?: CampaignWhereInput
|
|
53315
|
+
}
|
|
53316
|
+
|
|
53317
|
+
/**
|
|
53318
|
+
* SocialPost.lists
|
|
53319
|
+
*/
|
|
53320
|
+
export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53321
|
+
/**
|
|
53322
|
+
* Select specific fields to fetch from the ListToSocialPost
|
|
53323
|
+
*/
|
|
53324
|
+
select?: ListToSocialPostSelect<ExtArgs> | null
|
|
53325
|
+
/**
|
|
53326
|
+
* Choose, which related nodes to fetch as well
|
|
53327
|
+
*/
|
|
53328
|
+
include?: ListToSocialPostInclude<ExtArgs> | null
|
|
53329
|
+
where?: ListToSocialPostWhereInput
|
|
53330
|
+
orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53331
|
+
cursor?: ListToSocialPostWhereUniqueInput
|
|
53332
|
+
take?: number
|
|
53333
|
+
skip?: number
|
|
53334
|
+
distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
|
|
53335
|
+
}
|
|
53336
|
+
|
|
53337
|
+
/**
|
|
53338
|
+
* SocialPost.campaigns
|
|
53339
|
+
*/
|
|
53340
|
+
export type SocialPost$campaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53341
|
+
/**
|
|
53342
|
+
* Select specific fields to fetch from the CampaignToSocialPost
|
|
53343
|
+
*/
|
|
53344
|
+
select?: CampaignToSocialPostSelect<ExtArgs> | null
|
|
53345
|
+
/**
|
|
53346
|
+
* Choose, which related nodes to fetch as well
|
|
53347
|
+
*/
|
|
53348
|
+
include?: CampaignToSocialPostInclude<ExtArgs> | null
|
|
53349
|
+
where?: CampaignToSocialPostWhereInput
|
|
53350
|
+
orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53351
|
+
cursor?: CampaignToSocialPostWhereUniqueInput
|
|
53352
|
+
take?: number
|
|
53353
|
+
skip?: number
|
|
53354
|
+
distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
|
|
53355
|
+
}
|
|
53356
|
+
|
|
53357
|
+
/**
|
|
53358
|
+
* SocialPost.publicPost
|
|
53359
|
+
*/
|
|
53360
|
+
export type SocialPost$publicPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53361
|
+
/**
|
|
53362
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
53363
|
+
*/
|
|
53364
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
53365
|
+
/**
|
|
53366
|
+
* Choose, which related nodes to fetch as well
|
|
53367
|
+
*/
|
|
53368
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
53369
|
+
where?: PublicSocialPostWhereInput
|
|
53370
|
+
}
|
|
53371
|
+
|
|
53372
|
+
/**
|
|
53373
|
+
* SocialPost without action
|
|
53374
|
+
*/
|
|
53375
|
+
export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53376
|
+
/**
|
|
53377
|
+
* Select specific fields to fetch from the SocialPost
|
|
53378
|
+
*/
|
|
53379
|
+
select?: SocialPostSelect<ExtArgs> | null
|
|
53380
|
+
/**
|
|
53381
|
+
* Choose, which related nodes to fetch as well
|
|
53382
|
+
*/
|
|
53383
|
+
include?: SocialPostInclude<ExtArgs> | null
|
|
53384
|
+
}
|
|
53385
|
+
|
|
53386
|
+
|
|
53387
|
+
/**
|
|
53388
|
+
* Model PublicSocialPost
|
|
53389
|
+
*/
|
|
53390
|
+
|
|
53391
|
+
export type AggregatePublicSocialPost = {
|
|
53392
|
+
_count: PublicSocialPostCountAggregateOutputType | null
|
|
53393
|
+
_avg: PublicSocialPostAvgAggregateOutputType | null
|
|
53394
|
+
_sum: PublicSocialPostSumAggregateOutputType | null
|
|
53395
|
+
_min: PublicSocialPostMinAggregateOutputType | null
|
|
53396
|
+
_max: PublicSocialPostMaxAggregateOutputType | null
|
|
53397
|
+
}
|
|
53398
|
+
|
|
53399
|
+
export type PublicSocialPostAvgAggregateOutputType = {
|
|
53400
|
+
id: number | null
|
|
53401
|
+
socialPostId: number | null
|
|
53402
|
+
views: number | null
|
|
53403
|
+
likes: number | null
|
|
53404
|
+
comments: number | null
|
|
53405
|
+
saves: number | null
|
|
53406
|
+
shares: number | null
|
|
53407
|
+
}
|
|
53408
|
+
|
|
53409
|
+
export type PublicSocialPostSumAggregateOutputType = {
|
|
53410
|
+
id: number | null
|
|
53411
|
+
socialPostId: number | null
|
|
53412
|
+
views: number | null
|
|
53413
|
+
likes: number | null
|
|
53414
|
+
comments: number | null
|
|
53415
|
+
saves: number | null
|
|
53416
|
+
shares: number | null
|
|
53417
|
+
}
|
|
53418
|
+
|
|
53419
|
+
export type PublicSocialPostMinAggregateOutputType = {
|
|
53420
|
+
id: number | null
|
|
53421
|
+
socialPostId: number | null
|
|
53422
|
+
views: number | null
|
|
53423
|
+
likes: number | null
|
|
53424
|
+
comments: number | null
|
|
53425
|
+
saves: number | null
|
|
53426
|
+
shares: number | null
|
|
53427
|
+
}
|
|
53428
|
+
|
|
53429
|
+
export type PublicSocialPostMaxAggregateOutputType = {
|
|
53430
|
+
id: number | null
|
|
53431
|
+
socialPostId: number | null
|
|
53432
|
+
views: number | null
|
|
53433
|
+
likes: number | null
|
|
53434
|
+
comments: number | null
|
|
53435
|
+
saves: number | null
|
|
53436
|
+
shares: number | null
|
|
53437
|
+
}
|
|
53438
|
+
|
|
53439
|
+
export type PublicSocialPostCountAggregateOutputType = {
|
|
53440
|
+
id: number
|
|
53441
|
+
socialPostId: number
|
|
53442
|
+
views: number
|
|
53443
|
+
likes: number
|
|
53444
|
+
comments: number
|
|
53445
|
+
saves: number
|
|
53446
|
+
shares: number
|
|
53447
|
+
_all: number
|
|
53448
|
+
}
|
|
53449
|
+
|
|
53450
|
+
|
|
53451
|
+
export type PublicSocialPostAvgAggregateInputType = {
|
|
53452
|
+
id?: true
|
|
53453
|
+
socialPostId?: true
|
|
53454
|
+
views?: true
|
|
53455
|
+
likes?: true
|
|
53456
|
+
comments?: true
|
|
53457
|
+
saves?: true
|
|
53458
|
+
shares?: true
|
|
53459
|
+
}
|
|
53460
|
+
|
|
53461
|
+
export type PublicSocialPostSumAggregateInputType = {
|
|
53462
|
+
id?: true
|
|
53463
|
+
socialPostId?: true
|
|
53464
|
+
views?: true
|
|
53465
|
+
likes?: true
|
|
53466
|
+
comments?: true
|
|
53467
|
+
saves?: true
|
|
53468
|
+
shares?: true
|
|
53469
|
+
}
|
|
53470
|
+
|
|
53471
|
+
export type PublicSocialPostMinAggregateInputType = {
|
|
53472
|
+
id?: true
|
|
53473
|
+
socialPostId?: true
|
|
53474
|
+
views?: true
|
|
53475
|
+
likes?: true
|
|
53476
|
+
comments?: true
|
|
53477
|
+
saves?: true
|
|
53478
|
+
shares?: true
|
|
53479
|
+
}
|
|
53480
|
+
|
|
53481
|
+
export type PublicSocialPostMaxAggregateInputType = {
|
|
53482
|
+
id?: true
|
|
53483
|
+
socialPostId?: true
|
|
53484
|
+
views?: true
|
|
53485
|
+
likes?: true
|
|
53486
|
+
comments?: true
|
|
53487
|
+
saves?: true
|
|
53488
|
+
shares?: true
|
|
53489
|
+
}
|
|
53490
|
+
|
|
53491
|
+
export type PublicSocialPostCountAggregateInputType = {
|
|
53492
|
+
id?: true
|
|
53493
|
+
socialPostId?: true
|
|
53494
|
+
views?: true
|
|
53495
|
+
likes?: true
|
|
53496
|
+
comments?: true
|
|
53497
|
+
saves?: true
|
|
53498
|
+
shares?: true
|
|
53499
|
+
_all?: true
|
|
53500
|
+
}
|
|
53501
|
+
|
|
53502
|
+
export type PublicSocialPostAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53503
|
+
/**
|
|
53504
|
+
* Filter which PublicSocialPost to aggregate.
|
|
53505
|
+
*/
|
|
53506
|
+
where?: PublicSocialPostWhereInput
|
|
53507
|
+
/**
|
|
53508
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
53509
|
+
*
|
|
53510
|
+
* Determine the order of PublicSocialPosts to fetch.
|
|
53511
|
+
*/
|
|
53512
|
+
orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53513
|
+
/**
|
|
53514
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
53515
|
+
*
|
|
53516
|
+
* Sets the start position
|
|
53517
|
+
*/
|
|
53518
|
+
cursor?: PublicSocialPostWhereUniqueInput
|
|
53519
|
+
/**
|
|
53520
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53521
|
+
*
|
|
53522
|
+
* Take `±n` PublicSocialPosts from the position of the cursor.
|
|
53523
|
+
*/
|
|
53524
|
+
take?: number
|
|
53525
|
+
/**
|
|
53526
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53527
|
+
*
|
|
53528
|
+
* Skip the first `n` PublicSocialPosts.
|
|
53529
|
+
*/
|
|
53530
|
+
skip?: number
|
|
53531
|
+
/**
|
|
53532
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53533
|
+
*
|
|
53534
|
+
* Count returned PublicSocialPosts
|
|
53535
|
+
**/
|
|
53536
|
+
_count?: true | PublicSocialPostCountAggregateInputType
|
|
53537
|
+
/**
|
|
53538
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53539
|
+
*
|
|
53540
|
+
* Select which fields to average
|
|
53541
|
+
**/
|
|
53542
|
+
_avg?: PublicSocialPostAvgAggregateInputType
|
|
53543
|
+
/**
|
|
53544
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53545
|
+
*
|
|
53546
|
+
* Select which fields to sum
|
|
53547
|
+
**/
|
|
53548
|
+
_sum?: PublicSocialPostSumAggregateInputType
|
|
53549
|
+
/**
|
|
53550
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53551
|
+
*
|
|
53552
|
+
* Select which fields to find the minimum value
|
|
53553
|
+
**/
|
|
53554
|
+
_min?: PublicSocialPostMinAggregateInputType
|
|
53555
|
+
/**
|
|
53556
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
53557
|
+
*
|
|
53558
|
+
* Select which fields to find the maximum value
|
|
53559
|
+
**/
|
|
53560
|
+
_max?: PublicSocialPostMaxAggregateInputType
|
|
53561
|
+
}
|
|
53562
|
+
|
|
53563
|
+
export type GetPublicSocialPostAggregateType<T extends PublicSocialPostAggregateArgs> = {
|
|
53564
|
+
[P in keyof T & keyof AggregatePublicSocialPost]: P extends '_count' | 'count'
|
|
53565
|
+
? T[P] extends true
|
|
53566
|
+
? number
|
|
53567
|
+
: GetScalarType<T[P], AggregatePublicSocialPost[P]>
|
|
53568
|
+
: GetScalarType<T[P], AggregatePublicSocialPost[P]>
|
|
53569
|
+
}
|
|
53570
|
+
|
|
53571
|
+
|
|
53572
|
+
|
|
53573
|
+
|
|
53574
|
+
export type PublicSocialPostGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53575
|
+
where?: PublicSocialPostWhereInput
|
|
53576
|
+
orderBy?: PublicSocialPostOrderByWithAggregationInput | PublicSocialPostOrderByWithAggregationInput[]
|
|
53577
|
+
by: PublicSocialPostScalarFieldEnum[] | PublicSocialPostScalarFieldEnum
|
|
53578
|
+
having?: PublicSocialPostScalarWhereWithAggregatesInput
|
|
53579
|
+
take?: number
|
|
53580
|
+
skip?: number
|
|
53581
|
+
_count?: PublicSocialPostCountAggregateInputType | true
|
|
53582
|
+
_avg?: PublicSocialPostAvgAggregateInputType
|
|
53583
|
+
_sum?: PublicSocialPostSumAggregateInputType
|
|
53584
|
+
_min?: PublicSocialPostMinAggregateInputType
|
|
53585
|
+
_max?: PublicSocialPostMaxAggregateInputType
|
|
53586
|
+
}
|
|
53587
|
+
|
|
53588
|
+
export type PublicSocialPostGroupByOutputType = {
|
|
53589
|
+
id: number
|
|
53590
|
+
socialPostId: number
|
|
53591
|
+
views: number | null
|
|
53592
|
+
likes: number | null
|
|
53593
|
+
comments: number | null
|
|
53594
|
+
saves: number | null
|
|
53595
|
+
shares: number | null
|
|
53596
|
+
_count: PublicSocialPostCountAggregateOutputType | null
|
|
53597
|
+
_avg: PublicSocialPostAvgAggregateOutputType | null
|
|
53598
|
+
_sum: PublicSocialPostSumAggregateOutputType | null
|
|
53599
|
+
_min: PublicSocialPostMinAggregateOutputType | null
|
|
53600
|
+
_max: PublicSocialPostMaxAggregateOutputType | null
|
|
53601
|
+
}
|
|
53602
|
+
|
|
53603
|
+
type GetPublicSocialPostGroupByPayload<T extends PublicSocialPostGroupByArgs> = Prisma.PrismaPromise<
|
|
53604
|
+
Array<
|
|
53605
|
+
PickEnumerable<PublicSocialPostGroupByOutputType, T['by']> &
|
|
53606
|
+
{
|
|
53607
|
+
[P in ((keyof T) & (keyof PublicSocialPostGroupByOutputType))]: P extends '_count'
|
|
53608
|
+
? T[P] extends boolean
|
|
53609
|
+
? number
|
|
53610
|
+
: GetScalarType<T[P], PublicSocialPostGroupByOutputType[P]>
|
|
53611
|
+
: GetScalarType<T[P], PublicSocialPostGroupByOutputType[P]>
|
|
53612
|
+
}
|
|
53613
|
+
>
|
|
53614
|
+
>
|
|
53615
|
+
|
|
53616
|
+
|
|
53617
|
+
export type PublicSocialPostSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
53618
|
+
id?: boolean
|
|
53619
|
+
socialPostId?: boolean
|
|
53620
|
+
views?: boolean
|
|
53621
|
+
likes?: boolean
|
|
53622
|
+
comments?: boolean
|
|
53623
|
+
saves?: boolean
|
|
53624
|
+
shares?: boolean
|
|
53625
|
+
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
53626
|
+
}, ExtArgs["result"]["publicSocialPost"]>
|
|
53627
|
+
|
|
53628
|
+
export type PublicSocialPostSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
53629
|
+
id?: boolean
|
|
53630
|
+
socialPostId?: boolean
|
|
53631
|
+
views?: boolean
|
|
53632
|
+
likes?: boolean
|
|
53633
|
+
comments?: boolean
|
|
53634
|
+
saves?: boolean
|
|
53635
|
+
shares?: boolean
|
|
53636
|
+
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
53637
|
+
}, ExtArgs["result"]["publicSocialPost"]>
|
|
53638
|
+
|
|
53639
|
+
export type PublicSocialPostSelectScalar = {
|
|
53640
|
+
id?: boolean
|
|
53641
|
+
socialPostId?: boolean
|
|
53642
|
+
views?: boolean
|
|
53643
|
+
likes?: boolean
|
|
53644
|
+
comments?: boolean
|
|
53645
|
+
saves?: boolean
|
|
53646
|
+
shares?: boolean
|
|
53647
|
+
}
|
|
53648
|
+
|
|
53649
|
+
export type PublicSocialPostInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53650
|
+
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
53651
|
+
}
|
|
53652
|
+
export type PublicSocialPostIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53653
|
+
socialPost?: boolean | SocialPostDefaultArgs<ExtArgs>
|
|
53654
|
+
}
|
|
53655
|
+
|
|
53656
|
+
export type $PublicSocialPostPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53657
|
+
name: "PublicSocialPost"
|
|
53658
|
+
objects: {
|
|
53659
|
+
socialPost: Prisma.$SocialPostPayload<ExtArgs>
|
|
53660
|
+
}
|
|
53661
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
53662
|
+
id: number
|
|
53663
|
+
socialPostId: number
|
|
53664
|
+
views: number | null
|
|
53665
|
+
likes: number | null
|
|
53666
|
+
comments: number | null
|
|
53667
|
+
saves: number | null
|
|
53668
|
+
shares: number | null
|
|
53669
|
+
}, ExtArgs["result"]["publicSocialPost"]>
|
|
53670
|
+
composites: {}
|
|
53671
|
+
}
|
|
53672
|
+
|
|
53673
|
+
type PublicSocialPostGetPayload<S extends boolean | null | undefined | PublicSocialPostDefaultArgs> = $Result.GetResult<Prisma.$PublicSocialPostPayload, S>
|
|
53674
|
+
|
|
53675
|
+
type PublicSocialPostCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
53676
|
+
Omit<PublicSocialPostFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
|
53677
|
+
select?: PublicSocialPostCountAggregateInputType | true
|
|
53678
|
+
}
|
|
53679
|
+
|
|
53680
|
+
export interface PublicSocialPostDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
|
53681
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PublicSocialPost'], meta: { name: 'PublicSocialPost' } }
|
|
53682
|
+
/**
|
|
53683
|
+
* Find zero or one PublicSocialPost that matches the filter.
|
|
53684
|
+
* @param {PublicSocialPostFindUniqueArgs} args - Arguments to find a PublicSocialPost
|
|
53685
|
+
* @example
|
|
53686
|
+
* // Get one PublicSocialPost
|
|
53687
|
+
* const publicSocialPost = await prisma.publicSocialPost.findUnique({
|
|
53688
|
+
* where: {
|
|
53689
|
+
* // ... provide filter here
|
|
53690
|
+
* }
|
|
53691
|
+
* })
|
|
53692
|
+
**/
|
|
53693
|
+
findUnique<T extends PublicSocialPostFindUniqueArgs<ExtArgs>>(
|
|
53694
|
+
args: SelectSubset<T, PublicSocialPostFindUniqueArgs<ExtArgs>>
|
|
53695
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findUnique'> | null, null, ExtArgs>
|
|
53696
|
+
|
|
53697
|
+
/**
|
|
53698
|
+
* Find one PublicSocialPost that matches the filter or throw an error with `error.code='P2025'`
|
|
53699
|
+
* if no matches were found.
|
|
53700
|
+
* @param {PublicSocialPostFindUniqueOrThrowArgs} args - Arguments to find a PublicSocialPost
|
|
53701
|
+
* @example
|
|
53702
|
+
* // Get one PublicSocialPost
|
|
53703
|
+
* const publicSocialPost = await prisma.publicSocialPost.findUniqueOrThrow({
|
|
53704
|
+
* where: {
|
|
53705
|
+
* // ... provide filter here
|
|
53706
|
+
* }
|
|
53707
|
+
* })
|
|
53708
|
+
**/
|
|
53709
|
+
findUniqueOrThrow<T extends PublicSocialPostFindUniqueOrThrowArgs<ExtArgs>>(
|
|
53710
|
+
args?: SelectSubset<T, PublicSocialPostFindUniqueOrThrowArgs<ExtArgs>>
|
|
53711
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'>, never, ExtArgs>
|
|
53712
|
+
|
|
53713
|
+
/**
|
|
53714
|
+
* Find the first PublicSocialPost that matches the filter.
|
|
53715
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
53716
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
53717
|
+
* @param {PublicSocialPostFindFirstArgs} args - Arguments to find a PublicSocialPost
|
|
53718
|
+
* @example
|
|
53719
|
+
* // Get one PublicSocialPost
|
|
53720
|
+
* const publicSocialPost = await prisma.publicSocialPost.findFirst({
|
|
53721
|
+
* where: {
|
|
53722
|
+
* // ... provide filter here
|
|
53723
|
+
* }
|
|
53724
|
+
* })
|
|
53725
|
+
**/
|
|
53726
|
+
findFirst<T extends PublicSocialPostFindFirstArgs<ExtArgs>>(
|
|
53727
|
+
args?: SelectSubset<T, PublicSocialPostFindFirstArgs<ExtArgs>>
|
|
53728
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findFirst'> | null, null, ExtArgs>
|
|
53729
|
+
|
|
53730
|
+
/**
|
|
53731
|
+
* Find the first PublicSocialPost that matches the filter or
|
|
53732
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
53733
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
53734
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
53735
|
+
* @param {PublicSocialPostFindFirstOrThrowArgs} args - Arguments to find a PublicSocialPost
|
|
53736
|
+
* @example
|
|
53737
|
+
* // Get one PublicSocialPost
|
|
53738
|
+
* const publicSocialPost = await prisma.publicSocialPost.findFirstOrThrow({
|
|
53739
|
+
* where: {
|
|
53740
|
+
* // ... provide filter here
|
|
53741
|
+
* }
|
|
53742
|
+
* })
|
|
53743
|
+
**/
|
|
53744
|
+
findFirstOrThrow<T extends PublicSocialPostFindFirstOrThrowArgs<ExtArgs>>(
|
|
53745
|
+
args?: SelectSubset<T, PublicSocialPostFindFirstOrThrowArgs<ExtArgs>>
|
|
53746
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findFirstOrThrow'>, never, ExtArgs>
|
|
53747
|
+
|
|
53748
|
+
/**
|
|
53749
|
+
* Find zero or more PublicSocialPosts that matches the filter.
|
|
53750
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
53751
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
53752
|
+
* @param {PublicSocialPostFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
53753
|
+
* @example
|
|
53754
|
+
* // Get all PublicSocialPosts
|
|
53755
|
+
* const publicSocialPosts = await prisma.publicSocialPost.findMany()
|
|
53756
|
+
*
|
|
53757
|
+
* // Get first 10 PublicSocialPosts
|
|
53758
|
+
* const publicSocialPosts = await prisma.publicSocialPost.findMany({ take: 10 })
|
|
53759
|
+
*
|
|
53760
|
+
* // Only select the `id`
|
|
53761
|
+
* const publicSocialPostWithIdOnly = await prisma.publicSocialPost.findMany({ select: { id: true } })
|
|
53762
|
+
*
|
|
53763
|
+
**/
|
|
53764
|
+
findMany<T extends PublicSocialPostFindManyArgs<ExtArgs>>(
|
|
53765
|
+
args?: SelectSubset<T, PublicSocialPostFindManyArgs<ExtArgs>>
|
|
53766
|
+
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'findMany'>>
|
|
53767
|
+
|
|
53768
|
+
/**
|
|
53769
|
+
* Create a PublicSocialPost.
|
|
53770
|
+
* @param {PublicSocialPostCreateArgs} args - Arguments to create a PublicSocialPost.
|
|
53771
|
+
* @example
|
|
53772
|
+
* // Create one PublicSocialPost
|
|
53773
|
+
* const PublicSocialPost = await prisma.publicSocialPost.create({
|
|
53774
|
+
* data: {
|
|
53775
|
+
* // ... data to create a PublicSocialPost
|
|
53776
|
+
* }
|
|
53777
|
+
* })
|
|
53778
|
+
*
|
|
53779
|
+
**/
|
|
53780
|
+
create<T extends PublicSocialPostCreateArgs<ExtArgs>>(
|
|
53781
|
+
args: SelectSubset<T, PublicSocialPostCreateArgs<ExtArgs>>
|
|
53782
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'create'>, never, ExtArgs>
|
|
53783
|
+
|
|
53784
|
+
/**
|
|
53785
|
+
* Create many PublicSocialPosts.
|
|
53786
|
+
* @param {PublicSocialPostCreateManyArgs} args - Arguments to create many PublicSocialPosts.
|
|
53787
|
+
* @example
|
|
53788
|
+
* // Create many PublicSocialPosts
|
|
53789
|
+
* const publicSocialPost = await prisma.publicSocialPost.createMany({
|
|
53790
|
+
* data: [
|
|
53791
|
+
* // ... provide data here
|
|
53792
|
+
* ]
|
|
53793
|
+
* })
|
|
53794
|
+
*
|
|
53795
|
+
**/
|
|
53796
|
+
createMany<T extends PublicSocialPostCreateManyArgs<ExtArgs>>(
|
|
53797
|
+
args?: SelectSubset<T, PublicSocialPostCreateManyArgs<ExtArgs>>
|
|
53798
|
+
): Prisma.PrismaPromise<BatchPayload>
|
|
53799
|
+
|
|
53800
|
+
/**
|
|
53801
|
+
* Create many PublicSocialPosts and returns the data saved in the database.
|
|
53802
|
+
* @param {PublicSocialPostCreateManyAndReturnArgs} args - Arguments to create many PublicSocialPosts.
|
|
53803
|
+
* @example
|
|
53804
|
+
* // Create many PublicSocialPosts
|
|
53805
|
+
* const publicSocialPost = await prisma.publicSocialPost.createManyAndReturn({
|
|
53806
|
+
* data: [
|
|
53807
|
+
* // ... provide data here
|
|
53808
|
+
* ]
|
|
53809
|
+
* })
|
|
53810
|
+
*
|
|
53811
|
+
* // Create many PublicSocialPosts and only return the `id`
|
|
53812
|
+
* const publicSocialPostWithIdOnly = await prisma.publicSocialPost.createManyAndReturn({
|
|
53813
|
+
* select: { id: true },
|
|
53814
|
+
* data: [
|
|
53815
|
+
* // ... provide data here
|
|
53816
|
+
* ]
|
|
53817
|
+
* })
|
|
53818
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
53819
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
53820
|
+
*
|
|
53821
|
+
**/
|
|
53822
|
+
createManyAndReturn<T extends PublicSocialPostCreateManyAndReturnArgs<ExtArgs>>(
|
|
53823
|
+
args?: SelectSubset<T, PublicSocialPostCreateManyAndReturnArgs<ExtArgs>>
|
|
53824
|
+
): Prisma.PrismaPromise<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'createManyAndReturn'>>
|
|
53825
|
+
|
|
53826
|
+
/**
|
|
53827
|
+
* Delete a PublicSocialPost.
|
|
53828
|
+
* @param {PublicSocialPostDeleteArgs} args - Arguments to delete one PublicSocialPost.
|
|
53829
|
+
* @example
|
|
53830
|
+
* // Delete one PublicSocialPost
|
|
53831
|
+
* const PublicSocialPost = await prisma.publicSocialPost.delete({
|
|
53832
|
+
* where: {
|
|
53833
|
+
* // ... filter to delete one PublicSocialPost
|
|
53834
|
+
* }
|
|
53835
|
+
* })
|
|
53836
|
+
*
|
|
53837
|
+
**/
|
|
53838
|
+
delete<T extends PublicSocialPostDeleteArgs<ExtArgs>>(
|
|
53839
|
+
args: SelectSubset<T, PublicSocialPostDeleteArgs<ExtArgs>>
|
|
53840
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'delete'>, never, ExtArgs>
|
|
53841
|
+
|
|
53842
|
+
/**
|
|
53843
|
+
* Update one PublicSocialPost.
|
|
53844
|
+
* @param {PublicSocialPostUpdateArgs} args - Arguments to update one PublicSocialPost.
|
|
53845
|
+
* @example
|
|
53846
|
+
* // Update one PublicSocialPost
|
|
53847
|
+
* const publicSocialPost = await prisma.publicSocialPost.update({
|
|
53848
|
+
* where: {
|
|
53849
|
+
* // ... provide filter here
|
|
53850
|
+
* },
|
|
53851
|
+
* data: {
|
|
53852
|
+
* // ... provide data here
|
|
53853
|
+
* }
|
|
53854
|
+
* })
|
|
53855
|
+
*
|
|
53856
|
+
**/
|
|
53857
|
+
update<T extends PublicSocialPostUpdateArgs<ExtArgs>>(
|
|
53858
|
+
args: SelectSubset<T, PublicSocialPostUpdateArgs<ExtArgs>>
|
|
53859
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'update'>, never, ExtArgs>
|
|
53860
|
+
|
|
53861
|
+
/**
|
|
53862
|
+
* Delete zero or more PublicSocialPosts.
|
|
53863
|
+
* @param {PublicSocialPostDeleteManyArgs} args - Arguments to filter PublicSocialPosts to delete.
|
|
53864
|
+
* @example
|
|
53865
|
+
* // Delete a few PublicSocialPosts
|
|
53866
|
+
* const { count } = await prisma.publicSocialPost.deleteMany({
|
|
53867
|
+
* where: {
|
|
53868
|
+
* // ... provide filter here
|
|
53869
|
+
* }
|
|
53870
|
+
* })
|
|
53871
|
+
*
|
|
53872
|
+
**/
|
|
53873
|
+
deleteMany<T extends PublicSocialPostDeleteManyArgs<ExtArgs>>(
|
|
53874
|
+
args?: SelectSubset<T, PublicSocialPostDeleteManyArgs<ExtArgs>>
|
|
53875
|
+
): Prisma.PrismaPromise<BatchPayload>
|
|
53876
|
+
|
|
53877
|
+
/**
|
|
53878
|
+
* Update zero or more PublicSocialPosts.
|
|
53879
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
53880
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
53881
|
+
* @param {PublicSocialPostUpdateManyArgs} args - Arguments to update one or more rows.
|
|
53882
|
+
* @example
|
|
53883
|
+
* // Update many PublicSocialPosts
|
|
53884
|
+
* const publicSocialPost = await prisma.publicSocialPost.updateMany({
|
|
53885
|
+
* where: {
|
|
53886
|
+
* // ... provide filter here
|
|
53887
|
+
* },
|
|
53888
|
+
* data: {
|
|
53889
|
+
* // ... provide data here
|
|
53890
|
+
* }
|
|
53891
|
+
* })
|
|
53892
|
+
*
|
|
53893
|
+
**/
|
|
53894
|
+
updateMany<T extends PublicSocialPostUpdateManyArgs<ExtArgs>>(
|
|
53895
|
+
args: SelectSubset<T, PublicSocialPostUpdateManyArgs<ExtArgs>>
|
|
53896
|
+
): Prisma.PrismaPromise<BatchPayload>
|
|
53897
|
+
|
|
53898
|
+
/**
|
|
53899
|
+
* Create or update one PublicSocialPost.
|
|
53900
|
+
* @param {PublicSocialPostUpsertArgs} args - Arguments to update or create a PublicSocialPost.
|
|
53901
|
+
* @example
|
|
53902
|
+
* // Update or create a PublicSocialPost
|
|
53903
|
+
* const publicSocialPost = await prisma.publicSocialPost.upsert({
|
|
53904
|
+
* create: {
|
|
53905
|
+
* // ... data to create a PublicSocialPost
|
|
53906
|
+
* },
|
|
53907
|
+
* update: {
|
|
53908
|
+
* // ... in case it already exists, update
|
|
53909
|
+
* },
|
|
53910
|
+
* where: {
|
|
53911
|
+
* // ... the filter for the PublicSocialPost we want to update
|
|
53912
|
+
* }
|
|
53913
|
+
* })
|
|
53914
|
+
**/
|
|
53915
|
+
upsert<T extends PublicSocialPostUpsertArgs<ExtArgs>>(
|
|
53916
|
+
args: SelectSubset<T, PublicSocialPostUpsertArgs<ExtArgs>>
|
|
53917
|
+
): Prisma__PublicSocialPostClient<$Result.GetResult<Prisma.$PublicSocialPostPayload<ExtArgs>, T, 'upsert'>, never, ExtArgs>
|
|
53918
|
+
|
|
53919
|
+
/**
|
|
53920
|
+
* Count the number of PublicSocialPosts.
|
|
53921
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
53922
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
53923
|
+
* @param {PublicSocialPostCountArgs} args - Arguments to filter PublicSocialPosts to count.
|
|
53924
|
+
* @example
|
|
53925
|
+
* // Count the number of PublicSocialPosts
|
|
53926
|
+
* const count = await prisma.publicSocialPost.count({
|
|
53927
|
+
* where: {
|
|
53928
|
+
* // ... the filter for the PublicSocialPosts we want to count
|
|
53929
|
+
* }
|
|
53930
|
+
* })
|
|
53931
|
+
**/
|
|
53932
|
+
count<T extends PublicSocialPostCountArgs>(
|
|
53933
|
+
args?: Subset<T, PublicSocialPostCountArgs>,
|
|
53934
|
+
): Prisma.PrismaPromise<
|
|
53935
|
+
T extends $Utils.Record<'select', any>
|
|
53936
|
+
? T['select'] extends true
|
|
53937
|
+
? number
|
|
53938
|
+
: GetScalarType<T['select'], PublicSocialPostCountAggregateOutputType>
|
|
53939
|
+
: number
|
|
53940
|
+
>
|
|
53941
|
+
|
|
53942
|
+
/**
|
|
53943
|
+
* Allows you to perform aggregations operations on a PublicSocialPost.
|
|
53944
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
53945
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
53946
|
+
* @param {PublicSocialPostAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
53947
|
+
* @example
|
|
53948
|
+
* // Ordered by age ascending
|
|
53949
|
+
* // Where email contains prisma.io
|
|
53950
|
+
* // Limited to the 10 users
|
|
53951
|
+
* const aggregations = await prisma.user.aggregate({
|
|
53952
|
+
* _avg: {
|
|
53953
|
+
* age: true,
|
|
53954
|
+
* },
|
|
53955
|
+
* where: {
|
|
53956
|
+
* email: {
|
|
53957
|
+
* contains: "prisma.io",
|
|
53958
|
+
* },
|
|
53959
|
+
* },
|
|
53960
|
+
* orderBy: {
|
|
53961
|
+
* age: "asc",
|
|
53962
|
+
* },
|
|
53963
|
+
* take: 10,
|
|
53964
|
+
* })
|
|
53965
|
+
**/
|
|
53966
|
+
aggregate<T extends PublicSocialPostAggregateArgs>(args: Subset<T, PublicSocialPostAggregateArgs>): Prisma.PrismaPromise<GetPublicSocialPostAggregateType<T>>
|
|
53967
|
+
|
|
53968
|
+
/**
|
|
53969
|
+
* Group by PublicSocialPost.
|
|
53970
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
53971
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
53972
|
+
* @param {PublicSocialPostGroupByArgs} args - Group by arguments.
|
|
53973
|
+
* @example
|
|
53974
|
+
* // Group by city, order by createdAt, get count
|
|
53975
|
+
* const result = await prisma.user.groupBy({
|
|
53976
|
+
* by: ['city', 'createdAt'],
|
|
53977
|
+
* orderBy: {
|
|
53978
|
+
* createdAt: true
|
|
53979
|
+
* },
|
|
53980
|
+
* _count: {
|
|
53981
|
+
* _all: true
|
|
53982
|
+
* },
|
|
53983
|
+
* })
|
|
53984
|
+
*
|
|
53985
|
+
**/
|
|
53986
|
+
groupBy<
|
|
53987
|
+
T extends PublicSocialPostGroupByArgs,
|
|
53988
|
+
HasSelectOrTake extends Or<
|
|
53989
|
+
Extends<'skip', Keys<T>>,
|
|
53990
|
+
Extends<'take', Keys<T>>
|
|
53991
|
+
>,
|
|
53992
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
53993
|
+
? { orderBy: PublicSocialPostGroupByArgs['orderBy'] }
|
|
53994
|
+
: { orderBy?: PublicSocialPostGroupByArgs['orderBy'] },
|
|
53995
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
53996
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
53997
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
53998
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
53999
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
54000
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
54001
|
+
InputErrors extends ByEmpty extends True
|
|
54002
|
+
? `Error: "by" must not be empty.`
|
|
54003
|
+
: HavingValid extends False
|
|
54004
|
+
? {
|
|
54005
|
+
[P in HavingFields]: P extends ByFields
|
|
54006
|
+
? never
|
|
54007
|
+
: P extends string
|
|
54008
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
54009
|
+
: [
|
|
54010
|
+
Error,
|
|
54011
|
+
'Field ',
|
|
54012
|
+
P,
|
|
54013
|
+
` in "having" needs to be provided in "by"`,
|
|
54014
|
+
]
|
|
54015
|
+
}[HavingFields]
|
|
54016
|
+
: 'take' extends Keys<T>
|
|
54017
|
+
? 'orderBy' extends Keys<T>
|
|
54018
|
+
? ByValid extends True
|
|
54019
|
+
? {}
|
|
54020
|
+
: {
|
|
54021
|
+
[P in OrderFields]: P extends ByFields
|
|
54022
|
+
? never
|
|
54023
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
54024
|
+
}[OrderFields]
|
|
54025
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
54026
|
+
: 'skip' extends Keys<T>
|
|
54027
|
+
? 'orderBy' extends Keys<T>
|
|
54028
|
+
? ByValid extends True
|
|
54029
|
+
? {}
|
|
54030
|
+
: {
|
|
54031
|
+
[P in OrderFields]: P extends ByFields
|
|
54032
|
+
? never
|
|
54033
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
54034
|
+
}[OrderFields]
|
|
54035
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
54036
|
+
: ByValid extends True
|
|
54037
|
+
? {}
|
|
54038
|
+
: {
|
|
54039
|
+
[P in OrderFields]: P extends ByFields
|
|
54040
|
+
? never
|
|
54041
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
54042
|
+
}[OrderFields]
|
|
54043
|
+
>(args: SubsetIntersection<T, PublicSocialPostGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPublicSocialPostGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
54044
|
+
/**
|
|
54045
|
+
* Fields of the PublicSocialPost model
|
|
54046
|
+
*/
|
|
54047
|
+
readonly fields: PublicSocialPostFieldRefs;
|
|
54048
|
+
}
|
|
54049
|
+
|
|
54050
|
+
/**
|
|
54051
|
+
* The delegate class that acts as a "Promise-like" for PublicSocialPost.
|
|
54052
|
+
* Why is this prefixed with `Prisma__`?
|
|
54053
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
54054
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
54055
|
+
*/
|
|
54056
|
+
export interface Prisma__PublicSocialPostClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
|
54057
|
+
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
54058
|
+
|
|
54059
|
+
socialPost<T extends SocialPostDefaultArgs<ExtArgs> = {}>(args?: Subset<T, SocialPostDefaultArgs<ExtArgs>>): Prisma__SocialPostClient<$Result.GetResult<Prisma.$SocialPostPayload<ExtArgs>, T, 'findUniqueOrThrow'> | Null, Null, ExtArgs>;
|
|
54060
|
+
|
|
52818
54061
|
/**
|
|
52819
54062
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
52820
54063
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -52840,441 +54083,345 @@ export namespace Prisma {
|
|
|
52840
54083
|
|
|
52841
54084
|
|
|
52842
54085
|
/**
|
|
52843
|
-
* Fields of the
|
|
54086
|
+
* Fields of the PublicSocialPost model
|
|
52844
54087
|
*/
|
|
52845
|
-
interface
|
|
52846
|
-
readonly id: FieldRef<"
|
|
52847
|
-
readonly
|
|
52848
|
-
readonly
|
|
52849
|
-
readonly
|
|
52850
|
-
readonly
|
|
52851
|
-
readonly
|
|
52852
|
-
readonly
|
|
52853
|
-
readonly title: FieldRef<"SocialPost", 'String'>
|
|
52854
|
-
readonly description: FieldRef<"SocialPost", 'String'>
|
|
52855
|
-
readonly url: FieldRef<"SocialPost", 'String'>
|
|
52856
|
-
readonly format: FieldRef<"SocialPost", 'String'>
|
|
52857
|
-
readonly type: FieldRef<"SocialPost", 'String'>
|
|
52858
|
-
readonly platform: FieldRef<"SocialPost", 'String'>
|
|
52859
|
-
readonly visibility: FieldRef<"SocialPost", 'String'>
|
|
52860
|
-
readonly isSponsored: FieldRef<"SocialPost", 'Boolean'>
|
|
52861
|
-
readonly hasCollaborators: FieldRef<"SocialPost", 'Boolean'>
|
|
52862
|
-
readonly isOwnedByUser: FieldRef<"SocialPost", 'Boolean'>
|
|
52863
|
-
readonly views: FieldRef<"SocialPost", 'Int'>
|
|
52864
|
-
readonly replays: FieldRef<"SocialPost", 'Int'>
|
|
52865
|
-
readonly impressions: FieldRef<"SocialPost", 'Int'>
|
|
52866
|
-
readonly impressionsOrganic: FieldRef<"SocialPost", 'Int'>
|
|
52867
|
-
readonly impressionsPaid: FieldRef<"SocialPost", 'Int'>
|
|
52868
|
-
readonly reach: FieldRef<"SocialPost", 'Int'>
|
|
52869
|
-
readonly reachOrganic: FieldRef<"SocialPost", 'Int'>
|
|
52870
|
-
readonly reachPaid: FieldRef<"SocialPost", 'Int'>
|
|
52871
|
-
readonly watchHours: FieldRef<"SocialPost", 'Float'>
|
|
52872
|
-
readonly likes: FieldRef<"SocialPost", 'Int'>
|
|
52873
|
-
readonly dislikes: FieldRef<"SocialPost", 'Int'>
|
|
52874
|
-
readonly comments: FieldRef<"SocialPost", 'Int'>
|
|
52875
|
-
readonly saves: FieldRef<"SocialPost", 'Int'>
|
|
52876
|
-
readonly shares: FieldRef<"SocialPost", 'Int'>
|
|
52877
|
-
readonly userId: FieldRef<"SocialPost", 'Int'>
|
|
52878
|
-
readonly campaignId: FieldRef<"SocialPost", 'Int'>
|
|
54088
|
+
interface PublicSocialPostFieldRefs {
|
|
54089
|
+
readonly id: FieldRef<"PublicSocialPost", 'Int'>
|
|
54090
|
+
readonly socialPostId: FieldRef<"PublicSocialPost", 'Int'>
|
|
54091
|
+
readonly views: FieldRef<"PublicSocialPost", 'Int'>
|
|
54092
|
+
readonly likes: FieldRef<"PublicSocialPost", 'Int'>
|
|
54093
|
+
readonly comments: FieldRef<"PublicSocialPost", 'Int'>
|
|
54094
|
+
readonly saves: FieldRef<"PublicSocialPost", 'Int'>
|
|
54095
|
+
readonly shares: FieldRef<"PublicSocialPost", 'Int'>
|
|
52879
54096
|
}
|
|
52880
54097
|
|
|
52881
54098
|
|
|
52882
54099
|
// Custom InputTypes
|
|
52883
54100
|
/**
|
|
52884
|
-
*
|
|
54101
|
+
* PublicSocialPost findUnique
|
|
52885
54102
|
*/
|
|
52886
|
-
export type
|
|
54103
|
+
export type PublicSocialPostFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
52887
54104
|
/**
|
|
52888
|
-
* Select specific fields to fetch from the
|
|
54105
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
52889
54106
|
*/
|
|
52890
|
-
select?:
|
|
54107
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
52891
54108
|
/**
|
|
52892
54109
|
* Choose, which related nodes to fetch as well
|
|
52893
54110
|
*/
|
|
52894
|
-
include?:
|
|
54111
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
52895
54112
|
/**
|
|
52896
|
-
* Filter, which
|
|
54113
|
+
* Filter, which PublicSocialPost to fetch.
|
|
52897
54114
|
*/
|
|
52898
|
-
where:
|
|
54115
|
+
where: PublicSocialPostWhereUniqueInput
|
|
52899
54116
|
}
|
|
52900
54117
|
|
|
52901
54118
|
/**
|
|
52902
|
-
*
|
|
54119
|
+
* PublicSocialPost findUniqueOrThrow
|
|
52903
54120
|
*/
|
|
52904
|
-
export type
|
|
54121
|
+
export type PublicSocialPostFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
52905
54122
|
/**
|
|
52906
|
-
* Select specific fields to fetch from the
|
|
54123
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
52907
54124
|
*/
|
|
52908
|
-
select?:
|
|
54125
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
52909
54126
|
/**
|
|
52910
54127
|
* Choose, which related nodes to fetch as well
|
|
52911
54128
|
*/
|
|
52912
|
-
include?:
|
|
54129
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
52913
54130
|
/**
|
|
52914
|
-
* Filter, which
|
|
54131
|
+
* Filter, which PublicSocialPost to fetch.
|
|
52915
54132
|
*/
|
|
52916
|
-
where:
|
|
54133
|
+
where: PublicSocialPostWhereUniqueInput
|
|
52917
54134
|
}
|
|
52918
54135
|
|
|
52919
54136
|
/**
|
|
52920
|
-
*
|
|
54137
|
+
* PublicSocialPost findFirst
|
|
52921
54138
|
*/
|
|
52922
|
-
export type
|
|
54139
|
+
export type PublicSocialPostFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
52923
54140
|
/**
|
|
52924
|
-
* Select specific fields to fetch from the
|
|
54141
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
52925
54142
|
*/
|
|
52926
|
-
select?:
|
|
54143
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
52927
54144
|
/**
|
|
52928
54145
|
* Choose, which related nodes to fetch as well
|
|
52929
54146
|
*/
|
|
52930
|
-
include?:
|
|
54147
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
52931
54148
|
/**
|
|
52932
|
-
* Filter, which
|
|
54149
|
+
* Filter, which PublicSocialPost to fetch.
|
|
52933
54150
|
*/
|
|
52934
|
-
where?:
|
|
54151
|
+
where?: PublicSocialPostWhereInput
|
|
52935
54152
|
/**
|
|
52936
54153
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
52937
54154
|
*
|
|
52938
|
-
* Determine the order of
|
|
54155
|
+
* Determine the order of PublicSocialPosts to fetch.
|
|
52939
54156
|
*/
|
|
52940
|
-
orderBy?:
|
|
54157
|
+
orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
52941
54158
|
/**
|
|
52942
54159
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
52943
54160
|
*
|
|
52944
|
-
* Sets the position for searching for
|
|
54161
|
+
* Sets the position for searching for PublicSocialPosts.
|
|
52945
54162
|
*/
|
|
52946
|
-
cursor?:
|
|
54163
|
+
cursor?: PublicSocialPostWhereUniqueInput
|
|
52947
54164
|
/**
|
|
52948
54165
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
52949
54166
|
*
|
|
52950
|
-
* Take `±n`
|
|
54167
|
+
* Take `±n` PublicSocialPosts from the position of the cursor.
|
|
52951
54168
|
*/
|
|
52952
54169
|
take?: number
|
|
52953
54170
|
/**
|
|
52954
54171
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
52955
54172
|
*
|
|
52956
|
-
* Skip the first `n`
|
|
54173
|
+
* Skip the first `n` PublicSocialPosts.
|
|
52957
54174
|
*/
|
|
52958
54175
|
skip?: number
|
|
52959
54176
|
/**
|
|
52960
54177
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
52961
54178
|
*
|
|
52962
|
-
* Filter by unique combinations of
|
|
54179
|
+
* Filter by unique combinations of PublicSocialPosts.
|
|
52963
54180
|
*/
|
|
52964
|
-
distinct?:
|
|
54181
|
+
distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
|
|
52965
54182
|
}
|
|
52966
54183
|
|
|
52967
54184
|
/**
|
|
52968
|
-
*
|
|
54185
|
+
* PublicSocialPost findFirstOrThrow
|
|
52969
54186
|
*/
|
|
52970
|
-
export type
|
|
54187
|
+
export type PublicSocialPostFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
52971
54188
|
/**
|
|
52972
|
-
* Select specific fields to fetch from the
|
|
54189
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
52973
54190
|
*/
|
|
52974
|
-
select?:
|
|
54191
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
52975
54192
|
/**
|
|
52976
54193
|
* Choose, which related nodes to fetch as well
|
|
52977
54194
|
*/
|
|
52978
|
-
include?:
|
|
54195
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
52979
54196
|
/**
|
|
52980
|
-
* Filter, which
|
|
54197
|
+
* Filter, which PublicSocialPost to fetch.
|
|
52981
54198
|
*/
|
|
52982
|
-
where?:
|
|
54199
|
+
where?: PublicSocialPostWhereInput
|
|
52983
54200
|
/**
|
|
52984
54201
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
52985
54202
|
*
|
|
52986
|
-
* Determine the order of
|
|
54203
|
+
* Determine the order of PublicSocialPosts to fetch.
|
|
52987
54204
|
*/
|
|
52988
|
-
orderBy?:
|
|
54205
|
+
orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
52989
54206
|
/**
|
|
52990
54207
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
52991
54208
|
*
|
|
52992
|
-
* Sets the position for searching for
|
|
54209
|
+
* Sets the position for searching for PublicSocialPosts.
|
|
52993
54210
|
*/
|
|
52994
|
-
cursor?:
|
|
54211
|
+
cursor?: PublicSocialPostWhereUniqueInput
|
|
52995
54212
|
/**
|
|
52996
54213
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
52997
54214
|
*
|
|
52998
|
-
* Take `±n`
|
|
54215
|
+
* Take `±n` PublicSocialPosts from the position of the cursor.
|
|
52999
54216
|
*/
|
|
53000
54217
|
take?: number
|
|
53001
54218
|
/**
|
|
53002
54219
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53003
54220
|
*
|
|
53004
|
-
* Skip the first `n`
|
|
54221
|
+
* Skip the first `n` PublicSocialPosts.
|
|
53005
54222
|
*/
|
|
53006
54223
|
skip?: number
|
|
53007
54224
|
/**
|
|
53008
54225
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
53009
54226
|
*
|
|
53010
|
-
* Filter by unique combinations of
|
|
54227
|
+
* Filter by unique combinations of PublicSocialPosts.
|
|
53011
54228
|
*/
|
|
53012
|
-
distinct?:
|
|
54229
|
+
distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
|
|
53013
54230
|
}
|
|
53014
54231
|
|
|
53015
54232
|
/**
|
|
53016
|
-
*
|
|
54233
|
+
* PublicSocialPost findMany
|
|
53017
54234
|
*/
|
|
53018
|
-
export type
|
|
54235
|
+
export type PublicSocialPostFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53019
54236
|
/**
|
|
53020
|
-
* Select specific fields to fetch from the
|
|
54237
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
53021
54238
|
*/
|
|
53022
|
-
select?:
|
|
54239
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
53023
54240
|
/**
|
|
53024
54241
|
* Choose, which related nodes to fetch as well
|
|
53025
54242
|
*/
|
|
53026
|
-
include?:
|
|
54243
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
53027
54244
|
/**
|
|
53028
|
-
* Filter, which
|
|
54245
|
+
* Filter, which PublicSocialPosts to fetch.
|
|
53029
54246
|
*/
|
|
53030
|
-
where?:
|
|
54247
|
+
where?: PublicSocialPostWhereInput
|
|
53031
54248
|
/**
|
|
53032
54249
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
53033
54250
|
*
|
|
53034
|
-
* Determine the order of
|
|
54251
|
+
* Determine the order of PublicSocialPosts to fetch.
|
|
53035
54252
|
*/
|
|
53036
|
-
orderBy?:
|
|
54253
|
+
orderBy?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput | PublicSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53037
54254
|
/**
|
|
53038
54255
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
53039
54256
|
*
|
|
53040
|
-
* Sets the position for listing
|
|
54257
|
+
* Sets the position for listing PublicSocialPosts.
|
|
53041
54258
|
*/
|
|
53042
|
-
cursor?:
|
|
54259
|
+
cursor?: PublicSocialPostWhereUniqueInput
|
|
53043
54260
|
/**
|
|
53044
54261
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53045
54262
|
*
|
|
53046
|
-
* Take `±n`
|
|
54263
|
+
* Take `±n` PublicSocialPosts from the position of the cursor.
|
|
53047
54264
|
*/
|
|
53048
54265
|
take?: number
|
|
53049
54266
|
/**
|
|
53050
54267
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
53051
54268
|
*
|
|
53052
|
-
* Skip the first `n`
|
|
54269
|
+
* Skip the first `n` PublicSocialPosts.
|
|
53053
54270
|
*/
|
|
53054
54271
|
skip?: number
|
|
53055
|
-
distinct?:
|
|
54272
|
+
distinct?: PublicSocialPostScalarFieldEnum | PublicSocialPostScalarFieldEnum[]
|
|
53056
54273
|
}
|
|
53057
54274
|
|
|
53058
54275
|
/**
|
|
53059
|
-
*
|
|
54276
|
+
* PublicSocialPost create
|
|
53060
54277
|
*/
|
|
53061
|
-
export type
|
|
54278
|
+
export type PublicSocialPostCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53062
54279
|
/**
|
|
53063
|
-
* Select specific fields to fetch from the
|
|
54280
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
53064
54281
|
*/
|
|
53065
|
-
select?:
|
|
54282
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
53066
54283
|
/**
|
|
53067
54284
|
* Choose, which related nodes to fetch as well
|
|
53068
54285
|
*/
|
|
53069
|
-
include?:
|
|
54286
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
53070
54287
|
/**
|
|
53071
|
-
* The data needed to create a
|
|
54288
|
+
* The data needed to create a PublicSocialPost.
|
|
53072
54289
|
*/
|
|
53073
|
-
data: XOR<
|
|
54290
|
+
data: XOR<PublicSocialPostCreateInput, PublicSocialPostUncheckedCreateInput>
|
|
53074
54291
|
}
|
|
53075
54292
|
|
|
53076
54293
|
/**
|
|
53077
|
-
*
|
|
54294
|
+
* PublicSocialPost createMany
|
|
53078
54295
|
*/
|
|
53079
|
-
export type
|
|
54296
|
+
export type PublicSocialPostCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53080
54297
|
/**
|
|
53081
|
-
* The data used to create many
|
|
54298
|
+
* The data used to create many PublicSocialPosts.
|
|
53082
54299
|
*/
|
|
53083
|
-
data:
|
|
54300
|
+
data: PublicSocialPostCreateManyInput | PublicSocialPostCreateManyInput[]
|
|
53084
54301
|
skipDuplicates?: boolean
|
|
53085
54302
|
}
|
|
53086
54303
|
|
|
53087
54304
|
/**
|
|
53088
|
-
*
|
|
54305
|
+
* PublicSocialPost createManyAndReturn
|
|
53089
54306
|
*/
|
|
53090
|
-
export type
|
|
54307
|
+
export type PublicSocialPostCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53091
54308
|
/**
|
|
53092
|
-
* Select specific fields to fetch from the
|
|
54309
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
53093
54310
|
*/
|
|
53094
|
-
select?:
|
|
54311
|
+
select?: PublicSocialPostSelectCreateManyAndReturn<ExtArgs> | null
|
|
53095
54312
|
/**
|
|
53096
|
-
* The data used to create many
|
|
54313
|
+
* The data used to create many PublicSocialPosts.
|
|
53097
54314
|
*/
|
|
53098
|
-
data:
|
|
54315
|
+
data: PublicSocialPostCreateManyInput | PublicSocialPostCreateManyInput[]
|
|
53099
54316
|
skipDuplicates?: boolean
|
|
53100
54317
|
/**
|
|
53101
54318
|
* Choose, which related nodes to fetch as well
|
|
53102
54319
|
*/
|
|
53103
|
-
include?:
|
|
54320
|
+
include?: PublicSocialPostIncludeCreateManyAndReturn<ExtArgs> | null
|
|
53104
54321
|
}
|
|
53105
54322
|
|
|
53106
54323
|
/**
|
|
53107
|
-
*
|
|
54324
|
+
* PublicSocialPost update
|
|
53108
54325
|
*/
|
|
53109
|
-
export type
|
|
54326
|
+
export type PublicSocialPostUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53110
54327
|
/**
|
|
53111
|
-
* Select specific fields to fetch from the
|
|
54328
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
53112
54329
|
*/
|
|
53113
|
-
select?:
|
|
54330
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
53114
54331
|
/**
|
|
53115
54332
|
* Choose, which related nodes to fetch as well
|
|
53116
54333
|
*/
|
|
53117
|
-
include?:
|
|
54334
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
53118
54335
|
/**
|
|
53119
|
-
* The data needed to update a
|
|
54336
|
+
* The data needed to update a PublicSocialPost.
|
|
53120
54337
|
*/
|
|
53121
|
-
data: XOR<
|
|
54338
|
+
data: XOR<PublicSocialPostUpdateInput, PublicSocialPostUncheckedUpdateInput>
|
|
53122
54339
|
/**
|
|
53123
|
-
* Choose, which
|
|
54340
|
+
* Choose, which PublicSocialPost to update.
|
|
53124
54341
|
*/
|
|
53125
|
-
where:
|
|
54342
|
+
where: PublicSocialPostWhereUniqueInput
|
|
53126
54343
|
}
|
|
53127
54344
|
|
|
53128
54345
|
/**
|
|
53129
|
-
*
|
|
54346
|
+
* PublicSocialPost updateMany
|
|
53130
54347
|
*/
|
|
53131
|
-
export type
|
|
54348
|
+
export type PublicSocialPostUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53132
54349
|
/**
|
|
53133
|
-
* The data used to update
|
|
54350
|
+
* The data used to update PublicSocialPosts.
|
|
53134
54351
|
*/
|
|
53135
|
-
data: XOR<
|
|
54352
|
+
data: XOR<PublicSocialPostUpdateManyMutationInput, PublicSocialPostUncheckedUpdateManyInput>
|
|
53136
54353
|
/**
|
|
53137
|
-
* Filter which
|
|
54354
|
+
* Filter which PublicSocialPosts to update
|
|
53138
54355
|
*/
|
|
53139
|
-
where?:
|
|
54356
|
+
where?: PublicSocialPostWhereInput
|
|
53140
54357
|
}
|
|
53141
54358
|
|
|
53142
54359
|
/**
|
|
53143
|
-
*
|
|
54360
|
+
* PublicSocialPost upsert
|
|
53144
54361
|
*/
|
|
53145
|
-
export type
|
|
54362
|
+
export type PublicSocialPostUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53146
54363
|
/**
|
|
53147
|
-
* Select specific fields to fetch from the
|
|
54364
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
53148
54365
|
*/
|
|
53149
|
-
select?:
|
|
54366
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
53150
54367
|
/**
|
|
53151
54368
|
* Choose, which related nodes to fetch as well
|
|
53152
54369
|
*/
|
|
53153
|
-
include?:
|
|
54370
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
53154
54371
|
/**
|
|
53155
|
-
* The filter to search for the
|
|
54372
|
+
* The filter to search for the PublicSocialPost to update in case it exists.
|
|
53156
54373
|
*/
|
|
53157
|
-
where:
|
|
54374
|
+
where: PublicSocialPostWhereUniqueInput
|
|
53158
54375
|
/**
|
|
53159
|
-
* In case the
|
|
54376
|
+
* In case the PublicSocialPost found by the `where` argument doesn't exist, create a new PublicSocialPost with this data.
|
|
53160
54377
|
*/
|
|
53161
|
-
create: XOR<
|
|
54378
|
+
create: XOR<PublicSocialPostCreateInput, PublicSocialPostUncheckedCreateInput>
|
|
53162
54379
|
/**
|
|
53163
|
-
* In case the
|
|
54380
|
+
* In case the PublicSocialPost was found with the provided `where` argument, update it with this data.
|
|
53164
54381
|
*/
|
|
53165
|
-
update: XOR<
|
|
54382
|
+
update: XOR<PublicSocialPostUpdateInput, PublicSocialPostUncheckedUpdateInput>
|
|
53166
54383
|
}
|
|
53167
54384
|
|
|
53168
54385
|
/**
|
|
53169
|
-
*
|
|
54386
|
+
* PublicSocialPost delete
|
|
53170
54387
|
*/
|
|
53171
|
-
export type
|
|
54388
|
+
export type PublicSocialPostDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53172
54389
|
/**
|
|
53173
|
-
* Select specific fields to fetch from the
|
|
54390
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
53174
54391
|
*/
|
|
53175
|
-
select?:
|
|
54392
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
53176
54393
|
/**
|
|
53177
54394
|
* Choose, which related nodes to fetch as well
|
|
53178
54395
|
*/
|
|
53179
|
-
include?:
|
|
54396
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
53180
54397
|
/**
|
|
53181
|
-
* Filter which
|
|
54398
|
+
* Filter which PublicSocialPost to delete.
|
|
53182
54399
|
*/
|
|
53183
|
-
where:
|
|
54400
|
+
where: PublicSocialPostWhereUniqueInput
|
|
53184
54401
|
}
|
|
53185
54402
|
|
|
53186
54403
|
/**
|
|
53187
|
-
*
|
|
54404
|
+
* PublicSocialPost deleteMany
|
|
53188
54405
|
*/
|
|
53189
|
-
export type
|
|
54406
|
+
export type PublicSocialPostDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53190
54407
|
/**
|
|
53191
|
-
* Filter which
|
|
54408
|
+
* Filter which PublicSocialPosts to delete
|
|
53192
54409
|
*/
|
|
53193
|
-
where?:
|
|
54410
|
+
where?: PublicSocialPostWhereInput
|
|
53194
54411
|
}
|
|
53195
54412
|
|
|
53196
54413
|
/**
|
|
53197
|
-
*
|
|
54414
|
+
* PublicSocialPost without action
|
|
53198
54415
|
*/
|
|
53199
|
-
export type
|
|
54416
|
+
export type PublicSocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53200
54417
|
/**
|
|
53201
|
-
* Select specific fields to fetch from the
|
|
54418
|
+
* Select specific fields to fetch from the PublicSocialPost
|
|
53202
54419
|
*/
|
|
53203
|
-
select?:
|
|
54420
|
+
select?: PublicSocialPostSelect<ExtArgs> | null
|
|
53204
54421
|
/**
|
|
53205
54422
|
* Choose, which related nodes to fetch as well
|
|
53206
54423
|
*/
|
|
53207
|
-
include?:
|
|
53208
|
-
where?: UserWhereInput
|
|
53209
|
-
}
|
|
53210
|
-
|
|
53211
|
-
/**
|
|
53212
|
-
* SocialPost.campaign
|
|
53213
|
-
*/
|
|
53214
|
-
export type SocialPost$campaignArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53215
|
-
/**
|
|
53216
|
-
* Select specific fields to fetch from the Campaign
|
|
53217
|
-
*/
|
|
53218
|
-
select?: CampaignSelect<ExtArgs> | null
|
|
53219
|
-
/**
|
|
53220
|
-
* Choose, which related nodes to fetch as well
|
|
53221
|
-
*/
|
|
53222
|
-
include?: CampaignInclude<ExtArgs> | null
|
|
53223
|
-
where?: CampaignWhereInput
|
|
53224
|
-
}
|
|
53225
|
-
|
|
53226
|
-
/**
|
|
53227
|
-
* SocialPost.lists
|
|
53228
|
-
*/
|
|
53229
|
-
export type SocialPost$listsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53230
|
-
/**
|
|
53231
|
-
* Select specific fields to fetch from the ListToSocialPost
|
|
53232
|
-
*/
|
|
53233
|
-
select?: ListToSocialPostSelect<ExtArgs> | null
|
|
53234
|
-
/**
|
|
53235
|
-
* Choose, which related nodes to fetch as well
|
|
53236
|
-
*/
|
|
53237
|
-
include?: ListToSocialPostInclude<ExtArgs> | null
|
|
53238
|
-
where?: ListToSocialPostWhereInput
|
|
53239
|
-
orderBy?: ListToSocialPostOrderByWithRelationAndSearchRelevanceInput | ListToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53240
|
-
cursor?: ListToSocialPostWhereUniqueInput
|
|
53241
|
-
take?: number
|
|
53242
|
-
skip?: number
|
|
53243
|
-
distinct?: ListToSocialPostScalarFieldEnum | ListToSocialPostScalarFieldEnum[]
|
|
53244
|
-
}
|
|
53245
|
-
|
|
53246
|
-
/**
|
|
53247
|
-
* SocialPost.campaigns
|
|
53248
|
-
*/
|
|
53249
|
-
export type SocialPost$campaignsArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53250
|
-
/**
|
|
53251
|
-
* Select specific fields to fetch from the CampaignToSocialPost
|
|
53252
|
-
*/
|
|
53253
|
-
select?: CampaignToSocialPostSelect<ExtArgs> | null
|
|
53254
|
-
/**
|
|
53255
|
-
* Choose, which related nodes to fetch as well
|
|
53256
|
-
*/
|
|
53257
|
-
include?: CampaignToSocialPostInclude<ExtArgs> | null
|
|
53258
|
-
where?: CampaignToSocialPostWhereInput
|
|
53259
|
-
orderBy?: CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput | CampaignToSocialPostOrderByWithRelationAndSearchRelevanceInput[]
|
|
53260
|
-
cursor?: CampaignToSocialPostWhereUniqueInput
|
|
53261
|
-
take?: number
|
|
53262
|
-
skip?: number
|
|
53263
|
-
distinct?: CampaignToSocialPostScalarFieldEnum | CampaignToSocialPostScalarFieldEnum[]
|
|
53264
|
-
}
|
|
53265
|
-
|
|
53266
|
-
/**
|
|
53267
|
-
* SocialPost without action
|
|
53268
|
-
*/
|
|
53269
|
-
export type SocialPostDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
53270
|
-
/**
|
|
53271
|
-
* Select specific fields to fetch from the SocialPost
|
|
53272
|
-
*/
|
|
53273
|
-
select?: SocialPostSelect<ExtArgs> | null
|
|
53274
|
-
/**
|
|
53275
|
-
* Choose, which related nodes to fetch as well
|
|
53276
|
-
*/
|
|
53277
|
-
include?: SocialPostInclude<ExtArgs> | null
|
|
54424
|
+
include?: PublicSocialPostInclude<ExtArgs> | null
|
|
53278
54425
|
}
|
|
53279
54426
|
|
|
53280
54427
|
|
|
@@ -100802,6 +101949,19 @@ export namespace Prisma {
|
|
|
100802
101949
|
export type SocialPostScalarFieldEnum = (typeof SocialPostScalarFieldEnum)[keyof typeof SocialPostScalarFieldEnum]
|
|
100803
101950
|
|
|
100804
101951
|
|
|
101952
|
+
export const PublicSocialPostScalarFieldEnum: {
|
|
101953
|
+
id: 'id',
|
|
101954
|
+
socialPostId: 'socialPostId',
|
|
101955
|
+
views: 'views',
|
|
101956
|
+
likes: 'likes',
|
|
101957
|
+
comments: 'comments',
|
|
101958
|
+
saves: 'saves',
|
|
101959
|
+
shares: 'shares'
|
|
101960
|
+
};
|
|
101961
|
+
|
|
101962
|
+
export type PublicSocialPostScalarFieldEnum = (typeof PublicSocialPostScalarFieldEnum)[keyof typeof PublicSocialPostScalarFieldEnum]
|
|
101963
|
+
|
|
101964
|
+
|
|
100805
101965
|
export const CampaignToSocialPostScalarFieldEnum: {
|
|
100806
101966
|
campaignId: 'campaignId',
|
|
100807
101967
|
socialPostId: 'socialPostId',
|
|
@@ -105613,6 +106773,7 @@ export namespace Prisma {
|
|
|
105613
106773
|
campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
|
|
105614
106774
|
lists?: ListToSocialPostListRelationFilter
|
|
105615
106775
|
campaigns?: CampaignToSocialPostListRelationFilter
|
|
106776
|
+
publicPost?: XOR<PublicSocialPostNullableRelationFilter, PublicSocialPostWhereInput> | null
|
|
105616
106777
|
}
|
|
105617
106778
|
|
|
105618
106779
|
export type SocialPostOrderByWithRelationAndSearchRelevanceInput = {
|
|
@@ -105653,6 +106814,7 @@ export namespace Prisma {
|
|
|
105653
106814
|
campaign?: CampaignOrderByWithRelationAndSearchRelevanceInput
|
|
105654
106815
|
lists?: ListToSocialPostOrderByRelationAggregateInput
|
|
105655
106816
|
campaigns?: CampaignToSocialPostOrderByRelationAggregateInput
|
|
106817
|
+
publicPost?: PublicSocialPostOrderByWithRelationAndSearchRelevanceInput
|
|
105656
106818
|
_relevance?: SocialPostOrderByRelevanceInput
|
|
105657
106819
|
}
|
|
105658
106820
|
|
|
@@ -105698,6 +106860,7 @@ export namespace Prisma {
|
|
|
105698
106860
|
campaign?: XOR<CampaignNullableRelationFilter, CampaignWhereInput> | null
|
|
105699
106861
|
lists?: ListToSocialPostListRelationFilter
|
|
105700
106862
|
campaigns?: CampaignToSocialPostListRelationFilter
|
|
106863
|
+
publicPost?: XOR<PublicSocialPostNullableRelationFilter, PublicSocialPostWhereInput> | null
|
|
105701
106864
|
}, "id" | "phylloId" | "platform_externalId">
|
|
105702
106865
|
|
|
105703
106866
|
export type SocialPostOrderByWithAggregationInput = {
|
|
@@ -105780,6 +106943,73 @@ export namespace Prisma {
|
|
|
105780
106943
|
campaignId?: IntNullableWithAggregatesFilter<"SocialPost"> | number | null
|
|
105781
106944
|
}
|
|
105782
106945
|
|
|
106946
|
+
export type PublicSocialPostWhereInput = {
|
|
106947
|
+
AND?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
|
|
106948
|
+
OR?: PublicSocialPostWhereInput[]
|
|
106949
|
+
NOT?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
|
|
106950
|
+
id?: IntFilter<"PublicSocialPost"> | number
|
|
106951
|
+
socialPostId?: IntFilter<"PublicSocialPost"> | number
|
|
106952
|
+
views?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106953
|
+
likes?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106954
|
+
comments?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106955
|
+
saves?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106956
|
+
shares?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106957
|
+
socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
|
|
106958
|
+
}
|
|
106959
|
+
|
|
106960
|
+
export type PublicSocialPostOrderByWithRelationAndSearchRelevanceInput = {
|
|
106961
|
+
id?: SortOrder
|
|
106962
|
+
socialPostId?: SortOrder
|
|
106963
|
+
views?: SortOrderInput | SortOrder
|
|
106964
|
+
likes?: SortOrderInput | SortOrder
|
|
106965
|
+
comments?: SortOrderInput | SortOrder
|
|
106966
|
+
saves?: SortOrderInput | SortOrder
|
|
106967
|
+
shares?: SortOrderInput | SortOrder
|
|
106968
|
+
socialPost?: SocialPostOrderByWithRelationAndSearchRelevanceInput
|
|
106969
|
+
}
|
|
106970
|
+
|
|
106971
|
+
export type PublicSocialPostWhereUniqueInput = Prisma.AtLeast<{
|
|
106972
|
+
id?: number
|
|
106973
|
+
socialPostId?: number
|
|
106974
|
+
AND?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
|
|
106975
|
+
OR?: PublicSocialPostWhereInput[]
|
|
106976
|
+
NOT?: PublicSocialPostWhereInput | PublicSocialPostWhereInput[]
|
|
106977
|
+
views?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106978
|
+
likes?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106979
|
+
comments?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106980
|
+
saves?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106981
|
+
shares?: IntNullableFilter<"PublicSocialPost"> | number | null
|
|
106982
|
+
socialPost?: XOR<SocialPostRelationFilter, SocialPostWhereInput>
|
|
106983
|
+
}, "id" | "socialPostId">
|
|
106984
|
+
|
|
106985
|
+
export type PublicSocialPostOrderByWithAggregationInput = {
|
|
106986
|
+
id?: SortOrder
|
|
106987
|
+
socialPostId?: SortOrder
|
|
106988
|
+
views?: SortOrderInput | SortOrder
|
|
106989
|
+
likes?: SortOrderInput | SortOrder
|
|
106990
|
+
comments?: SortOrderInput | SortOrder
|
|
106991
|
+
saves?: SortOrderInput | SortOrder
|
|
106992
|
+
shares?: SortOrderInput | SortOrder
|
|
106993
|
+
_count?: PublicSocialPostCountOrderByAggregateInput
|
|
106994
|
+
_avg?: PublicSocialPostAvgOrderByAggregateInput
|
|
106995
|
+
_max?: PublicSocialPostMaxOrderByAggregateInput
|
|
106996
|
+
_min?: PublicSocialPostMinOrderByAggregateInput
|
|
106997
|
+
_sum?: PublicSocialPostSumOrderByAggregateInput
|
|
106998
|
+
}
|
|
106999
|
+
|
|
107000
|
+
export type PublicSocialPostScalarWhereWithAggregatesInput = {
|
|
107001
|
+
AND?: PublicSocialPostScalarWhereWithAggregatesInput | PublicSocialPostScalarWhereWithAggregatesInput[]
|
|
107002
|
+
OR?: PublicSocialPostScalarWhereWithAggregatesInput[]
|
|
107003
|
+
NOT?: PublicSocialPostScalarWhereWithAggregatesInput | PublicSocialPostScalarWhereWithAggregatesInput[]
|
|
107004
|
+
id?: IntWithAggregatesFilter<"PublicSocialPost"> | number
|
|
107005
|
+
socialPostId?: IntWithAggregatesFilter<"PublicSocialPost"> | number
|
|
107006
|
+
views?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107007
|
+
likes?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107008
|
+
comments?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107009
|
+
saves?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107010
|
+
shares?: IntNullableWithAggregatesFilter<"PublicSocialPost"> | number | null
|
|
107011
|
+
}
|
|
107012
|
+
|
|
105783
107013
|
export type CampaignToSocialPostWhereInput = {
|
|
105784
107014
|
AND?: CampaignToSocialPostWhereInput | CampaignToSocialPostWhereInput[]
|
|
105785
107015
|
OR?: CampaignToSocialPostWhereInput[]
|
|
@@ -112717,6 +113947,7 @@ export namespace Prisma {
|
|
|
112717
113947
|
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
112718
113948
|
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
112719
113949
|
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
113950
|
+
publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
|
|
112720
113951
|
}
|
|
112721
113952
|
|
|
112722
113953
|
export type SocialPostUncheckedCreateInput = {
|
|
@@ -112755,6 +113986,7 @@ export namespace Prisma {
|
|
|
112755
113986
|
campaignId?: number | null
|
|
112756
113987
|
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
112757
113988
|
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
113989
|
+
publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
|
|
112758
113990
|
}
|
|
112759
113991
|
|
|
112760
113992
|
export type SocialPostUpdateInput = {
|
|
@@ -112792,6 +114024,7 @@ export namespace Prisma {
|
|
|
112792
114024
|
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
112793
114025
|
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
112794
114026
|
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
114027
|
+
publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
|
|
112795
114028
|
}
|
|
112796
114029
|
|
|
112797
114030
|
export type SocialPostUncheckedUpdateInput = {
|
|
@@ -112830,6 +114063,7 @@ export namespace Prisma {
|
|
|
112830
114063
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
112831
114064
|
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
112832
114065
|
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
114066
|
+
publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
|
|
112833
114067
|
}
|
|
112834
114068
|
|
|
112835
114069
|
export type SocialPostCreateManyInput = {
|
|
@@ -112937,6 +114171,72 @@ export namespace Prisma {
|
|
|
112937
114171
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
112938
114172
|
}
|
|
112939
114173
|
|
|
114174
|
+
export type PublicSocialPostCreateInput = {
|
|
114175
|
+
views?: number | null
|
|
114176
|
+
likes?: number | null
|
|
114177
|
+
comments?: number | null
|
|
114178
|
+
saves?: number | null
|
|
114179
|
+
shares?: number | null
|
|
114180
|
+
socialPost: SocialPostCreateNestedOneWithoutPublicPostInput
|
|
114181
|
+
}
|
|
114182
|
+
|
|
114183
|
+
export type PublicSocialPostUncheckedCreateInput = {
|
|
114184
|
+
id?: number
|
|
114185
|
+
socialPostId: number
|
|
114186
|
+
views?: number | null
|
|
114187
|
+
likes?: number | null
|
|
114188
|
+
comments?: number | null
|
|
114189
|
+
saves?: number | null
|
|
114190
|
+
shares?: number | null
|
|
114191
|
+
}
|
|
114192
|
+
|
|
114193
|
+
export type PublicSocialPostUpdateInput = {
|
|
114194
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114195
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114196
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114197
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114198
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114199
|
+
socialPost?: SocialPostUpdateOneRequiredWithoutPublicPostNestedInput
|
|
114200
|
+
}
|
|
114201
|
+
|
|
114202
|
+
export type PublicSocialPostUncheckedUpdateInput = {
|
|
114203
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
114204
|
+
socialPostId?: IntFieldUpdateOperationsInput | number
|
|
114205
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114206
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114207
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114208
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114209
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114210
|
+
}
|
|
114211
|
+
|
|
114212
|
+
export type PublicSocialPostCreateManyInput = {
|
|
114213
|
+
id?: number
|
|
114214
|
+
socialPostId: number
|
|
114215
|
+
views?: number | null
|
|
114216
|
+
likes?: number | null
|
|
114217
|
+
comments?: number | null
|
|
114218
|
+
saves?: number | null
|
|
114219
|
+
shares?: number | null
|
|
114220
|
+
}
|
|
114221
|
+
|
|
114222
|
+
export type PublicSocialPostUpdateManyMutationInput = {
|
|
114223
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114224
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114225
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114226
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114227
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114228
|
+
}
|
|
114229
|
+
|
|
114230
|
+
export type PublicSocialPostUncheckedUpdateManyInput = {
|
|
114231
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
114232
|
+
socialPostId?: IntFieldUpdateOperationsInput | number
|
|
114233
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114234
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114235
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114236
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114237
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
114238
|
+
}
|
|
114239
|
+
|
|
112940
114240
|
export type CampaignToSocialPostCreateInput = {
|
|
112941
114241
|
status?: $Enums.CampaignToSocialPostStatus
|
|
112942
114242
|
created?: Date | string
|
|
@@ -119360,6 +120660,11 @@ export namespace Prisma {
|
|
|
119360
120660
|
none?: ListToSocialPostWhereInput
|
|
119361
120661
|
}
|
|
119362
120662
|
|
|
120663
|
+
export type PublicSocialPostNullableRelationFilter = {
|
|
120664
|
+
is?: PublicSocialPostWhereInput | null
|
|
120665
|
+
isNot?: PublicSocialPostWhereInput | null
|
|
120666
|
+
}
|
|
120667
|
+
|
|
119363
120668
|
export type ListToSocialPostOrderByRelationAggregateInput = {
|
|
119364
120669
|
_count?: SortOrder
|
|
119365
120670
|
}
|
|
@@ -119521,6 +120826,61 @@ export namespace Prisma {
|
|
|
119521
120826
|
campaignId?: SortOrder
|
|
119522
120827
|
}
|
|
119523
120828
|
|
|
120829
|
+
export type SocialPostRelationFilter = {
|
|
120830
|
+
is?: SocialPostWhereInput
|
|
120831
|
+
isNot?: SocialPostWhereInput
|
|
120832
|
+
}
|
|
120833
|
+
|
|
120834
|
+
export type PublicSocialPostCountOrderByAggregateInput = {
|
|
120835
|
+
id?: SortOrder
|
|
120836
|
+
socialPostId?: SortOrder
|
|
120837
|
+
views?: SortOrder
|
|
120838
|
+
likes?: SortOrder
|
|
120839
|
+
comments?: SortOrder
|
|
120840
|
+
saves?: SortOrder
|
|
120841
|
+
shares?: SortOrder
|
|
120842
|
+
}
|
|
120843
|
+
|
|
120844
|
+
export type PublicSocialPostAvgOrderByAggregateInput = {
|
|
120845
|
+
id?: SortOrder
|
|
120846
|
+
socialPostId?: SortOrder
|
|
120847
|
+
views?: SortOrder
|
|
120848
|
+
likes?: SortOrder
|
|
120849
|
+
comments?: SortOrder
|
|
120850
|
+
saves?: SortOrder
|
|
120851
|
+
shares?: SortOrder
|
|
120852
|
+
}
|
|
120853
|
+
|
|
120854
|
+
export type PublicSocialPostMaxOrderByAggregateInput = {
|
|
120855
|
+
id?: SortOrder
|
|
120856
|
+
socialPostId?: SortOrder
|
|
120857
|
+
views?: SortOrder
|
|
120858
|
+
likes?: SortOrder
|
|
120859
|
+
comments?: SortOrder
|
|
120860
|
+
saves?: SortOrder
|
|
120861
|
+
shares?: SortOrder
|
|
120862
|
+
}
|
|
120863
|
+
|
|
120864
|
+
export type PublicSocialPostMinOrderByAggregateInput = {
|
|
120865
|
+
id?: SortOrder
|
|
120866
|
+
socialPostId?: SortOrder
|
|
120867
|
+
views?: SortOrder
|
|
120868
|
+
likes?: SortOrder
|
|
120869
|
+
comments?: SortOrder
|
|
120870
|
+
saves?: SortOrder
|
|
120871
|
+
shares?: SortOrder
|
|
120872
|
+
}
|
|
120873
|
+
|
|
120874
|
+
export type PublicSocialPostSumOrderByAggregateInput = {
|
|
120875
|
+
id?: SortOrder
|
|
120876
|
+
socialPostId?: SortOrder
|
|
120877
|
+
views?: SortOrder
|
|
120878
|
+
likes?: SortOrder
|
|
120879
|
+
comments?: SortOrder
|
|
120880
|
+
saves?: SortOrder
|
|
120881
|
+
shares?: SortOrder
|
|
120882
|
+
}
|
|
120883
|
+
|
|
119524
120884
|
export type EnumCampaignToSocialPostStatusFilter<$PrismaModel = never> = {
|
|
119525
120885
|
equals?: $Enums.CampaignToSocialPostStatus | EnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
|
|
119526
120886
|
in?: $Enums.CampaignToSocialPostStatus[] | ListEnumCampaignToSocialPostStatusFieldRefInput<$PrismaModel>
|
|
@@ -119528,11 +120888,6 @@ export namespace Prisma {
|
|
|
119528
120888
|
not?: NestedEnumCampaignToSocialPostStatusFilter<$PrismaModel> | $Enums.CampaignToSocialPostStatus
|
|
119529
120889
|
}
|
|
119530
120890
|
|
|
119531
|
-
export type SocialPostRelationFilter = {
|
|
119532
|
-
is?: SocialPostWhereInput
|
|
119533
|
-
isNot?: SocialPostWhereInput
|
|
119534
|
-
}
|
|
119535
|
-
|
|
119536
120891
|
export type CampaignToSocialPostCampaignIdSocialPostIdCompoundUniqueInput = {
|
|
119537
120892
|
campaignId: number
|
|
119538
120893
|
socialPostId: number
|
|
@@ -127195,6 +128550,12 @@ export namespace Prisma {
|
|
|
127195
128550
|
connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
|
|
127196
128551
|
}
|
|
127197
128552
|
|
|
128553
|
+
export type PublicSocialPostCreateNestedOneWithoutSocialPostInput = {
|
|
128554
|
+
create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
|
|
128555
|
+
connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
|
|
128556
|
+
connect?: PublicSocialPostWhereUniqueInput
|
|
128557
|
+
}
|
|
128558
|
+
|
|
127198
128559
|
export type ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput = {
|
|
127199
128560
|
create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
|
|
127200
128561
|
connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
|
|
@@ -127209,6 +128570,12 @@ export namespace Prisma {
|
|
|
127209
128570
|
connect?: CampaignToSocialPostWhereUniqueInput | CampaignToSocialPostWhereUniqueInput[]
|
|
127210
128571
|
}
|
|
127211
128572
|
|
|
128573
|
+
export type PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput = {
|
|
128574
|
+
create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
|
|
128575
|
+
connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
|
|
128576
|
+
connect?: PublicSocialPostWhereUniqueInput
|
|
128577
|
+
}
|
|
128578
|
+
|
|
127212
128579
|
export type UserUpdateOneWithoutSocialPostsNestedInput = {
|
|
127213
128580
|
create?: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
|
|
127214
128581
|
connectOrCreate?: UserCreateOrConnectWithoutSocialPostsInput
|
|
@@ -127257,6 +128624,16 @@ export namespace Prisma {
|
|
|
127257
128624
|
deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
|
|
127258
128625
|
}
|
|
127259
128626
|
|
|
128627
|
+
export type PublicSocialPostUpdateOneWithoutSocialPostNestedInput = {
|
|
128628
|
+
create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
|
|
128629
|
+
connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
|
|
128630
|
+
upsert?: PublicSocialPostUpsertWithoutSocialPostInput
|
|
128631
|
+
disconnect?: PublicSocialPostWhereInput | boolean
|
|
128632
|
+
delete?: PublicSocialPostWhereInput | boolean
|
|
128633
|
+
connect?: PublicSocialPostWhereUniqueInput
|
|
128634
|
+
update?: XOR<XOR<PublicSocialPostUpdateToOneWithWhereWithoutSocialPostInput, PublicSocialPostUpdateWithoutSocialPostInput>, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
|
|
128635
|
+
}
|
|
128636
|
+
|
|
127260
128637
|
export type ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput = {
|
|
127261
128638
|
create?: XOR<ListToSocialPostCreateWithoutSocialPostInput, ListToSocialPostUncheckedCreateWithoutSocialPostInput> | ListToSocialPostCreateWithoutSocialPostInput[] | ListToSocialPostUncheckedCreateWithoutSocialPostInput[]
|
|
127262
128639
|
connectOrCreate?: ListToSocialPostCreateOrConnectWithoutSocialPostInput | ListToSocialPostCreateOrConnectWithoutSocialPostInput[]
|
|
@@ -127285,6 +128662,30 @@ export namespace Prisma {
|
|
|
127285
128662
|
deleteMany?: CampaignToSocialPostScalarWhereInput | CampaignToSocialPostScalarWhereInput[]
|
|
127286
128663
|
}
|
|
127287
128664
|
|
|
128665
|
+
export type PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput = {
|
|
128666
|
+
create?: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
|
|
128667
|
+
connectOrCreate?: PublicSocialPostCreateOrConnectWithoutSocialPostInput
|
|
128668
|
+
upsert?: PublicSocialPostUpsertWithoutSocialPostInput
|
|
128669
|
+
disconnect?: PublicSocialPostWhereInput | boolean
|
|
128670
|
+
delete?: PublicSocialPostWhereInput | boolean
|
|
128671
|
+
connect?: PublicSocialPostWhereUniqueInput
|
|
128672
|
+
update?: XOR<XOR<PublicSocialPostUpdateToOneWithWhereWithoutSocialPostInput, PublicSocialPostUpdateWithoutSocialPostInput>, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
|
|
128673
|
+
}
|
|
128674
|
+
|
|
128675
|
+
export type SocialPostCreateNestedOneWithoutPublicPostInput = {
|
|
128676
|
+
create?: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
|
|
128677
|
+
connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostInput
|
|
128678
|
+
connect?: SocialPostWhereUniqueInput
|
|
128679
|
+
}
|
|
128680
|
+
|
|
128681
|
+
export type SocialPostUpdateOneRequiredWithoutPublicPostNestedInput = {
|
|
128682
|
+
create?: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
|
|
128683
|
+
connectOrCreate?: SocialPostCreateOrConnectWithoutPublicPostInput
|
|
128684
|
+
upsert?: SocialPostUpsertWithoutPublicPostInput
|
|
128685
|
+
connect?: SocialPostWhereUniqueInput
|
|
128686
|
+
update?: XOR<XOR<SocialPostUpdateToOneWithWhereWithoutPublicPostInput, SocialPostUpdateWithoutPublicPostInput>, SocialPostUncheckedUpdateWithoutPublicPostInput>
|
|
128687
|
+
}
|
|
128688
|
+
|
|
127288
128689
|
export type CampaignCreateNestedOneWithoutLinkedPostsInput = {
|
|
127289
128690
|
create?: XOR<CampaignCreateWithoutLinkedPostsInput, CampaignUncheckedCreateWithoutLinkedPostsInput>
|
|
127290
128691
|
connectOrCreate?: CampaignCreateOrConnectWithoutLinkedPostsInput
|
|
@@ -130847,6 +132248,7 @@ export namespace Prisma {
|
|
|
130847
132248
|
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
130848
132249
|
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
130849
132250
|
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
132251
|
+
publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
|
|
130850
132252
|
}
|
|
130851
132253
|
|
|
130852
132254
|
export type SocialPostUncheckedCreateWithoutUserInput = {
|
|
@@ -130884,6 +132286,7 @@ export namespace Prisma {
|
|
|
130884
132286
|
campaignId?: number | null
|
|
130885
132287
|
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
130886
132288
|
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
132289
|
+
publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
|
|
130887
132290
|
}
|
|
130888
132291
|
|
|
130889
132292
|
export type SocialPostCreateOrConnectWithoutUserInput = {
|
|
@@ -139858,6 +141261,7 @@ export namespace Prisma {
|
|
|
139858
141261
|
user?: UserCreateNestedOneWithoutSocialPostsInput
|
|
139859
141262
|
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
139860
141263
|
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
141264
|
+
publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
|
|
139861
141265
|
}
|
|
139862
141266
|
|
|
139863
141267
|
export type SocialPostUncheckedCreateWithoutCampaignInput = {
|
|
@@ -139895,6 +141299,7 @@ export namespace Prisma {
|
|
|
139895
141299
|
userId?: number | null
|
|
139896
141300
|
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
139897
141301
|
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
141302
|
+
publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
|
|
139898
141303
|
}
|
|
139899
141304
|
|
|
139900
141305
|
export type SocialPostCreateOrConnectWithoutCampaignInput = {
|
|
@@ -146792,6 +148197,28 @@ export namespace Prisma {
|
|
|
146792
148197
|
skipDuplicates?: boolean
|
|
146793
148198
|
}
|
|
146794
148199
|
|
|
148200
|
+
export type PublicSocialPostCreateWithoutSocialPostInput = {
|
|
148201
|
+
views?: number | null
|
|
148202
|
+
likes?: number | null
|
|
148203
|
+
comments?: number | null
|
|
148204
|
+
saves?: number | null
|
|
148205
|
+
shares?: number | null
|
|
148206
|
+
}
|
|
148207
|
+
|
|
148208
|
+
export type PublicSocialPostUncheckedCreateWithoutSocialPostInput = {
|
|
148209
|
+
id?: number
|
|
148210
|
+
views?: number | null
|
|
148211
|
+
likes?: number | null
|
|
148212
|
+
comments?: number | null
|
|
148213
|
+
saves?: number | null
|
|
148214
|
+
shares?: number | null
|
|
148215
|
+
}
|
|
148216
|
+
|
|
148217
|
+
export type PublicSocialPostCreateOrConnectWithoutSocialPostInput = {
|
|
148218
|
+
where: PublicSocialPostWhereUniqueInput
|
|
148219
|
+
create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
|
|
148220
|
+
}
|
|
148221
|
+
|
|
146795
148222
|
export type UserUpsertWithoutSocialPostsInput = {
|
|
146796
148223
|
update: XOR<UserUpdateWithoutSocialPostsInput, UserUncheckedUpdateWithoutSocialPostsInput>
|
|
146797
148224
|
create: XOR<UserCreateWithoutSocialPostsInput, UserUncheckedCreateWithoutSocialPostsInput>
|
|
@@ -147105,6 +148532,200 @@ export namespace Prisma {
|
|
|
147105
148532
|
data: XOR<CampaignToSocialPostUpdateManyMutationInput, CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostInput>
|
|
147106
148533
|
}
|
|
147107
148534
|
|
|
148535
|
+
export type PublicSocialPostUpsertWithoutSocialPostInput = {
|
|
148536
|
+
update: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
|
|
148537
|
+
create: XOR<PublicSocialPostCreateWithoutSocialPostInput, PublicSocialPostUncheckedCreateWithoutSocialPostInput>
|
|
148538
|
+
where?: PublicSocialPostWhereInput
|
|
148539
|
+
}
|
|
148540
|
+
|
|
148541
|
+
export type PublicSocialPostUpdateToOneWithWhereWithoutSocialPostInput = {
|
|
148542
|
+
where?: PublicSocialPostWhereInput
|
|
148543
|
+
data: XOR<PublicSocialPostUpdateWithoutSocialPostInput, PublicSocialPostUncheckedUpdateWithoutSocialPostInput>
|
|
148544
|
+
}
|
|
148545
|
+
|
|
148546
|
+
export type PublicSocialPostUpdateWithoutSocialPostInput = {
|
|
148547
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148548
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148549
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148550
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148551
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148552
|
+
}
|
|
148553
|
+
|
|
148554
|
+
export type PublicSocialPostUncheckedUpdateWithoutSocialPostInput = {
|
|
148555
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
148556
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148557
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148558
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148559
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148560
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148561
|
+
}
|
|
148562
|
+
|
|
148563
|
+
export type SocialPostCreateWithoutPublicPostInput = {
|
|
148564
|
+
externalId: string
|
|
148565
|
+
phylloId?: string | null
|
|
148566
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
148567
|
+
lastFetched?: Date | string | null
|
|
148568
|
+
lastWebhook?: Date | string | null
|
|
148569
|
+
posted?: Date | string | null
|
|
148570
|
+
title?: string | null
|
|
148571
|
+
description?: string | null
|
|
148572
|
+
url?: string | null
|
|
148573
|
+
format?: string | null
|
|
148574
|
+
type?: string | null
|
|
148575
|
+
platform?: string | null
|
|
148576
|
+
visibility?: string | null
|
|
148577
|
+
isSponsored?: boolean | null
|
|
148578
|
+
hasCollaborators?: boolean | null
|
|
148579
|
+
isOwnedByUser?: boolean | null
|
|
148580
|
+
views?: number | null
|
|
148581
|
+
replays?: number | null
|
|
148582
|
+
impressions?: number | null
|
|
148583
|
+
impressionsOrganic?: number | null
|
|
148584
|
+
impressionsPaid?: number | null
|
|
148585
|
+
reach?: number | null
|
|
148586
|
+
reachOrganic?: number | null
|
|
148587
|
+
reachPaid?: number | null
|
|
148588
|
+
watchHours?: number | null
|
|
148589
|
+
likes?: number | null
|
|
148590
|
+
dislikes?: number | null
|
|
148591
|
+
comments?: number | null
|
|
148592
|
+
saves?: number | null
|
|
148593
|
+
shares?: number | null
|
|
148594
|
+
user?: UserCreateNestedOneWithoutSocialPostsInput
|
|
148595
|
+
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
148596
|
+
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
148597
|
+
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
148598
|
+
}
|
|
148599
|
+
|
|
148600
|
+
export type SocialPostUncheckedCreateWithoutPublicPostInput = {
|
|
148601
|
+
id?: number
|
|
148602
|
+
externalId: string
|
|
148603
|
+
phylloId?: string | null
|
|
148604
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
148605
|
+
lastFetched?: Date | string | null
|
|
148606
|
+
lastWebhook?: Date | string | null
|
|
148607
|
+
posted?: Date | string | null
|
|
148608
|
+
title?: string | null
|
|
148609
|
+
description?: string | null
|
|
148610
|
+
url?: string | null
|
|
148611
|
+
format?: string | null
|
|
148612
|
+
type?: string | null
|
|
148613
|
+
platform?: string | null
|
|
148614
|
+
visibility?: string | null
|
|
148615
|
+
isSponsored?: boolean | null
|
|
148616
|
+
hasCollaborators?: boolean | null
|
|
148617
|
+
isOwnedByUser?: boolean | null
|
|
148618
|
+
views?: number | null
|
|
148619
|
+
replays?: number | null
|
|
148620
|
+
impressions?: number | null
|
|
148621
|
+
impressionsOrganic?: number | null
|
|
148622
|
+
impressionsPaid?: number | null
|
|
148623
|
+
reach?: number | null
|
|
148624
|
+
reachOrganic?: number | null
|
|
148625
|
+
reachPaid?: number | null
|
|
148626
|
+
watchHours?: number | null
|
|
148627
|
+
likes?: number | null
|
|
148628
|
+
dislikes?: number | null
|
|
148629
|
+
comments?: number | null
|
|
148630
|
+
saves?: number | null
|
|
148631
|
+
shares?: number | null
|
|
148632
|
+
userId?: number | null
|
|
148633
|
+
campaignId?: number | null
|
|
148634
|
+
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
148635
|
+
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
148636
|
+
}
|
|
148637
|
+
|
|
148638
|
+
export type SocialPostCreateOrConnectWithoutPublicPostInput = {
|
|
148639
|
+
where: SocialPostWhereUniqueInput
|
|
148640
|
+
create: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
|
|
148641
|
+
}
|
|
148642
|
+
|
|
148643
|
+
export type SocialPostUpsertWithoutPublicPostInput = {
|
|
148644
|
+
update: XOR<SocialPostUpdateWithoutPublicPostInput, SocialPostUncheckedUpdateWithoutPublicPostInput>
|
|
148645
|
+
create: XOR<SocialPostCreateWithoutPublicPostInput, SocialPostUncheckedCreateWithoutPublicPostInput>
|
|
148646
|
+
where?: SocialPostWhereInput
|
|
148647
|
+
}
|
|
148648
|
+
|
|
148649
|
+
export type SocialPostUpdateToOneWithWhereWithoutPublicPostInput = {
|
|
148650
|
+
where?: SocialPostWhereInput
|
|
148651
|
+
data: XOR<SocialPostUpdateWithoutPublicPostInput, SocialPostUncheckedUpdateWithoutPublicPostInput>
|
|
148652
|
+
}
|
|
148653
|
+
|
|
148654
|
+
export type SocialPostUpdateWithoutPublicPostInput = {
|
|
148655
|
+
externalId?: StringFieldUpdateOperationsInput | string
|
|
148656
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148657
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
148658
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148659
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148660
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148661
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148662
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148663
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148664
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148665
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148666
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148667
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148668
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148669
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148670
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148671
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148672
|
+
replays?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148673
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148674
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148675
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148676
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148677
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148678
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148679
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
148680
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148681
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148682
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148683
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148684
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148685
|
+
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
148686
|
+
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
148687
|
+
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
148688
|
+
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
148689
|
+
}
|
|
148690
|
+
|
|
148691
|
+
export type SocialPostUncheckedUpdateWithoutPublicPostInput = {
|
|
148692
|
+
id?: IntFieldUpdateOperationsInput | number
|
|
148693
|
+
externalId?: StringFieldUpdateOperationsInput | string
|
|
148694
|
+
phylloId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148695
|
+
metaData?: JsonNullValueInput | InputJsonValue
|
|
148696
|
+
lastFetched?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148697
|
+
lastWebhook?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148698
|
+
posted?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
148699
|
+
title?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148700
|
+
description?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148701
|
+
url?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148702
|
+
format?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148703
|
+
type?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148704
|
+
platform?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148705
|
+
visibility?: NullableStringFieldUpdateOperationsInput | string | null
|
|
148706
|
+
isSponsored?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148707
|
+
hasCollaborators?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148708
|
+
isOwnedByUser?: NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
148709
|
+
views?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148710
|
+
replays?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148711
|
+
impressions?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148712
|
+
impressionsOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148713
|
+
impressionsPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148714
|
+
reach?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148715
|
+
reachOrganic?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148716
|
+
reachPaid?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148717
|
+
watchHours?: NullableFloatFieldUpdateOperationsInput | number | null
|
|
148718
|
+
likes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148719
|
+
dislikes?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148720
|
+
comments?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148721
|
+
saves?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148722
|
+
shares?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148723
|
+
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148724
|
+
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
148725
|
+
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
148726
|
+
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
148727
|
+
}
|
|
148728
|
+
|
|
147108
148729
|
export type CampaignCreateWithoutLinkedPostsInput = {
|
|
147109
148730
|
title: string
|
|
147110
148731
|
slug?: string | null
|
|
@@ -147287,6 +148908,7 @@ export namespace Prisma {
|
|
|
147287
148908
|
user?: UserCreateNestedOneWithoutSocialPostsInput
|
|
147288
148909
|
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
147289
148910
|
lists?: ListToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
148911
|
+
publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
|
|
147290
148912
|
}
|
|
147291
148913
|
|
|
147292
148914
|
export type SocialPostUncheckedCreateWithoutCampaignsInput = {
|
|
@@ -147324,6 +148946,7 @@ export namespace Prisma {
|
|
|
147324
148946
|
userId?: number | null
|
|
147325
148947
|
campaignId?: number | null
|
|
147326
148948
|
lists?: ListToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
148949
|
+
publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
|
|
147327
148950
|
}
|
|
147328
148951
|
|
|
147329
148952
|
export type SocialPostCreateOrConnectWithoutCampaignsInput = {
|
|
@@ -147530,6 +149153,7 @@ export namespace Prisma {
|
|
|
147530
149153
|
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
147531
149154
|
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
147532
149155
|
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
149156
|
+
publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
|
|
147533
149157
|
}
|
|
147534
149158
|
|
|
147535
149159
|
export type SocialPostUncheckedUpdateWithoutCampaignsInput = {
|
|
@@ -147567,6 +149191,7 @@ export namespace Prisma {
|
|
|
147567
149191
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
147568
149192
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
147569
149193
|
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
149194
|
+
publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
|
|
147570
149195
|
}
|
|
147571
149196
|
|
|
147572
149197
|
export type CampaignToImageCreateWithoutSizesInput = {
|
|
@@ -153427,6 +155052,7 @@ export namespace Prisma {
|
|
|
153427
155052
|
user?: UserCreateNestedOneWithoutSocialPostsInput
|
|
153428
155053
|
campaign?: CampaignCreateNestedOneWithoutSocialPostsInput
|
|
153429
155054
|
campaigns?: CampaignToSocialPostCreateNestedManyWithoutSocialPostInput
|
|
155055
|
+
publicPost?: PublicSocialPostCreateNestedOneWithoutSocialPostInput
|
|
153430
155056
|
}
|
|
153431
155057
|
|
|
153432
155058
|
export type SocialPostUncheckedCreateWithoutListsInput = {
|
|
@@ -153464,6 +155090,7 @@ export namespace Prisma {
|
|
|
153464
155090
|
userId?: number | null
|
|
153465
155091
|
campaignId?: number | null
|
|
153466
155092
|
campaigns?: CampaignToSocialPostUncheckedCreateNestedManyWithoutSocialPostInput
|
|
155093
|
+
publicPost?: PublicSocialPostUncheckedCreateNestedOneWithoutSocialPostInput
|
|
153467
155094
|
}
|
|
153468
155095
|
|
|
153469
155096
|
export type SocialPostCreateOrConnectWithoutListsInput = {
|
|
@@ -153550,6 +155177,7 @@ export namespace Prisma {
|
|
|
153550
155177
|
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
153551
155178
|
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
153552
155179
|
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
155180
|
+
publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
|
|
153553
155181
|
}
|
|
153554
155182
|
|
|
153555
155183
|
export type SocialPostUncheckedUpdateWithoutListsInput = {
|
|
@@ -153587,6 +155215,7 @@ export namespace Prisma {
|
|
|
153587
155215
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
153588
155216
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
153589
155217
|
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
155218
|
+
publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
|
|
153590
155219
|
}
|
|
153591
155220
|
|
|
153592
155221
|
export type CampaignCreateWithoutOptInViewsInput = {
|
|
@@ -161147,6 +162776,7 @@ export namespace Prisma {
|
|
|
161147
162776
|
campaign?: CampaignUpdateOneWithoutSocialPostsNestedInput
|
|
161148
162777
|
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
161149
162778
|
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
162779
|
+
publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
|
|
161150
162780
|
}
|
|
161151
162781
|
|
|
161152
162782
|
export type SocialPostUncheckedUpdateWithoutUserInput = {
|
|
@@ -161184,6 +162814,7 @@ export namespace Prisma {
|
|
|
161184
162814
|
campaignId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
161185
162815
|
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
161186
162816
|
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
162817
|
+
publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
|
|
161187
162818
|
}
|
|
161188
162819
|
|
|
161189
162820
|
export type SocialPostUncheckedUpdateManyWithoutUserInput = {
|
|
@@ -163586,6 +165217,7 @@ export namespace Prisma {
|
|
|
163586
165217
|
user?: UserUpdateOneWithoutSocialPostsNestedInput
|
|
163587
165218
|
lists?: ListToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
163588
165219
|
campaigns?: CampaignToSocialPostUpdateManyWithoutSocialPostNestedInput
|
|
165220
|
+
publicPost?: PublicSocialPostUpdateOneWithoutSocialPostNestedInput
|
|
163589
165221
|
}
|
|
163590
165222
|
|
|
163591
165223
|
export type SocialPostUncheckedUpdateWithoutCampaignInput = {
|
|
@@ -163623,6 +165255,7 @@ export namespace Prisma {
|
|
|
163623
165255
|
userId?: NullableIntFieldUpdateOperationsInput | number | null
|
|
163624
165256
|
lists?: ListToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
163625
165257
|
campaigns?: CampaignToSocialPostUncheckedUpdateManyWithoutSocialPostNestedInput
|
|
165258
|
+
publicPost?: PublicSocialPostUncheckedUpdateOneWithoutSocialPostNestedInput
|
|
163626
165259
|
}
|
|
163627
165260
|
|
|
163628
165261
|
export type SocialPostUncheckedUpdateManyWithoutCampaignInput = {
|
|
@@ -165899,6 +167532,10 @@ export namespace Prisma {
|
|
|
165899
167532
|
* @deprecated Use SocialPostDefaultArgs instead
|
|
165900
167533
|
*/
|
|
165901
167534
|
export type SocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = SocialPostDefaultArgs<ExtArgs>
|
|
167535
|
+
/**
|
|
167536
|
+
* @deprecated Use PublicSocialPostDefaultArgs instead
|
|
167537
|
+
*/
|
|
167538
|
+
export type PublicSocialPostArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = PublicSocialPostDefaultArgs<ExtArgs>
|
|
165902
167539
|
/**
|
|
165903
167540
|
* @deprecated Use CampaignToSocialPostDefaultArgs instead
|
|
165904
167541
|
*/
|