@merkl/api 0.20.178 → 0.21.0

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.
@@ -73,6 +73,16 @@ export type Tokens = $Result.DefaultSelection<Prisma.$TokensPayload>
73
73
  *
74
74
  */
75
75
  export type StateSave = $Result.DefaultSelection<Prisma.$StateSavePayload>
76
+ /**
77
+ * Model Nodes
78
+ *
79
+ */
80
+ export type Nodes = $Result.DefaultSelection<Prisma.$NodesPayload>
81
+ /**
82
+ * Model NodesSources
83
+ *
84
+ */
85
+ export type NodesSources = $Result.DefaultSelection<Prisma.$NodesSourcesPayload>
76
86
  /**
77
87
  * Model CampaignCreators
78
88
  *
@@ -324,6 +334,26 @@ export class PrismaClient<
324
334
  */
325
335
  get stateSave(): Prisma.StateSaveDelegate<ExtArgs, ClientOptions>;
326
336
 
337
+ /**
338
+ * `prisma.nodes`: Exposes CRUD operations for the **Nodes** model.
339
+ * Example usage:
340
+ * ```ts
341
+ * // Fetch zero or more Nodes
342
+ * const nodes = await prisma.nodes.findMany()
343
+ * ```
344
+ */
345
+ get nodes(): Prisma.NodesDelegate<ExtArgs, ClientOptions>;
346
+
347
+ /**
348
+ * `prisma.nodesSources`: Exposes CRUD operations for the **NodesSources** model.
349
+ * Example usage:
350
+ * ```ts
351
+ * // Fetch zero or more NodesSources
352
+ * const nodesSources = await prisma.nodesSources.findMany()
353
+ * ```
354
+ */
355
+ get nodesSources(): Prisma.NodesSourcesDelegate<ExtArgs, ClientOptions>;
356
+
327
357
  /**
328
358
  * `prisma.campaignCreators`: Exposes CRUD operations for the **CampaignCreators** model.
329
359
  * Example usage:
@@ -785,6 +815,8 @@ export namespace Prisma {
785
815
  ERC20Holders: 'ERC20Holders',
786
816
  Tokens: 'Tokens',
787
817
  StateSave: 'StateSave',
818
+ Nodes: 'Nodes',
819
+ NodesSources: 'NodesSources',
788
820
  CampaignCreators: 'CampaignCreators'
789
821
  };
790
822
 
@@ -801,7 +833,7 @@ export namespace Prisma {
801
833
 
802
834
  export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> = {
803
835
  meta: {
804
- modelProps: "tempLeaves" | "leaves" | "proofs" | "merklRoots" | "campaigns" | "campaignsToProcess" | "claims" | "claimsOverTime" | "aLMs" | "eRC20Holders" | "tokens" | "stateSave" | "campaignCreators"
836
+ modelProps: "tempLeaves" | "leaves" | "proofs" | "merklRoots" | "campaigns" | "campaignsToProcess" | "claims" | "claimsOverTime" | "aLMs" | "eRC20Holders" | "tokens" | "stateSave" | "nodes" | "nodesSources" | "campaignCreators"
805
837
  txIsolationLevel: Prisma.TransactionIsolationLevel
806
838
  }
807
839
  model: {
@@ -1693,6 +1725,154 @@ export namespace Prisma {
1693
1725
  }
1694
1726
  }
1695
1727
  }
1728
+ Nodes: {
1729
+ payload: Prisma.$NodesPayload<ExtArgs>
1730
+ fields: Prisma.NodesFieldRefs
1731
+ operations: {
1732
+ findUnique: {
1733
+ args: Prisma.NodesFindUniqueArgs<ExtArgs>
1734
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload> | null
1735
+ }
1736
+ findUniqueOrThrow: {
1737
+ args: Prisma.NodesFindUniqueOrThrowArgs<ExtArgs>
1738
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload>
1739
+ }
1740
+ findFirst: {
1741
+ args: Prisma.NodesFindFirstArgs<ExtArgs>
1742
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload> | null
1743
+ }
1744
+ findFirstOrThrow: {
1745
+ args: Prisma.NodesFindFirstOrThrowArgs<ExtArgs>
1746
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload>
1747
+ }
1748
+ findMany: {
1749
+ args: Prisma.NodesFindManyArgs<ExtArgs>
1750
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload>[]
1751
+ }
1752
+ create: {
1753
+ args: Prisma.NodesCreateArgs<ExtArgs>
1754
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload>
1755
+ }
1756
+ createMany: {
1757
+ args: Prisma.NodesCreateManyArgs<ExtArgs>
1758
+ result: BatchPayload
1759
+ }
1760
+ createManyAndReturn: {
1761
+ args: Prisma.NodesCreateManyAndReturnArgs<ExtArgs>
1762
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload>[]
1763
+ }
1764
+ delete: {
1765
+ args: Prisma.NodesDeleteArgs<ExtArgs>
1766
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload>
1767
+ }
1768
+ update: {
1769
+ args: Prisma.NodesUpdateArgs<ExtArgs>
1770
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload>
1771
+ }
1772
+ deleteMany: {
1773
+ args: Prisma.NodesDeleteManyArgs<ExtArgs>
1774
+ result: BatchPayload
1775
+ }
1776
+ updateMany: {
1777
+ args: Prisma.NodesUpdateManyArgs<ExtArgs>
1778
+ result: BatchPayload
1779
+ }
1780
+ updateManyAndReturn: {
1781
+ args: Prisma.NodesUpdateManyAndReturnArgs<ExtArgs>
1782
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload>[]
1783
+ }
1784
+ upsert: {
1785
+ args: Prisma.NodesUpsertArgs<ExtArgs>
1786
+ result: $Utils.PayloadToResult<Prisma.$NodesPayload>
1787
+ }
1788
+ aggregate: {
1789
+ args: Prisma.NodesAggregateArgs<ExtArgs>
1790
+ result: $Utils.Optional<AggregateNodes>
1791
+ }
1792
+ groupBy: {
1793
+ args: Prisma.NodesGroupByArgs<ExtArgs>
1794
+ result: $Utils.Optional<NodesGroupByOutputType>[]
1795
+ }
1796
+ count: {
1797
+ args: Prisma.NodesCountArgs<ExtArgs>
1798
+ result: $Utils.Optional<NodesCountAggregateOutputType> | number
1799
+ }
1800
+ }
1801
+ }
1802
+ NodesSources: {
1803
+ payload: Prisma.$NodesSourcesPayload<ExtArgs>
1804
+ fields: Prisma.NodesSourcesFieldRefs
1805
+ operations: {
1806
+ findUnique: {
1807
+ args: Prisma.NodesSourcesFindUniqueArgs<ExtArgs>
1808
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload> | null
1809
+ }
1810
+ findUniqueOrThrow: {
1811
+ args: Prisma.NodesSourcesFindUniqueOrThrowArgs<ExtArgs>
1812
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload>
1813
+ }
1814
+ findFirst: {
1815
+ args: Prisma.NodesSourcesFindFirstArgs<ExtArgs>
1816
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload> | null
1817
+ }
1818
+ findFirstOrThrow: {
1819
+ args: Prisma.NodesSourcesFindFirstOrThrowArgs<ExtArgs>
1820
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload>
1821
+ }
1822
+ findMany: {
1823
+ args: Prisma.NodesSourcesFindManyArgs<ExtArgs>
1824
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload>[]
1825
+ }
1826
+ create: {
1827
+ args: Prisma.NodesSourcesCreateArgs<ExtArgs>
1828
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload>
1829
+ }
1830
+ createMany: {
1831
+ args: Prisma.NodesSourcesCreateManyArgs<ExtArgs>
1832
+ result: BatchPayload
1833
+ }
1834
+ createManyAndReturn: {
1835
+ args: Prisma.NodesSourcesCreateManyAndReturnArgs<ExtArgs>
1836
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload>[]
1837
+ }
1838
+ delete: {
1839
+ args: Prisma.NodesSourcesDeleteArgs<ExtArgs>
1840
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload>
1841
+ }
1842
+ update: {
1843
+ args: Prisma.NodesSourcesUpdateArgs<ExtArgs>
1844
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload>
1845
+ }
1846
+ deleteMany: {
1847
+ args: Prisma.NodesSourcesDeleteManyArgs<ExtArgs>
1848
+ result: BatchPayload
1849
+ }
1850
+ updateMany: {
1851
+ args: Prisma.NodesSourcesUpdateManyArgs<ExtArgs>
1852
+ result: BatchPayload
1853
+ }
1854
+ updateManyAndReturn: {
1855
+ args: Prisma.NodesSourcesUpdateManyAndReturnArgs<ExtArgs>
1856
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload>[]
1857
+ }
1858
+ upsert: {
1859
+ args: Prisma.NodesSourcesUpsertArgs<ExtArgs>
1860
+ result: $Utils.PayloadToResult<Prisma.$NodesSourcesPayload>
1861
+ }
1862
+ aggregate: {
1863
+ args: Prisma.NodesSourcesAggregateArgs<ExtArgs>
1864
+ result: $Utils.Optional<AggregateNodesSources>
1865
+ }
1866
+ groupBy: {
1867
+ args: Prisma.NodesSourcesGroupByArgs<ExtArgs>
1868
+ result: $Utils.Optional<NodesSourcesGroupByOutputType>[]
1869
+ }
1870
+ count: {
1871
+ args: Prisma.NodesSourcesCountArgs<ExtArgs>
1872
+ result: $Utils.Optional<NodesSourcesCountAggregateOutputType> | number
1873
+ }
1874
+ }
1875
+ }
1696
1876
  CampaignCreators: {
1697
1877
  payload: Prisma.$CampaignCreatorsPayload<ExtArgs>
1698
1878
  fields: Prisma.CampaignCreatorsFieldRefs
@@ -1863,6 +2043,8 @@ export namespace Prisma {
1863
2043
  eRC20Holders?: ERC20HoldersOmit
1864
2044
  tokens?: TokensOmit
1865
2045
  stateSave?: StateSaveOmit
2046
+ nodes?: NodesOmit
2047
+ nodesSources?: NodesSourcesOmit
1866
2048
  campaignCreators?: CampaignCreatorsOmit
1867
2049
  }
1868
2050
 
@@ -1953,6 +2135,36 @@ export namespace Prisma {
1953
2135
  */
1954
2136
 
1955
2137
 
2138
+ /**
2139
+ * Count Type NodesSourcesCountOutputType
2140
+ */
2141
+
2142
+ export type NodesSourcesCountOutputType = {
2143
+ nodes: number
2144
+ }
2145
+
2146
+ export type NodesSourcesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2147
+ nodes?: boolean | NodesSourcesCountOutputTypeCountNodesArgs
2148
+ }
2149
+
2150
+ // Custom InputTypes
2151
+ /**
2152
+ * NodesSourcesCountOutputType without action
2153
+ */
2154
+ export type NodesSourcesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2155
+ /**
2156
+ * Select specific fields to fetch from the NodesSourcesCountOutputType
2157
+ */
2158
+ select?: NodesSourcesCountOutputTypeSelect<ExtArgs> | null
2159
+ }
2160
+
2161
+ /**
2162
+ * NodesSourcesCountOutputType without action
2163
+ */
2164
+ export type NodesSourcesCountOutputTypeCountNodesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
2165
+ where?: NodesWhereInput
2166
+ }
2167
+
1956
2168
 
1957
2169
  /**
1958
2170
  * Models
@@ -14851,172 +15063,2425 @@ export namespace Prisma {
14851
15063
 
14852
15064
 
14853
15065
  /**
14854
- * Model CampaignCreators
15066
+ * Model Nodes
14855
15067
  */
14856
15068
 
