@cerbos/orm-prisma 3.3.0 → 4.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 +83 -6
- package/lib/index.d.ts +29 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1459 -114
- package/lib/index.js.map +1 -1
- package/package.json +19 -13
- package/src/adversarial.test.ts +586 -0
- package/src/generated/prisma/commonInputTypes.ts +26 -0
- package/src/generated/prisma/internal/class.ts +9 -9
- package/src/generated/prisma/internal/prismaNamespace.ts +89 -19
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +2 -1
- package/src/generated/prisma/models/Category.ts +1 -1
- package/src/generated/prisma/models/Label.ts +1 -1
- package/src/generated/prisma/models/NestedResource.ts +1 -1
- package/src/generated/prisma/models/NextLevelNestedResource.ts +1 -1
- package/src/generated/prisma/models/Resource.ts +62 -2
- package/src/generated/prisma/models/SubCategory.ts +1 -1
- package/src/generated/prisma/models/Tag.ts +1 -1
- package/src/generated/prisma/models/User.ts +1 -1
- package/src/generated/prisma-adversarial/browser.ts +44 -0
- package/src/generated/prisma-adversarial/client.ts +66 -0
- package/src/generated/prisma-adversarial/commonInputTypes.ts +352 -0
- package/src/generated/prisma-adversarial/enums.ts +15 -0
- package/src/generated/prisma-adversarial/internal/class.ts +244 -0
- package/src/generated/prisma-adversarial/internal/prismaNamespace.ts +1156 -0
- package/src/generated/prisma-adversarial/internal/prismaNamespaceBrowser.ts +140 -0
- package/src/generated/prisma-adversarial/models/AdversarialCategory.ts +1401 -0
- package/src/generated/prisma-adversarial/models/AdversarialLabel.ts +1272 -0
- package/src/generated/prisma-adversarial/models/AdversarialResource.ts +1665 -0
- package/src/generated/prisma-adversarial/models/AdversarialSubCategory.ts +1401 -0
- package/src/generated/prisma-adversarial/models/AdversarialTag.ts +1307 -0
- package/src/generated/prisma-adversarial/models.ts +16 -0
- package/src/generated/prisma-adversarial-v6/client.d.ts +1 -0
- package/src/generated/prisma-adversarial-v6/default.d.ts +1 -0
- package/src/generated/prisma-adversarial-v6/edge.d.ts +1 -0
- package/src/generated/prisma-adversarial-v6/index.d.ts +8640 -0
- package/src/generated/prisma-adversarial-v6/runtime/index-browser.d.ts +370 -0
- package/src/generated/prisma-adversarial-v6/runtime/library.d.ts +3982 -0
- package/src/generated/prisma-adversarial-v6/wasm.d.ts +1 -0
- package/src/generated/prisma-v6/index.d.ts +90 -3
- package/src/index.test.ts +3199 -636
- package/src/index.ts +2055 -148
- package/src/test-setup.adversarial.v6.ts +5 -0
- package/src/test-setup.adversarial.v7.ts +12 -0
|
@@ -42,6 +42,7 @@ export type ResourceMinAggregateOutputType = {
|
|
|
42
42
|
creatorId: string | null
|
|
43
43
|
nestedResourceId: string | null
|
|
44
44
|
aOptionalString: string | null
|
|
45
|
+
aOptionalBool: boolean | null
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
export type ResourceMaxAggregateOutputType = {
|
|
@@ -52,6 +53,7 @@ export type ResourceMaxAggregateOutputType = {
|
|
|
52
53
|
creatorId: string | null
|
|
53
54
|
nestedResourceId: string | null
|
|
54
55
|
aOptionalString: string | null
|
|
56
|
+
aOptionalBool: boolean | null
|
|
55
57
|
}
|
|
56
58
|
|
|
57
59
|
export type ResourceCountAggregateOutputType = {
|
|
@@ -62,6 +64,7 @@ export type ResourceCountAggregateOutputType = {
|
|
|
62
64
|
creatorId: number
|
|
63
65
|
nestedResourceId: number
|
|
64
66
|
aOptionalString: number
|
|
67
|
+
aOptionalBool: number
|
|
65
68
|
_all: number
|
|
66
69
|
}
|
|
67
70
|
|
|
@@ -82,6 +85,7 @@ export type ResourceMinAggregateInputType = {
|
|
|
82
85
|
creatorId?: true
|
|
83
86
|
nestedResourceId?: true
|
|
84
87
|
aOptionalString?: true
|
|
88
|
+
aOptionalBool?: true
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
export type ResourceMaxAggregateInputType = {
|
|
@@ -92,6 +96,7 @@ export type ResourceMaxAggregateInputType = {
|
|
|
92
96
|
creatorId?: true
|
|
93
97
|
nestedResourceId?: true
|
|
94
98
|
aOptionalString?: true
|
|
99
|
+
aOptionalBool?: true
|
|
95
100
|
}
|
|
96
101
|
|
|
97
102
|
export type ResourceCountAggregateInputType = {
|
|
@@ -102,6 +107,7 @@ export type ResourceCountAggregateInputType = {
|
|
|
102
107
|
creatorId?: true
|
|
103
108
|
nestedResourceId?: true
|
|
104
109
|
aOptionalString?: true
|
|
110
|
+
aOptionalBool?: true
|
|
105
111
|
_all?: true
|
|
106
112
|
}
|
|
107
113
|
|
|
@@ -199,6 +205,7 @@ export type ResourceGroupByOutputType = {
|
|
|
199
205
|
creatorId: string
|
|
200
206
|
nestedResourceId: string
|
|
201
207
|
aOptionalString: string | null
|
|
208
|
+
aOptionalBool: boolean | null
|
|
202
209
|
_count: ResourceCountAggregateOutputType | null
|
|
203
210
|
_avg: ResourceAvgAggregateOutputType | null
|
|
204
211
|
_sum: ResourceSumAggregateOutputType | null
|
|
@@ -206,7 +213,7 @@ export type ResourceGroupByOutputType = {
|
|
|
206
213
|
_max: ResourceMaxAggregateOutputType | null
|
|
207
214
|
}
|
|
208
215
|
|
|
209
|
-
type GetResourceGroupByPayload<T extends ResourceGroupByArgs> = Prisma.PrismaPromise<
|
|
216
|
+
export type GetResourceGroupByPayload<T extends ResourceGroupByArgs> = Prisma.PrismaPromise<
|
|
210
217
|
Array<
|
|
211
218
|
Prisma.PickEnumerable<ResourceGroupByOutputType, T['by']> &
|
|
212
219
|
{
|
|
@@ -232,6 +239,7 @@ export type ResourceWhereInput = {
|
|
|
232
239
|
creatorId?: Prisma.StringFilter<"Resource"> | string
|
|
233
240
|
nestedResourceId?: Prisma.StringFilter<"Resource"> | string
|
|
234
241
|
aOptionalString?: Prisma.StringNullableFilter<"Resource"> | string | null
|
|
242
|
+
aOptionalBool?: Prisma.BoolNullableFilter<"Resource"> | boolean | null
|
|
235
243
|
ownedBy?: Prisma.UserListRelationFilter
|
|
236
244
|
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
237
245
|
nested?: Prisma.XOR<Prisma.NestedResourceScalarRelationFilter, Prisma.NestedResourceWhereInput>
|
|
@@ -247,6 +255,7 @@ export type ResourceOrderByWithRelationInput = {
|
|
|
247
255
|
creatorId?: Prisma.SortOrder
|
|
248
256
|
nestedResourceId?: Prisma.SortOrder
|
|
249
257
|
aOptionalString?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
258
|
+
aOptionalBool?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
250
259
|
ownedBy?: Prisma.UserOrderByRelationAggregateInput
|
|
251
260
|
createdBy?: Prisma.UserOrderByWithRelationInput
|
|
252
261
|
nested?: Prisma.NestedResourceOrderByWithRelationInput
|
|
@@ -265,6 +274,7 @@ export type ResourceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
265
274
|
creatorId?: Prisma.StringFilter<"Resource"> | string
|
|
266
275
|
nestedResourceId?: Prisma.StringFilter<"Resource"> | string
|
|
267
276
|
aOptionalString?: Prisma.StringNullableFilter<"Resource"> | string | null
|
|
277
|
+
aOptionalBool?: Prisma.BoolNullableFilter<"Resource"> | boolean | null
|
|
268
278
|
ownedBy?: Prisma.UserListRelationFilter
|
|
269
279
|
createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
270
280
|
nested?: Prisma.XOR<Prisma.NestedResourceScalarRelationFilter, Prisma.NestedResourceWhereInput>
|
|
@@ -280,6 +290,7 @@ export type ResourceOrderByWithAggregationInput = {
|
|
|
280
290
|
creatorId?: Prisma.SortOrder
|
|
281
291
|
nestedResourceId?: Prisma.SortOrder
|
|
282
292
|
aOptionalString?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
293
|
+
aOptionalBool?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
283
294
|
_count?: Prisma.ResourceCountOrderByAggregateInput
|
|
284
295
|
_avg?: Prisma.ResourceAvgOrderByAggregateInput
|
|
285
296
|
_max?: Prisma.ResourceMaxOrderByAggregateInput
|
|
@@ -298,6 +309,7 @@ export type ResourceScalarWhereWithAggregatesInput = {
|
|
|
298
309
|
creatorId?: Prisma.StringWithAggregatesFilter<"Resource"> | string
|
|
299
310
|
nestedResourceId?: Prisma.StringWithAggregatesFilter<"Resource"> | string
|
|
300
311
|
aOptionalString?: Prisma.StringNullableWithAggregatesFilter<"Resource"> | string | null
|
|
312
|
+
aOptionalBool?: Prisma.BoolNullableWithAggregatesFilter<"Resource"> | boolean | null
|
|
301
313
|
}
|
|
302
314
|
|
|
303
315
|
export type ResourceCreateInput = {
|
|
@@ -306,6 +318,7 @@ export type ResourceCreateInput = {
|
|
|
306
318
|
aNumber: number
|
|
307
319
|
aBool: boolean
|
|
308
320
|
aOptionalString?: string | null
|
|
321
|
+
aOptionalBool?: boolean | null
|
|
309
322
|
ownedBy?: Prisma.UserCreateNestedManyWithoutResourcesInput
|
|
310
323
|
createdBy: Prisma.UserCreateNestedOneWithoutCreatedResourcesInput
|
|
311
324
|
nested: Prisma.NestedResourceCreateNestedOneWithoutResourceInput
|
|
@@ -321,6 +334,7 @@ export type ResourceUncheckedCreateInput = {
|
|
|
321
334
|
creatorId: string
|
|
322
335
|
nestedResourceId: string
|
|
323
336
|
aOptionalString?: string | null
|
|
337
|
+
aOptionalBool?: boolean | null
|
|
324
338
|
ownedBy?: Prisma.UserUncheckedCreateNestedManyWithoutResourcesInput
|
|
325
339
|
tags?: Prisma.TagUncheckedCreateNestedManyWithoutResourcesInput
|
|
326
340
|
categories?: Prisma.CategoryUncheckedCreateNestedManyWithoutResourcesInput
|
|
@@ -332,6 +346,7 @@ export type ResourceUpdateInput = {
|
|
|
332
346
|
aNumber?: Prisma.IntFieldUpdateOperationsInput | number
|
|
333
347
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
334
348
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
349
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
335
350
|
ownedBy?: Prisma.UserUpdateManyWithoutResourcesNestedInput
|
|
336
351
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutCreatedResourcesNestedInput
|
|
337
352
|
nested?: Prisma.NestedResourceUpdateOneRequiredWithoutResourceNestedInput
|
|
@@ -347,6 +362,7 @@ export type ResourceUncheckedUpdateInput = {
|
|
|
347
362
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
348
363
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
349
364
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
365
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
350
366
|
ownedBy?: Prisma.UserUncheckedUpdateManyWithoutResourcesNestedInput
|
|
351
367
|
tags?: Prisma.TagUncheckedUpdateManyWithoutResourcesNestedInput
|
|
352
368
|
categories?: Prisma.CategoryUncheckedUpdateManyWithoutResourcesNestedInput
|
|
@@ -360,6 +376,7 @@ export type ResourceCreateManyInput = {
|
|
|
360
376
|
creatorId: string
|
|
361
377
|
nestedResourceId: string
|
|
362
378
|
aOptionalString?: string | null
|
|
379
|
+
aOptionalBool?: boolean | null
|
|
363
380
|
}
|
|
364
381
|
|
|
365
382
|
export type ResourceUpdateManyMutationInput = {
|
|
@@ -368,6 +385,7 @@ export type ResourceUpdateManyMutationInput = {
|
|
|
368
385
|
aNumber?: Prisma.IntFieldUpdateOperationsInput | number
|
|
369
386
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
370
387
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
388
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
371
389
|
}
|
|
372
390
|
|
|
373
391
|
export type ResourceUncheckedUpdateManyInput = {
|
|
@@ -378,6 +396,7 @@ export type ResourceUncheckedUpdateManyInput = {
|
|
|
378
396
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
379
397
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
380
398
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
399
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
381
400
|
}
|
|
382
401
|
|
|
383
402
|
export type ResourceCountOrderByAggregateInput = {
|
|
@@ -388,6 +407,7 @@ export type ResourceCountOrderByAggregateInput = {
|
|
|
388
407
|
creatorId?: Prisma.SortOrder
|
|
389
408
|
nestedResourceId?: Prisma.SortOrder
|
|
390
409
|
aOptionalString?: Prisma.SortOrder
|
|
410
|
+
aOptionalBool?: Prisma.SortOrder
|
|
391
411
|
}
|
|
392
412
|
|
|
393
413
|
export type ResourceAvgOrderByAggregateInput = {
|
|
@@ -402,6 +422,7 @@ export type ResourceMaxOrderByAggregateInput = {
|
|
|
402
422
|
creatorId?: Prisma.SortOrder
|
|
403
423
|
nestedResourceId?: Prisma.SortOrder
|
|
404
424
|
aOptionalString?: Prisma.SortOrder
|
|
425
|
+
aOptionalBool?: Prisma.SortOrder
|
|
405
426
|
}
|
|
406
427
|
|
|
407
428
|
export type ResourceMinOrderByAggregateInput = {
|
|
@@ -412,6 +433,7 @@ export type ResourceMinOrderByAggregateInput = {
|
|
|
412
433
|
creatorId?: Prisma.SortOrder
|
|
413
434
|
nestedResourceId?: Prisma.SortOrder
|
|
414
435
|
aOptionalString?: Prisma.SortOrder
|
|
436
|
+
aOptionalBool?: Prisma.SortOrder
|
|
415
437
|
}
|
|
416
438
|
|
|
417
439
|
export type ResourceSumOrderByAggregateInput = {
|
|
@@ -448,6 +470,10 @@ export type NullableStringFieldUpdateOperationsInput = {
|
|
|
448
470
|
set?: string | null
|
|
449
471
|
}
|
|
450
472
|
|
|
473
|
+
export type NullableBoolFieldUpdateOperationsInput = {
|
|
474
|
+
set?: boolean | null
|
|
475
|
+
}
|
|
476
|
+
|
|
451
477
|
export type ResourceCreateNestedManyWithoutOwnedByInput = {
|
|
452
478
|
create?: Prisma.XOR<Prisma.ResourceCreateWithoutOwnedByInput, Prisma.ResourceUncheckedCreateWithoutOwnedByInput> | Prisma.ResourceCreateWithoutOwnedByInput[] | Prisma.ResourceUncheckedCreateWithoutOwnedByInput[]
|
|
453
479
|
connectOrCreate?: Prisma.ResourceCreateOrConnectWithoutOwnedByInput | Prisma.ResourceCreateOrConnectWithoutOwnedByInput[]
|
|
@@ -652,6 +678,7 @@ export type ResourceCreateWithoutOwnedByInput = {
|
|
|
652
678
|
aNumber: number
|
|
653
679
|
aBool: boolean
|
|
654
680
|
aOptionalString?: string | null
|
|
681
|
+
aOptionalBool?: boolean | null
|
|
655
682
|
createdBy: Prisma.UserCreateNestedOneWithoutCreatedResourcesInput
|
|
656
683
|
nested: Prisma.NestedResourceCreateNestedOneWithoutResourceInput
|
|
657
684
|
tags?: Prisma.TagCreateNestedManyWithoutResourcesInput
|
|
@@ -666,6 +693,7 @@ export type ResourceUncheckedCreateWithoutOwnedByInput = {
|
|
|
666
693
|
creatorId: string
|
|
667
694
|
nestedResourceId: string
|
|
668
695
|
aOptionalString?: string | null
|
|
696
|
+
aOptionalBool?: boolean | null
|
|
669
697
|
tags?: Prisma.TagUncheckedCreateNestedManyWithoutResourcesInput
|
|
670
698
|
categories?: Prisma.CategoryUncheckedCreateNestedManyWithoutResourcesInput
|
|
671
699
|
}
|
|
@@ -681,6 +709,7 @@ export type ResourceCreateWithoutCreatedByInput = {
|
|
|
681
709
|
aNumber: number
|
|
682
710
|
aBool: boolean
|
|
683
711
|
aOptionalString?: string | null
|
|
712
|
+
aOptionalBool?: boolean | null
|
|
684
713
|
ownedBy?: Prisma.UserCreateNestedManyWithoutResourcesInput
|
|
685
714
|
nested: Prisma.NestedResourceCreateNestedOneWithoutResourceInput
|
|
686
715
|
tags?: Prisma.TagCreateNestedManyWithoutResourcesInput
|
|
@@ -694,6 +723,7 @@ export type ResourceUncheckedCreateWithoutCreatedByInput = {
|
|
|
694
723
|
aBool: boolean
|
|
695
724
|
nestedResourceId: string
|
|
696
725
|
aOptionalString?: string | null
|
|
726
|
+
aOptionalBool?: boolean | null
|
|
697
727
|
ownedBy?: Prisma.UserUncheckedCreateNestedManyWithoutResourcesInput
|
|
698
728
|
tags?: Prisma.TagUncheckedCreateNestedManyWithoutResourcesInput
|
|
699
729
|
categories?: Prisma.CategoryUncheckedCreateNestedManyWithoutResourcesInput
|
|
@@ -735,6 +765,7 @@ export type ResourceScalarWhereInput = {
|
|
|
735
765
|
creatorId?: Prisma.StringFilter<"Resource"> | string
|
|
736
766
|
nestedResourceId?: Prisma.StringFilter<"Resource"> | string
|
|
737
767
|
aOptionalString?: Prisma.StringNullableFilter<"Resource"> | string | null
|
|
768
|
+
aOptionalBool?: Prisma.BoolNullableFilter<"Resource"> | boolean | null
|
|
738
769
|
}
|
|
739
770
|
|
|
740
771
|
export type ResourceUpsertWithWhereUniqueWithoutCreatedByInput = {
|
|
@@ -759,6 +790,7 @@ export type ResourceCreateWithoutNestedInput = {
|
|
|
759
790
|
aNumber: number
|
|
760
791
|
aBool: boolean
|
|
761
792
|
aOptionalString?: string | null
|
|
793
|
+
aOptionalBool?: boolean | null
|
|
762
794
|
ownedBy?: Prisma.UserCreateNestedManyWithoutResourcesInput
|
|
763
795
|
createdBy: Prisma.UserCreateNestedOneWithoutCreatedResourcesInput
|
|
764
796
|
tags?: Prisma.TagCreateNestedManyWithoutResourcesInput
|
|
@@ -772,6 +804,7 @@ export type ResourceUncheckedCreateWithoutNestedInput = {
|
|
|
772
804
|
aBool: boolean
|
|
773
805
|
creatorId: string
|
|
774
806
|
aOptionalString?: string | null
|
|
807
|
+
aOptionalBool?: boolean | null
|
|
775
808
|
ownedBy?: Prisma.UserUncheckedCreateNestedManyWithoutResourcesInput
|
|
776
809
|
tags?: Prisma.TagUncheckedCreateNestedManyWithoutResourcesInput
|
|
777
810
|
categories?: Prisma.CategoryUncheckedCreateNestedManyWithoutResourcesInput
|
|
@@ -808,6 +841,7 @@ export type ResourceCreateWithoutTagsInput = {
|
|
|
808
841
|
aNumber: number
|
|
809
842
|
aBool: boolean
|
|
810
843
|
aOptionalString?: string | null
|
|
844
|
+
aOptionalBool?: boolean | null
|
|
811
845
|
ownedBy?: Prisma.UserCreateNestedManyWithoutResourcesInput
|
|
812
846
|
createdBy: Prisma.UserCreateNestedOneWithoutCreatedResourcesInput
|
|
813
847
|
nested: Prisma.NestedResourceCreateNestedOneWithoutResourceInput
|
|
@@ -822,6 +856,7 @@ export type ResourceUncheckedCreateWithoutTagsInput = {
|
|
|
822
856
|
creatorId: string
|
|
823
857
|
nestedResourceId: string
|
|
824
858
|
aOptionalString?: string | null
|
|
859
|
+
aOptionalBool?: boolean | null
|
|
825
860
|
ownedBy?: Prisma.UserUncheckedCreateNestedManyWithoutResourcesInput
|
|
826
861
|
categories?: Prisma.CategoryUncheckedCreateNestedManyWithoutResourcesInput
|
|
827
862
|
}
|
|
@@ -853,6 +888,7 @@ export type ResourceCreateWithoutCategoriesInput = {
|
|
|
853
888
|
aNumber: number
|
|
854
889
|
aBool: boolean
|
|
855
890
|
aOptionalString?: string | null
|
|
891
|
+
aOptionalBool?: boolean | null
|
|
856
892
|
ownedBy?: Prisma.UserCreateNestedManyWithoutResourcesInput
|
|
857
893
|
createdBy: Prisma.UserCreateNestedOneWithoutCreatedResourcesInput
|
|
858
894
|
nested: Prisma.NestedResourceCreateNestedOneWithoutResourceInput
|
|
@@ -867,6 +903,7 @@ export type ResourceUncheckedCreateWithoutCategoriesInput = {
|
|
|
867
903
|
creatorId: string
|
|
868
904
|
nestedResourceId: string
|
|
869
905
|
aOptionalString?: string | null
|
|
906
|
+
aOptionalBool?: boolean | null
|
|
870
907
|
ownedBy?: Prisma.UserUncheckedCreateNestedManyWithoutResourcesInput
|
|
871
908
|
tags?: Prisma.TagUncheckedCreateNestedManyWithoutResourcesInput
|
|
872
909
|
}
|
|
@@ -899,6 +936,7 @@ export type ResourceCreateManyCreatedByInput = {
|
|
|
899
936
|
aBool: boolean
|
|
900
937
|
nestedResourceId: string
|
|
901
938
|
aOptionalString?: string | null
|
|
939
|
+
aOptionalBool?: boolean | null
|
|
902
940
|
}
|
|
903
941
|
|
|
904
942
|
export type ResourceUpdateWithoutOwnedByInput = {
|
|
@@ -907,6 +945,7 @@ export type ResourceUpdateWithoutOwnedByInput = {
|
|
|
907
945
|
aNumber?: Prisma.IntFieldUpdateOperationsInput | number
|
|
908
946
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
909
947
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
948
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
910
949
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutCreatedResourcesNestedInput
|
|
911
950
|
nested?: Prisma.NestedResourceUpdateOneRequiredWithoutResourceNestedInput
|
|
912
951
|
tags?: Prisma.TagUpdateManyWithoutResourcesNestedInput
|
|
@@ -921,6 +960,7 @@ export type ResourceUncheckedUpdateWithoutOwnedByInput = {
|
|
|
921
960
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
922
961
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
923
962
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
963
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
924
964
|
tags?: Prisma.TagUncheckedUpdateManyWithoutResourcesNestedInput
|
|
925
965
|
categories?: Prisma.CategoryUncheckedUpdateManyWithoutResourcesNestedInput
|
|
926
966
|
}
|
|
@@ -933,6 +973,7 @@ export type ResourceUncheckedUpdateManyWithoutOwnedByInput = {
|
|
|
933
973
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
934
974
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
935
975
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
976
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
936
977
|
}
|
|
937
978
|
|
|
938
979
|
export type ResourceUpdateWithoutCreatedByInput = {
|
|
@@ -941,6 +982,7 @@ export type ResourceUpdateWithoutCreatedByInput = {
|
|
|
941
982
|
aNumber?: Prisma.IntFieldUpdateOperationsInput | number
|
|
942
983
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
943
984
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
985
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
944
986
|
ownedBy?: Prisma.UserUpdateManyWithoutResourcesNestedInput
|
|
945
987
|
nested?: Prisma.NestedResourceUpdateOneRequiredWithoutResourceNestedInput
|
|
946
988
|
tags?: Prisma.TagUpdateManyWithoutResourcesNestedInput
|
|
@@ -954,6 +996,7 @@ export type ResourceUncheckedUpdateWithoutCreatedByInput = {
|
|
|
954
996
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
955
997
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
956
998
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
999
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
957
1000
|
ownedBy?: Prisma.UserUncheckedUpdateManyWithoutResourcesNestedInput
|
|
958
1001
|
tags?: Prisma.TagUncheckedUpdateManyWithoutResourcesNestedInput
|
|
959
1002
|
categories?: Prisma.CategoryUncheckedUpdateManyWithoutResourcesNestedInput
|
|
@@ -966,6 +1009,7 @@ export type ResourceUncheckedUpdateManyWithoutCreatedByInput = {
|
|
|
966
1009
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
967
1010
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
968
1011
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1012
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
969
1013
|
}
|
|
970
1014
|
|
|
971
1015
|
export type ResourceCreateManyNestedInput = {
|
|
@@ -975,6 +1019,7 @@ export type ResourceCreateManyNestedInput = {
|
|
|
975
1019
|
aBool: boolean
|
|
976
1020
|
creatorId: string
|
|
977
1021
|
aOptionalString?: string | null
|
|
1022
|
+
aOptionalBool?: boolean | null
|
|
978
1023
|
}
|
|
979
1024
|
|
|
980
1025
|
export type ResourceUpdateWithoutNestedInput = {
|
|
@@ -983,6 +1028,7 @@ export type ResourceUpdateWithoutNestedInput = {
|
|
|
983
1028
|
aNumber?: Prisma.IntFieldUpdateOperationsInput | number
|
|
984
1029
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
985
1030
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1031
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
986
1032
|
ownedBy?: Prisma.UserUpdateManyWithoutResourcesNestedInput
|
|
987
1033
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutCreatedResourcesNestedInput
|
|
988
1034
|
tags?: Prisma.TagUpdateManyWithoutResourcesNestedInput
|
|
@@ -996,6 +1042,7 @@ export type ResourceUncheckedUpdateWithoutNestedInput = {
|
|
|
996
1042
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
997
1043
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
998
1044
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1045
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
999
1046
|
ownedBy?: Prisma.UserUncheckedUpdateManyWithoutResourcesNestedInput
|
|
1000
1047
|
tags?: Prisma.TagUncheckedUpdateManyWithoutResourcesNestedInput
|
|
1001
1048
|
categories?: Prisma.CategoryUncheckedUpdateManyWithoutResourcesNestedInput
|
|
@@ -1008,6 +1055,7 @@ export type ResourceUncheckedUpdateManyWithoutNestedInput = {
|
|
|
1008
1055
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1009
1056
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1010
1057
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1058
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1011
1059
|
}
|
|
1012
1060
|
|
|
1013
1061
|
export type ResourceUpdateWithoutTagsInput = {
|
|
@@ -1016,6 +1064,7 @@ export type ResourceUpdateWithoutTagsInput = {
|
|
|
1016
1064
|
aNumber?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1017
1065
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1018
1066
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1067
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1019
1068
|
ownedBy?: Prisma.UserUpdateManyWithoutResourcesNestedInput
|
|
1020
1069
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutCreatedResourcesNestedInput
|
|
1021
1070
|
nested?: Prisma.NestedResourceUpdateOneRequiredWithoutResourceNestedInput
|
|
@@ -1030,6 +1079,7 @@ export type ResourceUncheckedUpdateWithoutTagsInput = {
|
|
|
1030
1079
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1031
1080
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1032
1081
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1082
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1033
1083
|
ownedBy?: Prisma.UserUncheckedUpdateManyWithoutResourcesNestedInput
|
|
1034
1084
|
categories?: Prisma.CategoryUncheckedUpdateManyWithoutResourcesNestedInput
|
|
1035
1085
|
}
|
|
@@ -1042,6 +1092,7 @@ export type ResourceUncheckedUpdateManyWithoutTagsInput = {
|
|
|
1042
1092
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1043
1093
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1044
1094
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1095
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1045
1096
|
}
|
|
1046
1097
|
|
|
1047
1098
|
export type ResourceUpdateWithoutCategoriesInput = {
|
|
@@ -1050,6 +1101,7 @@ export type ResourceUpdateWithoutCategoriesInput = {
|
|
|
1050
1101
|
aNumber?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1051
1102
|
aBool?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1052
1103
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1104
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1053
1105
|
ownedBy?: Prisma.UserUpdateManyWithoutResourcesNestedInput
|
|
1054
1106
|
createdBy?: Prisma.UserUpdateOneRequiredWithoutCreatedResourcesNestedInput
|
|
1055
1107
|
nested?: Prisma.NestedResourceUpdateOneRequiredWithoutResourceNestedInput
|
|
@@ -1064,6 +1116,7 @@ export type ResourceUncheckedUpdateWithoutCategoriesInput = {
|
|
|
1064
1116
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1065
1117
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1066
1118
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1119
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1067
1120
|
ownedBy?: Prisma.UserUncheckedUpdateManyWithoutResourcesNestedInput
|
|
1068
1121
|
tags?: Prisma.TagUncheckedUpdateManyWithoutResourcesNestedInput
|
|
1069
1122
|
}
|
|
@@ -1076,6 +1129,7 @@ export type ResourceUncheckedUpdateManyWithoutCategoriesInput = {
|
|
|
1076
1129
|
creatorId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1077
1130
|
nestedResourceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1078
1131
|
aOptionalString?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1132
|
+
aOptionalBool?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
1079
1133
|
}
|
|
1080
1134
|
|
|
1081
1135
|
|
|
@@ -1135,6 +1189,7 @@ export type ResourceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1135
1189
|
creatorId?: boolean
|
|
1136
1190
|
nestedResourceId?: boolean
|
|
1137
1191
|
aOptionalString?: boolean
|
|
1192
|
+
aOptionalBool?: boolean
|
|
1138
1193
|
ownedBy?: boolean | Prisma.Resource$ownedByArgs<ExtArgs>
|
|
1139
1194
|
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1140
1195
|
nested?: boolean | Prisma.NestedResourceDefaultArgs<ExtArgs>
|
|
@@ -1151,6 +1206,7 @@ export type ResourceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Exte
|
|
|
1151
1206
|
creatorId?: boolean
|
|
1152
1207
|
nestedResourceId?: boolean
|
|
1153
1208
|
aOptionalString?: boolean
|
|
1209
|
+
aOptionalBool?: boolean
|
|
1154
1210
|
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1155
1211
|
nested?: boolean | Prisma.NestedResourceDefaultArgs<ExtArgs>
|
|
1156
1212
|
}, ExtArgs["result"]["resource"]>
|
|
@@ -1163,6 +1219,7 @@ export type ResourceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Exte
|
|
|
1163
1219
|
creatorId?: boolean
|
|
1164
1220
|
nestedResourceId?: boolean
|
|
1165
1221
|
aOptionalString?: boolean
|
|
1222
|
+
aOptionalBool?: boolean
|
|
1166
1223
|
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1167
1224
|
nested?: boolean | Prisma.NestedResourceDefaultArgs<ExtArgs>
|
|
1168
1225
|
}, ExtArgs["result"]["resource"]>
|
|
@@ -1175,9 +1232,10 @@ export type ResourceSelectScalar = {
|
|
|
1175
1232
|
creatorId?: boolean
|
|
1176
1233
|
nestedResourceId?: boolean
|
|
1177
1234
|
aOptionalString?: boolean
|
|
1235
|
+
aOptionalBool?: boolean
|
|
1178
1236
|
}
|
|
1179
1237
|
|
|
1180
|
-
export type ResourceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "aString" | "aNumber" | "aBool" | "creatorId" | "nestedResourceId" | "aOptionalString", ExtArgs["result"]["resource"]>
|
|
1238
|
+
export type ResourceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "aString" | "aNumber" | "aBool" | "creatorId" | "nestedResourceId" | "aOptionalString" | "aOptionalBool", ExtArgs["result"]["resource"]>
|
|
1181
1239
|
export type ResourceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1182
1240
|
ownedBy?: boolean | Prisma.Resource$ownedByArgs<ExtArgs>
|
|
1183
1241
|
createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
@@ -1212,6 +1270,7 @@ export type $ResourcePayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
1212
1270
|
creatorId: string
|
|
1213
1271
|
nestedResourceId: string
|
|
1214
1272
|
aOptionalString: string | null
|
|
1273
|
+
aOptionalBool: boolean | null
|
|
1215
1274
|
}, ExtArgs["result"]["resource"]>
|
|
1216
1275
|
composites: {}
|
|
1217
1276
|
}
|
|
@@ -1647,6 +1706,7 @@ export interface ResourceFieldRefs {
|
|
|
1647
1706
|
readonly creatorId: Prisma.FieldRef<"Resource", 'String'>
|
|
1648
1707
|
readonly nestedResourceId: Prisma.FieldRef<"Resource", 'String'>
|
|
1649
1708
|
readonly aOptionalString: Prisma.FieldRef<"Resource", 'String'>
|
|
1709
|
+
readonly aOptionalBool: Prisma.FieldRef<"Resource", 'Boolean'>
|
|
1650
1710
|
}
|
|
1651
1711
|
|
|
1652
1712
|
|
|
@@ -137,7 +137,7 @@ export type SubCategoryGroupByOutputType = {
|
|
|
137
137
|
_max: SubCategoryMaxAggregateOutputType | null
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
type GetSubCategoryGroupByPayload<T extends SubCategoryGroupByArgs> = Prisma.PrismaPromise<
|
|
140
|
+
export type GetSubCategoryGroupByPayload<T extends SubCategoryGroupByArgs> = Prisma.PrismaPromise<
|
|
141
141
|
Array<
|
|
142
142
|
Prisma.PickEnumerable<SubCategoryGroupByOutputType, T['by']> &
|
|
143
143
|
{
|
|
@@ -137,7 +137,7 @@ export type TagGroupByOutputType = {
|
|
|
137
137
|
_max: TagMaxAggregateOutputType | null
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
type GetTagGroupByPayload<T extends TagGroupByArgs> = Prisma.PrismaPromise<
|
|
140
|
+
export type GetTagGroupByPayload<T extends TagGroupByArgs> = Prisma.PrismaPromise<
|
|
141
141
|
Array<
|
|
142
142
|
Prisma.PickEnumerable<TagGroupByOutputType, T['by']> &
|
|
143
143
|
{
|
|
@@ -185,7 +185,7 @@ export type UserGroupByOutputType = {
|
|
|
185
185
|
_max: UserMaxAggregateOutputType | null
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
type GetUserGroupByPayload<T extends UserGroupByArgs> = Prisma.PrismaPromise<
|
|
188
|
+
export type GetUserGroupByPayload<T extends UserGroupByArgs> = Prisma.PrismaPromise<
|
|
189
189
|
Array<
|
|
190
190
|
Prisma.PickEnumerable<UserGroupByOutputType, T['by']> &
|
|
191
191
|
{
|
|
@@ -0,0 +1,44 @@
|
|
|
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 should be your main import to use Prisma-related types and utilities in a browser.
|
|
8
|
+
* Use it to get access to models, enums, and input types.
|
|
9
|
+
*
|
|
10
|
+
* This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
|
|
11
|
+
* See `client.ts` for the standard, server-side entry point.
|
|
12
|
+
*
|
|
13
|
+
* 🟢 You can import this file directly.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import * as Prisma from './internal/prismaNamespaceBrowser.js'
|
|
17
|
+
export { Prisma }
|
|
18
|
+
export * as $Enums from './enums.js'
|
|
19
|
+
export * from './enums.js';
|
|
20
|
+
/**
|
|
21
|
+
* Model AdversarialResource
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export type AdversarialResource = Prisma.AdversarialResourceModel
|
|
25
|
+
/**
|
|
26
|
+
* Model AdversarialTag
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export type AdversarialTag = Prisma.AdversarialTagModel
|
|
30
|
+
/**
|
|
31
|
+
* Model AdversarialCategory
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export type AdversarialCategory = Prisma.AdversarialCategoryModel
|
|
35
|
+
/**
|
|
36
|
+
* Model AdversarialSubCategory
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export type AdversarialSubCategory = Prisma.AdversarialSubCategoryModel
|
|
40
|
+
/**
|
|
41
|
+
* Model AdversarialLabel
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
export type AdversarialLabel = Prisma.AdversarialLabelModel
|
|
@@ -0,0 +1,66 @@
|
|
|
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 should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
|
|
8
|
+
* If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
|
|
9
|
+
*
|
|
10
|
+
* 🟢 You can import this file directly.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import * as process from 'node:process'
|
|
14
|
+
import * as path from 'node:path'
|
|
15
|
+
|
|
16
|
+
import * as runtime from "@prisma/client/runtime/client"
|
|
17
|
+
import * as $Enums from "./enums.js"
|
|
18
|
+
import * as $Class from "./internal/class.js"
|
|
19
|
+
import * as Prisma from "./internal/prismaNamespace.js"
|
|
20
|
+
|
|
21
|
+
export * as $Enums from './enums.js'
|
|
22
|
+
export * from "./enums.js"
|
|
23
|
+
/**
|
|
24
|
+
* ## Prisma Client
|
|
25
|
+
*
|
|
26
|
+
* Type-safe database client for TypeScript
|
|
27
|
+
* @example
|
|
28
|
+
* ```
|
|
29
|
+
* const prisma = new PrismaClient({
|
|
30
|
+
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
31
|
+
* })
|
|
32
|
+
* // Fetch zero or more AdversarialResources
|
|
33
|
+
* const adversarialResources = await prisma.adversarialResource.findMany()
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
37
|
+
*/
|
|
38
|
+
export const PrismaClient = $Class.getPrismaClientClass()
|
|
39
|
+
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
|
|
40
|
+
export { Prisma }
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Model AdversarialResource
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
export type AdversarialResource = Prisma.AdversarialResourceModel
|
|
47
|
+
/**
|
|
48
|
+
* Model AdversarialTag
|
|
49
|
+
*
|
|
50
|
+
*/
|
|
51
|
+
export type AdversarialTag = Prisma.AdversarialTagModel
|
|
52
|
+
/**
|
|
53
|
+
* Model AdversarialCategory
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
export type AdversarialCategory = Prisma.AdversarialCategoryModel
|
|
57
|
+
/**
|
|
58
|
+
* Model AdversarialSubCategory
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export type AdversarialSubCategory = Prisma.AdversarialSubCategoryModel
|
|
62
|
+
/**
|
|
63
|
+
* Model AdversarialLabel
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export type AdversarialLabel = Prisma.AdversarialLabelModel
|