@cerbos/orm-prisma 4.0.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 (203) hide show
  1. package/README.md +611 -460
  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 +91 -8
  31. package/lib/index.d.ts.map +1 -1
  32. package/lib/index.js +34 -2301
  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 +31 -18
  95. package/src/adversarial.test.ts +488 -488
  96. package/src/collections.ts +738 -0
  97. package/src/comparison.ts +1157 -0
  98. package/src/corpus.ts +597 -0
  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 +20 -0
  104. package/src/generated/prisma-adversarial/client.ts +20 -0
  105. package/src/generated/prisma-adversarial/commonInputTypes.ts +116 -127
  106. package/src/generated/prisma-adversarial/internal/class.ts +44 -4
  107. package/src/generated/prisma-adversarial/internal/prismaNamespace.ts +350 -3
  108. package/src/generated/prisma-adversarial/internal/prismaNamespaceBrowser.ts +49 -2
  109. package/src/generated/prisma-adversarial/models/AdversarialBoolListElement.ts +1272 -0
  110. package/src/generated/prisma-adversarial/models/AdversarialInner.ts +1369 -0
  111. package/src/generated/prisma-adversarial/models/AdversarialNumberListElement.ts +1316 -0
  112. package/src/generated/prisma-adversarial/models/AdversarialParent.ts +1474 -0
  113. package/src/generated/prisma-adversarial/models/AdversarialResource.ts +547 -75
  114. package/src/generated/prisma-adversarial/models.ts +4 -0
  115. package/src/generated/prisma-adversarial-mysql/browser.ts +64 -0
  116. package/src/generated/{prisma → prisma-adversarial-mysql}/client.ts +23 -18
  117. package/src/generated/{prisma → prisma-adversarial-mysql}/commonInputTypes.ts +167 -92
  118. package/src/generated/prisma-adversarial-mysql/internal/class.ts +284 -0
  119. package/src/generated/prisma-adversarial-mysql/internal/prismaNamespace.ts +1518 -0
  120. package/src/generated/prisma-adversarial-mysql/internal/prismaNamespaceBrowser.ts +274 -0
  121. package/src/generated/prisma-adversarial-mysql/models/AdversarialBoolListElement.ts +1157 -0
  122. package/src/generated/prisma-adversarial-mysql/models/AdversarialCategory.ts +1286 -0
  123. package/src/generated/prisma-adversarial-mysql/models/AdversarialInner.ts +1247 -0
  124. package/src/generated/prisma-adversarial-mysql/models/AdversarialLabel.ts +1157 -0
  125. package/src/generated/prisma-adversarial-mysql/models/AdversarialNumberListElement.ts +1201 -0
  126. package/src/generated/prisma-adversarial-mysql/models/AdversarialParent.ts +1352 -0
  127. package/src/generated/prisma-adversarial-mysql/models/AdversarialResource.ts +2021 -0
  128. package/src/generated/prisma-adversarial-mysql/models/AdversarialSubCategory.ts +1286 -0
  129. package/src/generated/prisma-adversarial-mysql/models/AdversarialTag.ts +1190 -0
  130. package/src/generated/prisma-adversarial-mysql/models.ts +20 -0
  131. package/src/generated/prisma-adversarial-mysql-v6/index.d.ts +13822 -0
  132. package/src/generated/prisma-adversarial-pg/browser.ts +64 -0
  133. package/src/generated/prisma-adversarial-pg/client.ts +86 -0
  134. package/src/generated/prisma-adversarial-pg/commonInputTypes.ts +345 -0
  135. package/src/generated/prisma-adversarial-pg/enums.ts +15 -0
  136. package/src/generated/prisma-adversarial-pg/internal/class.ts +284 -0
  137. package/src/generated/prisma-adversarial-pg/internal/prismaNamespace.ts +1542 -0
  138. package/src/generated/{prisma → prisma-adversarial-pg}/internal/prismaNamespaceBrowser.ts +72 -43
  139. package/src/generated/prisma-adversarial-pg/models/AdversarialBoolListElement.ts +1275 -0
  140. package/src/generated/prisma-adversarial-pg/models/AdversarialCategory.ts +1404 -0
  141. package/src/generated/prisma-adversarial-pg/models/AdversarialInner.ts +1371 -0
  142. package/src/generated/prisma-adversarial-pg/models/AdversarialLabel.ts +1275 -0
  143. package/src/generated/prisma-adversarial-pg/models/AdversarialNumberListElement.ts +1319 -0
  144. package/src/generated/prisma-adversarial-pg/models/AdversarialParent.ts +1476 -0
  145. package/src/generated/prisma-adversarial-pg/models/AdversarialResource.ts +2139 -0
  146. package/src/generated/prisma-adversarial-pg/models/AdversarialSubCategory.ts +1404 -0
  147. package/src/generated/prisma-adversarial-pg/models/AdversarialTag.ts +1310 -0
  148. package/src/generated/prisma-adversarial-pg/models.ts +20 -0
  149. package/src/generated/prisma-adversarial-pg-v6/client.d.ts +1 -0
  150. package/src/generated/prisma-adversarial-pg-v6/default.d.ts +1 -0
  151. package/src/generated/prisma-adversarial-pg-v6/edge.d.ts +1 -0
  152. package/src/generated/prisma-adversarial-pg-v6/index.d.ts +14918 -0
  153. package/src/generated/prisma-adversarial-pg-v6/runtime/index-browser.d.ts +370 -0
  154. package/src/generated/prisma-adversarial-pg-v6/runtime/library.d.ts +3982 -0
  155. package/src/generated/prisma-adversarial-pg-v6/wasm.d.ts +1 -0
  156. package/src/generated/prisma-adversarial-v6/index.d.ts +6515 -304
  157. package/src/hierarchy.ts +405 -0
  158. package/src/index.ts +134 -3325
  159. package/src/literals.ts +363 -0
  160. package/src/mapping.ts +474 -0
  161. package/src/narrowing.ts +33 -0
  162. package/src/plan.ts +125 -0
  163. package/src/presence.ts +114 -0
  164. package/src/regex.ts +596 -0
  165. package/src/relations.ts +226 -0
  166. package/src/rewrite.ts +524 -0
  167. package/src/solve.ts +96 -0
  168. package/src/strings.ts +152 -0
  169. package/src/ternary.ts +359 -0
  170. package/src/test-setup.adversarial-url.ts +21 -0
  171. package/src/test-setup.adversarial.mysql.v6.ts +13 -0
  172. package/src/test-setup.adversarial.mysql.v7.ts +12 -0
  173. package/src/test-setup.adversarial.pg.v6.ts +13 -0
  174. package/src/test-setup.adversarial.pg.v7.ts +9 -0
  175. package/src/test-setup.adversarial.v7.ts +1 -0
  176. package/src/timestamp.ts +308 -0
  177. package/src/translate.ts +419 -0
  178. package/src/translator.test.ts +766 -0
  179. package/src/types.ts +1310 -0
  180. package/src/value.ts +16 -0
  181. package/src/generated/prisma/browser.ts +0 -59
  182. package/src/generated/prisma/internal/class.ts +0 -274
  183. package/src/generated/prisma/internal/prismaNamespace.ts +0 -1403
  184. package/src/generated/prisma/models/Category.ts +0 -1412
  185. package/src/generated/prisma/models/Label.ts +0 -1276
  186. package/src/generated/prisma/models/NestedResource.ts +0 -1562
  187. package/src/generated/prisma/models/NextLevelNestedResource.ts +0 -1337
  188. package/src/generated/prisma/models/Resource.ts +0 -2196
  189. package/src/generated/prisma/models/SubCategory.ts +0 -1412
  190. package/src/generated/prisma/models/Tag.ts +0 -1276
  191. package/src/generated/prisma/models/User.ts +0 -1503
  192. package/src/generated/prisma/models.ts +0 -19
  193. package/src/generated/prisma-v6/index.d.ts +0 -13726
  194. package/src/index.test.ts +0 -8885
  195. package/src/test-setup.v6.ts +0 -5
  196. package/src/test-setup.v7.ts +0 -7
  197. /package/src/generated/{prisma → prisma-adversarial-mysql}/enums.ts +0 -0
  198. /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/client.d.ts +0 -0
  199. /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/default.d.ts +0 -0
  200. /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/edge.d.ts +0 -0
  201. /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/runtime/index-browser.d.ts +0 -0
  202. /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/runtime/library.d.ts +0 -0
  203. /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/wasm.d.ts +0 -0
