@sebbo2002/tgtg-ical 3.0.9 → 3.1.0-develop.2

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.
@@ -0,0 +1,384 @@
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
+ search?: string
29
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string
30
+ }
31
+
32
+ export type DateTimeFilter<$PrismaModel = never> = {
33
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
34
+ in?: Date[] | string[]
35
+ notIn?: Date[] | string[]
36
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
37
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
38
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
39
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
40
+ not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
41
+ }
42
+
43
+ export type StringWithAggregatesFilter<$PrismaModel = never> = {
44
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
45
+ in?: string[]
46
+ notIn?: string[]
47
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
48
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
49
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
50
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
51
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
52
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
53
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
54
+ search?: string
55
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
56
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
57
+ _min?: Prisma.NestedStringFilter<$PrismaModel>
58
+ _max?: Prisma.NestedStringFilter<$PrismaModel>
59
+ }
60
+
61
+ export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
62
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
63
+ in?: Date[] | string[]
64
+ notIn?: Date[] | string[]
65
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
66
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
67
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
68
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
69
+ not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
70
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
71
+ _min?: Prisma.NestedDateTimeFilter<$PrismaModel>
72
+ _max?: Prisma.NestedDateTimeFilter<$PrismaModel>
73
+ }
74
+
75
+ export type IntFilter<$PrismaModel = never> = {
76
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
77
+ in?: number[]
78
+ notIn?: number[]
79
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
80
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
81
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
82
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
83
+ not?: Prisma.NestedIntFilter<$PrismaModel> | number
84
+ }
85
+
86
+ export type DateTimeNullableFilter<$PrismaModel = never> = {
87
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
88
+ in?: Date[] | string[] | null
89
+ notIn?: Date[] | string[] | null
90
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
91
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
92
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
93
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
94
+ not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
95
+ }
96
+
97
+ export type SortOrderInput = {
98
+ sort: Prisma.SortOrder
99
+ nulls?: Prisma.NullsOrder
100
+ }
101
+
102
+ export type IntWithAggregatesFilter<$PrismaModel = never> = {
103
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
104
+ in?: number[]
105
+ notIn?: number[]
106
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
107
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
108
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
109
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
110
+ not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
111
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
112
+ _avg?: Prisma.NestedFloatFilter<$PrismaModel>
113
+ _sum?: Prisma.NestedIntFilter<$PrismaModel>
114
+ _min?: Prisma.NestedIntFilter<$PrismaModel>
115
+ _max?: Prisma.NestedIntFilter<$PrismaModel>
116
+ }
117
+
118
+ export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
119
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
120
+ in?: Date[] | string[] | null
121
+ notIn?: Date[] | string[] | null
122
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
123
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
124
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
125
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
126
+ not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
127
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
128
+ _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
129
+ _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
130
+ }
131
+
132
+ export type FloatNullableFilter<$PrismaModel = never> = {
133
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
134
+ in?: number[] | null
135
+ notIn?: number[] | 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.NestedFloatNullableFilter<$PrismaModel> | number | null
141
+ }
142
+
143
+ export type StringNullableFilter<$PrismaModel = never> = {
144
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
145
+ in?: string[] | null
146
+ notIn?: string[] | null
147
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
148
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
149
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
150
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
151
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
152
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
153
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
154
+ search?: string
155
+ not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
156
+ }
157
+
158
+ export type FloatNullableWithAggregatesFilter<$PrismaModel = never> = {
159
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
160
+ in?: number[] | null
161
+ notIn?: number[] | null
162
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
163
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
164
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
165
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
166
+ not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
167
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
168
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
169
+ _sum?: Prisma.NestedFloatNullableFilter<$PrismaModel>
170
+ _min?: Prisma.NestedFloatNullableFilter<$PrismaModel>
171
+ _max?: Prisma.NestedFloatNullableFilter<$PrismaModel>
172
+ }
173
+
174
+ export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
175
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
176
+ in?: string[] | null
177
+ notIn?: string[] | null
178
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
179
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
180
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
181
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
182
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
183
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
184
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
185
+ search?: string
186
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
187
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
188
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>
189
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>
190
+ }
191
+
192
+ export type NestedStringFilter<$PrismaModel = never> = {
193
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
194
+ in?: string[]
195
+ notIn?: string[]
196
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
197
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
198
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
199
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
200
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
201
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
202
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
203
+ search?: string
204
+ not?: Prisma.NestedStringFilter<$PrismaModel> | string
205
+ }
206
+
207
+ export type NestedDateTimeFilter<$PrismaModel = never> = {
208
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
209
+ in?: Date[] | string[]
210
+ notIn?: Date[] | string[]
211
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
212
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
213
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
214
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
215
+ not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
216
+ }
217
+
218
+ export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
219
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
220
+ in?: string[]
221
+ notIn?: string[]
222
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
223
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
224
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
225
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
226
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
227
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
228
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
229
+ search?: string
230
+ not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
231
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
232
+ _min?: Prisma.NestedStringFilter<$PrismaModel>
233
+ _max?: Prisma.NestedStringFilter<$PrismaModel>
234
+ }
235
+
236
+ export type NestedIntFilter<$PrismaModel = never> = {
237
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
238
+ in?: number[]
239
+ notIn?: number[]
240
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
241
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
242
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
243
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
244
+ not?: Prisma.NestedIntFilter<$PrismaModel> | number
245
+ }
246
+
247
+ export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
248
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
249
+ in?: Date[] | string[]
250
+ notIn?: Date[] | string[]
251
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
252
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
253
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
254
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
255
+ not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
256
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
257
+ _min?: Prisma.NestedDateTimeFilter<$PrismaModel>
258
+ _max?: Prisma.NestedDateTimeFilter<$PrismaModel>
259
+ }
260
+
261
+ export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
262
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
263
+ in?: Date[] | string[] | null
264
+ notIn?: Date[] | string[] | null
265
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
266
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
267
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
268
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
269
+ not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
270
+ }
271
+
272
+ export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
273
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
274
+ in?: number[]
275
+ notIn?: number[]
276
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
277
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
278
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
279
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
280
+ not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
281
+ _count?: Prisma.NestedIntFilter<$PrismaModel>
282
+ _avg?: Prisma.NestedFloatFilter<$PrismaModel>
283
+ _sum?: Prisma.NestedIntFilter<$PrismaModel>
284
+ _min?: Prisma.NestedIntFilter<$PrismaModel>
285
+ _max?: Prisma.NestedIntFilter<$PrismaModel>
286
+ }
287
+
288
+ export type NestedFloatFilter<$PrismaModel = never> = {
289
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>
290
+ in?: number[]
291
+ notIn?: number[]
292
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
293
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
294
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
295
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
296
+ not?: Prisma.NestedFloatFilter<$PrismaModel> | number
297
+ }
298
+
299
+ export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
300
+ equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
301
+ in?: Date[] | string[] | null
302
+ notIn?: Date[] | string[] | null
303
+ lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
304
+ lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
305
+ gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
306
+ gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
307
+ not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
308
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
309
+ _min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
310
+ _max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
311
+ }
312
+
313
+ export type NestedIntNullableFilter<$PrismaModel = never> = {
314
+ equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
315
+ in?: number[] | null
316
+ notIn?: number[] | null
317
+ lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
318
+ lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
319
+ gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
320
+ gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
321
+ not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
322
+ }
323
+
324
+ export type NestedFloatNullableFilter<$PrismaModel = never> = {
325
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
326
+ in?: number[] | null
327
+ notIn?: number[] | null
328
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
329
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
330
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
331
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
332
+ not?: Prisma.NestedFloatNullableFilter<$PrismaModel> | number | null
333
+ }
334
+
335
+ export type NestedStringNullableFilter<$PrismaModel = never> = {
336
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
337
+ in?: string[] | null
338
+ notIn?: string[] | null
339
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
340
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
341
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
342
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
343
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
344
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
345
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
346
+ search?: string
347
+ not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
348
+ }
349
+
350
+ export type NestedFloatNullableWithAggregatesFilter<$PrismaModel = never> = {
351
+ equals?: number | Prisma.FloatFieldRefInput<$PrismaModel> | null
352
+ in?: number[] | null
353
+ notIn?: number[] | null
354
+ lt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
355
+ lte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
356
+ gt?: number | Prisma.FloatFieldRefInput<$PrismaModel>
357
+ gte?: number | Prisma.FloatFieldRefInput<$PrismaModel>
358
+ not?: Prisma.NestedFloatNullableWithAggregatesFilter<$PrismaModel> | number | null
359
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
360
+ _avg?: Prisma.NestedFloatNullableFilter<$PrismaModel>
361
+ _sum?: Prisma.NestedFloatNullableFilter<$PrismaModel>
362
+ _min?: Prisma.NestedFloatNullableFilter<$PrismaModel>
363
+ _max?: Prisma.NestedFloatNullableFilter<$PrismaModel>
364
+ }
365
+
366
+ export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
367
+ equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
368
+ in?: string[] | null
369
+ notIn?: string[] | null
370
+ lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
371
+ lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
372
+ gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
373
+ gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
374
+ contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
375
+ startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
376
+ endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
377
+ search?: string
378
+ not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
379
+ _count?: Prisma.NestedIntNullableFilter<$PrismaModel>
380
+ _min?: Prisma.NestedStringNullableFilter<$PrismaModel>
381
+ _max?: Prisma.NestedStringNullableFilter<$PrismaModel>
382
+ }
383
+
384
+
@@ -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 {}
@@ -0,0 +1,220 @@
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
+ * WARNING: This is an internal file that is subject to change!
8
+ *
9
+ * 🛑 Under no circumstances should you import this file directly! 🛑
10
+ *
11
+ * Please import the `PrismaClient` class from the `client.ts` file instead.
12
+ */
13
+
14
+ import * as runtime from "@prisma/client/runtime/client"
15
+ import type * as Prisma from "./prismaNamespace.js"
16
+
17
+
18
+ const config: runtime.GetPrismaClientConfig = {
19
+ "previewFeatures": [],
20
+ "clientVersion": "7.1.0",
21
+ "engineVersion": "ab635e6b9d606fa5c8fb8b1a7f909c3c3c1c98ba",
22
+ "activeProvider": "mysql",
23
+ "inlineSchema": "// This is your Prisma schema file,\n// learn more about it in the docs: https://pris.ly/d/prisma-schema\n\ngenerator client {\n provider = \"prisma-client\"\n output = \"./prisma\"\n importFileExtension = \"js\"\n}\n\ndatasource db {\n provider = \"mysql\"\n}\n\nmodel User {\n id String @id @default(uuid())\n prefix String @unique\n createdAt DateTime @default(now())\n lastSeenAt DateTime @default(now())\n event Event[]\n}\n\nmodel Event {\n id String @id @default(uuid())\n orderId String @unique\n from DateTime\n to DateTime\n amount Int\n price Int\n user User @relation(fields: [userId], references: [id])\n userId String\n location Location @relation(fields: [locationId], references: [id])\n locationId String\n createdAt DateTime @default(now())\n orderedAt DateTime\n invoicedAt DateTime?\n canceledAt DateTime?\n}\n\nmodel Location {\n id String @id @default(uuid())\n name String\n address String\n latitude Float?\n longitude Float?\n emoji String? @db.VarChar(16)\n createdAt DateTime @default(now())\n event Event[]\n}\n\nmodel Mail {\n id String @id @default(uuid())\n raw String @db.MediumText\n error String? @db.MediumText\n errorId String?\n version String?\n createdAt DateTime @default(now())\n erroredAt DateTime?\n}\n",
24
+ "runtimeDataModel": {
25
+ "models": {},
26
+ "enums": {},
27
+ "types": {}
28
+ }
29
+ }
30
+
31
+ config.runtimeDataModel = JSON.parse("{\"models\":{\"User\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"prefix\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"lastSeenAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"event\",\"kind\":\"object\",\"type\":\"Event\",\"relationName\":\"EventToUser\"}],\"dbName\":null},\"Event\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"orderId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"from\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"to\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"amount\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"price\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"user\",\"kind\":\"object\",\"type\":\"User\",\"relationName\":\"EventToUser\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"location\",\"kind\":\"object\",\"type\":\"Location\",\"relationName\":\"EventToLocation\"},{\"name\":\"locationId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"orderedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"invoicedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"canceledAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null},\"Location\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"address\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"latitude\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"longitude\",\"kind\":\"scalar\",\"type\":\"Float\"},{\"name\":\"emoji\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"event\",\"kind\":\"object\",\"type\":\"Event\",\"relationName\":\"EventToLocation\"}],\"dbName\":null},\"Mail\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"raw\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"error\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"errorId\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"version\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"},{\"name\":\"erroredAt\",\"kind\":\"scalar\",\"type\":\"DateTime\"}],\"dbName\":null}},\"enums\":{},\"types\":{}}")
32
+
33
+ async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
34
+ const { Buffer } = await import('node:buffer')
35
+ const wasmArray = Buffer.from(wasmBase64, 'base64')
36
+ return new WebAssembly.Module(wasmArray)
37
+ }
38
+
39
+ config.compilerWasm = {
40
+ getRuntime: async () => await import("@prisma/client/runtime/query_compiler_bg.mysql.mjs"),
41
+
42
+ getQueryCompilerWasmModule: async () => {
43
+ const { wasm } = await import("@prisma/client/runtime/query_compiler_bg.mysql.wasm-base64.mjs")
44
+ return await decodeBase64AsWasm(wasm)
45
+ }
46
+ }
47
+
48
+
49
+
50
+ export type LogOptions<ClientOptions extends Prisma.PrismaClientOptions> =
51
+ 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never
52
+
53
+ export interface PrismaClientConstructor {
54
+ /**
55
+ * ## Prisma Client
56
+ *
57
+ * Type-safe database client for TypeScript
58
+ * @example
59
+ * ```
60
+ * const prisma = new PrismaClient()
61
+ * // Fetch zero or more Users
62
+ * const users = await prisma.user.findMany()
63
+ * ```
64
+ *
65
+ * Read more in our [docs](https://pris.ly/d/client).
66
+ */
67
+
68
+ new <
69
+ Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions,
70
+ LogOpts extends LogOptions<Options> = LogOptions<Options>,
71
+ OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends { omit: infer U } ? U : Prisma.PrismaClientOptions['omit'],
72
+ ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs
73
+ >(options: Prisma.Subset<Options, Prisma.PrismaClientOptions> ): PrismaClient<LogOpts, OmitOpts, ExtArgs>
74
+ }
75
+
76
+ /**
77
+ * ## Prisma Client
78
+ *
79
+ * Type-safe database client for TypeScript
80
+ * @example
81
+ * ```
82
+ * const prisma = new PrismaClient()
83
+ * // Fetch zero or more Users
84
+ * const users = await prisma.user.findMany()
85
+ * ```
86
+ *
87
+ * Read more in our [docs](https://pris.ly/d/client).
88
+ */
89
+
90
+ export interface PrismaClient<
91
+ in LogOpts extends Prisma.LogLevel = never,
92
+ in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined,
93
+ in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs
94
+ > {
95
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
96
+
97
+ $on<V extends LogOpts>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
98
+
99
+ /**
100
+ * Connect with the database
101
+ */
102
+ $connect(): runtime.Types.Utils.JsPromise<void>;
103
+
104
+ /**
105
+ * Disconnect from the database
106
+ */
107
+ $disconnect(): runtime.Types.Utils.JsPromise<void>;
108
+
109
+ /**
110
+ * Executes a prepared raw query and returns the number of affected rows.
111
+ * @example
112
+ * ```
113
+ * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
114
+ * ```
115
+ *
116
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
117
+ */
118
+ $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
119
+
120
+ /**
121
+ * Executes a raw query and returns the number of affected rows.
122
+ * Susceptible to SQL injections, see documentation.
123
+ * @example
124
+ * ```
125
+ * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
126
+ * ```
127
+ *
128
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
129
+ */
130
+ $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
131
+
132
+ /**
133
+ * Performs a prepared raw query and returns the `SELECT` data.
134
+ * @example
135
+ * ```
136
+ * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
137
+ * ```
138
+ *
139
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
140
+ */
141
+ $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
142
+
143
+ /**
144
+ * Performs a raw query and returns the `SELECT` data.
145
+ * Susceptible to SQL injections, see documentation.
146
+ * @example
147
+ * ```
148
+ * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
149
+ * ```
150
+ *
151
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
152
+ */
153
+ $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
154
+
155
+
156
+ /**
157
+ * Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
158
+ * @example
159
+ * ```
160
+ * const [george, bob, alice] = await prisma.$transaction([
161
+ * prisma.user.create({ data: { name: 'George' } }),
162
+ * prisma.user.create({ data: { name: 'Bob' } }),
163
+ * prisma.user.create({ data: { name: 'Alice' } }),
164
+ * ])
165
+ * ```
166
+ *
167
+ * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
168
+ */
169
+ $transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
170
+
171
+ $transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => runtime.Types.Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): runtime.Types.Utils.JsPromise<R>
172
+
173
+ $extends: runtime.Types.Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<OmitOpts>, ExtArgs, runtime.Types.Utils.Call<Prisma.TypeMapCb<OmitOpts>, {
174
+ extArgs: ExtArgs
175
+ }>>
176
+
177
+ /**
178
+ * `prisma.user`: Exposes CRUD operations for the **User** model.
179
+ * Example usage:
180
+ * ```ts
181
+ * // Fetch zero or more Users
182
+ * const users = await prisma.user.findMany()
183
+ * ```
184
+ */
185
+ get user(): Prisma.UserDelegate<ExtArgs, { omit: OmitOpts }>;
186
+
187
+ /**
188
+ * `prisma.event`: Exposes CRUD operations for the **Event** model.
189
+ * Example usage:
190
+ * ```ts
191
+ * // Fetch zero or more Events
192
+ * const events = await prisma.event.findMany()
193
+ * ```
194
+ */
195
+ get event(): Prisma.EventDelegate<ExtArgs, { omit: OmitOpts }>;
196
+
197
+ /**
198
+ * `prisma.location`: Exposes CRUD operations for the **Location** model.
199
+ * Example usage:
200
+ * ```ts
201
+ * // Fetch zero or more Locations
202
+ * const locations = await prisma.location.findMany()
203
+ * ```
204
+ */
205
+ get location(): Prisma.LocationDelegate<ExtArgs, { omit: OmitOpts }>;
206
+
207
+ /**
208
+ * `prisma.mail`: Exposes CRUD operations for the **Mail** model.
209
+ * Example usage:
210
+ * ```ts
211
+ * // Fetch zero or more Mail
212
+ * const mail = await prisma.mail.findMany()
213
+ * ```
214
+ */
215
+ get mail(): Prisma.MailDelegate<ExtArgs, { omit: OmitOpts }>;
216
+ }
217
+
218
+ export function getPrismaClientClass(): PrismaClientConstructor {
219
+ return runtime.getPrismaClient(config) as unknown as PrismaClientConstructor
220
+ }