14857
- export type AggregateCampaignCreators = {
14858
- _count: CampaignCreatorsCountAggregateOutputType | null
14859
- _min: CampaignCreatorsMinAggregateOutputType | null
14860
- _max: CampaignCreatorsMaxAggregateOutputType | null
15069
+ export type AggregateNodes = {
15070
+ _count: NodesCountAggregateOutputType | null
15071
+ _avg: NodesAvgAggregateOutputType | null
15072
+ _sum: NodesSumAggregateOutputType | null
15073
+ _min: NodesMinAggregateOutputType | null
15074
+ _max: NodesMaxAggregateOutputType | null
14861
15075
  }
14862
15076
 
14863
- export type CampaignCreatorsMinAggregateOutputType = {
14864
- address: string | null
14865
- tags: string | null
15077
+ export type NodesAvgAggregateOutputType = {
15078
+ chainId: number | null
15079
+ creationBlockNumber: number | null
14866
15080
  }
14867
15081
 
14868
- export type CampaignCreatorsMaxAggregateOutputType = {
14869
- address: string | null
14870
- tags: string | null
15082
+ export type NodesSumAggregateOutputType = {
15083
+ chainId: number | null
15084
+ creationBlockNumber: number | null
14871
15085
  }
14872
15086
 
14873
- export type CampaignCreatorsCountAggregateOutputType = {
14874
- address: number
14875
- tags: number
15087
+ export type NodesMinAggregateOutputType = {
15088
+ id: string | null
15089
+ chainId: number | null
15090
+ nodeType: string | null
15091
+ recipient: string | null
15092
+ nodesSourceId: string | null
15093
+ creationBlockNumber: number | null
15094
+ }
15095
+
15096
+ export type NodesMaxAggregateOutputType = {
15097
+ id: string | null
15098
+ chainId: number | null
15099
+ nodeType: string | null
15100
+ recipient: string | null
15101
+ nodesSourceId: string | null
15102
+ creationBlockNumber: number | null
15103
+ }
15104
+
15105
+ export type NodesCountAggregateOutputType = {
15106
+ id: number
15107
+ chainId: number
15108
+ nodeType: number
15109
+ recipient: number
15110
+ nodesSourceId: number
15111
+ creationBlockNumber: number
15112
+ metadata: number
14876
15113
  _all: number
14877
15114
  }
14878
15115
 
14879
15116
 
14880
- export type CampaignCreatorsMinAggregateInputType = {
14881
- address?: true
14882
- tags?: true
15117
+ export type NodesAvgAggregateInputType = {
15118
+ chainId?: true
15119
+ creationBlockNumber?: true
14883
15120
  }
14884
15121
 
14885
- export type CampaignCreatorsMaxAggregateInputType = {
14886
- address?: true
14887
- tags?: true
15122
+ export type NodesSumAggregateInputType = {
15123
+ chainId?: true
15124
+ creationBlockNumber?: true
14888
15125
  }
14889
15126
 
14890
- export type CampaignCreatorsCountAggregateInputType = {
14891
- address?: true
14892
- tags?: true
15127
+ export type NodesMinAggregateInputType = {
15128
+ id?: true
15129
+ chainId?: true
15130
+ nodeType?: true
15131
+ recipient?: true
15132
+ nodesSourceId?: true
15133
+ creationBlockNumber?: true
15134
+ }
15135
+
15136
+ export type NodesMaxAggregateInputType = {
15137
+ id?: true
15138
+ chainId?: true
15139
+ nodeType?: true
15140
+ recipient?: true
15141
+ nodesSourceId?: true
15142
+ creationBlockNumber?: true
15143
+ }
15144
+
15145
+ export type NodesCountAggregateInputType = {
15146
+ id?: true
15147
+ chainId?: true
15148
+ nodeType?: true
15149
+ recipient?: true
15150
+ nodesSourceId?: true
15151
+ creationBlockNumber?: true
15152
+ metadata?: true
14893
15153
  _all?: true
14894
15154
  }
14895
15155
 
14896
- export type CampaignCreatorsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15156
+ export type NodesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14897
15157
  /**
14898
- * Filter which CampaignCreators to aggregate.
15158
+ * Filter which Nodes to aggregate.
14899
15159
  */
14900
- where?: CampaignCreatorsWhereInput
15160
+ where?: NodesWhereInput
14901
15161
  /**
14902
15162
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
14903
15163
  *
14904
- * Determine the order of CampaignCreators to fetch.
15164
+ * Determine the order of Nodes to fetch.
14905
15165
  */
14906
- orderBy?: CampaignCreatorsOrderByWithRelationInput | CampaignCreatorsOrderByWithRelationInput[]
15166
+ orderBy?: NodesOrderByWithRelationInput | NodesOrderByWithRelationInput[]
14907
15167
  /**
14908
15168
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
14909
15169
  *
14910
15170
  * Sets the start position
14911
15171
  */
14912
- cursor?: CampaignCreatorsWhereUniqueInput
15172
+ cursor?: NodesWhereUniqueInput
14913
15173
  /**
14914
15174
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
14915
15175
  *
14916
- * Take `±n` CampaignCreators from the position of the cursor.
15176
+ * Take `±n` Nodes from the position of the cursor.
14917
15177
  */
14918
15178
  take?: number
14919
15179
  /**
14920
15180
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
14921
15181
  *
14922
- * Skip the first `n` CampaignCreators.
15182
+ * Skip the first `n` Nodes.
14923
15183
  */
14924
15184
  skip?: number
14925
15185
  /**
14926
15186
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
14927
15187
  *
14928
- * Count returned CampaignCreators
15188
+ * Count returned Nodes
14929
15189
  **/
14930
- _count?: true | CampaignCreatorsCountAggregateInputType
15190
+ _count?: true | NodesCountAggregateInputType
15191
+ /**
15192
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
15193
+ *
15194
+ * Select which fields to average
15195
+ **/
15196
+ _avg?: NodesAvgAggregateInputType
15197
+ /**
15198
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
15199
+ *
15200
+ * Select which fields to sum
15201
+ **/
15202
+ _sum?: NodesSumAggregateInputType
14931
15203
  /**
14932
15204
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
14933
15205
  *
14934
15206
  * Select which fields to find the minimum value
14935
15207
  **/
14936
- _min?: CampaignCreatorsMinAggregateInputType
15208
+ _min?: NodesMinAggregateInputType
14937
15209
  /**
14938
15210
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
14939
15211
  *
14940
15212
  * Select which fields to find the maximum value
14941
15213
  **/
14942
- _max?: CampaignCreatorsMaxAggregateInputType
15214
+ _max?: NodesMaxAggregateInputType
14943
15215
  }
14944
15216
 
14945
- export type GetCampaignCreatorsAggregateType<T extends CampaignCreatorsAggregateArgs> = {
14946
- [P in keyof T & keyof AggregateCampaignCreators]: P extends '_count' | 'count'
15217
+ export type GetNodesAggregateType<T extends NodesAggregateArgs> = {
15218
+ [P in keyof T & keyof AggregateNodes]: P extends '_count' | 'count'
14947
15219
  ? T[P] extends true
14948
15220
  ? number
14949
- : GetScalarType<T[P], AggregateCampaignCreators[P]>
14950
- : GetScalarType<T[P], AggregateCampaignCreators[P]>
15221
+ : GetScalarType<T[P], AggregateNodes[P]>
15222
+ : GetScalarType<T[P], AggregateNodes[P]>
14951
15223
  }
14952
15224
 
14953
15225
 
14954
15226
 
14955
15227
 
14956
- export type CampaignCreatorsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
14957
- where?: CampaignCreatorsWhereInput
14958
- orderBy?: CampaignCreatorsOrderByWithAggregationInput | CampaignCreatorsOrderByWithAggregationInput[]
14959
- by: CampaignCreatorsScalarFieldEnum[] | CampaignCreatorsScalarFieldEnum
14960
- having?: CampaignCreatorsScalarWhereWithAggregatesInput
15228
+ export type NodesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15229
+ where?: NodesWhereInput
15230
+ orderBy?: NodesOrderByWithAggregationInput | NodesOrderByWithAggregationInput[]
15231
+ by: NodesScalarFieldEnum[] | NodesScalarFieldEnum
15232
+ having?: NodesScalarWhereWithAggregatesInput
14961
15233
  take?: number
14962
15234
  skip?: number
14963
- _count?: CampaignCreatorsCountAggregateInputType | true
14964
- _min?: CampaignCreatorsMinAggregateInputType
14965
- _max?: CampaignCreatorsMaxAggregateInputType
15235
+ _count?: NodesCountAggregateInputType | true
15236
+ _avg?: NodesAvgAggregateInputType
15237
+ _sum?: NodesSumAggregateInputType
15238
+ _min?: NodesMinAggregateInputType
15239
+ _max?: NodesMaxAggregateInputType
14966
15240
  }
14967
15241
 
14968
- export type CampaignCreatorsGroupByOutputType = {
14969
- address: string
14970
- tags: string
14971
- _count: CampaignCreatorsCountAggregateOutputType | null
14972
- _min: CampaignCreatorsMinAggregateOutputType | null
14973
- _max: CampaignCreatorsMaxAggregateOutputType | null
15242
+ export type NodesGroupByOutputType = {
15243
+ id: string
15244
+ chainId: number
15245
+ nodeType: string
15246
+ recipient: string
15247
+ nodesSourceId: string
15248
+ creationBlockNumber: number
15249
+ metadata: JsonValue | null
15250
+ _count: NodesCountAggregateOutputType | null
15251
+ _avg: NodesAvgAggregateOutputType | null
15252
+ _sum: NodesSumAggregateOutputType | null
15253
+ _min: NodesMinAggregateOutputType | null
15254
+ _max: NodesMaxAggregateOutputType | null
14974
15255
  }
14975
15256
 
14976
- type GetCampaignCreatorsGroupByPayload<T extends CampaignCreatorsGroupByArgs> = Prisma.PrismaPromise<
15257
+ type GetNodesGroupByPayload<T extends NodesGroupByArgs> = Prisma.PrismaPromise<
14977
15258
  Array<
14978
- PickEnumerable<CampaignCreatorsGroupByOutputType, T['by']> &
15259
+ PickEnumerable<NodesGroupByOutputType, T['by']> &
14979
15260
  {
14980
- [P in ((keyof T) & (keyof CampaignCreatorsGroupByOutputType))]: P extends '_count'
15261
+ [P in ((keyof T) & (keyof NodesGroupByOutputType))]: P extends '_count'
14981
15262
  ? T[P] extends boolean
14982
15263
  ? number
14983
- : GetScalarType<T[P], CampaignCreatorsGroupByOutputType[P]>
14984
- : GetScalarType<T[P], CampaignCreatorsGroupByOutputType[P]>
15264
+ : GetScalarType<T[P], NodesGroupByOutputType[P]>
15265
+ : GetScalarType<T[P], NodesGroupByOutputType[P]>
14985
15266
  }
14986
15267
  >
14987
15268
  >
14988
15269
 
14989
15270
 
14990
- export type CampaignCreatorsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
14991
- address?: boolean
14992
- tags?: boolean
14993
- }, ExtArgs["result"]["campaignCreators"]>
15271
+ export type NodesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15272
+ id?: boolean
15273
+ chainId?: boolean
15274
+ nodeType?: boolean
15275
+ recipient?: boolean
15276
+ nodesSourceId?: boolean
15277
+ creationBlockNumber?: boolean
15278
+ metadata?: boolean
15279
+ NodesSources?: boolean | NodesSourcesDefaultArgs<ExtArgs>
15280
+ }, ExtArgs["result"]["nodes"]>
14994
15281
 
14995
- export type CampaignCreatorsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
14996
- address?: boolean
14997
- tags?: boolean
14998
- }, ExtArgs["result"]["campaignCreators"]>
15282
+ export type NodesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15283
+ id?: boolean
15284
+ chainId?: boolean
15285
+ nodeType?: boolean
15286
+ recipient?: boolean
15287
+ nodesSourceId?: boolean
15288
+ creationBlockNumber?: boolean
15289
+ metadata?: boolean
15290
+ NodesSources?: boolean | NodesSourcesDefaultArgs<ExtArgs>
15291
+ }, ExtArgs["result"]["nodes"]>
14999
15292
 
15000
- export type CampaignCreatorsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15001
- address?: boolean
15002
- tags?: boolean
15003
- }, ExtArgs["result"]["campaignCreators"]>
15293
+ export type NodesSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
15294
+ id?: boolean
15295
+ chainId?: boolean
15296
+ nodeType?: boolean
15297
+ recipient?: boolean
15298
+ nodesSourceId?: boolean
15299
+ creationBlockNumber?: boolean
15300
+ metadata?: boolean
15301
+ NodesSources?: boolean | NodesSourcesDefaultArgs<ExtArgs>
15302
+ }, ExtArgs["result"]["nodes"]>
15004
15303
 
15005
- export type CampaignCreatorsSelectScalar = {
15006
- address?: boolean
15007
- tags?: boolean
15304
+ export type NodesSelectScalar = {
15305
+ id?: boolean
15306
+ chainId?: boolean
15307
+ nodeType?: boolean
15308
+ recipient?: boolean
15309
+ nodesSourceId?: boolean
15310
+ creationBlockNumber?: boolean
15311
+ metadata?: boolean
15008
15312
  }
15009
15313
 
15010
- export type CampaignCreatorsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"address" | "tags", ExtArgs["result"]["campaignCreators"]>
15011
-
15012
- export type $CampaignCreatorsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15013
- name: "CampaignCreators"
15014
- objects: {}
15015
- scalars: $Extensions.GetPayloadResult<{
15016
- address: string
15017
- tags: string
15018
- }, ExtArgs["result"]["campaignCreators"]>
15019
- composites: {}
15314
+ export type NodesOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "chainId" | "nodeType" | "recipient" | "nodesSourceId" | "creationBlockNumber" | "metadata", ExtArgs["result"]["nodes"]>
15315
+ export type NodesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15316
+ NodesSources?: boolean | NodesSourcesDefaultArgs<ExtArgs>
15317
+ }
15318
+ export type NodesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15319
+ NodesSources?: boolean | NodesSourcesDefaultArgs<ExtArgs>
15320
+ }
15321
+ export type NodesIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15322
+ NodesSources?: boolean | NodesSourcesDefaultArgs<ExtArgs>
15323
+ }
15324
+
15325
+ export type $NodesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15326
+ name: "Nodes"
15327
+ objects: {
15328
+ NodesSources: Prisma.$NodesSourcesPayload<ExtArgs>
15329
+ }
15330
+ scalars: $Extensions.GetPayloadResult<{
15331
+ id: string
15332
+ chainId: number
15333
+ nodeType: string
15334
+ recipient: string
15335
+ nodesSourceId: string
15336
+ creationBlockNumber: number
15337
+ metadata: Prisma.JsonValue | null
15338
+ }, ExtArgs["result"]["nodes"]>
15339
+ composites: {}
15340
+ }
15341
+
15342
+ type NodesGetPayload<S extends boolean | null | undefined | NodesDefaultArgs> = $Result.GetResult<Prisma.$NodesPayload, S>
15343
+
15344
+ type NodesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
15345
+ Omit<NodesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
15346
+ select?: NodesCountAggregateInputType | true
15347
+ }
15348
+
15349
+ export interface NodesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
15350
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Nodes'], meta: { name: 'Nodes' } }
15351
+ /**
15352
+ * Find zero or one Nodes that matches the filter.
15353
+ * @param {NodesFindUniqueArgs} args - Arguments to find a Nodes
15354
+ * @example
15355
+ * // Get one Nodes
15356
+ * const nodes = await prisma.nodes.findUnique({
15357
+ * where: {
15358
+ * // ... provide filter here
15359
+ * }
15360
+ * })
15361
+ */
15362
+ findUnique<T extends NodesFindUniqueArgs>(args: SelectSubset<T, NodesFindUniqueArgs<ExtArgs>>): Prisma__NodesClient<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
15363
+
15364
+ /**
15365
+ * Find one Nodes that matches the filter or throw an error with `error.code='P2025'`
15366
+ * if no matches were found.
15367
+ * @param {NodesFindUniqueOrThrowArgs} args - Arguments to find a Nodes
15368
+ * @example
15369
+ * // Get one Nodes
15370
+ * const nodes = await prisma.nodes.findUniqueOrThrow({
15371
+ * where: {
15372
+ * // ... provide filter here
15373
+ * }
15374
+ * })
15375
+ */
15376
+ findUniqueOrThrow<T extends NodesFindUniqueOrThrowArgs>(args: SelectSubset<T, NodesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NodesClient<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
15377
+
15378
+ /**
15379
+ * Find the first Nodes that matches the filter.
15380
+ * Note, that providing `undefined` is treated as the value not being there.
15381
+ * Read more here: https://pris.ly/d/null-undefined
15382
+ * @param {NodesFindFirstArgs} args - Arguments to find a Nodes
15383
+ * @example
15384
+ * // Get one Nodes
15385
+ * const nodes = await prisma.nodes.findFirst({
15386
+ * where: {
15387
+ * // ... provide filter here
15388
+ * }
15389
+ * })
15390
+ */
15391
+ findFirst<T extends NodesFindFirstArgs>(args?: SelectSubset<T, NodesFindFirstArgs<ExtArgs>>): Prisma__NodesClient<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
15392
+
15393
+ /**
15394
+ * Find the first Nodes that matches the filter or
15395
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
15396
+ * Note, that providing `undefined` is treated as the value not being there.
15397
+ * Read more here: https://pris.ly/d/null-undefined
15398
+ * @param {NodesFindFirstOrThrowArgs} args - Arguments to find a Nodes
15399
+ * @example
15400
+ * // Get one Nodes
15401
+ * const nodes = await prisma.nodes.findFirstOrThrow({
15402
+ * where: {
15403
+ * // ... provide filter here
15404
+ * }
15405
+ * })
15406
+ */
15407
+ findFirstOrThrow<T extends NodesFindFirstOrThrowArgs>(args?: SelectSubset<T, NodesFindFirstOrThrowArgs<ExtArgs>>): Prisma__NodesClient<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
15408
+
15409
+ /**
15410
+ * Find zero or more Nodes that matches the filter.
15411
+ * Note, that providing `undefined` is treated as the value not being there.
15412
+ * Read more here: https://pris.ly/d/null-undefined
15413
+ * @param {NodesFindManyArgs} args - Arguments to filter and select certain fields only.
15414
+ * @example
15415
+ * // Get all Nodes
15416
+ * const nodes = await prisma.nodes.findMany()
15417
+ *
15418
+ * // Get first 10 Nodes
15419
+ * const nodes = await prisma.nodes.findMany({ take: 10 })
15420
+ *
15421
+ * // Only select the `id`
15422
+ * const nodesWithIdOnly = await prisma.nodes.findMany({ select: { id: true } })
15423
+ *
15424
+ */
15425
+ findMany<T extends NodesFindManyArgs>(args?: SelectSubset<T, NodesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "findMany", ClientOptions>>
15426
+
15427
+ /**
15428
+ * Create a Nodes.
15429
+ * @param {NodesCreateArgs} args - Arguments to create a Nodes.
15430
+ * @example
15431
+ * // Create one Nodes
15432
+ * const Nodes = await prisma.nodes.create({
15433
+ * data: {
15434
+ * // ... data to create a Nodes
15435
+ * }
15436
+ * })
15437
+ *
15438
+ */
15439
+ create<T extends NodesCreateArgs>(args: SelectSubset<T, NodesCreateArgs<ExtArgs>>): Prisma__NodesClient<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
15440
+
15441
+ /**
15442
+ * Create many Nodes.
15443
+ * @param {NodesCreateManyArgs} args - Arguments to create many Nodes.
15444
+ * @example
15445
+ * // Create many Nodes
15446
+ * const nodes = await prisma.nodes.createMany({
15447
+ * data: [
15448
+ * // ... provide data here
15449
+ * ]
15450
+ * })
15451
+ *
15452
+ */
15453
+ createMany<T extends NodesCreateManyArgs>(args?: SelectSubset<T, NodesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
15454
+
15455
+ /**
15456
+ * Create many Nodes and returns the data saved in the database.
15457
+ * @param {NodesCreateManyAndReturnArgs} args - Arguments to create many Nodes.
15458
+ * @example
15459
+ * // Create many Nodes
15460
+ * const nodes = await prisma.nodes.createManyAndReturn({
15461
+ * data: [
15462
+ * // ... provide data here
15463
+ * ]
15464
+ * })
15465
+ *
15466
+ * // Create many Nodes and only return the `id`
15467
+ * const nodesWithIdOnly = await prisma.nodes.createManyAndReturn({
15468
+ * select: { id: true },
15469
+ * data: [
15470
+ * // ... provide data here
15471
+ * ]
15472
+ * })
15473
+ * Note, that providing `undefined` is treated as the value not being there.
15474
+ * Read more here: https://pris.ly/d/null-undefined
15475
+ *
15476
+ */
15477
+ createManyAndReturn<T extends NodesCreateManyAndReturnArgs>(args?: SelectSubset<T, NodesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
15478
+
15479
+ /**
15480
+ * Delete a Nodes.
15481
+ * @param {NodesDeleteArgs} args - Arguments to delete one Nodes.
15482
+ * @example
15483
+ * // Delete one Nodes
15484
+ * const Nodes = await prisma.nodes.delete({
15485
+ * where: {
15486
+ * // ... filter to delete one Nodes
15487
+ * }
15488
+ * })
15489
+ *
15490
+ */
15491
+ delete<T extends NodesDeleteArgs>(args: SelectSubset<T, NodesDeleteArgs<ExtArgs>>): Prisma__NodesClient<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
15492
+
15493
+ /**
15494
+ * Update one Nodes.
15495
+ * @param {NodesUpdateArgs} args - Arguments to update one Nodes.
15496
+ * @example
15497
+ * // Update one Nodes
15498
+ * const nodes = await prisma.nodes.update({
15499
+ * where: {
15500
+ * // ... provide filter here
15501
+ * },
15502
+ * data: {
15503
+ * // ... provide data here
15504
+ * }
15505
+ * })
15506
+ *
15507
+ */
15508
+ update<T extends NodesUpdateArgs>(args: SelectSubset<T, NodesUpdateArgs<ExtArgs>>): Prisma__NodesClient<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
15509
+
15510
+ /**
15511
+ * Delete zero or more Nodes.
15512
+ * @param {NodesDeleteManyArgs} args - Arguments to filter Nodes to delete.
15513
+ * @example
15514
+ * // Delete a few Nodes
15515
+ * const { count } = await prisma.nodes.deleteMany({
15516
+ * where: {
15517
+ * // ... provide filter here
15518
+ * }
15519
+ * })
15520
+ *
15521
+ */
15522
+ deleteMany<T extends NodesDeleteManyArgs>(args?: SelectSubset<T, NodesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
15523
+
15524
+ /**
15525
+ * Update zero or more Nodes.
15526
+ * Note, that providing `undefined` is treated as the value not being there.
15527
+ * Read more here: https://pris.ly/d/null-undefined
15528
+ * @param {NodesUpdateManyArgs} args - Arguments to update one or more rows.
15529
+ * @example
15530
+ * // Update many Nodes
15531
+ * const nodes = await prisma.nodes.updateMany({
15532
+ * where: {
15533
+ * // ... provide filter here
15534
+ * },
15535
+ * data: {
15536
+ * // ... provide data here
15537
+ * }
15538
+ * })
15539
+ *
15540
+ */
15541
+ updateMany<T extends NodesUpdateManyArgs>(args: SelectSubset<T, NodesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
15542
+
15543
+ /**
15544
+ * Update zero or more Nodes and returns the data updated in the database.
15545
+ * @param {NodesUpdateManyAndReturnArgs} args - Arguments to update many Nodes.
15546
+ * @example
15547
+ * // Update many Nodes
15548
+ * const nodes = await prisma.nodes.updateManyAndReturn({
15549
+ * where: {
15550
+ * // ... provide filter here
15551
+ * },
15552
+ * data: [
15553
+ * // ... provide data here
15554
+ * ]
15555
+ * })
15556
+ *
15557
+ * // Update zero or more Nodes and only return the `id`
15558
+ * const nodesWithIdOnly = await prisma.nodes.updateManyAndReturn({
15559
+ * select: { id: true },
15560
+ * where: {
15561
+ * // ... provide filter here
15562
+ * },
15563
+ * data: [
15564
+ * // ... provide data here
15565
+ * ]
15566
+ * })
15567
+ * Note, that providing `undefined` is treated as the value not being there.
15568
+ * Read more here: https://pris.ly/d/null-undefined
15569
+ *
15570
+ */
15571
+ updateManyAndReturn<T extends NodesUpdateManyAndReturnArgs>(args: SelectSubset<T, NodesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
15572
+
15573
+ /**
15574
+ * Create or update one Nodes.
15575
+ * @param {NodesUpsertArgs} args - Arguments to update or create a Nodes.
15576
+ * @example
15577
+ * // Update or create a Nodes
15578
+ * const nodes = await prisma.nodes.upsert({
15579
+ * create: {
15580
+ * // ... data to create a Nodes
15581
+ * },
15582
+ * update: {
15583
+ * // ... in case it already exists, update
15584
+ * },
15585
+ * where: {
15586
+ * // ... the filter for the Nodes we want to update
15587
+ * }
15588
+ * })
15589
+ */
15590
+ upsert<T extends NodesUpsertArgs>(args: SelectSubset<T, NodesUpsertArgs<ExtArgs>>): Prisma__NodesClient<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
15591
+
15592
+
15593
+ /**
15594
+ * Count the number of Nodes.
15595
+ * Note, that providing `undefined` is treated as the value not being there.
15596
+ * Read more here: https://pris.ly/d/null-undefined
15597
+ * @param {NodesCountArgs} args - Arguments to filter Nodes to count.
15598
+ * @example
15599
+ * // Count the number of Nodes
15600
+ * const count = await prisma.nodes.count({
15601
+ * where: {
15602
+ * // ... the filter for the Nodes we want to count
15603
+ * }
15604
+ * })
15605
+ **/
15606
+ count<T extends NodesCountArgs>(
15607
+ args?: Subset<T, NodesCountArgs>,
15608
+ ): Prisma.PrismaPromise<
15609
+ T extends $Utils.Record<'select', any>
15610
+ ? T['select'] extends true
15611
+ ? number
15612
+ : GetScalarType<T['select'], NodesCountAggregateOutputType>
15613
+ : number
15614
+ >
15615
+
15616
+ /**
15617
+ * Allows you to perform aggregations operations on a Nodes.
15618
+ * Note, that providing `undefined` is treated as the value not being there.
15619
+ * Read more here: https://pris.ly/d/null-undefined
15620
+ * @param {NodesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
15621
+ * @example
15622
+ * // Ordered by age ascending
15623
+ * // Where email contains prisma.io
15624
+ * // Limited to the 10 users
15625
+ * const aggregations = await prisma.user.aggregate({
15626
+ * _avg: {
15627
+ * age: true,
15628
+ * },
15629
+ * where: {
15630
+ * email: {
15631
+ * contains: "prisma.io",
15632
+ * },
15633
+ * },
15634
+ * orderBy: {
15635
+ * age: "asc",
15636
+ * },
15637
+ * take: 10,
15638
+ * })
15639
+ **/
15640
+ aggregate<T extends NodesAggregateArgs>(args: Subset<T, NodesAggregateArgs>): Prisma.PrismaPromise<GetNodesAggregateType<T>>
15641
+
15642
+ /**
15643
+ * Group by Nodes.
15644
+ * Note, that providing `undefined` is treated as the value not being there.
15645
+ * Read more here: https://pris.ly/d/null-undefined
15646
+ * @param {NodesGroupByArgs} args - Group by arguments.
15647
+ * @example
15648
+ * // Group by city, order by createdAt, get count
15649
+ * const result = await prisma.user.groupBy({
15650
+ * by: ['city', 'createdAt'],
15651
+ * orderBy: {
15652
+ * createdAt: true
15653
+ * },
15654
+ * _count: {
15655
+ * _all: true
15656
+ * },
15657
+ * })
15658
+ *
15659
+ **/
15660
+ groupBy<
15661
+ T extends NodesGroupByArgs,
15662
+ HasSelectOrTake extends Or<
15663
+ Extends<'skip', Keys<T>>,
15664
+ Extends<'take', Keys<T>>
15665
+ >,
15666
+ OrderByArg extends True extends HasSelectOrTake
15667
+ ? { orderBy: NodesGroupByArgs['orderBy'] }
15668
+ : { orderBy?: NodesGroupByArgs['orderBy'] },
15669
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
15670
+ ByFields extends MaybeTupleToUnion<T['by']>,
15671
+ ByValid extends Has<ByFields, OrderFields>,
15672
+ HavingFields extends GetHavingFields<T['having']>,
15673
+ HavingValid extends Has<ByFields, HavingFields>,
15674
+ ByEmpty extends T['by'] extends never[] ? True : False,
15675
+ InputErrors extends ByEmpty extends True
15676
+ ? `Error: "by" must not be empty.`
15677
+ : HavingValid extends False
15678
+ ? {
15679
+ [P in HavingFields]: P extends ByFields
15680
+ ? never
15681
+ : P extends string
15682
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
15683
+ : [
15684
+ Error,
15685
+ 'Field ',
15686
+ P,
15687
+ ` in "having" needs to be provided in "by"`,
15688
+ ]
15689
+ }[HavingFields]
15690
+ : 'take' extends Keys<T>
15691
+ ? 'orderBy' extends Keys<T>
15692
+ ? ByValid extends True
15693
+ ? {}
15694
+ : {
15695
+ [P in OrderFields]: P extends ByFields
15696
+ ? never
15697
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
15698
+ }[OrderFields]
15699
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
15700
+ : 'skip' extends Keys<T>
15701
+ ? 'orderBy' extends Keys<T>
15702
+ ? ByValid extends True
15703
+ ? {}
15704
+ : {
15705
+ [P in OrderFields]: P extends ByFields
15706
+ ? never
15707
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
15708
+ }[OrderFields]
15709
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
15710
+ : ByValid extends True
15711
+ ? {}
15712
+ : {
15713
+ [P in OrderFields]: P extends ByFields
15714
+ ? never
15715
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
15716
+ }[OrderFields]
15717
+ >(args: SubsetIntersection<T, NodesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNodesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
15718
+ /**
15719
+ * Fields of the Nodes model
15720
+ */
15721
+ readonly fields: NodesFieldRefs;
15722
+ }
15723
+
15724
+ /**
15725
+ * The delegate class that acts as a "Promise-like" for Nodes.
15726
+ * Why is this prefixed with `Prisma__`?
15727
+ * Because we want to prevent naming conflicts as mentioned in
15728
+ * https://github.com/prisma/prisma-client-js/issues/707
15729
+ */
15730
+ export interface Prisma__NodesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
15731
+ readonly [Symbol.toStringTag]: "PrismaPromise"
15732
+ NodesSources<T extends NodesSourcesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, NodesSourcesDefaultArgs<ExtArgs>>): Prisma__NodesSourcesClient<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions> | Null, Null, ExtArgs, ClientOptions>
15733
+ /**
15734
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
15735
+ * @param onfulfilled The callback to execute when the Promise is resolved.
15736
+ * @param onrejected The callback to execute when the Promise is rejected.
15737
+ * @returns A Promise for the completion of which ever callback is executed.
15738
+ */
15739
+ 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>
15740
+ /**
15741
+ * Attaches a callback for only the rejection of the Promise.
15742
+ * @param onrejected The callback to execute when the Promise is rejected.
15743
+ * @returns A Promise for the completion of the callback.
15744
+ */
15745
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
15746
+ /**
15747
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
15748
+ * resolved value cannot be modified from the callback.
15749
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
15750
+ * @returns A Promise for the completion of the callback.
15751
+ */
15752
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
15753
+ }
15754
+
15755
+
15756
+
15757
+
15758
+ /**
15759
+ * Fields of the Nodes model
15760
+ */
15761
+ interface NodesFieldRefs {
15762
+ readonly id: FieldRef<"Nodes", 'String'>
15763
+ readonly chainId: FieldRef<"Nodes", 'Int'>
15764
+ readonly nodeType: FieldRef<"Nodes", 'String'>
15765
+ readonly recipient: FieldRef<"Nodes", 'String'>
15766
+ readonly nodesSourceId: FieldRef<"Nodes", 'String'>
15767
+ readonly creationBlockNumber: FieldRef<"Nodes", 'Int'>
15768
+ readonly metadata: FieldRef<"Nodes", 'Json'>
15769
+ }
15770
+
15771
+
15772
+ // Custom InputTypes
15773
+ /**
15774
+ * Nodes findUnique
15775
+ */
15776
+ export type NodesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15777
+ /**
15778
+ * Select specific fields to fetch from the Nodes
15779
+ */
15780
+ select?: NodesSelect<ExtArgs> | null
15781
+ /**
15782
+ * Omit specific fields from the Nodes
15783
+ */
15784
+ omit?: NodesOmit<ExtArgs> | null
15785
+ /**
15786
+ * Choose, which related nodes to fetch as well
15787
+ */
15788
+ include?: NodesInclude<ExtArgs> | null
15789
+ /**
15790
+ * Filter, which Nodes to fetch.
15791
+ */
15792
+ where: NodesWhereUniqueInput
15793
+ relationLoadStrategy?: RelationLoadStrategy
15794
+ }
15795
+
15796
+ /**
15797
+ * Nodes findUniqueOrThrow
15798
+ */
15799
+ export type NodesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15800
+ /**
15801
+ * Select specific fields to fetch from the Nodes
15802
+ */
15803
+ select?: NodesSelect<ExtArgs> | null
15804
+ /**
15805
+ * Omit specific fields from the Nodes
15806
+ */
15807
+ omit?: NodesOmit<ExtArgs> | null
15808
+ /**
15809
+ * Choose, which related nodes to fetch as well
15810
+ */
15811
+ include?: NodesInclude<ExtArgs> | null
15812
+ /**
15813
+ * Filter, which Nodes to fetch.
15814
+ */
15815
+ where: NodesWhereUniqueInput
15816
+ relationLoadStrategy?: RelationLoadStrategy
15817
+ }
15818
+
15819
+ /**
15820
+ * Nodes findFirst
15821
+ */
15822
+ export type NodesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15823
+ /**
15824
+ * Select specific fields to fetch from the Nodes
15825
+ */
15826
+ select?: NodesSelect<ExtArgs> | null
15827
+ /**
15828
+ * Omit specific fields from the Nodes
15829
+ */
15830
+ omit?: NodesOmit<ExtArgs> | null
15831
+ /**
15832
+ * Choose, which related nodes to fetch as well
15833
+ */
15834
+ include?: NodesInclude<ExtArgs> | null
15835
+ /**
15836
+ * Filter, which Nodes to fetch.
15837
+ */
15838
+ where?: NodesWhereInput
15839
+ /**
15840
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
15841
+ *
15842
+ * Determine the order of Nodes to fetch.
15843
+ */
15844
+ orderBy?: NodesOrderByWithRelationInput | NodesOrderByWithRelationInput[]
15845
+ /**
15846
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
15847
+ *
15848
+ * Sets the position for searching for Nodes.
15849
+ */
15850
+ cursor?: NodesWhereUniqueInput
15851
+ /**
15852
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
15853
+ *
15854
+ * Take `±n` Nodes from the position of the cursor.
15855
+ */
15856
+ take?: number
15857
+ /**
15858
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
15859
+ *
15860
+ * Skip the first `n` Nodes.
15861
+ */
15862
+ skip?: number
15863
+ /**
15864
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
15865
+ *
15866
+ * Filter by unique combinations of Nodes.
15867
+ */
15868
+ distinct?: NodesScalarFieldEnum | NodesScalarFieldEnum[]
15869
+ relationLoadStrategy?: RelationLoadStrategy
15870
+ }
15871
+
15872
+ /**
15873
+ * Nodes findFirstOrThrow
15874
+ */
15875
+ export type NodesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15876
+ /**
15877
+ * Select specific fields to fetch from the Nodes
15878
+ */
15879
+ select?: NodesSelect<ExtArgs> | null
15880
+ /**
15881
+ * Omit specific fields from the Nodes
15882
+ */
15883
+ omit?: NodesOmit<ExtArgs> | null
15884
+ /**
15885
+ * Choose, which related nodes to fetch as well
15886
+ */
15887
+ include?: NodesInclude<ExtArgs> | null
15888
+ /**
15889
+ * Filter, which Nodes to fetch.
15890
+ */
15891
+ where?: NodesWhereInput
15892
+ /**
15893
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
15894
+ *
15895
+ * Determine the order of Nodes to fetch.
15896
+ */
15897
+ orderBy?: NodesOrderByWithRelationInput | NodesOrderByWithRelationInput[]
15898
+ /**
15899
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
15900
+ *
15901
+ * Sets the position for searching for Nodes.
15902
+ */
15903
+ cursor?: NodesWhereUniqueInput
15904
+ /**
15905
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
15906
+ *
15907
+ * Take `±n` Nodes from the position of the cursor.
15908
+ */
15909
+ take?: number
15910
+ /**
15911
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
15912
+ *
15913
+ * Skip the first `n` Nodes.
15914
+ */
15915
+ skip?: number
15916
+ /**
15917
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
15918
+ *
15919
+ * Filter by unique combinations of Nodes.
15920
+ */
15921
+ distinct?: NodesScalarFieldEnum | NodesScalarFieldEnum[]
15922
+ relationLoadStrategy?: RelationLoadStrategy
15923
+ }
15924
+
15925
+ /**
15926
+ * Nodes findMany
15927
+ */
15928
+ export type NodesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15929
+ /**
15930
+ * Select specific fields to fetch from the Nodes
15931
+ */
15932
+ select?: NodesSelect<ExtArgs> | null
15933
+ /**
15934
+ * Omit specific fields from the Nodes
15935
+ */
15936
+ omit?: NodesOmit<ExtArgs> | null
15937
+ /**
15938
+ * Choose, which related nodes to fetch as well
15939
+ */
15940
+ include?: NodesInclude<ExtArgs> | null
15941
+ /**
15942
+ * Filter, which Nodes to fetch.
15943
+ */
15944
+ where?: NodesWhereInput
15945
+ /**
15946
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
15947
+ *
15948
+ * Determine the order of Nodes to fetch.
15949
+ */
15950
+ orderBy?: NodesOrderByWithRelationInput | NodesOrderByWithRelationInput[]
15951
+ /**
15952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
15953
+ *
15954
+ * Sets the position for listing Nodes.
15955
+ */
15956
+ cursor?: NodesWhereUniqueInput
15957
+ /**
15958
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
15959
+ *
15960
+ * Take `±n` Nodes from the position of the cursor.
15961
+ */
15962
+ take?: number
15963
+ /**
15964
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
15965
+ *
15966
+ * Skip the first `n` Nodes.
15967
+ */
15968
+ skip?: number
15969
+ distinct?: NodesScalarFieldEnum | NodesScalarFieldEnum[]
15970
+ relationLoadStrategy?: RelationLoadStrategy
15971
+ }
15972
+
15973
+ /**
15974
+ * Nodes create
15975
+ */
15976
+ export type NodesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
15977
+ /**
15978
+ * Select specific fields to fetch from the Nodes
15979
+ */
15980
+ select?: NodesSelect<ExtArgs> | null
15981
+ /**
15982
+ * Omit specific fields from the Nodes
15983
+ */
15984
+ omit?: NodesOmit<ExtArgs> | null
15985
+ /**
15986
+ * Choose, which related nodes to fetch as well
15987
+ */
15988
+ include?: NodesInclude<ExtArgs> | null
15989
+ /**
15990
+ * The data needed to create a Nodes.
15991
+ */
15992
+ data: XOR<NodesCreateInput, NodesUncheckedCreateInput>
15993
+ relationLoadStrategy?: RelationLoadStrategy
15994
+ }
15995
+
15996
+ /**
15997
+ * Nodes createMany
15998
+ */
15999
+ export type NodesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16000
+ /**
16001
+ * The data used to create many Nodes.
16002
+ */
16003
+ data: NodesCreateManyInput | NodesCreateManyInput[]
16004
+ skipDuplicates?: boolean
16005
+ }
16006
+
16007
+ /**
16008
+ * Nodes createManyAndReturn
16009
+ */
16010
+ export type NodesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16011
+ /**
16012
+ * Select specific fields to fetch from the Nodes
16013
+ */
16014
+ select?: NodesSelectCreateManyAndReturn<ExtArgs> | null
16015
+ /**
16016
+ * Omit specific fields from the Nodes
16017
+ */
16018
+ omit?: NodesOmit<ExtArgs> | null
16019
+ /**
16020
+ * The data used to create many Nodes.
16021
+ */
16022
+ data: NodesCreateManyInput | NodesCreateManyInput[]
16023
+ skipDuplicates?: boolean
16024
+ /**
16025
+ * Choose, which related nodes to fetch as well
16026
+ */
16027
+ include?: NodesIncludeCreateManyAndReturn<ExtArgs> | null
16028
+ }
16029
+
16030
+ /**
16031
+ * Nodes update
16032
+ */
16033
+ export type NodesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16034
+ /**
16035
+ * Select specific fields to fetch from the Nodes
16036
+ */
16037
+ select?: NodesSelect<ExtArgs> | null
16038
+ /**
16039
+ * Omit specific fields from the Nodes
16040
+ */
16041
+ omit?: NodesOmit<ExtArgs> | null
16042
+ /**
16043
+ * Choose, which related nodes to fetch as well
16044
+ */
16045
+ include?: NodesInclude<ExtArgs> | null
16046
+ /**
16047
+ * The data needed to update a Nodes.
16048
+ */
16049
+ data: XOR<NodesUpdateInput, NodesUncheckedUpdateInput>
16050
+ /**
16051
+ * Choose, which Nodes to update.
16052
+ */
16053
+ where: NodesWhereUniqueInput
16054
+ relationLoadStrategy?: RelationLoadStrategy
16055
+ }
16056
+
16057
+ /**
16058
+ * Nodes updateMany
16059
+ */
16060
+ export type NodesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16061
+ /**
16062
+ * The data used to update Nodes.
16063
+ */
16064
+ data: XOR<NodesUpdateManyMutationInput, NodesUncheckedUpdateManyInput>
16065
+ /**
16066
+ * Filter which Nodes to update
16067
+ */
16068
+ where?: NodesWhereInput
16069
+ /**
16070
+ * Limit how many Nodes to update.
16071
+ */
16072
+ limit?: number
16073
+ }
16074
+
16075
+ /**
16076
+ * Nodes updateManyAndReturn
16077
+ */
16078
+ export type NodesUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16079
+ /**
16080
+ * Select specific fields to fetch from the Nodes
16081
+ */
16082
+ select?: NodesSelectUpdateManyAndReturn<ExtArgs> | null
16083
+ /**
16084
+ * Omit specific fields from the Nodes
16085
+ */
16086
+ omit?: NodesOmit<ExtArgs> | null
16087
+ /**
16088
+ * The data used to update Nodes.
16089
+ */
16090
+ data: XOR<NodesUpdateManyMutationInput, NodesUncheckedUpdateManyInput>
16091
+ /**
16092
+ * Filter which Nodes to update
16093
+ */
16094
+ where?: NodesWhereInput
16095
+ /**
16096
+ * Limit how many Nodes to update.
16097
+ */
16098
+ limit?: number
16099
+ /**
16100
+ * Choose, which related nodes to fetch as well
16101
+ */
16102
+ include?: NodesIncludeUpdateManyAndReturn<ExtArgs> | null
16103
+ }
16104
+
16105
+ /**
16106
+ * Nodes upsert
16107
+ */
16108
+ export type NodesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16109
+ /**
16110
+ * Select specific fields to fetch from the Nodes
16111
+ */
16112
+ select?: NodesSelect<ExtArgs> | null
16113
+ /**
16114
+ * Omit specific fields from the Nodes
16115
+ */
16116
+ omit?: NodesOmit<ExtArgs> | null
16117
+ /**
16118
+ * Choose, which related nodes to fetch as well
16119
+ */
16120
+ include?: NodesInclude<ExtArgs> | null
16121
+ /**
16122
+ * The filter to search for the Nodes to update in case it exists.
16123
+ */
16124
+ where: NodesWhereUniqueInput
16125
+ /**
16126
+ * In case the Nodes found by the `where` argument doesn't exist, create a new Nodes with this data.
16127
+ */
16128
+ create: XOR<NodesCreateInput, NodesUncheckedCreateInput>
16129
+ /**
16130
+ * In case the Nodes was found with the provided `where` argument, update it with this data.
16131
+ */
16132
+ update: XOR<NodesUpdateInput, NodesUncheckedUpdateInput>
16133
+ relationLoadStrategy?: RelationLoadStrategy
16134
+ }
16135
+
16136
+ /**
16137
+ * Nodes delete
16138
+ */
16139
+ export type NodesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16140
+ /**
16141
+ * Select specific fields to fetch from the Nodes
16142
+ */
16143
+ select?: NodesSelect<ExtArgs> | null
16144
+ /**
16145
+ * Omit specific fields from the Nodes
16146
+ */
16147
+ omit?: NodesOmit<ExtArgs> | null
16148
+ /**
16149
+ * Choose, which related nodes to fetch as well
16150
+ */
16151
+ include?: NodesInclude<ExtArgs> | null
16152
+ /**
16153
+ * Filter which Nodes to delete.
16154
+ */
16155
+ where: NodesWhereUniqueInput
16156
+ relationLoadStrategy?: RelationLoadStrategy
16157
+ }
16158
+
16159
+ /**
16160
+ * Nodes deleteMany
16161
+ */
16162
+ export type NodesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16163
+ /**
16164
+ * Filter which Nodes to delete
16165
+ */
16166
+ where?: NodesWhereInput
16167
+ /**
16168
+ * Limit how many Nodes to delete.
16169
+ */
16170
+ limit?: number
16171
+ }
16172
+
16173
+ /**
16174
+ * Nodes without action
16175
+ */
16176
+ export type NodesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16177
+ /**
16178
+ * Select specific fields to fetch from the Nodes
16179
+ */
16180
+ select?: NodesSelect<ExtArgs> | null
16181
+ /**
16182
+ * Omit specific fields from the Nodes
16183
+ */
16184
+ omit?: NodesOmit<ExtArgs> | null
16185
+ /**
16186
+ * Choose, which related nodes to fetch as well
16187
+ */
16188
+ include?: NodesInclude<ExtArgs> | null
16189
+ }
16190
+
16191
+
16192
+ /**
16193
+ * Model NodesSources
16194
+ */
16195
+
16196
+ export type AggregateNodesSources = {
16197
+ _count: NodesSourcesCountAggregateOutputType | null
16198
+ _avg: NodesSourcesAvgAggregateOutputType | null
16199
+ _sum: NodesSourcesSumAggregateOutputType | null
16200
+ _min: NodesSourcesMinAggregateOutputType | null
16201
+ _max: NodesSourcesMaxAggregateOutputType | null
16202
+ }
16203
+
16204
+ export type NodesSourcesAvgAggregateOutputType = {
16205
+ lastFetchedBlockNumber: number | null
16206
+ chainId: number | null
16207
+ }
16208
+
16209
+ export type NodesSourcesSumAggregateOutputType = {
16210
+ lastFetchedBlockNumber: number | null
16211
+ chainId: number | null
16212
+ }
16213
+
16214
+ export type NodesSourcesMinAggregateOutputType = {
16215
+ id: string | null
16216
+ lastFetchedBlockNumber: number | null
16217
+ nodeType: string | null
16218
+ chainId: number | null
16219
+ source: string | null
16220
+ }
16221
+
16222
+ export type NodesSourcesMaxAggregateOutputType = {
16223
+ id: string | null
16224
+ lastFetchedBlockNumber: number | null
16225
+ nodeType: string | null
16226
+ chainId: number | null
16227
+ source: string | null
16228
+ }
16229
+
16230
+ export type NodesSourcesCountAggregateOutputType = {
16231
+ id: number
16232
+ lastFetchedBlockNumber: number
16233
+ nodeType: number
16234
+ chainId: number
16235
+ source: number
16236
+ topics: number
16237
+ _all: number
16238
+ }
16239
+
16240
+
16241
+ export type NodesSourcesAvgAggregateInputType = {
16242
+ lastFetchedBlockNumber?: true
16243
+ chainId?: true
16244
+ }
16245
+
16246
+ export type NodesSourcesSumAggregateInputType = {
16247
+ lastFetchedBlockNumber?: true
16248
+ chainId?: true
16249
+ }
16250
+
16251
+ export type NodesSourcesMinAggregateInputType = {
16252
+ id?: true
16253
+ lastFetchedBlockNumber?: true
16254
+ nodeType?: true
16255
+ chainId?: true
16256
+ source?: true
16257
+ }
16258
+
16259
+ export type NodesSourcesMaxAggregateInputType = {
16260
+ id?: true
16261
+ lastFetchedBlockNumber?: true
16262
+ nodeType?: true
16263
+ chainId?: true
16264
+ source?: true
16265
+ }
16266
+
16267
+ export type NodesSourcesCountAggregateInputType = {
16268
+ id?: true
16269
+ lastFetchedBlockNumber?: true
16270
+ nodeType?: true
16271
+ chainId?: true
16272
+ source?: true
16273
+ topics?: true
16274
+ _all?: true
16275
+ }
16276
+
16277
+ export type NodesSourcesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16278
+ /**
16279
+ * Filter which NodesSources to aggregate.
16280
+ */
16281
+ where?: NodesSourcesWhereInput
16282
+ /**
16283
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
16284
+ *
16285
+ * Determine the order of NodesSources to fetch.
16286
+ */
16287
+ orderBy?: NodesSourcesOrderByWithRelationInput | NodesSourcesOrderByWithRelationInput[]
16288
+ /**
16289
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
16290
+ *
16291
+ * Sets the start position
16292
+ */
16293
+ cursor?: NodesSourcesWhereUniqueInput
16294
+ /**
16295
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16296
+ *
16297
+ * Take `±n` NodesSources from the position of the cursor.
16298
+ */
16299
+ take?: number
16300
+ /**
16301
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16302
+ *
16303
+ * Skip the first `n` NodesSources.
16304
+ */
16305
+ skip?: number
16306
+ /**
16307
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16308
+ *
16309
+ * Count returned NodesSources
16310
+ **/
16311
+ _count?: true | NodesSourcesCountAggregateInputType
16312
+ /**
16313
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16314
+ *
16315
+ * Select which fields to average
16316
+ **/
16317
+ _avg?: NodesSourcesAvgAggregateInputType
16318
+ /**
16319
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16320
+ *
16321
+ * Select which fields to sum
16322
+ **/
16323
+ _sum?: NodesSourcesSumAggregateInputType
16324
+ /**
16325
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16326
+ *
16327
+ * Select which fields to find the minimum value
16328
+ **/
16329
+ _min?: NodesSourcesMinAggregateInputType
16330
+ /**
16331
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
16332
+ *
16333
+ * Select which fields to find the maximum value
16334
+ **/
16335
+ _max?: NodesSourcesMaxAggregateInputType
16336
+ }
16337
+
16338
+ export type GetNodesSourcesAggregateType<T extends NodesSourcesAggregateArgs> = {
16339
+ [P in keyof T & keyof AggregateNodesSources]: P extends '_count' | 'count'
16340
+ ? T[P] extends true
16341
+ ? number
16342
+ : GetScalarType<T[P], AggregateNodesSources[P]>
16343
+ : GetScalarType<T[P], AggregateNodesSources[P]>
16344
+ }
16345
+
16346
+
16347
+
16348
+
16349
+ export type NodesSourcesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16350
+ where?: NodesSourcesWhereInput
16351
+ orderBy?: NodesSourcesOrderByWithAggregationInput | NodesSourcesOrderByWithAggregationInput[]
16352
+ by: NodesSourcesScalarFieldEnum[] | NodesSourcesScalarFieldEnum
16353
+ having?: NodesSourcesScalarWhereWithAggregatesInput
16354
+ take?: number
16355
+ skip?: number
16356
+ _count?: NodesSourcesCountAggregateInputType | true
16357
+ _avg?: NodesSourcesAvgAggregateInputType
16358
+ _sum?: NodesSourcesSumAggregateInputType
16359
+ _min?: NodesSourcesMinAggregateInputType
16360
+ _max?: NodesSourcesMaxAggregateInputType
16361
+ }
16362
+
16363
+ export type NodesSourcesGroupByOutputType = {
16364
+ id: string
16365
+ lastFetchedBlockNumber: number
16366
+ nodeType: string
16367
+ chainId: number
16368
+ source: string
16369
+ topics: string[]
16370
+ _count: NodesSourcesCountAggregateOutputType | null
16371
+ _avg: NodesSourcesAvgAggregateOutputType | null
16372
+ _sum: NodesSourcesSumAggregateOutputType | null
16373
+ _min: NodesSourcesMinAggregateOutputType | null
16374
+ _max: NodesSourcesMaxAggregateOutputType | null
16375
+ }
16376
+
16377
+ type GetNodesSourcesGroupByPayload<T extends NodesSourcesGroupByArgs> = Prisma.PrismaPromise<
16378
+ Array<
16379
+ PickEnumerable<NodesSourcesGroupByOutputType, T['by']> &
16380
+ {
16381
+ [P in ((keyof T) & (keyof NodesSourcesGroupByOutputType))]: P extends '_count'
16382
+ ? T[P] extends boolean
16383
+ ? number
16384
+ : GetScalarType<T[P], NodesSourcesGroupByOutputType[P]>
16385
+ : GetScalarType<T[P], NodesSourcesGroupByOutputType[P]>
16386
+ }
16387
+ >
16388
+ >
16389
+
16390
+
16391
+ export type NodesSourcesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16392
+ id?: boolean
16393
+ lastFetchedBlockNumber?: boolean
16394
+ nodeType?: boolean
16395
+ chainId?: boolean
16396
+ source?: boolean
16397
+ topics?: boolean
16398
+ nodes?: boolean | NodesSources$nodesArgs<ExtArgs>
16399
+ _count?: boolean | NodesSourcesCountOutputTypeDefaultArgs<ExtArgs>
16400
+ }, ExtArgs["result"]["nodesSources"]>
16401
+
16402
+ export type NodesSourcesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16403
+ id?: boolean
16404
+ lastFetchedBlockNumber?: boolean
16405
+ nodeType?: boolean
16406
+ chainId?: boolean
16407
+ source?: boolean
16408
+ topics?: boolean
16409
+ }, ExtArgs["result"]["nodesSources"]>
16410
+
16411
+ export type NodesSourcesSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
16412
+ id?: boolean
16413
+ lastFetchedBlockNumber?: boolean
16414
+ nodeType?: boolean
16415
+ chainId?: boolean
16416
+ source?: boolean
16417
+ topics?: boolean
16418
+ }, ExtArgs["result"]["nodesSources"]>
16419
+
16420
+ export type NodesSourcesSelectScalar = {
16421
+ id?: boolean
16422
+ lastFetchedBlockNumber?: boolean
16423
+ nodeType?: boolean
16424
+ chainId?: boolean
16425
+ source?: boolean
16426
+ topics?: boolean
16427
+ }
16428
+
16429
+ export type NodesSourcesOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "lastFetchedBlockNumber" | "nodeType" | "chainId" | "source" | "topics", ExtArgs["result"]["nodesSources"]>
16430
+ export type NodesSourcesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16431
+ nodes?: boolean | NodesSources$nodesArgs<ExtArgs>
16432
+ _count?: boolean | NodesSourcesCountOutputTypeDefaultArgs<ExtArgs>
16433
+ }
16434
+ export type NodesSourcesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
16435
+ export type NodesSourcesIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
16436
+
16437
+ export type $NodesSourcesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16438
+ name: "NodesSources"
16439
+ objects: {
16440
+ nodes: Prisma.$NodesPayload<ExtArgs>[]
16441
+ }
16442
+ scalars: $Extensions.GetPayloadResult<{
16443
+ id: string
16444
+ lastFetchedBlockNumber: number
16445
+ nodeType: string
16446
+ chainId: number
16447
+ source: string
16448
+ topics: string[]
16449
+ }, ExtArgs["result"]["nodesSources"]>
16450
+ composites: {}
16451
+ }
16452
+
16453
+ type NodesSourcesGetPayload<S extends boolean | null | undefined | NodesSourcesDefaultArgs> = $Result.GetResult<Prisma.$NodesSourcesPayload, S>
16454
+
16455
+ type NodesSourcesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
16456
+ Omit<NodesSourcesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
16457
+ select?: NodesSourcesCountAggregateInputType | true
16458
+ }
16459
+
16460
+ export interface NodesSourcesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> {
16461
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['NodesSources'], meta: { name: 'NodesSources' } }
16462
+ /**
16463
+ * Find zero or one NodesSources that matches the filter.
16464
+ * @param {NodesSourcesFindUniqueArgs} args - Arguments to find a NodesSources
16465
+ * @example
16466
+ * // Get one NodesSources
16467
+ * const nodesSources = await prisma.nodesSources.findUnique({
16468
+ * where: {
16469
+ * // ... provide filter here
16470
+ * }
16471
+ * })
16472
+ */
16473
+ findUnique<T extends NodesSourcesFindUniqueArgs>(args: SelectSubset<T, NodesSourcesFindUniqueArgs<ExtArgs>>): Prisma__NodesSourcesClient<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "findUnique", ClientOptions> | null, null, ExtArgs, ClientOptions>
16474
+
16475
+ /**
16476
+ * Find one NodesSources that matches the filter or throw an error with `error.code='P2025'`
16477
+ * if no matches were found.
16478
+ * @param {NodesSourcesFindUniqueOrThrowArgs} args - Arguments to find a NodesSources
16479
+ * @example
16480
+ * // Get one NodesSources
16481
+ * const nodesSources = await prisma.nodesSources.findUniqueOrThrow({
16482
+ * where: {
16483
+ * // ... provide filter here
16484
+ * }
16485
+ * })
16486
+ */
16487
+ findUniqueOrThrow<T extends NodesSourcesFindUniqueOrThrowArgs>(args: SelectSubset<T, NodesSourcesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__NodesSourcesClient<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "findUniqueOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
16488
+
16489
+ /**
16490
+ * Find the first NodesSources that matches the filter.
16491
+ * Note, that providing `undefined` is treated as the value not being there.
16492
+ * Read more here: https://pris.ly/d/null-undefined
16493
+ * @param {NodesSourcesFindFirstArgs} args - Arguments to find a NodesSources
16494
+ * @example
16495
+ * // Get one NodesSources
16496
+ * const nodesSources = await prisma.nodesSources.findFirst({
16497
+ * where: {
16498
+ * // ... provide filter here
16499
+ * }
16500
+ * })
16501
+ */
16502
+ findFirst<T extends NodesSourcesFindFirstArgs>(args?: SelectSubset<T, NodesSourcesFindFirstArgs<ExtArgs>>): Prisma__NodesSourcesClient<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "findFirst", ClientOptions> | null, null, ExtArgs, ClientOptions>
16503
+
16504
+ /**
16505
+ * Find the first NodesSources that matches the filter or
16506
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
16507
+ * Note, that providing `undefined` is treated as the value not being there.
16508
+ * Read more here: https://pris.ly/d/null-undefined
16509
+ * @param {NodesSourcesFindFirstOrThrowArgs} args - Arguments to find a NodesSources
16510
+ * @example
16511
+ * // Get one NodesSources
16512
+ * const nodesSources = await prisma.nodesSources.findFirstOrThrow({
16513
+ * where: {
16514
+ * // ... provide filter here
16515
+ * }
16516
+ * })
16517
+ */
16518
+ findFirstOrThrow<T extends NodesSourcesFindFirstOrThrowArgs>(args?: SelectSubset<T, NodesSourcesFindFirstOrThrowArgs<ExtArgs>>): Prisma__NodesSourcesClient<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "findFirstOrThrow", ClientOptions>, never, ExtArgs, ClientOptions>
16519
+
16520
+ /**
16521
+ * Find zero or more NodesSources that matches the filter.
16522
+ * Note, that providing `undefined` is treated as the value not being there.
16523
+ * Read more here: https://pris.ly/d/null-undefined
16524
+ * @param {NodesSourcesFindManyArgs} args - Arguments to filter and select certain fields only.
16525
+ * @example
16526
+ * // Get all NodesSources
16527
+ * const nodesSources = await prisma.nodesSources.findMany()
16528
+ *
16529
+ * // Get first 10 NodesSources
16530
+ * const nodesSources = await prisma.nodesSources.findMany({ take: 10 })
16531
+ *
16532
+ * // Only select the `id`
16533
+ * const nodesSourcesWithIdOnly = await prisma.nodesSources.findMany({ select: { id: true } })
16534
+ *
16535
+ */
16536
+ findMany<T extends NodesSourcesFindManyArgs>(args?: SelectSubset<T, NodesSourcesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "findMany", ClientOptions>>
16537
+
16538
+ /**
16539
+ * Create a NodesSources.
16540
+ * @param {NodesSourcesCreateArgs} args - Arguments to create a NodesSources.
16541
+ * @example
16542
+ * // Create one NodesSources
16543
+ * const NodesSources = await prisma.nodesSources.create({
16544
+ * data: {
16545
+ * // ... data to create a NodesSources
16546
+ * }
16547
+ * })
16548
+ *
16549
+ */
16550
+ create<T extends NodesSourcesCreateArgs>(args: SelectSubset<T, NodesSourcesCreateArgs<ExtArgs>>): Prisma__NodesSourcesClient<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "create", ClientOptions>, never, ExtArgs, ClientOptions>
16551
+
16552
+ /**
16553
+ * Create many NodesSources.
16554
+ * @param {NodesSourcesCreateManyArgs} args - Arguments to create many NodesSources.
16555
+ * @example
16556
+ * // Create many NodesSources
16557
+ * const nodesSources = await prisma.nodesSources.createMany({
16558
+ * data: [
16559
+ * // ... provide data here
16560
+ * ]
16561
+ * })
16562
+ *
16563
+ */
16564
+ createMany<T extends NodesSourcesCreateManyArgs>(args?: SelectSubset<T, NodesSourcesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
16565
+
16566
+ /**
16567
+ * Create many NodesSources and returns the data saved in the database.
16568
+ * @param {NodesSourcesCreateManyAndReturnArgs} args - Arguments to create many NodesSources.
16569
+ * @example
16570
+ * // Create many NodesSources
16571
+ * const nodesSources = await prisma.nodesSources.createManyAndReturn({
16572
+ * data: [
16573
+ * // ... provide data here
16574
+ * ]
16575
+ * })
16576
+ *
16577
+ * // Create many NodesSources and only return the `id`
16578
+ * const nodesSourcesWithIdOnly = await prisma.nodesSources.createManyAndReturn({
16579
+ * select: { id: true },
16580
+ * data: [
16581
+ * // ... provide data here
16582
+ * ]
16583
+ * })
16584
+ * Note, that providing `undefined` is treated as the value not being there.
16585
+ * Read more here: https://pris.ly/d/null-undefined
16586
+ *
16587
+ */
16588
+ createManyAndReturn<T extends NodesSourcesCreateManyAndReturnArgs>(args?: SelectSubset<T, NodesSourcesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "createManyAndReturn", ClientOptions>>
16589
+
16590
+ /**
16591
+ * Delete a NodesSources.
16592
+ * @param {NodesSourcesDeleteArgs} args - Arguments to delete one NodesSources.
16593
+ * @example
16594
+ * // Delete one NodesSources
16595
+ * const NodesSources = await prisma.nodesSources.delete({
16596
+ * where: {
16597
+ * // ... filter to delete one NodesSources
16598
+ * }
16599
+ * })
16600
+ *
16601
+ */
16602
+ delete<T extends NodesSourcesDeleteArgs>(args: SelectSubset<T, NodesSourcesDeleteArgs<ExtArgs>>): Prisma__NodesSourcesClient<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "delete", ClientOptions>, never, ExtArgs, ClientOptions>
16603
+
16604
+ /**
16605
+ * Update one NodesSources.
16606
+ * @param {NodesSourcesUpdateArgs} args - Arguments to update one NodesSources.
16607
+ * @example
16608
+ * // Update one NodesSources
16609
+ * const nodesSources = await prisma.nodesSources.update({
16610
+ * where: {
16611
+ * // ... provide filter here
16612
+ * },
16613
+ * data: {
16614
+ * // ... provide data here
16615
+ * }
16616
+ * })
16617
+ *
16618
+ */
16619
+ update<T extends NodesSourcesUpdateArgs>(args: SelectSubset<T, NodesSourcesUpdateArgs<ExtArgs>>): Prisma__NodesSourcesClient<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "update", ClientOptions>, never, ExtArgs, ClientOptions>
16620
+
16621
+ /**
16622
+ * Delete zero or more NodesSources.
16623
+ * @param {NodesSourcesDeleteManyArgs} args - Arguments to filter NodesSources to delete.
16624
+ * @example
16625
+ * // Delete a few NodesSources
16626
+ * const { count } = await prisma.nodesSources.deleteMany({
16627
+ * where: {
16628
+ * // ... provide filter here
16629
+ * }
16630
+ * })
16631
+ *
16632
+ */
16633
+ deleteMany<T extends NodesSourcesDeleteManyArgs>(args?: SelectSubset<T, NodesSourcesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
16634
+
16635
+ /**
16636
+ * Update zero or more NodesSources.
16637
+ * Note, that providing `undefined` is treated as the value not being there.
16638
+ * Read more here: https://pris.ly/d/null-undefined
16639
+ * @param {NodesSourcesUpdateManyArgs} args - Arguments to update one or more rows.
16640
+ * @example
16641
+ * // Update many NodesSources
16642
+ * const nodesSources = await prisma.nodesSources.updateMany({
16643
+ * where: {
16644
+ * // ... provide filter here
16645
+ * },
16646
+ * data: {
16647
+ * // ... provide data here
16648
+ * }
16649
+ * })
16650
+ *
16651
+ */
16652
+ updateMany<T extends NodesSourcesUpdateManyArgs>(args: SelectSubset<T, NodesSourcesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
16653
+
16654
+ /**
16655
+ * Update zero or more NodesSources and returns the data updated in the database.
16656
+ * @param {NodesSourcesUpdateManyAndReturnArgs} args - Arguments to update many NodesSources.
16657
+ * @example
16658
+ * // Update many NodesSources
16659
+ * const nodesSources = await prisma.nodesSources.updateManyAndReturn({
16660
+ * where: {
16661
+ * // ... provide filter here
16662
+ * },
16663
+ * data: [
16664
+ * // ... provide data here
16665
+ * ]
16666
+ * })
16667
+ *
16668
+ * // Update zero or more NodesSources and only return the `id`
16669
+ * const nodesSourcesWithIdOnly = await prisma.nodesSources.updateManyAndReturn({
16670
+ * select: { id: true },
16671
+ * where: {
16672
+ * // ... provide filter here
16673
+ * },
16674
+ * data: [
16675
+ * // ... provide data here
16676
+ * ]
16677
+ * })
16678
+ * Note, that providing `undefined` is treated as the value not being there.
16679
+ * Read more here: https://pris.ly/d/null-undefined
16680
+ *
16681
+ */
16682
+ updateManyAndReturn<T extends NodesSourcesUpdateManyAndReturnArgs>(args: SelectSubset<T, NodesSourcesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "updateManyAndReturn", ClientOptions>>
16683
+
16684
+ /**
16685
+ * Create or update one NodesSources.
16686
+ * @param {NodesSourcesUpsertArgs} args - Arguments to update or create a NodesSources.
16687
+ * @example
16688
+ * // Update or create a NodesSources
16689
+ * const nodesSources = await prisma.nodesSources.upsert({
16690
+ * create: {
16691
+ * // ... data to create a NodesSources
16692
+ * },
16693
+ * update: {
16694
+ * // ... in case it already exists, update
16695
+ * },
16696
+ * where: {
16697
+ * // ... the filter for the NodesSources we want to update
16698
+ * }
16699
+ * })
16700
+ */
16701
+ upsert<T extends NodesSourcesUpsertArgs>(args: SelectSubset<T, NodesSourcesUpsertArgs<ExtArgs>>): Prisma__NodesSourcesClient<$Result.GetResult<Prisma.$NodesSourcesPayload<ExtArgs>, T, "upsert", ClientOptions>, never, ExtArgs, ClientOptions>
16702
+
16703
+
16704
+ /**
16705
+ * Count the number of NodesSources.
16706
+ * Note, that providing `undefined` is treated as the value not being there.
16707
+ * Read more here: https://pris.ly/d/null-undefined
16708
+ * @param {NodesSourcesCountArgs} args - Arguments to filter NodesSources to count.
16709
+ * @example
16710
+ * // Count the number of NodesSources
16711
+ * const count = await prisma.nodesSources.count({
16712
+ * where: {
16713
+ * // ... the filter for the NodesSources we want to count
16714
+ * }
16715
+ * })
16716
+ **/
16717
+ count<T extends NodesSourcesCountArgs>(
16718
+ args?: Subset<T, NodesSourcesCountArgs>,
16719
+ ): Prisma.PrismaPromise<
16720
+ T extends $Utils.Record<'select', any>
16721
+ ? T['select'] extends true
16722
+ ? number
16723
+ : GetScalarType<T['select'], NodesSourcesCountAggregateOutputType>
16724
+ : number
16725
+ >
16726
+
16727
+ /**
16728
+ * Allows you to perform aggregations operations on a NodesSources.
16729
+ * Note, that providing `undefined` is treated as the value not being there.
16730
+ * Read more here: https://pris.ly/d/null-undefined
16731
+ * @param {NodesSourcesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
16732
+ * @example
16733
+ * // Ordered by age ascending
16734
+ * // Where email contains prisma.io
16735
+ * // Limited to the 10 users
16736
+ * const aggregations = await prisma.user.aggregate({
16737
+ * _avg: {
16738
+ * age: true,
16739
+ * },
16740
+ * where: {
16741
+ * email: {
16742
+ * contains: "prisma.io",
16743
+ * },
16744
+ * },
16745
+ * orderBy: {
16746
+ * age: "asc",
16747
+ * },
16748
+ * take: 10,
16749
+ * })
16750
+ **/
16751
+ aggregate<T extends NodesSourcesAggregateArgs>(args: Subset<T, NodesSourcesAggregateArgs>): Prisma.PrismaPromise<GetNodesSourcesAggregateType<T>>
16752
+
16753
+ /**
16754
+ * Group by NodesSources.
16755
+ * Note, that providing `undefined` is treated as the value not being there.
16756
+ * Read more here: https://pris.ly/d/null-undefined
16757
+ * @param {NodesSourcesGroupByArgs} args - Group by arguments.
16758
+ * @example
16759
+ * // Group by city, order by createdAt, get count
16760
+ * const result = await prisma.user.groupBy({
16761
+ * by: ['city', 'createdAt'],
16762
+ * orderBy: {
16763
+ * createdAt: true
16764
+ * },
16765
+ * _count: {
16766
+ * _all: true
16767
+ * },
16768
+ * })
16769
+ *
16770
+ **/
16771
+ groupBy<
16772
+ T extends NodesSourcesGroupByArgs,
16773
+ HasSelectOrTake extends Or<
16774
+ Extends<'skip', Keys<T>>,
16775
+ Extends<'take', Keys<T>>
16776
+ >,
16777
+ OrderByArg extends True extends HasSelectOrTake
16778
+ ? { orderBy: NodesSourcesGroupByArgs['orderBy'] }
16779
+ : { orderBy?: NodesSourcesGroupByArgs['orderBy'] },
16780
+ OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
16781
+ ByFields extends MaybeTupleToUnion<T['by']>,
16782
+ ByValid extends Has<ByFields, OrderFields>,
16783
+ HavingFields extends GetHavingFields<T['having']>,
16784
+ HavingValid extends Has<ByFields, HavingFields>,
16785
+ ByEmpty extends T['by'] extends never[] ? True : False,
16786
+ InputErrors extends ByEmpty extends True
16787
+ ? `Error: "by" must not be empty.`
16788
+ : HavingValid extends False
16789
+ ? {
16790
+ [P in HavingFields]: P extends ByFields
16791
+ ? never
16792
+ : P extends string
16793
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
16794
+ : [
16795
+ Error,
16796
+ 'Field ',
16797
+ P,
16798
+ ` in "having" needs to be provided in "by"`,
16799
+ ]
16800
+ }[HavingFields]
16801
+ : 'take' extends Keys<T>
16802
+ ? 'orderBy' extends Keys<T>
16803
+ ? ByValid extends True
16804
+ ? {}
16805
+ : {
16806
+ [P in OrderFields]: P extends ByFields
16807
+ ? never
16808
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
16809
+ }[OrderFields]
16810
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
16811
+ : 'skip' extends Keys<T>
16812
+ ? 'orderBy' extends Keys<T>
16813
+ ? ByValid extends True
16814
+ ? {}
16815
+ : {
16816
+ [P in OrderFields]: P extends ByFields
16817
+ ? never
16818
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
16819
+ }[OrderFields]
16820
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
16821
+ : ByValid extends True
16822
+ ? {}
16823
+ : {
16824
+ [P in OrderFields]: P extends ByFields
16825
+ ? never
16826
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
16827
+ }[OrderFields]
16828
+ >(args: SubsetIntersection<T, NodesSourcesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNodesSourcesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
16829
+ /**
16830
+ * Fields of the NodesSources model
16831
+ */
16832
+ readonly fields: NodesSourcesFieldRefs;
16833
+ }
16834
+
16835
+ /**
16836
+ * The delegate class that acts as a "Promise-like" for NodesSources.
16837
+ * Why is this prefixed with `Prisma__`?
16838
+ * Because we want to prevent naming conflicts as mentioned in
16839
+ * https://github.com/prisma/prisma-client-js/issues/707
16840
+ */
16841
+ export interface Prisma__NodesSourcesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, ClientOptions = {}> extends Prisma.PrismaPromise<T> {
16842
+ readonly [Symbol.toStringTag]: "PrismaPromise"
16843
+ nodes<T extends NodesSources$nodesArgs<ExtArgs> = {}>(args?: Subset<T, NodesSources$nodesArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$NodesPayload<ExtArgs>, T, "findMany", ClientOptions> | Null>
16844
+ /**
16845
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
16846
+ * @param onfulfilled The callback to execute when the Promise is resolved.
16847
+ * @param onrejected The callback to execute when the Promise is rejected.
16848
+ * @returns A Promise for the completion of which ever callback is executed.
16849
+ */
16850
+ 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>
16851
+ /**
16852
+ * Attaches a callback for only the rejection of the Promise.
16853
+ * @param onrejected The callback to execute when the Promise is rejected.
16854
+ * @returns A Promise for the completion of the callback.
16855
+ */
16856
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
16857
+ /**
16858
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
16859
+ * resolved value cannot be modified from the callback.
16860
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
16861
+ * @returns A Promise for the completion of the callback.
16862
+ */
16863
+ finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
16864
+ }
16865
+
16866
+
16867
+
16868
+
16869
+ /**
16870
+ * Fields of the NodesSources model
16871
+ */
16872
+ interface NodesSourcesFieldRefs {
16873
+ readonly id: FieldRef<"NodesSources", 'String'>
16874
+ readonly lastFetchedBlockNumber: FieldRef<"NodesSources", 'Int'>
16875
+ readonly nodeType: FieldRef<"NodesSources", 'String'>
16876
+ readonly chainId: FieldRef<"NodesSources", 'Int'>
16877
+ readonly source: FieldRef<"NodesSources", 'String'>
16878
+ readonly topics: FieldRef<"NodesSources", 'String[]'>
16879
+ }
16880
+
16881
+
16882
+ // Custom InputTypes
16883
+ /**
16884
+ * NodesSources findUnique
16885
+ */
16886
+ export type NodesSourcesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16887
+ /**
16888
+ * Select specific fields to fetch from the NodesSources
16889
+ */
16890
+ select?: NodesSourcesSelect<ExtArgs> | null
16891
+ /**
16892
+ * Omit specific fields from the NodesSources
16893
+ */
16894
+ omit?: NodesSourcesOmit<ExtArgs> | null
16895
+ /**
16896
+ * Choose, which related nodes to fetch as well
16897
+ */
16898
+ include?: NodesSourcesInclude<ExtArgs> | null
16899
+ /**
16900
+ * Filter, which NodesSources to fetch.
16901
+ */
16902
+ where: NodesSourcesWhereUniqueInput
16903
+ relationLoadStrategy?: RelationLoadStrategy
16904
+ }
16905
+
16906
+ /**
16907
+ * NodesSources findUniqueOrThrow
16908
+ */
16909
+ export type NodesSourcesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16910
+ /**
16911
+ * Select specific fields to fetch from the NodesSources
16912
+ */
16913
+ select?: NodesSourcesSelect<ExtArgs> | null
16914
+ /**
16915
+ * Omit specific fields from the NodesSources
16916
+ */
16917
+ omit?: NodesSourcesOmit<ExtArgs> | null
16918
+ /**
16919
+ * Choose, which related nodes to fetch as well
16920
+ */
16921
+ include?: NodesSourcesInclude<ExtArgs> | null
16922
+ /**
16923
+ * Filter, which NodesSources to fetch.
16924
+ */
16925
+ where: NodesSourcesWhereUniqueInput
16926
+ relationLoadStrategy?: RelationLoadStrategy
16927
+ }
16928
+
16929
+ /**
16930
+ * NodesSources findFirst
16931
+ */
16932
+ export type NodesSourcesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16933
+ /**
16934
+ * Select specific fields to fetch from the NodesSources
16935
+ */
16936
+ select?: NodesSourcesSelect<ExtArgs> | null
16937
+ /**
16938
+ * Omit specific fields from the NodesSources
16939
+ */
16940
+ omit?: NodesSourcesOmit<ExtArgs> | null
16941
+ /**
16942
+ * Choose, which related nodes to fetch as well
16943
+ */
16944
+ include?: NodesSourcesInclude<ExtArgs> | null
16945
+ /**
16946
+ * Filter, which NodesSources to fetch.
16947
+ */
16948
+ where?: NodesSourcesWhereInput
16949
+ /**
16950
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
16951
+ *
16952
+ * Determine the order of NodesSources to fetch.
16953
+ */
16954
+ orderBy?: NodesSourcesOrderByWithRelationInput | NodesSourcesOrderByWithRelationInput[]
16955
+ /**
16956
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
16957
+ *
16958
+ * Sets the position for searching for NodesSources.
16959
+ */
16960
+ cursor?: NodesSourcesWhereUniqueInput
16961
+ /**
16962
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16963
+ *
16964
+ * Take `±n` NodesSources from the position of the cursor.
16965
+ */
16966
+ take?: number
16967
+ /**
16968
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
16969
+ *
16970
+ * Skip the first `n` NodesSources.
16971
+ */
16972
+ skip?: number
16973
+ /**
16974
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
16975
+ *
16976
+ * Filter by unique combinations of NodesSources.
16977
+ */
16978
+ distinct?: NodesSourcesScalarFieldEnum | NodesSourcesScalarFieldEnum[]
16979
+ relationLoadStrategy?: RelationLoadStrategy
16980
+ }
16981
+
16982
+ /**
16983
+ * NodesSources findFirstOrThrow
16984
+ */
16985
+ export type NodesSourcesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
16986
+ /**
16987
+ * Select specific fields to fetch from the NodesSources
16988
+ */
16989
+ select?: NodesSourcesSelect<ExtArgs> | null
16990
+ /**
16991
+ * Omit specific fields from the NodesSources
16992
+ */
16993
+ omit?: NodesSourcesOmit<ExtArgs> | null
16994
+ /**
16995
+ * Choose, which related nodes to fetch as well
16996
+ */
16997
+ include?: NodesSourcesInclude<ExtArgs> | null
16998
+ /**
16999
+ * Filter, which NodesSources to fetch.
17000
+ */
17001
+ where?: NodesSourcesWhereInput
17002
+ /**
17003
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17004
+ *
17005
+ * Determine the order of NodesSources to fetch.
17006
+ */
17007
+ orderBy?: NodesSourcesOrderByWithRelationInput | NodesSourcesOrderByWithRelationInput[]
17008
+ /**
17009
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17010
+ *
17011
+ * Sets the position for searching for NodesSources.
17012
+ */
17013
+ cursor?: NodesSourcesWhereUniqueInput
17014
+ /**
17015
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17016
+ *
17017
+ * Take `±n` NodesSources from the position of the cursor.
17018
+ */
17019
+ take?: number
17020
+ /**
17021
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17022
+ *
17023
+ * Skip the first `n` NodesSources.
17024
+ */
17025
+ skip?: number
17026
+ /**
17027
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
17028
+ *
17029
+ * Filter by unique combinations of NodesSources.
17030
+ */
17031
+ distinct?: NodesSourcesScalarFieldEnum | NodesSourcesScalarFieldEnum[]
17032
+ relationLoadStrategy?: RelationLoadStrategy
17033
+ }
17034
+
17035
+ /**
17036
+ * NodesSources findMany
17037
+ */
17038
+ export type NodesSourcesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17039
+ /**
17040
+ * Select specific fields to fetch from the NodesSources
17041
+ */
17042
+ select?: NodesSourcesSelect<ExtArgs> | null
17043
+ /**
17044
+ * Omit specific fields from the NodesSources
17045
+ */
17046
+ omit?: NodesSourcesOmit<ExtArgs> | null
17047
+ /**
17048
+ * Choose, which related nodes to fetch as well
17049
+ */
17050
+ include?: NodesSourcesInclude<ExtArgs> | null
17051
+ /**
17052
+ * Filter, which NodesSources to fetch.
17053
+ */
17054
+ where?: NodesSourcesWhereInput
17055
+ /**
17056
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17057
+ *
17058
+ * Determine the order of NodesSources to fetch.
17059
+ */
17060
+ orderBy?: NodesSourcesOrderByWithRelationInput | NodesSourcesOrderByWithRelationInput[]
17061
+ /**
17062
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17063
+ *
17064
+ * Sets the position for listing NodesSources.
17065
+ */
17066
+ cursor?: NodesSourcesWhereUniqueInput
17067
+ /**
17068
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17069
+ *
17070
+ * Take `±n` NodesSources from the position of the cursor.
17071
+ */
17072
+ take?: number
17073
+ /**
17074
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17075
+ *
17076
+ * Skip the first `n` NodesSources.
17077
+ */
17078
+ skip?: number
17079
+ distinct?: NodesSourcesScalarFieldEnum | NodesSourcesScalarFieldEnum[]
17080
+ relationLoadStrategy?: RelationLoadStrategy
17081
+ }
17082
+
17083
+ /**
17084
+ * NodesSources create
17085
+ */
17086
+ export type NodesSourcesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17087
+ /**
17088
+ * Select specific fields to fetch from the NodesSources
17089
+ */
17090
+ select?: NodesSourcesSelect<ExtArgs> | null
17091
+ /**
17092
+ * Omit specific fields from the NodesSources
17093
+ */
17094
+ omit?: NodesSourcesOmit<ExtArgs> | null
17095
+ /**
17096
+ * Choose, which related nodes to fetch as well
17097
+ */
17098
+ include?: NodesSourcesInclude<ExtArgs> | null
17099
+ /**
17100
+ * The data needed to create a NodesSources.
17101
+ */
17102
+ data: XOR<NodesSourcesCreateInput, NodesSourcesUncheckedCreateInput>
17103
+ relationLoadStrategy?: RelationLoadStrategy
17104
+ }
17105
+
17106
+ /**
17107
+ * NodesSources createMany
17108
+ */
17109
+ export type NodesSourcesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17110
+ /**
17111
+ * The data used to create many NodesSources.
17112
+ */
17113
+ data: NodesSourcesCreateManyInput | NodesSourcesCreateManyInput[]
17114
+ skipDuplicates?: boolean
17115
+ }
17116
+
17117
+ /**
17118
+ * NodesSources createManyAndReturn
17119
+ */
17120
+ export type NodesSourcesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17121
+ /**
17122
+ * Select specific fields to fetch from the NodesSources
17123
+ */
17124
+ select?: NodesSourcesSelectCreateManyAndReturn<ExtArgs> | null
17125
+ /**
17126
+ * Omit specific fields from the NodesSources
17127
+ */
17128
+ omit?: NodesSourcesOmit<ExtArgs> | null
17129
+ /**
17130
+ * The data used to create many NodesSources.
17131
+ */
17132
+ data: NodesSourcesCreateManyInput | NodesSourcesCreateManyInput[]
17133
+ skipDuplicates?: boolean
17134
+ }
17135
+
17136
+ /**
17137
+ * NodesSources update
17138
+ */
17139
+ export type NodesSourcesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17140
+ /**
17141
+ * Select specific fields to fetch from the NodesSources
17142
+ */
17143
+ select?: NodesSourcesSelect<ExtArgs> | null
17144
+ /**
17145
+ * Omit specific fields from the NodesSources
17146
+ */
17147
+ omit?: NodesSourcesOmit<ExtArgs> | null
17148
+ /**
17149
+ * Choose, which related nodes to fetch as well
17150
+ */
17151
+ include?: NodesSourcesInclude<ExtArgs> | null
17152
+ /**
17153
+ * The data needed to update a NodesSources.
17154
+ */
17155
+ data: XOR<NodesSourcesUpdateInput, NodesSourcesUncheckedUpdateInput>
17156
+ /**
17157
+ * Choose, which NodesSources to update.
17158
+ */
17159
+ where: NodesSourcesWhereUniqueInput
17160
+ relationLoadStrategy?: RelationLoadStrategy
17161
+ }
17162
+
17163
+ /**
17164
+ * NodesSources updateMany
17165
+ */
17166
+ export type NodesSourcesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17167
+ /**
17168
+ * The data used to update NodesSources.
17169
+ */
17170
+ data: XOR<NodesSourcesUpdateManyMutationInput, NodesSourcesUncheckedUpdateManyInput>
17171
+ /**
17172
+ * Filter which NodesSources to update
17173
+ */
17174
+ where?: NodesSourcesWhereInput
17175
+ /**
17176
+ * Limit how many NodesSources to update.
17177
+ */
17178
+ limit?: number
17179
+ }
17180
+
17181
+ /**
17182
+ * NodesSources updateManyAndReturn
17183
+ */
17184
+ export type NodesSourcesUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17185
+ /**
17186
+ * Select specific fields to fetch from the NodesSources
17187
+ */
17188
+ select?: NodesSourcesSelectUpdateManyAndReturn<ExtArgs> | null
17189
+ /**
17190
+ * Omit specific fields from the NodesSources
17191
+ */
17192
+ omit?: NodesSourcesOmit<ExtArgs> | null
17193
+ /**
17194
+ * The data used to update NodesSources.
17195
+ */
17196
+ data: XOR<NodesSourcesUpdateManyMutationInput, NodesSourcesUncheckedUpdateManyInput>
17197
+ /**
17198
+ * Filter which NodesSources to update
17199
+ */
17200
+ where?: NodesSourcesWhereInput
17201
+ /**
17202
+ * Limit how many NodesSources to update.
17203
+ */
17204
+ limit?: number
17205
+ }
17206
+
17207
+ /**
17208
+ * NodesSources upsert
17209
+ */
17210
+ export type NodesSourcesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17211
+ /**
17212
+ * Select specific fields to fetch from the NodesSources
17213
+ */
17214
+ select?: NodesSourcesSelect<ExtArgs> | null
17215
+ /**
17216
+ * Omit specific fields from the NodesSources
17217
+ */
17218
+ omit?: NodesSourcesOmit<ExtArgs> | null
17219
+ /**
17220
+ * Choose, which related nodes to fetch as well
17221
+ */
17222
+ include?: NodesSourcesInclude<ExtArgs> | null
17223
+ /**
17224
+ * The filter to search for the NodesSources to update in case it exists.
17225
+ */
17226
+ where: NodesSourcesWhereUniqueInput
17227
+ /**
17228
+ * In case the NodesSources found by the `where` argument doesn't exist, create a new NodesSources with this data.
17229
+ */
17230
+ create: XOR<NodesSourcesCreateInput, NodesSourcesUncheckedCreateInput>
17231
+ /**
17232
+ * In case the NodesSources was found with the provided `where` argument, update it with this data.
17233
+ */
17234
+ update: XOR<NodesSourcesUpdateInput, NodesSourcesUncheckedUpdateInput>
17235
+ relationLoadStrategy?: RelationLoadStrategy
17236
+ }
17237
+
17238
+ /**
17239
+ * NodesSources delete
17240
+ */
17241
+ export type NodesSourcesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17242
+ /**
17243
+ * Select specific fields to fetch from the NodesSources
17244
+ */
17245
+ select?: NodesSourcesSelect<ExtArgs> | null
17246
+ /**
17247
+ * Omit specific fields from the NodesSources
17248
+ */
17249
+ omit?: NodesSourcesOmit<ExtArgs> | null
17250
+ /**
17251
+ * Choose, which related nodes to fetch as well
17252
+ */
17253
+ include?: NodesSourcesInclude<ExtArgs> | null
17254
+ /**
17255
+ * Filter which NodesSources to delete.
17256
+ */
17257
+ where: NodesSourcesWhereUniqueInput
17258
+ relationLoadStrategy?: RelationLoadStrategy
17259
+ }
17260
+
17261
+ /**
17262
+ * NodesSources deleteMany
17263
+ */
17264
+ export type NodesSourcesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17265
+ /**
17266
+ * Filter which NodesSources to delete
17267
+ */
17268
+ where?: NodesSourcesWhereInput
17269
+ /**
17270
+ * Limit how many NodesSources to delete.
17271
+ */
17272
+ limit?: number
17273
+ }
17274
+
17275
+ /**
17276
+ * NodesSources.nodes
17277
+ */
17278
+ export type NodesSources$nodesArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17279
+ /**
17280
+ * Select specific fields to fetch from the Nodes
17281
+ */
17282
+ select?: NodesSelect<ExtArgs> | null
17283
+ /**
17284
+ * Omit specific fields from the Nodes
17285
+ */
17286
+ omit?: NodesOmit<ExtArgs> | null
17287
+ /**
17288
+ * Choose, which related nodes to fetch as well
17289
+ */
17290
+ include?: NodesInclude<ExtArgs> | null
17291
+ where?: NodesWhereInput
17292
+ orderBy?: NodesOrderByWithRelationInput | NodesOrderByWithRelationInput[]
17293
+ cursor?: NodesWhereUniqueInput
17294
+ take?: number
17295
+ skip?: number
17296
+ distinct?: NodesScalarFieldEnum | NodesScalarFieldEnum[]
17297
+ }
17298
+
17299
+ /**
17300
+ * NodesSources without action
17301
+ */
17302
+ export type NodesSourcesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17303
+ /**
17304
+ * Select specific fields to fetch from the NodesSources
17305
+ */
17306
+ select?: NodesSourcesSelect<ExtArgs> | null
17307
+ /**
17308
+ * Omit specific fields from the NodesSources
17309
+ */
17310
+ omit?: NodesSourcesOmit<ExtArgs> | null
17311
+ /**
17312
+ * Choose, which related nodes to fetch as well
17313
+ */
17314
+ include?: NodesSourcesInclude<ExtArgs> | null
17315
+ }
17316
+
17317
+
17318
+ /**
17319
+ * Model CampaignCreators
17320
+ */
17321
+
17322
+ export type AggregateCampaignCreators = {
17323
+ _count: CampaignCreatorsCountAggregateOutputType | null
17324
+ _min: CampaignCreatorsMinAggregateOutputType | null
17325
+ _max: CampaignCreatorsMaxAggregateOutputType | null
17326
+ }
17327
+
17328
+ export type CampaignCreatorsMinAggregateOutputType = {
17329
+ address: string | null
17330
+ tags: string | null
17331
+ }
17332
+
17333
+ export type CampaignCreatorsMaxAggregateOutputType = {
17334
+ address: string | null
17335
+ tags: string | null
17336
+ }
17337
+
17338
+ export type CampaignCreatorsCountAggregateOutputType = {
17339
+ address: number
17340
+ tags: number
17341
+ _all: number
17342
+ }
17343
+
17344
+
17345
+ export type CampaignCreatorsMinAggregateInputType = {
17346
+ address?: true
17347
+ tags?: true
17348
+ }
17349
+
17350
+ export type CampaignCreatorsMaxAggregateInputType = {
17351
+ address?: true
17352
+ tags?: true
17353
+ }
17354
+
17355
+ export type CampaignCreatorsCountAggregateInputType = {
17356
+ address?: true
17357
+ tags?: true
17358
+ _all?: true
17359
+ }
17360
+
17361
+ export type CampaignCreatorsAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17362
+ /**
17363
+ * Filter which CampaignCreators to aggregate.
17364
+ */
17365
+ where?: CampaignCreatorsWhereInput
17366
+ /**
17367
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
17368
+ *
17369
+ * Determine the order of CampaignCreators to fetch.
17370
+ */
17371
+ orderBy?: CampaignCreatorsOrderByWithRelationInput | CampaignCreatorsOrderByWithRelationInput[]
17372
+ /**
17373
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
17374
+ *
17375
+ * Sets the start position
17376
+ */
17377
+ cursor?: CampaignCreatorsWhereUniqueInput
17378
+ /**
17379
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17380
+ *
17381
+ * Take `±n` CampaignCreators from the position of the cursor.
17382
+ */
17383
+ take?: number
17384
+ /**
17385
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
17386
+ *
17387
+ * Skip the first `n` CampaignCreators.
17388
+ */
17389
+ skip?: number
17390
+ /**
17391
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
17392
+ *
17393
+ * Count returned CampaignCreators
17394
+ **/
17395
+ _count?: true | CampaignCreatorsCountAggregateInputType
17396
+ /**
17397
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
17398
+ *
17399
+ * Select which fields to find the minimum value
17400
+ **/
17401
+ _min?: CampaignCreatorsMinAggregateInputType
17402
+ /**
17403
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
17404
+ *
17405
+ * Select which fields to find the maximum value
17406
+ **/
17407
+ _max?: CampaignCreatorsMaxAggregateInputType
17408
+ }
17409
+
17410
+ export type GetCampaignCreatorsAggregateType<T extends CampaignCreatorsAggregateArgs> = {
17411
+ [P in keyof T & keyof AggregateCampaignCreators]: P extends '_count' | 'count'
17412
+ ? T[P] extends true
17413
+ ? number
17414
+ : GetScalarType<T[P], AggregateCampaignCreators[P]>
17415
+ : GetScalarType<T[P], AggregateCampaignCreators[P]>
17416
+ }
17417
+
17418
+
17419
+
17420
+
17421
+ export type CampaignCreatorsGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17422
+ where?: CampaignCreatorsWhereInput
17423
+ orderBy?: CampaignCreatorsOrderByWithAggregationInput | CampaignCreatorsOrderByWithAggregationInput[]
17424
+ by: CampaignCreatorsScalarFieldEnum[] | CampaignCreatorsScalarFieldEnum
17425
+ having?: CampaignCreatorsScalarWhereWithAggregatesInput
17426
+ take?: number
17427
+ skip?: number
17428
+ _count?: CampaignCreatorsCountAggregateInputType | true
17429
+ _min?: CampaignCreatorsMinAggregateInputType
17430
+ _max?: CampaignCreatorsMaxAggregateInputType
17431
+ }
17432
+
17433
+ export type CampaignCreatorsGroupByOutputType = {
17434
+ address: string
17435
+ tags: string
17436
+ _count: CampaignCreatorsCountAggregateOutputType | null
17437
+ _min: CampaignCreatorsMinAggregateOutputType | null
17438
+ _max: CampaignCreatorsMaxAggregateOutputType | null
17439
+ }
17440
+
17441
+ type GetCampaignCreatorsGroupByPayload<T extends CampaignCreatorsGroupByArgs> = Prisma.PrismaPromise<
17442
+ Array<
17443
+ PickEnumerable<CampaignCreatorsGroupByOutputType, T['by']> &
17444
+ {
17445
+ [P in ((keyof T) & (keyof CampaignCreatorsGroupByOutputType))]: P extends '_count'
17446
+ ? T[P] extends boolean
17447
+ ? number
17448
+ : GetScalarType<T[P], CampaignCreatorsGroupByOutputType[P]>
17449
+ : GetScalarType<T[P], CampaignCreatorsGroupByOutputType[P]>
17450
+ }
17451
+ >
17452
+ >
17453
+
17454
+
17455
+ export type CampaignCreatorsSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
17456
+ address?: boolean
17457
+ tags?: boolean
17458
+ }, ExtArgs["result"]["campaignCreators"]>
17459
+
17460
+ export type CampaignCreatorsSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
17461
+ address?: boolean
17462
+ tags?: boolean
17463
+ }, ExtArgs["result"]["campaignCreators"]>
17464
+
17465
+ export type CampaignCreatorsSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
17466
+ address?: boolean
17467
+ tags?: boolean
17468
+ }, ExtArgs["result"]["campaignCreators"]>
17469
+
17470
+ export type CampaignCreatorsSelectScalar = {
17471
+ address?: boolean
17472
+ tags?: boolean
17473
+ }
17474
+
17475
+ export type CampaignCreatorsOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"address" | "tags", ExtArgs["result"]["campaignCreators"]>
17476
+
17477
+ export type $CampaignCreatorsPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
17478
+ name: "CampaignCreators"
17479
+ objects: {}
17480
+ scalars: $Extensions.GetPayloadResult<{
17481
+ address: string
17482
+ tags: string
17483
+ }, ExtArgs["result"]["campaignCreators"]>
17484
+ composites: {}
15020
17485
  }