@@ -0,0 +1,1157 @@
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 `AdversarialBoolListElement` 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 AdversarialBoolListElement
17
+ *
18
+ */
19
+ export type AdversarialBoolListElementModel = runtime.Types.Result.DefaultSelection<Prisma.$AdversarialBoolListElementPayload>
20
+
21
+ export type AggregateAdversarialBoolListElement = {
22
+ _count: AdversarialBoolListElementCountAggregateOutputType | null
23
+ _min: AdversarialBoolListElementMinAggregateOutputType | null
24
+ _max: AdversarialBoolListElementMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type AdversarialBoolListElementMinAggregateOutputType = {
28
+ id: string | null
29
+ value: boolean | null
30
+ resourceId: string | null
31
+ }
32
+
33
+ export type AdversarialBoolListElementMaxAggregateOutputType = {
34
+ id: string | null
35
+ value: boolean | null
36
+ resourceId: string | null
37
+ }
38
+
39
+ export type AdversarialBoolListElementCountAggregateOutputType = {
40
+ id: number
41
+ value: number
42
+ resourceId: number
43
+ _all: number
44
+ }
45
+
46
+
47
+ export type AdversarialBoolListElementMinAggregateInputType = {
48
+ id?: true
49
+ value?: true
50
+ resourceId?: true
51
+ }
52
+
53
+ export type AdversarialBoolListElementMaxAggregateInputType = {
54
+ id?: true
55
+ value?: true
56
+ resourceId?: true
57
+ }
58
+
59
+ export type AdversarialBoolListElementCountAggregateInputType = {
60
+ id?: true
61
+ value?: true
62
+ resourceId?: true
63
+ _all?: true
64
+ }
65
+
66
+ export type AdversarialBoolListElementAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
67
+ /**
68
+ * Filter which AdversarialBoolListElement to aggregate.
69
+ */
70
+ where?: Prisma.AdversarialBoolListElementWhereInput
71
+ /**
72
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
73
+ *
74
+ * Determine the order of AdversarialBoolListElements to fetch.
75
+ */
76
+ orderBy?: Prisma.AdversarialBoolListElementOrderByWithRelationInput | Prisma.AdversarialBoolListElementOrderByWithRelationInput[]
77
+ /**
78
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
79
+ *
80
+ * Sets the start position
81
+ */
82
+ cursor?: Prisma.AdversarialBoolListElementWhereUniqueInput
83
+ /**
84
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
85
+ *
86
+ * Take `±n` AdversarialBoolListElements from the position of the cursor.
87
+ */
88
+ take?: number
89
+ /**
90
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
91
+ *
92
+ * Skip the first `n` AdversarialBoolListElements.
93
+ */
94
+ skip?: number
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
97
+ *
98
+ * Count returned AdversarialBoolListElements
99
+ **/
100
+ _count?: true | AdversarialBoolListElementCountAggregateInputType
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
103
+ *
104
+ * Select which fields to find the minimum value
105
+ **/
106
+ _min?: AdversarialBoolListElementMinAggregateInputType
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
109
+ *
110
+ * Select which fields to find the maximum value
111
+ **/
112
+ _max?: AdversarialBoolListElementMaxAggregateInputType
113
+ }
114
+
115
+ export type GetAdversarialBoolListElementAggregateType<T extends AdversarialBoolListElementAggregateArgs> = {
116
+ [P in keyof T & keyof AggregateAdversarialBoolListElement]: P extends '_count' | 'count'
117
+ ? T[P] extends true
118
+ ? number
119
+ : Prisma.GetScalarType<T[P], AggregateAdversarialBoolListElement[P]>
120
+ : Prisma.GetScalarType<T[P], AggregateAdversarialBoolListElement[P]>
121
+ }
122
+
123
+
124
+
125
+
126
+ export type AdversarialBoolListElementGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
127
+ where?: Prisma.AdversarialBoolListElementWhereInput
128
+ orderBy?: Prisma.AdversarialBoolListElementOrderByWithAggregationInput | Prisma.AdversarialBoolListElementOrderByWithAggregationInput[]
129
+ by: Prisma.AdversarialBoolListElementScalarFieldEnum[] | Prisma.AdversarialBoolListElementScalarFieldEnum
130
+ having?: Prisma.AdversarialBoolListElementScalarWhereWithAggregatesInput
131
+ take?: number
132
+ skip?: number
133
+ _count?: AdversarialBoolListElementCountAggregateInputType | true
134
+ _min?: AdversarialBoolListElementMinAggregateInputType
135
+ _max?: AdversarialBoolListElementMaxAggregateInputType
136
+ }
137
+
138
+ export type AdversarialBoolListElementGroupByOutputType = {
139
+ id: string
140
+ value: boolean | null
141
+ resourceId: string
142
+ _count: AdversarialBoolListElementCountAggregateOutputType | null
143
+ _min: AdversarialBoolListElementMinAggregateOutputType | null
144
+ _max: AdversarialBoolListElementMaxAggregateOutputType | null
145
+ }
146
+
147
+ export type GetAdversarialBoolListElementGroupByPayload<T extends AdversarialBoolListElementGroupByArgs> = Prisma.PrismaPromise<
148
+ Array<
149
+ Prisma.PickEnumerable<AdversarialBoolListElementGroupByOutputType, T['by']> &
150
+ {
151
+ [P in ((keyof T) & (keyof AdversarialBoolListElementGroupByOutputType))]: P extends '_count'
152
+ ? T[P] extends boolean
153
+ ? number
154
+ : Prisma.GetScalarType<T[P], AdversarialBoolListElementGroupByOutputType[P]>
155
+ : Prisma.GetScalarType<T[P], AdversarialBoolListElementGroupByOutputType[P]>
156
+ }
157
+ >
158
+ >
159
+
160
+
161
+
162
+ export type AdversarialBoolListElementWhereInput = {
163
+ AND?: Prisma.AdversarialBoolListElementWhereInput | Prisma.AdversarialBoolListElementWhereInput[]
164
+ OR?: Prisma.AdversarialBoolListElementWhereInput[]
165
+ NOT?: Prisma.AdversarialBoolListElementWhereInput | Prisma.AdversarialBoolListElementWhereInput[]
166
+ id?: Prisma.StringFilter<"AdversarialBoolListElement"> | string
167
+ value?: Prisma.BoolNullableFilter<"AdversarialBoolListElement"> | boolean | null
168
+ resourceId?: Prisma.StringFilter<"AdversarialBoolListElement"> | string
169
+ resource?: Prisma.XOR<Prisma.AdversarialResourceScalarRelationFilter, Prisma.AdversarialResourceWhereInput>
170
+ }
171
+
172
+ export type AdversarialBoolListElementOrderByWithRelationInput = {
173
+ id?: Prisma.SortOrder
174
+ value?: Prisma.SortOrderInput | Prisma.SortOrder
175
+ resourceId?: Prisma.SortOrder
176
+ resource?: Prisma.AdversarialResourceOrderByWithRelationInput
177
+ _relevance?: Prisma.AdversarialBoolListElementOrderByRelevanceInput
178
+ }
179
+
180
+ export type AdversarialBoolListElementWhereUniqueInput = Prisma.AtLeast<{
181
+ id?: string
182
+ AND?: Prisma.AdversarialBoolListElementWhereInput | Prisma.AdversarialBoolListElementWhereInput[]
183
+ OR?: Prisma.AdversarialBoolListElementWhereInput[]
184
+ NOT?: Prisma.AdversarialBoolListElementWhereInput | Prisma.AdversarialBoolListElementWhereInput[]
185
+ value?: Prisma.BoolNullableFilter<"AdversarialBoolListElement"> | boolean | null
186
+ resourceId?: Prisma.StringFilter<"AdversarialBoolListElement"> | string
187
+ resource?: Prisma.XOR<Prisma.AdversarialResourceScalarRelationFilter, Prisma.AdversarialResourceWhereInput>
188
+ }, "id">
189
+
190
+ export type AdversarialBoolListElementOrderByWithAggregationInput = {
191
+ id?: Prisma.SortOrder
192
+ value?: Prisma.SortOrderInput | Prisma.SortOrder
193
+ resourceId?: Prisma.SortOrder
194
+ _count?: Prisma.AdversarialBoolListElementCountOrderByAggregateInput
195
+ _max?: Prisma.AdversarialBoolListElementMaxOrderByAggregateInput
196
+ _min?: Prisma.AdversarialBoolListElementMinOrderByAggregateInput
197
+ }
198
+
199
+ export type AdversarialBoolListElementScalarWhereWithAggregatesInput = {
200
+ AND?: Prisma.AdversarialBoolListElementScalarWhereWithAggregatesInput | Prisma.AdversarialBoolListElementScalarWhereWithAggregatesInput[]
201
+ OR?: Prisma.AdversarialBoolListElementScalarWhereWithAggregatesInput[]
202
+ NOT?: Prisma.AdversarialBoolListElementScalarWhereWithAggregatesInput | Prisma.AdversarialBoolListElementScalarWhereWithAggregatesInput[]
203
+ id?: Prisma.StringWithAggregatesFilter<"AdversarialBoolListElement"> | string
204
+ value?: Prisma.BoolNullableWithAggregatesFilter<"AdversarialBoolListElement"> | boolean | null
205
+ resourceId?: Prisma.StringWithAggregatesFilter<"AdversarialBoolListElement"> | string
206
+ }
207
+
208
+ export type AdversarialBoolListElementCreateInput = {
209
+ id?: string
210
+ value?: boolean | null
211
+ resource: Prisma.AdversarialResourceCreateNestedOneWithoutBoolListInput
212
+ }
213
+
214
+ export type AdversarialBoolListElementUncheckedCreateInput = {
215
+ id?: string
216
+ value?: boolean | null
217
+ resourceId: string
218
+ }
219
+
220
+ export type AdversarialBoolListElementUpdateInput = {
221
+ id?: Prisma.StringFieldUpdateOperationsInput | string
222
+ value?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
223
+ resource?: Prisma.AdversarialResourceUpdateOneRequiredWithoutBoolListNestedInput
224
+ }
225
+
226
+ export type AdversarialBoolListElementUncheckedUpdateInput = {
227
+ id?: Prisma.StringFieldUpdateOperationsInput | string
228
+ value?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
229
+ resourceId?: Prisma.StringFieldUpdateOperationsInput | string
230
+ }
231
+
232
+ export type AdversarialBoolListElementCreateManyInput = {
233
+ id?: string
234
+ value?: boolean | null
235
+ resourceId: string
236
+ }
237
+
238
+ export type AdversarialBoolListElementUpdateManyMutationInput = {
239
+ id?: Prisma.StringFieldUpdateOperationsInput | string
240
+ value?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
241
+ }
242
+
243
+ export type AdversarialBoolListElementUncheckedUpdateManyInput = {
244
+ id?: Prisma.StringFieldUpdateOperationsInput | string
245
+ value?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
246
+ resourceId?: Prisma.StringFieldUpdateOperationsInput | string
247
+ }
248
+
249
+ export type AdversarialBoolListElementListRelationFilter = {
250
+ every?: Prisma.AdversarialBoolListElementWhereInput
251
+ some?: Prisma.AdversarialBoolListElementWhereInput
252
+ none?: Prisma.AdversarialBoolListElementWhereInput
253
+ }
254
+
255
+ export type AdversarialBoolListElementOrderByRelationAggregateInput = {
256
+ _count?: Prisma.SortOrder
257
+ }
258
+
259
+ export type AdversarialBoolListElementOrderByRelevanceInput = {
260
+ fields: Prisma.AdversarialBoolListElementOrderByRelevanceFieldEnum | Prisma.AdversarialBoolListElementOrderByRelevanceFieldEnum[]
261
+ sort: Prisma.SortOrder
262
+ search: string
263
+ }
264
+
265
+ export type AdversarialBoolListElementCountOrderByAggregateInput = {
266
+ id?: Prisma.SortOrder
267
+ value?: Prisma.SortOrder
268
+ resourceId?: Prisma.SortOrder
269
+ }
270
+
271
+ export type AdversarialBoolListElementMaxOrderByAggregateInput = {
272
+ id?: Prisma.SortOrder
273
+ value?: Prisma.SortOrder
274
+ resourceId?: Prisma.SortOrder
275
+ }
276
+
277
+ export type AdversarialBoolListElementMinOrderByAggregateInput = {
278
+ id?: Prisma.SortOrder
279
+ value?: Prisma.SortOrder
280
+ resourceId?: Prisma.SortOrder
281
+ }
282
+
283
+ export type AdversarialBoolListElementCreateNestedManyWithoutResourceInput = {
284
+ create?: Prisma.XOR<Prisma.AdversarialBoolListElementCreateWithoutResourceInput, Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput> | Prisma.AdversarialBoolListElementCreateWithoutResourceInput[] | Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput[]
285
+ connectOrCreate?: Prisma.AdversarialBoolListElementCreateOrConnectWithoutResourceInput | Prisma.AdversarialBoolListElementCreateOrConnectWithoutResourceInput[]
286
+ createMany?: Prisma.AdversarialBoolListElementCreateManyResourceInputEnvelope
287
+ connect?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
288
+ }
289
+
290
+ export type AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput = {
291
+ create?: Prisma.XOR<Prisma.AdversarialBoolListElementCreateWithoutResourceInput, Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput> | Prisma.AdversarialBoolListElementCreateWithoutResourceInput[] | Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput[]
292
+ connectOrCreate?: Prisma.AdversarialBoolListElementCreateOrConnectWithoutResourceInput | Prisma.AdversarialBoolListElementCreateOrConnectWithoutResourceInput[]
293
+ createMany?: Prisma.AdversarialBoolListElementCreateManyResourceInputEnvelope
294
+ connect?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
295
+ }
296
+
297
+ export type AdversarialBoolListElementUpdateManyWithoutResourceNestedInput = {
298
+ create?: Prisma.XOR<Prisma.AdversarialBoolListElementCreateWithoutResourceInput, Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput> | Prisma.AdversarialBoolListElementCreateWithoutResourceInput[] | Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput[]
299
+ connectOrCreate?: Prisma.AdversarialBoolListElementCreateOrConnectWithoutResourceInput | Prisma.AdversarialBoolListElementCreateOrConnectWithoutResourceInput[]
300
+ upsert?: Prisma.AdversarialBoolListElementUpsertWithWhereUniqueWithoutResourceInput | Prisma.AdversarialBoolListElementUpsertWithWhereUniqueWithoutResourceInput[]
301
+ createMany?: Prisma.AdversarialBoolListElementCreateManyResourceInputEnvelope
302
+ set?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
303
+ disconnect?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
304
+ delete?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
305
+ connect?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
306
+ update?: Prisma.AdversarialBoolListElementUpdateWithWhereUniqueWithoutResourceInput | Prisma.AdversarialBoolListElementUpdateWithWhereUniqueWithoutResourceInput[]
307
+ updateMany?: Prisma.AdversarialBoolListElementUpdateManyWithWhereWithoutResourceInput | Prisma.AdversarialBoolListElementUpdateManyWithWhereWithoutResourceInput[]
308
+ deleteMany?: Prisma.AdversarialBoolListElementScalarWhereInput | Prisma.AdversarialBoolListElementScalarWhereInput[]
309
+ }
310
+
311
+ export type AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput = {
312
+ create?: Prisma.XOR<Prisma.AdversarialBoolListElementCreateWithoutResourceInput, Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput> | Prisma.AdversarialBoolListElementCreateWithoutResourceInput[] | Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput[]
313
+ connectOrCreate?: Prisma.AdversarialBoolListElementCreateOrConnectWithoutResourceInput | Prisma.AdversarialBoolListElementCreateOrConnectWithoutResourceInput[]
314
+ upsert?: Prisma.AdversarialBoolListElementUpsertWithWhereUniqueWithoutResourceInput | Prisma.AdversarialBoolListElementUpsertWithWhereUniqueWithoutResourceInput[]
315
+ createMany?: Prisma.AdversarialBoolListElementCreateManyResourceInputEnvelope
316
+ set?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
317
+ disconnect?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
318
+ delete?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
319
+ connect?: Prisma.AdversarialBoolListElementWhereUniqueInput | Prisma.AdversarialBoolListElementWhereUniqueInput[]
320
+ update?: Prisma.AdversarialBoolListElementUpdateWithWhereUniqueWithoutResourceInput | Prisma.AdversarialBoolListElementUpdateWithWhereUniqueWithoutResourceInput[]
321
+ updateMany?: Prisma.AdversarialBoolListElementUpdateManyWithWhereWithoutResourceInput | Prisma.AdversarialBoolListElementUpdateManyWithWhereWithoutResourceInput[]
322
+ deleteMany?: Prisma.AdversarialBoolListElementScalarWhereInput | Prisma.AdversarialBoolListElementScalarWhereInput[]
323
+ }
324
+
325
+ export type AdversarialBoolListElementCreateWithoutResourceInput = {
326
+ id?: string
327
+ value?: boolean | null
328
+ }
329
+
330
+ export type AdversarialBoolListElementUncheckedCreateWithoutResourceInput = {
331
+ id?: string
332
+ value?: boolean | null
333
+ }
334
+
335
+ export type AdversarialBoolListElementCreateOrConnectWithoutResourceInput = {
336
+ where: Prisma.AdversarialBoolListElementWhereUniqueInput
337
+ create: Prisma.XOR<Prisma.AdversarialBoolListElementCreateWithoutResourceInput, Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput>
338
+ }
339
+
340
+ export type AdversarialBoolListElementCreateManyResourceInputEnvelope = {
341
+ data: Prisma.AdversarialBoolListElementCreateManyResourceInput | Prisma.AdversarialBoolListElementCreateManyResourceInput[]
342
+ skipDuplicates?: boolean
343
+ }
344
+
345
+ export type AdversarialBoolListElementUpsertWithWhereUniqueWithoutResourceInput = {
346
+ where: Prisma.AdversarialBoolListElementWhereUniqueInput
347
+ update: Prisma.XOR<Prisma.AdversarialBoolListElementUpdateWithoutResourceInput, Prisma.AdversarialBoolListElementUncheckedUpdateWithoutResourceInput>
348
+ create: Prisma.XOR<Prisma.AdversarialBoolListElementCreateWithoutResourceInput, Prisma.AdversarialBoolListElementUncheckedCreateWithoutResourceInput>
349
+ }
350
+
351
+ export type AdversarialBoolListElementUpdateWithWhereUniqueWithoutResourceInput = {
352
+ where: Prisma.AdversarialBoolListElementWhereUniqueInput
353
+ data: Prisma.XOR<Prisma.AdversarialBoolListElementUpdateWithoutResourceInput, Prisma.AdversarialBoolListElementUncheckedUpdateWithoutResourceInput>
354
+ }
355
+
356
+ export type AdversarialBoolListElementUpdateManyWithWhereWithoutResourceInput = {
357
+ where: Prisma.AdversarialBoolListElementScalarWhereInput
358
+ data: Prisma.XOR<Prisma.AdversarialBoolListElementUpdateManyMutationInput, Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceInput>
359
+ }
360
+
361
+ export type AdversarialBoolListElementScalarWhereInput = {
362
+ AND?: Prisma.AdversarialBoolListElementScalarWhereInput | Prisma.AdversarialBoolListElementScalarWhereInput[]
363
+ OR?: Prisma.AdversarialBoolListElementScalarWhereInput[]
364
+ NOT?: Prisma.AdversarialBoolListElementScalarWhereInput | Prisma.AdversarialBoolListElementScalarWhereInput[]
365
+ id?: Prisma.StringFilter<"AdversarialBoolListElement"> | string
366
+ value?: Prisma.BoolNullableFilter<"AdversarialBoolListElement"> | boolean | null
367
+ resourceId?: Prisma.StringFilter<"AdversarialBoolListElement"> | string
368
+ }
369
+
370
+ export type AdversarialBoolListElementCreateManyResourceInput = {
371
+ id?: string
372
+ value?: boolean | null
373
+ }
374
+
375
+ export type AdversarialBoolListElementUpdateWithoutResourceInput = {
376
+ id?: Prisma.StringFieldUpdateOperationsInput | string
377
+ value?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
378
+ }
379
+
380
+ export type AdversarialBoolListElementUncheckedUpdateWithoutResourceInput = {
381
+ id?: Prisma.StringFieldUpdateOperationsInput | string
382
+ value?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
383
+ }
384
+
385
+ export type AdversarialBoolListElementUncheckedUpdateManyWithoutResourceInput = {
386
+ id?: Prisma.StringFieldUpdateOperationsInput | string
387
+ value?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
388
+ }
389
+
390
+
391
+
392
+ export type AdversarialBoolListElementSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
393
+ id?: boolean
394
+ value?: boolean
395
+ resourceId?: boolean
396
+ resource?: boolean | Prisma.AdversarialResourceDefaultArgs<ExtArgs>
397
+ }, ExtArgs["result"]["adversarialBoolListElement"]>
398
+
399
+
400
+
401
+ export type AdversarialBoolListElementSelectScalar = {
402
+ id?: boolean
403
+ value?: boolean
404
+ resourceId?: boolean
405
+ }
406
+
407
+ export type AdversarialBoolListElementOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "value" | "resourceId", ExtArgs["result"]["adversarialBoolListElement"]>
408
+ export type AdversarialBoolListElementInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
409
+ resource?: boolean | Prisma.AdversarialResourceDefaultArgs<ExtArgs>
410
+ }
411
+
412
+ export type $AdversarialBoolListElementPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
413
+ name: "AdversarialBoolListElement"
414
+ objects: {
415
+ resource: Prisma.$AdversarialResourcePayload<ExtArgs>
416
+ }
417
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
418
+ id: string
419
+ value: boolean | null
420
+ resourceId: string
421
+ }, ExtArgs["result"]["adversarialBoolListElement"]>
422
+ composites: {}
423
+ }
424
+
425
+ export type AdversarialBoolListElementGetPayload<S extends boolean | null | undefined | AdversarialBoolListElementDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload, S>
426
+
427
+ export type AdversarialBoolListElementCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
428
+ Omit<AdversarialBoolListElementFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
429
+ select?: AdversarialBoolListElementCountAggregateInputType | true
430
+ }
431
+
432
+ export interface AdversarialBoolListElementDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
433
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AdversarialBoolListElement'], meta: { name: 'AdversarialBoolListElement' } }
434
+ /**
435
+ * Find zero or one AdversarialBoolListElement that matches the filter.
436
+ * @param {AdversarialBoolListElementFindUniqueArgs} args - Arguments to find a AdversarialBoolListElement
437
+ * @example
438
+ * // Get one AdversarialBoolListElement
439
+ * const adversarialBoolListElement = await prisma.adversarialBoolListElement.findUnique({
440
+ * where: {
441
+ * // ... provide filter here
442
+ * }
443
+ * })
444
+ */
445
+ findUnique<T extends AdversarialBoolListElementFindUniqueArgs>(args: Prisma.SelectSubset<T, AdversarialBoolListElementFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AdversarialBoolListElementClient<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
446
+
447
+ /**
448
+ * Find one AdversarialBoolListElement that matches the filter or throw an error with `error.code='P2025'`
449
+ * if no matches were found.
450
+ * @param {AdversarialBoolListElementFindUniqueOrThrowArgs} args - Arguments to find a AdversarialBoolListElement
451
+ * @example
452
+ * // Get one AdversarialBoolListElement
453
+ * const adversarialBoolListElement = await prisma.adversarialBoolListElement.findUniqueOrThrow({
454
+ * where: {
455
+ * // ... provide filter here
456
+ * }
457
+ * })
458
+ */
459
+ findUniqueOrThrow<T extends AdversarialBoolListElementFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AdversarialBoolListElementFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdversarialBoolListElementClient<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
460
+
461
+ /**
462
+ * Find the first AdversarialBoolListElement that matches the filter.
463
+ * Note, that providing `undefined` is treated as the value not being there.
464
+ * Read more here: https://pris.ly/d/null-undefined
465
+ * @param {AdversarialBoolListElementFindFirstArgs} args - Arguments to find a AdversarialBoolListElement
466
+ * @example
467
+ * // Get one AdversarialBoolListElement
468
+ * const adversarialBoolListElement = await prisma.adversarialBoolListElement.findFirst({
469
+ * where: {
470
+ * // ... provide filter here
471
+ * }
472
+ * })
473
+ */
474
+ findFirst<T extends AdversarialBoolListElementFindFirstArgs>(args?: Prisma.SelectSubset<T, AdversarialBoolListElementFindFirstArgs<ExtArgs>>): Prisma.Prisma__AdversarialBoolListElementClient<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
475
+
476
+ /**
477
+ * Find the first AdversarialBoolListElement that matches the filter or
478
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
479
+ * Note, that providing `undefined` is treated as the value not being there.
480
+ * Read more here: https://pris.ly/d/null-undefined
481
+ * @param {AdversarialBoolListElementFindFirstOrThrowArgs} args - Arguments to find a AdversarialBoolListElement
482
+ * @example
483
+ * // Get one AdversarialBoolListElement
484
+ * const adversarialBoolListElement = await prisma.adversarialBoolListElement.findFirstOrThrow({
485
+ * where: {
486
+ * // ... provide filter here
487
+ * }
488
+ * })
489
+ */
490
+ findFirstOrThrow<T extends AdversarialBoolListElementFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AdversarialBoolListElementFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AdversarialBoolListElementClient<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
491
+
492
+ /**
493
+ * Find zero or more AdversarialBoolListElements that matches the filter.
494
+ * Note, that providing `undefined` is treated as the value not being there.
495
+ * Read more here: https://pris.ly/d/null-undefined
496
+ * @param {AdversarialBoolListElementFindManyArgs} args - Arguments to filter and select certain fields only.
497
+ * @example
498
+ * // Get all AdversarialBoolListElements
499
+ * const adversarialBoolListElements = await prisma.adversarialBoolListElement.findMany()
500
+ *
501
+ * // Get first 10 AdversarialBoolListElements
502
+ * const adversarialBoolListElements = await prisma.adversarialBoolListElement.findMany({ take: 10 })
503
+ *
504
+ * // Only select the `id`
505
+ * const adversarialBoolListElementWithIdOnly = await prisma.adversarialBoolListElement.findMany({ select: { id: true } })
506
+ *
507
+ */
508
+ findMany<T extends AdversarialBoolListElementFindManyArgs>(args?: Prisma.SelectSubset<T, AdversarialBoolListElementFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
509
+
510
+ /**
511
+ * Create a AdversarialBoolListElement.
512
+ * @param {AdversarialBoolListElementCreateArgs} args - Arguments to create a AdversarialBoolListElement.
513
+ * @example
514
+ * // Create one AdversarialBoolListElement
515
+ * const AdversarialBoolListElement = await prisma.adversarialBoolListElement.create({
516
+ * data: {
517
+ * // ... data to create a AdversarialBoolListElement
518
+ * }
519
+ * })
520
+ *
521
+ */
522
+ create<T extends AdversarialBoolListElementCreateArgs>(args: Prisma.SelectSubset<T, AdversarialBoolListElementCreateArgs<ExtArgs>>): Prisma.Prisma__AdversarialBoolListElementClient<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
523
+
524
+ /**
525
+ * Create many AdversarialBoolListElements.
526
+ * @param {AdversarialBoolListElementCreateManyArgs} args - Arguments to create many AdversarialBoolListElements.
527
+ * @example
528
+ * // Create many AdversarialBoolListElements
529
+ * const adversarialBoolListElement = await prisma.adversarialBoolListElement.createMany({
530
+ * data: [
531
+ * // ... provide data here
532
+ * ]
533
+ * })
534
+ *
535
+ */
536
+ createMany<T extends AdversarialBoolListElementCreateManyArgs>(args?: Prisma.SelectSubset<T, AdversarialBoolListElementCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
537
+
538
+ /**
539
+ * Delete a AdversarialBoolListElement.
540
+ * @param {AdversarialBoolListElementDeleteArgs} args - Arguments to delete one AdversarialBoolListElement.
541
+ * @example
542
+ * // Delete one AdversarialBoolListElement
543
+ * const AdversarialBoolListElement = await prisma.adversarialBoolListElement.delete({
544
+ * where: {
545
+ * // ... filter to delete one AdversarialBoolListElement
546
+ * }
547
+ * })
548
+ *
549
+ */
550
+ delete<T extends AdversarialBoolListElementDeleteArgs>(args: Prisma.SelectSubset<T, AdversarialBoolListElementDeleteArgs<ExtArgs>>): Prisma.Prisma__AdversarialBoolListElementClient<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
551
+
552
+ /**
553
+ * Update one AdversarialBoolListElement.
554
+ * @param {AdversarialBoolListElementUpdateArgs} args - Arguments to update one AdversarialBoolListElement.
555
+ * @example
556
+ * // Update one AdversarialBoolListElement
557
+ * const adversarialBoolListElement = await prisma.adversarialBoolListElement.update({
558
+ * where: {
559
+ * // ... provide filter here
560
+ * },
561
+ * data: {
562
+ * // ... provide data here
563
+ * }
564
+ * })
565
+ *
566
+ */
567
+ update<T extends AdversarialBoolListElementUpdateArgs>(args: Prisma.SelectSubset<T, AdversarialBoolListElementUpdateArgs<ExtArgs>>): Prisma.Prisma__AdversarialBoolListElementClient<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
568
+
569
+ /**
570
+ * Delete zero or more AdversarialBoolListElements.
571
+ * @param {AdversarialBoolListElementDeleteManyArgs} args - Arguments to filter AdversarialBoolListElements to delete.
572
+ * @example
573
+ * // Delete a few AdversarialBoolListElements
574
+ * const { count } = await prisma.adversarialBoolListElement.deleteMany({
575
+ * where: {
576
+ * // ... provide filter here
577
+ * }
578
+ * })
579
+ *
580
+ */
581
+ deleteMany<T extends AdversarialBoolListElementDeleteManyArgs>(args?: Prisma.SelectSubset<T, AdversarialBoolListElementDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
582
+
583
+ /**
584
+ * Update zero or more AdversarialBoolListElements.
585
+ * Note, that providing `undefined` is treated as the value not being there.
586
+ * Read more here: https://pris.ly/d/null-undefined
587
+ * @param {AdversarialBoolListElementUpdateManyArgs} args - Arguments to update one or more rows.
588
+ * @example
589
+ * // Update many AdversarialBoolListElements
590
+ * const adversarialBoolListElement = await prisma.adversarialBoolListElement.updateMany({
591
+ * where: {
592
+ * // ... provide filter here
593
+ * },
594
+ * data: {
595
+ * // ... provide data here
596
+ * }
597
+ * })
598
+ *
599
+ */
600
+ updateMany<T extends AdversarialBoolListElementUpdateManyArgs>(args: Prisma.SelectSubset<T, AdversarialBoolListElementUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
601
+
602
+ /**
603
+ * Create or update one AdversarialBoolListElement.
604
+ * @param {AdversarialBoolListElementUpsertArgs} args - Arguments to update or create a AdversarialBoolListElement.
605
+ * @example
606
+ * // Update or create a AdversarialBoolListElement
607
+ * const adversarialBoolListElement = await prisma.adversarialBoolListElement.upsert({
608
+ * create: {
609
+ * // ... data to create a AdversarialBoolListElement
610
+ * },
611
+ * update: {
612
+ * // ... in case it already exists, update
613
+ * },
614
+ * where: {
615
+ * // ... the filter for the AdversarialBoolListElement we want to update
616
+ * }
617
+ * })
618
+ */
619
+ upsert<T extends AdversarialBoolListElementUpsertArgs>(args: Prisma.SelectSubset<T, AdversarialBoolListElementUpsertArgs<ExtArgs>>): Prisma.Prisma__AdversarialBoolListElementClient<runtime.Types.Result.GetResult<Prisma.$AdversarialBoolListElementPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
620
+
621
+
622
+ /**
623
+ * Count the number of AdversarialBoolListElements.
624
+ * Note, that providing `undefined` is treated as the value not being there.
625
+ * Read more here: https://pris.ly/d/null-undefined
626
+ * @param {AdversarialBoolListElementCountArgs} args - Arguments to filter AdversarialBoolListElements to count.
627
+ * @example
628
+ * // Count the number of AdversarialBoolListElements
629
+ * const count = await prisma.adversarialBoolListElement.count({
630
+ * where: {
631
+ * // ... the filter for the AdversarialBoolListElements we want to count
632
+ * }
633
+ * })
634
+ **/
635
+ count<T extends AdversarialBoolListElementCountArgs>(
636
+ args?: Prisma.Subset<T, AdversarialBoolListElementCountArgs>,
637
+ ): Prisma.PrismaPromise<
638
+ T extends runtime.Types.Utils.Record<'select', any>
639
+ ? T['select'] extends true
640
+ ? number
641
+ : Prisma.GetScalarType<T['select'], AdversarialBoolListElementCountAggregateOutputType>
642
+ : number
643
+ >
644
+
645
+ /**
646
+ * Allows you to perform aggregations operations on a AdversarialBoolListElement.
647
+ * Note, that providing `undefined` is treated as the value not being there.
648
+ * Read more here: https://pris.ly/d/null-undefined
649
+ * @param {AdversarialBoolListElementAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
650
+ * @example
651
+ * // Ordered by age ascending
652
+ * // Where email contains prisma.io
653
+ * // Limited to the 10 users
654
+ * const aggregations = await prisma.user.aggregate({
655
+ * _avg: {
656
+ * age: true,
657
+ * },
658
+ * where: {
659
+ * email: {
660
+ * contains: "prisma.io",
661
+ * },
662
+ * },
663
+ * orderBy: {
664
+ * age: "asc",
665
+ * },
666
+ * take: 10,
667
+ * })
668
+ **/
669
+ aggregate<T extends AdversarialBoolListElementAggregateArgs>(args: Prisma.Subset<T, AdversarialBoolListElementAggregateArgs>): Prisma.PrismaPromise<GetAdversarialBoolListElementAggregateType<T>>
670
+
671
+ /**
672
+ * Group by AdversarialBoolListElement.
673
+ * Note, that providing `undefined` is treated as the value not being there.
674
+ * Read more here: https://pris.ly/d/null-undefined
675
+ * @param {AdversarialBoolListElementGroupByArgs} args - Group by arguments.
676
+ * @example
677
+ * // Group by city, order by createdAt, get count
678
+ * const result = await prisma.user.groupBy({
679
+ * by: ['city', 'createdAt'],
680
+ * orderBy: {
681
+ * createdAt: true
682
+ * },
683
+ * _count: {
684
+ * _all: true
685
+ * },
686
+ * })
687
+ *
688
+ **/
689
+ groupBy<
690
+ T extends AdversarialBoolListElementGroupByArgs,
691
+ HasSelectOrTake extends Prisma.Or<
692
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
693
+ Prisma.Extends<'take', Prisma.Keys<T>>
694
+ >,
695
+ OrderByArg extends Prisma.True extends HasSelectOrTake
696
+ ? { orderBy: AdversarialBoolListElementGroupByArgs['orderBy'] }
697
+ : { orderBy?: AdversarialBoolListElementGroupByArgs['orderBy'] },
698
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
699
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
700
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
701
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
702
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
703
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
704
+ InputErrors extends ByEmpty extends Prisma.True
705
+ ? `Error: "by" must not be empty.`
706
+ : HavingValid extends Prisma.False
707
+ ? {
708
+ [P in HavingFields]: P extends ByFields
709
+ ? never
710
+ : P extends string
711
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
712
+ : [
713
+ Error,
714
+ 'Field ',
715
+ P,
716
+ ` in "having" needs to be provided in "by"`,
717
+ ]
718
+ }[HavingFields]
719
+ : 'take' extends Prisma.Keys<T>
720
+ ? 'orderBy' extends Prisma.Keys<T>
721
+ ? ByValid extends Prisma.True
722
+ ? {}
723
+ : {
724
+ [P in OrderFields]: P extends ByFields
725
+ ? never
726
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
727
+ }[OrderFields]
728
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
729
+ : 'skip' extends Prisma.Keys<T>
730
+ ? 'orderBy' extends Prisma.Keys<T>
731
+ ? ByValid extends Prisma.True
732
+ ? {}
733
+ : {
734
+ [P in OrderFields]: P extends ByFields
735
+ ? never
736
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
737
+ }[OrderFields]
738
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
739
+ : ByValid extends Prisma.True
740
+ ? {}
741
+ : {
742
+ [P in OrderFields]: P extends ByFields
743
+ ? never
744
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
745
+ }[OrderFields]
746
+ >(args: Prisma.SubsetIntersection<T, AdversarialBoolListElementGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAdversarialBoolListElementGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
747
+ /**
748
+ * Fields of the AdversarialBoolListElement model
749
+ */
750
+ readonly fields: AdversarialBoolListElementFieldRefs;
751
+ }
752
+
753
+ /**
754
+ * The delegate class that acts as a "Promise-like" for AdversarialBoolListElement.
755
+ * Why is this prefixed with `Prisma__`?
756
+ * Because we want to prevent naming conflicts as mentioned in
757
+ * https://github.com/prisma/prisma-client-js/issues/707
758
+ */
759
+ export interface Prisma__AdversarialBoolListElementClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
760
+ readonly [Symbol.toStringTag]: "PrismaPromise"
761
+ resource<T extends Prisma.AdversarialResourceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AdversarialResourceDefaultArgs<ExtArgs>>): Prisma.Prisma__AdversarialResourceClient<runtime.Types.Result.GetResult<Prisma.$AdversarialResourcePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
762
+ /**
763
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
764
+ * @param onfulfilled The callback to execute when the Promise is resolved.
765
+ * @param onrejected The callback to execute when the Promise is rejected.
766
+ * @returns A Promise for the completion of which ever callback is executed.
767
+ */
768
+ 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>
769
+ /**
770
+ * Attaches a callback for only the rejection of the Promise.
771
+ * @param onrejected The callback to execute when the Promise is rejected.
772
+ * @returns A Promise for the completion of the callback.
773
+ */
774
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
775
+ /**
776
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
777
+ * resolved value cannot be modified from the callback.
778
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
779
+ * @returns A Promise for the completion of the callback.
780
+ */
781
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
782
+ }
783
+
784
+
785
+
786
+
787
+ /**
788
+ * Fields of the AdversarialBoolListElement model
789
+ */
790
+ export interface AdversarialBoolListElementFieldRefs {
791
+ readonly id: Prisma.FieldRef<"AdversarialBoolListElement", 'String'>
792
+ readonly value: Prisma.FieldRef<"AdversarialBoolListElement", 'Boolean'>
793
+ readonly resourceId: Prisma.FieldRef<"AdversarialBoolListElement", 'String'>
794
+ }
795
+
796
+
797
+ // Custom InputTypes
798
+ /**
799
+ * AdversarialBoolListElement findUnique
800
+ */
801
+ export type AdversarialBoolListElementFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
802
+ /**
803
+ * Select specific fields to fetch from the AdversarialBoolListElement
804
+ */
805
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
806
+ /**
807
+ * Omit specific fields from the AdversarialBoolListElement
808
+ */
809
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
810
+ /**
811
+ * Choose, which related nodes to fetch as well
812
+ */
813
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
814
+ /**
815
+ * Filter, which AdversarialBoolListElement to fetch.
816
+ */
817
+ where: Prisma.AdversarialBoolListElementWhereUniqueInput
818
+ }
819
+
820
+ /**
821
+ * AdversarialBoolListElement findUniqueOrThrow
822
+ */
823
+ export type AdversarialBoolListElementFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
824
+ /**
825
+ * Select specific fields to fetch from the AdversarialBoolListElement
826
+ */
827
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
828
+ /**
829
+ * Omit specific fields from the AdversarialBoolListElement
830
+ */
831
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
832
+ /**
833
+ * Choose, which related nodes to fetch as well
834
+ */
835
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
836
+ /**
837
+ * Filter, which AdversarialBoolListElement to fetch.
838
+ */
839
+ where: Prisma.AdversarialBoolListElementWhereUniqueInput
840
+ }
841
+
842
+ /**
843
+ * AdversarialBoolListElement findFirst
844
+ */
845
+ export type AdversarialBoolListElementFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
846
+ /**
847
+ * Select specific fields to fetch from the AdversarialBoolListElement
848
+ */
849
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
850
+ /**
851
+ * Omit specific fields from the AdversarialBoolListElement
852
+ */
853
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
854
+ /**
855
+ * Choose, which related nodes to fetch as well
856
+ */
857
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
858
+ /**
859
+ * Filter, which AdversarialBoolListElement to fetch.
860
+ */
861
+ where?: Prisma.AdversarialBoolListElementWhereInput
862
+ /**
863
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
864
+ *
865
+ * Determine the order of AdversarialBoolListElements to fetch.
866
+ */
867
+ orderBy?: Prisma.AdversarialBoolListElementOrderByWithRelationInput | Prisma.AdversarialBoolListElementOrderByWithRelationInput[]
868
+ /**
869
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
870
+ *
871
+ * Sets the position for searching for AdversarialBoolListElements.
872
+ */
873
+ cursor?: Prisma.AdversarialBoolListElementWhereUniqueInput
874
+ /**
875
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
876
+ *
877
+ * Take `±n` AdversarialBoolListElements from the position of the cursor.
878
+ */
879
+ take?: number
880
+ /**
881
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
882
+ *
883
+ * Skip the first `n` AdversarialBoolListElements.
884
+ */
885
+ skip?: number
886
+ /**
887
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
888
+ *
889
+ * Filter by unique combinations of AdversarialBoolListElements.
890
+ */
891
+ distinct?: Prisma.AdversarialBoolListElementScalarFieldEnum | Prisma.AdversarialBoolListElementScalarFieldEnum[]
892
+ }
893
+
894
+ /**
895
+ * AdversarialBoolListElement findFirstOrThrow
896
+ */
897
+ export type AdversarialBoolListElementFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
898
+ /**
899
+ * Select specific fields to fetch from the AdversarialBoolListElement
900
+ */
901
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
902
+ /**
903
+ * Omit specific fields from the AdversarialBoolListElement
904
+ */
905
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
906
+ /**
907
+ * Choose, which related nodes to fetch as well
908
+ */
909
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
910
+ /**
911
+ * Filter, which AdversarialBoolListElement to fetch.
912
+ */
913
+ where?: Prisma.AdversarialBoolListElementWhereInput
914
+ /**
915
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
916
+ *
917
+ * Determine the order of AdversarialBoolListElements to fetch.
918
+ */
919
+ orderBy?: Prisma.AdversarialBoolListElementOrderByWithRelationInput | Prisma.AdversarialBoolListElementOrderByWithRelationInput[]
920
+ /**
921
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
922
+ *
923
+ * Sets the position for searching for AdversarialBoolListElements.
924
+ */
925
+ cursor?: Prisma.AdversarialBoolListElementWhereUniqueInput
926
+ /**
927
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
928
+ *
929
+ * Take `±n` AdversarialBoolListElements from the position of the cursor.
930
+ */
931
+ take?: number
932
+ /**
933
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
934
+ *
935
+ * Skip the first `n` AdversarialBoolListElements.
936
+ */
937
+ skip?: number
938
+ /**
939
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
940
+ *
941
+ * Filter by unique combinations of AdversarialBoolListElements.
942
+ */
943
+ distinct?: Prisma.AdversarialBoolListElementScalarFieldEnum | Prisma.AdversarialBoolListElementScalarFieldEnum[]
944
+ }
945
+
946
+ /**
947
+ * AdversarialBoolListElement findMany
948
+ */
949
+ export type AdversarialBoolListElementFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
950
+ /**
951
+ * Select specific fields to fetch from the AdversarialBoolListElement
952
+ */
953
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
954
+ /**
955
+ * Omit specific fields from the AdversarialBoolListElement
956
+ */
957
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
958
+ /**
959
+ * Choose, which related nodes to fetch as well
960
+ */
961
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
962
+ /**
963
+ * Filter, which AdversarialBoolListElements to fetch.
964
+ */
965
+ where?: Prisma.AdversarialBoolListElementWhereInput
966
+ /**
967
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
968
+ *
969
+ * Determine the order of AdversarialBoolListElements to fetch.
970
+ */
971
+ orderBy?: Prisma.AdversarialBoolListElementOrderByWithRelationInput | Prisma.AdversarialBoolListElementOrderByWithRelationInput[]
972
+ /**
973
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
974
+ *
975
+ * Sets the position for listing AdversarialBoolListElements.
976
+ */
977
+ cursor?: Prisma.AdversarialBoolListElementWhereUniqueInput
978
+ /**
979
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
980
+ *
981
+ * Take `±n` AdversarialBoolListElements from the position of the cursor.
982
+ */
983
+ take?: number
984
+ /**
985
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
986
+ *
987
+ * Skip the first `n` AdversarialBoolListElements.
988
+ */
989
+ skip?: number
990
+ /**
991
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
992
+ *
993
+ * Filter by unique combinations of AdversarialBoolListElements.
994
+ */
995
+ distinct?: Prisma.AdversarialBoolListElementScalarFieldEnum | Prisma.AdversarialBoolListElementScalarFieldEnum[]
996
+ }
997
+
998
+ /**
999
+ * AdversarialBoolListElement create
1000
+ */
1001
+ export type AdversarialBoolListElementCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1002
+ /**
1003
+ * Select specific fields to fetch from the AdversarialBoolListElement
1004
+ */
1005
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
1006
+ /**
1007
+ * Omit specific fields from the AdversarialBoolListElement
1008
+ */
1009
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
1010
+ /**
1011
+ * Choose, which related nodes to fetch as well
1012
+ */
1013
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
1014
+ /**
1015
+ * The data needed to create a AdversarialBoolListElement.
1016
+ */
1017
+ data: Prisma.XOR<Prisma.AdversarialBoolListElementCreateInput, Prisma.AdversarialBoolListElementUncheckedCreateInput>
1018
+ }
1019
+
1020
+ /**
1021
+ * AdversarialBoolListElement createMany
1022
+ */
1023
+ export type AdversarialBoolListElementCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1024
+ /**
1025
+ * The data used to create many AdversarialBoolListElements.
1026
+ */
1027
+ data: Prisma.AdversarialBoolListElementCreateManyInput | Prisma.AdversarialBoolListElementCreateManyInput[]
1028
+ skipDuplicates?: boolean
1029
+ }
1030
+
1031
+ /**
1032
+ * AdversarialBoolListElement update
1033
+ */
1034
+ export type AdversarialBoolListElementUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1035
+ /**
1036
+ * Select specific fields to fetch from the AdversarialBoolListElement
1037
+ */
1038
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
1039
+ /**
1040
+ * Omit specific fields from the AdversarialBoolListElement
1041
+ */
1042
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
1043
+ /**
1044
+ * Choose, which related nodes to fetch as well
1045
+ */
1046
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
1047
+ /**
1048
+ * The data needed to update a AdversarialBoolListElement.
1049
+ */
1050
+ data: Prisma.XOR<Prisma.AdversarialBoolListElementUpdateInput, Prisma.AdversarialBoolListElementUncheckedUpdateInput>
1051
+ /**
1052
+ * Choose, which AdversarialBoolListElement to update.
1053
+ */
1054
+ where: Prisma.AdversarialBoolListElementWhereUniqueInput
1055
+ }
1056
+
1057
+ /**
1058
+ * AdversarialBoolListElement updateMany
1059
+ */
1060
+ export type AdversarialBoolListElementUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1061
+ /**
1062
+ * The data used to update AdversarialBoolListElements.
1063
+ */
1064
+ data: Prisma.XOR<Prisma.AdversarialBoolListElementUpdateManyMutationInput, Prisma.AdversarialBoolListElementUncheckedUpdateManyInput>
1065
+ /**
1066
+ * Filter which AdversarialBoolListElements to update
1067
+ */
1068
+ where?: Prisma.AdversarialBoolListElementWhereInput
1069
+ /**
1070
+ * Limit how many AdversarialBoolListElements to update.
1071
+ */
1072
+ limit?: number
1073
+ }
1074
+
1075
+ /**
1076
+ * AdversarialBoolListElement upsert
1077
+ */
1078
+ export type AdversarialBoolListElementUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1079
+ /**
1080
+ * Select specific fields to fetch from the AdversarialBoolListElement
1081
+ */
1082
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
1083
+ /**
1084
+ * Omit specific fields from the AdversarialBoolListElement
1085
+ */
1086
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
1087
+ /**
1088
+ * Choose, which related nodes to fetch as well
1089
+ */
1090
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
1091
+ /**
1092
+ * The filter to search for the AdversarialBoolListElement to update in case it exists.
1093
+ */
1094
+ where: Prisma.AdversarialBoolListElementWhereUniqueInput
1095
+ /**
1096
+ * In case the AdversarialBoolListElement found by the `where` argument doesn't exist, create a new AdversarialBoolListElement with this data.
1097
+ */
1098
+ create: Prisma.XOR<Prisma.AdversarialBoolListElementCreateInput, Prisma.AdversarialBoolListElementUncheckedCreateInput>
1099
+ /**
1100
+ * In case the AdversarialBoolListElement was found with the provided `where` argument, update it with this data.
1101
+ */
1102
+ update: Prisma.XOR<Prisma.AdversarialBoolListElementUpdateInput, Prisma.AdversarialBoolListElementUncheckedUpdateInput>
1103
+ }
1104
+
1105
+ /**
1106
+ * AdversarialBoolListElement delete
1107
+ */
1108
+ export type AdversarialBoolListElementDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1109
+ /**
1110
+ * Select specific fields to fetch from the AdversarialBoolListElement
1111
+ */
1112
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
1113
+ /**
1114
+ * Omit specific fields from the AdversarialBoolListElement
1115
+ */
1116
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
1117
+ /**
1118
+ * Choose, which related nodes to fetch as well
1119
+ */
1120
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
1121
+ /**
1122
+ * Filter which AdversarialBoolListElement to delete.
1123
+ */
1124
+ where: Prisma.AdversarialBoolListElementWhereUniqueInput
1125
+ }
1126
+
1127
+ /**
1128
+ * AdversarialBoolListElement deleteMany
1129
+ */
1130
+ export type AdversarialBoolListElementDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1131
+ /**
1132
+ * Filter which AdversarialBoolListElements to delete
1133
+ */
1134
+ where?: Prisma.AdversarialBoolListElementWhereInput
1135
+ /**
1136
+ * Limit how many AdversarialBoolListElements to delete.
1137
+ */
1138
+ limit?: number
1139
+ }
1140
+
1141
+ /**
1142
+ * AdversarialBoolListElement without action
1143
+ */
1144
+ export type AdversarialBoolListElementDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1145
+ /**
1146
+ * Select specific fields to fetch from the AdversarialBoolListElement
1147
+ */
1148
+ select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
1149
+ /**
1150
+ * Omit specific fields from the AdversarialBoolListElement
1151
+ */
1152
+ omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
1153
+ /**
1154
+ * Choose, which related nodes to fetch as well
1155
+ */
1156
+ include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
1157
+ }