@cerbos/orm-prisma 4.1.0 → 5.0.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.
Files changed (174) hide show
  1. package/README.md +598 -603
  2. package/lib/collections.d.ts +30 -0
  3. package/lib/collections.d.ts.map +1 -0
  4. package/lib/collections.js +421 -0
  5. package/lib/collections.js.map +1 -0
  6. package/lib/comparison.d.ts +24 -0
  7. package/lib/comparison.d.ts.map +1 -0
  8. package/lib/comparison.js +731 -0
  9. package/lib/comparison.js.map +1 -0
  10. package/lib/errors.d.ts +13 -0
  11. package/lib/errors.d.ts.map +1 -0
  12. package/lib/errors.js +17 -0
  13. package/lib/errors.js.map +1 -0
  14. package/lib/evaluate.d.ts +5 -0
  15. package/lib/evaluate.d.ts.map +1 -0
  16. package/lib/evaluate.js +118 -0
  17. package/lib/evaluate.js.map +1 -0
  18. package/lib/fields.d.ts +34 -0
  19. package/lib/fields.d.ts.map +1 -0
  20. package/lib/fields.js +253 -0
  21. package/lib/fields.js.map +1 -0
  22. package/lib/functions.d.ts +5 -0
  23. package/lib/functions.d.ts.map +1 -0
  24. package/lib/functions.js +408 -0
  25. package/lib/functions.js.map +1 -0
  26. package/lib/hierarchy.d.ts +6 -0
  27. package/lib/hierarchy.d.ts.map +1 -0
  28. package/lib/hierarchy.js +266 -0
  29. package/lib/hierarchy.js.map +1 -0
  30. package/lib/index.d.ts +23 -13
  31. package/lib/index.d.ts.map +1 -1
  32. package/lib/index.js +34 -2555
  33. package/lib/index.js.map +1 -1
  34. package/lib/literals.d.ts +20 -0
  35. package/lib/literals.d.ts.map +1 -0
  36. package/lib/literals.js +290 -0
  37. package/lib/literals.js.map +1 -0
  38. package/lib/mapping.d.ts +95 -0
  39. package/lib/mapping.d.ts.map +1 -0
  40. package/lib/mapping.js +316 -0
  41. package/lib/mapping.js.map +1 -0
  42. package/lib/narrowing.d.ts +12 -0
  43. package/lib/narrowing.d.ts.map +1 -0
  44. package/lib/narrowing.js +32 -0
  45. package/lib/narrowing.js.map +1 -0
  46. package/lib/plan.d.ts +49 -0
  47. package/lib/plan.d.ts.map +1 -0
  48. package/lib/plan.js +86 -0
  49. package/lib/plan.js.map +1 -0
  50. package/lib/presence.d.ts +25 -0
  51. package/lib/presence.d.ts.map +1 -0
  52. package/lib/presence.js +82 -0
  53. package/lib/presence.js.map +1 -0
  54. package/lib/regex.d.ts +33 -0
  55. package/lib/regex.d.ts.map +1 -0
  56. package/lib/regex.js +480 -0
  57. package/lib/regex.js.map +1 -0
  58. package/lib/relations.d.ts +58 -0
  59. package/lib/relations.d.ts.map +1 -0
  60. package/lib/relations.js +175 -0
  61. package/lib/relations.js.map +1 -0
  62. package/lib/rewrite.d.ts +36 -0
  63. package/lib/rewrite.d.ts.map +1 -0
  64. package/lib/rewrite.js +366 -0
  65. package/lib/rewrite.js.map +1 -0
  66. package/lib/solve.d.ts +20 -0
  67. package/lib/solve.d.ts.map +1 -0
  68. package/lib/solve.js +77 -0
  69. package/lib/solve.js.map +1 -0
  70. package/lib/strings.d.ts +12 -0
  71. package/lib/strings.d.ts.map +1 -0
  72. package/lib/strings.js +110 -0
  73. package/lib/strings.js.map +1 -0
  74. package/lib/ternary.d.ts +12 -0
  75. package/lib/ternary.d.ts.map +1 -0
  76. package/lib/ternary.js +192 -0
  77. package/lib/ternary.js.map +1 -0
  78. package/lib/timestamp.d.ts +45 -0
  79. package/lib/timestamp.d.ts.map +1 -0
  80. package/lib/timestamp.js +225 -0
  81. package/lib/timestamp.js.map +1 -0
  82. package/lib/translate.d.ts +20 -0
  83. package/lib/translate.d.ts.map +1 -0
  84. package/lib/translate.js +287 -0
  85. package/lib/translate.js.map +1 -0
  86. package/lib/types.d.ts +29 -0
  87. package/lib/types.d.ts.map +1 -0
  88. package/lib/types.js +980 -0
  89. package/lib/types.js.map +1 -0
  90. package/lib/value.d.ts +8 -0
  91. package/lib/value.d.ts.map +1 -0
  92. package/lib/value.js +7 -0
  93. package/lib/value.js.map +1 -0
  94. package/package.json +27 -17
  95. package/src/adversarial.test.ts +376 -1071
  96. package/src/collections.ts +738 -0
  97. package/src/comparison.ts +1157 -0
  98. package/src/corpus.ts +433 -250
  99. package/src/errors.ts +12 -0
  100. package/src/evaluate.ts +170 -0
  101. package/src/fields.ts +373 -0
  102. package/src/functions.ts +548 -0
  103. package/src/generated/prisma-adversarial/browser.ts +10 -0
  104. package/src/generated/prisma-adversarial/client.ts +10 -0
  105. package/src/generated/prisma-adversarial/commonInputTypes.ts +116 -127
  106. package/src/generated/prisma-adversarial/internal/class.ts +24 -4
  107. package/src/generated/prisma-adversarial/internal/prismaNamespace.ts +174 -3
  108. package/src/generated/prisma-adversarial/internal/prismaNamespaceBrowser.ts +23 -2
  109. package/src/generated/prisma-adversarial/models/AdversarialBoolListElement.ts +1272 -0
  110. package/src/generated/prisma-adversarial/models/AdversarialInner.ts +54 -54
  111. package/src/generated/prisma-adversarial/models/AdversarialNumberListElement.ts +1316 -0
  112. package/src/generated/prisma-adversarial/models/AdversarialParent.ts +66 -66
  113. package/src/generated/prisma-adversarial/models/AdversarialResource.ts +435 -87
  114. package/src/generated/prisma-adversarial/models.ts +2 -0
  115. package/src/generated/prisma-adversarial-mysql/browser.ts +64 -0
  116. package/src/generated/prisma-adversarial-mysql/client.ts +86 -0
  117. package/src/generated/prisma-adversarial-mysql/commonInputTypes.ts +349 -0
  118. package/src/generated/prisma-adversarial-mysql/enums.ts +15 -0
  119. package/src/generated/prisma-adversarial-mysql/internal/class.ts +284 -0
  120. package/src/generated/prisma-adversarial-mysql/internal/prismaNamespace.ts +1518 -0
  121. package/src/generated/prisma-adversarial-mysql/internal/prismaNamespaceBrowser.ts +274 -0
  122. package/src/generated/prisma-adversarial-mysql/models/AdversarialBoolListElement.ts +1157 -0
  123. package/src/generated/prisma-adversarial-mysql/models/AdversarialCategory.ts +1286 -0
  124. package/src/generated/prisma-adversarial-mysql/models/AdversarialInner.ts +1247 -0
  125. package/src/generated/prisma-adversarial-mysql/models/AdversarialLabel.ts +1157 -0
  126. package/src/generated/prisma-adversarial-mysql/models/AdversarialNumberListElement.ts +1201 -0
  127. package/src/generated/prisma-adversarial-mysql/models/AdversarialParent.ts +1352 -0
  128. package/src/generated/prisma-adversarial-mysql/models/AdversarialResource.ts +2021 -0
  129. package/src/generated/prisma-adversarial-mysql/models/AdversarialSubCategory.ts +1286 -0
  130. package/src/generated/prisma-adversarial-mysql/models/AdversarialTag.ts +1190 -0
  131. package/src/generated/prisma-adversarial-mysql/models.ts +20 -0
  132. package/src/generated/prisma-adversarial-mysql-v6/client.d.ts +1 -0
  133. package/src/generated/prisma-adversarial-mysql-v6/default.d.ts +1 -0
  134. package/src/generated/prisma-adversarial-mysql-v6/edge.d.ts +1 -0
  135. package/src/generated/prisma-adversarial-mysql-v6/index.d.ts +13822 -0
  136. package/src/generated/prisma-adversarial-mysql-v6/runtime/index-browser.d.ts +370 -0
  137. package/src/generated/prisma-adversarial-mysql-v6/runtime/library.d.ts +3982 -0
  138. package/src/generated/prisma-adversarial-mysql-v6/wasm.d.ts +1 -0
  139. package/src/generated/prisma-adversarial-pg/browser.ts +10 -0
  140. package/src/generated/prisma-adversarial-pg/client.ts +10 -0
  141. package/src/generated/prisma-adversarial-pg/commonInputTypes.ts +118 -129
  142. package/src/generated/prisma-adversarial-pg/internal/class.ts +24 -4
  143. package/src/generated/prisma-adversarial-pg/internal/prismaNamespace.ts +174 -3
  144. package/src/generated/prisma-adversarial-pg/internal/prismaNamespaceBrowser.ts +23 -2
  145. package/src/generated/prisma-adversarial-pg/models/AdversarialBoolListElement.ts +1275 -0
  146. package/src/generated/prisma-adversarial-pg/models/AdversarialInner.ts +54 -54
  147. package/src/generated/prisma-adversarial-pg/models/AdversarialNumberListElement.ts +1319 -0
  148. package/src/generated/prisma-adversarial-pg/models/AdversarialParent.ts +66 -66
  149. package/src/generated/prisma-adversarial-pg/models/AdversarialResource.ts +435 -87
  150. package/src/generated/prisma-adversarial-pg/models.ts +2 -0
  151. package/src/generated/prisma-adversarial-pg-v6/index.d.ts +3476 -388
  152. package/src/generated/prisma-adversarial-v6/index.d.ts +3465 -383
  153. package/src/hierarchy.ts +405 -0
  154. package/src/index.ts +66 -3646
  155. package/src/literals.ts +363 -0
  156. package/src/mapping.ts +474 -0
  157. package/src/narrowing.ts +33 -0
  158. package/src/plan.ts +125 -0
  159. package/src/presence.ts +114 -0
  160. package/src/regex.ts +596 -0
  161. package/src/relations.ts +226 -0
  162. package/src/rewrite.ts +524 -0
  163. package/src/solve.ts +96 -0
  164. package/src/strings.ts +152 -0
  165. package/src/ternary.ts +359 -0
  166. package/src/test-setup.adversarial-url.ts +6 -3
  167. package/src/test-setup.adversarial.mysql.v6.ts +13 -0
  168. package/src/test-setup.adversarial.mysql.v7.ts +12 -0
  169. package/src/test-setup.adversarial.v7.ts +1 -0
  170. package/src/timestamp.ts +308 -0
  171. package/src/translate.ts +419 -0
  172. package/src/translator.test.ts +497 -1317
  173. package/src/types.ts +1310 -0
  174. package/src/value.ts +16 -0
