@actuate-media/cms-core 0.90.1 → 0.91.1

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 (94) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/dist/actions.d.ts +31 -1
  3. package/dist/actions.d.ts.map +1 -1
  4. package/dist/actions.js +76 -21
  5. package/dist/actions.js.map +1 -1
  6. package/dist/api/route-helpers.d.ts +5 -1
  7. package/dist/api/route-helpers.d.ts.map +1 -1
  8. package/dist/api/route-helpers.js +13 -2
  9. package/dist/api/route-helpers.js.map +1 -1
  10. package/dist/api/routes/auth.d.ts.map +1 -1
  11. package/dist/api/routes/auth.js +13 -7
  12. package/dist/api/routes/auth.js.map +1 -1
  13. package/dist/api/routes/documents.d.ts.map +1 -1
  14. package/dist/api/routes/documents.js +4 -1
  15. package/dist/api/routes/documents.js.map +1 -1
  16. package/dist/api/routes/media.d.ts.map +1 -1
  17. package/dist/api/routes/media.js +10 -0
  18. package/dist/api/routes/media.js.map +1 -1
  19. package/dist/api/routes/url-resolution.d.ts.map +1 -1
  20. package/dist/api/routes/url-resolution.js +4 -1
  21. package/dist/api/routes/url-resolution.js.map +1 -1
  22. package/dist/config/index.d.ts +16 -0
  23. package/dist/config/index.d.ts.map +1 -1
  24. package/dist/config/index.js +59 -2
  25. package/dist/config/index.js.map +1 -1
  26. package/dist/config/runtime.d.ts +8 -0
  27. package/dist/config/runtime.d.ts.map +1 -1
  28. package/dist/config/runtime.js.map +1 -1
  29. package/dist/config/types.d.ts +35 -4
  30. package/dist/config/types.d.ts.map +1 -1
  31. package/dist/index.d.ts +3 -1
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +1 -0
  34. package/dist/index.js.map +1 -1
  35. package/dist/media/usage-sync.d.ts +37 -0
  36. package/dist/media/usage-sync.d.ts.map +1 -0
  37. package/dist/media/usage-sync.js +234 -0
  38. package/dist/media/usage-sync.js.map +1 -0
  39. package/dist/realtime/comments.d.ts +1 -1
  40. package/dist/realtime/comments.js +1 -1
  41. package/dist/realtime/notifications.d.ts +1 -1
  42. package/dist/realtime/notifications.js +1 -1
  43. package/dist/realtime/persistence.d.ts +1 -1
  44. package/dist/search/index.d.ts.map +1 -1
  45. package/dist/search/index.js +58 -35
  46. package/dist/search/index.js.map +1 -1
  47. package/dist/security/client-ip.d.ts.map +1 -1
  48. package/dist/security/client-ip.js +17 -0
  49. package/dist/security/client-ip.js.map +1 -1
  50. package/generated/browser.ts +229 -0
  51. package/generated/client.ts +253 -0
  52. package/generated/commonInputTypes.ts +1024 -0
  53. package/generated/enums.ts +211 -0
  54. package/generated/internal/class.ts +547 -0
  55. package/generated/internal/prismaNamespace.ts +4596 -0
  56. package/generated/internal/prismaNamespaceBrowser.ts +1188 -0
  57. package/generated/models/AiCrawlerHit.ts +1275 -0
  58. package/generated/models/ApiKey.ts +1559 -0
  59. package/generated/models/ApiRequestMetric.ts +1390 -0
  60. package/generated/models/AuditLog.ts +1215 -0
  61. package/generated/models/BackupRecord.ts +1259 -0
  62. package/generated/models/ContentIssue.ts +1496 -0
  63. package/generated/models/ContentLock.ts +1481 -0
  64. package/generated/models/ContentTemplate.ts +1425 -0
  65. package/generated/models/Document.ts +3486 -0
  66. package/generated/models/Folder.ts +1905 -0
  67. package/generated/models/FormSchemaVersion.ts +1265 -0
  68. package/generated/models/FormSubmission.ts +2105 -0
  69. package/generated/models/FormSubmissionFile.ts +1615 -0
  70. package/generated/models/FormWebhook.ts +1371 -0
  71. package/generated/models/InAppNotification.ts +1466 -0
  72. package/generated/models/Invite.ts +1393 -0
  73. package/generated/models/Media.ts +2887 -0
  74. package/generated/models/MediaUsage.ts +1488 -0
  75. package/generated/models/OAuthAccount.ts +1472 -0
  76. package/generated/models/PageTemplate.ts +1271 -0
  77. package/generated/models/PasswordResetToken.ts +1396 -0
  78. package/generated/models/Redirect.ts +1501 -0
  79. package/generated/models/Redirect404Hit.ts +1266 -0
  80. package/generated/models/RedirectSuggestion.ts +1344 -0
  81. package/generated/models/SavedSection.ts +1315 -0
  82. package/generated/models/ScriptTag.ts +1453 -0
  83. package/generated/models/SeoAuditRun.ts +1745 -0
  84. package/generated/models/SeoIssue.ts +2047 -0
  85. package/generated/models/Session.ts +1501 -0
  86. package/generated/models/Site.ts +1215 -0
  87. package/generated/models/User.ts +4558 -0
  88. package/generated/models/Version.ts +1520 -0
  89. package/generated/models/WebhookDeliveryLog.ts +1656 -0
  90. package/generated/models/WebhookEndpoint.ts +1433 -0
  91. package/generated/models/WorkflowState.ts +1523 -0
  92. package/generated/models.ts +46 -0
  93. package/package.json +5 -3
  94. package/{prisma → schema-fragments}/cms-schema.prisma +15 -2
