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