@merkl/api 0.10.117 → 0.10.119
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/dist/database/engine/.generated/index.d.ts +1423 -189
- package/dist/database/engine/.generated/package.json +1 -1
- package/dist/database/engine/.generated/schema.prisma +9 -3
- package/dist/src/eden/index.d.ts +100 -15
- package/dist/src/index.d.ts +40 -5
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AssetProcessor.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AuraProcessor.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerGaugeProcessor.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BalancerPoolProcessor.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/BeefyProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/CompoundProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EnzymeProcessor.d.ts +5 -5
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerBorrowProcessor.d.ts +5 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/EulerLendProcessor.d.ts +4 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FluidProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/FraxProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GearboxProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GenericProcessor.d.ts +3 -1
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/PendleProcessor.d.ts +12 -10
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/RadiantProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SturdySiloProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TemplateProcessor.d.ts +3 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/TorosProcessor.d.ts +4 -3
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/UniswapProcessor.d.ts +4 -4
- package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/curveProcessor.d.ts +4 -4
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +4 -5
- package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +4 -5
- package/dist/src/modules/v4/router.d.ts +40 -5
- package/dist/src/modules/v4/user/user.controller.d.ts +36 -0
- package/dist/src/modules/v4/user/user.repository.d.ts +5 -0
- package/dist/src/modules/v4/user/user.service.d.ts +8 -2
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +40 -5
- package/dist/src/routes/v3/blacklist.d.ts +40 -5
- package/dist/src/routes/v3/campaigns.d.ts +40 -5
- package/dist/src/routes/v3/campaignsInfo.d.ts +40 -5
- package/dist/src/routes/v3/multiChainPositions.d.ts +40 -5
- package/dist/src/routes/v3/opportunity.d.ts +40 -5
- package/dist/src/routes/v3/positions.d.ts +40 -5
- package/dist/src/routes/v3/rewards.d.ts +40 -5
- package/dist/src/routes/v3/updates.d.ts +40 -5
- package/dist/src/routes/v3/userRewards.d.ts +40 -5
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -68,6 +68,11 @@ export type ERC20Holders = $Result.DefaultSelection<Prisma.$ERC20HoldersPayload>
|
|
68
68
|
*
|
69
69
|
*/
|
70
70
|
export type Tokens = $Result.DefaultSelection<Prisma.$TokensPayload>
|
71
|
+
/**
|
72
|
+
* Model StateSave
|
73
|
+
*
|
74
|
+
*/
|
75
|
+
export type StateSave = $Result.DefaultSelection<Prisma.$StateSavePayload>
|
71
76
|
/**
|
72
77
|
* Model CampaignCreators
|
73
78
|
*
|
@@ -307,6 +312,16 @@ export class PrismaClient<
|
|
307
312
|
*/
|
308
313
|
get tokens(): Prisma.TokensDelegate<ExtArgs>;
|
309
314
|
|
315
|
+
/**
|
316
|
+
* `prisma.stateSave`: Exposes CRUD operations for the **StateSave** model.
|
317
|
+
* Example usage:
|
318
|
+
* ```ts
|
319
|
+
* // Fetch zero or more StateSaves
|
320
|
+
* const stateSaves = await prisma.stateSave.findMany()
|
321
|
+
* ```
|
322
|
+
*/
|
323
|
+
get stateSave(): Prisma.StateSaveDelegate<ExtArgs>;
|
324
|
+
|
310
325
|
/**
|
311
326
|
* `prisma.campaignCreators`: Exposes CRUD operations for the **CampaignCreators** model.
|
312
327
|
* Example usage:
|
@@ -767,6 +782,7 @@ export namespace Prisma {
|
|
767
782
|
ALMs: 'ALMs',
|
768
783
|
ERC20Holders: 'ERC20Holders',
|
769
784
|
Tokens: 'Tokens',
|
785
|
+
StateSave: 'StateSave',
|
770
786
|
CampaignCreators: 'CampaignCreators'
|
771
787
|
};
|
772
788
|
|
@@ -783,7 +799,7 @@ export namespace Prisma {
|
|
783
799
|
|
784
800
|
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
|
785
801
|
meta: {
|
786
|
-
modelProps: "tempLeaves" | "leaves" | "proofs" | "merklRoots" | "campaigns" | "campaignsToProcess" | "claims" | "claimsOverTime" | "aLMs" | "eRC20Holders" | "tokens" | "campaignCreators"
|
802
|
+
modelProps: "tempLeaves" | "leaves" | "proofs" | "merklRoots" | "campaigns" | "campaignsToProcess" | "claims" | "claimsOverTime" | "aLMs" | "eRC20Holders" | "tokens" | "stateSave" | "campaignCreators"
|
787
803
|
txIsolationLevel: Prisma.TransactionIsolationLevel
|
788
804
|
}
|
789
805
|
model: {
|
@@ -1557,6 +1573,76 @@ export namespace Prisma {
|
|
1557
1573
|
}
|
1558
1574
|
}
|
1559
1575
|
}
|
1576
|
+
StateSave: {
|
1577
|
+
payload: Prisma.$StateSavePayload<ExtArgs>
|
1578
|
+
fields: Prisma.StateSaveFieldRefs
|
1579
|
+
operations: {
|
1580
|
+
findUnique: {
|
1581
|
+
args: Prisma.StateSaveFindUniqueArgs<ExtArgs>
|
1582
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload> | null
|
1583
|
+
}
|
1584
|
+
findUniqueOrThrow: {
|
1585
|
+
args: Prisma.StateSaveFindUniqueOrThrowArgs<ExtArgs>
|
1586
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload>
|
1587
|
+
}
|
1588
|
+
findFirst: {
|
1589
|
+
args: Prisma.StateSaveFindFirstArgs<ExtArgs>
|
1590
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload> | null
|
1591
|
+
}
|
1592
|
+
findFirstOrThrow: {
|
1593
|
+
args: Prisma.StateSaveFindFirstOrThrowArgs<ExtArgs>
|
1594
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload>
|
1595
|
+
}
|
1596
|
+
findMany: {
|
1597
|
+
args: Prisma.StateSaveFindManyArgs<ExtArgs>
|
1598
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload>[]
|
1599
|
+
}
|
1600
|
+
create: {
|
1601
|
+
args: Prisma.StateSaveCreateArgs<ExtArgs>
|
1602
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload>
|
1603
|
+
}
|
1604
|
+
createMany: {
|
1605
|
+
args: Prisma.StateSaveCreateManyArgs<ExtArgs>
|
1606
|
+
result: BatchPayload
|
1607
|
+
}
|
1608
|
+
createManyAndReturn: {
|
1609
|
+
args: Prisma.StateSaveCreateManyAndReturnArgs<ExtArgs>
|
1610
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload>[]
|
1611
|
+
}
|
1612
|
+
delete: {
|
1613
|
+
args: Prisma.StateSaveDeleteArgs<ExtArgs>
|
1614
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload>
|
1615
|
+
}
|
1616
|
+
update: {
|
1617
|
+
args: Prisma.StateSaveUpdateArgs<ExtArgs>
|
1618
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload>
|
1619
|
+
}
|
1620
|
+
deleteMany: {
|
1621
|
+
args: Prisma.StateSaveDeleteManyArgs<ExtArgs>
|
1622
|
+
result: BatchPayload
|
1623
|
+
}
|
1624
|
+
updateMany: {
|
1625
|
+
args: Prisma.StateSaveUpdateManyArgs<ExtArgs>
|
1626
|
+
result: BatchPayload
|
1627
|
+
}
|
1628
|
+
upsert: {
|
1629
|
+
args: Prisma.StateSaveUpsertArgs<ExtArgs>
|
1630
|
+
result: $Utils.PayloadToResult<Prisma.$StateSavePayload>
|
1631
|
+
}
|
1632
|
+
aggregate: {
|
1633
|
+
args: Prisma.StateSaveAggregateArgs<ExtArgs>
|
1634
|
+
result: $Utils.Optional<AggregateStateSave>
|
1635
|
+
}
|
1636
|
+
groupBy: {
|
1637
|
+
args: Prisma.StateSaveGroupByArgs<ExtArgs>
|
1638
|
+
result: $Utils.Optional<StateSaveGroupByOutputType>[]
|
1639
|
+
}
|
1640
|
+
count: {
|
1641
|
+
args: Prisma.StateSaveCountArgs<ExtArgs>
|
1642
|
+
result: $Utils.Optional<StateSaveCountAggregateOutputType> | number
|
1643
|
+
}
|
1644
|
+
}
|
1645
|
+
}
|
1560
1646
|
CampaignCreators: {
|
1561
1647
|
payload: Prisma.$CampaignCreatorsPayload<ExtArgs>
|
1562
1648
|
fields: Prisma.CampaignCreatorsFieldRefs
|
@@ -2077,7 +2163,7 @@ export namespace Prisma {
|
|
2077
2163
|
type TempLeavesGetPayload<S extends boolean | null | undefined | TempLeavesDefaultArgs> = $Result.GetResult<Prisma.$TempLeavesPayload, S>
|
2078
2164
|
|
2079
2165
|
type TempLeavesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
2080
|
-
Omit<TempLeavesFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
2166
|
+
Omit<TempLeavesFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
2081
2167
|
select?: TempLeavesCountAggregateInputType | true
|
2082
2168
|
}
|
2083
2169
|
|
@@ -2488,6 +2574,7 @@ export namespace Prisma {
|
|
2488
2574
|
* Filter, which TempLeaves to fetch.
|
2489
2575
|
*/
|
2490
2576
|
where: TempLeavesWhereUniqueInput
|
2577
|
+
relationLoadStrategy?: RelationLoadStrategy
|
2491
2578
|
}
|
2492
2579
|
|
2493
2580
|
/**
|
@@ -2502,6 +2589,7 @@ export namespace Prisma {
|
|
2502
2589
|
* Filter, which TempLeaves to fetch.
|
2503
2590
|
*/
|
2504
2591
|
where: TempLeavesWhereUniqueInput
|
2592
|
+
relationLoadStrategy?: RelationLoadStrategy
|
2505
2593
|
}
|
2506
2594
|
|
2507
2595
|
/**
|
@@ -2546,6 +2634,7 @@ export namespace Prisma {
|
|
2546
2634
|
* Filter by unique combinations of TempLeaves.
|
2547
2635
|
*/
|
2548
2636
|
distinct?: TempLeavesScalarFieldEnum | TempLeavesScalarFieldEnum[]
|
2637
|
+
relationLoadStrategy?: RelationLoadStrategy
|
2549
2638
|
}
|
2550
2639
|
|
2551
2640
|
/**
|
@@ -2590,6 +2679,7 @@ export namespace Prisma {
|
|
2590
2679
|
* Filter by unique combinations of TempLeaves.
|
2591
2680
|
*/
|
2592
2681
|
distinct?: TempLeavesScalarFieldEnum | TempLeavesScalarFieldEnum[]
|
2682
|
+
relationLoadStrategy?: RelationLoadStrategy
|
2593
2683
|
}
|
2594
2684
|
|
2595
2685
|
/**
|
@@ -2629,6 +2719,7 @@ export namespace Prisma {
|
|
2629
2719
|
*/
|
2630
2720
|
skip?: number
|
2631
2721
|
distinct?: TempLeavesScalarFieldEnum | TempLeavesScalarFieldEnum[]
|
2722
|
+
relationLoadStrategy?: RelationLoadStrategy
|
2632
2723
|
}
|
2633
2724
|
|
2634
2725
|
/**
|
@@ -2643,6 +2734,7 @@ export namespace Prisma {
|
|
2643
2734
|
* The data needed to create a TempLeaves.
|
2644
2735
|
*/
|
2645
2736
|
data: XOR<TempLeavesCreateInput, TempLeavesUncheckedCreateInput>
|
2737
|
+
relationLoadStrategy?: RelationLoadStrategy
|
2646
2738
|
}
|
2647
2739
|
|
2648
2740
|
/**
|
@@ -2687,6 +2779,7 @@ export namespace Prisma {
|
|
2687
2779
|
* Choose, which TempLeaves to update.
|
2688
2780
|
*/
|
2689
2781
|
where: TempLeavesWhereUniqueInput
|
2782
|
+
relationLoadStrategy?: RelationLoadStrategy
|
2690
2783
|
}
|
2691
2784
|
|
2692
2785
|
/**
|
@@ -2723,6 +2816,7 @@ export namespace Prisma {
|
|
2723
2816
|
* In case the TempLeaves was found with the provided `where` argument, update it with this data.
|
2724
2817
|
*/
|
2725
2818
|
update: XOR<TempLeavesUpdateInput, TempLeavesUncheckedUpdateInput>
|
2819
|
+
relationLoadStrategy?: RelationLoadStrategy
|
2726
2820
|
}
|
2727
2821
|
|
2728
2822
|
/**
|
@@ -2737,6 +2831,7 @@ export namespace Prisma {
|
|
2737
2831
|
* Filter which TempLeaves to delete.
|
2738
2832
|
*/
|
2739
2833
|
where: TempLeavesWhereUniqueInput
|
2834
|
+
relationLoadStrategy?: RelationLoadStrategy
|
2740
2835
|
}
|
2741
2836
|
|
2742
2837
|
/**
|
@@ -3060,7 +3155,7 @@ export namespace Prisma {
|
|
3060
3155
|
type LeavesGetPayload<S extends boolean | null | undefined | LeavesDefaultArgs> = $Result.GetResult<Prisma.$LeavesPayload, S>
|
3061
3156
|
|
3062
3157
|
type LeavesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
3063
|
-
Omit<LeavesFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
3158
|
+
Omit<LeavesFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
3064
3159
|
select?: LeavesCountAggregateInputType | true
|
3065
3160
|
}
|
3066
3161
|
|
@@ -3472,6 +3567,7 @@ export namespace Prisma {
|
|
3472
3567
|
* Filter, which Leaves to fetch.
|
3473
3568
|
*/
|
3474
3569
|
where: LeavesWhereUniqueInput
|
3570
|
+
relationLoadStrategy?: RelationLoadStrategy
|
3475
3571
|
}
|
3476
3572
|
|
3477
3573
|
/**
|
@@ -3486,6 +3582,7 @@ export namespace Prisma {
|
|
3486
3582
|
* Filter, which Leaves to fetch.
|
3487
3583
|
*/
|
3488
3584
|
where: LeavesWhereUniqueInput
|
3585
|
+
relationLoadStrategy?: RelationLoadStrategy
|
3489
3586
|
}
|
3490
3587
|
|
3491
3588
|
/**
|
@@ -3530,6 +3627,7 @@ export namespace Prisma {
|
|
3530
3627
|
* Filter by unique combinations of Leaves.
|
3531
3628
|
*/
|
3532
3629
|
distinct?: LeavesScalarFieldEnum | LeavesScalarFieldEnum[]
|
3630
|
+
relationLoadStrategy?: RelationLoadStrategy
|
3533
3631
|
}
|
3534
3632
|
|
3535
3633
|
/**
|
@@ -3574,6 +3672,7 @@ export namespace Prisma {
|
|
3574
3672
|
* Filter by unique combinations of Leaves.
|
3575
3673
|
*/
|
3576
3674
|
distinct?: LeavesScalarFieldEnum | LeavesScalarFieldEnum[]
|
3675
|
+
relationLoadStrategy?: RelationLoadStrategy
|
3577
3676
|
}
|
3578
3677
|
|
3579
3678
|
/**
|
@@ -3613,6 +3712,7 @@ export namespace Prisma {
|
|
3613
3712
|
*/
|
3614
3713
|
skip?: number
|
3615
3714
|
distinct?: LeavesScalarFieldEnum | LeavesScalarFieldEnum[]
|
3715
|
+
relationLoadStrategy?: RelationLoadStrategy
|
3616
3716
|
}
|
3617
3717
|
|
3618
3718
|
/**
|
@@ -3627,6 +3727,7 @@ export namespace Prisma {
|
|
3627
3727
|
* The data needed to create a Leaves.
|
3628
3728
|
*/
|
3629
3729
|
data: XOR<LeavesCreateInput, LeavesUncheckedCreateInput>
|
3730
|
+
relationLoadStrategy?: RelationLoadStrategy
|
3630
3731
|
}
|
3631
3732
|
|
3632
3733
|
/**
|
@@ -3671,6 +3772,7 @@ export namespace Prisma {
|
|
3671
3772
|
* Choose, which Leaves to update.
|
3672
3773
|
*/
|
3673
3774
|
where: LeavesWhereUniqueInput
|
3775
|
+
relationLoadStrategy?: RelationLoadStrategy
|
3674
3776
|
}
|
3675
3777
|
|
3676
3778
|
/**
|
@@ -3707,6 +3809,7 @@ export namespace Prisma {
|
|
3707
3809
|
* In case the Leaves was found with the provided `where` argument, update it with this data.
|
3708
3810
|
*/
|
3709
3811
|
update: XOR<LeavesUpdateInput, LeavesUncheckedUpdateInput>
|
3812
|
+
relationLoadStrategy?: RelationLoadStrategy
|
3710
3813
|
}
|
3711
3814
|
|
3712
3815
|
/**
|
@@ -3721,6 +3824,7 @@ export namespace Prisma {
|
|
3721
3824
|
* Filter which Leaves to delete.
|
3722
3825
|
*/
|
3723
3826
|
where: LeavesWhereUniqueInput
|
3827
|
+
relationLoadStrategy?: RelationLoadStrategy
|
3724
3828
|
}
|
3725
3829
|
|
3726
3830
|
/**
|
@@ -3973,7 +4077,7 @@ export namespace Prisma {
|
|
3973
4077
|
type ProofsGetPayload<S extends boolean | null | undefined | ProofsDefaultArgs> = $Result.GetResult<Prisma.$ProofsPayload, S>
|
3974
4078
|
|
3975
4079
|
type ProofsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
3976
|
-
Omit<ProofsFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
4080
|
+
Omit<ProofsFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
3977
4081
|
select?: ProofsCountAggregateInputType | true
|
3978
4082
|
}
|
3979
4083
|
|
@@ -4380,6 +4484,7 @@ export namespace Prisma {
|
|
4380
4484
|
* Filter, which Proofs to fetch.
|
4381
4485
|
*/
|
4382
4486
|
where: ProofsWhereUniqueInput
|
4487
|
+
relationLoadStrategy?: RelationLoadStrategy
|
4383
4488
|
}
|
4384
4489
|
|
4385
4490
|
/**
|
@@ -4394,6 +4499,7 @@ export namespace Prisma {
|
|
4394
4499
|
* Filter, which Proofs to fetch.
|
4395
4500
|
*/
|
4396
4501
|
where: ProofsWhereUniqueInput
|
4502
|
+
relationLoadStrategy?: RelationLoadStrategy
|
4397
4503
|
}
|
4398
4504
|
|
4399
4505
|
/**
|
@@ -4438,6 +4544,7 @@ export namespace Prisma {
|
|
4438
4544
|
* Filter by unique combinations of Proofs.
|
4439
4545
|
*/
|
4440
4546
|
distinct?: ProofsScalarFieldEnum | ProofsScalarFieldEnum[]
|
4547
|
+
relationLoadStrategy?: RelationLoadStrategy
|
4441
4548
|
}
|
4442
4549
|
|
4443
4550
|
/**
|
@@ -4482,6 +4589,7 @@ export namespace Prisma {
|
|
4482
4589
|
* Filter by unique combinations of Proofs.
|
4483
4590
|
*/
|
4484
4591
|
distinct?: ProofsScalarFieldEnum | ProofsScalarFieldEnum[]
|
4592
|
+
relationLoadStrategy?: RelationLoadStrategy
|
4485
4593
|
}
|
4486
4594
|
|
4487
4595
|
/**
|
@@ -4521,6 +4629,7 @@ export namespace Prisma {
|
|
4521
4629
|
*/
|
4522
4630
|
skip?: number
|
4523
4631
|
distinct?: ProofsScalarFieldEnum | ProofsScalarFieldEnum[]
|
4632
|
+
relationLoadStrategy?: RelationLoadStrategy
|
4524
4633
|
}
|
4525
4634
|
|
4526
4635
|
/**
|
@@ -4535,6 +4644,7 @@ export namespace Prisma {
|
|
4535
4644
|
* The data needed to create a Proofs.
|
4536
4645
|
*/
|
4537
4646
|
data: XOR<ProofsCreateInput, ProofsUncheckedCreateInput>
|
4647
|
+
relationLoadStrategy?: RelationLoadStrategy
|
4538
4648
|
}
|
4539
4649
|
|
4540
4650
|
/**
|
@@ -4579,6 +4689,7 @@ export namespace Prisma {
|
|
4579
4689
|
* Choose, which Proofs to update.
|
4580
4690
|
*/
|
4581
4691
|
where: ProofsWhereUniqueInput
|
4692
|
+
relationLoadStrategy?: RelationLoadStrategy
|
4582
4693
|
}
|
4583
4694
|
|
4584
4695
|
/**
|
@@ -4615,6 +4726,7 @@ export namespace Prisma {
|
|
4615
4726
|
* In case the Proofs was found with the provided `where` argument, update it with this data.
|
4616
4727
|
*/
|
4617
4728
|
update: XOR<ProofsUpdateInput, ProofsUncheckedUpdateInput>
|
4729
|
+
relationLoadStrategy?: RelationLoadStrategy
|
4618
4730
|
}
|
4619
4731
|
|
4620
4732
|
/**
|
@@ -4629,6 +4741,7 @@ export namespace Prisma {
|
|
4629
4741
|
* Filter which Proofs to delete.
|
4630
4742
|
*/
|
4631
4743
|
where: ProofsWhereUniqueInput
|
4744
|
+
relationLoadStrategy?: RelationLoadStrategy
|
4632
4745
|
}
|
4633
4746
|
|
4634
4747
|
/**
|
@@ -4882,7 +4995,7 @@ export namespace Prisma {
|
|
4882
4995
|
type MerklRootsGetPayload<S extends boolean | null | undefined | MerklRootsDefaultArgs> = $Result.GetResult<Prisma.$MerklRootsPayload, S>
|
4883
4996
|
|
4884
4997
|
type MerklRootsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
4885
|
-
Omit<MerklRootsFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
4998
|
+
Omit<MerklRootsFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
4886
4999
|
select?: MerklRootsCountAggregateInputType | true
|
4887
5000
|
}
|
4888
5001
|
|
@@ -5288,6 +5401,7 @@ export namespace Prisma {
|
|
5288
5401
|
* Filter, which MerklRoots to fetch.
|
5289
5402
|
*/
|
5290
5403
|
where: MerklRootsWhereUniqueInput
|
5404
|
+
relationLoadStrategy?: RelationLoadStrategy
|
5291
5405
|
}
|
5292
5406
|
|
5293
5407
|
/**
|
@@ -5302,6 +5416,7 @@ export namespace Prisma {
|
|
5302
5416
|
* Filter, which MerklRoots to fetch.
|
5303
5417
|
*/
|
5304
5418
|
where: MerklRootsWhereUniqueInput
|
5419
|
+
relationLoadStrategy?: RelationLoadStrategy
|
5305
5420
|
}
|
5306
5421
|
|
5307
5422
|
/**
|
@@ -5346,6 +5461,7 @@ export namespace Prisma {
|
|
5346
5461
|
* Filter by unique combinations of MerklRoots.
|
5347
5462
|
*/
|
5348
5463
|
distinct?: MerklRootsScalarFieldEnum | MerklRootsScalarFieldEnum[]
|
5464
|
+
relationLoadStrategy?: RelationLoadStrategy
|
5349
5465
|
}
|
5350
5466
|
|
5351
5467
|
/**
|
@@ -5390,6 +5506,7 @@ export namespace Prisma {
|
|
5390
5506
|
* Filter by unique combinations of MerklRoots.
|
5391
5507
|
*/
|
5392
5508
|
distinct?: MerklRootsScalarFieldEnum | MerklRootsScalarFieldEnum[]
|
5509
|
+
relationLoadStrategy?: RelationLoadStrategy
|
5393
5510
|
}
|
5394
5511
|
|
5395
5512
|
/**
|
@@ -5429,6 +5546,7 @@ export namespace Prisma {
|
|
5429
5546
|
*/
|
5430
5547
|
skip?: number
|
5431
5548
|
distinct?: MerklRootsScalarFieldEnum | MerklRootsScalarFieldEnum[]
|
5549
|
+
relationLoadStrategy?: RelationLoadStrategy
|
5432
5550
|
}
|
5433
5551
|
|
5434
5552
|
/**
|
@@ -5443,6 +5561,7 @@ export namespace Prisma {
|
|
5443
5561
|
* The data needed to create a MerklRoots.
|
5444
5562
|
*/
|
5445
5563
|
data: XOR<MerklRootsCreateInput, MerklRootsUncheckedCreateInput>
|
5564
|
+
relationLoadStrategy?: RelationLoadStrategy
|
5446
5565
|
}
|
5447
5566
|
|
5448
5567
|
/**
|
@@ -5487,6 +5606,7 @@ export namespace Prisma {
|
|
5487
5606
|
* Choose, which MerklRoots to update.
|
5488
5607
|
*/
|
5489
5608
|
where: MerklRootsWhereUniqueInput
|
5609
|
+
relationLoadStrategy?: RelationLoadStrategy
|
5490
5610
|
}
|
5491
5611
|
|
5492
5612
|
/**
|
@@ -5523,6 +5643,7 @@ export namespace Prisma {
|
|
5523
5643
|
* In case the MerklRoots was found with the provided `where` argument, update it with this data.
|
5524
5644
|
*/
|
5525
5645
|
update: XOR<MerklRootsUpdateInput, MerklRootsUncheckedUpdateInput>
|
5646
|
+
relationLoadStrategy?: RelationLoadStrategy
|
5526
5647
|
}
|
5527
5648
|
|
5528
5649
|
/**
|
@@ -5537,6 +5658,7 @@ export namespace Prisma {
|
|
5537
5658
|
* Filter which MerklRoots to delete.
|
5538
5659
|
*/
|
5539
5660
|
where: MerklRootsWhereUniqueInput
|
5661
|
+
relationLoadStrategy?: RelationLoadStrategy
|
5540
5662
|
}
|
5541
5663
|
|
5542
5664
|
/**
|
@@ -5901,7 +6023,7 @@ export namespace Prisma {
|
|
5901
6023
|
type CampaignsGetPayload<S extends boolean | null | undefined | CampaignsDefaultArgs> = $Result.GetResult<Prisma.$CampaignsPayload, S>
|
5902
6024
|
|
5903
6025
|
type CampaignsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
5904
|
-
Omit<CampaignsFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
6026
|
+
Omit<CampaignsFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
5905
6027
|
select?: CampaignsCountAggregateInputType | true
|
5906
6028
|
}
|
5907
6029
|
|
@@ -6316,6 +6438,7 @@ export namespace Prisma {
|
|
6316
6438
|
* Filter, which Campaigns to fetch.
|
6317
6439
|
*/
|
6318
6440
|
where: CampaignsWhereUniqueInput
|
6441
|
+
relationLoadStrategy?: RelationLoadStrategy
|
6319
6442
|
}
|
6320
6443
|
|
6321
6444
|
/**
|
@@ -6330,6 +6453,7 @@ export namespace Prisma {
|
|
6330
6453
|
* Filter, which Campaigns to fetch.
|
6331
6454
|
*/
|
6332
6455
|
where: CampaignsWhereUniqueInput
|
6456
|
+
relationLoadStrategy?: RelationLoadStrategy
|
6333
6457
|
}
|
6334
6458
|
|
6335
6459
|
/**
|
@@ -6374,6 +6498,7 @@ export namespace Prisma {
|
|
6374
6498
|
* Filter by unique combinations of Campaigns.
|
6375
6499
|
*/
|
6376
6500
|
distinct?: CampaignsScalarFieldEnum | CampaignsScalarFieldEnum[]
|
6501
|
+
relationLoadStrategy?: RelationLoadStrategy
|
6377
6502
|
}
|
6378
6503
|
|
6379
6504
|
/**
|
@@ -6418,6 +6543,7 @@ export namespace Prisma {
|
|
6418
6543
|
* Filter by unique combinations of Campaigns.
|
6419
6544
|
*/
|
6420
6545
|
distinct?: CampaignsScalarFieldEnum | CampaignsScalarFieldEnum[]
|
6546
|
+
relationLoadStrategy?: RelationLoadStrategy
|
6421
6547
|
}
|
6422
6548
|
|
6423
6549
|
/**
|
@@ -6457,6 +6583,7 @@ export namespace Prisma {
|
|
6457
6583
|
*/
|
6458
6584
|
skip?: number
|
6459
6585
|
distinct?: CampaignsScalarFieldEnum | CampaignsScalarFieldEnum[]
|
6586
|
+
relationLoadStrategy?: RelationLoadStrategy
|
6460
6587
|
}
|
6461
6588
|
|
6462
6589
|
/**
|
@@ -6471,6 +6598,7 @@ export namespace Prisma {
|
|
6471
6598
|
* The data needed to create a Campaigns.
|
6472
6599
|
*/
|
6473
6600
|
data: XOR<CampaignsCreateInput, CampaignsUncheckedCreateInput>
|
6601
|
+
relationLoadStrategy?: RelationLoadStrategy
|
6474
6602
|
}
|
6475
6603
|
|
6476
6604
|
/**
|
@@ -6515,6 +6643,7 @@ export namespace Prisma {
|
|
6515
6643
|
* Choose, which Campaigns to update.
|
6516
6644
|
*/
|
6517
6645
|
where: CampaignsWhereUniqueInput
|
6646
|
+
relationLoadStrategy?: RelationLoadStrategy
|
6518
6647
|
}
|
6519
6648
|
|
6520
6649
|
/**
|
@@ -6551,6 +6680,7 @@ export namespace Prisma {
|
|
6551
6680
|
* In case the Campaigns was found with the provided `where` argument, update it with this data.
|
6552
6681
|
*/
|
6553
6682
|
update: XOR<CampaignsUpdateInput, CampaignsUncheckedUpdateInput>
|
6683
|
+
relationLoadStrategy?: RelationLoadStrategy
|
6554
6684
|
}
|
6555
6685
|
|
6556
6686
|
/**
|
@@ -6565,6 +6695,7 @@ export namespace Prisma {
|
|
6565
6695
|
* Filter which Campaigns to delete.
|
6566
6696
|
*/
|
6567
6697
|
where: CampaignsWhereUniqueInput
|
6698
|
+
relationLoadStrategy?: RelationLoadStrategy
|
6568
6699
|
}
|
6569
6700
|
|
6570
6701
|
/**
|
@@ -6974,7 +7105,7 @@ export namespace Prisma {
|
|
6974
7105
|
type CampaignsToProcessGetPayload<S extends boolean | null | undefined | CampaignsToProcessDefaultArgs> = $Result.GetResult<Prisma.$CampaignsToProcessPayload, S>
|
6975
7106
|
|
6976
7107
|
type CampaignsToProcessCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
6977
|
-
Omit<CampaignsToProcessFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
7108
|
+
Omit<CampaignsToProcessFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
6978
7109
|
select?: CampaignsToProcessCountAggregateInputType | true
|
6979
7110
|
}
|
6980
7111
|
|
@@ -7392,6 +7523,7 @@ export namespace Prisma {
|
|
7392
7523
|
* Filter, which CampaignsToProcess to fetch.
|
7393
7524
|
*/
|
7394
7525
|
where: CampaignsToProcessWhereUniqueInput
|
7526
|
+
relationLoadStrategy?: RelationLoadStrategy
|
7395
7527
|
}
|
7396
7528
|
|
7397
7529
|
/**
|
@@ -7406,6 +7538,7 @@ export namespace Prisma {
|
|
7406
7538
|
* Filter, which CampaignsToProcess to fetch.
|
7407
7539
|
*/
|
7408
7540
|
where: CampaignsToProcessWhereUniqueInput
|
7541
|
+
relationLoadStrategy?: RelationLoadStrategy
|
7409
7542
|
}
|
7410
7543
|
|
7411
7544
|
/**
|
@@ -7450,6 +7583,7 @@ export namespace Prisma {
|
|
7450
7583
|
* Filter by unique combinations of CampaignsToProcesses.
|
7451
7584
|
*/
|
7452
7585
|
distinct?: CampaignsToProcessScalarFieldEnum | CampaignsToProcessScalarFieldEnum[]
|
7586
|
+
relationLoadStrategy?: RelationLoadStrategy
|
7453
7587
|
}
|
7454
7588
|
|
7455
7589
|
/**
|
@@ -7494,6 +7628,7 @@ export namespace Prisma {
|
|
7494
7628
|
* Filter by unique combinations of CampaignsToProcesses.
|
7495
7629
|
*/
|
7496
7630
|
distinct?: CampaignsToProcessScalarFieldEnum | CampaignsToProcessScalarFieldEnum[]
|
7631
|
+
relationLoadStrategy?: RelationLoadStrategy
|
7497
7632
|
}
|
7498
7633
|
|
7499
7634
|
/**
|
@@ -7533,6 +7668,7 @@ export namespace Prisma {
|
|
7533
7668
|
*/
|
7534
7669
|
skip?: number
|
7535
7670
|
distinct?: CampaignsToProcessScalarFieldEnum | CampaignsToProcessScalarFieldEnum[]
|
7671
|
+
relationLoadStrategy?: RelationLoadStrategy
|
7536
7672
|
}
|
7537
7673
|
|
7538
7674
|
/**
|
@@ -7547,6 +7683,7 @@ export namespace Prisma {
|
|
7547
7683
|
* The data needed to create a CampaignsToProcess.
|
7548
7684
|
*/
|
7549
7685
|
data: XOR<CampaignsToProcessCreateInput, CampaignsToProcessUncheckedCreateInput>
|
7686
|
+
relationLoadStrategy?: RelationLoadStrategy
|
7550
7687
|
}
|
7551
7688
|
|
7552
7689
|
/**
|
@@ -7591,6 +7728,7 @@ export namespace Prisma {
|
|
7591
7728
|
* Choose, which CampaignsToProcess to update.
|
7592
7729
|
*/
|
7593
7730
|
where: CampaignsToProcessWhereUniqueInput
|
7731
|
+
relationLoadStrategy?: RelationLoadStrategy
|
7594
7732
|
}
|
7595
7733
|
|
7596
7734
|
/**
|
@@ -7627,6 +7765,7 @@ export namespace Prisma {
|
|
7627
7765
|
* In case the CampaignsToProcess was found with the provided `where` argument, update it with this data.
|
7628
7766
|
*/
|
7629
7767
|
update: XOR<CampaignsToProcessUpdateInput, CampaignsToProcessUncheckedUpdateInput>
|
7768
|
+
relationLoadStrategy?: RelationLoadStrategy
|
7630
7769
|
}
|
7631
7770
|
|
7632
7771
|
/**
|
@@ -7641,6 +7780,7 @@ export namespace Prisma {
|
|
7641
7780
|
* Filter which CampaignsToProcess to delete.
|
7642
7781
|
*/
|
7643
7782
|
where: CampaignsToProcessWhereUniqueInput
|
7783
|
+
relationLoadStrategy?: RelationLoadStrategy
|
7644
7784
|
}
|
7645
7785
|
|
7646
7786
|
/**
|
@@ -7934,7 +8074,7 @@ export namespace Prisma {
|
|
7934
8074
|
type ClaimsGetPayload<S extends boolean | null | undefined | ClaimsDefaultArgs> = $Result.GetResult<Prisma.$ClaimsPayload, S>
|
7935
8075
|
|
7936
8076
|
type ClaimsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
7937
|
-
Omit<ClaimsFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
8077
|
+
Omit<ClaimsFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
7938
8078
|
select?: ClaimsCountAggregateInputType | true
|
7939
8079
|
}
|
7940
8080
|
|
@@ -8344,6 +8484,7 @@ export namespace Prisma {
|
|
8344
8484
|
* Filter, which Claims to fetch.
|
8345
8485
|
*/
|
8346
8486
|
where: ClaimsWhereUniqueInput
|
8487
|
+
relationLoadStrategy?: RelationLoadStrategy
|
8347
8488
|
}
|
8348
8489
|
|
8349
8490
|
/**
|
@@ -8358,6 +8499,7 @@ export namespace Prisma {
|
|
8358
8499
|
* Filter, which Claims to fetch.
|
8359
8500
|
*/
|
8360
8501
|
where: ClaimsWhereUniqueInput
|
8502
|
+
relationLoadStrategy?: RelationLoadStrategy
|
8361
8503
|
}
|
8362
8504
|
|
8363
8505
|
/**
|
@@ -8402,6 +8544,7 @@ export namespace Prisma {
|
|
8402
8544
|
* Filter by unique combinations of Claims.
|
8403
8545
|
*/
|
8404
8546
|
distinct?: ClaimsScalarFieldEnum | ClaimsScalarFieldEnum[]
|
8547
|
+
relationLoadStrategy?: RelationLoadStrategy
|
8405
8548
|
}
|
8406
8549
|
|
8407
8550
|
/**
|
@@ -8446,6 +8589,7 @@ export namespace Prisma {
|
|
8446
8589
|
* Filter by unique combinations of Claims.
|
8447
8590
|
*/
|
8448
8591
|
distinct?: ClaimsScalarFieldEnum | ClaimsScalarFieldEnum[]
|
8592
|
+
relationLoadStrategy?: RelationLoadStrategy
|
8449
8593
|
}
|
8450
8594
|
|
8451
8595
|
/**
|
@@ -8485,6 +8629,7 @@ export namespace Prisma {
|
|
8485
8629
|
*/
|
8486
8630
|
skip?: number
|
8487
8631
|
distinct?: ClaimsScalarFieldEnum | ClaimsScalarFieldEnum[]
|
8632
|
+
relationLoadStrategy?: RelationLoadStrategy
|
8488
8633
|
}
|
8489
8634
|
|
8490
8635
|
/**
|
@@ -8499,6 +8644,7 @@ export namespace Prisma {
|
|
8499
8644
|
* The data needed to create a Claims.
|
8500
8645
|
*/
|
8501
8646
|
data: XOR<ClaimsCreateInput, ClaimsUncheckedCreateInput>
|
8647
|
+
relationLoadStrategy?: RelationLoadStrategy
|
8502
8648
|
}
|
8503
8649
|
|
8504
8650
|
/**
|
@@ -8543,6 +8689,7 @@ export namespace Prisma {
|
|
8543
8689
|
* Choose, which Claims to update.
|
8544
8690
|
*/
|
8545
8691
|
where: ClaimsWhereUniqueInput
|
8692
|
+
relationLoadStrategy?: RelationLoadStrategy
|
8546
8693
|
}
|
8547
8694
|
|
8548
8695
|
/**
|
@@ -8579,6 +8726,7 @@ export namespace Prisma {
|
|
8579
8726
|
* In case the Claims was found with the provided `where` argument, update it with this data.
|
8580
8727
|
*/
|
8581
8728
|
update: XOR<ClaimsUpdateInput, ClaimsUncheckedUpdateInput>
|
8729
|
+
relationLoadStrategy?: RelationLoadStrategy
|
8582
8730
|
}
|
8583
8731
|
|
8584
8732
|
/**
|
@@ -8593,6 +8741,7 @@ export namespace Prisma {
|
|
8593
8741
|
* Filter which Claims to delete.
|
8594
8742
|
*/
|
8595
8743
|
where: ClaimsWhereUniqueInput
|
8744
|
+
relationLoadStrategy?: RelationLoadStrategy
|
8596
8745
|
}
|
8597
8746
|
|
8598
8747
|
/**
|
@@ -8886,7 +9035,7 @@ export namespace Prisma {
|
|
8886
9035
|
type ClaimsOverTimeGetPayload<S extends boolean | null | undefined | ClaimsOverTimeDefaultArgs> = $Result.GetResult<Prisma.$ClaimsOverTimePayload, S>
|
8887
9036
|
|
8888
9037
|
type ClaimsOverTimeCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
8889
|
-
Omit<ClaimsOverTimeFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
9038
|
+
Omit<ClaimsOverTimeFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
8890
9039
|
select?: ClaimsOverTimeCountAggregateInputType | true
|
8891
9040
|
}
|
8892
9041
|
|
@@ -9296,6 +9445,7 @@ export namespace Prisma {
|
|
9296
9445
|
* Filter, which ClaimsOverTime to fetch.
|
9297
9446
|
*/
|
9298
9447
|
where: ClaimsOverTimeWhereUniqueInput
|
9448
|
+
relationLoadStrategy?: RelationLoadStrategy
|
9299
9449
|
}
|
9300
9450
|
|
9301
9451
|
/**
|
@@ -9310,6 +9460,7 @@ export namespace Prisma {
|
|
9310
9460
|
* Filter, which ClaimsOverTime to fetch.
|
9311
9461
|
*/
|
9312
9462
|
where: ClaimsOverTimeWhereUniqueInput
|
9463
|
+
relationLoadStrategy?: RelationLoadStrategy
|
9313
9464
|
}
|
9314
9465
|
|
9315
9466
|
/**
|
@@ -9354,6 +9505,7 @@ export namespace Prisma {
|
|
9354
9505
|
* Filter by unique combinations of ClaimsOverTimes.
|
9355
9506
|
*/
|
9356
9507
|
distinct?: ClaimsOverTimeScalarFieldEnum | ClaimsOverTimeScalarFieldEnum[]
|
9508
|
+
relationLoadStrategy?: RelationLoadStrategy
|
9357
9509
|
}
|
9358
9510
|
|
9359
9511
|
/**
|
@@ -9398,6 +9550,7 @@ export namespace Prisma {
|
|
9398
9550
|
* Filter by unique combinations of ClaimsOverTimes.
|
9399
9551
|
*/
|
9400
9552
|
distinct?: ClaimsOverTimeScalarFieldEnum | ClaimsOverTimeScalarFieldEnum[]
|
9553
|
+
relationLoadStrategy?: RelationLoadStrategy
|
9401
9554
|
}
|
9402
9555
|
|
9403
9556
|
/**
|
@@ -9437,6 +9590,7 @@ export namespace Prisma {
|
|
9437
9590
|
*/
|
9438
9591
|
skip?: number
|
9439
9592
|
distinct?: ClaimsOverTimeScalarFieldEnum | ClaimsOverTimeScalarFieldEnum[]
|
9593
|
+
relationLoadStrategy?: RelationLoadStrategy
|
9440
9594
|
}
|
9441
9595
|
|
9442
9596
|
/**
|
@@ -9451,6 +9605,7 @@ export namespace Prisma {
|
|
9451
9605
|
* The data needed to create a ClaimsOverTime.
|
9452
9606
|
*/
|
9453
9607
|
data: XOR<ClaimsOverTimeCreateInput, ClaimsOverTimeUncheckedCreateInput>
|
9608
|
+
relationLoadStrategy?: RelationLoadStrategy
|
9454
9609
|
}
|
9455
9610
|
|
9456
9611
|
/**
|
@@ -9495,6 +9650,7 @@ export namespace Prisma {
|
|
9495
9650
|
* Choose, which ClaimsOverTime to update.
|
9496
9651
|
*/
|
9497
9652
|
where: ClaimsOverTimeWhereUniqueInput
|
9653
|
+
relationLoadStrategy?: RelationLoadStrategy
|
9498
9654
|
}
|
9499
9655
|
|
9500
9656
|
/**
|
@@ -9531,6 +9687,7 @@ export namespace Prisma {
|
|
9531
9687
|
* In case the ClaimsOverTime was found with the provided `where` argument, update it with this data.
|
9532
9688
|
*/
|
9533
9689
|
update: XOR<ClaimsOverTimeUpdateInput, ClaimsOverTimeUncheckedUpdateInput>
|
9690
|
+
relationLoadStrategy?: RelationLoadStrategy
|
9534
9691
|
}
|
9535
9692
|
|
9536
9693
|
/**
|
@@ -9545,6 +9702,7 @@ export namespace Prisma {
|
|
9545
9702
|
* Filter which ClaimsOverTime to delete.
|
9546
9703
|
*/
|
9547
9704
|
where: ClaimsOverTimeWhereUniqueInput
|
9705
|
+
relationLoadStrategy?: RelationLoadStrategy
|
9548
9706
|
}
|
9549
9707
|
|
9550
9708
|
/**
|
@@ -9834,7 +9992,7 @@ export namespace Prisma {
|
|
9834
9992
|
type ALMsGetPayload<S extends boolean | null | undefined | ALMsDefaultArgs> = $Result.GetResult<Prisma.$ALMsPayload, S>
|
9835
9993
|
|
9836
9994
|
type ALMsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
9837
|
-
Omit<ALMsFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
9995
|
+
Omit<ALMsFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
9838
9996
|
select?: ALMsCountAggregateInputType | true
|
9839
9997
|
}
|
9840
9998
|
|
@@ -10244,6 +10402,7 @@ export namespace Prisma {
|
|
10244
10402
|
* Filter, which ALMs to fetch.
|
10245
10403
|
*/
|
10246
10404
|
where: ALMsWhereUniqueInput
|
10405
|
+
relationLoadStrategy?: RelationLoadStrategy
|
10247
10406
|
}
|
10248
10407
|
|
10249
10408
|
/**
|
@@ -10258,6 +10417,7 @@ export namespace Prisma {
|
|
10258
10417
|
* Filter, which ALMs to fetch.
|
10259
10418
|
*/
|
10260
10419
|
where: ALMsWhereUniqueInput
|
10420
|
+
relationLoadStrategy?: RelationLoadStrategy
|
10261
10421
|
}
|
10262
10422
|
|
10263
10423
|
/**
|
@@ -10302,6 +10462,7 @@ export namespace Prisma {
|
|
10302
10462
|
* Filter by unique combinations of ALMs.
|
10303
10463
|
*/
|
10304
10464
|
distinct?: ALMsScalarFieldEnum | ALMsScalarFieldEnum[]
|
10465
|
+
relationLoadStrategy?: RelationLoadStrategy
|
10305
10466
|
}
|
10306
10467
|
|
10307
10468
|
/**
|
@@ -10346,6 +10507,7 @@ export namespace Prisma {
|
|
10346
10507
|
* Filter by unique combinations of ALMs.
|
10347
10508
|
*/
|
10348
10509
|
distinct?: ALMsScalarFieldEnum | ALMsScalarFieldEnum[]
|
10510
|
+
relationLoadStrategy?: RelationLoadStrategy
|
10349
10511
|
}
|
10350
10512
|
|
10351
10513
|
/**
|
@@ -10385,6 +10547,7 @@ export namespace Prisma {
|
|
10385
10547
|
*/
|
10386
10548
|
skip?: number
|
10387
10549
|
distinct?: ALMsScalarFieldEnum | ALMsScalarFieldEnum[]
|
10550
|
+
relationLoadStrategy?: RelationLoadStrategy
|
10388
10551
|
}
|
10389
10552
|
|
10390
10553
|
/**
|
@@ -10399,6 +10562,7 @@ export namespace Prisma {
|
|
10399
10562
|
* The data needed to create a ALMs.
|
10400
10563
|
*/
|
10401
10564
|
data: XOR<ALMsCreateInput, ALMsUncheckedCreateInput>
|
10565
|
+
relationLoadStrategy?: RelationLoadStrategy
|
10402
10566
|
}
|
10403
10567
|
|
10404
10568
|
/**
|
@@ -10443,6 +10607,7 @@ export namespace Prisma {
|
|
10443
10607
|
* Choose, which ALMs to update.
|
10444
10608
|
*/
|
10445
10609
|
where: ALMsWhereUniqueInput
|
10610
|
+
relationLoadStrategy?: RelationLoadStrategy
|
10446
10611
|
}
|
10447
10612
|
|
10448
10613
|
/**
|
@@ -10479,6 +10644,7 @@ export namespace Prisma {
|
|
10479
10644
|
* In case the ALMs was found with the provided `where` argument, update it with this data.
|
10480
10645
|
*/
|
10481
10646
|
update: XOR<ALMsUpdateInput, ALMsUncheckedUpdateInput>
|
10647
|
+
relationLoadStrategy?: RelationLoadStrategy
|
10482
10648
|
}
|
10483
10649
|
|
10484
10650
|
/**
|
@@ -10493,6 +10659,7 @@ export namespace Prisma {
|
|
10493
10659
|
* Filter which ALMs to delete.
|
10494
10660
|
*/
|
10495
10661
|
where: ALMsWhereUniqueInput
|
10662
|
+
relationLoadStrategy?: RelationLoadStrategy
|
10496
10663
|
}
|
10497
10664
|
|
10498
10665
|
/**
|
@@ -10738,7 +10905,7 @@ export namespace Prisma {
|
|
10738
10905
|
type ERC20HoldersGetPayload<S extends boolean | null | undefined | ERC20HoldersDefaultArgs> = $Result.GetResult<Prisma.$ERC20HoldersPayload, S>
|
10739
10906
|
|
10740
10907
|
type ERC20HoldersCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
10741
|
-
Omit<ERC20HoldersFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
10908
|
+
Omit<ERC20HoldersFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
10742
10909
|
select?: ERC20HoldersCountAggregateInputType | true
|
10743
10910
|
}
|
10744
10911
|
|
@@ -11144,6 +11311,7 @@ export namespace Prisma {
|
|
11144
11311
|
* Filter, which ERC20Holders to fetch.
|
11145
11312
|
*/
|
11146
11313
|
where: ERC20HoldersWhereUniqueInput
|
11314
|
+
relationLoadStrategy?: RelationLoadStrategy
|
11147
11315
|
}
|
11148
11316
|
|
11149
11317
|
/**
|
@@ -11158,6 +11326,7 @@ export namespace Prisma {
|
|
11158
11326
|
* Filter, which ERC20Holders to fetch.
|
11159
11327
|
*/
|
11160
11328
|
where: ERC20HoldersWhereUniqueInput
|
11329
|
+
relationLoadStrategy?: RelationLoadStrategy
|
11161
11330
|
}
|
11162
11331
|
|
11163
11332
|
/**
|
@@ -11202,6 +11371,7 @@ export namespace Prisma {
|
|
11202
11371
|
* Filter by unique combinations of ERC20Holders.
|
11203
11372
|
*/
|
11204
11373
|
distinct?: ERC20HoldersScalarFieldEnum | ERC20HoldersScalarFieldEnum[]
|
11374
|
+
relationLoadStrategy?: RelationLoadStrategy
|
11205
11375
|
}
|
11206
11376
|
|
11207
11377
|
/**
|
@@ -11246,6 +11416,7 @@ export namespace Prisma {
|
|
11246
11416
|
* Filter by unique combinations of ERC20Holders.
|
11247
11417
|
*/
|
11248
11418
|
distinct?: ERC20HoldersScalarFieldEnum | ERC20HoldersScalarFieldEnum[]
|
11419
|
+
relationLoadStrategy?: RelationLoadStrategy
|
11249
11420
|
}
|
11250
11421
|
|
11251
11422
|
/**
|
@@ -11285,6 +11456,7 @@ export namespace Prisma {
|
|
11285
11456
|
*/
|
11286
11457
|
skip?: number
|
11287
11458
|
distinct?: ERC20HoldersScalarFieldEnum | ERC20HoldersScalarFieldEnum[]
|
11459
|
+
relationLoadStrategy?: RelationLoadStrategy
|
11288
11460
|
}
|
11289
11461
|
|
11290
11462
|
/**
|
@@ -11299,6 +11471,7 @@ export namespace Prisma {
|
|
11299
11471
|
* The data needed to create a ERC20Holders.
|
11300
11472
|
*/
|
11301
11473
|
data: XOR<ERC20HoldersCreateInput, ERC20HoldersUncheckedCreateInput>
|
11474
|
+
relationLoadStrategy?: RelationLoadStrategy
|
11302
11475
|
}
|
11303
11476
|
|
11304
11477
|
/**
|
@@ -11343,6 +11516,7 @@ export namespace Prisma {
|
|
11343
11516
|
* Choose, which ERC20Holders to update.
|
11344
11517
|
*/
|
11345
11518
|
where: ERC20HoldersWhereUniqueInput
|
11519
|
+
relationLoadStrategy?: RelationLoadStrategy
|
11346
11520
|
}
|
11347
11521
|
|
11348
11522
|
/**
|
@@ -11379,6 +11553,7 @@ export namespace Prisma {
|
|
11379
11553
|
* In case the ERC20Holders was found with the provided `where` argument, update it with this data.
|
11380
11554
|
*/
|
11381
11555
|
update: XOR<ERC20HoldersUpdateInput, ERC20HoldersUncheckedUpdateInput>
|
11556
|
+
relationLoadStrategy?: RelationLoadStrategy
|
11382
11557
|
}
|
11383
11558
|
|
11384
11559
|
/**
|
@@ -11393,6 +11568,7 @@ export namespace Prisma {
|
|
11393
11568
|
* Filter which ERC20Holders to delete.
|
11394
11569
|
*/
|
11395
11570
|
where: ERC20HoldersWhereUniqueInput
|
11571
|
+
relationLoadStrategy?: RelationLoadStrategy
|
11396
11572
|
}
|
11397
11573
|
|
11398
11574
|
/**
|
@@ -11642,7 +11818,7 @@ export namespace Prisma {
|
|
11642
11818
|
type TokensGetPayload<S extends boolean | null | undefined | TokensDefaultArgs> = $Result.GetResult<Prisma.$TokensPayload, S>
|
11643
11819
|
|
11644
11820
|
type TokensCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
11645
|
-
Omit<TokensFindManyArgs, 'select' | 'include' | 'distinct'> & {
|
11821
|
+
Omit<TokensFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
11646
11822
|
select?: TokensCountAggregateInputType | true
|
11647
11823
|
}
|
11648
11824
|
|
@@ -12048,6 +12224,7 @@ export namespace Prisma {
|
|
12048
12224
|
* Filter, which Tokens to fetch.
|
12049
12225
|
*/
|
12050
12226
|
where: TokensWhereUniqueInput
|
12227
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12051
12228
|
}
|
12052
12229
|
|
12053
12230
|
/**
|
@@ -12062,6 +12239,7 @@ export namespace Prisma {
|
|
12062
12239
|
* Filter, which Tokens to fetch.
|
12063
12240
|
*/
|
12064
12241
|
where: TokensWhereUniqueInput
|
12242
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12065
12243
|
}
|
12066
12244
|
|
12067
12245
|
/**
|
@@ -12106,6 +12284,7 @@ export namespace Prisma {
|
|
12106
12284
|
* Filter by unique combinations of Tokens.
|
12107
12285
|
*/
|
12108
12286
|
distinct?: TokensScalarFieldEnum | TokensScalarFieldEnum[]
|
12287
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12109
12288
|
}
|
12110
12289
|
|
12111
12290
|
/**
|
@@ -12150,6 +12329,7 @@ export namespace Prisma {
|
|
12150
12329
|
* Filter by unique combinations of Tokens.
|
12151
12330
|
*/
|
12152
12331
|
distinct?: TokensScalarFieldEnum | TokensScalarFieldEnum[]
|
12332
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12153
12333
|
}
|
12154
12334
|
|
12155
12335
|
/**
|
@@ -12189,6 +12369,7 @@ export namespace Prisma {
|
|
12189
12369
|
*/
|
12190
12370
|
skip?: number
|
12191
12371
|
distinct?: TokensScalarFieldEnum | TokensScalarFieldEnum[]
|
12372
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12192
12373
|
}
|
12193
12374
|
|
12194
12375
|
/**
|
@@ -12203,6 +12384,7 @@ export namespace Prisma {
|
|
12203
12384
|
* The data needed to create a Tokens.
|
12204
12385
|
*/
|
12205
12386
|
data: XOR<TokensCreateInput, TokensUncheckedCreateInput>
|
12387
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12206
12388
|
}
|
12207
12389
|
|
12208
12390
|
/**
|
@@ -12247,6 +12429,7 @@ export namespace Prisma {
|
|
12247
12429
|
* Choose, which Tokens to update.
|
12248
12430
|
*/
|
12249
12431
|
where: TokensWhereUniqueInput
|
12432
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12250
12433
|
}
|
12251
12434
|
|
12252
12435
|
/**
|
@@ -12283,6 +12466,7 @@ export namespace Prisma {
|
|
12283
12466
|
* In case the Tokens was found with the provided `where` argument, update it with this data.
|
12284
12467
|
*/
|
12285
12468
|
update: XOR<TokensUpdateInput, TokensUncheckedUpdateInput>
|
12469
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12286
12470
|
}
|
12287
12471
|
|
12288
12472
|
/**
|
@@ -12297,6 +12481,7 @@ export namespace Prisma {
|
|
12297
12481
|
* Filter which Tokens to delete.
|
12298
12482
|
*/
|
12299
12483
|
where: TokensWhereUniqueInput
|
12484
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12300
12485
|
}
|
12301
12486
|
|
12302
12487
|
/**
|
@@ -12321,295 +12506,336 @@ export namespace Prisma {
|
|
12321
12506
|
|
12322
12507
|
|
12323
12508
|
/**
|
12324
|
-
* Model
|
12509
|
+
* Model StateSave
|
12325
12510
|
*/
|
12326
12511
|
|
12327
|
-
export type
|
12328
|
-
_count:
|
12329
|
-
|
12330
|
-
|
12512
|
+
export type AggregateStateSave = {
|
12513
|
+
_count: StateSaveCountAggregateOutputType | null
|
12514
|
+
_avg: StateSaveAvgAggregateOutputType | null
|
12515
|
+
_sum: StateSaveSumAggregateOutputType | null
|
12516
|
+
_min: StateSaveMinAggregateOutputType | null
|
12517
|
+
_max: StateSaveMaxAggregateOutputType | null
|
12331
12518
|
}
|
12332
12519
|
|
12333
|
-
export type
|
12334
|
-
|
12335
|
-
tags: string | null
|
12520
|
+
export type StateSaveAvgAggregateOutputType = {
|
12521
|
+
blockNumber: number | null
|
12336
12522
|
}
|
12337
12523
|
|
12338
|
-
export type
|
12339
|
-
|
12340
|
-
tags: string | null
|
12524
|
+
export type StateSaveSumAggregateOutputType = {
|
12525
|
+
blockNumber: number | null
|
12341
12526
|
}
|
12342
12527
|
|
12343
|
-
export type
|
12344
|
-
|
12345
|
-
|
12528
|
+
export type StateSaveMinAggregateOutputType = {
|
12529
|
+
id: string | null
|
12530
|
+
blockNumber: number | null
|
12531
|
+
}
|
12532
|
+
|
12533
|
+
export type StateSaveMaxAggregateOutputType = {
|
12534
|
+
id: string | null
|
12535
|
+
blockNumber: number | null
|
12536
|
+
}
|
12537
|
+
|
12538
|
+
export type StateSaveCountAggregateOutputType = {
|
12539
|
+
id: number
|
12540
|
+
blockNumber: number
|
12541
|
+
state: number
|
12346
12542
|
_all: number
|
12347
12543
|
}
|
12348
12544
|
|
12349
12545
|
|
12350
|
-
export type
|
12351
|
-
|
12352
|
-
tags?: true
|
12546
|
+
export type StateSaveAvgAggregateInputType = {
|
12547
|
+
blockNumber?: true
|
12353
12548
|
}
|
12354
12549
|
|
12355
|
-
export type
|
12356
|
-
|
12357
|
-
tags?: true
|
12550
|
+
export type StateSaveSumAggregateInputType = {
|
12551
|
+
blockNumber?: true
|
12358
12552
|
}
|
12359
12553
|
|
12360
|
-
export type
|
12361
|
-
|
12362
|
-
|
12554
|
+
export type StateSaveMinAggregateInputType = {
|
12555
|
+
id?: true
|
12556
|
+
blockNumber?: true
|
12557
|
+
}
|
12558
|
+
|
12559
|
+
export type StateSaveMaxAggregateInputType = {
|
12560
|
+
id?: true
|
12561
|
+
blockNumber?: true
|
12562
|
+
}
|
12563
|
+
|
12564
|
+
export type StateSaveCountAggregateInputType = {
|
12565
|
+
id?: true
|
12566
|
+
blockNumber?: true
|
12567
|
+
state?: true
|
12363
12568
|
_all?: true
|
12364
12569
|
}
|
12365
12570
|
|
12366
|
-
export type
|
12571
|
+
export type StateSaveAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
12367
12572
|
/**
|
12368
|
-
* Filter which
|
12573
|
+
* Filter which StateSave to aggregate.
|
12369
12574
|
*/
|
12370
|
-
where?:
|
12575
|
+
where?: StateSaveWhereInput
|
12371
12576
|
/**
|
12372
12577
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
12373
12578
|
*
|
12374
|
-
* Determine the order of
|
12579
|
+
* Determine the order of StateSaves to fetch.
|
12375
12580
|
*/
|
12376
|
-
orderBy?:
|
12581
|
+
orderBy?: StateSaveOrderByWithRelationInput | StateSaveOrderByWithRelationInput[]
|
12377
12582
|
/**
|
12378
12583
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
12379
12584
|
*
|
12380
12585
|
* Sets the start position
|
12381
12586
|
*/
|
12382
|
-
cursor?:
|
12587
|
+
cursor?: StateSaveWhereUniqueInput
|
12383
12588
|
/**
|
12384
12589
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
12385
12590
|
*
|
12386
|
-
* Take `±n`
|
12591
|
+
* Take `±n` StateSaves from the position of the cursor.
|
12387
12592
|
*/
|
12388
12593
|
take?: number
|
12389
12594
|
/**
|
12390
12595
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
12391
12596
|
*
|
12392
|
-
* Skip the first `n`
|
12597
|
+
* Skip the first `n` StateSaves.
|
12393
12598
|
*/
|
12394
12599
|
skip?: number
|
12395
12600
|
/**
|
12396
12601
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
12397
12602
|
*
|
12398
|
-
* Count returned
|
12603
|
+
* Count returned StateSaves
|
12399
12604
|
**/
|
12400
|
-
_count?: true |
|
12605
|
+
_count?: true | StateSaveCountAggregateInputType
|
12606
|
+
/**
|
12607
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
12608
|
+
*
|
12609
|
+
* Select which fields to average
|
12610
|
+
**/
|
12611
|
+
_avg?: StateSaveAvgAggregateInputType
|
12612
|
+
/**
|
12613
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
12614
|
+
*
|
12615
|
+
* Select which fields to sum
|
12616
|
+
**/
|
12617
|
+
_sum?: StateSaveSumAggregateInputType
|
12401
12618
|
/**
|
12402
12619
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
12403
12620
|
*
|
12404
12621
|
* Select which fields to find the minimum value
|
12405
12622
|
**/
|
12406
|
-
_min?:
|
12623
|
+
_min?: StateSaveMinAggregateInputType
|
12407
12624
|
/**
|
12408
12625
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
12409
12626
|
*
|
12410
12627
|
* Select which fields to find the maximum value
|
12411
12628
|
**/
|
12412
|
-
_max?:
|
12629
|
+
_max?: StateSaveMaxAggregateInputType
|
12413
12630
|
}
|
12414
12631
|
|
12415
|
-
export type
|
12416
|
-
[P in keyof T & keyof
|
12632
|
+
export type GetStateSaveAggregateType<T extends StateSaveAggregateArgs> = {
|
12633
|
+
[P in keyof T & keyof AggregateStateSave]: P extends '_count' | 'count'
|
12417
12634
|
? T[P] extends true
|
12418
12635
|
? number
|
12419
|
-
: GetScalarType<T[P],
|
12420
|
-
: GetScalarType<T[P],
|
12636
|
+
: GetScalarType<T[P], AggregateStateSave[P]>
|
12637
|
+
: GetScalarType<T[P], AggregateStateSave[P]>
|
12421
12638
|
}
|
12422
12639
|
|
12423
12640
|
|
12424
12641
|
|
12425
12642
|
|
12426
|
-
export type
|
12427
|
-
where?:
|
12428
|
-
orderBy?:
|
12429
|
-
by:
|
12430
|
-
having?:
|
12643
|
+
export type StateSaveGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
12644
|
+
where?: StateSaveWhereInput
|
12645
|
+
orderBy?: StateSaveOrderByWithAggregationInput | StateSaveOrderByWithAggregationInput[]
|
12646
|
+
by: StateSaveScalarFieldEnum[] | StateSaveScalarFieldEnum
|
12647
|
+
having?: StateSaveScalarWhereWithAggregatesInput
|
12431
12648
|
take?: number
|
12432
12649
|
skip?: number
|
12433
|
-
_count?:
|
12434
|
-
|
12435
|
-
|
12650
|
+
_count?: StateSaveCountAggregateInputType | true
|
12651
|
+
_avg?: StateSaveAvgAggregateInputType
|
12652
|
+
_sum?: StateSaveSumAggregateInputType
|
12653
|
+
_min?: StateSaveMinAggregateInputType
|
12654
|
+
_max?: StateSaveMaxAggregateInputType
|
12436
12655
|
}
|
12437
12656
|
|
12438
|
-
export type
|
12439
|
-
|
12440
|
-
|
12441
|
-
|
12442
|
-
|
12443
|
-
|
12657
|
+
export type StateSaveGroupByOutputType = {
|
12658
|
+
id: string
|
12659
|
+
blockNumber: number
|
12660
|
+
state: JsonValue
|
12661
|
+
_count: StateSaveCountAggregateOutputType | null
|
12662
|
+
_avg: StateSaveAvgAggregateOutputType | null
|
12663
|
+
_sum: StateSaveSumAggregateOutputType | null
|
12664
|
+
_min: StateSaveMinAggregateOutputType | null
|
12665
|
+
_max: StateSaveMaxAggregateOutputType | null
|
12444
12666
|
}
|
12445
12667
|
|
12446
|
-
type
|
12668
|
+
type GetStateSaveGroupByPayload<T extends StateSaveGroupByArgs> = Prisma.PrismaPromise<
|
12447
12669
|
Array<
|
12448
|
-
PickEnumerable<
|
12670
|
+
PickEnumerable<StateSaveGroupByOutputType, T['by']> &
|
12449
12671
|
{
|
12450
|
-
[P in ((keyof T) & (keyof
|
12672
|
+
[P in ((keyof T) & (keyof StateSaveGroupByOutputType))]: P extends '_count'
|
12451
12673
|
? T[P] extends boolean
|
12452
12674
|
? number
|
12453
|
-
: GetScalarType<T[P],
|
12454
|
-
: GetScalarType<T[P],
|
12675
|
+
: GetScalarType<T[P], StateSaveGroupByOutputType[P]>
|
12676
|
+
: GetScalarType<T[P], StateSaveGroupByOutputType[P]>
|
12455
12677
|
}
|
12456
12678
|
>
|
12457
12679
|
>
|
12458
12680
|
|
12459
12681
|
|
12460
|
-
export type
|
12461
|
-
|
12462
|
-
|
12463
|
-
|
12682
|
+
export type StateSaveSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
12683
|
+
id?: boolean
|
12684
|
+
blockNumber?: boolean
|
12685
|
+
state?: boolean
|
12686
|
+
}, ExtArgs["result"]["stateSave"]>
|
12464
12687
|
|
12465
|
-
export type
|
12466
|
-
|
12467
|
-
|
12468
|
-
|
12688
|
+
export type StateSaveSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
12689
|
+
id?: boolean
|
12690
|
+
blockNumber?: boolean
|
12691
|
+
state?: boolean
|
12692
|
+
}, ExtArgs["result"]["stateSave"]>
|
12469
12693
|
|
12470
|
-
export type
|
12471
|
-
|
12472
|
-
|
12694
|
+
export type StateSaveSelectScalar = {
|
12695
|
+
id?: boolean
|
12696
|
+
blockNumber?: boolean
|
12697
|
+
state?: boolean
|
12473
12698
|
}
|
12474
12699
|
|
12475
12700
|
|
12476
|
-
export type $
|
12477
|
-
name: "
|
12701
|
+
export type $StateSavePayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
12702
|
+
name: "StateSave"
|
12478
12703
|
objects: {}
|
12479
12704
|
scalars: $Extensions.GetPayloadResult<{
|
12480
|
-
|
12481
|
-
|
12482
|
-
|
12705
|
+
id: string
|
12706
|
+
blockNumber: number
|
12707
|
+
state: Prisma.JsonValue
|
12708
|
+
}, ExtArgs["result"]["stateSave"]>
|
12483
12709
|
composites: {}
|
12484
12710
|
}
|
12485
12711
|
|
12486
|
-
type
|
12712
|
+
type StateSaveGetPayload<S extends boolean | null | undefined | StateSaveDefaultArgs> = $Result.GetResult<Prisma.$StateSavePayload, S>
|
12487
12713
|
|
12488
|
-
type
|
12489
|
-
Omit<
|
12490
|
-
select?:
|
12714
|
+
type StateSaveCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
12715
|
+
Omit<StateSaveFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
12716
|
+
select?: StateSaveCountAggregateInputType | true
|
12491
12717
|
}
|
12492
12718
|
|
12493
|
-
export interface
|
12494
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['
|
12719
|
+
export interface StateSaveDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
12720
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['StateSave'], meta: { name: 'StateSave' } }
|
12495
12721
|
/**
|
12496
|
-
* Find zero or one
|
12497
|
-
* @param {
|
12722
|
+
* Find zero or one StateSave that matches the filter.
|
12723
|
+
* @param {StateSaveFindUniqueArgs} args - Arguments to find a StateSave
|
12498
12724
|
* @example
|
12499
|
-
* // Get one
|
12500
|
-
* const
|
12725
|
+
* // Get one StateSave
|
12726
|
+
* const stateSave = await prisma.stateSave.findUnique({
|
12501
12727
|
* where: {
|
12502
12728
|
* // ... provide filter here
|
12503
12729
|
* }
|
12504
12730
|
* })
|
12505
12731
|
*/
|
12506
|
-
findUnique<T extends
|
12732
|
+
findUnique<T extends StateSaveFindUniqueArgs>(args: SelectSubset<T, StateSaveFindUniqueArgs<ExtArgs>>): Prisma__StateSaveClient<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
12507
12733
|
|
12508
12734
|
/**
|
12509
|
-
* Find one
|
12735
|
+
* Find one StateSave that matches the filter or throw an error with `error.code='P2025'`
|
12510
12736
|
* if no matches were found.
|
12511
|
-
* @param {
|
12737
|
+
* @param {StateSaveFindUniqueOrThrowArgs} args - Arguments to find a StateSave
|
12512
12738
|
* @example
|
12513
|
-
* // Get one
|
12514
|
-
* const
|
12739
|
+
* // Get one StateSave
|
12740
|
+
* const stateSave = await prisma.stateSave.findUniqueOrThrow({
|
12515
12741
|
* where: {
|
12516
12742
|
* // ... provide filter here
|
12517
12743
|
* }
|
12518
12744
|
* })
|
12519
12745
|
*/
|
12520
|
-
findUniqueOrThrow<T extends
|
12746
|
+
findUniqueOrThrow<T extends StateSaveFindUniqueOrThrowArgs>(args: SelectSubset<T, StateSaveFindUniqueOrThrowArgs<ExtArgs>>): Prisma__StateSaveClient<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
12521
12747
|
|
12522
12748
|
/**
|
12523
|
-
* Find the first
|
12749
|
+
* Find the first StateSave that matches the filter.
|
12524
12750
|
* Note, that providing `undefined` is treated as the value not being there.
|
12525
12751
|
* Read more here: https://pris.ly/d/null-undefined
|
12526
|
-
* @param {
|
12752
|
+
* @param {StateSaveFindFirstArgs} args - Arguments to find a StateSave
|
12527
12753
|
* @example
|
12528
|
-
* // Get one
|
12529
|
-
* const
|
12754
|
+
* // Get one StateSave
|
12755
|
+
* const stateSave = await prisma.stateSave.findFirst({
|
12530
12756
|
* where: {
|
12531
12757
|
* // ... provide filter here
|
12532
12758
|
* }
|
12533
12759
|
* })
|
12534
12760
|
*/
|
12535
|
-
findFirst<T extends
|
12761
|
+
findFirst<T extends StateSaveFindFirstArgs>(args?: SelectSubset<T, StateSaveFindFirstArgs<ExtArgs>>): Prisma__StateSaveClient<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
12536
12762
|
|
12537
12763
|
/**
|
12538
|
-
* Find the first
|
12764
|
+
* Find the first StateSave that matches the filter or
|
12539
12765
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
12540
12766
|
* Note, that providing `undefined` is treated as the value not being there.
|
12541
12767
|
* Read more here: https://pris.ly/d/null-undefined
|
12542
|
-
* @param {
|
12768
|
+
* @param {StateSaveFindFirstOrThrowArgs} args - Arguments to find a StateSave
|
12543
12769
|
* @example
|
12544
|
-
* // Get one
|
12545
|
-
* const
|
12770
|
+
* // Get one StateSave
|
12771
|
+
* const stateSave = await prisma.stateSave.findFirstOrThrow({
|
12546
12772
|
* where: {
|
12547
12773
|
* // ... provide filter here
|
12548
12774
|
* }
|
12549
12775
|
* })
|
12550
12776
|
*/
|
12551
|
-
findFirstOrThrow<T extends
|
12777
|
+
findFirstOrThrow<T extends StateSaveFindFirstOrThrowArgs>(args?: SelectSubset<T, StateSaveFindFirstOrThrowArgs<ExtArgs>>): Prisma__StateSaveClient<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
12552
12778
|
|
12553
12779
|
/**
|
12554
|
-
* Find zero or more
|
12780
|
+
* Find zero or more StateSaves that matches the filter.
|
12555
12781
|
* Note, that providing `undefined` is treated as the value not being there.
|
12556
12782
|
* Read more here: https://pris.ly/d/null-undefined
|
12557
|
-
* @param {
|
12783
|
+
* @param {StateSaveFindManyArgs} args - Arguments to filter and select certain fields only.
|
12558
12784
|
* @example
|
12559
|
-
* // Get all
|
12560
|
-
* const
|
12785
|
+
* // Get all StateSaves
|
12786
|
+
* const stateSaves = await prisma.stateSave.findMany()
|
12561
12787
|
*
|
12562
|
-
* // Get first 10
|
12563
|
-
* const
|
12788
|
+
* // Get first 10 StateSaves
|
12789
|
+
* const stateSaves = await prisma.stateSave.findMany({ take: 10 })
|
12564
12790
|
*
|
12565
|
-
* // Only select the `
|
12566
|
-
* const
|
12791
|
+
* // Only select the `id`
|
12792
|
+
* const stateSaveWithIdOnly = await prisma.stateSave.findMany({ select: { id: true } })
|
12567
12793
|
*
|
12568
12794
|
*/
|
12569
|
-
findMany<T extends
|
12795
|
+
findMany<T extends StateSaveFindManyArgs>(args?: SelectSubset<T, StateSaveFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "findMany">>
|
12570
12796
|
|
12571
12797
|
/**
|
12572
|
-
* Create a
|
12573
|
-
* @param {
|
12798
|
+
* Create a StateSave.
|
12799
|
+
* @param {StateSaveCreateArgs} args - Arguments to create a StateSave.
|
12574
12800
|
* @example
|
12575
|
-
* // Create one
|
12576
|
-
* const
|
12801
|
+
* // Create one StateSave
|
12802
|
+
* const StateSave = await prisma.stateSave.create({
|
12577
12803
|
* data: {
|
12578
|
-
* // ... data to create a
|
12804
|
+
* // ... data to create a StateSave
|
12579
12805
|
* }
|
12580
12806
|
* })
|
12581
12807
|
*
|
12582
12808
|
*/
|
12583
|
-
create<T extends
|
12809
|
+
create<T extends StateSaveCreateArgs>(args: SelectSubset<T, StateSaveCreateArgs<ExtArgs>>): Prisma__StateSaveClient<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "create">, never, ExtArgs>
|
12584
12810
|
|
12585
12811
|
/**
|
12586
|
-
* Create many
|
12587
|
-
* @param {
|
12812
|
+
* Create many StateSaves.
|
12813
|
+
* @param {StateSaveCreateManyArgs} args - Arguments to create many StateSaves.
|
12588
12814
|
* @example
|
12589
|
-
* // Create many
|
12590
|
-
* const
|
12815
|
+
* // Create many StateSaves
|
12816
|
+
* const stateSave = await prisma.stateSave.createMany({
|
12591
12817
|
* data: [
|
12592
12818
|
* // ... provide data here
|
12593
12819
|
* ]
|
12594
12820
|
* })
|
12595
12821
|
*
|
12596
12822
|
*/
|
12597
|
-
createMany<T extends
|
12823
|
+
createMany<T extends StateSaveCreateManyArgs>(args?: SelectSubset<T, StateSaveCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
12598
12824
|
|
12599
12825
|
/**
|
12600
|
-
* Create many
|
12601
|
-
* @param {
|
12826
|
+
* Create many StateSaves and returns the data saved in the database.
|
12827
|
+
* @param {StateSaveCreateManyAndReturnArgs} args - Arguments to create many StateSaves.
|
12602
12828
|
* @example
|
12603
|
-
* // Create many
|
12604
|
-
* const
|
12829
|
+
* // Create many StateSaves
|
12830
|
+
* const stateSave = await prisma.stateSave.createManyAndReturn({
|
12605
12831
|
* data: [
|
12606
12832
|
* // ... provide data here
|
12607
12833
|
* ]
|
12608
12834
|
* })
|
12609
12835
|
*
|
12610
|
-
* // Create many
|
12611
|
-
* const
|
12612
|
-
* select: {
|
12836
|
+
* // Create many StateSaves and only return the `id`
|
12837
|
+
* const stateSaveWithIdOnly = await prisma.stateSave.createManyAndReturn({
|
12838
|
+
* select: { id: true },
|
12613
12839
|
* data: [
|
12614
12840
|
* // ... provide data here
|
12615
12841
|
* ]
|
@@ -12618,28 +12844,28 @@ export namespace Prisma {
|
|
12618
12844
|
* Read more here: https://pris.ly/d/null-undefined
|
12619
12845
|
*
|
12620
12846
|
*/
|
12621
|
-
createManyAndReturn<T extends
|
12847
|
+
createManyAndReturn<T extends StateSaveCreateManyAndReturnArgs>(args?: SelectSubset<T, StateSaveCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "createManyAndReturn">>
|
12622
12848
|
|
12623
12849
|
/**
|
12624
|
-
* Delete a
|
12625
|
-
* @param {
|
12850
|
+
* Delete a StateSave.
|
12851
|
+
* @param {StateSaveDeleteArgs} args - Arguments to delete one StateSave.
|
12626
12852
|
* @example
|
12627
|
-
* // Delete one
|
12628
|
-
* const
|
12853
|
+
* // Delete one StateSave
|
12854
|
+
* const StateSave = await prisma.stateSave.delete({
|
12629
12855
|
* where: {
|
12630
|
-
* // ... filter to delete one
|
12856
|
+
* // ... filter to delete one StateSave
|
12631
12857
|
* }
|
12632
12858
|
* })
|
12633
12859
|
*
|
12634
12860
|
*/
|
12635
|
-
delete<T extends
|
12861
|
+
delete<T extends StateSaveDeleteArgs>(args: SelectSubset<T, StateSaveDeleteArgs<ExtArgs>>): Prisma__StateSaveClient<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
12636
12862
|
|
12637
12863
|
/**
|
12638
|
-
* Update one
|
12639
|
-
* @param {
|
12864
|
+
* Update one StateSave.
|
12865
|
+
* @param {StateSaveUpdateArgs} args - Arguments to update one StateSave.
|
12640
12866
|
* @example
|
12641
|
-
* // Update one
|
12642
|
-
* const
|
12867
|
+
* // Update one StateSave
|
12868
|
+
* const stateSave = await prisma.stateSave.update({
|
12643
12869
|
* where: {
|
12644
12870
|
* // ... provide filter here
|
12645
12871
|
* },
|
@@ -12649,30 +12875,30 @@ export namespace Prisma {
|
|
12649
12875
|
* })
|
12650
12876
|
*
|
12651
12877
|
*/
|
12652
|
-
update<T extends
|
12878
|
+
update<T extends StateSaveUpdateArgs>(args: SelectSubset<T, StateSaveUpdateArgs<ExtArgs>>): Prisma__StateSaveClient<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "update">, never, ExtArgs>
|
12653
12879
|
|
12654
12880
|
/**
|
12655
|
-
* Delete zero or more
|
12656
|
-
* @param {
|
12881
|
+
* Delete zero or more StateSaves.
|
12882
|
+
* @param {StateSaveDeleteManyArgs} args - Arguments to filter StateSaves to delete.
|
12657
12883
|
* @example
|
12658
|
-
* // Delete a few
|
12659
|
-
* const { count } = await prisma.
|
12884
|
+
* // Delete a few StateSaves
|
12885
|
+
* const { count } = await prisma.stateSave.deleteMany({
|
12660
12886
|
* where: {
|
12661
12887
|
* // ... provide filter here
|
12662
12888
|
* }
|
12663
12889
|
* })
|
12664
12890
|
*
|
12665
12891
|
*/
|
12666
|
-
deleteMany<T extends
|
12892
|
+
deleteMany<T extends StateSaveDeleteManyArgs>(args?: SelectSubset<T, StateSaveDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
12667
12893
|
|
12668
12894
|
/**
|
12669
|
-
* Update zero or more
|
12895
|
+
* Update zero or more StateSaves.
|
12670
12896
|
* Note, that providing `undefined` is treated as the value not being there.
|
12671
12897
|
* Read more here: https://pris.ly/d/null-undefined
|
12672
|
-
* @param {
|
12898
|
+
* @param {StateSaveUpdateManyArgs} args - Arguments to update one or more rows.
|
12673
12899
|
* @example
|
12674
|
-
* // Update many
|
12675
|
-
* const
|
12900
|
+
* // Update many StateSaves
|
12901
|
+
* const stateSave = await prisma.stateSave.updateMany({
|
12676
12902
|
* where: {
|
12677
12903
|
* // ... provide filter here
|
12678
12904
|
* },
|
@@ -12682,56 +12908,56 @@ export namespace Prisma {
|
|
12682
12908
|
* })
|
12683
12909
|
*
|
12684
12910
|
*/
|
12685
|
-
updateMany<T extends
|
12911
|
+
updateMany<T extends StateSaveUpdateManyArgs>(args: SelectSubset<T, StateSaveUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
12686
12912
|
|
12687
12913
|
/**
|
12688
|
-
* Create or update one
|
12689
|
-
* @param {
|
12914
|
+
* Create or update one StateSave.
|
12915
|
+
* @param {StateSaveUpsertArgs} args - Arguments to update or create a StateSave.
|
12690
12916
|
* @example
|
12691
|
-
* // Update or create a
|
12692
|
-
* const
|
12917
|
+
* // Update or create a StateSave
|
12918
|
+
* const stateSave = await prisma.stateSave.upsert({
|
12693
12919
|
* create: {
|
12694
|
-
* // ... data to create a
|
12920
|
+
* // ... data to create a StateSave
|
12695
12921
|
* },
|
12696
12922
|
* update: {
|
12697
12923
|
* // ... in case it already exists, update
|
12698
12924
|
* },
|
12699
12925
|
* where: {
|
12700
|
-
* // ... the filter for the
|
12926
|
+
* // ... the filter for the StateSave we want to update
|
12701
12927
|
* }
|
12702
12928
|
* })
|
12703
12929
|
*/
|
12704
|
-
upsert<T extends
|
12930
|
+
upsert<T extends StateSaveUpsertArgs>(args: SelectSubset<T, StateSaveUpsertArgs<ExtArgs>>): Prisma__StateSaveClient<$Result.GetResult<Prisma.$StateSavePayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
12705
12931
|
|
12706
12932
|
|
12707
12933
|
/**
|
12708
|
-
* Count the number of
|
12934
|
+
* Count the number of StateSaves.
|
12709
12935
|
* Note, that providing `undefined` is treated as the value not being there.
|
12710
12936
|
* Read more here: https://pris.ly/d/null-undefined
|
12711
|
-
* @param {
|
12937
|
+
* @param {StateSaveCountArgs} args - Arguments to filter StateSaves to count.
|
12712
12938
|
* @example
|
12713
|
-
* // Count the number of
|
12714
|
-
* const count = await prisma.
|
12939
|
+
* // Count the number of StateSaves
|
12940
|
+
* const count = await prisma.stateSave.count({
|
12715
12941
|
* where: {
|
12716
|
-
* // ... the filter for the
|
12942
|
+
* // ... the filter for the StateSaves we want to count
|
12717
12943
|
* }
|
12718
12944
|
* })
|
12719
12945
|
**/
|
12720
|
-
count<T extends
|
12721
|
-
args?: Subset<T,
|
12946
|
+
count<T extends StateSaveCountArgs>(
|
12947
|
+
args?: Subset<T, StateSaveCountArgs>,
|
12722
12948
|
): Prisma.PrismaPromise<
|
12723
12949
|
T extends $Utils.Record<'select', any>
|
12724
12950
|
? T['select'] extends true
|
12725
12951
|
? number
|
12726
|
-
: GetScalarType<T['select'],
|
12952
|
+
: GetScalarType<T['select'], StateSaveCountAggregateOutputType>
|
12727
12953
|
: number
|
12728
12954
|
>
|
12729
12955
|
|
12730
12956
|
/**
|
12731
|
-
* Allows you to perform aggregations operations on a
|
12957
|
+
* Allows you to perform aggregations operations on a StateSave.
|
12732
12958
|
* Note, that providing `undefined` is treated as the value not being there.
|
12733
12959
|
* Read more here: https://pris.ly/d/null-undefined
|
12734
|
-
* @param {
|
12960
|
+
* @param {StateSaveAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
12735
12961
|
* @example
|
12736
12962
|
* // Ordered by age ascending
|
12737
12963
|
* // Where email contains prisma.io
|
@@ -12751,13 +12977,13 @@ export namespace Prisma {
|
|
12751
12977
|
* take: 10,
|
12752
12978
|
* })
|
12753
12979
|
**/
|
12754
|
-
aggregate<T extends
|
12980
|
+
aggregate<T extends StateSaveAggregateArgs>(args: Subset<T, StateSaveAggregateArgs>): Prisma.PrismaPromise<GetStateSaveAggregateType<T>>
|
12755
12981
|
|
12756
12982
|
/**
|
12757
|
-
* Group by
|
12983
|
+
* Group by StateSave.
|
12758
12984
|
* Note, that providing `undefined` is treated as the value not being there.
|
12759
12985
|
* Read more here: https://pris.ly/d/null-undefined
|
12760
|
-
* @param {
|
12986
|
+
* @param {StateSaveGroupByArgs} args - Group by arguments.
|
12761
12987
|
* @example
|
12762
12988
|
* // Group by city, order by createdAt, get count
|
12763
12989
|
* const result = await prisma.user.groupBy({
|
@@ -12772,14 +12998,14 @@ export namespace Prisma {
|
|
12772
12998
|
*
|
12773
12999
|
**/
|
12774
13000
|
groupBy<
|
12775
|
-
T extends
|
13001
|
+
T extends StateSaveGroupByArgs,
|
12776
13002
|
HasSelectOrTake extends Or<
|
12777
13003
|
Extends<'skip', Keys<T>>,
|
12778
13004
|
Extends<'take', Keys<T>>
|
12779
13005
|
>,
|
12780
13006
|
OrderByArg extends True extends HasSelectOrTake
|
12781
|
-
? { orderBy:
|
12782
|
-
: { orderBy?:
|
13007
|
+
? { orderBy: StateSaveGroupByArgs['orderBy'] }
|
13008
|
+
: { orderBy?: StateSaveGroupByArgs['orderBy'] },
|
12783
13009
|
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
12784
13010
|
ByFields extends MaybeTupleToUnion<T['by']>,
|
12785
13011
|
ByValid extends Has<ByFields, OrderFields>,
|
@@ -12828,20 +13054,872 @@ export namespace Prisma {
|
|
12828
13054
|
? never
|
12829
13055
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
12830
13056
|
}[OrderFields]
|
12831
|
-
>(args: SubsetIntersection<T,
|
13057
|
+
>(args: SubsetIntersection<T, StateSaveGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetStateSaveGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
12832
13058
|
/**
|
12833
|
-
* Fields of the
|
13059
|
+
* Fields of the StateSave model
|
12834
13060
|
*/
|
12835
|
-
readonly fields:
|
13061
|
+
readonly fields: StateSaveFieldRefs;
|
12836
13062
|
}
|
12837
13063
|
|
12838
13064
|
/**
|
12839
|
-
* The delegate class that acts as a "Promise-like" for
|
13065
|
+
* The delegate class that acts as a "Promise-like" for StateSave.
|
12840
13066
|
* Why is this prefixed with `Prisma__`?
|
12841
13067
|
* Because we want to prevent naming conflicts as mentioned in
|
12842
13068
|
* https://github.com/prisma/prisma-client-js/issues/707
|
12843
13069
|
*/
|
12844
|
-
export interface
|
13070
|
+
export interface Prisma__StateSaveClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
13071
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
13072
|
+
/**
|
13073
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
13074
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
13075
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
13076
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
13077
|
+
*/
|
13078
|
+
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>
|
13079
|
+
/**
|
13080
|
+
* Attaches a callback for only the rejection of the Promise.
|
13081
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
13082
|
+
* @returns A Promise for the completion of the callback.
|
13083
|
+
*/
|
13084
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
13085
|
+
/**
|
13086
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
13087
|
+
* resolved value cannot be modified from the callback.
|
13088
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
13089
|
+
* @returns A Promise for the completion of the callback.
|
13090
|
+
*/
|
13091
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
13092
|
+
}
|
13093
|
+
|
13094
|
+
|
13095
|
+
|
13096
|
+
|
13097
|
+
/**
|
13098
|
+
* Fields of the StateSave model
|
13099
|
+
*/
|
13100
|
+
interface StateSaveFieldRefs {
|
13101
|
+
readonly id: FieldRef<"StateSave", 'String'>
|
13102
|
+
readonly blockNumber: FieldRef<"StateSave", 'Int'>
|
13103
|
+
readonly state: FieldRef<"StateSave", 'Json'>
|
13104
|
+
}
|
13105
|
+
|
13106
|
+
|
13107
|
+
// Custom InputTypes
|
13108
|
+
/**
|
13109
|
+
* StateSave findUnique
|
13110
|
+
*/
|
13111
|
+
export type StateSaveFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13112
|
+
/**
|
13113
|
+
* Select specific fields to fetch from the StateSave
|
13114
|
+
*/
|
13115
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13116
|
+
/**
|
13117
|
+
* Filter, which StateSave to fetch.
|
13118
|
+
*/
|
13119
|
+
where: StateSaveWhereUniqueInput
|
13120
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13121
|
+
}
|
13122
|
+
|
13123
|
+
/**
|
13124
|
+
* StateSave findUniqueOrThrow
|
13125
|
+
*/
|
13126
|
+
export type StateSaveFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13127
|
+
/**
|
13128
|
+
* Select specific fields to fetch from the StateSave
|
13129
|
+
*/
|
13130
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13131
|
+
/**
|
13132
|
+
* Filter, which StateSave to fetch.
|
13133
|
+
*/
|
13134
|
+
where: StateSaveWhereUniqueInput
|
13135
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13136
|
+
}
|
13137
|
+
|
13138
|
+
/**
|
13139
|
+
* StateSave findFirst
|
13140
|
+
*/
|
13141
|
+
export type StateSaveFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13142
|
+
/**
|
13143
|
+
* Select specific fields to fetch from the StateSave
|
13144
|
+
*/
|
13145
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13146
|
+
/**
|
13147
|
+
* Filter, which StateSave to fetch.
|
13148
|
+
*/
|
13149
|
+
where?: StateSaveWhereInput
|
13150
|
+
/**
|
13151
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
13152
|
+
*
|
13153
|
+
* Determine the order of StateSaves to fetch.
|
13154
|
+
*/
|
13155
|
+
orderBy?: StateSaveOrderByWithRelationInput | StateSaveOrderByWithRelationInput[]
|
13156
|
+
/**
|
13157
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
13158
|
+
*
|
13159
|
+
* Sets the position for searching for StateSaves.
|
13160
|
+
*/
|
13161
|
+
cursor?: StateSaveWhereUniqueInput
|
13162
|
+
/**
|
13163
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13164
|
+
*
|
13165
|
+
* Take `±n` StateSaves from the position of the cursor.
|
13166
|
+
*/
|
13167
|
+
take?: number
|
13168
|
+
/**
|
13169
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13170
|
+
*
|
13171
|
+
* Skip the first `n` StateSaves.
|
13172
|
+
*/
|
13173
|
+
skip?: number
|
13174
|
+
/**
|
13175
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
13176
|
+
*
|
13177
|
+
* Filter by unique combinations of StateSaves.
|
13178
|
+
*/
|
13179
|
+
distinct?: StateSaveScalarFieldEnum | StateSaveScalarFieldEnum[]
|
13180
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13181
|
+
}
|
13182
|
+
|
13183
|
+
/**
|
13184
|
+
* StateSave findFirstOrThrow
|
13185
|
+
*/
|
13186
|
+
export type StateSaveFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13187
|
+
/**
|
13188
|
+
* Select specific fields to fetch from the StateSave
|
13189
|
+
*/
|
13190
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13191
|
+
/**
|
13192
|
+
* Filter, which StateSave to fetch.
|
13193
|
+
*/
|
13194
|
+
where?: StateSaveWhereInput
|
13195
|
+
/**
|
13196
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
13197
|
+
*
|
13198
|
+
* Determine the order of StateSaves to fetch.
|
13199
|
+
*/
|
13200
|
+
orderBy?: StateSaveOrderByWithRelationInput | StateSaveOrderByWithRelationInput[]
|
13201
|
+
/**
|
13202
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
13203
|
+
*
|
13204
|
+
* Sets the position for searching for StateSaves.
|
13205
|
+
*/
|
13206
|
+
cursor?: StateSaveWhereUniqueInput
|
13207
|
+
/**
|
13208
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13209
|
+
*
|
13210
|
+
* Take `±n` StateSaves from the position of the cursor.
|
13211
|
+
*/
|
13212
|
+
take?: number
|
13213
|
+
/**
|
13214
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13215
|
+
*
|
13216
|
+
* Skip the first `n` StateSaves.
|
13217
|
+
*/
|
13218
|
+
skip?: number
|
13219
|
+
/**
|
13220
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
13221
|
+
*
|
13222
|
+
* Filter by unique combinations of StateSaves.
|
13223
|
+
*/
|
13224
|
+
distinct?: StateSaveScalarFieldEnum | StateSaveScalarFieldEnum[]
|
13225
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13226
|
+
}
|
13227
|
+
|
13228
|
+
/**
|
13229
|
+
* StateSave findMany
|
13230
|
+
*/
|
13231
|
+
export type StateSaveFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13232
|
+
/**
|
13233
|
+
* Select specific fields to fetch from the StateSave
|
13234
|
+
*/
|
13235
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13236
|
+
/**
|
13237
|
+
* Filter, which StateSaves to fetch.
|
13238
|
+
*/
|
13239
|
+
where?: StateSaveWhereInput
|
13240
|
+
/**
|
13241
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
13242
|
+
*
|
13243
|
+
* Determine the order of StateSaves to fetch.
|
13244
|
+
*/
|
13245
|
+
orderBy?: StateSaveOrderByWithRelationInput | StateSaveOrderByWithRelationInput[]
|
13246
|
+
/**
|
13247
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
13248
|
+
*
|
13249
|
+
* Sets the position for listing StateSaves.
|
13250
|
+
*/
|
13251
|
+
cursor?: StateSaveWhereUniqueInput
|
13252
|
+
/**
|
13253
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13254
|
+
*
|
13255
|
+
* Take `±n` StateSaves from the position of the cursor.
|
13256
|
+
*/
|
13257
|
+
take?: number
|
13258
|
+
/**
|
13259
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13260
|
+
*
|
13261
|
+
* Skip the first `n` StateSaves.
|
13262
|
+
*/
|
13263
|
+
skip?: number
|
13264
|
+
distinct?: StateSaveScalarFieldEnum | StateSaveScalarFieldEnum[]
|
13265
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13266
|
+
}
|
13267
|
+
|
13268
|
+
/**
|
13269
|
+
* StateSave create
|
13270
|
+
*/
|
13271
|
+
export type StateSaveCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13272
|
+
/**
|
13273
|
+
* Select specific fields to fetch from the StateSave
|
13274
|
+
*/
|
13275
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13276
|
+
/**
|
13277
|
+
* The data needed to create a StateSave.
|
13278
|
+
*/
|
13279
|
+
data: XOR<StateSaveCreateInput, StateSaveUncheckedCreateInput>
|
13280
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13281
|
+
}
|
13282
|
+
|
13283
|
+
/**
|
13284
|
+
* StateSave createMany
|
13285
|
+
*/
|
13286
|
+
export type StateSaveCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13287
|
+
/**
|
13288
|
+
* The data used to create many StateSaves.
|
13289
|
+
*/
|
13290
|
+
data: StateSaveCreateManyInput | StateSaveCreateManyInput[]
|
13291
|
+
skipDuplicates?: boolean
|
13292
|
+
}
|
13293
|
+
|
13294
|
+
/**
|
13295
|
+
* StateSave createManyAndReturn
|
13296
|
+
*/
|
13297
|
+
export type StateSaveCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13298
|
+
/**
|
13299
|
+
* Select specific fields to fetch from the StateSave
|
13300
|
+
*/
|
13301
|
+
select?: StateSaveSelectCreateManyAndReturn<ExtArgs> | null
|
13302
|
+
/**
|
13303
|
+
* The data used to create many StateSaves.
|
13304
|
+
*/
|
13305
|
+
data: StateSaveCreateManyInput | StateSaveCreateManyInput[]
|
13306
|
+
skipDuplicates?: boolean
|
13307
|
+
}
|
13308
|
+
|
13309
|
+
/**
|
13310
|
+
* StateSave update
|
13311
|
+
*/
|
13312
|
+
export type StateSaveUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13313
|
+
/**
|
13314
|
+
* Select specific fields to fetch from the StateSave
|
13315
|
+
*/
|
13316
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13317
|
+
/**
|
13318
|
+
* The data needed to update a StateSave.
|
13319
|
+
*/
|
13320
|
+
data: XOR<StateSaveUpdateInput, StateSaveUncheckedUpdateInput>
|
13321
|
+
/**
|
13322
|
+
* Choose, which StateSave to update.
|
13323
|
+
*/
|
13324
|
+
where: StateSaveWhereUniqueInput
|
13325
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13326
|
+
}
|
13327
|
+
|
13328
|
+
/**
|
13329
|
+
* StateSave updateMany
|
13330
|
+
*/
|
13331
|
+
export type StateSaveUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13332
|
+
/**
|
13333
|
+
* The data used to update StateSaves.
|
13334
|
+
*/
|
13335
|
+
data: XOR<StateSaveUpdateManyMutationInput, StateSaveUncheckedUpdateManyInput>
|
13336
|
+
/**
|
13337
|
+
* Filter which StateSaves to update
|
13338
|
+
*/
|
13339
|
+
where?: StateSaveWhereInput
|
13340
|
+
}
|
13341
|
+
|
13342
|
+
/**
|
13343
|
+
* StateSave upsert
|
13344
|
+
*/
|
13345
|
+
export type StateSaveUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13346
|
+
/**
|
13347
|
+
* Select specific fields to fetch from the StateSave
|
13348
|
+
*/
|
13349
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13350
|
+
/**
|
13351
|
+
* The filter to search for the StateSave to update in case it exists.
|
13352
|
+
*/
|
13353
|
+
where: StateSaveWhereUniqueInput
|
13354
|
+
/**
|
13355
|
+
* In case the StateSave found by the `where` argument doesn't exist, create a new StateSave with this data.
|
13356
|
+
*/
|
13357
|
+
create: XOR<StateSaveCreateInput, StateSaveUncheckedCreateInput>
|
13358
|
+
/**
|
13359
|
+
* In case the StateSave was found with the provided `where` argument, update it with this data.
|
13360
|
+
*/
|
13361
|
+
update: XOR<StateSaveUpdateInput, StateSaveUncheckedUpdateInput>
|
13362
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13363
|
+
}
|
13364
|
+
|
13365
|
+
/**
|
13366
|
+
* StateSave delete
|
13367
|
+
*/
|
13368
|
+
export type StateSaveDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13369
|
+
/**
|
13370
|
+
* Select specific fields to fetch from the StateSave
|
13371
|
+
*/
|
13372
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13373
|
+
/**
|
13374
|
+
* Filter which StateSave to delete.
|
13375
|
+
*/
|
13376
|
+
where: StateSaveWhereUniqueInput
|
13377
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13378
|
+
}
|
13379
|
+
|
13380
|
+
/**
|
13381
|
+
* StateSave deleteMany
|
13382
|
+
*/
|
13383
|
+
export type StateSaveDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13384
|
+
/**
|
13385
|
+
* Filter which StateSaves to delete
|
13386
|
+
*/
|
13387
|
+
where?: StateSaveWhereInput
|
13388
|
+
}
|
13389
|
+
|
13390
|
+
/**
|
13391
|
+
* StateSave without action
|
13392
|
+
*/
|
13393
|
+
export type StateSaveDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13394
|
+
/**
|
13395
|
+
* Select specific fields to fetch from the StateSave
|
13396
|
+
*/
|
13397
|
+
select?: StateSaveSelect<ExtArgs> | null
|
13398
|
+
}
|
13399
|
+
|
13400
|
+
|
13401
|
+
/**
|
13402
|
+
* Model CampaignCreators
|
13403
|
+
*/
|
13404
|
+
|
13405
|
+
export type AggregateCampaignCreators = {
|
13406
|
+
_count: CampaignCreatorsCountAggregateOutputType | null
|
13407
|
+
_min: CampaignCreatorsMinAggregateOutputType | null
|
13408
|
+
_max: CampaignCreatorsMaxAggregateOutputType | null
|
13409
|
+
}
|
13410
|
+
|
13411
|
+
export type CampaignCreatorsMinAggregateOutputType = {
|
13412
|
+
address: string | null
|
13413
|
+
tags: string | null
|
13414
|
+
}
|
13415
|
+
|
13416
|
+
export type CampaignCreatorsMaxAggregateOutputType = {
|
13417
|
+
address: string | null
|
13418
|
+
tags: string | null
|
13419
|
+
}
|
13420
|
+
|
13421
|
+
export type CampaignCreatorsCountAggregateOutputType = {
|
13422
|
+
address: number
|
13423
|
+
tags: number
|
13424
|
+
_all: number
|
13425
|
+
}
|
13426
|
+
|
13427
|
+
|
13428
|
+
export type CampaignCreatorsMinAggregateInputType = {
|
13429
|
+
address?: true
|
13430
|
+
tags?: true
|
13431
|
+
}
|
13432
|
+
|
13433
|
+
export type CampaignCreatorsMaxAggregateInputType = {
|
13434
|
+
address?: true
|
13435
|
+
tags?: true
|
13436
|
+
}
|
13437
|
+
|
13438
|
+
export type CampaignCreatorsCountAggregateInputType = {
|
13439
|
+
address?: true
|
13440
|
+
tags?: true
|
13441
|
+
_all?: true
|
13442
|
+
}
|
13443
|
+
|
13444
|
+
export type CampaignCreatorsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13445
|
+
/**
|
13446
|
+
* Filter which CampaignCreators to aggregate.
|
13447
|
+
*/
|
13448
|
+
where?: CampaignCreatorsWhereInput
|
13449
|
+
/**
|
13450
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
13451
|
+
*
|
13452
|
+
* Determine the order of CampaignCreators to fetch.
|
13453
|
+
*/
|
13454
|
+
orderBy?: CampaignCreatorsOrderByWithRelationInput | CampaignCreatorsOrderByWithRelationInput[]
|
13455
|
+
/**
|
13456
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
13457
|
+
*
|
13458
|
+
* Sets the start position
|
13459
|
+
*/
|
13460
|
+
cursor?: CampaignCreatorsWhereUniqueInput
|
13461
|
+
/**
|
13462
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13463
|
+
*
|
13464
|
+
* Take `±n` CampaignCreators from the position of the cursor.
|
13465
|
+
*/
|
13466
|
+
take?: number
|
13467
|
+
/**
|
13468
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
13469
|
+
*
|
13470
|
+
* Skip the first `n` CampaignCreators.
|
13471
|
+
*/
|
13472
|
+
skip?: number
|
13473
|
+
/**
|
13474
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
13475
|
+
*
|
13476
|
+
* Count returned CampaignCreators
|
13477
|
+
**/
|
13478
|
+
_count?: true | CampaignCreatorsCountAggregateInputType
|
13479
|
+
/**
|
13480
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
13481
|
+
*
|
13482
|
+
* Select which fields to find the minimum value
|
13483
|
+
**/
|
13484
|
+
_min?: CampaignCreatorsMinAggregateInputType
|
13485
|
+
/**
|
13486
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
13487
|
+
*
|
13488
|
+
* Select which fields to find the maximum value
|
13489
|
+
**/
|
13490
|
+
_max?: CampaignCreatorsMaxAggregateInputType
|
13491
|
+
}
|
13492
|
+
|
13493
|
+
export type GetCampaignCreatorsAggregateType<T extends CampaignCreatorsAggregateArgs> = {
|
13494
|
+
[P in keyof T & keyof AggregateCampaignCreators]: P extends '_count' | 'count'
|
13495
|
+
? T[P] extends true
|
13496
|
+
? number
|
13497
|
+
: GetScalarType<T[P], AggregateCampaignCreators[P]>
|
13498
|
+
: GetScalarType<T[P], AggregateCampaignCreators[P]>
|
13499
|
+
}
|
13500
|
+
|
13501
|
+
|
13502
|
+
|
13503
|
+
|
13504
|
+
export type CampaignCreatorsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13505
|
+
where?: CampaignCreatorsWhereInput
|
13506
|
+
orderBy?: CampaignCreatorsOrderByWithAggregationInput | CampaignCreatorsOrderByWithAggregationInput[]
|
13507
|
+
by: CampaignCreatorsScalarFieldEnum[] | CampaignCreatorsScalarFieldEnum
|
13508
|
+
having?: CampaignCreatorsScalarWhereWithAggregatesInput
|
13509
|
+
take?: number
|
13510
|
+
skip?: number
|
13511
|
+
_count?: CampaignCreatorsCountAggregateInputType | true
|
13512
|
+
_min?: CampaignCreatorsMinAggregateInputType
|
13513
|
+
_max?: CampaignCreatorsMaxAggregateInputType
|
13514
|
+
}
|
13515
|
+
|
13516
|
+
export type CampaignCreatorsGroupByOutputType = {
|
13517
|
+
address: string
|
13518
|
+
tags: string
|
13519
|
+
_count: CampaignCreatorsCountAggregateOutputType | null
|
13520
|
+
_min: CampaignCreatorsMinAggregateOutputType | null
|
13521
|
+
_max: CampaignCreatorsMaxAggregateOutputType | null
|
13522
|
+
}
|
13523
|
+
|
13524
|
+
type GetCampaignCreatorsGroupByPayload<T extends CampaignCreatorsGroupByArgs> = Prisma.PrismaPromise<
|
13525
|
+
Array<
|
13526
|
+
PickEnumerable<CampaignCreatorsGroupByOutputType, T['by']> &
|
13527
|
+
{
|
13528
|
+
[P in ((keyof T) & (keyof CampaignCreatorsGroupByOutputType))]: P extends '_count'
|
13529
|
+
? T[P] extends boolean
|
13530
|
+
? number
|
13531
|
+
: GetScalarType<T[P], CampaignCreatorsGroupByOutputType[P]>
|
13532
|
+
: GetScalarType<T[P], CampaignCreatorsGroupByOutputType[P]>
|
13533
|
+
}
|
13534
|
+
>
|
13535
|
+
>
|
13536
|
+
|
13537
|
+
|
13538
|
+
export type CampaignCreatorsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
13539
|
+
address?: boolean
|
13540
|
+
tags?: boolean
|
13541
|
+
}, ExtArgs["result"]["campaignCreators"]>
|
13542
|
+
|
13543
|
+
export type CampaignCreatorsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
13544
|
+
address?: boolean
|
13545
|
+
tags?: boolean
|
13546
|
+
}, ExtArgs["result"]["campaignCreators"]>
|
13547
|
+
|
13548
|
+
export type CampaignCreatorsSelectScalar = {
|
13549
|
+
address?: boolean
|
13550
|
+
tags?: boolean
|
13551
|
+
}
|
13552
|
+
|
13553
|
+
|
13554
|
+
export type $CampaignCreatorsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
13555
|
+
name: "CampaignCreators"
|
13556
|
+
objects: {}
|
13557
|
+
scalars: $Extensions.GetPayloadResult<{
|
13558
|
+
address: string
|
13559
|
+
tags: string
|
13560
|
+
}, ExtArgs["result"]["campaignCreators"]>
|
13561
|
+
composites: {}
|
13562
|
+
}
|
13563
|
+
|
13564
|
+
type CampaignCreatorsGetPayload<S extends boolean | null | undefined | CampaignCreatorsDefaultArgs> = $Result.GetResult<Prisma.$CampaignCreatorsPayload, S>
|
13565
|
+
|
13566
|
+
type CampaignCreatorsCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
13567
|
+
Omit<CampaignCreatorsFindManyArgs, 'select' | 'include' | 'distinct' | 'relationLoadStrategy'> & {
|
13568
|
+
select?: CampaignCreatorsCountAggregateInputType | true
|
13569
|
+
}
|
13570
|
+
|
13571
|
+
export interface CampaignCreatorsDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> {
|
13572
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CampaignCreators'], meta: { name: 'CampaignCreators' } }
|
13573
|
+
/**
|
13574
|
+
* Find zero or one CampaignCreators that matches the filter.
|
13575
|
+
* @param {CampaignCreatorsFindUniqueArgs} args - Arguments to find a CampaignCreators
|
13576
|
+
* @example
|
13577
|
+
* // Get one CampaignCreators
|
13578
|
+
* const campaignCreators = await prisma.campaignCreators.findUnique({
|
13579
|
+
* where: {
|
13580
|
+
* // ... provide filter here
|
13581
|
+
* }
|
13582
|
+
* })
|
13583
|
+
*/
|
13584
|
+
findUnique<T extends CampaignCreatorsFindUniqueArgs>(args: SelectSubset<T, CampaignCreatorsFindUniqueArgs<ExtArgs>>): Prisma__CampaignCreatorsClient<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "findUnique"> | null, null, ExtArgs>
|
13585
|
+
|
13586
|
+
/**
|
13587
|
+
* Find one CampaignCreators that matches the filter or throw an error with `error.code='P2025'`
|
13588
|
+
* if no matches were found.
|
13589
|
+
* @param {CampaignCreatorsFindUniqueOrThrowArgs} args - Arguments to find a CampaignCreators
|
13590
|
+
* @example
|
13591
|
+
* // Get one CampaignCreators
|
13592
|
+
* const campaignCreators = await prisma.campaignCreators.findUniqueOrThrow({
|
13593
|
+
* where: {
|
13594
|
+
* // ... provide filter here
|
13595
|
+
* }
|
13596
|
+
* })
|
13597
|
+
*/
|
13598
|
+
findUniqueOrThrow<T extends CampaignCreatorsFindUniqueOrThrowArgs>(args: SelectSubset<T, CampaignCreatorsFindUniqueOrThrowArgs<ExtArgs>>): Prisma__CampaignCreatorsClient<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "findUniqueOrThrow">, never, ExtArgs>
|
13599
|
+
|
13600
|
+
/**
|
13601
|
+
* Find the first CampaignCreators that matches the filter.
|
13602
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13603
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13604
|
+
* @param {CampaignCreatorsFindFirstArgs} args - Arguments to find a CampaignCreators
|
13605
|
+
* @example
|
13606
|
+
* // Get one CampaignCreators
|
13607
|
+
* const campaignCreators = await prisma.campaignCreators.findFirst({
|
13608
|
+
* where: {
|
13609
|
+
* // ... provide filter here
|
13610
|
+
* }
|
13611
|
+
* })
|
13612
|
+
*/
|
13613
|
+
findFirst<T extends CampaignCreatorsFindFirstArgs>(args?: SelectSubset<T, CampaignCreatorsFindFirstArgs<ExtArgs>>): Prisma__CampaignCreatorsClient<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "findFirst"> | null, null, ExtArgs>
|
13614
|
+
|
13615
|
+
/**
|
13616
|
+
* Find the first CampaignCreators that matches the filter or
|
13617
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
13618
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13619
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13620
|
+
* @param {CampaignCreatorsFindFirstOrThrowArgs} args - Arguments to find a CampaignCreators
|
13621
|
+
* @example
|
13622
|
+
* // Get one CampaignCreators
|
13623
|
+
* const campaignCreators = await prisma.campaignCreators.findFirstOrThrow({
|
13624
|
+
* where: {
|
13625
|
+
* // ... provide filter here
|
13626
|
+
* }
|
13627
|
+
* })
|
13628
|
+
*/
|
13629
|
+
findFirstOrThrow<T extends CampaignCreatorsFindFirstOrThrowArgs>(args?: SelectSubset<T, CampaignCreatorsFindFirstOrThrowArgs<ExtArgs>>): Prisma__CampaignCreatorsClient<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "findFirstOrThrow">, never, ExtArgs>
|
13630
|
+
|
13631
|
+
/**
|
13632
|
+
* Find zero or more CampaignCreators that matches the filter.
|
13633
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13634
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13635
|
+
* @param {CampaignCreatorsFindManyArgs} args - Arguments to filter and select certain fields only.
|
13636
|
+
* @example
|
13637
|
+
* // Get all CampaignCreators
|
13638
|
+
* const campaignCreators = await prisma.campaignCreators.findMany()
|
13639
|
+
*
|
13640
|
+
* // Get first 10 CampaignCreators
|
13641
|
+
* const campaignCreators = await prisma.campaignCreators.findMany({ take: 10 })
|
13642
|
+
*
|
13643
|
+
* // Only select the `address`
|
13644
|
+
* const campaignCreatorsWithAddressOnly = await prisma.campaignCreators.findMany({ select: { address: true } })
|
13645
|
+
*
|
13646
|
+
*/
|
13647
|
+
findMany<T extends CampaignCreatorsFindManyArgs>(args?: SelectSubset<T, CampaignCreatorsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "findMany">>
|
13648
|
+
|
13649
|
+
/**
|
13650
|
+
* Create a CampaignCreators.
|
13651
|
+
* @param {CampaignCreatorsCreateArgs} args - Arguments to create a CampaignCreators.
|
13652
|
+
* @example
|
13653
|
+
* // Create one CampaignCreators
|
13654
|
+
* const CampaignCreators = await prisma.campaignCreators.create({
|
13655
|
+
* data: {
|
13656
|
+
* // ... data to create a CampaignCreators
|
13657
|
+
* }
|
13658
|
+
* })
|
13659
|
+
*
|
13660
|
+
*/
|
13661
|
+
create<T extends CampaignCreatorsCreateArgs>(args: SelectSubset<T, CampaignCreatorsCreateArgs<ExtArgs>>): Prisma__CampaignCreatorsClient<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "create">, never, ExtArgs>
|
13662
|
+
|
13663
|
+
/**
|
13664
|
+
* Create many CampaignCreators.
|
13665
|
+
* @param {CampaignCreatorsCreateManyArgs} args - Arguments to create many CampaignCreators.
|
13666
|
+
* @example
|
13667
|
+
* // Create many CampaignCreators
|
13668
|
+
* const campaignCreators = await prisma.campaignCreators.createMany({
|
13669
|
+
* data: [
|
13670
|
+
* // ... provide data here
|
13671
|
+
* ]
|
13672
|
+
* })
|
13673
|
+
*
|
13674
|
+
*/
|
13675
|
+
createMany<T extends CampaignCreatorsCreateManyArgs>(args?: SelectSubset<T, CampaignCreatorsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
13676
|
+
|
13677
|
+
/**
|
13678
|
+
* Create many CampaignCreators and returns the data saved in the database.
|
13679
|
+
* @param {CampaignCreatorsCreateManyAndReturnArgs} args - Arguments to create many CampaignCreators.
|
13680
|
+
* @example
|
13681
|
+
* // Create many CampaignCreators
|
13682
|
+
* const campaignCreators = await prisma.campaignCreators.createManyAndReturn({
|
13683
|
+
* data: [
|
13684
|
+
* // ... provide data here
|
13685
|
+
* ]
|
13686
|
+
* })
|
13687
|
+
*
|
13688
|
+
* // Create many CampaignCreators and only return the `address`
|
13689
|
+
* const campaignCreatorsWithAddressOnly = await prisma.campaignCreators.createManyAndReturn({
|
13690
|
+
* select: { address: true },
|
13691
|
+
* data: [
|
13692
|
+
* // ... provide data here
|
13693
|
+
* ]
|
13694
|
+
* })
|
13695
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13696
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13697
|
+
*
|
13698
|
+
*/
|
13699
|
+
createManyAndReturn<T extends CampaignCreatorsCreateManyAndReturnArgs>(args?: SelectSubset<T, CampaignCreatorsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "createManyAndReturn">>
|
13700
|
+
|
13701
|
+
/**
|
13702
|
+
* Delete a CampaignCreators.
|
13703
|
+
* @param {CampaignCreatorsDeleteArgs} args - Arguments to delete one CampaignCreators.
|
13704
|
+
* @example
|
13705
|
+
* // Delete one CampaignCreators
|
13706
|
+
* const CampaignCreators = await prisma.campaignCreators.delete({
|
13707
|
+
* where: {
|
13708
|
+
* // ... filter to delete one CampaignCreators
|
13709
|
+
* }
|
13710
|
+
* })
|
13711
|
+
*
|
13712
|
+
*/
|
13713
|
+
delete<T extends CampaignCreatorsDeleteArgs>(args: SelectSubset<T, CampaignCreatorsDeleteArgs<ExtArgs>>): Prisma__CampaignCreatorsClient<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "delete">, never, ExtArgs>
|
13714
|
+
|
13715
|
+
/**
|
13716
|
+
* Update one CampaignCreators.
|
13717
|
+
* @param {CampaignCreatorsUpdateArgs} args - Arguments to update one CampaignCreators.
|
13718
|
+
* @example
|
13719
|
+
* // Update one CampaignCreators
|
13720
|
+
* const campaignCreators = await prisma.campaignCreators.update({
|
13721
|
+
* where: {
|
13722
|
+
* // ... provide filter here
|
13723
|
+
* },
|
13724
|
+
* data: {
|
13725
|
+
* // ... provide data here
|
13726
|
+
* }
|
13727
|
+
* })
|
13728
|
+
*
|
13729
|
+
*/
|
13730
|
+
update<T extends CampaignCreatorsUpdateArgs>(args: SelectSubset<T, CampaignCreatorsUpdateArgs<ExtArgs>>): Prisma__CampaignCreatorsClient<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "update">, never, ExtArgs>
|
13731
|
+
|
13732
|
+
/**
|
13733
|
+
* Delete zero or more CampaignCreators.
|
13734
|
+
* @param {CampaignCreatorsDeleteManyArgs} args - Arguments to filter CampaignCreators to delete.
|
13735
|
+
* @example
|
13736
|
+
* // Delete a few CampaignCreators
|
13737
|
+
* const { count } = await prisma.campaignCreators.deleteMany({
|
13738
|
+
* where: {
|
13739
|
+
* // ... provide filter here
|
13740
|
+
* }
|
13741
|
+
* })
|
13742
|
+
*
|
13743
|
+
*/
|
13744
|
+
deleteMany<T extends CampaignCreatorsDeleteManyArgs>(args?: SelectSubset<T, CampaignCreatorsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
13745
|
+
|
13746
|
+
/**
|
13747
|
+
* Update zero or more CampaignCreators.
|
13748
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13749
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13750
|
+
* @param {CampaignCreatorsUpdateManyArgs} args - Arguments to update one or more rows.
|
13751
|
+
* @example
|
13752
|
+
* // Update many CampaignCreators
|
13753
|
+
* const campaignCreators = await prisma.campaignCreators.updateMany({
|
13754
|
+
* where: {
|
13755
|
+
* // ... provide filter here
|
13756
|
+
* },
|
13757
|
+
* data: {
|
13758
|
+
* // ... provide data here
|
13759
|
+
* }
|
13760
|
+
* })
|
13761
|
+
*
|
13762
|
+
*/
|
13763
|
+
updateMany<T extends CampaignCreatorsUpdateManyArgs>(args: SelectSubset<T, CampaignCreatorsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
13764
|
+
|
13765
|
+
/**
|
13766
|
+
* Create or update one CampaignCreators.
|
13767
|
+
* @param {CampaignCreatorsUpsertArgs} args - Arguments to update or create a CampaignCreators.
|
13768
|
+
* @example
|
13769
|
+
* // Update or create a CampaignCreators
|
13770
|
+
* const campaignCreators = await prisma.campaignCreators.upsert({
|
13771
|
+
* create: {
|
13772
|
+
* // ... data to create a CampaignCreators
|
13773
|
+
* },
|
13774
|
+
* update: {
|
13775
|
+
* // ... in case it already exists, update
|
13776
|
+
* },
|
13777
|
+
* where: {
|
13778
|
+
* // ... the filter for the CampaignCreators we want to update
|
13779
|
+
* }
|
13780
|
+
* })
|
13781
|
+
*/
|
13782
|
+
upsert<T extends CampaignCreatorsUpsertArgs>(args: SelectSubset<T, CampaignCreatorsUpsertArgs<ExtArgs>>): Prisma__CampaignCreatorsClient<$Result.GetResult<Prisma.$CampaignCreatorsPayload<ExtArgs>, T, "upsert">, never, ExtArgs>
|
13783
|
+
|
13784
|
+
|
13785
|
+
/**
|
13786
|
+
* Count the number of CampaignCreators.
|
13787
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13788
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13789
|
+
* @param {CampaignCreatorsCountArgs} args - Arguments to filter CampaignCreators to count.
|
13790
|
+
* @example
|
13791
|
+
* // Count the number of CampaignCreators
|
13792
|
+
* const count = await prisma.campaignCreators.count({
|
13793
|
+
* where: {
|
13794
|
+
* // ... the filter for the CampaignCreators we want to count
|
13795
|
+
* }
|
13796
|
+
* })
|
13797
|
+
**/
|
13798
|
+
count<T extends CampaignCreatorsCountArgs>(
|
13799
|
+
args?: Subset<T, CampaignCreatorsCountArgs>,
|
13800
|
+
): Prisma.PrismaPromise<
|
13801
|
+
T extends $Utils.Record<'select', any>
|
13802
|
+
? T['select'] extends true
|
13803
|
+
? number
|
13804
|
+
: GetScalarType<T['select'], CampaignCreatorsCountAggregateOutputType>
|
13805
|
+
: number
|
13806
|
+
>
|
13807
|
+
|
13808
|
+
/**
|
13809
|
+
* Allows you to perform aggregations operations on a CampaignCreators.
|
13810
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13811
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13812
|
+
* @param {CampaignCreatorsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
13813
|
+
* @example
|
13814
|
+
* // Ordered by age ascending
|
13815
|
+
* // Where email contains prisma.io
|
13816
|
+
* // Limited to the 10 users
|
13817
|
+
* const aggregations = await prisma.user.aggregate({
|
13818
|
+
* _avg: {
|
13819
|
+
* age: true,
|
13820
|
+
* },
|
13821
|
+
* where: {
|
13822
|
+
* email: {
|
13823
|
+
* contains: "prisma.io",
|
13824
|
+
* },
|
13825
|
+
* },
|
13826
|
+
* orderBy: {
|
13827
|
+
* age: "asc",
|
13828
|
+
* },
|
13829
|
+
* take: 10,
|
13830
|
+
* })
|
13831
|
+
**/
|
13832
|
+
aggregate<T extends CampaignCreatorsAggregateArgs>(args: Subset<T, CampaignCreatorsAggregateArgs>): Prisma.PrismaPromise<GetCampaignCreatorsAggregateType<T>>
|
13833
|
+
|
13834
|
+
/**
|
13835
|
+
* Group by CampaignCreators.
|
13836
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
13837
|
+
* Read more here: https://pris.ly/d/null-undefined
|
13838
|
+
* @param {CampaignCreatorsGroupByArgs} args - Group by arguments.
|
13839
|
+
* @example
|
13840
|
+
* // Group by city, order by createdAt, get count
|
13841
|
+
* const result = await prisma.user.groupBy({
|
13842
|
+
* by: ['city', 'createdAt'],
|
13843
|
+
* orderBy: {
|
13844
|
+
* createdAt: true
|
13845
|
+
* },
|
13846
|
+
* _count: {
|
13847
|
+
* _all: true
|
13848
|
+
* },
|
13849
|
+
* })
|
13850
|
+
*
|
13851
|
+
**/
|
13852
|
+
groupBy<
|
13853
|
+
T extends CampaignCreatorsGroupByArgs,
|
13854
|
+
HasSelectOrTake extends Or<
|
13855
|
+
Extends<'skip', Keys<T>>,
|
13856
|
+
Extends<'take', Keys<T>>
|
13857
|
+
>,
|
13858
|
+
OrderByArg extends True extends HasSelectOrTake
|
13859
|
+
? { orderBy: CampaignCreatorsGroupByArgs['orderBy'] }
|
13860
|
+
: { orderBy?: CampaignCreatorsGroupByArgs['orderBy'] },
|
13861
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
13862
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
13863
|
+
ByValid extends Has<ByFields, OrderFields>,
|
13864
|
+
HavingFields extends GetHavingFields<T['having']>,
|
13865
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
13866
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
13867
|
+
InputErrors extends ByEmpty extends True
|
13868
|
+
? `Error: "by" must not be empty.`
|
13869
|
+
: HavingValid extends False
|
13870
|
+
? {
|
13871
|
+
[P in HavingFields]: P extends ByFields
|
13872
|
+
? never
|
13873
|
+
: P extends string
|
13874
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
13875
|
+
: [
|
13876
|
+
Error,
|
13877
|
+
'Field ',
|
13878
|
+
P,
|
13879
|
+
` in "having" needs to be provided in "by"`,
|
13880
|
+
]
|
13881
|
+
}[HavingFields]
|
13882
|
+
: 'take' extends Keys<T>
|
13883
|
+
? 'orderBy' extends Keys<T>
|
13884
|
+
? ByValid extends True
|
13885
|
+
? {}
|
13886
|
+
: {
|
13887
|
+
[P in OrderFields]: P extends ByFields
|
13888
|
+
? never
|
13889
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
13890
|
+
}[OrderFields]
|
13891
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
13892
|
+
: 'skip' extends Keys<T>
|
13893
|
+
? 'orderBy' extends Keys<T>
|
13894
|
+
? ByValid extends True
|
13895
|
+
? {}
|
13896
|
+
: {
|
13897
|
+
[P in OrderFields]: P extends ByFields
|
13898
|
+
? never
|
13899
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
13900
|
+
}[OrderFields]
|
13901
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
13902
|
+
: ByValid extends True
|
13903
|
+
? {}
|
13904
|
+
: {
|
13905
|
+
[P in OrderFields]: P extends ByFields
|
13906
|
+
? never
|
13907
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
13908
|
+
}[OrderFields]
|
13909
|
+
>(args: SubsetIntersection<T, CampaignCreatorsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCampaignCreatorsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
13910
|
+
/**
|
13911
|
+
* Fields of the CampaignCreators model
|
13912
|
+
*/
|
13913
|
+
readonly fields: CampaignCreatorsFieldRefs;
|
13914
|
+
}
|
13915
|
+
|
13916
|
+
/**
|
13917
|
+
* The delegate class that acts as a "Promise-like" for CampaignCreators.
|
13918
|
+
* Why is this prefixed with `Prisma__`?
|
13919
|
+
* Because we want to prevent naming conflicts as mentioned in
|
13920
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
13921
|
+
*/
|
13922
|
+
export interface Prisma__CampaignCreatorsClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> extends Prisma.PrismaPromise<T> {
|
12845
13923
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
12846
13924
|
/**
|
12847
13925
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
@@ -12890,6 +13968,7 @@ export namespace Prisma {
|
|
12890
13968
|
* Filter, which CampaignCreators to fetch.
|
12891
13969
|
*/
|
12892
13970
|
where: CampaignCreatorsWhereUniqueInput
|
13971
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12893
13972
|
}
|
12894
13973
|
|
12895
13974
|
/**
|
@@ -12904,6 +13983,7 @@ export namespace Prisma {
|
|
12904
13983
|
* Filter, which CampaignCreators to fetch.
|
12905
13984
|
*/
|
12906
13985
|
where: CampaignCreatorsWhereUniqueInput
|
13986
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12907
13987
|
}
|
12908
13988
|
|
12909
13989
|
/**
|
@@ -12948,6 +14028,7 @@ export namespace Prisma {
|
|
12948
14028
|
* Filter by unique combinations of CampaignCreators.
|
12949
14029
|
*/
|
12950
14030
|
distinct?: CampaignCreatorsScalarFieldEnum | CampaignCreatorsScalarFieldEnum[]
|
14031
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12951
14032
|
}
|
12952
14033
|
|
12953
14034
|
/**
|
@@ -12992,6 +14073,7 @@ export namespace Prisma {
|
|
12992
14073
|
* Filter by unique combinations of CampaignCreators.
|
12993
14074
|
*/
|
12994
14075
|
distinct?: CampaignCreatorsScalarFieldEnum | CampaignCreatorsScalarFieldEnum[]
|
14076
|
+
relationLoadStrategy?: RelationLoadStrategy
|
12995
14077
|
}
|
12996
14078
|
|
12997
14079
|
/**
|
@@ -13031,6 +14113,7 @@ export namespace Prisma {
|
|
13031
14113
|
*/
|
13032
14114
|
skip?: number
|
13033
14115
|
distinct?: CampaignCreatorsScalarFieldEnum | CampaignCreatorsScalarFieldEnum[]
|
14116
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13034
14117
|
}
|
13035
14118
|
|
13036
14119
|
/**
|
@@ -13045,6 +14128,7 @@ export namespace Prisma {
|
|
13045
14128
|
* The data needed to create a CampaignCreators.
|
13046
14129
|
*/
|
13047
14130
|
data: XOR<CampaignCreatorsCreateInput, CampaignCreatorsUncheckedCreateInput>
|
14131
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13048
14132
|
}
|
13049
14133
|
|
13050
14134
|
/**
|
@@ -13089,6 +14173,7 @@ export namespace Prisma {
|
|
13089
14173
|
* Choose, which CampaignCreators to update.
|
13090
14174
|
*/
|
13091
14175
|
where: CampaignCreatorsWhereUniqueInput
|
14176
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13092
14177
|
}
|
13093
14178
|
|
13094
14179
|
/**
|
@@ -13125,6 +14210,7 @@ export namespace Prisma {
|
|
13125
14210
|
* In case the CampaignCreators was found with the provided `where` argument, update it with this data.
|
13126
14211
|
*/
|
13127
14212
|
update: XOR<CampaignCreatorsUpdateInput, CampaignCreatorsUncheckedUpdateInput>
|
14213
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13128
14214
|
}
|
13129
14215
|
|
13130
14216
|
/**
|
@@ -13139,6 +14225,7 @@ export namespace Prisma {
|
|
13139
14225
|
* Filter which CampaignCreators to delete.
|
13140
14226
|
*/
|
13141
14227
|
where: CampaignCreatorsWhereUniqueInput
|
14228
|
+
relationLoadStrategy?: RelationLoadStrategy
|
13142
14229
|
}
|
13143
14230
|
|
13144
14231
|
/**
|
@@ -13191,6 +14278,14 @@ export namespace Prisma {
|
|
13191
14278
|
export type TempLeavesScalarFieldEnum = (typeof TempLeavesScalarFieldEnum)[keyof typeof TempLeavesScalarFieldEnum]
|
13192
14279
|
|
13193
14280
|
|
14281
|
+
export const RelationLoadStrategy: {
|
14282
|
+
query: 'query',
|
14283
|
+
join: 'join'
|
14284
|
+
};
|
14285
|
+
|
14286
|
+
export type RelationLoadStrategy = (typeof RelationLoadStrategy)[keyof typeof RelationLoadStrategy]
|
14287
|
+
|
14288
|
+
|
13194
14289
|
export const LeavesScalarFieldEnum: {
|
13195
14290
|
chainId: 'chainId',
|
13196
14291
|
root: 'root',
|
@@ -13331,6 +14426,15 @@ export namespace Prisma {
|
|
13331
14426
|
export type TokensScalarFieldEnum = (typeof TokensScalarFieldEnum)[keyof typeof TokensScalarFieldEnum]
|
13332
14427
|
|
13333
14428
|
|
14429
|
+
export const StateSaveScalarFieldEnum: {
|
14430
|
+
id: 'id',
|
14431
|
+
blockNumber: 'blockNumber',
|
14432
|
+
state: 'state'
|
14433
|
+
};
|
14434
|
+
|
14435
|
+
export type StateSaveScalarFieldEnum = (typeof StateSaveScalarFieldEnum)[keyof typeof StateSaveScalarFieldEnum]
|
14436
|
+
|
14437
|
+
|
13334
14438
|
export const CampaignCreatorsScalarFieldEnum: {
|
13335
14439
|
address: 'address',
|
13336
14440
|
tags: 'tags'
|
@@ -13486,6 +14590,13 @@ export namespace Prisma {
|
|
13486
14590
|
export type TokensOrderByRelevanceFieldEnum = (typeof TokensOrderByRelevanceFieldEnum)[keyof typeof TokensOrderByRelevanceFieldEnum]
|
13487
14591
|
|
13488
14592
|
|
14593
|
+
export const StateSaveOrderByRelevanceFieldEnum: {
|
14594
|
+
id: 'id'
|
14595
|
+
};
|
14596
|
+
|
14597
|
+
export type StateSaveOrderByRelevanceFieldEnum = (typeof StateSaveOrderByRelevanceFieldEnum)[keyof typeof StateSaveOrderByRelevanceFieldEnum]
|
14598
|
+
|
14599
|
+
|
13489
14600
|
export const CampaignCreatorsOrderByRelevanceFieldEnum: {
|
13490
14601
|
address: 'address',
|
13491
14602
|
tags: 'tags'
|
@@ -14351,6 +15462,52 @@ export namespace Prisma {
|
|
14351
15462
|
decimals?: IntWithAggregatesFilter<"Tokens"> | number
|
14352
15463
|
}
|
14353
15464
|
|
15465
|
+
export type StateSaveWhereInput = {
|
15466
|
+
AND?: StateSaveWhereInput | StateSaveWhereInput[]
|
15467
|
+
OR?: StateSaveWhereInput[]
|
15468
|
+
NOT?: StateSaveWhereInput | StateSaveWhereInput[]
|
15469
|
+
id?: StringFilter<"StateSave"> | string
|
15470
|
+
blockNumber?: IntFilter<"StateSave"> | number
|
15471
|
+
state?: JsonFilter<"StateSave">
|
15472
|
+
}
|
15473
|
+
|
15474
|
+
export type StateSaveOrderByWithRelationInput = {
|
15475
|
+
id?: SortOrder
|
15476
|
+
blockNumber?: SortOrder
|
15477
|
+
state?: SortOrder
|
15478
|
+
_relevance?: StateSaveOrderByRelevanceInput
|
15479
|
+
}
|
15480
|
+
|
15481
|
+
export type StateSaveWhereUniqueInput = Prisma.AtLeast<{
|
15482
|
+
id_blockNumber?: StateSaveIdBlockNumberCompoundUniqueInput
|
15483
|
+
AND?: StateSaveWhereInput | StateSaveWhereInput[]
|
15484
|
+
OR?: StateSaveWhereInput[]
|
15485
|
+
NOT?: StateSaveWhereInput | StateSaveWhereInput[]
|
15486
|
+
id?: StringFilter<"StateSave"> | string
|
15487
|
+
blockNumber?: IntFilter<"StateSave"> | number
|
15488
|
+
state?: JsonFilter<"StateSave">
|
15489
|
+
}, "id_blockNumber">
|
15490
|
+
|
15491
|
+
export type StateSaveOrderByWithAggregationInput = {
|
15492
|
+
id?: SortOrder
|
15493
|
+
blockNumber?: SortOrder
|
15494
|
+
state?: SortOrder
|
15495
|
+
_count?: StateSaveCountOrderByAggregateInput
|
15496
|
+
_avg?: StateSaveAvgOrderByAggregateInput
|
15497
|
+
_max?: StateSaveMaxOrderByAggregateInput
|
15498
|
+
_min?: StateSaveMinOrderByAggregateInput
|
15499
|
+
_sum?: StateSaveSumOrderByAggregateInput
|
15500
|
+
}
|
15501
|
+
|
15502
|
+
export type StateSaveScalarWhereWithAggregatesInput = {
|
15503
|
+
AND?: StateSaveScalarWhereWithAggregatesInput | StateSaveScalarWhereWithAggregatesInput[]
|
15504
|
+
OR?: StateSaveScalarWhereWithAggregatesInput[]
|
15505
|
+
NOT?: StateSaveScalarWhereWithAggregatesInput | StateSaveScalarWhereWithAggregatesInput[]
|
15506
|
+
id?: StringWithAggregatesFilter<"StateSave"> | string
|
15507
|
+
blockNumber?: IntWithAggregatesFilter<"StateSave"> | number
|
15508
|
+
state?: JsonWithAggregatesFilter<"StateSave">
|
15509
|
+
}
|
15510
|
+
|
14354
15511
|
export type CampaignCreatorsWhereInput = {
|
14355
15512
|
AND?: CampaignCreatorsWhereInput | CampaignCreatorsWhereInput[]
|
14356
15513
|
OR?: CampaignCreatorsWhereInput[]
|
@@ -15243,6 +16400,48 @@ export namespace Prisma {
|
|
15243
16400
|
decimals?: IntFieldUpdateOperationsInput | number
|
15244
16401
|
}
|
15245
16402
|
|
16403
|
+
export type StateSaveCreateInput = {
|
16404
|
+
id: string
|
16405
|
+
blockNumber: number
|
16406
|
+
state: JsonNullValueInput | InputJsonValue
|
16407
|
+
}
|
16408
|
+
|
16409
|
+
export type StateSaveUncheckedCreateInput = {
|
16410
|
+
id: string
|
16411
|
+
blockNumber: number
|
16412
|
+
state: JsonNullValueInput | InputJsonValue
|
16413
|
+
}
|
16414
|
+
|
16415
|
+
export type StateSaveUpdateInput = {
|
16416
|
+
id?: StringFieldUpdateOperationsInput | string
|
16417
|
+
blockNumber?: IntFieldUpdateOperationsInput | number
|
16418
|
+
state?: JsonNullValueInput | InputJsonValue
|
16419
|
+
}
|
16420
|
+
|
16421
|
+
export type StateSaveUncheckedUpdateInput = {
|
16422
|
+
id?: StringFieldUpdateOperationsInput | string
|
16423
|
+
blockNumber?: IntFieldUpdateOperationsInput | number
|
16424
|
+
state?: JsonNullValueInput | InputJsonValue
|
16425
|
+
}
|
16426
|
+
|
16427
|
+
export type StateSaveCreateManyInput = {
|
16428
|
+
id: string
|
16429
|
+
blockNumber: number
|
16430
|
+
state: JsonNullValueInput | InputJsonValue
|
16431
|
+
}
|
16432
|
+
|
16433
|
+
export type StateSaveUpdateManyMutationInput = {
|
16434
|
+
id?: StringFieldUpdateOperationsInput | string
|
16435
|
+
blockNumber?: IntFieldUpdateOperationsInput | number
|
16436
|
+
state?: JsonNullValueInput | InputJsonValue
|
16437
|
+
}
|
16438
|
+
|
16439
|
+
export type StateSaveUncheckedUpdateManyInput = {
|
16440
|
+
id?: StringFieldUpdateOperationsInput | string
|
16441
|
+
blockNumber?: IntFieldUpdateOperationsInput | number
|
16442
|
+
state?: JsonNullValueInput | InputJsonValue
|
16443
|
+
}
|
16444
|
+
|
15246
16445
|
export type CampaignCreatorsCreateInput = {
|
15247
16446
|
address: string
|
15248
16447
|
tags?: string
|
@@ -16058,6 +17257,41 @@ export namespace Prisma {
|
|
16058
17257
|
decimals?: SortOrder
|
16059
17258
|
}
|
16060
17259
|
|
17260
|
+
export type StateSaveOrderByRelevanceInput = {
|
17261
|
+
fields: StateSaveOrderByRelevanceFieldEnum | StateSaveOrderByRelevanceFieldEnum[]
|
17262
|
+
sort: SortOrder
|
17263
|
+
search: string
|
17264
|
+
}
|
17265
|
+
|
17266
|
+
export type StateSaveIdBlockNumberCompoundUniqueInput = {
|
17267
|
+
id: string
|
17268
|
+
blockNumber: number
|
17269
|
+
}
|
17270
|
+
|
17271
|
+
export type StateSaveCountOrderByAggregateInput = {
|
17272
|
+
id?: SortOrder
|
17273
|
+
blockNumber?: SortOrder
|
17274
|
+
state?: SortOrder
|
17275
|
+
}
|
17276
|
+
|
17277
|
+
export type StateSaveAvgOrderByAggregateInput = {
|
17278
|
+
blockNumber?: SortOrder
|
17279
|
+
}
|
17280
|
+
|
17281
|
+
export type StateSaveMaxOrderByAggregateInput = {
|
17282
|
+
id?: SortOrder
|
17283
|
+
blockNumber?: SortOrder
|
17284
|
+
}
|
17285
|
+
|
17286
|
+
export type StateSaveMinOrderByAggregateInput = {
|
17287
|
+
id?: SortOrder
|
17288
|
+
blockNumber?: SortOrder
|
17289
|
+
}
|
17290
|
+
|
17291
|
+
export type StateSaveSumOrderByAggregateInput = {
|
17292
|
+
blockNumber?: SortOrder
|
17293
|
+
}
|
17294
|
+
|
16061
17295
|
export type CampaignCreatorsOrderByRelevanceInput = {
|
16062
17296
|
fields: CampaignCreatorsOrderByRelevanceFieldEnum | CampaignCreatorsOrderByRelevanceFieldEnum[]
|
16063
17297
|
sort: SortOrder
|