@cerbos/orm-prisma 3.3.0 → 4.1.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 +243 -10
- package/lib/index.d.ts +102 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1754 -155
- package/lib/index.js.map +1 -1
- package/package.json +24 -15
- package/src/adversarial.test.ts +1281 -0
- package/src/corpus.ts +414 -0
- package/src/generated/prisma-adversarial/browser.ts +54 -0
- package/src/generated/prisma-adversarial/client.ts +76 -0
- package/src/generated/{prisma → prisma-adversarial}/commonInputTypes.ts +131 -27
- package/src/generated/prisma-adversarial/enums.ts +15 -0
- package/src/generated/prisma-adversarial/internal/class.ts +264 -0
- package/src/generated/prisma-adversarial/internal/prismaNamespace.ts +1332 -0
- package/src/generated/{prisma → prisma-adversarial}/internal/prismaNamespaceBrowser.ts +45 -47
- package/src/generated/prisma-adversarial/models/AdversarialCategory.ts +1401 -0
- package/src/generated/prisma-adversarial/models/AdversarialInner.ts +1369 -0
- package/src/generated/prisma-adversarial/models/AdversarialLabel.ts +1272 -0
- package/src/generated/prisma-adversarial/models/AdversarialParent.ts +1474 -0
- package/src/generated/prisma-adversarial/models/AdversarialResource.ts +1789 -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 +18 -0
- package/src/generated/{prisma → prisma-adversarial-pg}/browser.ts +14 -19
- package/src/generated/{prisma → prisma-adversarial-pg}/client.ts +16 -21
- package/src/generated/prisma-adversarial-pg/commonInputTypes.ts +356 -0
- package/src/generated/prisma-adversarial-pg/internal/class.ts +264 -0
- package/src/generated/prisma-adversarial-pg/internal/prismaNamespace.ts +1371 -0
- package/src/generated/prisma-adversarial-pg/internal/prismaNamespaceBrowser.ts +177 -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/AdversarialParent.ts +1476 -0
- package/src/generated/prisma-adversarial-pg/models/AdversarialResource.ts +1791 -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 +18 -0
- package/src/generated/prisma-adversarial-pg-v6/index.d.ts +11830 -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 +11769 -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/index.ts +2515 -219
- package/src/test-setup.adversarial-url.ts +18 -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.v6.ts +5 -0
- package/src/test-setup.adversarial.v7.ts +12 -0
- package/src/translator.test.ts +1586 -0
- package/src/generated/prisma/internal/class.ts +0 -274
- package/src/generated/prisma/internal/prismaNamespace.ts +0 -1333
- 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 -2136
- 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 -13639
- package/src/index.test.ts +0 -6322
- package/src/test-setup.v6.ts +0 -5
- package/src/test-setup.v7.ts +0 -7
- /package/src/generated/{prisma → prisma-adversarial-pg}/enums.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-pg-v6}/client.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-pg-v6}/default.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-pg-v6}/edge.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-pg-v6}/runtime/index-browser.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-pg-v6}/runtime/library.d.ts +0 -0
- /package/src/generated/{prisma-v6 → prisma-adversarial-pg-v6}/wasm.d.ts +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
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 is a barrel export file for all models and their related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
export type * from './models/AdversarialResource.js'
|
|
12
|
+
export type * from './models/AdversarialTag.js'
|
|
13
|
+
export type * from './models/AdversarialCategory.js'
|
|
14
|
+
export type * from './models/AdversarialSubCategory.js'
|
|
15
|
+
export type * from './models/AdversarialLabel.js'
|
|
16
|
+
export type * from './models/AdversarialParent.js'
|
|
17
|
+
export type * from './models/AdversarialInner.js'
|
|
18
|
+
export type * from './commonInputTypes.js'
|
|
@@ -18,42 +18,37 @@ export { Prisma }
|
|
|
18
18
|
export * as $Enums from './enums.js'
|
|
19
19
|
export * from './enums.js';
|
|
20
20
|
/**
|
|
21
|
-
* Model
|
|
21
|
+
* Model AdversarialResource
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
|
-
export type
|
|
24
|
+
export type AdversarialResource = Prisma.AdversarialResourceModel
|
|
25
25
|
/**
|
|
26
|
-
* Model
|
|
26
|
+
* Model AdversarialTag
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
|
-
export type
|
|
29
|
+
export type AdversarialTag = Prisma.AdversarialTagModel
|
|
30
30
|
/**
|
|
31
|
-
* Model
|
|
31
|
+
* Model AdversarialCategory
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
|
-
export type
|
|
34
|
+
export type AdversarialCategory = Prisma.AdversarialCategoryModel
|
|
35
35
|
/**
|
|
36
|
-
* Model
|
|
36
|
+
* Model AdversarialSubCategory
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
|
-
export type
|
|
39
|
+
export type AdversarialSubCategory = Prisma.AdversarialSubCategoryModel
|
|
40
40
|
/**
|
|
41
|
-
* Model
|
|
41
|
+
* Model AdversarialLabel
|
|
42
42
|
*
|
|
43
43
|
*/
|
|
44
|
-
export type
|
|
44
|
+
export type AdversarialLabel = Prisma.AdversarialLabelModel
|
|
45
45
|
/**
|
|
46
|
-
* Model
|
|
46
|
+
* Model AdversarialParent
|
|
47
47
|
*
|
|
48
48
|
*/
|
|
49
|
-
export type
|
|
49
|
+
export type AdversarialParent = Prisma.AdversarialParentModel
|
|
50
50
|
/**
|
|
51
|
-
* Model
|
|
51
|
+
* Model AdversarialInner
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
|
-
export type
|
|
55
|
-
/**
|
|
56
|
-
* Model Label
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
export type Label = Prisma.LabelModel
|
|
54
|
+
export type AdversarialInner = Prisma.AdversarialInnerModel
|
|
@@ -29,8 +29,8 @@ export * from "./enums.js"
|
|
|
29
29
|
* const prisma = new PrismaClient({
|
|
30
30
|
* adapter: new PrismaPg({ connectionString: process.env.DATABASE_URL })
|
|
31
31
|
* })
|
|
32
|
-
* // Fetch zero or more
|
|
33
|
-
* const
|
|
32
|
+
* // Fetch zero or more AdversarialResources
|
|
33
|
+
* const adversarialResources = await prisma.adversarialResource.findMany()
|
|
34
34
|
* ```
|
|
35
35
|
*
|
|
36
36
|
* Read more in our [docs](https://pris.ly/d/client).
|
|
@@ -40,42 +40,37 @@ export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts exten
|
|
|
40
40
|
export { Prisma }
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Model
|
|
43
|
+
* Model AdversarialResource
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
46
|
-
export type
|
|
46
|
+
export type AdversarialResource = Prisma.AdversarialResourceModel
|
|
47
47
|
/**
|
|
48
|
-
* Model
|
|
48
|
+
* Model AdversarialTag
|
|
49
49
|
*
|
|
50
50
|
*/
|
|
51
|
-
export type
|
|
51
|
+
export type AdversarialTag = Prisma.AdversarialTagModel
|
|
52
52
|
/**
|
|
53
|
-
* Model
|
|
53
|
+
* Model AdversarialCategory
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
56
|
-
export type
|
|
56
|
+
export type AdversarialCategory = Prisma.AdversarialCategoryModel
|
|
57
57
|
/**
|
|
58
|
-
* Model
|
|
58
|
+
* Model AdversarialSubCategory
|
|
59
59
|
*
|
|
60
60
|
*/
|
|
61
|
-
export type
|
|
61
|
+
export type AdversarialSubCategory = Prisma.AdversarialSubCategoryModel
|
|
62
62
|
/**
|
|
63
|
-
* Model
|
|
63
|
+
* Model AdversarialLabel
|
|
64
64
|
*
|
|
65
65
|
*/
|
|
66
|
-
export type
|
|
66
|
+
export type AdversarialLabel = Prisma.AdversarialLabelModel
|
|
67
67
|
/**
|
|
68
|
-
* Model
|
|
68
|
+
* Model AdversarialParent
|
|
69
69
|
*
|
|
70
70
|
*/
|
|
71
|
-
export type
|
|
71
|
+
export type AdversarialParent = Prisma.AdversarialParentModel
|
|
72
72
|
/**
|
|
73
|
-
* Model
|
|
73
|
+
* Model AdversarialInner
|
|
74
74
|
*
|
|
75
75
|
*/
|
|
76
|
-
export type
|
|
77
|
-
/**
|
|
78
|
-
* Model Label
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
export type Label = Prisma.LabelModel
|
|
76
|
+
export type AdversarialInner = Prisma.AdversarialInnerModel
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports various common sort, input & filter types that are not directly linked to a particular model.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
13
|
+
import * as $Enums from "./enums.js"
|
|
14
|
+
import type * as Prisma from "./internal/prismaNamespace.js"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
export type StringFilter<$PrismaModel = never> = {
|
|
18
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
19
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
20
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
21
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
22
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
23
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
24
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
25
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
26
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
27
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
28
|
+
mode?: Prisma.QueryMode
|
|
29
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export type BoolFilter<$PrismaModel = never> = {
|
|
33
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
34
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type IntFilter<$PrismaModel = never> = {
|
|
38
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
39
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
40
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
41
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
42
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
43
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
44
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
45
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type FloatNullableFilter<$PrismaModel = never> = {
|
|
49
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
|
|
50
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
51
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
52
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
53
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
54
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
55
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
56
|
+
not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type StringNullableFilter<$PrismaModel = never> = {
|
|
60
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
61
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
62
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
63
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
64
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
65
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
66
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
67
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
68
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
69
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
70
|
+
mode?: Prisma.QueryMode
|
|
71
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type DateTimeNullableFilter<$PrismaModel = never> = {
|
|
75
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
76
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
77
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
78
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
79
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
80
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
81
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
82
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export type SortOrderInput = {
|
|
86
|
+
sort: Prisma.SortOrder
|
|
87
|
+
nulls?: Prisma.NullsOrder
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
91
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
92
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
93
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
94
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
95
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
96
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
97
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
98
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
99
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
100
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
101
|
+
mode?: Prisma.QueryMode
|
|
102
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
103
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
104
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
105
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
109
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
110
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
111
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
112
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
113
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
117
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
118
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
119
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
120
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
121
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
122
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
123
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
124
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
|
|
125
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
126
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
|
127
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>
|
|
128
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>
|
|
129
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
133
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
|
|
134
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
135
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
136
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
137
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
138
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
139
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
140
|
+
not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
|
|
141
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
142
|
+
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
143
|
+
_sum?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
144
|
+
_min?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
145
|
+
_max?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
149
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
150
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
151
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
152
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
153
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
154
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
155
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
156
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
157
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
158
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
159
|
+
mode?: Prisma.QueryMode
|
|
160
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
161
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
162
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
163
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
167
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
168
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
169
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
170
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
171
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
172
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
173
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
174
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
175
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
176
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
177
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export type NestedStringFilter<$PrismaModel = never> = {
|
|
181
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
182
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
183
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
184
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
185
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
186
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
187
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
188
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
189
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
190
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
191
|
+
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
195
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
196
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type NestedIntFilter<$PrismaModel = never> = {
|
|
200
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
201
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
202
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
203
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
204
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
205
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
206
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
207
|
+
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export type NestedFloatNullableFilter<$PrismaModel = never> = {
|
|
211
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
|
|
212
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
213
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
214
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
215
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
216
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
217
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
218
|
+
not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
222
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
223
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
224
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
225
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
226
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
227
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
228
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
229
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
230
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
231
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
232
|
+
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
|
|
236
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
237
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
238
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
239
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
240
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
241
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
242
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
243
|
+
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
247
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
248
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
249
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
250
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
251
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
252
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
253
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
254
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
255
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
256
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
257
|
+
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
258
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
259
|
+
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
260
|
+
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
|
264
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
265
|
+
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
|
266
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
267
|
+
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
268
|
+
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
272
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
273
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
274
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
275
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
276
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
277
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
278
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
279
|
+
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
|
|
280
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
281
|
+
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
|
282
|
+
_sum?: Prisma.NestedIntFilter<$PrismaModel>
|
|
283
|
+
_min?: Prisma.NestedIntFilter<$PrismaModel>
|
|
284
|
+
_max?: Prisma.NestedIntFilter<$PrismaModel>
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
288
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
289
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>
|
|
290
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>
|
|
291
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
292
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
293
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
294
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
295
|
+
not?: Prisma.NestedFloatFilter<$PrismaModel> | number
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
299
|
+
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
|
|
300
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
301
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel> | null
|
|
302
|
+
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
303
|
+
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
304
|
+
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
305
|
+
gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
306
|
+
not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
|
|
307
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
308
|
+
_avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
309
|
+
_sum?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
310
|
+
_min?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
311
|
+
_max?: Prisma.NestedFloatNullableFilter<$PrismaModel>
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
315
|
+
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
|
316
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
317
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel> | null
|
|
318
|
+
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
319
|
+
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
320
|
+
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
321
|
+
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
322
|
+
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
326
|
+
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
327
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
328
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
329
|
+
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
330
|
+
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
331
|
+
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
332
|
+
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
333
|
+
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
334
|
+
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
335
|
+
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
336
|
+
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
337
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
338
|
+
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
339
|
+
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
343
|
+
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
|
344
|
+
in?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
345
|
+
notIn?: Date[] | string[] | Prisma.ListDateTimeFieldRefInput<$PrismaModel> | null
|
|
346
|
+
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
347
|
+
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
348
|
+
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
349
|
+
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
|
350
|
+
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
|
351
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
352
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
353
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
|