15021
17486
 
15022
17487
  type CampaignCreatorsGetPayload<S extends boolean | null | undefined | CampaignCreatorsDefaultArgs> = $Result.GetResult<Prisma.$CampaignCreatorsPayload, S>
@@ -15997,6 +18462,31 @@ export namespace Prisma {
15997
18462
  export type StateSaveScalarFieldEnum = (typeof StateSaveScalarFieldEnum)[keyof typeof StateSaveScalarFieldEnum]
15998
18463
 
15999
18464
 
18465
+ export const NodesScalarFieldEnum: {
18466
+ id: 'id',
18467
+ chainId: 'chainId',
18468
+ nodeType: 'nodeType',
18469
+ recipient: 'recipient',
18470
+ nodesSourceId: 'nodesSourceId',
18471
+ creationBlockNumber: 'creationBlockNumber',
18472
+ metadata: 'metadata'
18473
+ };
18474
+
18475
+ export type NodesScalarFieldEnum = (typeof NodesScalarFieldEnum)[keyof typeof NodesScalarFieldEnum]
18476
+
18477
+
18478
+ export const NodesSourcesScalarFieldEnum: {
18479
+ id: 'id',
18480
+ lastFetchedBlockNumber: 'lastFetchedBlockNumber',
18481
+ nodeType: 'nodeType',
18482
+ chainId: 'chainId',
18483
+ source: 'source',
18484
+ topics: 'topics'
18485
+ };
18486
+
18487
+ export type NodesSourcesScalarFieldEnum = (typeof NodesSourcesScalarFieldEnum)[keyof typeof NodesSourcesScalarFieldEnum]
18488
+
18489
+
16000
18490
  export const CampaignCreatorsScalarFieldEnum: {
16001
18491
  address: 'address',
16002
18492
  tags: 'tags'
@@ -16020,6 +18510,14 @@ export namespace Prisma {
16020
18510
  export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
16021
18511
 
16022
18512
 
18513
+ export const NullableJsonNullValueInput: {
18514
+ DbNull: typeof DbNull,
18515
+ JsonNull: typeof JsonNull
18516
+ };
18517
+
18518
+ export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
18519
+
18520
+
16023
18521
  export const QueryMode: {
16024
18522
  default: 'default',
16025
18523
  insensitive: 'insensitive'
@@ -16159,6 +18657,34 @@ export namespace Prisma {
16159
18657
  export type StateSaveOrderByRelevanceFieldEnum = (typeof StateSaveOrderByRelevanceFieldEnum)[keyof typeof StateSaveOrderByRelevanceFieldEnum]
16160
18658
 
16161
18659
 
18660
+ export const NullsOrder: {
18661
+ first: 'first',
18662
+ last: 'last'
18663
+ };
18664
+
18665
+ export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
18666
+
18667
+
18668
+ export const NodesOrderByRelevanceFieldEnum: {
18669
+ id: 'id',
18670
+ nodeType: 'nodeType',
18671
+ recipient: 'recipient',
18672
+ nodesSourceId: 'nodesSourceId'
18673
+ };
18674
+
18675
+ export type NodesOrderByRelevanceFieldEnum = (typeof NodesOrderByRelevanceFieldEnum)[keyof typeof NodesOrderByRelevanceFieldEnum]
18676
+
18677
+
18678
+ export const NodesSourcesOrderByRelevanceFieldEnum: {
18679
+ id: 'id',
18680
+ nodeType: 'nodeType',
18681
+ source: 'source',
18682
+ topics: 'topics'
18683
+ };
18684
+
18685
+ export type NodesSourcesOrderByRelevanceFieldEnum = (typeof NodesSourcesOrderByRelevanceFieldEnum)[keyof typeof NodesSourcesOrderByRelevanceFieldEnum]
18686
+
18687
+
16162
18688
  export const CampaignCreatorsOrderByRelevanceFieldEnum: {
16163
18689
  address: 'address',
16164
18690
  tags: 'tags'
@@ -17036,6 +19562,139 @@ export namespace Prisma {
17036
19562
  state?: JsonWithAggregatesFilter<"StateSave">
17037
19563
  }
17038
19564
 
19565
+ export type NodesWhereInput = {
19566
+ AND?: NodesWhereInput | NodesWhereInput[]
19567
+ OR?: NodesWhereInput[]
19568
+ NOT?: NodesWhereInput | NodesWhereInput[]
19569
+ id?: StringFilter<"Nodes"> | string
19570
+ chainId?: IntFilter<"Nodes"> | number
19571
+ nodeType?: StringFilter<"Nodes"> | string
19572
+ recipient?: StringFilter<"Nodes"> | string
19573
+ nodesSourceId?: StringFilter<"Nodes"> | string
19574
+ creationBlockNumber?: IntFilter<"Nodes"> | number
19575
+ metadata?: JsonNullableFilter<"Nodes">
19576
+ NodesSources?: XOR<NodesSourcesScalarRelationFilter, NodesSourcesWhereInput>
19577
+ }
19578
+
19579
+ export type NodesOrderByWithRelationInput = {
19580
+ id?: SortOrder
19581
+ chainId?: SortOrder
19582
+ nodeType?: SortOrder
19583
+ recipient?: SortOrder
19584
+ nodesSourceId?: SortOrder
19585
+ creationBlockNumber?: SortOrder
19586
+ metadata?: SortOrderInput | SortOrder
19587
+ NodesSources?: NodesSourcesOrderByWithRelationInput
19588
+ _relevance?: NodesOrderByRelevanceInput
19589
+ }
19590
+
19591
+ export type NodesWhereUniqueInput = Prisma.AtLeast<{
19592
+ id?: string
19593
+ chainId_recipient?: NodesChainIdRecipientCompoundUniqueInput
19594
+ AND?: NodesWhereInput | NodesWhereInput[]
19595
+ OR?: NodesWhereInput[]
19596
+ NOT?: NodesWhereInput | NodesWhereInput[]
19597
+ chainId?: IntFilter<"Nodes"> | number
19598
+ nodeType?: StringFilter<"Nodes"> | string
19599
+ recipient?: StringFilter<"Nodes"> | string
19600
+ nodesSourceId?: StringFilter<"Nodes"> | string
19601
+ creationBlockNumber?: IntFilter<"Nodes"> | number
19602
+ metadata?: JsonNullableFilter<"Nodes">
19603
+ NodesSources?: XOR<NodesSourcesScalarRelationFilter, NodesSourcesWhereInput>
19604
+ }, "id" | "chainId_recipient">
19605
+
19606
+ export type NodesOrderByWithAggregationInput = {
19607
+ id?: SortOrder
19608
+ chainId?: SortOrder
19609
+ nodeType?: SortOrder
19610
+ recipient?: SortOrder
19611
+ nodesSourceId?: SortOrder
19612
+ creationBlockNumber?: SortOrder
19613
+ metadata?: SortOrderInput | SortOrder
19614
+ _count?: NodesCountOrderByAggregateInput
19615
+ _avg?: NodesAvgOrderByAggregateInput
19616
+ _max?: NodesMaxOrderByAggregateInput
19617
+ _min?: NodesMinOrderByAggregateInput
19618
+ _sum?: NodesSumOrderByAggregateInput
19619
+ }
19620
+
19621
+ export type NodesScalarWhereWithAggregatesInput = {
19622
+ AND?: NodesScalarWhereWithAggregatesInput | NodesScalarWhereWithAggregatesInput[]
19623
+ OR?: NodesScalarWhereWithAggregatesInput[]
19624
+ NOT?: NodesScalarWhereWithAggregatesInput | NodesScalarWhereWithAggregatesInput[]
19625
+ id?: StringWithAggregatesFilter<"Nodes"> | string
19626
+ chainId?: IntWithAggregatesFilter<"Nodes"> | number
19627
+ nodeType?: StringWithAggregatesFilter<"Nodes"> | string
19628
+ recipient?: StringWithAggregatesFilter<"Nodes"> | string
19629
+ nodesSourceId?: StringWithAggregatesFilter<"Nodes"> | string
19630
+ creationBlockNumber?: IntWithAggregatesFilter<"Nodes"> | number
19631
+ metadata?: JsonNullableWithAggregatesFilter<"Nodes">
19632
+ }
19633
+
19634
+ export type NodesSourcesWhereInput = {
19635
+ AND?: NodesSourcesWhereInput | NodesSourcesWhereInput[]
19636
+ OR?: NodesSourcesWhereInput[]
19637
+ NOT?: NodesSourcesWhereInput | NodesSourcesWhereInput[]
19638
+ id?: StringFilter<"NodesSources"> | string
19639
+ lastFetchedBlockNumber?: IntFilter<"NodesSources"> | number
19640
+ nodeType?: StringFilter<"NodesSources"> | string
19641
+ chainId?: IntFilter<"NodesSources"> | number
19642
+ source?: StringFilter<"NodesSources"> | string
19643
+ topics?: StringNullableListFilter<"NodesSources">
19644
+ nodes?: NodesListRelationFilter
19645
+ }
19646
+
19647
+ export type NodesSourcesOrderByWithRelationInput = {
19648
+ id?: SortOrder
19649
+ lastFetchedBlockNumber?: SortOrder
19650
+ nodeType?: SortOrder
19651
+ chainId?: SortOrder
19652
+ source?: SortOrder
19653
+ topics?: SortOrder
19654
+ nodes?: NodesOrderByRelationAggregateInput
19655
+ _relevance?: NodesSourcesOrderByRelevanceInput
19656
+ }
19657
+
19658
+ export type NodesSourcesWhereUniqueInput = Prisma.AtLeast<{
19659
+ id?: string
19660
+ chainId_source_topics?: NodesSourcesChainIdSourceTopicsCompoundUniqueInput
19661
+ AND?: NodesSourcesWhereInput | NodesSourcesWhereInput[]
19662
+ OR?: NodesSourcesWhereInput[]
19663
+ NOT?: NodesSourcesWhereInput | NodesSourcesWhereInput[]
19664
+ lastFetchedBlockNumber?: IntFilter<"NodesSources"> | number
19665
+ nodeType?: StringFilter<"NodesSources"> | string
19666
+ chainId?: IntFilter<"NodesSources"> | number
19667
+ source?: StringFilter<"NodesSources"> | string
19668
+ topics?: StringNullableListFilter<"NodesSources">
19669
+ nodes?: NodesListRelationFilter
19670
+ }, "id" | "chainId_source_topics">
19671
+
19672
+ export type NodesSourcesOrderByWithAggregationInput = {
19673
+ id?: SortOrder
19674
+ lastFetchedBlockNumber?: SortOrder
19675
+ nodeType?: SortOrder
19676
+ chainId?: SortOrder
19677
+ source?: SortOrder
19678
+ topics?: SortOrder
19679
+ _count?: NodesSourcesCountOrderByAggregateInput
19680
+ _avg?: NodesSourcesAvgOrderByAggregateInput
19681
+ _max?: NodesSourcesMaxOrderByAggregateInput
19682
+ _min?: NodesSourcesMinOrderByAggregateInput
19683
+ _sum?: NodesSourcesSumOrderByAggregateInput
19684
+ }
19685
+
19686
+ export type NodesSourcesScalarWhereWithAggregatesInput = {
19687
+ AND?: NodesSourcesScalarWhereWithAggregatesInput | NodesSourcesScalarWhereWithAggregatesInput[]
19688
+ OR?: NodesSourcesScalarWhereWithAggregatesInput[]
19689
+ NOT?: NodesSourcesScalarWhereWithAggregatesInput | NodesSourcesScalarWhereWithAggregatesInput[]
19690
+ id?: StringWithAggregatesFilter<"NodesSources"> | string
19691
+ lastFetchedBlockNumber?: IntWithAggregatesFilter<"NodesSources"> | number
19692
+ nodeType?: StringWithAggregatesFilter<"NodesSources"> | string
19693
+ chainId?: IntWithAggregatesFilter<"NodesSources"> | number
19694
+ source?: StringWithAggregatesFilter<"NodesSources"> | string
19695
+ topics?: StringNullableListFilter<"NodesSources">
19696
+ }
19697
+
17039
19698
  export type CampaignCreatorsWhereInput = {
17040
19699
  AND?: CampaignCreatorsWhereInput | CampaignCreatorsWhereInput[]
17041
19700
  OR?: CampaignCreatorsWhereInput[]
@@ -17872,74 +20531,210 @@ export namespace Prisma {
17872
20531
  decimals?: IntFieldUpdateOperationsInput | number
17873
20532
  }
17874
20533
 
17875
- export type TokensUncheckedUpdateInput = {
20534
+ export type TokensUncheckedUpdateInput = {
20535
+ chainId?: IntFieldUpdateOperationsInput | number
20536
+ address?: StringFieldUpdateOperationsInput | string
20537
+ symbol?: StringFieldUpdateOperationsInput | string
20538
+ decimals?: IntFieldUpdateOperationsInput | number
20539
+ }
20540
+
20541
+ export type TokensCreateManyInput = {
20542
+ chainId: number
20543
+ address: string
20544
+ symbol: string
20545
+ decimals: number
20546
+ }
20547
+
20548
+ export type TokensUpdateManyMutationInput = {
20549
+ chainId?: IntFieldUpdateOperationsInput | number
20550
+ address?: StringFieldUpdateOperationsInput | string
20551
+ symbol?: StringFieldUpdateOperationsInput | string
20552
+ decimals?: IntFieldUpdateOperationsInput | number
20553
+ }
20554
+
20555
+ export type TokensUncheckedUpdateManyInput = {
20556
+ chainId?: IntFieldUpdateOperationsInput | number
20557
+ address?: StringFieldUpdateOperationsInput | string
20558
+ symbol?: StringFieldUpdateOperationsInput | string
20559
+ decimals?: IntFieldUpdateOperationsInput | number
20560
+ }
20561
+
20562
+ export type StateSaveCreateInput = {
20563
+ id: string
20564
+ blockNumber: number
20565
+ state: JsonNullValueInput | InputJsonValue
20566
+ }
20567
+
20568
+ export type StateSaveUncheckedCreateInput = {
20569
+ id: string
20570
+ blockNumber: number
20571
+ state: JsonNullValueInput | InputJsonValue
20572
+ }
20573
+
20574
+ export type StateSaveUpdateInput = {
20575
+ id?: StringFieldUpdateOperationsInput | string
20576
+ blockNumber?: IntFieldUpdateOperationsInput | number
20577
+ state?: JsonNullValueInput | InputJsonValue
20578
+ }
20579
+
20580
+ export type StateSaveUncheckedUpdateInput = {
20581
+ id?: StringFieldUpdateOperationsInput | string
20582
+ blockNumber?: IntFieldUpdateOperationsInput | number
20583
+ state?: JsonNullValueInput | InputJsonValue
20584
+ }
20585
+
20586
+ export type StateSaveCreateManyInput = {
20587
+ id: string
20588
+ blockNumber: number
20589
+ state: JsonNullValueInput | InputJsonValue
20590
+ }
20591
+
20592
+ export type StateSaveUpdateManyMutationInput = {
20593
+ id?: StringFieldUpdateOperationsInput | string
20594
+ blockNumber?: IntFieldUpdateOperationsInput | number
20595
+ state?: JsonNullValueInput | InputJsonValue
20596
+ }
20597
+
20598
+ export type StateSaveUncheckedUpdateManyInput = {
20599
+ id?: StringFieldUpdateOperationsInput | string
20600
+ blockNumber?: IntFieldUpdateOperationsInput | number
20601
+ state?: JsonNullValueInput | InputJsonValue
20602
+ }
20603
+
20604
+ export type NodesCreateInput = {
20605
+ id: string
20606
+ chainId: number
20607
+ nodeType: string
20608
+ recipient: string
20609
+ creationBlockNumber: number
20610
+ metadata?: NullableJsonNullValueInput | InputJsonValue
20611
+ NodesSources: NodesSourcesCreateNestedOneWithoutNodesInput
20612
+ }
20613
+
20614
+ export type NodesUncheckedCreateInput = {
20615
+ id: string
20616
+ chainId: number
20617
+ nodeType: string
20618
+ recipient: string
20619
+ nodesSourceId: string
20620
+ creationBlockNumber: number
20621
+ metadata?: NullableJsonNullValueInput | InputJsonValue
20622
+ }
20623
+
20624
+ export type NodesUpdateInput = {
20625
+ id?: StringFieldUpdateOperationsInput | string
20626
+ chainId?: IntFieldUpdateOperationsInput | number
20627
+ nodeType?: StringFieldUpdateOperationsInput | string
20628
+ recipient?: StringFieldUpdateOperationsInput | string
20629
+ creationBlockNumber?: IntFieldUpdateOperationsInput | number
20630
+ metadata?: NullableJsonNullValueInput | InputJsonValue
20631
+ NodesSources?: NodesSourcesUpdateOneRequiredWithoutNodesNestedInput
20632
+ }
20633
+
20634
+ export type NodesUncheckedUpdateInput = {
20635
+ id?: StringFieldUpdateOperationsInput | string
17876
20636
  chainId?: IntFieldUpdateOperationsInput | number
17877
- address?: StringFieldUpdateOperationsInput | string
17878
- symbol?: StringFieldUpdateOperationsInput | string
17879
- decimals?: IntFieldUpdateOperationsInput | number
20637
+ nodeType?: StringFieldUpdateOperationsInput | string
20638
+ recipient?: StringFieldUpdateOperationsInput | string
20639
+ nodesSourceId?: StringFieldUpdateOperationsInput | string
20640
+ creationBlockNumber?: IntFieldUpdateOperationsInput | number
20641
+ metadata?: NullableJsonNullValueInput | InputJsonValue
17880
20642
  }
17881
20643
 
17882
- export type TokensCreateManyInput = {
20644
+ export type NodesCreateManyInput = {
20645
+ id: string
17883
20646
  chainId: number
17884
- address: string
17885
- symbol: string
17886
- decimals: number
20647
+ nodeType: string
20648
+ recipient: string
20649
+ nodesSourceId: string
20650
+ creationBlockNumber: number
20651
+ metadata?: NullableJsonNullValueInput | InputJsonValue
17887
20652
  }
17888
20653
 
17889
- export type TokensUpdateManyMutationInput = {
20654
+ export type NodesUpdateManyMutationInput = {
20655
+ id?: StringFieldUpdateOperationsInput | string
17890
20656
  chainId?: IntFieldUpdateOperationsInput | number
17891
- address?: StringFieldUpdateOperationsInput | string
17892
- symbol?: StringFieldUpdateOperationsInput | string
17893
- decimals?: IntFieldUpdateOperationsInput | number
20657
+ nodeType?: StringFieldUpdateOperationsInput | string
20658
+ recipient?: StringFieldUpdateOperationsInput | string
20659
+ creationBlockNumber?: IntFieldUpdateOperationsInput | number
20660
+ metadata?: NullableJsonNullValueInput | InputJsonValue
17894
20661
  }
17895
20662
 
17896
- export type TokensUncheckedUpdateManyInput = {
20663
+ export type NodesUncheckedUpdateManyInput = {
20664
+ id?: StringFieldUpdateOperationsInput | string
17897
20665
  chainId?: IntFieldUpdateOperationsInput | number
17898
- address?: StringFieldUpdateOperationsInput | string
17899
- symbol?: StringFieldUpdateOperationsInput | string
17900
- decimals?: IntFieldUpdateOperationsInput | number
20666
+ nodeType?: StringFieldUpdateOperationsInput | string
20667
+ recipient?: StringFieldUpdateOperationsInput | string
20668
+ nodesSourceId?: StringFieldUpdateOperationsInput | string
20669
+ creationBlockNumber?: IntFieldUpdateOperationsInput | number
20670
+ metadata?: NullableJsonNullValueInput | InputJsonValue
17901
20671
  }
17902
20672
 
17903
- export type StateSaveCreateInput = {
20673
+ export type NodesSourcesCreateInput = {
17904
20674
  id: string
17905
- blockNumber: number
17906
- state: JsonNullValueInput | InputJsonValue
20675
+ lastFetchedBlockNumber: number
20676
+ nodeType: string
20677
+ chainId: number
20678
+ source: string
20679
+ topics?: NodesSourcesCreatetopicsInput | string[]
20680
+ nodes?: NodesCreateNestedManyWithoutNodesSourcesInput
17907
20681
  }
17908
20682
 
17909
- export type StateSaveUncheckedCreateInput = {
20683
+ export type NodesSourcesUncheckedCreateInput = {
17910
20684
  id: string
17911
- blockNumber: number
17912
- state: JsonNullValueInput | InputJsonValue
20685
+ lastFetchedBlockNumber: number
20686
+ nodeType: string
20687
+ chainId: number
20688
+ source: string
20689
+ topics?: NodesSourcesCreatetopicsInput | string[]
20690
+ nodes?: NodesUncheckedCreateNestedManyWithoutNodesSourcesInput
17913
20691
  }
17914
20692
 
17915
- export type StateSaveUpdateInput = {
20693
+ export type NodesSourcesUpdateInput = {
17916
20694
  id?: StringFieldUpdateOperationsInput | string
17917
- blockNumber?: IntFieldUpdateOperationsInput | number
17918
- state?: JsonNullValueInput | InputJsonValue
20695
+ lastFetchedBlockNumber?: IntFieldUpdateOperationsInput | number
20696
+ nodeType?: StringFieldUpdateOperationsInput | string
20697
+ chainId?: IntFieldUpdateOperationsInput | number
20698
+ source?: StringFieldUpdateOperationsInput | string
20699
+ topics?: NodesSourcesUpdatetopicsInput | string[]
20700
+ nodes?: NodesUpdateManyWithoutNodesSourcesNestedInput
17919
20701
  }
17920
20702
 
17921
- export type StateSaveUncheckedUpdateInput = {
20703
+ export type NodesSourcesUncheckedUpdateInput = {
17922
20704
  id?: StringFieldUpdateOperationsInput | string
17923
- blockNumber?: IntFieldUpdateOperationsInput | number
17924
- state?: JsonNullValueInput | InputJsonValue
20705
+ lastFetchedBlockNumber?: IntFieldUpdateOperationsInput | number
20706
+ nodeType?: StringFieldUpdateOperationsInput | string
20707
+ chainId?: IntFieldUpdateOperationsInput | number
20708
+ source?: StringFieldUpdateOperationsInput | string
20709
+ topics?: NodesSourcesUpdatetopicsInput | string[]
20710
+ nodes?: NodesUncheckedUpdateManyWithoutNodesSourcesNestedInput
17925
20711
  }
17926
20712
 
17927
- export type StateSaveCreateManyInput = {
20713
+ export type NodesSourcesCreateManyInput = {
17928
20714
  id: string
17929
- blockNumber: number
17930
- state: JsonNullValueInput | InputJsonValue
20715
+ lastFetchedBlockNumber: number
20716
+ nodeType: string
20717
+ chainId: number
20718
+ source: string
20719
+ topics?: NodesSourcesCreatetopicsInput | string[]
17931
20720
  }
17932
20721
 
17933
- export type StateSaveUpdateManyMutationInput = {
20722
+ export type NodesSourcesUpdateManyMutationInput = {
17934
20723
  id?: StringFieldUpdateOperationsInput | string
17935
- blockNumber?: IntFieldUpdateOperationsInput | number
17936
- state?: JsonNullValueInput | InputJsonValue
20724
+ lastFetchedBlockNumber?: IntFieldUpdateOperationsInput | number
20725
+ nodeType?: StringFieldUpdateOperationsInput | string
20726
+ chainId?: IntFieldUpdateOperationsInput | number
20727
+ source?: StringFieldUpdateOperationsInput | string
20728
+ topics?: NodesSourcesUpdatetopicsInput | string[]
17937
20729
  }
17938
20730
 
17939
- export type StateSaveUncheckedUpdateManyInput = {
20731
+ export type NodesSourcesUncheckedUpdateManyInput = {
17940
20732
  id?: StringFieldUpdateOperationsInput | string
17941
- blockNumber?: IntFieldUpdateOperationsInput | number
17942
- state?: JsonNullValueInput | InputJsonValue
20733
+ lastFetchedBlockNumber?: IntFieldUpdateOperationsInput | number
20734
+ nodeType?: StringFieldUpdateOperationsInput | string
20735
+ chainId?: IntFieldUpdateOperationsInput | number
20736
+ source?: StringFieldUpdateOperationsInput | string
20737
+ topics?: NodesSourcesUpdatetopicsInput | string[]
17943
20738
  }
17944
20739
 
17945
20740
  export type CampaignCreatorsCreateInput = {
@@ -18744,6 +21539,169 @@ export namespace Prisma {
18744
21539
  export type StateSaveSumOrderByAggregateInput = {
18745
21540
  blockNumber?: SortOrder
18746
21541
  }
21542
+ export type JsonNullableFilter<$PrismaModel = never> =
21543
+ | PatchUndefined<
21544
+ Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
21545
+ Required<JsonNullableFilterBase<$PrismaModel>>
21546
+ >
21547
+ | OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>
21548
+
21549
+ export type JsonNullableFilterBase<$PrismaModel = never> = {
21550
+ equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
21551
+ path?: string[]
21552
+ string_contains?: string | StringFieldRefInput<$PrismaModel>
21553
+ string_starts_with?: string | StringFieldRefInput<$PrismaModel>
21554
+ string_ends_with?: string | StringFieldRefInput<$PrismaModel>
21555
+ array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
21556
+ array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
21557
+ array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
21558
+ lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21559
+ lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21560
+ gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21561
+ gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21562
+ not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
21563
+ }
21564
+
21565
+ export type NodesSourcesScalarRelationFilter = {
21566
+ is?: NodesSourcesWhereInput
21567
+ isNot?: NodesSourcesWhereInput
21568
+ }
21569
+
21570
+ export type SortOrderInput = {
21571
+ sort: SortOrder
21572
+ nulls?: NullsOrder
21573
+ }
21574
+
21575
+ export type NodesOrderByRelevanceInput = {
21576
+ fields: NodesOrderByRelevanceFieldEnum | NodesOrderByRelevanceFieldEnum[]
21577
+ sort: SortOrder
21578
+ search: string
21579
+ }
21580
+
21581
+ export type NodesChainIdRecipientCompoundUniqueInput = {
21582
+ chainId: number
21583
+ recipient: string
21584
+ }
21585
+
21586
+ export type NodesCountOrderByAggregateInput = {
21587
+ id?: SortOrder
21588
+ chainId?: SortOrder
21589
+ nodeType?: SortOrder
21590
+ recipient?: SortOrder
21591
+ nodesSourceId?: SortOrder
21592
+ creationBlockNumber?: SortOrder
21593
+ metadata?: SortOrder
21594
+ }
21595
+
21596
+ export type NodesAvgOrderByAggregateInput = {
21597
+ chainId?: SortOrder
21598
+ creationBlockNumber?: SortOrder
21599
+ }
21600
+
21601
+ export type NodesMaxOrderByAggregateInput = {
21602
+ id?: SortOrder
21603
+ chainId?: SortOrder
21604
+ nodeType?: SortOrder
21605
+ recipient?: SortOrder
21606
+ nodesSourceId?: SortOrder
21607
+ creationBlockNumber?: SortOrder
21608
+ }
21609
+
21610
+ export type NodesMinOrderByAggregateInput = {
21611
+ id?: SortOrder
21612
+ chainId?: SortOrder
21613
+ nodeType?: SortOrder
21614
+ recipient?: SortOrder
21615
+ nodesSourceId?: SortOrder
21616
+ creationBlockNumber?: SortOrder
21617
+ }
21618
+
21619
+ export type NodesSumOrderByAggregateInput = {
21620
+ chainId?: SortOrder
21621
+ creationBlockNumber?: SortOrder
21622
+ }
21623
+ export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
21624
+ | PatchUndefined<
21625
+ Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
21626
+ Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
21627
+ >
21628
+ | OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
21629
+
21630
+ export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
21631
+ equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
21632
+ path?: string[]
21633
+ string_contains?: string | StringFieldRefInput<$PrismaModel>
21634
+ string_starts_with?: string | StringFieldRefInput<$PrismaModel>
21635
+ string_ends_with?: string | StringFieldRefInput<$PrismaModel>
21636
+ array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
21637
+ array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
21638
+ array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
21639
+ lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21640
+ lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21641
+ gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21642
+ gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21643
+ not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
21644
+ _count?: NestedIntNullableFilter<$PrismaModel>
21645
+ _min?: NestedJsonNullableFilter<$PrismaModel>
21646
+ _max?: NestedJsonNullableFilter<$PrismaModel>
21647
+ }
21648
+
21649
+ export type NodesListRelationFilter = {
21650
+ every?: NodesWhereInput
21651
+ some?: NodesWhereInput
21652
+ none?: NodesWhereInput
21653
+ }
21654
+
21655
+ export type NodesOrderByRelationAggregateInput = {
21656
+ _count?: SortOrder
21657
+ }
21658
+
21659
+ export type NodesSourcesOrderByRelevanceInput = {
21660
+ fields: NodesSourcesOrderByRelevanceFieldEnum | NodesSourcesOrderByRelevanceFieldEnum[]
21661
+ sort: SortOrder
21662
+ search: string
21663
+ }
21664
+
21665
+ export type NodesSourcesChainIdSourceTopicsCompoundUniqueInput = {
21666
+ chainId: number
21667
+ source: string
21668
+ topics: string[]
21669
+ }
21670
+
21671
+ export type NodesSourcesCountOrderByAggregateInput = {
21672
+ id?: SortOrder
21673
+ lastFetchedBlockNumber?: SortOrder
21674
+ nodeType?: SortOrder
21675
+ chainId?: SortOrder
21676
+ source?: SortOrder
21677
+ topics?: SortOrder
21678
+ }
21679
+
21680
+ export type NodesSourcesAvgOrderByAggregateInput = {
21681
+ lastFetchedBlockNumber?: SortOrder
21682
+ chainId?: SortOrder
21683
+ }
21684
+
21685
+ export type NodesSourcesMaxOrderByAggregateInput = {
21686
+ id?: SortOrder
21687
+ lastFetchedBlockNumber?: SortOrder
21688
+ nodeType?: SortOrder
21689
+ chainId?: SortOrder
21690
+ source?: SortOrder
21691
+ }
21692
+
21693
+ export type NodesSourcesMinOrderByAggregateInput = {
21694
+ id?: SortOrder
21695
+ lastFetchedBlockNumber?: SortOrder
21696
+ nodeType?: SortOrder
21697
+ chainId?: SortOrder
21698
+ source?: SortOrder
21699
+ }
21700
+
21701
+ export type NodesSourcesSumOrderByAggregateInput = {
21702
+ lastFetchedBlockNumber?: SortOrder
21703
+ chainId?: SortOrder
21704
+ }
18747
21705
 
18748
21706
  export type CampaignCreatorsOrderByRelevanceInput = {
18749
21707
  fields: CampaignCreatorsOrderByRelevanceFieldEnum | CampaignCreatorsOrderByRelevanceFieldEnum[]
@@ -18796,6 +21754,71 @@ export namespace Prisma {
18796
21754
  push?: string | string[]
18797
21755
  }
18798
21756
 
21757
+ export type NodesSourcesCreateNestedOneWithoutNodesInput = {
21758
+ create?: XOR<NodesSourcesCreateWithoutNodesInput, NodesSourcesUncheckedCreateWithoutNodesInput>
21759
+ connectOrCreate?: NodesSourcesCreateOrConnectWithoutNodesInput
21760
+ connect?: NodesSourcesWhereUniqueInput
21761
+ }
21762
+
21763
+ export type NodesSourcesUpdateOneRequiredWithoutNodesNestedInput = {
21764
+ create?: XOR<NodesSourcesCreateWithoutNodesInput, NodesSourcesUncheckedCreateWithoutNodesInput>
21765
+ connectOrCreate?: NodesSourcesCreateOrConnectWithoutNodesInput
21766
+ upsert?: NodesSourcesUpsertWithoutNodesInput
21767
+ connect?: NodesSourcesWhereUniqueInput
21768
+ update?: XOR<XOR<NodesSourcesUpdateToOneWithWhereWithoutNodesInput, NodesSourcesUpdateWithoutNodesInput>, NodesSourcesUncheckedUpdateWithoutNodesInput>
21769
+ }
21770
+
21771
+ export type NodesSourcesCreatetopicsInput = {
21772
+ set: string[]
21773
+ }
21774
+
21775
+ export type NodesCreateNestedManyWithoutNodesSourcesInput = {
21776
+ create?: XOR<NodesCreateWithoutNodesSourcesInput, NodesUncheckedCreateWithoutNodesSourcesInput> | NodesCreateWithoutNodesSourcesInput[] | NodesUncheckedCreateWithoutNodesSourcesInput[]
21777
+ connectOrCreate?: NodesCreateOrConnectWithoutNodesSourcesInput | NodesCreateOrConnectWithoutNodesSourcesInput[]
21778
+ createMany?: NodesCreateManyNodesSourcesInputEnvelope
21779
+ connect?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21780
+ }
21781
+
21782
+ export type NodesUncheckedCreateNestedManyWithoutNodesSourcesInput = {
21783
+ create?: XOR<NodesCreateWithoutNodesSourcesInput, NodesUncheckedCreateWithoutNodesSourcesInput> | NodesCreateWithoutNodesSourcesInput[] | NodesUncheckedCreateWithoutNodesSourcesInput[]
21784
+ connectOrCreate?: NodesCreateOrConnectWithoutNodesSourcesInput | NodesCreateOrConnectWithoutNodesSourcesInput[]
21785
+ createMany?: NodesCreateManyNodesSourcesInputEnvelope
21786
+ connect?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21787
+ }
21788
+
21789
+ export type NodesSourcesUpdatetopicsInput = {
21790
+ set?: string[]
21791
+ push?: string | string[]
21792
+ }
21793
+
21794
+ export type NodesUpdateManyWithoutNodesSourcesNestedInput = {
21795
+ create?: XOR<NodesCreateWithoutNodesSourcesInput, NodesUncheckedCreateWithoutNodesSourcesInput> | NodesCreateWithoutNodesSourcesInput[] | NodesUncheckedCreateWithoutNodesSourcesInput[]
21796
+ connectOrCreate?: NodesCreateOrConnectWithoutNodesSourcesInput | NodesCreateOrConnectWithoutNodesSourcesInput[]
21797
+ upsert?: NodesUpsertWithWhereUniqueWithoutNodesSourcesInput | NodesUpsertWithWhereUniqueWithoutNodesSourcesInput[]
21798
+ createMany?: NodesCreateManyNodesSourcesInputEnvelope
21799
+ set?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21800
+ disconnect?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21801
+ delete?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21802
+ connect?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21803
+ update?: NodesUpdateWithWhereUniqueWithoutNodesSourcesInput | NodesUpdateWithWhereUniqueWithoutNodesSourcesInput[]
21804
+ updateMany?: NodesUpdateManyWithWhereWithoutNodesSourcesInput | NodesUpdateManyWithWhereWithoutNodesSourcesInput[]
21805
+ deleteMany?: NodesScalarWhereInput | NodesScalarWhereInput[]
21806
+ }
21807
+
21808
+ export type NodesUncheckedUpdateManyWithoutNodesSourcesNestedInput = {
21809
+ create?: XOR<NodesCreateWithoutNodesSourcesInput, NodesUncheckedCreateWithoutNodesSourcesInput> | NodesCreateWithoutNodesSourcesInput[] | NodesUncheckedCreateWithoutNodesSourcesInput[]
21810
+ connectOrCreate?: NodesCreateOrConnectWithoutNodesSourcesInput | NodesCreateOrConnectWithoutNodesSourcesInput[]
21811
+ upsert?: NodesUpsertWithWhereUniqueWithoutNodesSourcesInput | NodesUpsertWithWhereUniqueWithoutNodesSourcesInput[]
21812
+ createMany?: NodesCreateManyNodesSourcesInputEnvelope
21813
+ set?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21814
+ disconnect?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21815
+ delete?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21816
+ connect?: NodesWhereUniqueInput | NodesWhereUniqueInput[]
21817
+ update?: NodesUpdateWithWhereUniqueWithoutNodesSourcesInput | NodesUpdateWithWhereUniqueWithoutNodesSourcesInput[]
21818
+ updateMany?: NodesUpdateManyWithWhereWithoutNodesSourcesInput | NodesUpdateManyWithWhereWithoutNodesSourcesInput[]
21819
+ deleteMany?: NodesScalarWhereInput | NodesScalarWhereInput[]
21820
+ }
21821
+
18799
21822
  export type NestedIntFilter<$PrismaModel = never> = {
18800
21823
  equals?: number | IntFieldRefInput<$PrismaModel>
18801
21824
  in?: number[] | ListIntFieldRefInput<$PrismaModel>
@@ -18889,6 +21912,184 @@ export namespace Prisma {
18889
21912
  not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
18890
21913
  }
18891
21914
 
21915
+ export type NestedIntNullableFilter<$PrismaModel = never> = {
21916
+ equals?: number | IntFieldRefInput<$PrismaModel> | null
21917
+ in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
21918
+ notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
21919
+ lt?: number | IntFieldRefInput<$PrismaModel>
21920
+ lte?: number | IntFieldRefInput<$PrismaModel>
21921
+ gt?: number | IntFieldRefInput<$PrismaModel>
21922
+ gte?: number | IntFieldRefInput<$PrismaModel>
21923
+ not?: NestedIntNullableFilter<$PrismaModel> | number | null
21924
+ }
21925
+ export type NestedJsonNullableFilter<$PrismaModel = never> =
21926
+ | PatchUndefined<
21927
+ Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
21928
+ Required<NestedJsonNullableFilterBase<$PrismaModel>>
21929
+ >
21930
+ | OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>
21931
+
21932
+ export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
21933
+ equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
21934
+ path?: string[]
21935
+ string_contains?: string | StringFieldRefInput<$PrismaModel>
21936
+ string_starts_with?: string | StringFieldRefInput<$PrismaModel>
21937
+ string_ends_with?: string | StringFieldRefInput<$PrismaModel>
21938
+ array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
21939
+ array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
21940
+ array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
21941
+ lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21942
+ lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21943
+ gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21944
+ gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
21945
+ not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
21946
+ }
21947
+
21948
+ export type NodesSourcesCreateWithoutNodesInput = {
21949
+ id: string
21950
+ lastFetchedBlockNumber: number
21951
+ nodeType: string
21952
+ chainId: number
21953
+ source: string
21954
+ topics?: NodesSourcesCreatetopicsInput | string[]
21955
+ }
21956
+
21957
+ export type NodesSourcesUncheckedCreateWithoutNodesInput = {
21958
+ id: string
21959
+ lastFetchedBlockNumber: number
21960
+ nodeType: string
21961
+ chainId: number
21962
+ source: string
21963
+ topics?: NodesSourcesCreatetopicsInput | string[]
21964
+ }
21965
+
21966
+ export type NodesSourcesCreateOrConnectWithoutNodesInput = {
21967
+ where: NodesSourcesWhereUniqueInput
21968
+ create: XOR<NodesSourcesCreateWithoutNodesInput, NodesSourcesUncheckedCreateWithoutNodesInput>
21969
+ }
21970
+
21971
+ export type NodesSourcesUpsertWithoutNodesInput = {
21972
+ update: XOR<NodesSourcesUpdateWithoutNodesInput, NodesSourcesUncheckedUpdateWithoutNodesInput>
21973
+ create: XOR<NodesSourcesCreateWithoutNodesInput, NodesSourcesUncheckedCreateWithoutNodesInput>
21974
+ where?: NodesSourcesWhereInput
21975
+ }
21976
+
21977
+ export type NodesSourcesUpdateToOneWithWhereWithoutNodesInput = {
21978
+ where?: NodesSourcesWhereInput
21979
+ data: XOR<NodesSourcesUpdateWithoutNodesInput, NodesSourcesUncheckedUpdateWithoutNodesInput>
21980
+ }
21981
+
21982
+ export type NodesSourcesUpdateWithoutNodesInput = {
21983
+ id?: StringFieldUpdateOperationsInput | string
21984
+ lastFetchedBlockNumber?: IntFieldUpdateOperationsInput | number
21985
+ nodeType?: StringFieldUpdateOperationsInput | string
21986
+ chainId?: IntFieldUpdateOperationsInput | number
21987
+ source?: StringFieldUpdateOperationsInput | string
21988
+ topics?: NodesSourcesUpdatetopicsInput | string[]
21989
+ }
21990
+
21991
+ export type NodesSourcesUncheckedUpdateWithoutNodesInput = {
21992
+ id?: StringFieldUpdateOperationsInput | string
21993
+ lastFetchedBlockNumber?: IntFieldUpdateOperationsInput | number
21994
+ nodeType?: StringFieldUpdateOperationsInput | string
21995
+ chainId?: IntFieldUpdateOperationsInput | number
21996
+ source?: StringFieldUpdateOperationsInput | string
21997
+ topics?: NodesSourcesUpdatetopicsInput | string[]
21998
+ }
21999
+
22000
+ export type NodesCreateWithoutNodesSourcesInput = {
22001
+ id: string
22002
+ chainId: number
22003
+ nodeType: string
22004
+ recipient: string
22005
+ creationBlockNumber: number
22006
+ metadata?: NullableJsonNullValueInput | InputJsonValue
22007
+ }
22008
+
22009
+ export type NodesUncheckedCreateWithoutNodesSourcesInput = {
22010
+ id: string
22011
+ chainId: number
22012
+ nodeType: string
22013
+ recipient: string
22014
+ creationBlockNumber: number
22015
+ metadata?: NullableJsonNullValueInput | InputJsonValue
22016
+ }
22017
+
22018
+ export type NodesCreateOrConnectWithoutNodesSourcesInput = {
22019
+ where: NodesWhereUniqueInput
22020
+ create: XOR<NodesCreateWithoutNodesSourcesInput, NodesUncheckedCreateWithoutNodesSourcesInput>
22021
+ }
22022
+
22023
+ export type NodesCreateManyNodesSourcesInputEnvelope = {
22024
+ data: NodesCreateManyNodesSourcesInput | NodesCreateManyNodesSourcesInput[]
22025
+ skipDuplicates?: boolean
22026
+ }
22027
+
22028
+ export type NodesUpsertWithWhereUniqueWithoutNodesSourcesInput = {
22029
+ where: NodesWhereUniqueInput
22030
+ update: XOR<NodesUpdateWithoutNodesSourcesInput, NodesUncheckedUpdateWithoutNodesSourcesInput>
22031
+ create: XOR<NodesCreateWithoutNodesSourcesInput, NodesUncheckedCreateWithoutNodesSourcesInput>
22032
+ }
22033
+
22034
+ export type NodesUpdateWithWhereUniqueWithoutNodesSourcesInput = {
22035
+ where: NodesWhereUniqueInput
22036
+ data: XOR<NodesUpdateWithoutNodesSourcesInput, NodesUncheckedUpdateWithoutNodesSourcesInput>
22037
+ }
22038
+
22039
+ export type NodesUpdateManyWithWhereWithoutNodesSourcesInput = {
22040
+ where: NodesScalarWhereInput
22041
+ data: XOR<NodesUpdateManyMutationInput, NodesUncheckedUpdateManyWithoutNodesSourcesInput>
22042
+ }
22043
+
22044
+ export type NodesScalarWhereInput = {
22045
+ AND?: NodesScalarWhereInput | NodesScalarWhereInput[]
22046
+ OR?: NodesScalarWhereInput[]
22047
+ NOT?: NodesScalarWhereInput | NodesScalarWhereInput[]
22048
+ id?: StringFilter<"Nodes"> | string
22049
+ chainId?: IntFilter<"Nodes"> | number
22050
+ nodeType?: StringFilter<"Nodes"> | string
22051
+ recipient?: StringFilter<"Nodes"> | string
22052
+ nodesSourceId?: StringFilter<"Nodes"> | string
22053
+ creationBlockNumber?: IntFilter<"Nodes"> | number
22054
+ metadata?: JsonNullableFilter<"Nodes">
22055
+ }
22056
+
22057
+ export type NodesCreateManyNodesSourcesInput = {
22058
+ id: string
22059
+ chainId: number
22060
+ nodeType: string
22061
+ recipient: string
22062
+ creationBlockNumber: number
22063
+ metadata?: NullableJsonNullValueInput | InputJsonValue
22064
+ }
22065
+
22066
+ export type NodesUpdateWithoutNodesSourcesInput = {
22067
+ id?: StringFieldUpdateOperationsInput | string
22068
+ chainId?: IntFieldUpdateOperationsInput | number
22069
+ nodeType?: StringFieldUpdateOperationsInput | string
22070
+ recipient?: StringFieldUpdateOperationsInput | string
22071
+ creationBlockNumber?: IntFieldUpdateOperationsInput | number
22072
+ metadata?: NullableJsonNullValueInput | InputJsonValue
22073
+ }
22074
+
22075
+ export type NodesUncheckedUpdateWithoutNodesSourcesInput = {
22076
+ id?: StringFieldUpdateOperationsInput | string
22077
+ chainId?: IntFieldUpdateOperationsInput | number
22078
+ nodeType?: StringFieldUpdateOperationsInput | string
22079
+ recipient?: StringFieldUpdateOperationsInput | string
22080
+ creationBlockNumber?: IntFieldUpdateOperationsInput | number
22081
+ metadata?: NullableJsonNullValueInput | InputJsonValue
22082
+ }
22083
+
22084
+ export type NodesUncheckedUpdateManyWithoutNodesSourcesInput = {
22085
+ id?: StringFieldUpdateOperationsInput | string
22086
+ chainId?: IntFieldUpdateOperationsInput | number
22087
+ nodeType?: StringFieldUpdateOperationsInput | string
22088
+ recipient?: StringFieldUpdateOperationsInput | string
22089
+ creationBlockNumber?: IntFieldUpdateOperationsInput | number
22090
+ metadata?: NullableJsonNullValueInput | InputJsonValue
22091
+ }
22092
+
18892
22093
 
18893
22094
 
18894
22095
  /**