@cerbos/orm-prisma 3.0.1 → 3.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.
Files changed (32) hide show
  1. package/README.md +2 -2
  2. package/package.json +17 -11
  3. package/src/generated/prisma/browser.ts +59 -0
  4. package/src/generated/prisma/client.ts +79 -0
  5. package/src/generated/prisma/commonInputTypes.ts +248 -0
  6. package/src/generated/prisma/enums.ts +15 -0
  7. package/src/generated/prisma/internal/class.ts +260 -0
  8. package/src/generated/prisma/internal/prismaNamespace.ts +1333 -0
  9. package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +168 -0
  10. package/src/generated/prisma/models/Category.ts +1407 -0
  11. package/src/generated/prisma/models/Label.ts +1271 -0
  12. package/src/generated/prisma/models/NestedResource.ts +1557 -0
  13. package/src/generated/prisma/models/NextLevelNestedResource.ts +1332 -0
  14. package/src/generated/prisma/models/Resource.ts +2131 -0
  15. package/src/generated/prisma/models/SubCategory.ts +1407 -0
  16. package/src/generated/prisma/models/Tag.ts +1271 -0
  17. package/src/generated/prisma/models/User.ts +1498 -0
  18. package/src/generated/prisma/models.ts +19 -0
  19. package/src/generated/prisma-v6/client.d.ts +1 -0
  20. package/src/generated/prisma-v6/default.d.ts +1 -0
  21. package/src/generated/prisma-v6/edge.d.ts +1 -0
  22. package/src/generated/prisma-v6/index.d.ts +13639 -0
  23. package/src/generated/prisma-v6/runtime/index-browser.d.ts +370 -0
  24. package/src/generated/prisma-v6/runtime/library.d.ts +3982 -0
  25. package/src/generated/prisma-v6/wasm.d.ts +1 -0
  26. package/src/index.test.ts +1 -2
  27. package/src/test-setup.v6.ts +5 -0
  28. package/src/test-setup.v7.ts +7 -0
  29. package/lib/index.test.d.ts +0 -2
  30. package/lib/index.test.d.ts.map +0 -1
  31. package/lib/index.test.js +0 -4093
  32. package/lib/index.test.js.map +0 -1
