@cerbos/orm-prisma 4.0.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 +168 -12
- package/lib/index.d.ts +74 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +344 -90
- package/lib/index.js.map +1 -1
- package/package.json +10 -7
- package/src/adversarial.test.ts +948 -253
- package/src/corpus.ts +414 -0
- package/src/generated/prisma-adversarial/browser.ts +10 -0
- package/src/generated/prisma-adversarial/client.ts +10 -0
- package/src/generated/prisma-adversarial/internal/class.ts +24 -4
- package/src/generated/prisma-adversarial/internal/prismaNamespace.ts +178 -2
- package/src/generated/prisma-adversarial/internal/prismaNamespaceBrowser.ts +27 -1
- package/src/generated/prisma-adversarial/models/AdversarialInner.ts +1369 -0
- package/src/generated/prisma-adversarial/models/AdversarialParent.ts +1474 -0
- package/src/generated/prisma-adversarial/models/AdversarialResource.ts +124 -0
- package/src/generated/prisma-adversarial/models.ts +2 -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 → prisma-adversarial-pg}/commonInputTypes.ts +153 -71
- package/src/generated/prisma-adversarial-pg/internal/class.ts +264 -0
- package/src/generated/{prisma → prisma-adversarial-pg}/internal/prismaNamespace.ts +339 -371
- package/src/generated/{prisma → prisma-adversarial-pg}/internal/prismaNamespaceBrowser.ts +56 -48
- 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/index.d.ts +3173 -44
- package/src/index.ts +508 -119
- 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/translator.test.ts +1586 -0
- package/src/generated/prisma/internal/class.ts +0 -274
- 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-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
|
@@ -16,8 +16,8 @@ import type * as Prisma from "./internal/prismaNamespace.js"
|
|
|
16
16
|
|
|
17
17
|
export type StringFilter<$PrismaModel = never> = {
|
|
18
18
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
19
|
-
in?: string[]
|
|
20
|
-
notIn?: string[]
|
|
19
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
20
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
21
21
|
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
22
22
|
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
23
23
|
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
@@ -25,13 +25,19 @@ export type StringFilter<$PrismaModel = never> = {
|
|
|
25
25
|
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
26
26
|
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
27
27
|
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
28
|
+
mode?: Prisma.QueryMode
|
|
28
29
|
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
29
30
|
}
|
|
30
31
|
|
|
32
|
+
export type BoolFilter<$PrismaModel = never> = {
|
|
33
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
34
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
35
|
+
}
|
|
36
|
+
|
|
31
37
|
export type IntFilter<$PrismaModel = never> = {
|
|
32
38
|
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
33
|
-
in?: number[]
|
|
34
|
-
notIn?: number[]
|
|
39
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
40
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
35
41
|
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
36
42
|
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
37
43
|
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
@@ -39,15 +45,21 @@ export type IntFilter<$PrismaModel = never> = {
|
|
|
39
45
|
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
40
46
|
}
|
|
41
47
|
|
|
42
|
-
export type
|
|
43
|
-
equals?:
|
|
44
|
-
|
|
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
|
|
45
57
|
}
|
|
46
58
|
|
|
47
59
|
export type StringNullableFilter<$PrismaModel = never> = {
|
|
48
60
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
49
|
-
in?: string[] | null
|
|
50
|
-
notIn?: string[] | null
|
|
61
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
62
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
51
63
|
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
52
64
|
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
53
65
|
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
@@ -55,12 +67,19 @@ export type StringNullableFilter<$PrismaModel = never> = {
|
|
|
55
67
|
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
56
68
|
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
57
69
|
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
70
|
+
mode?: Prisma.QueryMode
|
|
58
71
|
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
59
72
|
}
|
|
60
73
|
|
|
61
|
-
export type
|
|
62
|
-
equals?:
|
|
63
|
-
|
|
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
|
|
64
83
|
}
|
|
65
84
|
|
|
66
85
|
export type SortOrderInput = {
|
|
@@ -70,8 +89,8 @@ export type SortOrderInput = {
|
|
|
70
89
|
|
|
71
90
|
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
72
91
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
73
|
-
in?: string[]
|
|
74
|
-
notIn?: string[]
|
|
92
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
93
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
75
94
|
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
76
95
|
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
77
96
|
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
@@ -79,16 +98,25 @@ export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
79
98
|
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
80
99
|
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
81
100
|
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
101
|
+
mode?: Prisma.QueryMode
|
|
82
102
|
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
83
103
|
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
|
84
104
|
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
|
85
105
|
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
86
106
|
}
|
|
87
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
|
+
|
|
88
116
|
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
89
117
|
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
90
|
-
in?: number[]
|
|
91
|
-
notIn?: number[]
|
|
118
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
119
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
92
120
|
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
93
121
|
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
94
122
|
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
@@ -101,18 +129,26 @@ export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
101
129
|
_max?: Prisma.NestedIntFilter<$PrismaModel>
|
|
102
130
|
}
|
|
103
131
|
|
|
104
|
-
export type
|
|
105
|
-
equals?:
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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>
|
|
110
146
|
}
|
|
111
147
|
|
|
112
148
|
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
113
149
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
114
|
-
in?: string[] | null
|
|
115
|
-
notIn?: string[] | null
|
|
150
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
151
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
116
152
|
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
117
153
|
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
118
154
|
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
@@ -120,24 +156,31 @@ export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
120
156
|
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
121
157
|
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
122
158
|
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
159
|
+
mode?: Prisma.QueryMode
|
|
123
160
|
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
124
161
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
125
162
|
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
126
163
|
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
127
164
|
}
|
|
128
165
|
|
|
129
|
-
export type
|
|
130
|
-
equals?:
|
|
131
|
-
|
|
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
|
|
132
175
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
133
|
-
_min?: Prisma.
|
|
134
|
-
_max?: Prisma.
|
|
176
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
177
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
135
178
|
}
|
|
136
179
|
|
|
137
180
|
export type NestedStringFilter<$PrismaModel = never> = {
|
|
138
181
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
139
|
-
in?: string[]
|
|
140
|
-
notIn?: string[]
|
|
182
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
183
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
141
184
|
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
142
185
|
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
143
186
|
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
@@ -148,10 +191,15 @@ export type NestedStringFilter<$PrismaModel = never> = {
|
|
|
148
191
|
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
|
149
192
|
}
|
|
150
193
|
|
|
194
|
+
export type NestedBoolFilter<$PrismaModel = never> = {
|
|
195
|
+
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
|
196
|
+
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
|
197
|
+
}
|
|
198
|
+
|
|
151
199
|
export type NestedIntFilter<$PrismaModel = never> = {
|
|
152
200
|
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
153
|
-
in?: number[]
|
|
154
|
-
notIn?: number[]
|
|
201
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
202
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
155
203
|
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
156
204
|
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
157
205
|
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
@@ -159,15 +207,21 @@ export type NestedIntFilter<$PrismaModel = never> = {
|
|
|
159
207
|
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
|
160
208
|
}
|
|
161
209
|
|
|
162
|
-
export type
|
|
163
|
-
equals?:
|
|
164
|
-
|
|
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
|
|
165
219
|
}
|
|
166
220
|
|
|
167
221
|
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
168
222
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
169
|
-
in?: string[] | null
|
|
170
|
-
notIn?: string[] | null
|
|
223
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
224
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
171
225
|
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
172
226
|
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
173
227
|
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
@@ -178,15 +232,21 @@ export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
|
178
232
|
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
|
179
233
|
}
|
|
180
234
|
|
|
181
|
-
export type
|
|
182
|
-
equals?:
|
|
183
|
-
|
|
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
|
|
184
244
|
}
|
|
185
245
|
|
|
186
246
|
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
187
247
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
188
|
-
in?: string[]
|
|
189
|
-
notIn?: string[]
|
|
248
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
249
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
|
|
190
250
|
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
191
251
|
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
192
252
|
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
@@ -200,10 +260,18 @@ export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
200
260
|
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
|
201
261
|
}
|
|
202
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
|
+
|
|
203
271
|
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
204
272
|
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
205
|
-
in?: number[]
|
|
206
|
-
notIn?: number[]
|
|
273
|
+
in?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
274
|
+
notIn?: number[] | Prisma.ListIntFieldRefInput<$PrismaModel>
|
|
207
275
|
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
208
276
|
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
209
277
|
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
|
@@ -218,8 +286,8 @@ export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
218
286
|
|
|
219
287
|
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
220
288
|
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
221
|
-
in?: number[]
|
|
222
|
-
notIn?: number[]
|
|
289
|
+
in?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>
|
|
290
|
+
notIn?: number[] | Prisma.ListFloatFieldRefInput<$PrismaModel>
|
|
223
291
|
lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
224
292
|
lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
225
293
|
gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
|
|
@@ -227,18 +295,37 @@ export type NestedFloatFilter<$PrismaModel = never> = {
|
|
|
227
295
|
not?: Prisma.NestedFloatFilter<$PrismaModel> | number
|
|
228
296
|
}
|
|
229
297
|
|
|
230
|
-
export type
|
|
231
|
-
equals?:
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
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
|
|
236
323
|
}
|
|
237
324
|
|
|
238
325
|
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
239
326
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
|
240
|
-
in?: string[] | null
|
|
241
|
-
notIn?: string[] | null
|
|
327
|
+
in?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
328
|
+
notIn?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
|
|
242
329
|
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
243
330
|
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
244
331
|
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
|
@@ -252,23 +339,18 @@ export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
252
339
|
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
|
253
340
|
}
|
|
254
341
|
|
|
255
|
-
export type
|
|
256
|
-
equals?:
|
|
257
|
-
in?:
|
|
258
|
-
notIn?:
|
|
259
|
-
lt?:
|
|
260
|
-
lte?:
|
|
261
|
-
gt?:
|
|
262
|
-
gte?:
|
|
263
|
-
not?: Prisma.
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
267
|
-
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
|
|
268
|
-
not?: Prisma.NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null
|
|
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
|
|
269
351
|
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
|
270
|
-
_min?: Prisma.
|
|
271
|
-
_max?: Prisma.
|
|
352
|
+
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
353
|
+
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
|
272
354
|
}
|
|
273
355
|
|
|
274
356
|
|