@@ -0,0 +1,1501 @@
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 the `Redirect` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums.js"
13
+ import type * as Prisma from "../internal/prismaNamespace.js"
14
+
15
+ /**
16
+ * Model Redirect
17
+ *
18
+ */
19
+ export type RedirectModel = runtime.Types.Result.DefaultSelection<Prisma.$RedirectPayload>
20
+
21
+ export type AggregateRedirect = {
22
+ _count: RedirectCountAggregateOutputType | null
23
+ _avg: RedirectAvgAggregateOutputType | null
24
+ _sum: RedirectSumAggregateOutputType | null
25
+ _min: RedirectMinAggregateOutputType | null
26
+ _max: RedirectMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type RedirectAvgAggregateOutputType = {
30
+ statusCode: number | null
31
+ priority: number | null
32
+ hits: number | null
33
+ }
34
+
35
+ export type RedirectSumAggregateOutputType = {
36
+ statusCode: number | null
37
+ priority: number | null
38
+ hits: number | null
39
+ }
40
+
41
+ export type RedirectMinAggregateOutputType = {
42
+ id: string | null
43
+ source: string | null
44
+ destination: string | null
45
+ statusCode: number | null
46
+ isRegex: boolean | null
47
+ notes: string | null
48
+ enabled: boolean | null
49
+ priority: number | null
50
+ preserveQuery: boolean | null
51
+ source_kind: string | null
52
+ hits: number | null
53
+ lastHitAt: Date | null
54
+ createdById: string | null
55
+ createdAt: Date | null
56
+ updatedAt: Date | null
57
+ }
58
+
59
+ export type RedirectMaxAggregateOutputType = {
60
+ id: string | null
61
+ source: string | null
62
+ destination: string | null
63
+ statusCode: number | null
64
+ isRegex: boolean | null
65
+ notes: string | null
66
+ enabled: boolean | null
67
+ priority: number | null
68
+ preserveQuery: boolean | null
69
+ source_kind: string | null
70
+ hits: number | null
71
+ lastHitAt: Date | null
72
+ createdById: string | null
73
+ createdAt: Date | null
74
+ updatedAt: Date | null
75
+ }
76
+
77
+ export type RedirectCountAggregateOutputType = {
78
+ id: number
79
+ source: number
80
+ destination: number
81
+ statusCode: number
82
+ isRegex: number
83
+ notes: number
84
+ enabled: number
85
+ priority: number
86
+ preserveQuery: number
87
+ source_kind: number
88
+ hits: number
89
+ lastHitAt: number
90
+ createdById: number
91
+ createdAt: number
92
+ updatedAt: number
93
+ _all: number
94
+ }
95
+
96
+
97
+ export type RedirectAvgAggregateInputType = {
98
+ statusCode?: true
99
+ priority?: true
100
+ hits?: true
101
+ }
102
+
103
+ export type RedirectSumAggregateInputType = {
104
+ statusCode?: true
105
+ priority?: true
106
+ hits?: true
107
+ }
108
+
109
+ export type RedirectMinAggregateInputType = {
110
+ id?: true
111
+ source?: true
112
+ destination?: true
113
+ statusCode?: true
114
+ isRegex?: true
115
+ notes?: true
116
+ enabled?: true
117
+ priority?: true
118
+ preserveQuery?: true
119
+ source_kind?: true
120
+ hits?: true
121
+ lastHitAt?: true
122
+ createdById?: true
123
+ createdAt?: true
124
+ updatedAt?: true
125
+ }
126
+
127
+ export type RedirectMaxAggregateInputType = {
128
+ id?: true
129
+ source?: true
130
+ destination?: true
131
+ statusCode?: true
132
+ isRegex?: true
133
+ notes?: true
134
+ enabled?: true
135
+ priority?: true
136
+ preserveQuery?: true
137
+ source_kind?: true
138
+ hits?: true
139
+ lastHitAt?: true
140
+ createdById?: true
141
+ createdAt?: true
142
+ updatedAt?: true
143
+ }
144
+
145
+ export type RedirectCountAggregateInputType = {
146
+ id?: true
147
+ source?: true
148
+ destination?: true
149
+ statusCode?: true
150
+ isRegex?: true
151
+ notes?: true
152
+ enabled?: true
153
+ priority?: true
154
+ preserveQuery?: true
155
+ source_kind?: true
156
+ hits?: true
157
+ lastHitAt?: true
158
+ createdById?: true
159
+ createdAt?: true
160
+ updatedAt?: true
161
+ _all?: true
162
+ }
163
+
164
+ export type RedirectAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
165
+ /**
166
+ * Filter which Redirect to aggregate.
167
+ */
168
+ where?: Prisma.RedirectWhereInput
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
171
+ *
172
+ * Determine the order of Redirects to fetch.
173
+ */
174
+ orderBy?: Prisma.RedirectOrderByWithRelationInput | Prisma.RedirectOrderByWithRelationInput[]
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
177
+ *
178
+ * Sets the start position
179
+ */
180
+ cursor?: Prisma.RedirectWhereUniqueInput
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
183
+ *
184
+ * Take `±n` Redirects from the position of the cursor.
185
+ */
186
+ take?: number
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
189
+ *
190
+ * Skip the first `n` Redirects.
191
+ */
192
+ skip?: number
193
+ /**
194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
+ *
196
+ * Count returned Redirects
197
+ **/
198
+ _count?: true | RedirectCountAggregateInputType
199
+ /**
200
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
201
+ *
202
+ * Select which fields to average
203
+ **/
204
+ _avg?: RedirectAvgAggregateInputType
205
+ /**
206
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
207
+ *
208
+ * Select which fields to sum
209
+ **/
210
+ _sum?: RedirectSumAggregateInputType
211
+ /**
212
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
213
+ *
214
+ * Select which fields to find the minimum value
215
+ **/
216
+ _min?: RedirectMinAggregateInputType
217
+ /**
218
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
219
+ *
220
+ * Select which fields to find the maximum value
221
+ **/
222
+ _max?: RedirectMaxAggregateInputType
223
+ }
224
+
225
+ export type GetRedirectAggregateType<T extends RedirectAggregateArgs> = {
226
+ [P in keyof T & keyof AggregateRedirect]: P extends '_count' | 'count'
227
+ ? T[P] extends true
228
+ ? number
229
+ : Prisma.GetScalarType<T[P], AggregateRedirect[P]>
230
+ : Prisma.GetScalarType<T[P], AggregateRedirect[P]>
231
+ }
232
+
233
+
234
+
235
+
236
+ export type RedirectGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
237
+ where?: Prisma.RedirectWhereInput
238
+ orderBy?: Prisma.RedirectOrderByWithAggregationInput | Prisma.RedirectOrderByWithAggregationInput[]
239
+ by: Prisma.RedirectScalarFieldEnum[] | Prisma.RedirectScalarFieldEnum
240
+ having?: Prisma.RedirectScalarWhereWithAggregatesInput
241
+ take?: number
242
+ skip?: number
243
+ _count?: RedirectCountAggregateInputType | true
244
+ _avg?: RedirectAvgAggregateInputType
245
+ _sum?: RedirectSumAggregateInputType
246
+ _min?: RedirectMinAggregateInputType
247
+ _max?: RedirectMaxAggregateInputType
248
+ }
249
+
250
+ export type RedirectGroupByOutputType = {
251
+ id: string
252
+ source: string
253
+ destination: string
254
+ statusCode: number
255
+ isRegex: boolean
256
+ notes: string | null
257
+ enabled: boolean
258
+ priority: number
259
+ preserveQuery: boolean
260
+ source_kind: string
261
+ hits: number
262
+ lastHitAt: Date | null
263
+ createdById: string | null
264
+ createdAt: Date
265
+ updatedAt: Date
266
+ _count: RedirectCountAggregateOutputType | null
267
+ _avg: RedirectAvgAggregateOutputType | null
268
+ _sum: RedirectSumAggregateOutputType | null
269
+ _min: RedirectMinAggregateOutputType | null
270
+ _max: RedirectMaxAggregateOutputType | null
271
+ }
272
+
273
+ export type GetRedirectGroupByPayload<T extends RedirectGroupByArgs> = Prisma.PrismaPromise<
274
+ Array<
275
+ Prisma.PickEnumerable<RedirectGroupByOutputType, T['by']> &
276
+ {
277
+ [P in ((keyof T) & (keyof RedirectGroupByOutputType))]: P extends '_count'
278
+ ? T[P] extends boolean
279
+ ? number
280
+ : Prisma.GetScalarType<T[P], RedirectGroupByOutputType[P]>
281
+ : Prisma.GetScalarType<T[P], RedirectGroupByOutputType[P]>
282
+ }
283
+ >
284
+ >
285
+
286
+
287
+
288
+ export type RedirectWhereInput = {
289
+ AND?: Prisma.RedirectWhereInput | Prisma.RedirectWhereInput[]
290
+ OR?: Prisma.RedirectWhereInput[]
291
+ NOT?: Prisma.RedirectWhereInput | Prisma.RedirectWhereInput[]
292
+ id?: Prisma.StringFilter<"Redirect"> | string
293
+ source?: Prisma.StringFilter<"Redirect"> | string
294
+ destination?: Prisma.StringFilter<"Redirect"> | string
295
+ statusCode?: Prisma.IntFilter<"Redirect"> | number
296
+ isRegex?: Prisma.BoolFilter<"Redirect"> | boolean
297
+ notes?: Prisma.StringNullableFilter<"Redirect"> | string | null
298
+ enabled?: Prisma.BoolFilter<"Redirect"> | boolean
299
+ priority?: Prisma.IntFilter<"Redirect"> | number
300
+ preserveQuery?: Prisma.BoolFilter<"Redirect"> | boolean
301
+ source_kind?: Prisma.StringFilter<"Redirect"> | string
302
+ hits?: Prisma.IntFilter<"Redirect"> | number
303
+ lastHitAt?: Prisma.DateTimeNullableFilter<"Redirect"> | Date | string | null
304
+ createdById?: Prisma.StringNullableFilter<"Redirect"> | string | null
305
+ createdAt?: Prisma.DateTimeFilter<"Redirect"> | Date | string
306
+ updatedAt?: Prisma.DateTimeFilter<"Redirect"> | Date | string
307
+ }
308
+
309
+ export type RedirectOrderByWithRelationInput = {
310
+ id?: Prisma.SortOrder
311
+ source?: Prisma.SortOrder
312
+ destination?: Prisma.SortOrder
313
+ statusCode?: Prisma.SortOrder
314
+ isRegex?: Prisma.SortOrder
315
+ notes?: Prisma.SortOrderInput | Prisma.SortOrder
316
+ enabled?: Prisma.SortOrder
317
+ priority?: Prisma.SortOrder
318
+ preserveQuery?: Prisma.SortOrder
319
+ source_kind?: Prisma.SortOrder
320
+ hits?: Prisma.SortOrder
321
+ lastHitAt?: Prisma.SortOrderInput | Prisma.SortOrder
322
+ createdById?: Prisma.SortOrderInput | Prisma.SortOrder
323
+ createdAt?: Prisma.SortOrder
324
+ updatedAt?: Prisma.SortOrder
325
+ _relevance?: Prisma.RedirectOrderByRelevanceInput
326
+ }
327
+
328
+ export type RedirectWhereUniqueInput = Prisma.AtLeast<{
329
+ id?: string
330
+ source?: string
331
+ AND?: Prisma.RedirectWhereInput | Prisma.RedirectWhereInput[]
332
+ OR?: Prisma.RedirectWhereInput[]
333
+ NOT?: Prisma.RedirectWhereInput | Prisma.RedirectWhereInput[]
334
+ destination?: Prisma.StringFilter<"Redirect"> | string
335
+ statusCode?: Prisma.IntFilter<"Redirect"> | number
336
+ isRegex?: Prisma.BoolFilter<"Redirect"> | boolean
337
+ notes?: Prisma.StringNullableFilter<"Redirect"> | string | null
338
+ enabled?: Prisma.BoolFilter<"Redirect"> | boolean
339
+ priority?: Prisma.IntFilter<"Redirect"> | number
340
+ preserveQuery?: Prisma.BoolFilter<"Redirect"> | boolean
341
+ source_kind?: Prisma.StringFilter<"Redirect"> | string
342
+ hits?: Prisma.IntFilter<"Redirect"> | number
343
+ lastHitAt?: Prisma.DateTimeNullableFilter<"Redirect"> | Date | string | null
344
+ createdById?: Prisma.StringNullableFilter<"Redirect"> | string | null
345
+ createdAt?: Prisma.DateTimeFilter<"Redirect"> | Date | string
346
+ updatedAt?: Prisma.DateTimeFilter<"Redirect"> | Date | string
347
+ }, "id" | "source">
348
+
349
+ export type RedirectOrderByWithAggregationInput = {
350
+ id?: Prisma.SortOrder
351
+ source?: Prisma.SortOrder
352
+ destination?: Prisma.SortOrder
353
+ statusCode?: Prisma.SortOrder
354
+ isRegex?: Prisma.SortOrder
355
+ notes?: Prisma.SortOrderInput | Prisma.SortOrder
356
+ enabled?: Prisma.SortOrder
357
+ priority?: Prisma.SortOrder
358
+ preserveQuery?: Prisma.SortOrder
359
+ source_kind?: Prisma.SortOrder
360
+ hits?: Prisma.SortOrder
361
+ lastHitAt?: Prisma.SortOrderInput | Prisma.SortOrder
362
+ createdById?: Prisma.SortOrderInput | Prisma.SortOrder
363
+ createdAt?: Prisma.SortOrder
364
+ updatedAt?: Prisma.SortOrder
365
+ _count?: Prisma.RedirectCountOrderByAggregateInput
366
+ _avg?: Prisma.RedirectAvgOrderByAggregateInput
367
+ _max?: Prisma.RedirectMaxOrderByAggregateInput
368
+ _min?: Prisma.RedirectMinOrderByAggregateInput
369
+ _sum?: Prisma.RedirectSumOrderByAggregateInput
370
+ }
371
+
372
+ export type RedirectScalarWhereWithAggregatesInput = {
373
+ AND?: Prisma.RedirectScalarWhereWithAggregatesInput | Prisma.RedirectScalarWhereWithAggregatesInput[]
374
+ OR?: Prisma.RedirectScalarWhereWithAggregatesInput[]
375
+ NOT?: Prisma.RedirectScalarWhereWithAggregatesInput | Prisma.RedirectScalarWhereWithAggregatesInput[]
376
+ id?: Prisma.StringWithAggregatesFilter<"Redirect"> | string
377
+ source?: Prisma.StringWithAggregatesFilter<"Redirect"> | string
378
+ destination?: Prisma.StringWithAggregatesFilter<"Redirect"> | string
379
+ statusCode?: Prisma.IntWithAggregatesFilter<"Redirect"> | number
380
+ isRegex?: Prisma.BoolWithAggregatesFilter<"Redirect"> | boolean
381
+ notes?: Prisma.StringNullableWithAggregatesFilter<"Redirect"> | string | null
382
+ enabled?: Prisma.BoolWithAggregatesFilter<"Redirect"> | boolean
383
+ priority?: Prisma.IntWithAggregatesFilter<"Redirect"> | number
384
+ preserveQuery?: Prisma.BoolWithAggregatesFilter<"Redirect"> | boolean
385
+ source_kind?: Prisma.StringWithAggregatesFilter<"Redirect"> | string
386
+ hits?: Prisma.IntWithAggregatesFilter<"Redirect"> | number
387
+ lastHitAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Redirect"> | Date | string | null
388
+ createdById?: Prisma.StringNullableWithAggregatesFilter<"Redirect"> | string | null
389
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Redirect"> | Date | string
390
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Redirect"> | Date | string
391
+ }
392
+
393
+ export type RedirectCreateInput = {
394
+ id?: string
395
+ source: string
396
+ destination: string
397
+ statusCode?: number
398
+ isRegex?: boolean
399
+ notes?: string | null
400
+ enabled?: boolean
401
+ priority?: number
402
+ preserveQuery?: boolean
403
+ source_kind?: string
404
+ hits?: number
405
+ lastHitAt?: Date | string | null
406
+ createdById?: string | null
407
+ createdAt?: Date | string
408
+ updatedAt?: Date | string
409
+ }
410
+
411
+ export type RedirectUncheckedCreateInput = {
412
+ id?: string
413
+ source: string
414
+ destination: string
415
+ statusCode?: number
416
+ isRegex?: boolean
417
+ notes?: string | null
418
+ enabled?: boolean
419
+ priority?: number
420
+ preserveQuery?: boolean
421
+ source_kind?: string
422
+ hits?: number
423
+ lastHitAt?: Date | string | null
424
+ createdById?: string | null
425
+ createdAt?: Date | string
426
+ updatedAt?: Date | string
427
+ }
428
+
429
+ export type RedirectUpdateInput = {
430
+ id?: Prisma.StringFieldUpdateOperationsInput | string
431
+ source?: Prisma.StringFieldUpdateOperationsInput | string
432
+ destination?: Prisma.StringFieldUpdateOperationsInput | string
433
+ statusCode?: Prisma.IntFieldUpdateOperationsInput | number
434
+ isRegex?: Prisma.BoolFieldUpdateOperationsInput | boolean
435
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
436
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
437
+ priority?: Prisma.IntFieldUpdateOperationsInput | number
438
+ preserveQuery?: Prisma.BoolFieldUpdateOperationsInput | boolean
439
+ source_kind?: Prisma.StringFieldUpdateOperationsInput | string
440
+ hits?: Prisma.IntFieldUpdateOperationsInput | number
441
+ lastHitAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
442
+ createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
443
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
444
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
445
+ }
446
+
447
+ export type RedirectUncheckedUpdateInput = {
448
+ id?: Prisma.StringFieldUpdateOperationsInput | string
449
+ source?: Prisma.StringFieldUpdateOperationsInput | string
450
+ destination?: Prisma.StringFieldUpdateOperationsInput | string
451
+ statusCode?: Prisma.IntFieldUpdateOperationsInput | number
452
+ isRegex?: Prisma.BoolFieldUpdateOperationsInput | boolean
453
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
454
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
455
+ priority?: Prisma.IntFieldUpdateOperationsInput | number
456
+ preserveQuery?: Prisma.BoolFieldUpdateOperationsInput | boolean
457
+ source_kind?: Prisma.StringFieldUpdateOperationsInput | string
458
+ hits?: Prisma.IntFieldUpdateOperationsInput | number
459
+ lastHitAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
460
+ createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
461
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
462
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
463
+ }
464
+
465
+ export type RedirectCreateManyInput = {
466
+ id?: string
467
+ source: string
468
+ destination: string
469
+ statusCode?: number
470
+ isRegex?: boolean
471
+ notes?: string | null
472
+ enabled?: boolean
473
+ priority?: number
474
+ preserveQuery?: boolean
475
+ source_kind?: string
476
+ hits?: number
477
+ lastHitAt?: Date | string | null
478
+ createdById?: string | null
479
+ createdAt?: Date | string
480
+ updatedAt?: Date | string
481
+ }
482
+
483
+ export type RedirectUpdateManyMutationInput = {
484
+ id?: Prisma.StringFieldUpdateOperationsInput | string
485
+ source?: Prisma.StringFieldUpdateOperationsInput | string
486
+ destination?: Prisma.StringFieldUpdateOperationsInput | string
487
+ statusCode?: Prisma.IntFieldUpdateOperationsInput | number
488
+ isRegex?: Prisma.BoolFieldUpdateOperationsInput | boolean
489
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
490
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
491
+ priority?: Prisma.IntFieldUpdateOperationsInput | number
492
+ preserveQuery?: Prisma.BoolFieldUpdateOperationsInput | boolean
493
+ source_kind?: Prisma.StringFieldUpdateOperationsInput | string
494
+ hits?: Prisma.IntFieldUpdateOperationsInput | number
495
+ lastHitAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
496
+ createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
497
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
498
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
499
+ }
500
+
501
+ export type RedirectUncheckedUpdateManyInput = {
502
+ id?: Prisma.StringFieldUpdateOperationsInput | string
503
+ source?: Prisma.StringFieldUpdateOperationsInput | string
504
+ destination?: Prisma.StringFieldUpdateOperationsInput | string
505
+ statusCode?: Prisma.IntFieldUpdateOperationsInput | number
506
+ isRegex?: Prisma.BoolFieldUpdateOperationsInput | boolean
507
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
508
+ enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
509
+ priority?: Prisma.IntFieldUpdateOperationsInput | number
510
+ preserveQuery?: Prisma.BoolFieldUpdateOperationsInput | boolean
511
+ source_kind?: Prisma.StringFieldUpdateOperationsInput | string
512
+ hits?: Prisma.IntFieldUpdateOperationsInput | number
513
+ lastHitAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
514
+ createdById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
515
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
516
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
517
+ }
518
+
519
+ export type RedirectOrderByRelevanceInput = {
520
+ fields: Prisma.RedirectOrderByRelevanceFieldEnum | Prisma.RedirectOrderByRelevanceFieldEnum[]
521
+ sort: Prisma.SortOrder
522
+ search: string
523
+ }
524
+
525
+ export type RedirectCountOrderByAggregateInput = {
526
+ id?: Prisma.SortOrder
527
+ source?: Prisma.SortOrder
528
+ destination?: Prisma.SortOrder
529
+ statusCode?: Prisma.SortOrder
530
+ isRegex?: Prisma.SortOrder
531
+ notes?: Prisma.SortOrder
532
+ enabled?: Prisma.SortOrder
533
+ priority?: Prisma.SortOrder
534
+ preserveQuery?: Prisma.SortOrder
535
+ source_kind?: Prisma.SortOrder
536
+ hits?: Prisma.SortOrder
537
+ lastHitAt?: Prisma.SortOrder
538
+ createdById?: Prisma.SortOrder
539
+ createdAt?: Prisma.SortOrder
540
+ updatedAt?: Prisma.SortOrder
541
+ }
542
+
543
+ export type RedirectAvgOrderByAggregateInput = {
544
+ statusCode?: Prisma.SortOrder
545
+ priority?: Prisma.SortOrder
546
+ hits?: Prisma.SortOrder
547
+ }
548
+
549
+ export type RedirectMaxOrderByAggregateInput = {
550
+ id?: Prisma.SortOrder
551
+ source?: Prisma.SortOrder
552
+ destination?: Prisma.SortOrder
553
+ statusCode?: Prisma.SortOrder
554
+ isRegex?: Prisma.SortOrder
555
+ notes?: Prisma.SortOrder
556
+ enabled?: Prisma.SortOrder
557
+ priority?: Prisma.SortOrder
558
+ preserveQuery?: Prisma.SortOrder
559
+ source_kind?: Prisma.SortOrder
560
+ hits?: Prisma.SortOrder
561
+ lastHitAt?: Prisma.SortOrder
562
+ createdById?: Prisma.SortOrder
563
+ createdAt?: Prisma.SortOrder
564
+ updatedAt?: Prisma.SortOrder
565
+ }
566
+
567
+ export type RedirectMinOrderByAggregateInput = {
568
+ id?: Prisma.SortOrder
569
+ source?: Prisma.SortOrder
570
+ destination?: Prisma.SortOrder
571
+ statusCode?: Prisma.SortOrder
572
+ isRegex?: Prisma.SortOrder
573
+ notes?: Prisma.SortOrder
574
+ enabled?: Prisma.SortOrder
575
+ priority?: Prisma.SortOrder
576
+ preserveQuery?: Prisma.SortOrder
577
+ source_kind?: Prisma.SortOrder
578
+ hits?: Prisma.SortOrder
579
+ lastHitAt?: Prisma.SortOrder
580
+ createdById?: Prisma.SortOrder
581
+ createdAt?: Prisma.SortOrder
582
+ updatedAt?: Prisma.SortOrder
583
+ }
584
+
585
+ export type RedirectSumOrderByAggregateInput = {
586
+ statusCode?: Prisma.SortOrder
587
+ priority?: Prisma.SortOrder
588
+ hits?: Prisma.SortOrder
589
+ }
590
+
591
+
592
+
593
+ export type RedirectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
594
+ id?: boolean
595
+ source?: boolean
596
+ destination?: boolean
597
+ statusCode?: boolean
598
+ isRegex?: boolean
599
+ notes?: boolean
600
+ enabled?: boolean
601
+ priority?: boolean
602
+ preserveQuery?: boolean
603
+ source_kind?: boolean
604
+ hits?: boolean
605
+ lastHitAt?: boolean
606
+ createdById?: boolean
607
+ createdAt?: boolean
608
+ updatedAt?: boolean
609
+ }, ExtArgs["result"]["redirect"]>
610
+
611
+ export type RedirectSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
612
+ id?: boolean
613
+ source?: boolean
614
+ destination?: boolean
615
+ statusCode?: boolean
616
+ isRegex?: boolean
617
+ notes?: boolean
618
+ enabled?: boolean
619
+ priority?: boolean
620
+ preserveQuery?: boolean
621
+ source_kind?: boolean
622
+ hits?: boolean
623
+ lastHitAt?: boolean
624
+ createdById?: boolean
625
+ createdAt?: boolean
626
+ updatedAt?: boolean
627
+ }, ExtArgs["result"]["redirect"]>
628
+
629
+ export type RedirectSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
630
+ id?: boolean
631
+ source?: boolean
632
+ destination?: boolean
633
+ statusCode?: boolean
634
+ isRegex?: boolean
635
+ notes?: boolean
636
+ enabled?: boolean
637
+ priority?: boolean
638
+ preserveQuery?: boolean
639
+ source_kind?: boolean
640
+ hits?: boolean
641
+ lastHitAt?: boolean
642
+ createdById?: boolean
643
+ createdAt?: boolean
644
+ updatedAt?: boolean
645
+ }, ExtArgs["result"]["redirect"]>
646
+
647
+ export type RedirectSelectScalar = {
648
+ id?: boolean
649
+ source?: boolean
650
+ destination?: boolean
651
+ statusCode?: boolean
652
+ isRegex?: boolean
653
+ notes?: boolean
654
+ enabled?: boolean
655
+ priority?: boolean
656
+ preserveQuery?: boolean
657
+ source_kind?: boolean
658
+ hits?: boolean
659
+ lastHitAt?: boolean
660
+ createdById?: boolean
661
+ createdAt?: boolean
662
+ updatedAt?: boolean
663
+ }
664
+
665
+ export type RedirectOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "source" | "destination" | "statusCode" | "isRegex" | "notes" | "enabled" | "priority" | "preserveQuery" | "source_kind" | "hits" | "lastHitAt" | "createdById" | "createdAt" | "updatedAt", ExtArgs["result"]["redirect"]>
666
+
667
+ export type $RedirectPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
668
+ name: "Redirect"
669
+ objects: {}
670
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
671
+ id: string
672
+ source: string
673
+ destination: string
674
+ statusCode: number
675
+ isRegex: boolean
676
+ notes: string | null
677
+ enabled: boolean
678
+ priority: number
679
+ preserveQuery: boolean
680
+ source_kind: string
681
+ hits: number
682
+ lastHitAt: Date | null
683
+ createdById: string | null
684
+ createdAt: Date
685
+ updatedAt: Date
686
+ }, ExtArgs["result"]["redirect"]>
687
+ composites: {}
688
+ }
689
+
690
+ export type RedirectGetPayload<S extends boolean | null | undefined | RedirectDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RedirectPayload, S>
691
+
692
+ export type RedirectCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
693
+ Omit<RedirectFindManyArgs, 'select' | 'include' | 'distinct' | 'omit' | 'relationLoadStrategy'> & {
694
+ select?: RedirectCountAggregateInputType | true
695
+ }
696
+
697
+ export interface RedirectDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
698
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Redirect'], meta: { name: 'Redirect' } }
699
+ /**
700
+ * Find zero or one Redirect that matches the filter.
701
+ * @param {RedirectFindUniqueArgs} args - Arguments to find a Redirect
702
+ * @example
703
+ * // Get one Redirect
704
+ * const redirect = await prisma.redirect.findUnique({
705
+ * where: {
706
+ * // ... provide filter here
707
+ * }
708
+ * })
709
+ */
710
+ findUnique<T extends RedirectFindUniqueArgs>(args: Prisma.SelectSubset<T, RedirectFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
711
+
712
+ /**
713
+ * Find one Redirect that matches the filter or throw an error with `error.code='P2025'`
714
+ * if no matches were found.
715
+ * @param {RedirectFindUniqueOrThrowArgs} args - Arguments to find a Redirect
716
+ * @example
717
+ * // Get one Redirect
718
+ * const redirect = await prisma.redirect.findUniqueOrThrow({
719
+ * where: {
720
+ * // ... provide filter here
721
+ * }
722
+ * })
723
+ */
724
+ findUniqueOrThrow<T extends RedirectFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RedirectFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
725
+
726
+ /**
727
+ * Find the first Redirect that matches the filter.
728
+ * Note, that providing `undefined` is treated as the value not being there.
729
+ * Read more here: https://pris.ly/d/null-undefined
730
+ * @param {RedirectFindFirstArgs} args - Arguments to find a Redirect
731
+ * @example
732
+ * // Get one Redirect
733
+ * const redirect = await prisma.redirect.findFirst({
734
+ * where: {
735
+ * // ... provide filter here
736
+ * }
737
+ * })
738
+ */
739
+ findFirst<T extends RedirectFindFirstArgs>(args?: Prisma.SelectSubset<T, RedirectFindFirstArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
740
+
741
+ /**
742
+ * Find the first Redirect that matches the filter or
743
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
744
+ * Note, that providing `undefined` is treated as the value not being there.
745
+ * Read more here: https://pris.ly/d/null-undefined
746
+ * @param {RedirectFindFirstOrThrowArgs} args - Arguments to find a Redirect
747
+ * @example
748
+ * // Get one Redirect
749
+ * const redirect = await prisma.redirect.findFirstOrThrow({
750
+ * where: {
751
+ * // ... provide filter here
752
+ * }
753
+ * })
754
+ */
755
+ findFirstOrThrow<T extends RedirectFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RedirectFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
756
+
757
+ /**
758
+ * Find zero or more Redirects that matches the filter.
759
+ * Note, that providing `undefined` is treated as the value not being there.
760
+ * Read more here: https://pris.ly/d/null-undefined
761
+ * @param {RedirectFindManyArgs} args - Arguments to filter and select certain fields only.
762
+ * @example
763
+ * // Get all Redirects
764
+ * const redirects = await prisma.redirect.findMany()
765
+ *
766
+ * // Get first 10 Redirects
767
+ * const redirects = await prisma.redirect.findMany({ take: 10 })
768
+ *
769
+ * // Only select the `id`
770
+ * const redirectWithIdOnly = await prisma.redirect.findMany({ select: { id: true } })
771
+ *
772
+ */
773
+ findMany<T extends RedirectFindManyArgs>(args?: Prisma.SelectSubset<T, RedirectFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
774
+
775
+ /**
776
+ * Create a Redirect.
777
+ * @param {RedirectCreateArgs} args - Arguments to create a Redirect.
778
+ * @example
779
+ * // Create one Redirect
780
+ * const Redirect = await prisma.redirect.create({
781
+ * data: {
782
+ * // ... data to create a Redirect
783
+ * }
784
+ * })
785
+ *
786
+ */
787
+ create<T extends RedirectCreateArgs>(args: Prisma.SelectSubset<T, RedirectCreateArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
788
+
789
+ /**
790
+ * Create many Redirects.
791
+ * @param {RedirectCreateManyArgs} args - Arguments to create many Redirects.
792
+ * @example
793
+ * // Create many Redirects
794
+ * const redirect = await prisma.redirect.createMany({
795
+ * data: [
796
+ * // ... provide data here
797
+ * ]
798
+ * })
799
+ *
800
+ */
801
+ createMany<T extends RedirectCreateManyArgs>(args?: Prisma.SelectSubset<T, RedirectCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
802
+
803
+ /**
804
+ * Create many Redirects and returns the data saved in the database.
805
+ * @param {RedirectCreateManyAndReturnArgs} args - Arguments to create many Redirects.
806
+ * @example
807
+ * // Create many Redirects
808
+ * const redirect = await prisma.redirect.createManyAndReturn({
809
+ * data: [
810
+ * // ... provide data here
811
+ * ]
812
+ * })
813
+ *
814
+ * // Create many Redirects and only return the `id`
815
+ * const redirectWithIdOnly = await prisma.redirect.createManyAndReturn({
816
+ * select: { id: true },
817
+ * data: [
818
+ * // ... provide data here
819
+ * ]
820
+ * })
821
+ * Note, that providing `undefined` is treated as the value not being there.
822
+ * Read more here: https://pris.ly/d/null-undefined
823
+ *
824
+ */
825
+ createManyAndReturn<T extends RedirectCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RedirectCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
826
+
827
+ /**
828
+ * Delete a Redirect.
829
+ * @param {RedirectDeleteArgs} args - Arguments to delete one Redirect.
830
+ * @example
831
+ * // Delete one Redirect
832
+ * const Redirect = await prisma.redirect.delete({
833
+ * where: {
834
+ * // ... filter to delete one Redirect
835
+ * }
836
+ * })
837
+ *
838
+ */
839
+ delete<T extends RedirectDeleteArgs>(args: Prisma.SelectSubset<T, RedirectDeleteArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
840
+
841
+ /**
842
+ * Update one Redirect.
843
+ * @param {RedirectUpdateArgs} args - Arguments to update one Redirect.
844
+ * @example
845
+ * // Update one Redirect
846
+ * const redirect = await prisma.redirect.update({
847
+ * where: {
848
+ * // ... provide filter here
849
+ * },
850
+ * data: {
851
+ * // ... provide data here
852
+ * }
853
+ * })
854
+ *
855
+ */
856
+ update<T extends RedirectUpdateArgs>(args: Prisma.SelectSubset<T, RedirectUpdateArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
857
+
858
+ /**
859
+ * Delete zero or more Redirects.
860
+ * @param {RedirectDeleteManyArgs} args - Arguments to filter Redirects to delete.
861
+ * @example
862
+ * // Delete a few Redirects
863
+ * const { count } = await prisma.redirect.deleteMany({
864
+ * where: {
865
+ * // ... provide filter here
866
+ * }
867
+ * })
868
+ *
869
+ */
870
+ deleteMany<T extends RedirectDeleteManyArgs>(args?: Prisma.SelectSubset<T, RedirectDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
871
+
872
+ /**
873
+ * Update zero or more Redirects.
874
+ * Note, that providing `undefined` is treated as the value not being there.
875
+ * Read more here: https://pris.ly/d/null-undefined
876
+ * @param {RedirectUpdateManyArgs} args - Arguments to update one or more rows.
877
+ * @example
878
+ * // Update many Redirects
879
+ * const redirect = await prisma.redirect.updateMany({
880
+ * where: {
881
+ * // ... provide filter here
882
+ * },
883
+ * data: {
884
+ * // ... provide data here
885
+ * }
886
+ * })
887
+ *
888
+ */
889
+ updateMany<T extends RedirectUpdateManyArgs>(args: Prisma.SelectSubset<T, RedirectUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
890
+
891
+ /**
892
+ * Update zero or more Redirects and returns the data updated in the database.
893
+ * @param {RedirectUpdateManyAndReturnArgs} args - Arguments to update many Redirects.
894
+ * @example
895
+ * // Update many Redirects
896
+ * const redirect = await prisma.redirect.updateManyAndReturn({
897
+ * where: {
898
+ * // ... provide filter here
899
+ * },
900
+ * data: [
901
+ * // ... provide data here
902
+ * ]
903
+ * })
904
+ *
905
+ * // Update zero or more Redirects and only return the `id`
906
+ * const redirectWithIdOnly = await prisma.redirect.updateManyAndReturn({
907
+ * select: { id: true },
908
+ * where: {
909
+ * // ... provide filter here
910
+ * },
911
+ * data: [
912
+ * // ... provide data here
913
+ * ]
914
+ * })
915
+ * Note, that providing `undefined` is treated as the value not being there.
916
+ * Read more here: https://pris.ly/d/null-undefined
917
+ *
918
+ */
919
+ updateManyAndReturn<T extends RedirectUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RedirectUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
920
+
921
+ /**
922
+ * Create or update one Redirect.
923
+ * @param {RedirectUpsertArgs} args - Arguments to update or create a Redirect.
924
+ * @example
925
+ * // Update or create a Redirect
926
+ * const redirect = await prisma.redirect.upsert({
927
+ * create: {
928
+ * // ... data to create a Redirect
929
+ * },
930
+ * update: {
931
+ * // ... in case it already exists, update
932
+ * },
933
+ * where: {
934
+ * // ... the filter for the Redirect we want to update
935
+ * }
936
+ * })
937
+ */
938
+ upsert<T extends RedirectUpsertArgs>(args: Prisma.SelectSubset<T, RedirectUpsertArgs<ExtArgs>>): Prisma.Prisma__RedirectClient<runtime.Types.Result.GetResult<Prisma.$RedirectPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
939
+
940
+
941
+ /**
942
+ * Count the number of Redirects.
943
+ * Note, that providing `undefined` is treated as the value not being there.
944
+ * Read more here: https://pris.ly/d/null-undefined
945
+ * @param {RedirectCountArgs} args - Arguments to filter Redirects to count.
946
+ * @example
947
+ * // Count the number of Redirects
948
+ * const count = await prisma.redirect.count({
949
+ * where: {
950
+ * // ... the filter for the Redirects we want to count
951
+ * }
952
+ * })
953
+ **/
954
+ count<T extends RedirectCountArgs>(
955
+ args?: Prisma.Subset<T, RedirectCountArgs>,
956
+ ): Prisma.PrismaPromise<
957
+ T extends runtime.Types.Utils.Record<'select', any>
958
+ ? T['select'] extends true
959
+ ? number
960
+ : Prisma.GetScalarType<T['select'], RedirectCountAggregateOutputType>
961
+ : number
962
+ >
963
+
964
+ /**
965
+ * Allows you to perform aggregations operations on a Redirect.
966
+ * Note, that providing `undefined` is treated as the value not being there.
967
+ * Read more here: https://pris.ly/d/null-undefined
968
+ * @param {RedirectAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
969
+ * @example
970
+ * // Ordered by age ascending
971
+ * // Where email contains prisma.io
972
+ * // Limited to the 10 users
973
+ * const aggregations = await prisma.user.aggregate({
974
+ * _avg: {
975
+ * age: true,
976
+ * },
977
+ * where: {
978
+ * email: {
979
+ * contains: "prisma.io",
980
+ * },
981
+ * },
982
+ * orderBy: {
983
+ * age: "asc",
984
+ * },
985
+ * take: 10,
986
+ * })
987
+ **/
988
+ aggregate<T extends RedirectAggregateArgs>(args: Prisma.Subset<T, RedirectAggregateArgs>): Prisma.PrismaPromise<GetRedirectAggregateType<T>>
989
+
990
+ /**
991
+ * Group by Redirect.
992
+ * Note, that providing `undefined` is treated as the value not being there.
993
+ * Read more here: https://pris.ly/d/null-undefined
994
+ * @param {RedirectGroupByArgs} args - Group by arguments.
995
+ * @example
996
+ * // Group by city, order by createdAt, get count
997
+ * const result = await prisma.user.groupBy({
998
+ * by: ['city', 'createdAt'],
999
+ * orderBy: {
1000
+ * createdAt: true
1001
+ * },
1002
+ * _count: {
1003
+ * _all: true
1004
+ * },
1005
+ * })
1006
+ *
1007
+ **/
1008
+ groupBy<
1009
+ T extends RedirectGroupByArgs,
1010
+ HasSelectOrTake extends Prisma.Or<
1011
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1012
+ Prisma.Extends<'take', Prisma.Keys<T>>
1013
+ >,
1014
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1015
+ ? { orderBy: RedirectGroupByArgs['orderBy'] }
1016
+ : { orderBy?: RedirectGroupByArgs['orderBy'] },
1017
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1018
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1019
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1020
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1021
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1022
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1023
+ InputErrors extends ByEmpty extends Prisma.True
1024
+ ? `Error: "by" must not be empty.`
1025
+ : HavingValid extends Prisma.False
1026
+ ? {
1027
+ [P in HavingFields]: P extends ByFields
1028
+ ? never
1029
+ : P extends string
1030
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1031
+ : [
1032
+ Error,
1033
+ 'Field ',
1034
+ P,
1035
+ ` in "having" needs to be provided in "by"`,
1036
+ ]
1037
+ }[HavingFields]
1038
+ : 'take' extends Prisma.Keys<T>
1039
+ ? 'orderBy' extends Prisma.Keys<T>
1040
+ ? ByValid extends Prisma.True
1041
+ ? {}
1042
+ : {
1043
+ [P in OrderFields]: P extends ByFields
1044
+ ? never
1045
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1046
+ }[OrderFields]
1047
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1048
+ : 'skip' extends Prisma.Keys<T>
1049
+ ? 'orderBy' extends Prisma.Keys<T>
1050
+ ? ByValid extends Prisma.True
1051
+ ? {}
1052
+ : {
1053
+ [P in OrderFields]: P extends ByFields
1054
+ ? never
1055
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1056
+ }[OrderFields]
1057
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1058
+ : ByValid extends Prisma.True
1059
+ ? {}
1060
+ : {
1061
+ [P in OrderFields]: P extends ByFields
1062
+ ? never
1063
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1064
+ }[OrderFields]
1065
+ >(args: Prisma.SubsetIntersection<T, RedirectGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRedirectGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1066
+ /**
1067
+ * Fields of the Redirect model
1068
+ */
1069
+ readonly fields: RedirectFieldRefs;
1070
+ }
1071
+
1072
+ /**
1073
+ * The delegate class that acts as a "Promise-like" for Redirect.
1074
+ * Why is this prefixed with `Prisma__`?
1075
+ * Because we want to prevent naming conflicts as mentioned in
1076
+ * https://github.com/prisma/prisma-client-js/issues/707
1077
+ */
1078
+ export interface Prisma__RedirectClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1079
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1080
+ /**
1081
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1082
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1083
+ * @param onrejected The callback to execute when the Promise is rejected.
1084
+ * @returns A Promise for the completion of which ever callback is executed.
1085
+ */
1086
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
1087
+ /**
1088
+ * Attaches a callback for only the rejection of the Promise.
1089
+ * @param onrejected The callback to execute when the Promise is rejected.
1090
+ * @returns A Promise for the completion of the callback.
1091
+ */
1092
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1093
+ /**
1094
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1095
+ * resolved value cannot be modified from the callback.
1096
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1097
+ * @returns A Promise for the completion of the callback.
1098
+ */
1099
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1100
+ }
1101
+
1102
+
1103
+
1104
+
1105
+ /**
1106
+ * Fields of the Redirect model
1107
+ */
1108
+ export interface RedirectFieldRefs {
1109
+ readonly id: Prisma.FieldRef<"Redirect", 'String'>
1110
+ readonly source: Prisma.FieldRef<"Redirect", 'String'>
1111
+ readonly destination: Prisma.FieldRef<"Redirect", 'String'>
1112
+ readonly statusCode: Prisma.FieldRef<"Redirect", 'Int'>
1113
+ readonly isRegex: Prisma.FieldRef<"Redirect", 'Boolean'>
1114
+ readonly notes: Prisma.FieldRef<"Redirect", 'String'>
1115
+ readonly enabled: Prisma.FieldRef<"Redirect", 'Boolean'>
1116
+ readonly priority: Prisma.FieldRef<"Redirect", 'Int'>
1117
+ readonly preserveQuery: Prisma.FieldRef<"Redirect", 'Boolean'>
1118
+ readonly source_kind: Prisma.FieldRef<"Redirect", 'String'>
1119
+ readonly hits: Prisma.FieldRef<"Redirect", 'Int'>
1120
+ readonly lastHitAt: Prisma.FieldRef<"Redirect", 'DateTime'>
1121
+ readonly createdById: Prisma.FieldRef<"Redirect", 'String'>
1122
+ readonly createdAt: Prisma.FieldRef<"Redirect", 'DateTime'>
1123
+ readonly updatedAt: Prisma.FieldRef<"Redirect", 'DateTime'>
1124
+ }
1125
+
1126
+
1127
+ // Custom InputTypes
1128
+ /**
1129
+ * Redirect findUnique
1130
+ */
1131
+ export type RedirectFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1132
+ /**
1133
+ * Select specific fields to fetch from the Redirect
1134
+ */
1135
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1136
+ /**
1137
+ * Omit specific fields from the Redirect
1138
+ */
1139
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1140
+ /**
1141
+ * Filter, which Redirect to fetch.
1142
+ */
1143
+ where: Prisma.RedirectWhereUniqueInput
1144
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1145
+ }
1146
+
1147
+ /**
1148
+ * Redirect findUniqueOrThrow
1149
+ */
1150
+ export type RedirectFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1151
+ /**
1152
+ * Select specific fields to fetch from the Redirect
1153
+ */
1154
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1155
+ /**
1156
+ * Omit specific fields from the Redirect
1157
+ */
1158
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1159
+ /**
1160
+ * Filter, which Redirect to fetch.
1161
+ */
1162
+ where: Prisma.RedirectWhereUniqueInput
1163
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1164
+ }
1165
+
1166
+ /**
1167
+ * Redirect findFirst
1168
+ */
1169
+ export type RedirectFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1170
+ /**
1171
+ * Select specific fields to fetch from the Redirect
1172
+ */
1173
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1174
+ /**
1175
+ * Omit specific fields from the Redirect
1176
+ */
1177
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1178
+ /**
1179
+ * Filter, which Redirect to fetch.
1180
+ */
1181
+ where?: Prisma.RedirectWhereInput
1182
+ /**
1183
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1184
+ *
1185
+ * Determine the order of Redirects to fetch.
1186
+ */
1187
+ orderBy?: Prisma.RedirectOrderByWithRelationInput | Prisma.RedirectOrderByWithRelationInput[]
1188
+ /**
1189
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1190
+ *
1191
+ * Sets the position for searching for Redirects.
1192
+ */
1193
+ cursor?: Prisma.RedirectWhereUniqueInput
1194
+ /**
1195
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1196
+ *
1197
+ * Take `±n` Redirects from the position of the cursor.
1198
+ */
1199
+ take?: number
1200
+ /**
1201
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1202
+ *
1203
+ * Skip the first `n` Redirects.
1204
+ */
1205
+ skip?: number
1206
+ /**
1207
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1208
+ *
1209
+ * Filter by unique combinations of Redirects.
1210
+ */
1211
+ distinct?: Prisma.RedirectScalarFieldEnum | Prisma.RedirectScalarFieldEnum[]
1212
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1213
+ }
1214
+
1215
+ /**
1216
+ * Redirect findFirstOrThrow
1217
+ */
1218
+ export type RedirectFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1219
+ /**
1220
+ * Select specific fields to fetch from the Redirect
1221
+ */
1222
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1223
+ /**
1224
+ * Omit specific fields from the Redirect
1225
+ */
1226
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1227
+ /**
1228
+ * Filter, which Redirect to fetch.
1229
+ */
1230
+ where?: Prisma.RedirectWhereInput
1231
+ /**
1232
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1233
+ *
1234
+ * Determine the order of Redirects to fetch.
1235
+ */
1236
+ orderBy?: Prisma.RedirectOrderByWithRelationInput | Prisma.RedirectOrderByWithRelationInput[]
1237
+ /**
1238
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1239
+ *
1240
+ * Sets the position for searching for Redirects.
1241
+ */
1242
+ cursor?: Prisma.RedirectWhereUniqueInput
1243
+ /**
1244
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1245
+ *
1246
+ * Take `±n` Redirects from the position of the cursor.
1247
+ */
1248
+ take?: number
1249
+ /**
1250
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1251
+ *
1252
+ * Skip the first `n` Redirects.
1253
+ */
1254
+ skip?: number
1255
+ /**
1256
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1257
+ *
1258
+ * Filter by unique combinations of Redirects.
1259
+ */
1260
+ distinct?: Prisma.RedirectScalarFieldEnum | Prisma.RedirectScalarFieldEnum[]
1261
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1262
+ }
1263
+
1264
+ /**
1265
+ * Redirect findMany
1266
+ */
1267
+ export type RedirectFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1268
+ /**
1269
+ * Select specific fields to fetch from the Redirect
1270
+ */
1271
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1272
+ /**
1273
+ * Omit specific fields from the Redirect
1274
+ */
1275
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1276
+ /**
1277
+ * Filter, which Redirects to fetch.
1278
+ */
1279
+ where?: Prisma.RedirectWhereInput
1280
+ /**
1281
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1282
+ *
1283
+ * Determine the order of Redirects to fetch.
1284
+ */
1285
+ orderBy?: Prisma.RedirectOrderByWithRelationInput | Prisma.RedirectOrderByWithRelationInput[]
1286
+ /**
1287
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1288
+ *
1289
+ * Sets the position for listing Redirects.
1290
+ */
1291
+ cursor?: Prisma.RedirectWhereUniqueInput
1292
+ /**
1293
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1294
+ *
1295
+ * Take `±n` Redirects from the position of the cursor.
1296
+ */
1297
+ take?: number
1298
+ /**
1299
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1300
+ *
1301
+ * Skip the first `n` Redirects.
1302
+ */
1303
+ skip?: number
1304
+ /**
1305
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1306
+ *
1307
+ * Filter by unique combinations of Redirects.
1308
+ */
1309
+ distinct?: Prisma.RedirectScalarFieldEnum | Prisma.RedirectScalarFieldEnum[]
1310
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1311
+ }
1312
+
1313
+ /**
1314
+ * Redirect create
1315
+ */
1316
+ export type RedirectCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1317
+ /**
1318
+ * Select specific fields to fetch from the Redirect
1319
+ */
1320
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1321
+ /**
1322
+ * Omit specific fields from the Redirect
1323
+ */
1324
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1325
+ /**
1326
+ * The data needed to create a Redirect.
1327
+ */
1328
+ data: Prisma.XOR<Prisma.RedirectCreateInput, Prisma.RedirectUncheckedCreateInput>
1329
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1330
+ }
1331
+
1332
+ /**
1333
+ * Redirect createMany
1334
+ */
1335
+ export type RedirectCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1336
+ /**
1337
+ * The data used to create many Redirects.
1338
+ */
1339
+ data: Prisma.RedirectCreateManyInput | Prisma.RedirectCreateManyInput[]
1340
+ skipDuplicates?: boolean
1341
+ }
1342
+
1343
+ /**
1344
+ * Redirect createManyAndReturn
1345
+ */
1346
+ export type RedirectCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1347
+ /**
1348
+ * Select specific fields to fetch from the Redirect
1349
+ */
1350
+ select?: Prisma.RedirectSelectCreateManyAndReturn<ExtArgs> | null
1351
+ /**
1352
+ * Omit specific fields from the Redirect
1353
+ */
1354
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1355
+ /**
1356
+ * The data used to create many Redirects.
1357
+ */
1358
+ data: Prisma.RedirectCreateManyInput | Prisma.RedirectCreateManyInput[]
1359
+ skipDuplicates?: boolean
1360
+ }
1361
+
1362
+ /**
1363
+ * Redirect update
1364
+ */
1365
+ export type RedirectUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1366
+ /**
1367
+ * Select specific fields to fetch from the Redirect
1368
+ */
1369
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1370
+ /**
1371
+ * Omit specific fields from the Redirect
1372
+ */
1373
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1374
+ /**
1375
+ * The data needed to update a Redirect.
1376
+ */
1377
+ data: Prisma.XOR<Prisma.RedirectUpdateInput, Prisma.RedirectUncheckedUpdateInput>
1378
+ /**
1379
+ * Choose, which Redirect to update.
1380
+ */
1381
+ where: Prisma.RedirectWhereUniqueInput
1382
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1383
+ }
1384
+
1385
+ /**
1386
+ * Redirect updateMany
1387
+ */
1388
+ export type RedirectUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1389
+ /**
1390
+ * The data used to update Redirects.
1391
+ */
1392
+ data: Prisma.XOR<Prisma.RedirectUpdateManyMutationInput, Prisma.RedirectUncheckedUpdateManyInput>
1393
+ /**
1394
+ * Filter which Redirects to update
1395
+ */
1396
+ where?: Prisma.RedirectWhereInput
1397
+ /**
1398
+ * Limit how many Redirects to update.
1399
+ */
1400
+ limit?: number
1401
+ }
1402
+
1403
+ /**
1404
+ * Redirect updateManyAndReturn
1405
+ */
1406
+ export type RedirectUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1407
+ /**
1408
+ * Select specific fields to fetch from the Redirect
1409
+ */
1410
+ select?: Prisma.RedirectSelectUpdateManyAndReturn<ExtArgs> | null
1411
+ /**
1412
+ * Omit specific fields from the Redirect
1413
+ */
1414
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1415
+ /**
1416
+ * The data used to update Redirects.
1417
+ */
1418
+ data: Prisma.XOR<Prisma.RedirectUpdateManyMutationInput, Prisma.RedirectUncheckedUpdateManyInput>
1419
+ /**
1420
+ * Filter which Redirects to update
1421
+ */
1422
+ where?: Prisma.RedirectWhereInput
1423
+ /**
1424
+ * Limit how many Redirects to update.
1425
+ */
1426
+ limit?: number
1427
+ }
1428
+
1429
+ /**
1430
+ * Redirect upsert
1431
+ */
1432
+ export type RedirectUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1433
+ /**
1434
+ * Select specific fields to fetch from the Redirect
1435
+ */
1436
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1437
+ /**
1438
+ * Omit specific fields from the Redirect
1439
+ */
1440
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1441
+ /**
1442
+ * The filter to search for the Redirect to update in case it exists.
1443
+ */
1444
+ where: Prisma.RedirectWhereUniqueInput
1445
+ /**
1446
+ * In case the Redirect found by the `where` argument doesn't exist, create a new Redirect with this data.
1447
+ */
1448
+ create: Prisma.XOR<Prisma.RedirectCreateInput, Prisma.RedirectUncheckedCreateInput>
1449
+ /**
1450
+ * In case the Redirect was found with the provided `where` argument, update it with this data.
1451
+ */
1452
+ update: Prisma.XOR<Prisma.RedirectUpdateInput, Prisma.RedirectUncheckedUpdateInput>
1453
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1454
+ }
1455
+
1456
+ /**
1457
+ * Redirect delete
1458
+ */
1459
+ export type RedirectDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1460
+ /**
1461
+ * Select specific fields to fetch from the Redirect
1462
+ */
1463
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1464
+ /**
1465
+ * Omit specific fields from the Redirect
1466
+ */
1467
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1468
+ /**
1469
+ * Filter which Redirect to delete.
1470
+ */
1471
+ where: Prisma.RedirectWhereUniqueInput
1472
+ relationLoadStrategy?: Prisma.RelationLoadStrategy
1473
+ }
1474
+
1475
+ /**
1476
+ * Redirect deleteMany
1477
+ */
1478
+ export type RedirectDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1479
+ /**
1480
+ * Filter which Redirects to delete
1481
+ */
1482
+ where?: Prisma.RedirectWhereInput
1483
+ /**
1484
+ * Limit how many Redirects to delete.
1485
+ */
1486
+ limit?: number
1487
+ }
1488
+
1489
+ /**
1490
+ * Redirect without action
1491
+ */
1492
+ export type RedirectDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1493
+ /**
1494
+ * Select specific fields to fetch from the Redirect
1495
+ */
1496
+ select?: Prisma.RedirectSelect<ExtArgs> | null
1497
+ /**
1498
+ * Omit specific fields from the Redirect
1499
+ */
1500
+ omit?: Prisma.RedirectOmit<ExtArgs> | null
1501
+ }