package/README.md CHANGED
@@ -31,12 +31,12 @@ An adapter library that takes a [Cerbos](https://cerbos.dev) Query Plan ([PlanRe
31
31
 
32
32
  - Cerbos > v0.40
33
33
  - `@cerbos/http` or `@cerbos/grpc` client
34
- - Prisma > v6.0
34
+ - Prisma >= v6.0 (v7 supported)
35
35
 
36
36
  ## System Requirements
37
37
 
38
38
  - Node.js >= 20.0.
39
- - Prisma CLI & Client >= 6.0
39
+ - Prisma CLI & Client >= 6.0 (v7 supported)
40
40
  - A database supported by Prisma (SQLite/PostgreSQL/MySQL/etc.) so the Prisma client can communicate with stored data
41
41
 
42
42
  ## Installation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerbos/orm-prisma",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "homepage": "https://cerbos.dev",
5
5
  "description": "Prisma adapter for Cerbos query plans",
6
6
  "repository": {
@@ -40,32 +40,38 @@
40
40
  "prepare": "npm run build",
41
41
  "prepublishOnly": "npm test",
42
42
  "version": "git add -A src",
43
- "test": "npx prisma db push --force-reset && cerbos run --log-level=error --set=storage.disk.directory=../policies --set=telemetry.disabled=true -- jest src/**.test.ts",
43
+ "prisma:generate": "bash scripts/generate-clients.sh",
44
+ "test": "npm run test:v7",
45
+ "test:v6": "node node_modules/prisma-v6/build/index.js db push --force-reset --schema=prisma/schema.v6.prisma && PRISMA_VERSION=6 cerbos run --log-level=error --set=storage.disk.directory=../policies --set=telemetry.disabled=true -- jest src/**.test.ts",
46
+ "test:v7": "node node_modules/prisma/build/index.js db push --force-reset && PRISMA_VERSION=7 cerbos run --log-level=error --set=storage.disk.directory=../policies --set=telemetry.disabled=true -- jest src/**.test.ts",
44
47
  "cerbos": "cerbos server --config=./cerbos-config.yaml"
45
48
  },
46
49
  "engines": {
47
50
  "node": ">=20.0.0"
48
51
  },
49
52
  "devDependencies": {
50
- "@prisma/client": "^6.4.1",
53
+ "@jest/globals": "^30.2.0",
54
+ "@prisma/adapter-better-sqlite3": "^7.2.0",
55
+ "@prisma/client": "^7.2.0",
56
+ "@prisma/client-v6": "npm:@prisma/client@^6.0.0",
57
+ "@tsconfig/node24": "^24.0.3",
58
+ "@tsconfig/strictest": "^2.0.8",
51
59
  "@types/jest": "^30.0.0",
52
60
  "@types/node": "^24.0.0",
53
61
  "expect-type": "^1.1.0",
54
- "prisma": "^6.4.1",
62
+ "prisma": "^7.2.0",
63
+ "prisma-v6": "npm:prisma@^6.0.0",
55
64
  "rimraf": "^6.0.0",
56
- "ts-jest": "^29.0.0",
65
+ "ts-jest": "^29.4.6",
57
66
  "ts-node": "^10.4.0",
58
67
  "typescript": "^5.0.0"
59
68
  },
60
69
  "peerDependencies": {
61
- "@prisma/client": "^5.0.0 || ^6.0.0"
70
+ "@prisma/client": "^5.0.0 || ^6.0.0 || ^7.0.0"
62
71
  },
63
72
  "dependencies": {
64
- "@cerbos/core": "^0.25.0",
65
- "@cerbos/grpc": "^0.23.0",
66
- "@tsconfig/node20": "^20.1.7",
67
- "@tsconfig/strictest": "^2.0.8",
68
- "tslib": "^2.8.1"
73
+ "@cerbos/core": "^0.26.0",
74
+ "@cerbos/grpc": "^0.23.0"
69
75
  },
70
76
  "keywords": [
71
77
  "cerbos",
@@ -0,0 +1,59 @@
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 Resource
22
+ *
23
+ */
24
+ export type Resource = Prisma.ResourceModel
25
+ /**
26
+ * Model User
27
+ *
28
+ */
29
+ export type User = Prisma.UserModel
30
+ /**
31
+ * Model NestedResource
32
+ *
33
+ */
34
+ export type NestedResource = Prisma.NestedResourceModel
35
+ /**
36
+ * Model NextLevelNestedResource
37
+ *
38
+ */
39
+ export type NextLevelNestedResource = Prisma.NextLevelNestedResourceModel
40
+ /**
41
+ * Model Tag
42
+ *
43
+ */
44
+ export type Tag = Prisma.TagModel
45
+ /**
46
+ * Model Category
47
+ *
48
+ */
49
+ export type Category = Prisma.CategoryModel
50
+ /**
51
+ * Model SubCategory
52
+ *
53
+ */
54
+ export type SubCategory = Prisma.SubCategoryModel
55
+ /**
56
+ * Model Label
57
+ *
58
+ */
59
+ export type Label = Prisma.LabelModel
@@ -0,0 +1,79 @@
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
+ * // Fetch zero or more Resources
31
+ * const resources = await prisma.resource.findMany()
32
+ * ```
33
+ *
34
+ * Read more in our [docs](https://pris.ly/d/client).
35
+ */
36
+ export const PrismaClient = $Class.getPrismaClientClass()
37
+ 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>
38
+ export { Prisma }
39
+
40
+ /**
41
+ * Model Resource
42
+ *
43
+ */
44
+ export type Resource = Prisma.ResourceModel
45
+ /**
46
+ * Model User
47
+ *
48
+ */
49
+ export type User = Prisma.UserModel
50
+ /**
51
+ * Model NestedResource
52
+ *
53
+ */
54
+ export type NestedResource = Prisma.NestedResourceModel
55
+ /**
56
+ * Model NextLevelNestedResource
57
+ *
58
+ */
59
+ export type NextLevelNestedResource = Prisma.NextLevelNestedResourceModel
60
+ /**
61
+ * Model Tag
62
+ *
63
+ */
64
+ export type Tag = Prisma.TagModel
65
+ /**
66
+ * Model Category
67
+ *
68
+ */
69
+ export type Category = Prisma.CategoryModel
70
+ /**
71
+ * Model SubCategory
72
+ *
73
+ */
74
+ export type SubCategory = Prisma.SubCategoryModel
75
+ /**
76
+ * Model Label
77
+ *
78
+ */
79
+ export type Label = Prisma.LabelModel
@@ -0,0 +1,248 @@
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[]
20
+ notIn?: string[]
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
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string
29
+ }
30
+
31
+ export type IntFilter<$PrismaModel = never> = {
32
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
33
+ in?: number[]
34
+ notIn?: number[]
35
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
36
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
37
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
38
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
39
+ not?: Prisma.NestedIntFilter<$PrismaModel> | number
40
+ }
41
+
42
+ export type BoolFilter<$PrismaModel = never> = {
43
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
44
+ not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
45
+ }
46
+
47
+ export type StringNullableFilter<$PrismaModel = never> = {
48
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
49
+ in?: string[] | null
50
+ notIn?: string[] | null
51
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
52
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
53
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
54
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
55
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
56
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
57
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
58
+ not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
59
+ }
60
+
61
+ export type SortOrderInput = {
62
+ sort: Prisma.SortOrder
63
+ nulls?: Prisma.NullsOrder
64
+ }
65
+
66
+ export type StringWithAggregatesFilter<$PrismaModel = never> = {
67
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
68
+ in?: string[]
69
+ notIn?: string[]
70
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
71
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
72
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
73
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
74
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
75
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
76
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
77
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
78
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
79
+ _min?: Prisma.NestedStringFilter<$PrismaModel>
80
+ _max?: Prisma.NestedStringFilter<$PrismaModel>
81
+ }
82
+
83
+ export type IntWithAggregatesFilter<$PrismaModel = never> = {
84
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
85
+ in?: number[]
86
+ notIn?: number[]
87
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
88
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
89
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
90
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
91
+ not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
92
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
93
+ _avg?: Prisma.NestedFloatFilter<$PrismaModel>
94
+ _sum?: Prisma.NestedIntFilter<$PrismaModel>
95
+ _min?: Prisma.NestedIntFilter<$PrismaModel>
96
+ _max?: Prisma.NestedIntFilter<$PrismaModel>
97
+ }
98
+
99
+ export type BoolWithAggregatesFilter<$PrismaModel = never> = {
100
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
101
+ not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
102
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
103
+ _min?: Prisma.NestedBoolFilter<$PrismaModel>
104
+ _max?: Prisma.NestedBoolFilter<$PrismaModel>
105
+ }
106
+
107
+ export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
108
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
109
+ in?: string[] | null
110
+ notIn?: string[] | null
111
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
112
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
113
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
114
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
115
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
116
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
117
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
118
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
119
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
120
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>
121
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>
122
+ }
123
+
124
+ export type NestedStringFilter<$PrismaModel = never> = {
125
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
126
+ in?: string[]
127
+ notIn?: string[]
128
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
129
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
130
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
131
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
132
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
133
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
134
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
135
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string
136
+ }
137
+
138
+ export type NestedIntFilter<$PrismaModel = never> = {
139
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
140
+ in?: number[]
141
+ notIn?: number[]
142
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
143
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
144
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
145
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
146
+ not?: Prisma.NestedIntFilter<$PrismaModel> | number
147
+ }
148
+
149
+ export type NestedBoolFilter<$PrismaModel = never> = {
150
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
151
+ not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
152
+ }
153
+
154
+ export type NestedStringNullableFilter<$PrismaModel = never> = {
155
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
156
+ in?: string[] | null
157
+ notIn?: string[] | null
158
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
159
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
160
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
161
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
162
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
163
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
164
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
165
+ not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
166
+ }
167
+
168
+ export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
169
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
170
+ in?: string[]
171
+ notIn?: string[]
172
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
173
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
174
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
175
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
176
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
177
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
178
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
179
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
180
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
181
+ _min?: Prisma.NestedStringFilter<$PrismaModel>
182
+ _max?: Prisma.NestedStringFilter<$PrismaModel>
183
+ }
184
+
185
+ export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
186
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
187
+ in?: number[]
188
+ notIn?: number[]
189
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
190
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
191
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
192
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
193
+ not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
194
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
195
+ _avg?: Prisma.NestedFloatFilter<$PrismaModel>
196
+ _sum?: Prisma.NestedIntFilter<$PrismaModel>
197
+ _min?: Prisma.NestedIntFilter<$PrismaModel>
198
+ _max?: Prisma.NestedIntFilter<$PrismaModel>
199
+ }
200
+
201
+ export type NestedFloatFilter<$PrismaModel = never> = {
202
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>
203
+ in?: number[]
204
+ notIn?: number[]
205
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
206
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
207
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
208
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
209
+ not?: Prisma.NestedFloatFilter<$PrismaModel> | number
210
+ }
211
+
212
+ export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
213
+ equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
214
+ not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
215
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
216
+ _min?: Prisma.NestedBoolFilter<$PrismaModel>
217
+ _max?: Prisma.NestedBoolFilter<$PrismaModel>
218
+ }
219
+
220
+ export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
221
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
222
+ in?: string[] | null
223
+ notIn?: string[] | null
224
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
225
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
226
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
227
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
228
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
229
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
230
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
231
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
232
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
233
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>
234
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>
235
+ }
236
+
237
+ export type NestedIntNullableFilter<$PrismaModel = never> = {
238
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
239
+ in?: number[] | null
240
+ notIn?: number[] | null
241
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
242
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
243
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
244
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
245
+ not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
246
+ }
247
+
248
+
@@ -0,0 +1,15 @@
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 all enum related types from the schema.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+
12
+
13
+
14
+ // This file is empty because there are no enums in the schema.
15
+ export {}