@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.
- package/README.md +611 -460
- package/lib/collections.d.ts +30 -0
- package/lib/collections.d.ts.map +1 -0
- package/lib/collections.js +421 -0
- package/lib/collections.js.map +1 -0
- package/lib/comparison.d.ts +24 -0
- package/lib/comparison.d.ts.map +1 -0
- package/lib/comparison.js +731 -0
- package/lib/comparison.js.map +1 -0
- package/lib/errors.d.ts +13 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +17 -0
- package/lib/errors.js.map +1 -0
- package/lib/evaluate.d.ts +5 -0
- package/lib/evaluate.d.ts.map +1 -0
- package/lib/evaluate.js +118 -0
- package/lib/evaluate.js.map +1 -0
- package/lib/fields.d.ts +34 -0
- package/lib/fields.d.ts.map +1 -0
- package/lib/fields.js +253 -0
- package/lib/fields.js.map +1 -0
- package/lib/functions.d.ts +5 -0
- package/lib/functions.d.ts.map +1 -0
- package/lib/functions.js +408 -0
- package/lib/functions.js.map +1 -0
- package/lib/hierarchy.d.ts +6 -0
- package/lib/hierarchy.d.ts.map +1 -0
- package/lib/hierarchy.js +266 -0
- package/lib/hierarchy.js.map +1 -0
- package/lib/index.d.ts +91 -8
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +34 -2301
- package/lib/index.js.map +1 -1
- package/lib/literals.d.ts +20 -0
- package/lib/literals.d.ts.map +1 -0
- package/lib/literals.js +290 -0
- package/lib/literals.js.map +1 -0
- package/lib/mapping.d.ts +95 -0
- package/lib/mapping.d.ts.map +1 -0
- package/lib/mapping.js +316 -0
- package/lib/mapping.js.map +1 -0
- package/lib/narrowing.d.ts +12 -0
- package/lib/narrowing.d.ts.map +1 -0
- package/lib/narrowing.js +32 -0
- package/lib/narrowing.js.map +1 -0
- package/lib/plan.d.ts +49 -0
- package/lib/plan.d.ts.map +1 -0
- package/lib/plan.js +86 -0
- package/lib/plan.js.map +1 -0
- package/lib/presence.d.ts +25 -0
- package/lib/presence.d.ts.map +1 -0
- package/lib/presence.js +82 -0
- package/lib/presence.js.map +1 -0
- package/lib/regex.d.ts +33 -0
- package/lib/regex.d.ts.map +1 -0
- package/lib/regex.js +480 -0
- package/lib/regex.js.map +1 -0
- package/lib/relations.d.ts +58 -0
- package/lib/relations.d.ts.map +1 -0
- package/lib/relations.js +175 -0
- package/lib/relations.js.map +1 -0
- package/lib/rewrite.d.ts +36 -0
- package/lib/rewrite.d.ts.map +1 -0
- package/lib/rewrite.js +366 -0
- package/lib/rewrite.js.map +1 -0
- package/lib/solve.d.ts +20 -0
- package/lib/solve.d.ts.map +1 -0
- package/lib/solve.js +77 -0
- package/lib/solve.js.map +1 -0
- package/lib/strings.d.ts +12 -0
- package/lib/strings.d.ts.map +1 -0
- package/lib/strings.js +110 -0
- package/lib/strings.js.map +1 -0
- package/lib/ternary.d.ts +12 -0
- package/lib/ternary.d.ts.map +1 -0
- package/lib/ternary.js +192 -0
- package/lib/ternary.js.map +1 -0
- package/lib/timestamp.d.ts +45 -0
- package/lib/timestamp.d.ts.map +1 -0
- package/lib/timestamp.js +225 -0
- package/lib/timestamp.js.map +1 -0
- package/lib/translate.d.ts +20 -0
- package/lib/translate.d.ts.map +1 -0
- package/lib/translate.js +287 -0
- package/lib/translate.js.map +1 -0
- package/lib/types.d.ts +29 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +980 -0
- package/lib/types.js.map +1 -0
- package/lib/value.d.ts +8 -0
- package/lib/value.d.ts.map +1 -0
- package/lib/value.js +7 -0
- package/lib/value.js.map +1 -0
- package/package.json +31 -18
- package/src/adversarial.test.ts +488 -488
- package/src/collections.ts +738 -0
- package/src/comparison.ts +1157 -0
- package/src/corpus.ts +597 -0
- package/src/errors.ts +12 -0
- package/src/evaluate.ts +170 -0
- package/src/fields.ts +373 -0
- package/src/functions.ts +548 -0
- package/src/generated/prisma-adversarial/browser.ts +20 -0
- package/src/generated/prisma-adversarial/client.ts +20 -0
- package/src/generated/prisma-adversarial/commonInputTypes.ts +116 -127
- package/src/generated/prisma-adversarial/internal/class.ts +44 -4
- package/src/generated/prisma-adversarial/internal/prismaNamespace.ts +350 -3
- package/src/generated/prisma-adversarial/internal/prismaNamespaceBrowser.ts +49 -2
- package/src/generated/prisma-adversarial/models/AdversarialBoolListElement.ts +1272 -0
- package/src/generated/prisma-adversarial/models/AdversarialInner.ts +1369 -0
- package/src/generated/prisma-adversarial/models/AdversarialNumberListElement.ts +1316 -0
- package/src/generated/prisma-adversarial/models/AdversarialParent.ts +1474 -0
- package/src/generated/prisma-adversarial/models/AdversarialResource.ts +547 -75
- package/src/generated/prisma-adversarial/models.ts +4 -0
- package/src/generated/prisma-adversarial-mysql/browser.ts +64 -0
- package/src/generated/{prisma → prisma-adversarial-mysql}/client.ts +23 -18
- package/src/generated/{prisma → prisma-adversarial-mysql}/commonInputTypes.ts +167 -92
- package/src/generated/prisma-adversarial-mysql/internal/class.ts +284 -0
- package/src/generated/prisma-adversarial-mysql/internal/prismaNamespace.ts +1518 -0
- package/src/generated/prisma-adversarial-mysql/internal/prismaNamespaceBrowser.ts +274 -0
- package/src/generated/prisma-adversarial-mysql/models/AdversarialBoolListElement.ts +1157 -0
- package/src/generated/prisma-adversarial-mysql/models/AdversarialCategory.ts +1286 -0
- package/src/generated/prisma-adversarial-mysql/models/AdversarialInner.ts +1247 -0
- package/src/generated/prisma-adversarial-mysql/models/AdversarialLabel.ts +1157 -0
- package/src/generated/prisma-adversarial-mysql/models/AdversarialNumberListElement.ts +1201 -0
- package/src/generated/prisma-adversarial-mysql/models/AdversarialParent.ts +1352 -0
- package/src/generated/prisma-adversarial-mysql/models/AdversarialResource.ts +2021 -0
- package/src/generated/prisma-adversarial-mysql/models/AdversarialSubCategory.ts +1286 -0
- package/src/generated/prisma-adversarial-mysql/models/AdversarialTag.ts +1190 -0
- package/src/generated/prisma-adversarial-mysql/models.ts +20 -0
- package/src/generated/prisma-adversarial-mysql-v6/index.d.ts +13822 -0
- package/src/generated/prisma-adversarial-pg/browser.ts +64 -0
- package/src/generated/prisma-adversarial-pg/client.ts +86 -0
- package/src/generated/prisma-adversarial-pg/commonInputTypes.ts +345 -0
- package/src/generated/prisma-adversarial-pg/enums.ts +15 -0
- package/src/generated/prisma-adversarial-pg/internal/class.ts +284 -0
- package/src/generated/prisma-adversarial-pg/internal/prismaNamespace.ts +1542 -0
- package/src/generated/{prisma → prisma-adversarial-pg}/internal/prismaNamespaceBrowser.ts +72 -43
- package/src/generated/prisma-adversarial-pg/models/AdversarialBoolListElement.ts +1275 -0
- package/src/generated/prisma-adversarial-pg/models/AdversarialCategory.ts +1404 -0
- package/src/generated/prisma-adversarial-pg/models/AdversarialInner.ts +1371 -0
- package/src/generated/prisma-adversarial-pg/models/AdversarialLabel.ts +1275 -0
- package/src/generated/prisma-adversarial-pg/models/AdversarialNumberListElement.ts +1319 -0
- package/src/generated/prisma-adversarial-pg/models/AdversarialParent.ts +1476 -0
- package/src/generated/prisma-adversarial-pg/models/AdversarialResource.ts +2139 -0
- package/src/generated/prisma-adversarial-pg/models/AdversarialSubCategory.ts +1404 -0
- package/src/generated/prisma-adversarial-pg/models/AdversarialTag.ts +1310 -0
- package/src/generated/prisma-adversarial-pg/models.ts +20 -0
- package/src/generated/prisma-adversarial-pg-v6/client.d.ts +1 -0
- package/src/generated/prisma-adversarial-pg-v6/default.d.ts +1 -0
- package/src/generated/prisma-adversarial-pg-v6/edge.d.ts +1 -0
- package/src/generated/prisma-adversarial-pg-v6/index.d.ts +14918 -0
- package/src/generated/prisma-adversarial-pg-v6/runtime/index-browser.d.ts +370 -0
- package/src/generated/prisma-adversarial-pg-v6/runtime/library.d.ts +3982 -0
- package/src/generated/prisma-adversarial-pg-v6/wasm.d.ts +1 -0
- package/src/generated/prisma-adversarial-v6/index.d.ts +6515 -304
- package/src/hierarchy.ts +405 -0
- package/src/index.ts +134 -3325
- package/src/literals.ts +363 -0
- package/src/mapping.ts +474 -0
- package/src/narrowing.ts +33 -0
- package/src/plan.ts +125 -0
- package/src/presence.ts +114 -0
- package/src/regex.ts +596 -0
- package/src/relations.ts +226 -0
- package/src/rewrite.ts +524 -0
- package/src/solve.ts +96 -0
- package/src/strings.ts +152 -0
- package/src/ternary.ts +359 -0
- package/src/test-setup.adversarial-url.ts +21 -0
- package/src/test-setup.adversarial.mysql.v6.ts +13 -0
- package/src/test-setup.adversarial.mysql.v7.ts +12 -0
- package/src/test-setup.adversarial.pg.v6.ts +13 -0
- package/src/test-setup.adversarial.pg.v7.ts +9 -0
- package/src/test-setup.adversarial.v7.ts +1 -0
- package/src/timestamp.ts +308 -0
- package/src/translate.ts +419 -0
- package/src/translator.test.ts +766 -0
- package/src/types.ts +1310 -0
- package/src/value.ts +16 -0
- package/src/generated/prisma/browser.ts +0 -59
- package/src/generated/prisma/internal/class.ts +0 -274
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -1403
- package/src/generated/prisma/models/Category.ts +0 -1412
- package/src/generated/prisma/models/Label.ts +0 -1276
- package/src/generated/prisma/models/NestedResource.ts +0 -1562
- package/src/generated/prisma/models/NextLevelNestedResource.ts +0 -1337
- package/src/generated/prisma/models/Resource.ts +0 -2196
- package/src/generated/prisma/models/SubCategory.ts +0 -1412
- package/src/generated/prisma/models/Tag.ts +0 -1276
- package/src/generated/prisma/models/User.ts +0 -1503
- package/src/generated/prisma/models.ts +0 -19
- package/src/generated/prisma-v6/index.d.ts +0 -13726
- package/src/index.test.ts +0 -8885
- package/src/test-setup.v6.ts +0 -5
- package/src/test-setup.v7.ts +0 -7
- /package/src/generated/{prisma → prisma-adversarial-mysql}/enums.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/client.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/default.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/edge.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/runtime/index-browser.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/runtime/library.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-mysql-v6}/wasm.d.ts +0 -0
|
@@ -46,6 +46,7 @@ export type AdversarialResourceMinAggregateOutputType = {
|
|
|
46
46
|
createdBy: string | null
|
|
47
47
|
scope: string | null
|
|
48
48
|
createdAt: Date | null
|
|
49
|
+
updatedAt: Date | null
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
export type AdversarialResourceMaxAggregateOutputType = {
|
|
@@ -58,6 +59,7 @@ export type AdversarialResourceMaxAggregateOutputType = {
|
|
|
58
59
|
createdBy: string | null
|
|
59
60
|
scope: string | null
|
|
60
61
|
createdAt: Date | null
|
|
62
|
+
updatedAt: Date | null
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
export type AdversarialResourceCountAggregateOutputType = {
|
|
@@ -70,6 +72,7 @@ export type AdversarialResourceCountAggregateOutputType = {
|
|
|
70
72
|
createdBy: number
|
|
71
73
|
scope: number
|
|
72
74
|
createdAt: number
|
|
75
|
+
updatedAt: number
|
|
73
76
|
_all: number
|
|
74
77
|
}
|
|
75
78
|
|
|
@@ -94,6 +97,7 @@ export type AdversarialResourceMinAggregateInputType = {
|
|
|
94
97
|
createdBy?: true
|
|
95
98
|
scope?: true
|
|
96
99
|
createdAt?: true
|
|
100
|
+
updatedAt?: true
|
|
97
101
|
}
|
|
98
102
|
|
|
99
103
|
export type AdversarialResourceMaxAggregateInputType = {
|
|
@@ -106,6 +110,7 @@ export type AdversarialResourceMaxAggregateInputType = {
|
|
|
106
110
|
createdBy?: true
|
|
107
111
|
scope?: true
|
|
108
112
|
createdAt?: true
|
|
113
|
+
updatedAt?: true
|
|
109
114
|
}
|
|
110
115
|
|
|
111
116
|
export type AdversarialResourceCountAggregateInputType = {
|
|
@@ -118,6 +123,7 @@ export type AdversarialResourceCountAggregateInputType = {
|
|
|
118
123
|
createdBy?: true
|
|
119
124
|
scope?: true
|
|
120
125
|
createdAt?: true
|
|
126
|
+
updatedAt?: true
|
|
121
127
|
_all?: true
|
|
122
128
|
}
|
|
123
129
|
|
|
@@ -209,14 +215,15 @@ export type AdversarialResourceGroupByArgs<ExtArgs extends runtime.Types.Extensi
|
|
|
209
215
|
|
|
210
216
|
export type AdversarialResourceGroupByOutputType = {
|
|
211
217
|
id: string
|
|
212
|
-
aBool: boolean
|
|
213
|
-
aString: string
|
|
214
|
-
aNumber: number
|
|
218
|
+
aBool: boolean | null
|
|
219
|
+
aString: string | null
|
|
220
|
+
aNumber: number | null
|
|
215
221
|
aDouble: number | null
|
|
216
222
|
aOptionalString: string | null
|
|
217
223
|
createdBy: string
|
|
218
224
|
scope: string | null
|
|
219
225
|
createdAt: Date | null
|
|
226
|
+
updatedAt: Date | null
|
|
220
227
|
_count: AdversarialResourceCountAggregateOutputType | null
|
|
221
228
|
_avg: AdversarialResourceAvgAggregateOutputType | null
|
|
222
229
|
_sum: AdversarialResourceSumAggregateOutputType | null
|
|
@@ -244,30 +251,38 @@ export type AdversarialResourceWhereInput = {
|
|
|
244
251
|
OR?: Prisma.AdversarialResourceWhereInput[]
|
|
245
252
|
NOT?: Prisma.AdversarialResourceWhereInput | Prisma.AdversarialResourceWhereInput[]
|
|
246
253
|
id?: Prisma.StringFilter<"AdversarialResource"> | string
|
|
247
|
-
aBool?: Prisma.
|
|
248
|
-
aString?: Prisma.
|
|
249
|
-
aNumber?: Prisma.
|
|
254
|
+
aBool?: Prisma.BoolNullableFilter<"AdversarialResource"> | boolean | null
|
|
255
|
+
aString?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
|
|
256
|
+
aNumber?: Prisma.IntNullableFilter<"AdversarialResource"> | number | null
|
|
250
257
|
aDouble?: Prisma.FloatNullableFilter<"AdversarialResource"> | number | null
|
|
251
258
|
aOptionalString?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
|
|
252
259
|
createdBy?: Prisma.StringFilter<"AdversarialResource"> | string
|
|
253
260
|
scope?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
|
|
254
261
|
createdAt?: Prisma.DateTimeNullableFilter<"AdversarialResource"> | Date | string | null
|
|
262
|
+
updatedAt?: Prisma.DateTimeNullableFilter<"AdversarialResource"> | Date | string | null
|
|
255
263
|
tags?: Prisma.AdversarialTagListRelationFilter
|
|
256
264
|
categories?: Prisma.AdversarialCategoryListRelationFilter
|
|
265
|
+
parent?: Prisma.XOR<Prisma.AdversarialParentNullableScalarRelationFilter, Prisma.AdversarialParentWhereInput> | null
|
|
266
|
+
numberList?: Prisma.AdversarialNumberListElementListRelationFilter
|
|
267
|
+
boolList?: Prisma.AdversarialBoolListElementListRelationFilter
|
|
257
268
|
}
|
|
258
269
|
|
|
259
270
|
export type AdversarialResourceOrderByWithRelationInput = {
|
|
260
271
|
id?: Prisma.SortOrder
|
|
261
|
-
aBool?: Prisma.SortOrder
|
|
262
|
-
aString?: Prisma.SortOrder
|
|
263
|
-
aNumber?: Prisma.SortOrder
|
|
272
|
+
aBool?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
273
|
+
aString?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
274
|
+
aNumber?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
264
275
|
aDouble?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
265
276
|
aOptionalString?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
266
277
|
createdBy?: Prisma.SortOrder
|
|
267
278
|
scope?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
268
279
|
createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
280
|
+
updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
269
281
|
tags?: Prisma.AdversarialTagOrderByRelationAggregateInput
|
|
270
282
|
categories?: Prisma.AdversarialCategoryOrderByRelationAggregateInput
|
|
283
|
+
parent?: Prisma.AdversarialParentOrderByWithRelationInput
|
|
284
|
+
numberList?: Prisma.AdversarialNumberListElementOrderByRelationAggregateInput
|
|
285
|
+
boolList?: Prisma.AdversarialBoolListElementOrderByRelationAggregateInput
|
|
271
286
|
}
|
|
272
287
|
|
|
273
288
|
export type AdversarialResourceWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -275,28 +290,33 @@ export type AdversarialResourceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
275
290
|
AND?: Prisma.AdversarialResourceWhereInput | Prisma.AdversarialResourceWhereInput[]
|
|
276
291
|
OR?: Prisma.AdversarialResourceWhereInput[]
|
|
277
292
|
NOT?: Prisma.AdversarialResourceWhereInput | Prisma.AdversarialResourceWhereInput[]
|
|
278
|
-
aBool?: Prisma.
|
|
279
|
-
aString?: Prisma.
|
|
280
|
-
aNumber?: Prisma.
|
|
293
|
+
aBool?: Prisma.BoolNullableFilter<"AdversarialResource"> | boolean | null
|
|
294
|
+
aString?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
|
|
295
|
+
aNumber?: Prisma.IntNullableFilter<"AdversarialResource"> | number | null
|
|
281
296
|
aDouble?: Prisma.FloatNullableFilter<"AdversarialResource"> | number | null
|
|
282
297
|
aOptionalString?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
|
|
283
298
|
createdBy?: Prisma.StringFilter<"AdversarialResource"> | string
|
|
284
299
|
scope?: Prisma.StringNullableFilter<"AdversarialResource"> | string | null
|
|
285
300
|
createdAt?: Prisma.DateTimeNullableFilter<"AdversarialResource"> | Date | string | null
|
|
301
|
+
updatedAt?: Prisma.DateTimeNullableFilter<"AdversarialResource"> | Date | string | null
|
|
286
302
|
tags?: Prisma.AdversarialTagListRelationFilter
|
|
287
303
|
categories?: Prisma.AdversarialCategoryListRelationFilter
|
|
304
|
+
parent?: Prisma.XOR<Prisma.AdversarialParentNullableScalarRelationFilter, Prisma.AdversarialParentWhereInput> | null
|
|
305
|
+
numberList?: Prisma.AdversarialNumberListElementListRelationFilter
|
|
306
|
+
boolList?: Prisma.AdversarialBoolListElementListRelationFilter
|
|
288
307
|
}, "id">
|
|
289
308
|
|
|
290
309
|
export type AdversarialResourceOrderByWithAggregationInput = {
|
|
291
310
|
id?: Prisma.SortOrder
|
|
292
|
-
aBool?: Prisma.SortOrder
|
|
293
|
-
aString?: Prisma.SortOrder
|
|
294
|
-
aNumber?: Prisma.SortOrder
|
|
311
|
+
aBool?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
312
|
+
aString?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
313
|
+
aNumber?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
295
314
|
aDouble?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
296
315
|
aOptionalString?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
297
316
|
createdBy?: Prisma.SortOrder
|
|
298
317
|
scope?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
299
318
|
createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
319
|
+
updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
300
320
|
_count?: Prisma.AdversarialResourceCountOrderByAggregateInput
|
|
301
321
|
_avg?: Prisma.AdversarialResourceAvgOrderByAggregateInput
|
|
302
322
|
_max?: Prisma.AdversarialResourceMaxOrderByAggregateInput
|
|
@@ -309,106 +329,126 @@ export type AdversarialResourceScalarWhereWithAggregatesInput = {
|
|
|
309
329
|
OR?: Prisma.AdversarialResourceScalarWhereWithAggregatesInput[]
|
|
310
330
|
NOT?: Prisma.AdversarialResourceScalarWhereWithAggregatesInput | Prisma.AdversarialResourceScalarWhereWithAggregatesInput[]
|
|
311
331
|
id?: Prisma.StringWithAggregatesFilter<"AdversarialResource"> | string
|
|
312
|
-
aBool?: Prisma.
|
|
313
|
-
aString?: Prisma.
|
|
314
|
-
aNumber?: Prisma.
|
|
332
|
+
aBool?: Prisma.BoolNullableWithAggregatesFilter<"AdversarialResource"> | boolean | null
|
|
333
|
+
aString?: Prisma.StringNullableWithAggregatesFilter<"AdversarialResource"> | string | null
|
|
334
|
+
aNumber?: Prisma.IntNullableWithAggregatesFilter<"AdversarialResource"> | number | null
|
|
315
335
|
aDouble?: Prisma.FloatNullableWithAggregatesFilter<"AdversarialResource"> | number | null
|
|
316
336
|
aOptionalString?: Prisma.StringNullableWithAggregatesFilter<"AdversarialResource"> | string | null
|
|
317
337
|
createdBy?: Prisma.StringWithAggregatesFilter<"AdversarialResource"> | string
|
|
318
338
|
scope?: Prisma.StringNullableWithAggregatesFilter<"AdversarialResource"> | string | null
|
|
319
339
|
createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdversarialResource"> | Date | string | null
|
|
340
|
+
updatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdversarialResource"> | Date | string | null
|
|
320
341
|
}
|
|
321
342
|
|
|
322
343
|
export type AdversarialResourceCreateInput = {
|
|
323
344
|
id: string
|
|
324
|
-
aBool
|
|
325
|
-
aString
|
|
326
|
-
aNumber
|
|
345
|
+
aBool?: boolean | null
|
|
346
|
+
aString?: string | null
|
|
347
|
+
aNumber?: number | null
|
|
327
348
|
aDouble?: number | null
|
|
328
349
|
aOptionalString?: string | null
|
|
329
350
|
createdBy: string
|
|
330
351
|
scope?: string | null
|
|
331
352
|
createdAt?: Date | string | null
|
|
353
|
+
updatedAt?: Date | string | null
|
|
332
354
|
tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
|
|
333
355
|
categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
|
|
356
|
+
parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
|
|
357
|
+
numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
|
|
358
|
+
boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
|
|
334
359
|
}
|
|
335
360
|
|
|
336
361
|
export type AdversarialResourceUncheckedCreateInput = {
|
|
337
362
|
id: string
|
|
338
|
-
aBool
|
|
339
|
-
aString
|
|
340
|
-
aNumber
|
|
363
|
+
aBool?: boolean | null
|
|
364
|
+
aString?: string | null
|
|
365
|
+
aNumber?: number | null
|
|
341
366
|
aDouble?: number | null
|
|
342
367
|
aOptionalString?: string | null
|
|
343
368
|
createdBy: string
|
|
344
369
|
scope?: string | null
|
|
345
370
|
createdAt?: Date | string | null
|
|
371
|
+
updatedAt?: Date | string | null
|
|
346
372
|
tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
|
|
347
373
|
categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
|
|
374
|
+
parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
|
|
375
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
376
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
348
377
|
}
|
|
349
378
|
|
|
350
379
|
export type AdversarialResourceUpdateInput = {
|
|
351
380
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
352
|
-
aBool?: Prisma.
|
|
353
|
-
aString?: Prisma.
|
|
354
|
-
aNumber?: Prisma.
|
|
381
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
382
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
383
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
355
384
|
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
356
385
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
357
386
|
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
358
387
|
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
359
388
|
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
389
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
360
390
|
tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
|
|
361
391
|
categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
|
|
392
|
+
parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
|
|
393
|
+
numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
|
|
394
|
+
boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
|
|
362
395
|
}
|
|
363
396
|
|
|
364
397
|
export type AdversarialResourceUncheckedUpdateInput = {
|
|
365
398
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
366
|
-
aBool?: Prisma.
|
|
367
|
-
aString?: Prisma.
|
|
368
|
-
aNumber?: Prisma.
|
|
399
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
400
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
401
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
369
402
|
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
370
403
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
371
404
|
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
372
405
|
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
373
406
|
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
407
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
374
408
|
tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
|
|
375
409
|
categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
|
|
410
|
+
parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
|
|
411
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
412
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
376
413
|
}
|
|
377
414
|
|
|
378
415
|
export type AdversarialResourceCreateManyInput = {
|
|
379
416
|
id: string
|
|
380
|
-
aBool
|
|
381
|
-
aString
|
|
382
|
-
aNumber
|
|
417
|
+
aBool?: boolean | null
|
|
418
|
+
aString?: string | null
|
|
419
|
+
aNumber?: number | null
|
|
383
420
|
aDouble?: number | null
|
|
384
421
|
aOptionalString?: string | null
|
|
385
422
|
createdBy: string
|
|
386
423
|
scope?: string | null
|
|
387
424
|
createdAt?: Date | string | null
|
|
425
|
+
updatedAt?: Date | string | null
|
|
388
426
|
}
|
|
389
427
|
|
|
390
428
|
export type AdversarialResourceUpdateManyMutationInput = {
|
|
391
429
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
392
|
-
aBool?: Prisma.
|
|
393
|
-
aString?: Prisma.
|
|
394
|
-
aNumber?: Prisma.
|
|
430
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
431
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
432
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
395
433
|
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
396
434
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
397
435
|
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
398
436
|
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
399
437
|
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
438
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
400
439
|
}
|
|
401
440
|
|
|
402
441
|
export type AdversarialResourceUncheckedUpdateManyInput = {
|
|
403
442
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
404
|
-
aBool?: Prisma.
|
|
405
|
-
aString?: Prisma.
|
|
406
|
-
aNumber?: Prisma.
|
|
443
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
444
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
445
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
407
446
|
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
408
447
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
409
448
|
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
410
449
|
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
411
450
|
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
451
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
412
452
|
}
|
|
413
453
|
|
|
414
454
|
export type AdversarialResourceCountOrderByAggregateInput = {
|
|
@@ -421,6 +461,7 @@ export type AdversarialResourceCountOrderByAggregateInput = {
|
|
|
421
461
|
createdBy?: Prisma.SortOrder
|
|
422
462
|
scope?: Prisma.SortOrder
|
|
423
463
|
createdAt?: Prisma.SortOrder
|
|
464
|
+
updatedAt?: Prisma.SortOrder
|
|
424
465
|
}
|
|
425
466
|
|
|
426
467
|
export type AdversarialResourceAvgOrderByAggregateInput = {
|
|
@@ -438,6 +479,7 @@ export type AdversarialResourceMaxOrderByAggregateInput = {
|
|
|
438
479
|
createdBy?: Prisma.SortOrder
|
|
439
480
|
scope?: Prisma.SortOrder
|
|
440
481
|
createdAt?: Prisma.SortOrder
|
|
482
|
+
updatedAt?: Prisma.SortOrder
|
|
441
483
|
}
|
|
442
484
|
|
|
443
485
|
export type AdversarialResourceMinOrderByAggregateInput = {
|
|
@@ -450,6 +492,7 @@ export type AdversarialResourceMinOrderByAggregateInput = {
|
|
|
450
492
|
createdBy?: Prisma.SortOrder
|
|
451
493
|
scope?: Prisma.SortOrder
|
|
452
494
|
createdAt?: Prisma.SortOrder
|
|
495
|
+
updatedAt?: Prisma.SortOrder
|
|
453
496
|
}
|
|
454
497
|
|
|
455
498
|
export type AdversarialResourceSumOrderByAggregateInput = {
|
|
@@ -466,12 +509,16 @@ export type StringFieldUpdateOperationsInput = {
|
|
|
466
509
|
set?: string
|
|
467
510
|
}
|
|
468
511
|
|
|
469
|
-
export type
|
|
470
|
-
set?: boolean
|
|
512
|
+
export type NullableBoolFieldUpdateOperationsInput = {
|
|
513
|
+
set?: boolean | null
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export type NullableStringFieldUpdateOperationsInput = {
|
|
517
|
+
set?: string | null
|
|
471
518
|
}
|
|
472
519
|
|
|
473
|
-
export type
|
|
474
|
-
set?: number
|
|
520
|
+
export type NullableIntFieldUpdateOperationsInput = {
|
|
521
|
+
set?: number | null
|
|
475
522
|
increment?: number
|
|
476
523
|
decrement?: number
|
|
477
524
|
multiply?: number
|
|
@@ -486,10 +533,6 @@ export type NullableFloatFieldUpdateOperationsInput = {
|
|
|
486
533
|
divide?: number
|
|
487
534
|
}
|
|
488
535
|
|
|
489
|
-
export type NullableStringFieldUpdateOperationsInput = {
|
|
490
|
-
set?: string | null
|
|
491
|
-
}
|
|
492
|
-
|
|
493
536
|
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
494
537
|
set?: Date | string | null
|
|
495
538
|
}
|
|
@@ -522,30 +565,80 @@ export type AdversarialResourceUpdateOneRequiredWithoutCategoriesNestedInput = {
|
|
|
522
565
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AdversarialResourceUpdateToOneWithWhereWithoutCategoriesInput, Prisma.AdversarialResourceUpdateWithoutCategoriesInput>, Prisma.AdversarialResourceUncheckedUpdateWithoutCategoriesInput>
|
|
523
566
|
}
|
|
524
567
|
|
|
568
|
+
export type AdversarialResourceCreateNestedOneWithoutParentInput = {
|
|
569
|
+
create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutParentInput, Prisma.AdversarialResourceUncheckedCreateWithoutParentInput>
|
|
570
|
+
connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutParentInput
|
|
571
|
+
connect?: Prisma.AdversarialResourceWhereUniqueInput
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export type AdversarialResourceUpdateOneRequiredWithoutParentNestedInput = {
|
|
575
|
+
create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutParentInput, Prisma.AdversarialResourceUncheckedCreateWithoutParentInput>
|
|
576
|
+
connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutParentInput
|
|
577
|
+
upsert?: Prisma.AdversarialResourceUpsertWithoutParentInput
|
|
578
|
+
connect?: Prisma.AdversarialResourceWhereUniqueInput
|
|
579
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AdversarialResourceUpdateToOneWithWhereWithoutParentInput, Prisma.AdversarialResourceUpdateWithoutParentInput>, Prisma.AdversarialResourceUncheckedUpdateWithoutParentInput>
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export type AdversarialResourceCreateNestedOneWithoutNumberListInput = {
|
|
583
|
+
create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedCreateWithoutNumberListInput>
|
|
584
|
+
connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutNumberListInput
|
|
585
|
+
connect?: Prisma.AdversarialResourceWhereUniqueInput
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export type AdversarialResourceUpdateOneRequiredWithoutNumberListNestedInput = {
|
|
589
|
+
create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedCreateWithoutNumberListInput>
|
|
590
|
+
connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutNumberListInput
|
|
591
|
+
upsert?: Prisma.AdversarialResourceUpsertWithoutNumberListInput
|
|
592
|
+
connect?: Prisma.AdversarialResourceWhereUniqueInput
|
|
593
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AdversarialResourceUpdateToOneWithWhereWithoutNumberListInput, Prisma.AdversarialResourceUpdateWithoutNumberListInput>, Prisma.AdversarialResourceUncheckedUpdateWithoutNumberListInput>
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
export type AdversarialResourceCreateNestedOneWithoutBoolListInput = {
|
|
597
|
+
create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedCreateWithoutBoolListInput>
|
|
598
|
+
connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutBoolListInput
|
|
599
|
+
connect?: Prisma.AdversarialResourceWhereUniqueInput
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export type AdversarialResourceUpdateOneRequiredWithoutBoolListNestedInput = {
|
|
603
|
+
create?: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedCreateWithoutBoolListInput>
|
|
604
|
+
connectOrCreate?: Prisma.AdversarialResourceCreateOrConnectWithoutBoolListInput
|
|
605
|
+
upsert?: Prisma.AdversarialResourceUpsertWithoutBoolListInput
|
|
606
|
+
connect?: Prisma.AdversarialResourceWhereUniqueInput
|
|
607
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AdversarialResourceUpdateToOneWithWhereWithoutBoolListInput, Prisma.AdversarialResourceUpdateWithoutBoolListInput>, Prisma.AdversarialResourceUncheckedUpdateWithoutBoolListInput>
|
|
608
|
+
}
|
|
609
|
+
|
|
525
610
|
export type AdversarialResourceCreateWithoutTagsInput = {
|
|
526
611
|
id: string
|
|
527
|
-
aBool
|
|
528
|
-
aString
|
|
529
|
-
aNumber
|
|
612
|
+
aBool?: boolean | null
|
|
613
|
+
aString?: string | null
|
|
614
|
+
aNumber?: number | null
|
|
530
615
|
aDouble?: number | null
|
|
531
616
|
aOptionalString?: string | null
|
|
532
617
|
createdBy: string
|
|
533
618
|
scope?: string | null
|
|
534
619
|
createdAt?: Date | string | null
|
|
620
|
+
updatedAt?: Date | string | null
|
|
535
621
|
categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
|
|
622
|
+
parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
|
|
623
|
+
numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
|
|
624
|
+
boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
|
|
536
625
|
}
|
|
537
626
|
|
|
538
627
|
export type AdversarialResourceUncheckedCreateWithoutTagsInput = {
|
|
539
628
|
id: string
|
|
540
|
-
aBool
|
|
541
|
-
aString
|
|
542
|
-
aNumber
|
|
629
|
+
aBool?: boolean | null
|
|
630
|
+
aString?: string | null
|
|
631
|
+
aNumber?: number | null
|
|
543
632
|
aDouble?: number | null
|
|
544
633
|
aOptionalString?: string | null
|
|
545
634
|
createdBy: string
|
|
546
635
|
scope?: string | null
|
|
547
636
|
createdAt?: Date | string | null
|
|
637
|
+
updatedAt?: Date | string | null
|
|
548
638
|
categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
|
|
639
|
+
parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
|
|
640
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
641
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
549
642
|
}
|
|
550
643
|
|
|
551
644
|
export type AdversarialResourceCreateOrConnectWithoutTagsInput = {
|
|
@@ -566,54 +659,70 @@ export type AdversarialResourceUpdateToOneWithWhereWithoutTagsInput = {
|
|
|
566
659
|
|
|
567
660
|
export type AdversarialResourceUpdateWithoutTagsInput = {
|
|
568
661
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
569
|
-
aBool?: Prisma.
|
|
570
|
-
aString?: Prisma.
|
|
571
|
-
aNumber?: Prisma.
|
|
662
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
663
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
664
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
572
665
|
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
573
666
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
574
667
|
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
575
668
|
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
576
669
|
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
670
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
577
671
|
categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
|
|
672
|
+
parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
|
|
673
|
+
numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
|
|
674
|
+
boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
|
|
578
675
|
}
|
|
579
676
|
|
|
580
677
|
export type AdversarialResourceUncheckedUpdateWithoutTagsInput = {
|
|
581
678
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
582
|
-
aBool?: Prisma.
|
|
583
|
-
aString?: Prisma.
|
|
584
|
-
aNumber?: Prisma.
|
|
679
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
680
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
681
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
585
682
|
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
586
683
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
587
684
|
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
588
685
|
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
589
686
|
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
687
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
590
688
|
categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
|
|
689
|
+
parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
|
|
690
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
691
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
591
692
|
}
|
|
592
693
|
|
|
593
694
|
export type AdversarialResourceCreateWithoutCategoriesInput = {
|
|
594
695
|
id: string
|
|
595
|
-
aBool
|
|
596
|
-
aString
|
|
597
|
-
aNumber
|
|
696
|
+
aBool?: boolean | null
|
|
697
|
+
aString?: string | null
|
|
698
|
+
aNumber?: number | null
|
|
598
699
|
aDouble?: number | null
|
|
599
700
|
aOptionalString?: string | null
|
|
600
701
|
createdBy: string
|
|
601
702
|
scope?: string | null
|
|
602
703
|
createdAt?: Date | string | null
|
|
704
|
+
updatedAt?: Date | string | null
|
|
603
705
|
tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
|
|
706
|
+
parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
|
|
707
|
+
numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
|
|
708
|
+
boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
|
|
604
709
|
}
|
|
605
710
|
|
|
606
711
|
export type AdversarialResourceUncheckedCreateWithoutCategoriesInput = {
|
|
607
712
|
id: string
|
|
608
|
-
aBool
|
|
609
|
-
aString
|
|
610
|
-
aNumber
|
|
713
|
+
aBool?: boolean | null
|
|
714
|
+
aString?: string | null
|
|
715
|
+
aNumber?: number | null
|
|
611
716
|
aDouble?: number | null
|
|
612
717
|
aOptionalString?: string | null
|
|
613
718
|
createdBy: string
|
|
614
719
|
scope?: string | null
|
|
615
720
|
createdAt?: Date | string | null
|
|
721
|
+
updatedAt?: Date | string | null
|
|
616
722
|
tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
|
|
723
|
+
parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
|
|
724
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
725
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
617
726
|
}
|
|
618
727
|
|
|
619
728
|
export type AdversarialResourceCreateOrConnectWithoutCategoriesInput = {
|
|
@@ -634,28 +743,288 @@ export type AdversarialResourceUpdateToOneWithWhereWithoutCategoriesInput = {
|
|
|
634
743
|
|
|
635
744
|
export type AdversarialResourceUpdateWithoutCategoriesInput = {
|
|
636
745
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
637
|
-
aBool?: Prisma.
|
|
638
|
-
aString?: Prisma.
|
|
639
|
-
aNumber?: Prisma.
|
|
746
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
747
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
748
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
640
749
|
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
641
750
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
642
751
|
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
643
752
|
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
644
753
|
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
754
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
645
755
|
tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
|
|
756
|
+
parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
|
|
757
|
+
numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
|
|
758
|
+
boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
|
|
646
759
|
}
|
|
647
760
|
|
|
648
761
|
export type AdversarialResourceUncheckedUpdateWithoutCategoriesInput = {
|
|
649
762
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
650
|
-
aBool?: Prisma.
|
|
651
|
-
aString?: Prisma.
|
|
652
|
-
aNumber?: Prisma.
|
|
763
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
764
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
765
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
766
|
+
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
767
|
+
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
768
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
769
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
770
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
771
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
772
|
+
tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
|
|
773
|
+
parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
|
|
774
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
775
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
export type AdversarialResourceCreateWithoutParentInput = {
|
|
779
|
+
id: string
|
|
780
|
+
aBool?: boolean | null
|
|
781
|
+
aString?: string | null
|
|
782
|
+
aNumber?: number | null
|
|
783
|
+
aDouble?: number | null
|
|
784
|
+
aOptionalString?: string | null
|
|
785
|
+
createdBy: string
|
|
786
|
+
scope?: string | null
|
|
787
|
+
createdAt?: Date | string | null
|
|
788
|
+
updatedAt?: Date | string | null
|
|
789
|
+
tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
|
|
790
|
+
categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
|
|
791
|
+
numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
|
|
792
|
+
boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export type AdversarialResourceUncheckedCreateWithoutParentInput = {
|
|
796
|
+
id: string
|
|
797
|
+
aBool?: boolean | null
|
|
798
|
+
aString?: string | null
|
|
799
|
+
aNumber?: number | null
|
|
800
|
+
aDouble?: number | null
|
|
801
|
+
aOptionalString?: string | null
|
|
802
|
+
createdBy: string
|
|
803
|
+
scope?: string | null
|
|
804
|
+
createdAt?: Date | string | null
|
|
805
|
+
updatedAt?: Date | string | null
|
|
806
|
+
tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
|
|
807
|
+
categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
|
|
808
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
809
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export type AdversarialResourceCreateOrConnectWithoutParentInput = {
|
|
813
|
+
where: Prisma.AdversarialResourceWhereUniqueInput
|
|
814
|
+
create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutParentInput, Prisma.AdversarialResourceUncheckedCreateWithoutParentInput>
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
export type AdversarialResourceUpsertWithoutParentInput = {
|
|
818
|
+
update: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutParentInput, Prisma.AdversarialResourceUncheckedUpdateWithoutParentInput>
|
|
819
|
+
create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutParentInput, Prisma.AdversarialResourceUncheckedCreateWithoutParentInput>
|
|
820
|
+
where?: Prisma.AdversarialResourceWhereInput
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
export type AdversarialResourceUpdateToOneWithWhereWithoutParentInput = {
|
|
824
|
+
where?: Prisma.AdversarialResourceWhereInput
|
|
825
|
+
data: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutParentInput, Prisma.AdversarialResourceUncheckedUpdateWithoutParentInput>
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export type AdversarialResourceUpdateWithoutParentInput = {
|
|
829
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
830
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
831
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
832
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
833
|
+
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
834
|
+
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
835
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
836
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
837
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
838
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
839
|
+
tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
|
|
840
|
+
categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
|
|
841
|
+
numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
|
|
842
|
+
boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
export type AdversarialResourceUncheckedUpdateWithoutParentInput = {
|
|
846
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
847
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
848
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
849
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
850
|
+
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
851
|
+
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
852
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
853
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
854
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
855
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
856
|
+
tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
|
|
857
|
+
categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
|
|
858
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
859
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
export type AdversarialResourceCreateWithoutNumberListInput = {
|
|
863
|
+
id: string
|
|
864
|
+
aBool?: boolean | null
|
|
865
|
+
aString?: string | null
|
|
866
|
+
aNumber?: number | null
|
|
867
|
+
aDouble?: number | null
|
|
868
|
+
aOptionalString?: string | null
|
|
869
|
+
createdBy: string
|
|
870
|
+
scope?: string | null
|
|
871
|
+
createdAt?: Date | string | null
|
|
872
|
+
updatedAt?: Date | string | null
|
|
873
|
+
tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
|
|
874
|
+
categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
|
|
875
|
+
parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
|
|
876
|
+
boolList?: Prisma.AdversarialBoolListElementCreateNestedManyWithoutResourceInput
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
export type AdversarialResourceUncheckedCreateWithoutNumberListInput = {
|
|
880
|
+
id: string
|
|
881
|
+
aBool?: boolean | null
|
|
882
|
+
aString?: string | null
|
|
883
|
+
aNumber?: number | null
|
|
884
|
+
aDouble?: number | null
|
|
885
|
+
aOptionalString?: string | null
|
|
886
|
+
createdBy: string
|
|
887
|
+
scope?: string | null
|
|
888
|
+
createdAt?: Date | string | null
|
|
889
|
+
updatedAt?: Date | string | null
|
|
890
|
+
tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
|
|
891
|
+
categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
|
|
892
|
+
parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
|
|
893
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
export type AdversarialResourceCreateOrConnectWithoutNumberListInput = {
|
|
897
|
+
where: Prisma.AdversarialResourceWhereUniqueInput
|
|
898
|
+
create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedCreateWithoutNumberListInput>
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
export type AdversarialResourceUpsertWithoutNumberListInput = {
|
|
902
|
+
update: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedUpdateWithoutNumberListInput>
|
|
903
|
+
create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedCreateWithoutNumberListInput>
|
|
904
|
+
where?: Prisma.AdversarialResourceWhereInput
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
export type AdversarialResourceUpdateToOneWithWhereWithoutNumberListInput = {
|
|
908
|
+
where?: Prisma.AdversarialResourceWhereInput
|
|
909
|
+
data: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutNumberListInput, Prisma.AdversarialResourceUncheckedUpdateWithoutNumberListInput>
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export type AdversarialResourceUpdateWithoutNumberListInput = {
|
|
913
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
914
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
915
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
916
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
917
|
+
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
918
|
+
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
919
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
920
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
921
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
922
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
923
|
+
tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
|
|
924
|
+
categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
|
|
925
|
+
parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
|
|
926
|
+
boolList?: Prisma.AdversarialBoolListElementUpdateManyWithoutResourceNestedInput
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
export type AdversarialResourceUncheckedUpdateWithoutNumberListInput = {
|
|
930
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
931
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
932
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
933
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
653
934
|
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
654
935
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
655
936
|
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
656
937
|
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
657
938
|
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
939
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
658
940
|
tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
|
|
941
|
+
categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
|
|
942
|
+
parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
|
|
943
|
+
boolList?: Prisma.AdversarialBoolListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export type AdversarialResourceCreateWithoutBoolListInput = {
|
|
947
|
+
id: string
|
|
948
|
+
aBool?: boolean | null
|
|
949
|
+
aString?: string | null
|
|
950
|
+
aNumber?: number | null
|
|
951
|
+
aDouble?: number | null
|
|
952
|
+
aOptionalString?: string | null
|
|
953
|
+
createdBy: string
|
|
954
|
+
scope?: string | null
|
|
955
|
+
createdAt?: Date | string | null
|
|
956
|
+
updatedAt?: Date | string | null
|
|
957
|
+
tags?: Prisma.AdversarialTagCreateNestedManyWithoutResourceInput
|
|
958
|
+
categories?: Prisma.AdversarialCategoryCreateNestedManyWithoutResourceInput
|
|
959
|
+
parent?: Prisma.AdversarialParentCreateNestedOneWithoutResourceInput
|
|
960
|
+
numberList?: Prisma.AdversarialNumberListElementCreateNestedManyWithoutResourceInput
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
export type AdversarialResourceUncheckedCreateWithoutBoolListInput = {
|
|
964
|
+
id: string
|
|
965
|
+
aBool?: boolean | null
|
|
966
|
+
aString?: string | null
|
|
967
|
+
aNumber?: number | null
|
|
968
|
+
aDouble?: number | null
|
|
969
|
+
aOptionalString?: string | null
|
|
970
|
+
createdBy: string
|
|
971
|
+
scope?: string | null
|
|
972
|
+
createdAt?: Date | string | null
|
|
973
|
+
updatedAt?: Date | string | null
|
|
974
|
+
tags?: Prisma.AdversarialTagUncheckedCreateNestedManyWithoutResourceInput
|
|
975
|
+
categories?: Prisma.AdversarialCategoryUncheckedCreateNestedManyWithoutResourceInput
|
|
976
|
+
parent?: Prisma.AdversarialParentUncheckedCreateNestedOneWithoutResourceInput
|
|
977
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedCreateNestedManyWithoutResourceInput
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export type AdversarialResourceCreateOrConnectWithoutBoolListInput = {
|
|
981
|
+
where: Prisma.AdversarialResourceWhereUniqueInput
|
|
982
|
+
create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedCreateWithoutBoolListInput>
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
export type AdversarialResourceUpsertWithoutBoolListInput = {
|
|
986
|
+
update: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedUpdateWithoutBoolListInput>
|
|
987
|
+
create: Prisma.XOR<Prisma.AdversarialResourceCreateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedCreateWithoutBoolListInput>
|
|
988
|
+
where?: Prisma.AdversarialResourceWhereInput
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
export type AdversarialResourceUpdateToOneWithWhereWithoutBoolListInput = {
|
|
992
|
+
where?: Prisma.AdversarialResourceWhereInput
|
|
993
|
+
data: Prisma.XOR<Prisma.AdversarialResourceUpdateWithoutBoolListInput, Prisma.AdversarialResourceUncheckedUpdateWithoutBoolListInput>
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
export type AdversarialResourceUpdateWithoutBoolListInput = {
|
|
997
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
998
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
999
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1000
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1001
|
+
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1002
|
+
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1003
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1004
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1005
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1006
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1007
|
+
tags?: Prisma.AdversarialTagUpdateManyWithoutResourceNestedInput
|
|
1008
|
+
categories?: Prisma.AdversarialCategoryUpdateManyWithoutResourceNestedInput
|
|
1009
|
+
parent?: Prisma.AdversarialParentUpdateOneWithoutResourceNestedInput
|
|
1010
|
+
numberList?: Prisma.AdversarialNumberListElementUpdateManyWithoutResourceNestedInput
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
export type AdversarialResourceUncheckedUpdateWithoutBoolListInput = {
|
|
1014
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1015
|
+
aBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1016
|
+
aString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1017
|
+
aNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1018
|
+
aDouble?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
|
|
1019
|
+
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1020
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1021
|
+
scope?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1022
|
+
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1023
|
+
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1024
|
+
tags?: Prisma.AdversarialTagUncheckedUpdateManyWithoutResourceNestedInput
|
|
1025
|
+
categories?: Prisma.AdversarialCategoryUncheckedUpdateManyWithoutResourceNestedInput
|
|
1026
|
+
parent?: Prisma.AdversarialParentUncheckedUpdateOneWithoutResourceNestedInput
|
|
1027
|
+
numberList?: Prisma.AdversarialNumberListElementUncheckedUpdateManyWithoutResourceNestedInput
|
|
659
1028
|
}
|
|
660
1029
|
|
|
661
1030
|
|
|
@@ -666,11 +1035,15 @@ export type AdversarialResourceUncheckedUpdateWithoutCategoriesInput = {
|
|
|
666
1035
|
export type AdversarialResourceCountOutputType = {
|
|
667
1036
|
tags: number
|
|
668
1037
|
categories: number
|
|
1038
|
+
numberList: number
|
|
1039
|
+
boolList: number
|
|
669
1040
|
}
|
|
670
1041
|
|
|
671
1042
|
export type AdversarialResourceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
672
1043
|
tags?: boolean | AdversarialResourceCountOutputTypeCountTagsArgs
|
|
673
1044
|
categories?: boolean | AdversarialResourceCountOutputTypeCountCategoriesArgs
|
|
1045
|
+
numberList?: boolean | AdversarialResourceCountOutputTypeCountNumberListArgs
|
|
1046
|
+
boolList?: boolean | AdversarialResourceCountOutputTypeCountBoolListArgs
|
|
674
1047
|
}
|
|
675
1048
|
|
|
676
1049
|
/**
|
|
@@ -697,6 +1070,20 @@ export type AdversarialResourceCountOutputTypeCountCategoriesArgs<ExtArgs extend
|
|
|
697
1070
|
where?: Prisma.AdversarialCategoryWhereInput
|
|
698
1071
|
}
|
|
699
1072
|
|
|
1073
|
+
/**
|
|
1074
|
+
* AdversarialResourceCountOutputType without action
|
|
1075
|
+
*/
|
|
1076
|
+
export type AdversarialResourceCountOutputTypeCountNumberListArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1077
|
+
where?: Prisma.AdversarialNumberListElementWhereInput
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* AdversarialResourceCountOutputType without action
|
|
1082
|
+
*/
|
|
1083
|
+
export type AdversarialResourceCountOutputTypeCountBoolListArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1084
|
+
where?: Prisma.AdversarialBoolListElementWhereInput
|
|
1085
|
+
}
|
|
1086
|
+
|
|
700
1087
|
|
|
701
1088
|
export type AdversarialResourceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
702
1089
|
id?: boolean
|
|
@@ -708,8 +1095,12 @@ export type AdversarialResourceSelect<ExtArgs extends runtime.Types.Extensions.I
|
|
|
708
1095
|
createdBy?: boolean
|
|
709
1096
|
scope?: boolean
|
|
710
1097
|
createdAt?: boolean
|
|
1098
|
+
updatedAt?: boolean
|
|
711
1099
|
tags?: boolean | Prisma.AdversarialResource$tagsArgs<ExtArgs>
|
|
712
1100
|
categories?: boolean | Prisma.AdversarialResource$categoriesArgs<ExtArgs>
|
|
1101
|
+
parent?: boolean | Prisma.AdversarialResource$parentArgs<ExtArgs>
|
|
1102
|
+
numberList?: boolean | Prisma.AdversarialResource$numberListArgs<ExtArgs>
|
|
1103
|
+
boolList?: boolean | Prisma.AdversarialResource$boolListArgs<ExtArgs>
|
|
713
1104
|
_count?: boolean | Prisma.AdversarialResourceCountOutputTypeDefaultArgs<ExtArgs>
|
|
714
1105
|
}, ExtArgs["result"]["adversarialResource"]>
|
|
715
1106
|
|
|
@@ -723,6 +1114,7 @@ export type AdversarialResourceSelectCreateManyAndReturn<ExtArgs extends runtime
|
|
|
723
1114
|
createdBy?: boolean
|
|
724
1115
|
scope?: boolean
|
|
725
1116
|
createdAt?: boolean
|
|
1117
|
+
updatedAt?: boolean
|
|
726
1118
|
}, ExtArgs["result"]["adversarialResource"]>
|
|
727
1119
|
|
|
728
1120
|
export type AdversarialResourceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -735,6 +1127,7 @@ export type AdversarialResourceSelectUpdateManyAndReturn<ExtArgs extends runtime
|
|
|
735
1127
|
createdBy?: boolean
|
|
736
1128
|
scope?: boolean
|
|
737
1129
|
createdAt?: boolean
|
|
1130
|
+
updatedAt?: boolean
|
|
738
1131
|
}, ExtArgs["result"]["adversarialResource"]>
|
|
739
1132
|
|
|
740
1133
|
export type AdversarialResourceSelectScalar = {
|
|
@@ -747,12 +1140,16 @@ export type AdversarialResourceSelectScalar = {
|
|
|
747
1140
|
createdBy?: boolean
|
|
748
1141
|
scope?: boolean
|
|
749
1142
|
createdAt?: boolean
|
|
1143
|
+
updatedAt?: boolean
|
|
750
1144
|
}
|
|
751
1145
|
|
|
752
|
-
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", ExtArgs["result"]["adversarialResource"]>
|
|
1146
|
+
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"]>
|
|
753
1147
|
export type AdversarialResourceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
754
1148
|
tags?: boolean | Prisma.AdversarialResource$tagsArgs<ExtArgs>
|
|
755
1149
|
categories?: boolean | Prisma.AdversarialResource$categoriesArgs<ExtArgs>
|
|
1150
|
+
parent?: boolean | Prisma.AdversarialResource$parentArgs<ExtArgs>
|
|
1151
|
+
numberList?: boolean | Prisma.AdversarialResource$numberListArgs<ExtArgs>
|
|
1152
|
+
boolList?: boolean | Prisma.AdversarialResource$boolListArgs<ExtArgs>
|
|
756
1153
|
_count?: boolean | Prisma.AdversarialResourceCountOutputTypeDefaultArgs<ExtArgs>
|
|
757
1154
|
}
|
|
758
1155
|
export type AdversarialResourceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
@@ -763,17 +1160,21 @@ export type $AdversarialResourcePayload<ExtArgs extends runtime.Types.Extensions
|
|
|
763
1160
|
objects: {
|
|
764
1161
|
tags: Prisma.$AdversarialTagPayload<ExtArgs>[]
|
|
765
1162
|
categories: Prisma.$AdversarialCategoryPayload<ExtArgs>[]
|
|
1163
|
+
parent: Prisma.$AdversarialParentPayload<ExtArgs> | null
|
|
1164
|
+
numberList: Prisma.$AdversarialNumberListElementPayload<ExtArgs>[]
|
|
1165
|
+
boolList: Prisma.$AdversarialBoolListElementPayload<ExtArgs>[]
|
|
766
1166
|
}
|
|
767
1167
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
768
1168
|
id: string
|
|
769
|
-
aBool: boolean
|
|
770
|
-
aString: string
|
|
771
|
-
aNumber: number
|
|
1169
|
+
aBool: boolean | null
|
|
1170
|
+
aString: string | null
|
|
1171
|
+
aNumber: number | null
|
|
772
1172
|
aDouble: number | null
|
|
773
1173
|
aOptionalString: string | null
|
|
774
1174
|
createdBy: string
|
|
775
1175
|
scope: string | null
|
|
776
1176
|
createdAt: Date | null
|
|
1177
|
+
updatedAt: Date | null
|
|
777
1178
|
}, ExtArgs["result"]["adversarialResource"]>
|
|
778
1179
|
composites: {}
|
|
779
1180
|
}
|
|
@@ -1170,6 +1571,9 @@ export interface Prisma__AdversarialResourceClient<T, Null = never, ExtArgs exte
|
|
|
1170
1571
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1171
1572
|
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>
|
|
1172
1573
|
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>
|
|
1574
|
+
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>
|
|
1575
|
+
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>
|
|
1576
|
+
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>
|
|
1173
1577
|
/**
|
|
1174
1578
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1175
1579
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1208,6 +1612,7 @@ export interface AdversarialResourceFieldRefs {
|
|
|
1208
1612
|
readonly createdBy: Prisma.FieldRef<"AdversarialResource", 'String'>
|
|
1209
1613
|
readonly scope: Prisma.FieldRef<"AdversarialResource", 'String'>
|
|
1210
1614
|
readonly createdAt: Prisma.FieldRef<"AdversarialResource", 'DateTime'>
|
|
1615
|
+
readonly updatedAt: Prisma.FieldRef<"AdversarialResource", 'DateTime'>
|
|
1211
1616
|
}
|
|
1212
1617
|
|
|
1213
1618
|
|
|
@@ -1646,6 +2051,73 @@ export type AdversarialResource$categoriesArgs<ExtArgs extends runtime.Types.Ext
|
|
|
1646
2051
|
distinct?: Prisma.AdversarialCategoryScalarFieldEnum | Prisma.AdversarialCategoryScalarFieldEnum[]
|
|
1647
2052
|
}
|
|
1648
2053
|
|
|
2054
|
+
/**
|
|
2055
|
+
* AdversarialResource.parent
|
|
2056
|
+
*/
|
|
2057
|
+
export type AdversarialResource$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2058
|
+
/**
|
|
2059
|
+
* Select specific fields to fetch from the AdversarialParent
|
|
2060
|
+
*/
|
|
2061
|
+
select?: Prisma.AdversarialParentSelect<ExtArgs> | null
|
|
2062
|
+
/**
|
|
2063
|
+
* Omit specific fields from the AdversarialParent
|
|
2064
|
+
*/
|
|
2065
|
+
omit?: Prisma.AdversarialParentOmit<ExtArgs> | null
|
|
2066
|
+
/**
|
|
2067
|
+
* Choose, which related nodes to fetch as well
|
|
2068
|
+
*/
|
|
2069
|
+
include?: Prisma.AdversarialParentInclude<ExtArgs> | null
|
|
2070
|
+
where?: Prisma.AdversarialParentWhereInput
|
|
2071
|
+
}
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* AdversarialResource.numberList
|
|
2075
|
+
*/
|
|
2076
|
+
export type AdversarialResource$numberListArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2077
|
+
/**
|
|
2078
|
+
* Select specific fields to fetch from the AdversarialNumberListElement
|
|
2079
|
+
*/
|
|
2080
|
+
select?: Prisma.AdversarialNumberListElementSelect<ExtArgs> | null
|
|
2081
|
+
/**
|
|
2082
|
+
* Omit specific fields from the AdversarialNumberListElement
|
|
2083
|
+
*/
|
|
2084
|
+
omit?: Prisma.AdversarialNumberListElementOmit<ExtArgs> | null
|
|
2085
|
+
/**
|
|
2086
|
+
* Choose, which related nodes to fetch as well
|
|
2087
|
+
*/
|
|
2088
|
+
include?: Prisma.AdversarialNumberListElementInclude<ExtArgs> | null
|
|
2089
|
+
where?: Prisma.AdversarialNumberListElementWhereInput
|
|
2090
|
+
orderBy?: Prisma.AdversarialNumberListElementOrderByWithRelationInput | Prisma.AdversarialNumberListElementOrderByWithRelationInput[]
|
|
2091
|
+
cursor?: Prisma.AdversarialNumberListElementWhereUniqueInput
|
|
2092
|
+
take?: number
|
|
2093
|
+
skip?: number
|
|
2094
|
+
distinct?: Prisma.AdversarialNumberListElementScalarFieldEnum | Prisma.AdversarialNumberListElementScalarFieldEnum[]
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* AdversarialResource.boolList
|
|
2099
|
+
*/
|
|
2100
|
+
export type AdversarialResource$boolListArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2101
|
+
/**
|
|
2102
|
+
* Select specific fields to fetch from the AdversarialBoolListElement
|
|
2103
|
+
*/
|
|
2104
|
+
select?: Prisma.AdversarialBoolListElementSelect<ExtArgs> | null
|
|
2105
|
+
/**
|
|
2106
|
+
* Omit specific fields from the AdversarialBoolListElement
|
|
2107
|
+
*/
|
|
2108
|
+
omit?: Prisma.AdversarialBoolListElementOmit<ExtArgs> | null
|
|
2109
|
+
/**
|
|
2110
|
+
* Choose, which related nodes to fetch as well
|
|
2111
|
+
*/
|
|
2112
|
+
include?: Prisma.AdversarialBoolListElementInclude<ExtArgs> | null
|
|
2113
|
+
where?: Prisma.AdversarialBoolListElementWhereInput
|
|
2114
|
+
orderBy?: Prisma.AdversarialBoolListElementOrderByWithRelationInput | Prisma.AdversarialBoolListElementOrderByWithRelationInput[]
|
|
2115
|
+
cursor?: Prisma.AdversarialBoolListElementWhereUniqueInput
|
|
2116
|
+
take?: number
|
|
2117
|
+
skip?: number
|
|
2118
|
+
distinct?: Prisma.AdversarialBoolListElementScalarFieldEnum | Prisma.AdversarialBoolListElementScalarFieldEnum[]
|
|
2119
|
+
}
|
|
2120
|
+
|
|
1649
2121
|
/**
|
|
1650
2122
|
* AdversarialResource without action
|
|
1651
2123
|
*/
|