@@ -0,0 +1,2021 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * This file exports the `AdversarialResource` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums.js"
13
+ import type * as Prisma from "../internal/prismaNamespace.js"
14
+
15
+ /**
16
+ * Model AdversarialResource
17
+ *
18
+ */
19
+ export type AdversarialResourceModel = runtime.Types.Result.DefaultSelection<Prisma.$AdversarialResourcePayload>
20
+
21
+ export type AggregateAdversarialResource = {
22
+ _count: AdversarialResourceCountAggregateOutputType | null
23
+ _avg: AdversarialResourceAvgAggregateOutputType | null
24
+ _sum: AdversarialResourceSumAggregateOutputType | null
25
+ _min: AdversarialResourceMinAggregateOutputType | null
26
+ _max: AdversarialResourceMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type AdversarialResourceAvgAggregateOutputType = {
30
+ aNumber: number | null
31
+ aDouble: number | null
32
+ }
33
+
34
+ export type AdversarialResourceSumAggregateOutputType = {
35
+ aNumber: number | null
36
+ aDouble: number | null
37
+ }
38
+
39
+ export type AdversarialResourceMinAggregateOutputType = {
40
+ id: string | null
41
+ aBool: boolean | null
42
+ aString: string | null
43
+ aNumber: number | null
44
+ aDouble: number | null
45
+ aOptionalString: string | null
46
+ createdBy: string | null
47
+ scope: string | null
48
+ createdAt: Date | null
49
+ updatedAt: Date | null
50
+ }
51
+
52
+ export type AdversarialResourceMaxAggregateOutputType = {
53
+ id: string | null
54
+ aBool: boolean | null
55
+ aString: string | null
56
+ aNumber: number | null
57
+ aDouble: number | null
58
+ aOptionalString: string | null
59
+ createdBy: string | null
60
+ scope: string | null
61
+ createdAt: Date | null
62
+ updatedAt: Date | null
63
+ }
64
+
65
+ export type AdversarialResourceCountAggregateOutputType = {
66
+ id: number
67
+ aBool: number
68
+ aString: number
69
+ aNumber: number
70
+ aDouble: number
71
+ aOptionalString: number
72
+ createdBy: number
73
+ scope: number
74
+ createdAt: number
75
+ updatedAt: number
76
+ _all: number
77
+ }
78
+
79
+
80
+ export type AdversarialResourceAvgAggregateInputType = {
81
+ aNumber?: true
82
+ aDouble?: true
83
+ }
84
+
85
+ export type AdversarialResourceSumAggregateInputType = {
86
+ aNumber?: true
87
+ aDouble?: true
88
+ }
89
+
90
+ export type AdversarialResourceMinAggregateInputType = {
91
+ id?: true
92
+ aBool?: true
93
+ aString?: true
94
+ aNumber?: true
95
+ aDouble?: true
96
+ aOptionalString?: true
97
+ createdBy?: true
98
+ scope?: true
99
+ createdAt?: true
100
+ updatedAt?: true
101
+ }
102
+
103
+ export type AdversarialResourceMaxAggregateInputType = {
104
+ id?: true
105
+ aBool?: true
106
+ aString?: true
107
+ aNumber?: true
108
+ aDouble?: true
109
+ aOptionalString?: true
110
+ createdBy?: true
111
+ scope?: true
112
+ createdAt?: true
113
+ updatedAt?: true
114
+ }
115
+
116
+ export type AdversarialResourceCountAggregateInputType = {
117
+ id?: true
118
+ aBool?: true
119
+ aString?: true
120
+ aNumber?: true
121
+ aDouble?: true
122
+ aOptionalString?: true
123
+ createdBy?: true
124
+ scope?: true
125
+ createdAt?: true
126
+ updatedAt?: true
127
+ _all?: true
128
+ }
129
+
130
+ export type AdversarialResourceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
131
+ /**
132
+ * Filter which AdversarialResource to aggregate.
133
+ */
134
+ where?: Prisma.AdversarialResourceWhereInput
135
+ /**
136
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
137
+ *
138
+ * Determine the order of AdversarialResources to fetch.
139
+ */
140
+ orderBy?: Prisma.AdversarialResourceOrderByWithRelationInput | Prisma.AdversarialResourceOrderByWithRelationInput[]
141
+ /**
142
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
143
+ *
144
+ * Sets the start position
145
+ */
146
+ cursor?: Prisma.AdversarialResourceWhereUniqueInput
147
+ /**
148
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
149
+ *
150
+ * Take `±n` AdversarialResources from the position of the cursor.
151
+ */
152
+ take?: number
153
+ /**
154
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
155
+ *
156
+ * Skip the first `n` AdversarialResources.
157
+ */
158
+ skip?: number
159
+ /**
160
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
161
+ *
162
+ * Count returned AdversarialResources
163
+ **/
164
+ _count?: true | AdversarialResourceCountAggregateInputType
165
+ /**
166
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
167
+ *
168
+ * Select which fields to average
169
+ **/
170
+ _avg?: AdversarialResourceAvgAggregateInputType
171
+ /**
172
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
173
+ *
174
+ * Select which fields to sum
175
+ **/
176
+ _sum?: AdversarialResourceSumAggregateInputType
177
+ /**
178
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
179
+ *
180
+ * Select which fields to find the minimum value
181
+ **/
182
+ _min?: AdversarialResourceMinAggregateInputType
183
+ /**
184
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
185
+ *
186
+ * Select which fields to find the maximum value
187
+ **/
188
+ _max?: AdversarialResourceMaxAggregateInputType
189
+ }
190
+
191
+ export type GetAdversarialResourceAggregateType<T extends AdversarialResourceAggregateArgs> = {
192
+ [P in keyof T & keyof AggregateAdversarialResource]: P extends '_count' | 'count'
193
+ ? T[P] extends true
194
+ ? number
195
+ : Prisma.GetScalarType<T[P], AggregateAdversarialResource[P]>
196
+ : Prisma.GetScalarType<T[P], AggregateAdversarialResource[P]>
197
+ }
198
+
199
+
200
+
201
+
202
+ export type AdversarialResourceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
203
+ where?: Prisma.AdversarialResourceWhereInput
204
+ orderBy?: Prisma.AdversarialResourceOrderByWithAggregationInput | Prisma.AdversarialResourceOrderByWithAggregationInput[]
205
+ by: Prisma.AdversarialResourceScalarFieldEnum[] | Prisma.AdversarialResourceScalarFieldEnum
206
+ having?: Prisma.AdversarialResourceScalarWhereWithAggregatesInput
207
+ take?: number
208
+ skip?: number
209
+ _count?: AdversarialResourceCountAggregateInputType | true
210
+ _avg?: AdversarialResourceAvgAggregateInputType
211
+ _sum?: AdversarialResourceSumAggregateInputType
212
+ _min?: AdversarialResourceMinAggregateInputType
213
+ _max?: AdversarialResourceMaxAggregateInputType
214
+ }
215
+
216
+ export type AdversarialResourceGroupByOutputType = {
217
+ id: string
218
+ aBool: boolean | null
219
+ aString: string | null
220
+ aNumber: number | null
221
+ aDouble: number | null
222
+ aOptionalString: string | null
223
+ createdBy: string
224
+ scope: string | null
225
+ createdAt: Date | null
226
+ updatedAt: Date | null
227
+ _count: AdversarialResourceCountAggregateOutputType | null
228
+ _avg: AdversarialResourceAvgAggregateOutputType | null
229
+ _sum: AdversarialResourceSumAggregateOutputType | null
230
+ _min: AdversarialResourceMinAggregateOutputType | null
231
+ _max: AdversarialResourceMaxAggregateOutputType | null
232
+ }
233
+
234
+ export type GetAdversarialResourceGroupByPayload<T extends AdversarialResourceGroupByArgs> = Prisma.PrismaPromise<
235
+ Array<
236
+ Prisma.PickEnumerable<AdversarialResourceGroupByOutputType, T['by']> &
237
+ {
238
+ [P in ((keyof T) & (keyof AdversarialResourceGroupByOutputType))]: P extends '_count'
239
+ ? T[P] extends boolean
240
+ ? number
241
+ : Prisma.GetScalarType<T[P], AdversarialResourceGroupByOutputType[P]>
242
+ : Prisma.GetScalarType<T[P], AdversarialResourceGroupByOutputType[P]>
243
+ }
244
+ >
245
+ >
246
+
247
+
248
+
249
+ export type AdversarialResourceWhereInput = {
250
+ AND?: Prisma.AdversarialResourceWhereInput | Prisma.AdversarialResourceWhereInput[]
251
+ OR?: Prisma.AdversarialResourceWhereInput[]
252
+ NOT?: Prisma.AdversarialResourceWhereInput | Prisma.AdversarialResourceWhereInput[]
253
+ id?: Prisma.StringFilter<"AdversarialResource"> | string
254
+ aBool?: Prisma.BoolNullableFilter<"AdversarialResource"> | boolean | null
255
+ aString?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
256
+ aNumber?: Prisma.IntNullableFilter<"AdversarialResource"> | number | null
257
+ aDouble?: Prisma.FloatNullableFilter<"AdversarialResource"> | number | null
258
+ aOptionalString?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
259
+ createdBy?: Prisma.StringFilter<"AdversarialResource"> | string
260
+ scope?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
261
+ createdAt?: Prisma.DateTimeNullableFilter<"AdversarialResource"> | Date | string | null
262
+ updatedAt?: Prisma.DateTimeNullableFilter<"AdversarialResource"> | Date | string | null
263
+ tags?: Prisma.AdversarialTagListRelationFilter
264
+ categories?: Prisma.AdversarialCategoryListRelationFilter
265
+ parent?: Prisma.XOR<Prisma.AdversarialParentNullableScalarRelationFilter, Prisma.AdversarialParentWhereInput> | null
266
+ numberList?: Prisma.AdversarialNumberListElementListRelationFilter
267
+ boolList?: Prisma.AdversarialBoolListElementListRelationFilter
268
+ }
269
+
270
+ export type AdversarialResourceOrderByWithRelationInput = {
271
+ id?: Prisma.SortOrder
272
+ aBool?: Prisma.SortOrderInput | Prisma.SortOrder
273
+ aString?: Prisma.SortOrderInput | Prisma.SortOrder
274
+ aNumber?: Prisma.SortOrderInput | Prisma.SortOrder
275
+ aDouble?: Prisma.SortOrderInput | Prisma.SortOrder
276
+ aOptionalString?: Prisma.SortOrderInput | Prisma.SortOrder
277
+ createdBy?: Prisma.SortOrder
278
+ scope?: Prisma.SortOrderInput | Prisma.SortOrder
279
+ createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
280
+ updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
281
+ tags?: Prisma.AdversarialTagOrderByRelationAggregateInput
282
+ categories?: Prisma.AdversarialCategoryOrderByRelationAggregateInput
283
+ parent?: Prisma.AdversarialParentOrderByWithRelationInput
284
+ numberList?: Prisma.AdversarialNumberListElementOrderByRelationAggregateInput
285
+ boolList?: Prisma.AdversarialBoolListElementOrderByRelationAggregateInput
286
+ _relevance?: Prisma.AdversarialResourceOrderByRelevanceInput
287
+ }
288
+
289
+ export type AdversarialResourceWhereUniqueInput = Prisma.AtLeast<{
290
+ id?: string
291
+ AND?: Prisma.AdversarialResourceWhereInput | Prisma.AdversarialResourceWhereInput[]
292
+ OR?: Prisma.AdversarialResourceWhereInput[]
293
+ NOT?: Prisma.AdversarialResourceWhereInput | Prisma.AdversarialResourceWhereInput[]
294
+ aBool?: Prisma.BoolNullableFilter<"AdversarialResource"> | boolean | null
295
+ aString?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
296
+ aNumber?: Prisma.IntNullableFilter<"AdversarialResource"> | number | null
297
+ aDouble?: Prisma.FloatNullableFilter<"AdversarialResource"> | number | null
298
+ aOptionalString?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
299
+ createdBy?: Prisma.StringFilter<"AdversarialResource"> | string
300
+ scope?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
301
+ createdAt?: Prisma.DateTimeNullableFilter<"AdversarialResource"> | Date | string | null
302
+ updatedAt?: Prisma.DateTimeNullableFilter<"AdversarialResource"> | Date | string | null
303
+ tags?: Prisma.AdversarialTagListRelationFilter
304
+ categories?: Prisma.AdversarialCategoryListRelationFilter
305
+ parent?: Prisma.XOR<Prisma.AdversarialParentNullableScalarRelationFilter, Prisma.AdversarialParentWhereInput> | null
306
+ numberList?: Prisma.AdversarialNumberListElementListRelationFilter
307
+ boolList?: Prisma.AdversarialBoolListElementListRelationFilter
308
+ }, "id">
309
+
310
+ export type AdversarialResourceOrderByWithAggregationInput = {
311
+ id?: Prisma.SortOrder
312
+ aBool?: Prisma.SortOrderInput | Prisma.SortOrder
313
+ aString?: Prisma.SortOrderInput | Prisma.SortOrder
314
+ aNumber?: Prisma.SortOrderInput | Prisma.SortOrder
315
+ aDouble?: Prisma.SortOrderInput | Prisma.SortOrder
316
+ aOptionalString?: Prisma.SortOrderInput | Prisma.SortOrder
317
+ createdBy?: Prisma.SortOrder
318
+ scope?: Prisma.SortOrderInput | Prisma.SortOrder
319
+ createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
320
+ updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
321
+ _count?: Prisma.AdversarialResourceCountOrderByAggregateInput
322
+ _avg?: Prisma.AdversarialResourceAvgOrderByAggregateInput
323
+ _max?: Prisma.AdversarialResourceMaxOrderByAggregateInput
324
+ _min?: Prisma.AdversarialResourceMinOrderByAggregateInput
325
+ _sum?: Prisma.AdversarialResourceSumOrderByAggregateInput
326
+ }
327
+
328
+ export type AdversarialResourceScalarWhereWithAggregatesInput = {
329
+ AND?: Prisma.AdversarialResourceScalarWhereWithAggregatesInput | Prisma.AdversarialResourceScalarWhereWithAggregatesInput[]
330
+ OR?: Prisma.AdversarialResourceScalarWhereWithAggregatesInput[]
331
+ NOT?: Prisma.AdversarialResourceScalarWhereWithAggregatesInput | Prisma.AdversarialResourceScalarWhereWithAggregatesInput[]
332
+ id?: Prisma.StringWithAggregatesFilter<"AdversarialResource"> | string
333
+ aBool?: Prisma.BoolNullableWithAggregatesFilter<"AdversarialResource"> | boolean | null
334
+ aString?: Prisma.StringNullableWithAggregatesFilter<"AdversarialResource"> | string | null
335
+ aNumber?: Prisma.IntNullableWithAggregatesFilter<"AdversarialResource"> | number | null
336
+ aDouble?: Prisma.FloatNullableWithAggregatesFilter<"AdversarialResource"> | number | null
337
+ aOptionalString?: Prisma.StringNullableWithAggregatesFilter<"AdversarialResource"> | string | null
338
+ createdBy?: Prisma.StringWithAggregatesFilter<"AdversarialResource"> | string
339
+ scope?: Prisma.StringNullableWithAggregatesFilter<"AdversarialResource"> | string | null
340
+ createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdversarialResource"> | Date | string | null
341
+ updatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdversarialResource"> | Date | string | null
342
+ }
343
+
344
+ export type AdversarialResourceCreateInput = {
345
+ id: string
346
+ aBool?: boolean | null
347
+ aString?: string | null
348
+ aNumber?: number | null
349
+ aDouble?: number | null
350
+ aOptionalString?: string | null
351
+ createdBy: string
352
+ scope?: string | null
353
+ createdAt?: Date | string | null
354
+ updatedAt?: Date | string | null
355
+ tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
356
+ categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
357
+ parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
358
+ numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
359
+ boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
360
+ }
361
+
362
+ export type AdversarialResourceUncheckedCreateInput = {
363
+ id: string
364
+ aBool?: boolean | null
365
+ aString?: string | null
366
+ aNumber?: number | null
367
+ aDouble?: number | null
368
+ aOptionalString?: string | null
369
+ createdBy: string
370
+ scope?: string | null
371
+ createdAt?: Date | string | null
372
+ updatedAt?: Date | string | null
373
+ tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
374
+ categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
375
+ parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
376
+ numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
377
+ boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
378
+ }
379
+
380
+ export type AdversarialResourceUpdateInput = {
381
+ id?: Prisma.StringFieldUpdateOperationsInput | string
382
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
383
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
384
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
385
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
386
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
387
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
388
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
389
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
390
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
391
+ tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
392
+ categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
393
+ parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
394
+ numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
395
+ boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
396
+ }
397
+
398
+ export type AdversarialResourceUncheckedUpdateInput = {
399
+ id?: Prisma.StringFieldUpdateOperationsInput | string
400
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
401
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
402
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
403
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
404
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
405
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
406
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
407
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
408
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
409
+ tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
410
+ categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
411
+ parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
412
+ numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
413
+ boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
414
+ }
415
+
416
+ export type AdversarialResourceCreateManyInput = {
417
+ id: string
418
+ aBool?: boolean | null
419
+ aString?: string | null
420
+ aNumber?: number | null
421
+ aDouble?: number | null
422
+ aOptionalString?: string | null
423
+ createdBy: string
424
+ scope?: string | null
425
+ createdAt?: Date | string | null
426
+ updatedAt?: Date | string | null
427
+ }
428
+
429
+ export type AdversarialResourceUpdateManyMutationInput = {
430
+ id?: Prisma.StringFieldUpdateOperationsInput | string
431
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
432
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
433
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
434
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
435
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
436
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
437
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
438
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
439
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
440
+ }
441
+
442
+ export type AdversarialResourceUncheckedUpdateManyInput = {
443
+ id?: Prisma.StringFieldUpdateOperationsInput | string
444
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
445
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
446
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
447
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
448
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
449
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
450
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
451
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
452
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
453
+ }
454
+
455
+ export type AdversarialResourceOrderByRelevanceInput = {
456
+ fields: Prisma.AdversarialResourceOrderByRelevanceFieldEnum | Prisma.AdversarialResourceOrderByRelevanceFieldEnum[]
457
+ sort: Prisma.SortOrder
458
+ search: string
459
+ }
460
+
461
+ export type AdversarialResourceCountOrderByAggregateInput = {
462
+ id?: Prisma.SortOrder
463
+ aBool?: Prisma.SortOrder
464
+ aString?: Prisma.SortOrder
465
+ aNumber?: Prisma.SortOrder
466
+ aDouble?: Prisma.SortOrder
467
+ aOptionalString?: Prisma.SortOrder
468
+ createdBy?: Prisma.SortOrder
469
+ scope?: Prisma.SortOrder
470
+ createdAt?: Prisma.SortOrder
471
+ updatedAt?: Prisma.SortOrder
472
+ }
473
+
474
+ export type AdversarialResourceAvgOrderByAggregateInput = {
475
+ aNumber?: Prisma.SortOrder
476
+ aDouble?: Prisma.SortOrder
477
+ }
478
+
479
+ export type AdversarialResourceMaxOrderByAggregateInput = {
480
+ id?: Prisma.SortOrder
481
+ aBool?: Prisma.SortOrder
482
+ aString?: Prisma.SortOrder
483
+ aNumber?: Prisma.SortOrder
484
+ aDouble?: Prisma.SortOrder
485
+ aOptionalString?: Prisma.SortOrder
486
+ createdBy?: Prisma.SortOrder
487
+ scope?: Prisma.SortOrder
488
+ createdAt?: Prisma.SortOrder
489
+ updatedAt?: Prisma.SortOrder
490
+ }
491
+
492
+ export type AdversarialResourceMinOrderByAggregateInput = {
493
+ id?: Prisma.SortOrder
494
+ aBool?: Prisma.SortOrder
495
+ aString?: Prisma.SortOrder
496
+ aNumber?: Prisma.SortOrder
497
+ aDouble?: Prisma.SortOrder
498
+ aOptionalString?: Prisma.SortOrder
499
+ createdBy?: Prisma.SortOrder
500
+ scope?: Prisma.SortOrder
501
+ createdAt?: Prisma.SortOrder
502
+ updatedAt?: Prisma.SortOrder
503
+ }
504
+
505
+ export type AdversarialResourceSumOrderByAggregateInput = {
506
+ aNumber?: Prisma.SortOrder
507
+ aDouble?: Prisma.SortOrder
508
+ }
509
+
510
+ export type AdversarialResourceScalarRelationFilter = {
511
+ is?: Prisma.AdversarialResourceWhereInput
512
+ isNot?: Prisma.AdversarialResourceWhereInput
513
+ }
514
+
515
+ export type StringFieldUpdateOperationsInput = {
516
+ set?: string
517
+ }
518
+
519
+ export type NullableBoolFieldUpdateOperationsInput = {
520
+ set?: boolean | null
521
+ }
522
+
523
+ export type NullableStringFieldUpdateOperationsInput = {
524
+ set?: string | null
525
+ }
526
+
527
+ export type NullableIntFieldUpdateOperationsInput = {
528
+ set?: number | null
529
+ increment?: number
530
+ decrement?: number
531
+ multiply?: number
532
+ divide?: number
533
+ }
534
+
535
+ export type NullableFloatFieldUpdateOperationsInput = {
536
+ set?: number | null
537
+ increment?: number
538
+ decrement?: number
539
+ multiply?: number
540
+ divide?: number
541
+ }
542
+
543
+ export type NullableDateTimeFieldUpdateOperationsInput = {
544
+ set?: Date | string | null
545
+ }
546
+
547
+ export type AdversarialResourceCreateNestedOneWithoutTagsInput = {
548
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutTagsInput, Prisma.AdversarialResourceUncheckedCreateWithoutTagsInput>
549
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutTagsInput
550
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
551
+ }
552
+
553
+ export type AdversarialResourceUpdateOneRequiredWithoutTagsNestedInput = {
554
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutTagsInput, Prisma.AdversarialResourceUncheckedCreateWithoutTagsInput>
555
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutTagsInput
556
+ upsert?: Prisma.AdversarialResourceUpsertWithoutTagsInput
557
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
558
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AdversarialResourceUpdateToOneWithWhereWithoutTagsInput, Prisma.AdversarialResourceUpdateWithoutTagsInput>, Prisma.AdversarialResourceUncheckedUpdateWithoutTagsInput>
559
+ }
560
+
561
+ export type AdversarialResourceCreateNestedOneWithoutCategoriesInput = {
562
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutCategoriesInput, Prisma.AdversarialResourceUncheckedCreateWithoutCategoriesInput>
563
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutCategoriesInput
564
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
565
+ }
566
+
567
+ export type AdversarialResourceUpdateOneRequiredWithoutCategoriesNestedInput = {
568
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutCategoriesInput, Prisma.AdversarialResourceUncheckedCreateWithoutCategoriesInput>
569
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutCategoriesInput
570
+ upsert?: Prisma.AdversarialResourceUpsertWithoutCategoriesInput
571
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
572
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AdversarialResourceUpdateToOneWithWhereWithoutCategoriesInput, Prisma.AdversarialResourceUpdateWithoutCategoriesInput>, Prisma.AdversarialResourceUncheckedUpdateWithoutCategoriesInput>
573
+ }
574
+
575
+ export type AdversarialResourceCreateNestedOneWithoutParentInput = {
576
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutParentInput, Prisma.AdversarialResourceUncheckedCreateWithoutParentInput>
577
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutParentInput
578
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
579
+ }
580
+
581
+ export type AdversarialResourceUpdateOneRequiredWithoutParentNestedInput = {
582
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutParentInput, Prisma.AdversarialResourceUncheckedCreateWithoutParentInput>
583
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutParentInput
584
+ upsert?: Prisma.AdversarialResourceUpsertWithoutParentInput
585
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
586
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AdversarialResourceUpdateToOneWithWhereWithoutParentInput, Prisma.AdversarialResourceUpdateWithoutParentInput>, Prisma.AdversarialResourceUncheckedUpdateWithoutParentInput>
587
+ }
588
+
589
+ export type AdversarialResourceCreateNestedOneWithoutNumberListInput = {
590
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedCreateWithoutNumberListInput>
591
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutNumberListInput
592
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
593
+ }
594
+
595
+ export type AdversarialResourceUpdateOneRequiredWithoutNumberListNestedInput = {
596
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedCreateWithoutNumberListInput>
597
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutNumberListInput
598
+ upsert?: Prisma.AdversarialResourceUpsertWithoutNumberListInput
599
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
600
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AdversarialResourceUpdateToOneWithWhereWithoutNumberListInput, Prisma.AdversarialResourceUpdateWithoutNumberListInput>, Prisma.AdversarialResourceUncheckedUpdateWithoutNumberListInput>
601
+ }
602
+
603
+ export type AdversarialResourceCreateNestedOneWithoutBoolListInput = {
604
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedCreateWithoutBoolListInput>
605
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutBoolListInput
606
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
607
+ }
608
+
609
+ export type AdversarialResourceUpdateOneRequiredWithoutBoolListNestedInput = {
610
+ create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedCreateWithoutBoolListInput>
611
+ connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutBoolListInput
612
+ upsert?: Prisma.AdversarialResourceUpsertWithoutBoolListInput
613
+ connect?: Prisma.AdversarialResourceWhereUniqueInput
614
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AdversarialResourceUpdateToOneWithWhereWithoutBoolListInput, Prisma.AdversarialResourceUpdateWithoutBoolListInput>, Prisma.AdversarialResourceUncheckedUpdateWithoutBoolListInput>
615
+ }
616
+
617
+ export type AdversarialResourceCreateWithoutTagsInput = {
618
+ id: string
619
+ aBool?: boolean | null
620
+ aString?: string | null
621
+ aNumber?: number | null
622
+ aDouble?: number | null
623
+ aOptionalString?: string | null
624
+ createdBy: string
625
+ scope?: string | null
626
+ createdAt?: Date | string | null
627
+ updatedAt?: Date | string | null
628
+ categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
629
+ parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
630
+ numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
631
+ boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
632
+ }
633
+
634
+ export type AdversarialResourceUncheckedCreateWithoutTagsInput = {
635
+ id: string
636
+ aBool?: boolean | null
637
+ aString?: string | null
638
+ aNumber?: number | null
639
+ aDouble?: number | null
640
+ aOptionalString?: string | null
641
+ createdBy: string
642
+ scope?: string | null
643
+ createdAt?: Date | string | null
644
+ updatedAt?: Date | string | null
645
+ categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
646
+ parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
647
+ numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
648
+ boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
649
+ }
650
+
651
+ export type AdversarialResourceCreateOrConnectWithoutTagsInput = {
652
+ where: Prisma.AdversarialResourceWhereUniqueInput
653
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutTagsInput, Prisma.AdversarialResourceUncheckedCreateWithoutTagsInput>
654
+ }
655
+
656
+ export type AdversarialResourceUpsertWithoutTagsInput = {
657
+ update: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutTagsInput, Prisma.AdversarialResourceUncheckedUpdateWithoutTagsInput>
658
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutTagsInput, Prisma.AdversarialResourceUncheckedCreateWithoutTagsInput>
659
+ where?: Prisma.AdversarialResourceWhereInput
660
+ }
661
+
662
+ export type AdversarialResourceUpdateToOneWithWhereWithoutTagsInput = {
663
+ where?: Prisma.AdversarialResourceWhereInput
664
+ data: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutTagsInput, Prisma.AdversarialResourceUncheckedUpdateWithoutTagsInput>
665
+ }
666
+
667
+ export type AdversarialResourceUpdateWithoutTagsInput = {
668
+ id?: Prisma.StringFieldUpdateOperationsInput | string
669
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
670
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
671
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
672
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
673
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
674
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
675
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
676
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
677
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
678
+ categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
679
+ parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
680
+ numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
681
+ boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
682
+ }
683
+
684
+ export type AdversarialResourceUncheckedUpdateWithoutTagsInput = {
685
+ id?: Prisma.StringFieldUpdateOperationsInput | string
686
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
687
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
688
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
689
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
690
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
691
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
692
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
693
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
694
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
695
+ categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
696
+ parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
697
+ numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
698
+ boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
699
+ }
700
+
701
+ export type AdversarialResourceCreateWithoutCategoriesInput = {
702
+ id: string
703
+ aBool?: boolean | null
704
+ aString?: string | null
705
+ aNumber?: number | null
706
+ aDouble?: number | null
707
+ aOptionalString?: string | null
708
+ createdBy: string
709
+ scope?: string | null
710
+ createdAt?: Date | string | null
711
+ updatedAt?: Date | string | null
712
+ tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
713
+ parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
714
+ numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
715
+ boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
716
+ }
717
+
718
+ export type AdversarialResourceUncheckedCreateWithoutCategoriesInput = {
719
+ id: string
720
+ aBool?: boolean | null
721
+ aString?: string | null
722
+ aNumber?: number | null
723
+ aDouble?: number | null
724
+ aOptionalString?: string | null
725
+ createdBy: string
726
+ scope?: string | null
727
+ createdAt?: Date | string | null
728
+ updatedAt?: Date | string | null
729
+ tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
730
+ parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
731
+ numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
732
+ boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
733
+ }
734
+
735
+ export type AdversarialResourceCreateOrConnectWithoutCategoriesInput = {
736
+ where: Prisma.AdversarialResourceWhereUniqueInput
737
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutCategoriesInput, Prisma.AdversarialResourceUncheckedCreateWithoutCategoriesInput>
738
+ }
739
+
740
+ export type AdversarialResourceUpsertWithoutCategoriesInput = {
741
+ update: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutCategoriesInput, Prisma.AdversarialResourceUncheckedUpdateWithoutCategoriesInput>
742
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutCategoriesInput, Prisma.AdversarialResourceUncheckedCreateWithoutCategoriesInput>
743
+ where?: Prisma.AdversarialResourceWhereInput
744
+ }
745
+
746
+ export type AdversarialResourceUpdateToOneWithWhereWithoutCategoriesInput = {
747
+ where?: Prisma.AdversarialResourceWhereInput
748
+ data: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutCategoriesInput, Prisma.AdversarialResourceUncheckedUpdateWithoutCategoriesInput>
749
+ }
750
+
751
+ export type AdversarialResourceUpdateWithoutCategoriesInput = {
752
+ id?: Prisma.StringFieldUpdateOperationsInput | string
753
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
754
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
755
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
756
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
757
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
758
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
759
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
760
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
761
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
762
+ tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
763
+ parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
764
+ numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
765
+ boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
766
+ }
767
+
768
+ export type AdversarialResourceUncheckedUpdateWithoutCategoriesInput = {
769
+ id?: Prisma.StringFieldUpdateOperationsInput | string
770
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
771
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
772
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
773
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
774
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
775
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
776
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
777
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
778
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
779
+ tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
780
+ parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
781
+ numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
782
+ boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
783
+ }
784
+
785
+ export type AdversarialResourceCreateWithoutParentInput = {
786
+ id: string
787
+ aBool?: boolean | null
788
+ aString?: string | null
789
+ aNumber?: number | null
790
+ aDouble?: number | null
791
+ aOptionalString?: string | null
792
+ createdBy: string
793
+ scope?: string | null
794
+ createdAt?: Date | string | null
795
+ updatedAt?: Date | string | null
796
+ tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
797
+ categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
798
+ numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
799
+ boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
800
+ }
801
+
802
+ export type AdversarialResourceUncheckedCreateWithoutParentInput = {
803
+ id: string
804
+ aBool?: boolean | null
805
+ aString?: string | null
806
+ aNumber?: number | null
807
+ aDouble?: number | null
808
+ aOptionalString?: string | null
809
+ createdBy: string
810
+ scope?: string | null
811
+ createdAt?: Date | string | null
812
+ updatedAt?: Date | string | null
813
+ tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
814
+ categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
815
+ numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
816
+ boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
817
+ }
818
+
819
+ export type AdversarialResourceCreateOrConnectWithoutParentInput = {
820
+ where: Prisma.AdversarialResourceWhereUniqueInput
821
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutParentInput, Prisma.AdversarialResourceUncheckedCreateWithoutParentInput>
822
+ }
823
+
824
+ export type AdversarialResourceUpsertWithoutParentInput = {
825
+ update: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutParentInput, Prisma.AdversarialResourceUncheckedUpdateWithoutParentInput>
826
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutParentInput, Prisma.AdversarialResourceUncheckedCreateWithoutParentInput>
827
+ where?: Prisma.AdversarialResourceWhereInput
828
+ }
829
+
830
+ export type AdversarialResourceUpdateToOneWithWhereWithoutParentInput = {
831
+ where?: Prisma.AdversarialResourceWhereInput
832
+ data: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutParentInput, Prisma.AdversarialResourceUncheckedUpdateWithoutParentInput>
833
+ }
834
+
835
+ export type AdversarialResourceUpdateWithoutParentInput = {
836
+ id?: Prisma.StringFieldUpdateOperationsInput | string
837
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
838
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
839
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
840
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
841
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
842
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
843
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
844
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
845
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
846
+ tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
847
+ categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
848
+ numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
849
+ boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
850
+ }
851
+
852
+ export type AdversarialResourceUncheckedUpdateWithoutParentInput = {
853
+ id?: Prisma.StringFieldUpdateOperationsInput | string
854
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
855
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
856
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
857
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
858
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
859
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
860
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
861
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
862
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
863
+ tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
864
+ categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
865
+ numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
866
+ boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
867
+ }
868
+
869
+ export type AdversarialResourceCreateWithoutNumberListInput = {
870
+ id: string
871
+ aBool?: boolean | null
872
+ aString?: string | null
873
+ aNumber?: number | null
874
+ aDouble?: number | null
875
+ aOptionalString?: string | null
876
+ createdBy: string
877
+ scope?: string | null
878
+ createdAt?: Date | string | null
879
+ updatedAt?: Date | string | null
880
+ tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
881
+ categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
882
+ parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
883
+ boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
884
+ }
885
+
886
+ export type AdversarialResourceUncheckedCreateWithoutNumberListInput = {
887
+ id: string
888
+ aBool?: boolean | null
889
+ aString?: string | null
890
+ aNumber?: number | null
891
+ aDouble?: number | null
892
+ aOptionalString?: string | null
893
+ createdBy: string
894
+ scope?: string | null
895
+ createdAt?: Date | string | null
896
+ updatedAt?: Date | string | null
897
+ tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
898
+ categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
899
+ parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
900
+ boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
901
+ }
902
+
903
+ export type AdversarialResourceCreateOrConnectWithoutNumberListInput = {
904
+ where: Prisma.AdversarialResourceWhereUniqueInput
905
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedCreateWithoutNumberListInput>
906
+ }
907
+
908
+ export type AdversarialResourceUpsertWithoutNumberListInput = {
909
+ update: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedUpdateWithoutNumberListInput>
910
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedCreateWithoutNumberListInput>
911
+ where?: Prisma.AdversarialResourceWhereInput
912
+ }
913
+
914
+ export type AdversarialResourceUpdateToOneWithWhereWithoutNumberListInput = {
915
+ where?: Prisma.AdversarialResourceWhereInput
916
+ data: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedUpdateWithoutNumberListInput>
917
+ }
918
+
919
+ export type AdversarialResourceUpdateWithoutNumberListInput = {
920
+ id?: Prisma.StringFieldUpdateOperationsInput | string
921
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
922
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
923
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
924
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
925
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
926
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
927
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
928
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
929
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
930
+ tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
931
+ categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
932
+ parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
933
+ boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
934
+ }
935
+
936
+ export type AdversarialResourceUncheckedUpdateWithoutNumberListInput = {
937
+ id?: Prisma.StringFieldUpdateOperationsInput | string
938
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
939
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
940
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
941
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
942
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
943
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
944
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
945
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
946
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
947
+ tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
948
+ categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
949
+ parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
950
+ boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
951
+ }
952
+
953
+ export type AdversarialResourceCreateWithoutBoolListInput = {
954
+ id: string
955
+ aBool?: boolean | null
956
+ aString?: string | null
957
+ aNumber?: number | null
958
+ aDouble?: number | null
959
+ aOptionalString?: string | null
960
+ createdBy: string
961
+ scope?: string | null
962
+ createdAt?: Date | string | null
963
+ updatedAt?: Date | string | null
964
+ tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
965
+ categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
966
+ parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
967
+ numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
968
+ }
969
+
970
+ export type AdversarialResourceUncheckedCreateWithoutBoolListInput = {
971
+ id: string
972
+ aBool?: boolean | null
973
+ aString?: string | null
974
+ aNumber?: number | null
975
+ aDouble?: number | null
976
+ aOptionalString?: string | null
977
+ createdBy: string
978
+ scope?: string | null
979
+ createdAt?: Date | string | null
980
+ updatedAt?: Date | string | null
981
+ tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
982
+ categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
983
+ parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
984
+ numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
985
+ }
986
+
987
+ export type AdversarialResourceCreateOrConnectWithoutBoolListInput = {
988
+ where: Prisma.AdversarialResourceWhereUniqueInput
989
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedCreateWithoutBoolListInput>
990
+ }
991
+
992
+ export type AdversarialResourceUpsertWithoutBoolListInput = {
993
+ update: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedUpdateWithoutBoolListInput>
994
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedCreateWithoutBoolListInput>
995
+ where?: Prisma.AdversarialResourceWhereInput
996
+ }
997
+
998
+ export type AdversarialResourceUpdateToOneWithWhereWithoutBoolListInput = {
999
+ where?: Prisma.AdversarialResourceWhereInput
1000
+ data: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedUpdateWithoutBoolListInput>
1001
+ }
1002
+
1003
+ export type AdversarialResourceUpdateWithoutBoolListInput = {
1004
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1005
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1006
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1007
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1008
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
1009
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1010
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
1011
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1012
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1013
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1014
+ tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
1015
+ categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
1016
+ parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
1017
+ numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
1018
+ }
1019
+
1020
+ export type AdversarialResourceUncheckedUpdateWithoutBoolListInput = {
1021
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1022
+ aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
1023
+ aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1024
+ aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1025
+ aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
1026
+ aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1027
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
1028
+ scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1029
+ createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1030
+ updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1031
+ tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
1032
+ categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
1033
+ parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
1034
+ numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
1035
+ }
1036
+
1037
+
1038
+ /**
1039
+ * Count Type AdversarialResourceCountOutputType
1040
+ */
1041
+
1042
+ export type AdversarialResourceCountOutputType = {
1043
+ tags: number
1044
+ categories: number
1045
+ numberList: number
1046
+ boolList: number
1047
+ }
1048
+
1049
+ export type AdversarialResourceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1050
+ tags?: boolean | AdversarialResourceCountOutputTypeCountTagsArgs
1051
+ categories?: boolean | AdversarialResourceCountOutputTypeCountCategoriesArgs
1052
+ numberList?: boolean | AdversarialResourceCountOutputTypeCountNumberListArgs
1053
+ boolList?: boolean | AdversarialResourceCountOutputTypeCountBoolListArgs
1054
+ }
1055
+
1056
+ /**
1057
+ * AdversarialResourceCountOutputType without action
1058
+ */
1059
+ export type AdversarialResourceCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1060
+ /**
1061
+ * Select specific fields to fetch from the AdversarialResourceCountOutputType
1062
+ */
1063
+ select?: Prisma.AdversarialResourceCountOutputTypeSelect<ExtArgs> | null
1064
+ }
1065
+
1066
+ /**
1067
+ * AdversarialResourceCountOutputType without action
1068
+ */
1069
+ export type AdversarialResourceCountOutputTypeCountTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1070
+ where?: Prisma.AdversarialTagWhereInput
1071
+ }
1072
+
1073
+ /**
1074
+ * AdversarialResourceCountOutputType without action
1075
+ */
1076
+ export type AdversarialResourceCountOutputTypeCountCategoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1077
+ where?: Prisma.AdversarialCategoryWhereInput
1078
+ }
1079
+
1080
+ /**
1081
+ * AdversarialResourceCountOutputType without action
1082
+ */
1083
+ export type AdversarialResourceCountOutputTypeCountNumberListArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1084
+ where?: Prisma.AdversarialNumberListElementWhereInput
1085
+ }
1086
+
1087
+ /**
1088
+ * AdversarialResourceCountOutputType without action
1089
+ */
1090
+ export type AdversarialResourceCountOutputTypeCountBoolListArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1091
+ where?: Prisma.AdversarialBoolListElementWhereInput
1092
+ }
1093
+
1094
+
1095
+ export type AdversarialResourceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1096
+ id?: boolean
1097
+ aBool?: boolean
1098
+ aString?: boolean
1099
+ aNumber?: boolean
1100
+ aDouble?: boolean
1101
+ aOptionalString?: boolean
1102
+ createdBy?: boolean
1103
+ scope?: boolean
1104
+ createdAt?: boolean
1105
+ updatedAt?: boolean
1106
+ tags?: boolean | Prisma.AdversarialResource$tagsArgs<ExtArgs>
1107
+ categories?: boolean | Prisma.AdversarialResource$categoriesArgs<ExtArgs>
1108
+ parent?: boolean | Prisma.AdversarialResource$parentArgs<ExtArgs>
1109
+ numberList?: boolean | Prisma.AdversarialResource$numberListArgs<ExtArgs>
1110
+ boolList?: boolean | Prisma.AdversarialResource$boolListArgs<ExtArgs>
1111
+ _count?: boolean | Prisma.AdversarialResourceCountOutputTypeDefaultArgs<ExtArgs>
1112
+ }, ExtArgs["result"]["adversarialResource"]>
1113
+
1114
+
1115
+
1116
+ export type AdversarialResourceSelectScalar = {
1117
+ id?: boolean
1118
+ aBool?: boolean
1119
+ aString?: boolean
1120
+ aNumber?: boolean
1121
+ aDouble?: boolean
1122
+ aOptionalString?: boolean
1123
+ createdBy?: boolean
1124
+ scope?: boolean
1125
+ createdAt?: boolean
1126
+ updatedAt?: boolean
1127
+ }
1128
+
1129
+ export type AdversarialResourceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "aBool" | "aString" | "aNumber" | "aDouble" | "aOptionalString" | "createdBy" | "scope" | "createdAt" | "updatedAt", ExtArgs["result"]["adversarialResource"]>
1130
+ export type AdversarialResourceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1131
+ tags?: boolean | Prisma.AdversarialResource$tagsArgs<ExtArgs>
1132
+ categories?: boolean | Prisma.AdversarialResource$categoriesArgs<ExtArgs>
1133
+ parent?: boolean | Prisma.AdversarialResource$parentArgs<ExtArgs>
1134
+ numberList?: boolean | Prisma.AdversarialResource$numberListArgs<ExtArgs>
1135
+ boolList?: boolean | Prisma.AdversarialResource$boolListArgs<ExtArgs>
1136
+ _count?: boolean | Prisma.AdversarialResourceCountOutputTypeDefaultArgs<ExtArgs>
1137
+ }
1138
+
1139
+ export type $AdversarialResourcePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1140
+ name: "AdversarialResource"
1141
+ objects: {
1142
+ tags: Prisma.$AdversarialTagPayload<ExtArgs>[]
1143
+ categories: Prisma.$AdversarialCategoryPayload<ExtArgs>[]
1144
+ parent: Prisma.$AdversarialParentPayload<ExtArgs> | null
1145
+ numberList: Prisma.$AdversarialNumberListElementPayload<ExtArgs>[]
1146
+ boolList: Prisma.$AdversarialBoolListElementPayload<ExtArgs>[]
1147
+ }
1148
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1149
+ id: string
1150
+ aBool: boolean | null
1151
+ aString: string | null
1152
+ aNumber: number | null
1153
+ aDouble: number | null
1154
+ aOptionalString: string | null
1155
+ createdBy: string
1156
+ scope: string | null
1157
+ createdAt: Date | null
1158
+ updatedAt: Date | null
1159
+ }, ExtArgs["result"]["adversarialResource"]>
1160
+ composites: {}
1161
+ }
1162
+
1163
+ export type AdversarialResourceGetPayload<S extends boolean | null | undefined | AdversarialResourceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload, S>
1164
+
1165
+ export type AdversarialResourceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1166
+ Omit<AdversarialResourceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1167
+ select?: AdversarialResourceCountAggregateInputType | true
1168
+ }
1169
+
1170
+ export interface AdversarialResourceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1171
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdversarialResource'], meta: { name: 'AdversarialResource' } }
1172
+ /**
1173
+ * Find zero or one AdversarialResource that matches the filter.
1174
+ * @param {AdversarialResourceFindUniqueArgs} args - Arguments to find a AdversarialResource
1175
+ * @example
1176
+ * // Get one AdversarialResource
1177
+ * const adversarialResource = await prisma.adversarialResource.findUnique({
1178
+ * where: {
1179
+ * // ... provide filter here
1180
+ * }
1181
+ * })
1182
+ */
1183
+ findUnique<T extends AdversarialResourceFindUniqueArgs>(args: Prisma.SelectSubset<T, AdversarialResourceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdversarialResourceClient<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1184
+
1185
+ /**
1186
+ * Find one AdversarialResource that matches the filter or throw an error with `error.code='P2025'`
1187
+ * if no matches were found.
1188
+ * @param {AdversarialResourceFindUniqueOrThrowArgs} args - Arguments to find a AdversarialResource
1189
+ * @example
1190
+ * // Get one AdversarialResource
1191
+ * const adversarialResource = await prisma.adversarialResource.findUniqueOrThrow({
1192
+ * where: {
1193
+ * // ... provide filter here
1194
+ * }
1195
+ * })
1196
+ */
1197
+ findUniqueOrThrow<T extends AdversarialResourceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdversarialResourceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdversarialResourceClient<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1198
+
1199
+ /**
1200
+ * Find the first AdversarialResource that matches the filter.
1201
+ * Note, that providing `undefined` is treated as the value not being there.
1202
+ * Read more here: https://pris.ly/d/null-undefined
1203
+ * @param {AdversarialResourceFindFirstArgs} args - Arguments to find a AdversarialResource
1204
+ * @example
1205
+ * // Get one AdversarialResource
1206
+ * const adversarialResource = await prisma.adversarialResource.findFirst({
1207
+ * where: {
1208
+ * // ... provide filter here
1209
+ * }
1210
+ * })
1211
+ */
1212
+ findFirst<T extends AdversarialResourceFindFirstArgs>(args?: Prisma.SelectSubset<T, AdversarialResourceFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdversarialResourceClient<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1213
+
1214
+ /**
1215
+ * Find the first AdversarialResource that matches the filter or
1216
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1217
+ * Note, that providing `undefined` is treated as the value not being there.
1218
+ * Read more here: https://pris.ly/d/null-undefined
1219
+ * @param {AdversarialResourceFindFirstOrThrowArgs} args - Arguments to find a AdversarialResource
1220
+ * @example
1221
+ * // Get one AdversarialResource
1222
+ * const adversarialResource = await prisma.adversarialResource.findFirstOrThrow({
1223
+ * where: {
1224
+ * // ... provide filter here
1225
+ * }
1226
+ * })
1227
+ */
1228
+ findFirstOrThrow<T extends AdversarialResourceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdversarialResourceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdversarialResourceClient<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1229
+
1230
+ /**
1231
+ * Find zero or more AdversarialResources that matches the filter.
1232
+ * Note, that providing `undefined` is treated as the value not being there.
1233
+ * Read more here: https://pris.ly/d/null-undefined
1234
+ * @param {AdversarialResourceFindManyArgs} args - Arguments to filter and select certain fields only.
1235
+ * @example
1236
+ * // Get all AdversarialResources
1237
+ * const adversarialResources = await prisma.adversarialResource.findMany()
1238
+ *
1239
+ * // Get first 10 AdversarialResources
1240
+ * const adversarialResources = await prisma.adversarialResource.findMany({ take: 10 })
1241
+ *
1242
+ * // Only select the `id`
1243
+ * const adversarialResourceWithIdOnly = await prisma.adversarialResource.findMany({ select: { id: true } })
1244
+ *
1245
+ */
1246
+ findMany<T extends AdversarialResourceFindManyArgs>(args?: Prisma.SelectSubset<T, AdversarialResourceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1247
+
1248
+ /**
1249
+ * Create a AdversarialResource.
1250
+ * @param {AdversarialResourceCreateArgs} args - Arguments to create a AdversarialResource.
1251
+ * @example
1252
+ * // Create one AdversarialResource
1253
+ * const AdversarialResource = await prisma.adversarialResource.create({
1254
+ * data: {
1255
+ * // ... data to create a AdversarialResource
1256
+ * }
1257
+ * })
1258
+ *
1259
+ */
1260
+ create<T extends AdversarialResourceCreateArgs>(args: Prisma.SelectSubset<T, AdversarialResourceCreateArgs<ExtArgs>>): Prisma.Prisma__AdversarialResourceClient<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1261
+
1262
+ /**
1263
+ * Create many AdversarialResources.
1264
+ * @param {AdversarialResourceCreateManyArgs} args - Arguments to create many AdversarialResources.
1265
+ * @example
1266
+ * // Create many AdversarialResources
1267
+ * const adversarialResource = await prisma.adversarialResource.createMany({
1268
+ * data: [
1269
+ * // ... provide data here
1270
+ * ]
1271
+ * })
1272
+ *
1273
+ */
1274
+ createMany<T extends AdversarialResourceCreateManyArgs>(args?: Prisma.SelectSubset<T, AdversarialResourceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1275
+
1276
+ /**
1277
+ * Delete a AdversarialResource.
1278
+ * @param {AdversarialResourceDeleteArgs} args - Arguments to delete one AdversarialResource.
1279
+ * @example
1280
+ * // Delete one AdversarialResource
1281
+ * const AdversarialResource = await prisma.adversarialResource.delete({
1282
+ * where: {
1283
+ * // ... filter to delete one AdversarialResource
1284
+ * }
1285
+ * })
1286
+ *
1287
+ */
1288
+ delete<T extends AdversarialResourceDeleteArgs>(args: Prisma.SelectSubset<T, AdversarialResourceDeleteArgs<ExtArgs>>): Prisma.Prisma__AdversarialResourceClient<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1289
+
1290
+ /**
1291
+ * Update one AdversarialResource.
1292
+ * @param {AdversarialResourceUpdateArgs} args - Arguments to update one AdversarialResource.
1293
+ * @example
1294
+ * // Update one AdversarialResource
1295
+ * const adversarialResource = await prisma.adversarialResource.update({
1296
+ * where: {
1297
+ * // ... provide filter here
1298
+ * },
1299
+ * data: {
1300
+ * // ... provide data here
1301
+ * }
1302
+ * })
1303
+ *
1304
+ */
1305
+ update<T extends AdversarialResourceUpdateArgs>(args: Prisma.SelectSubset<T, AdversarialResourceUpdateArgs<ExtArgs>>): Prisma.Prisma__AdversarialResourceClient<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1306
+
1307
+ /**
1308
+ * Delete zero or more AdversarialResources.
1309
+ * @param {AdversarialResourceDeleteManyArgs} args - Arguments to filter AdversarialResources to delete.
1310
+ * @example
1311
+ * // Delete a few AdversarialResources
1312
+ * const { count } = await prisma.adversarialResource.deleteMany({
1313
+ * where: {
1314
+ * // ... provide filter here
1315
+ * }
1316
+ * })
1317
+ *
1318
+ */
1319
+ deleteMany<T extends AdversarialResourceDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdversarialResourceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1320
+
1321
+ /**
1322
+ * Update zero or more AdversarialResources.
1323
+ * Note, that providing `undefined` is treated as the value not being there.
1324
+ * Read more here: https://pris.ly/d/null-undefined
1325
+ * @param {AdversarialResourceUpdateManyArgs} args - Arguments to update one or more rows.
1326
+ * @example
1327
+ * // Update many AdversarialResources
1328
+ * const adversarialResource = await prisma.adversarialResource.updateMany({
1329
+ * where: {
1330
+ * // ... provide filter here
1331
+ * },
1332
+ * data: {
1333
+ * // ... provide data here
1334
+ * }
1335
+ * })
1336
+ *
1337
+ */
1338
+ updateMany<T extends AdversarialResourceUpdateManyArgs>(args: Prisma.SelectSubset<T, AdversarialResourceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1339
+
1340
+ /**
1341
+ * Create or update one AdversarialResource.
1342
+ * @param {AdversarialResourceUpsertArgs} args - Arguments to update or create a AdversarialResource.
1343
+ * @example
1344
+ * // Update or create a AdversarialResource
1345
+ * const adversarialResource = await prisma.adversarialResource.upsert({
1346
+ * create: {
1347
+ * // ... data to create a AdversarialResource
1348
+ * },
1349
+ * update: {
1350
+ * // ... in case it already exists, update
1351
+ * },
1352
+ * where: {
1353
+ * // ... the filter for the AdversarialResource we want to update
1354
+ * }
1355
+ * })
1356
+ */
1357
+ upsert<T extends AdversarialResourceUpsertArgs>(args: Prisma.SelectSubset<T, AdversarialResourceUpsertArgs<ExtArgs>>): Prisma.Prisma__AdversarialResourceClient<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1358
+
1359
+
1360
+ /**
1361
+ * Count the number of AdversarialResources.
1362
+ * Note, that providing `undefined` is treated as the value not being there.
1363
+ * Read more here: https://pris.ly/d/null-undefined
1364
+ * @param {AdversarialResourceCountArgs} args - Arguments to filter AdversarialResources to count.
1365
+ * @example
1366
+ * // Count the number of AdversarialResources
1367
+ * const count = await prisma.adversarialResource.count({
1368
+ * where: {
1369
+ * // ... the filter for the AdversarialResources we want to count
1370
+ * }
1371
+ * })
1372
+ **/
1373
+ count<T extends AdversarialResourceCountArgs>(
1374
+ args?: Prisma.Subset<T, AdversarialResourceCountArgs>,
1375
+ ): Prisma.PrismaPromise<
1376
+ T extends runtime.Types.Utils.Record<'select', any>
1377
+ ? T['select'] extends true
1378
+ ? number
1379
+ : Prisma.GetScalarType<T['select'], AdversarialResourceCountAggregateOutputType>
1380
+ : number
1381
+ >
1382
+
1383
+ /**
1384
+ * Allows you to perform aggregations operations on a AdversarialResource.
1385
+ * Note, that providing `undefined` is treated as the value not being there.
1386
+ * Read more here: https://pris.ly/d/null-undefined
1387
+ * @param {AdversarialResourceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1388
+ * @example
1389
+ * // Ordered by age ascending
1390
+ * // Where email contains prisma.io
1391
+ * // Limited to the 10 users
1392
+ * const aggregations = await prisma.user.aggregate({
1393
+ * _avg: {
1394
+ * age: true,
1395
+ * },
1396
+ * where: {
1397
+ * email: {
1398
+ * contains: "prisma.io",
1399
+ * },
1400
+ * },
1401
+ * orderBy: {
1402
+ * age: "asc",
1403
+ * },
1404
+ * take: 10,
1405
+ * })
1406
+ **/
1407
+ aggregate<T extends AdversarialResourceAggregateArgs>(args: Prisma.Subset<T, AdversarialResourceAggregateArgs>): Prisma.PrismaPromise<GetAdversarialResourceAggregateType<T>>
1408
+
1409
+ /**
1410
+ * Group by AdversarialResource.
1411
+ * Note, that providing `undefined` is treated as the value not being there.
1412
+ * Read more here: https://pris.ly/d/null-undefined
1413
+ * @param {AdversarialResourceGroupByArgs} args - Group by arguments.
1414
+ * @example
1415
+ * // Group by city, order by createdAt, get count
1416
+ * const result = await prisma.user.groupBy({
1417
+ * by: ['city', 'createdAt'],
1418
+ * orderBy: {
1419
+ * createdAt: true
1420
+ * },
1421
+ * _count: {
1422
+ * _all: true
1423
+ * },
1424
+ * })
1425
+ *
1426
+ **/
1427
+ groupBy<
1428
+ T extends AdversarialResourceGroupByArgs,
1429
+ HasSelectOrTake extends Prisma.Or<
1430
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1431
+ Prisma.Extends<'take', Prisma.Keys<T>>
1432
+ >,
1433
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1434
+ ? { orderBy: AdversarialResourceGroupByArgs['orderBy'] }
1435
+ : { orderBy?: AdversarialResourceGroupByArgs['orderBy'] },
1436
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1437
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1438
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1439
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1440
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1441
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1442
+ InputErrors extends ByEmpty extends Prisma.True
1443
+ ? `Error: "by" must not be empty.`
1444
+ : HavingValid extends Prisma.False
1445
+ ? {
1446
+ [P in HavingFields]: P extends ByFields
1447
+ ? never
1448
+ : P extends string
1449
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1450
+ : [
1451
+ Error,
1452
+ 'Field ',
1453
+ P,
1454
+ ` in "having" needs to be provided in "by"`,
1455
+ ]
1456
+ }[HavingFields]
1457
+ : 'take' extends Prisma.Keys<T>
1458
+ ? 'orderBy' extends Prisma.Keys<T>
1459
+ ? ByValid extends Prisma.True
1460
+ ? {}
1461
+ : {
1462
+ [P in OrderFields]: P extends ByFields
1463
+ ? never
1464
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1465
+ }[OrderFields]
1466
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1467
+ : 'skip' extends Prisma.Keys<T>
1468
+ ? 'orderBy' extends Prisma.Keys<T>
1469
+ ? ByValid extends Prisma.True
1470
+ ? {}
1471
+ : {
1472
+ [P in OrderFields]: P extends ByFields
1473
+ ? never
1474
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1475
+ }[OrderFields]
1476
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1477
+ : ByValid extends Prisma.True
1478
+ ? {}
1479
+ : {
1480
+ [P in OrderFields]: P extends ByFields
1481
+ ? never
1482
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1483
+ }[OrderFields]
1484
+ >(args: Prisma.SubsetIntersection<T, AdversarialResourceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdversarialResourceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1485
+ /**
1486
+ * Fields of the AdversarialResource model
1487
+ */
1488
+ readonly fields: AdversarialResourceFieldRefs;
1489
+ }
1490
+
1491
+ /**
1492
+ * The delegate class that acts as a "Promise-like" for AdversarialResource.
1493
+ * Why is this prefixed with `Prisma__`?
1494
+ * Because we want to prevent naming conflicts as mentioned in
1495
+ * https://github.com/prisma/prisma-client-js/issues/707
1496
+ */
1497
+ export interface Prisma__AdversarialResourceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1498
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1499
+ tags<T extends Prisma.AdversarialResource$tagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdversarialResource$tagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdversarialTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1500
+ categories<T extends Prisma.AdversarialResource$categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdversarialResource$categoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdversarialCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1501
+ parent<T extends Prisma.AdversarialResource$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdversarialResource$parentArgs<ExtArgs>>): Prisma.Prisma__AdversarialParentClient<runtime.Types.Result.GetResult<Prisma.$AdversarialParentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1502
+ numberList<T extends Prisma.AdversarialResource$numberListArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdversarialResource$numberListArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdversarialNumberListElementPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1503
+ boolList<T extends Prisma.AdversarialResource$boolListArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdversarialResource$boolListArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1504
+ /**
1505
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1506
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1507
+ * @param onrejected The callback to execute when the Promise is rejected.
1508
+ * @returns A Promise for the completion of which ever callback is executed.
1509
+ */
1510
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
1511
+ /**
1512
+ * Attaches a callback for only the rejection of the Promise.
1513
+ * @param onrejected The callback to execute when the Promise is rejected.
1514
+ * @returns A Promise for the completion of the callback.
1515
+ */
1516
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1517
+ /**
1518
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1519
+ * resolved value cannot be modified from the callback.
1520
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1521
+ * @returns A Promise for the completion of the callback.
1522
+ */
1523
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1524
+ }
1525
+
1526
+
1527
+
1528
+
1529
+ /**
1530
+ * Fields of the AdversarialResource model
1531
+ */
1532
+ export interface AdversarialResourceFieldRefs {
1533
+ readonly id: Prisma.FieldRef<"AdversarialResource", 'String'>
1534
+ readonly aBool: Prisma.FieldRef<"AdversarialResource", 'Boolean'>
1535
+ readonly aString: Prisma.FieldRef<"AdversarialResource", 'String'>
1536
+ readonly aNumber: Prisma.FieldRef<"AdversarialResource", 'Int'>
1537
+ readonly aDouble: Prisma.FieldRef<"AdversarialResource", 'Float'>
1538
+ readonly aOptionalString: Prisma.FieldRef<"AdversarialResource", 'String'>
1539
+ readonly createdBy: Prisma.FieldRef<"AdversarialResource", 'String'>
1540
+ readonly scope: Prisma.FieldRef<"AdversarialResource", 'String'>
1541
+ readonly createdAt: Prisma.FieldRef<"AdversarialResource", 'DateTime'>
1542
+ readonly updatedAt: Prisma.FieldRef<"AdversarialResource", 'DateTime'>
1543
+ }
1544
+
1545
+
1546
+ // Custom InputTypes
1547
+ /**
1548
+ * AdversarialResource findUnique
1549
+ */
1550
+ export type AdversarialResourceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1551
+ /**
1552
+ * Select specific fields to fetch from the AdversarialResource
1553
+ */
1554
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
1555
+ /**
1556
+ * Omit specific fields from the AdversarialResource
1557
+ */
1558
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
1559
+ /**
1560
+ * Choose, which related nodes to fetch as well
1561
+ */
1562
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
1563
+ /**
1564
+ * Filter, which AdversarialResource to fetch.
1565
+ */
1566
+ where: Prisma.AdversarialResourceWhereUniqueInput
1567
+ }
1568
+
1569
+ /**
1570
+ * AdversarialResource findUniqueOrThrow
1571
+ */
1572
+ export type AdversarialResourceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1573
+ /**
1574
+ * Select specific fields to fetch from the AdversarialResource
1575
+ */
1576
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
1577
+ /**
1578
+ * Omit specific fields from the AdversarialResource
1579
+ */
1580
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
1581
+ /**
1582
+ * Choose, which related nodes to fetch as well
1583
+ */
1584
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
1585
+ /**
1586
+ * Filter, which AdversarialResource to fetch.
1587
+ */
1588
+ where: Prisma.AdversarialResourceWhereUniqueInput
1589
+ }
1590
+
1591
+ /**
1592
+ * AdversarialResource findFirst
1593
+ */
1594
+ export type AdversarialResourceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1595
+ /**
1596
+ * Select specific fields to fetch from the AdversarialResource
1597
+ */
1598
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
1599
+ /**
1600
+ * Omit specific fields from the AdversarialResource
1601
+ */
1602
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
1603
+ /**
1604
+ * Choose, which related nodes to fetch as well
1605
+ */
1606
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
1607
+ /**
1608
+ * Filter, which AdversarialResource to fetch.
1609
+ */
1610
+ where?: Prisma.AdversarialResourceWhereInput
1611
+ /**
1612
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1613
+ *
1614
+ * Determine the order of AdversarialResources to fetch.
1615
+ */
1616
+ orderBy?: Prisma.AdversarialResourceOrderByWithRelationInput | Prisma.AdversarialResourceOrderByWithRelationInput[]
1617
+ /**
1618
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1619
+ *
1620
+ * Sets the position for searching for AdversarialResources.
1621
+ */
1622
+ cursor?: Prisma.AdversarialResourceWhereUniqueInput
1623
+ /**
1624
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1625
+ *
1626
+ * Take `±n` AdversarialResources from the position of the cursor.
1627
+ */
1628
+ take?: number
1629
+ /**
1630
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1631
+ *
1632
+ * Skip the first `n` AdversarialResources.
1633
+ */
1634
+ skip?: number
1635
+ /**
1636
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1637
+ *
1638
+ * Filter by unique combinations of AdversarialResources.
1639
+ */
1640
+ distinct?: Prisma.AdversarialResourceScalarFieldEnum | Prisma.AdversarialResourceScalarFieldEnum[]
1641
+ }
1642
+
1643
+ /**
1644
+ * AdversarialResource findFirstOrThrow
1645
+ */
1646
+ export type AdversarialResourceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1647
+ /**
1648
+ * Select specific fields to fetch from the AdversarialResource
1649
+ */
1650
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
1651
+ /**
1652
+ * Omit specific fields from the AdversarialResource
1653
+ */
1654
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
1655
+ /**
1656
+ * Choose, which related nodes to fetch as well
1657
+ */
1658
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
1659
+ /**
1660
+ * Filter, which AdversarialResource to fetch.
1661
+ */
1662
+ where?: Prisma.AdversarialResourceWhereInput
1663
+ /**
1664
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1665
+ *
1666
+ * Determine the order of AdversarialResources to fetch.
1667
+ */
1668
+ orderBy?: Prisma.AdversarialResourceOrderByWithRelationInput | Prisma.AdversarialResourceOrderByWithRelationInput[]
1669
+ /**
1670
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1671
+ *
1672
+ * Sets the position for searching for AdversarialResources.
1673
+ */
1674
+ cursor?: Prisma.AdversarialResourceWhereUniqueInput
1675
+ /**
1676
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1677
+ *
1678
+ * Take `±n` AdversarialResources from the position of the cursor.
1679
+ */
1680
+ take?: number
1681
+ /**
1682
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1683
+ *
1684
+ * Skip the first `n` AdversarialResources.
1685
+ */
1686
+ skip?: number
1687
+ /**
1688
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1689
+ *
1690
+ * Filter by unique combinations of AdversarialResources.
1691
+ */
1692
+ distinct?: Prisma.AdversarialResourceScalarFieldEnum | Prisma.AdversarialResourceScalarFieldEnum[]
1693
+ }
1694
+
1695
+ /**
1696
+ * AdversarialResource findMany
1697
+ */
1698
+ export type AdversarialResourceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1699
+ /**
1700
+ * Select specific fields to fetch from the AdversarialResource
1701
+ */
1702
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
1703
+ /**
1704
+ * Omit specific fields from the AdversarialResource
1705
+ */
1706
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
1707
+ /**
1708
+ * Choose, which related nodes to fetch as well
1709
+ */
1710
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
1711
+ /**
1712
+ * Filter, which AdversarialResources to fetch.
1713
+ */
1714
+ where?: Prisma.AdversarialResourceWhereInput
1715
+ /**
1716
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1717
+ *
1718
+ * Determine the order of AdversarialResources to fetch.
1719
+ */
1720
+ orderBy?: Prisma.AdversarialResourceOrderByWithRelationInput | Prisma.AdversarialResourceOrderByWithRelationInput[]
1721
+ /**
1722
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1723
+ *
1724
+ * Sets the position for listing AdversarialResources.
1725
+ */
1726
+ cursor?: Prisma.AdversarialResourceWhereUniqueInput
1727
+ /**
1728
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1729
+ *
1730
+ * Take `±n` AdversarialResources from the position of the cursor.
1731
+ */
1732
+ take?: number
1733
+ /**
1734
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1735
+ *
1736
+ * Skip the first `n` AdversarialResources.
1737
+ */
1738
+ skip?: number
1739
+ /**
1740
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1741
+ *
1742
+ * Filter by unique combinations of AdversarialResources.
1743
+ */
1744
+ distinct?: Prisma.AdversarialResourceScalarFieldEnum | Prisma.AdversarialResourceScalarFieldEnum[]
1745
+ }
1746
+
1747
+ /**
1748
+ * AdversarialResource create
1749
+ */
1750
+ export type AdversarialResourceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1751
+ /**
1752
+ * Select specific fields to fetch from the AdversarialResource
1753
+ */
1754
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
1755
+ /**
1756
+ * Omit specific fields from the AdversarialResource
1757
+ */
1758
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
1759
+ /**
1760
+ * Choose, which related nodes to fetch as well
1761
+ */
1762
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
1763
+ /**
1764
+ * The data needed to create a AdversarialResource.
1765
+ */
1766
+ data: Prisma.XOR<Prisma.AdversarialResourceCreateInput, Prisma.AdversarialResourceUncheckedCreateInput>
1767
+ }
1768
+
1769
+ /**
1770
+ * AdversarialResource createMany
1771
+ */
1772
+ export type AdversarialResourceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1773
+ /**
1774
+ * The data used to create many AdversarialResources.
1775
+ */
1776
+ data: Prisma.AdversarialResourceCreateManyInput | Prisma.AdversarialResourceCreateManyInput[]
1777
+ skipDuplicates?: boolean
1778
+ }
1779
+
1780
+ /**
1781
+ * AdversarialResource update
1782
+ */
1783
+ export type AdversarialResourceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1784
+ /**
1785
+ * Select specific fields to fetch from the AdversarialResource
1786
+ */
1787
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
1788
+ /**
1789
+ * Omit specific fields from the AdversarialResource
1790
+ */
1791
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
1792
+ /**
1793
+ * Choose, which related nodes to fetch as well
1794
+ */
1795
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
1796
+ /**
1797
+ * The data needed to update a AdversarialResource.
1798
+ */
1799
+ data: Prisma.XOR<Prisma.AdversarialResourceUpdateInput, Prisma.AdversarialResourceUncheckedUpdateInput>
1800
+ /**
1801
+ * Choose, which AdversarialResource to update.
1802
+ */
1803
+ where: Prisma.AdversarialResourceWhereUniqueInput
1804
+ }
1805
+
1806
+ /**
1807
+ * AdversarialResource updateMany
1808
+ */
1809
+ export type AdversarialResourceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1810
+ /**
1811
+ * The data used to update AdversarialResources.
1812
+ */
1813
+ data: Prisma.XOR<Prisma.AdversarialResourceUpdateManyMutationInput, Prisma.AdversarialResourceUncheckedUpdateManyInput>
1814
+ /**
1815
+ * Filter which AdversarialResources to update
1816
+ */
1817
+ where?: Prisma.AdversarialResourceWhereInput
1818
+ /**
1819
+ * Limit how many AdversarialResources to update.
1820
+ */
1821
+ limit?: number
1822
+ }
1823
+
1824
+ /**
1825
+ * AdversarialResource upsert
1826
+ */
1827
+ export type AdversarialResourceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1828
+ /**
1829
+ * Select specific fields to fetch from the AdversarialResource
1830
+ */
1831
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
1832
+ /**
1833
+ * Omit specific fields from the AdversarialResource
1834
+ */
1835
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
1836
+ /**
1837
+ * Choose, which related nodes to fetch as well
1838
+ */
1839
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
1840
+ /**
1841
+ * The filter to search for the AdversarialResource to update in case it exists.
1842
+ */
1843
+ where: Prisma.AdversarialResourceWhereUniqueInput
1844
+ /**
1845
+ * In case the AdversarialResource found by the `where` argument doesn't exist, create a new AdversarialResource with this data.
1846
+ */
1847
+ create: Prisma.XOR<Prisma.AdversarialResourceCreateInput, Prisma.AdversarialResourceUncheckedCreateInput>
1848
+ /**
1849
+ * In case the AdversarialResource was found with the provided `where` argument, update it with this data.
1850
+ */
1851
+ update: Prisma.XOR<Prisma.AdversarialResourceUpdateInput, Prisma.AdversarialResourceUncheckedUpdateInput>
1852
+ }
1853
+
1854
+ /**
1855
+ * AdversarialResource delete
1856
+ */
1857
+ export type AdversarialResourceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1858
+ /**
1859
+ * Select specific fields to fetch from the AdversarialResource
1860
+ */
1861
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
1862
+ /**
1863
+ * Omit specific fields from the AdversarialResource
1864
+ */
1865
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
1866
+ /**
1867
+ * Choose, which related nodes to fetch as well
1868
+ */
1869
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
1870
+ /**
1871
+ * Filter which AdversarialResource to delete.
1872
+ */
1873
+ where: Prisma.AdversarialResourceWhereUniqueInput
1874
+ }
1875
+
1876
+ /**
1877
+ * AdversarialResource deleteMany
1878
+ */
1879
+ export type AdversarialResourceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1880
+ /**
1881
+ * Filter which AdversarialResources to delete
1882
+ */
1883
+ where?: Prisma.AdversarialResourceWhereInput
1884
+ /**
1885
+ * Limit how many AdversarialResources to delete.
1886
+ */
1887
+ limit?: number
1888
+ }
1889
+
1890
+ /**
1891
+ * AdversarialResource.tags
1892
+ */
1893
+ export type AdversarialResource$tagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1894
+ /**
1895
+ * Select specific fields to fetch from the AdversarialTag
1896
+ */
1897
+ select?: Prisma.AdversarialTagSelect<ExtArgs> | null
1898
+ /**
1899
+ * Omit specific fields from the AdversarialTag
1900
+ */
1901
+ omit?: Prisma.AdversarialTagOmit<ExtArgs> | null
1902
+ /**
1903
+ * Choose, which related nodes to fetch as well
1904
+ */
1905
+ include?: Prisma.AdversarialTagInclude<ExtArgs> | null
1906
+ where?: Prisma.AdversarialTagWhereInput
1907
+ orderBy?: Prisma.AdversarialTagOrderByWithRelationInput | Prisma.AdversarialTagOrderByWithRelationInput[]
1908
+ cursor?: Prisma.AdversarialTagWhereUniqueInput
1909
+ take?: number
1910
+ skip?: number
1911
+ distinct?: Prisma.AdversarialTagScalarFieldEnum | Prisma.AdversarialTagScalarFieldEnum[]
1912
+ }
1913
+
1914
+ /**
1915
+ * AdversarialResource.categories
1916
+ */
1917
+ export type AdversarialResource$categoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1918
+ /**
1919
+ * Select specific fields to fetch from the AdversarialCategory
1920
+ */
1921
+ select?: Prisma.AdversarialCategorySelect<ExtArgs> | null
1922
+ /**
1923
+ * Omit specific fields from the AdversarialCategory
1924
+ */
1925
+ omit?: Prisma.AdversarialCategoryOmit<ExtArgs> | null
1926
+ /**
1927
+ * Choose, which related nodes to fetch as well
1928
+ */
1929
+ include?: Prisma.AdversarialCategoryInclude<ExtArgs> | null
1930
+ where?: Prisma.AdversarialCategoryWhereInput
1931
+ orderBy?: Prisma.AdversarialCategoryOrderByWithRelationInput | Prisma.AdversarialCategoryOrderByWithRelationInput[]
1932
+ cursor?: Prisma.AdversarialCategoryWhereUniqueInput
1933
+ take?: number
1934
+ skip?: number
1935
+ distinct?: Prisma.AdversarialCategoryScalarFieldEnum | Prisma.AdversarialCategoryScalarFieldEnum[]
1936
+ }
1937
+
1938
+ /**
1939
+ * AdversarialResource.parent
1940
+ */
1941
+ export type AdversarialResource$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1942
+ /**
1943
+ * Select specific fields to fetch from the AdversarialParent
1944
+ */
1945
+ select?: Prisma.AdversarialParentSelect<ExtArgs> | null
1946
+ /**
1947
+ * Omit specific fields from the AdversarialParent
1948
+ */
1949
+ omit?: Prisma.AdversarialParentOmit<ExtArgs> | null
1950
+ /**
1951
+ * Choose, which related nodes to fetch as well
1952
+ */
1953
+ include?: Prisma.AdversarialParentInclude<ExtArgs> | null
1954
+ where?: Prisma.AdversarialParentWhereInput
1955
+ }
1956
+
1957
+ /**
1958
+ * AdversarialResource.numberList
1959
+ */
1960
+ export type AdversarialResource$numberListArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1961
+ /**
1962
+ * Select specific fields to fetch from the AdversarialNumberListElement
1963
+ */
1964
+ select?: Prisma.AdversarialNumberListElementSelect<ExtArgs> | null
1965
+ /**
1966
+ * Omit specific fields from the AdversarialNumberListElement
1967
+ */
1968
+ omit?: Prisma.AdversarialNumberListElementOmit<ExtArgs> | null
1969
+ /**
1970
+ * Choose, which related nodes to fetch as well
1971
+ */
1972
+ include?: Prisma.AdversarialNumberListElementInclude<ExtArgs> | null
1973
+ where?: Prisma.AdversarialNumberListElementWhereInput
1974
+ orderBy?: Prisma.AdversarialNumberListElementOrderByWithRelationInput | Prisma.AdversarialNumberListElementOrderByWithRelationInput[]
1975
+ cursor?: Prisma.AdversarialNumberListElementWhereUniqueInput
1976
+ take?: number
1977
+ skip?: number
1978
+ distinct?: Prisma.AdversarialNumberListElementScalarFieldEnum | Prisma.AdversarialNumberListElementScalarFieldEnum[]
1979
+ }
1980
+
1981
+ /**
1982
+ * AdversarialResource.boolList
1983
+ */
1984
+ export type AdversarialResource$boolListArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1985
+ /**
1986
+ * Select specific fields to fetch from the AdversarialBoolListElement
1987
+ */
1988
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
1989
+ /**
1990
+ * Omit specific fields from the AdversarialBoolListElement
1991
+ */
1992
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
1993
+ /**
1994
+ * Choose, which related nodes to fetch as well
1995
+ */
1996
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
1997
+ where?: Prisma.AdversarialBoolListElementWhereInput
1998
+ orderBy?: Prisma.AdversarialBoolListElementOrderByWithRelationInput | Prisma.AdversarialBoolListElementOrderByWithRelationInput[]
1999
+ cursor?: Prisma.AdversarialBoolListElementWhereUniqueInput
2000
+ take?: number
2001
+ skip?: number
2002
+ distinct?: Prisma.AdversarialBoolListElementScalarFieldEnum | Prisma.AdversarialBoolListElementScalarFieldEnum[]
2003
+ }
2004
+
2005
+ /**
2006
+ * AdversarialResource without action
2007
+ */
2008
+ export type AdversarialResourceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2009
+ /**
2010
+ * Select specific fields to fetch from the AdversarialResource
2011
+ */
2012
+ select?: Prisma.AdversarialResourceSelect<ExtArgs> | null
2013
+ /**
2014
+ * Omit specific fields from the AdversarialResource
2015
+ */
2016
+ omit?: Prisma.AdversarialResourceOmit<ExtArgs> | null
2017
+ /**
2018
+ * Choose, which related nodes to fetch as well
2019
+ */
2020
+ include?: Prisma.AdversarialResourceInclude<ExtArgs> | null
2021
+ }