@mframework/layer-shared 0.0.2 → 0.0.3
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/dist/package.json +6 -11
- package/package.json +3 -2
- package/prisma/generated/browser.ts +0 -44
- package/prisma/generated/client.ts +0 -66
- package/prisma/generated/commonInputTypes.ts +0 -432
- package/prisma/generated/enums.ts +0 -15
- package/prisma/generated/internal/class.ts +0 -232
- package/prisma/generated/internal/prismaNamespace.ts +0 -1154
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +0 -179
- package/prisma/generated/models/Account.ts +0 -1620
- package/prisma/generated/models/Session.ts +0 -1484
- package/prisma/generated/models/Upload.ts +0 -1291
- package/prisma/generated/models/User.ts +0 -1780
- package/prisma/generated/models/Verification.ts +0 -1172
- package/prisma/generated/models.ts +0 -16
- package/prisma/schema.prisma +0 -102
|
@@ -1,1172 +0,0 @@
|
|
|
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 `Verification` 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"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Model Verification
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type VerificationModel = runtime.Types.Result.DefaultSelection<Prisma.$VerificationPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateVerification = {
|
|
22
|
-
_count: VerificationCountAggregateOutputType | null
|
|
23
|
-
_min: VerificationMinAggregateOutputType | null
|
|
24
|
-
_max: VerificationMaxAggregateOutputType | null
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type VerificationMinAggregateOutputType = {
|
|
28
|
-
id: string | null
|
|
29
|
-
identifier: string | null
|
|
30
|
-
value: string | null
|
|
31
|
-
expiresAt: Date | null
|
|
32
|
-
createdAt: Date | null
|
|
33
|
-
updatedAt: Date | null
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export type VerificationMaxAggregateOutputType = {
|
|
37
|
-
id: string | null
|
|
38
|
-
identifier: string | null
|
|
39
|
-
value: string | null
|
|
40
|
-
expiresAt: Date | null
|
|
41
|
-
createdAt: Date | null
|
|
42
|
-
updatedAt: Date | null
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export type VerificationCountAggregateOutputType = {
|
|
46
|
-
id: number
|
|
47
|
-
identifier: number
|
|
48
|
-
value: number
|
|
49
|
-
expiresAt: number
|
|
50
|
-
createdAt: number
|
|
51
|
-
updatedAt: number
|
|
52
|
-
_all: number
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export type VerificationMinAggregateInputType = {
|
|
57
|
-
id?: true
|
|
58
|
-
identifier?: true
|
|
59
|
-
value?: true
|
|
60
|
-
expiresAt?: true
|
|
61
|
-
createdAt?: true
|
|
62
|
-
updatedAt?: true
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export type VerificationMaxAggregateInputType = {
|
|
66
|
-
id?: true
|
|
67
|
-
identifier?: true
|
|
68
|
-
value?: true
|
|
69
|
-
expiresAt?: true
|
|
70
|
-
createdAt?: true
|
|
71
|
-
updatedAt?: true
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export type VerificationCountAggregateInputType = {
|
|
75
|
-
id?: true
|
|
76
|
-
identifier?: true
|
|
77
|
-
value?: true
|
|
78
|
-
expiresAt?: true
|
|
79
|
-
createdAt?: true
|
|
80
|
-
updatedAt?: true
|
|
81
|
-
_all?: true
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export type VerificationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
85
|
-
/**
|
|
86
|
-
* Filter which Verification to aggregate.
|
|
87
|
-
*/
|
|
88
|
-
where?: Prisma.VerificationWhereInput
|
|
89
|
-
/**
|
|
90
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
91
|
-
*
|
|
92
|
-
* Determine the order of Verifications to fetch.
|
|
93
|
-
*/
|
|
94
|
-
orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[]
|
|
95
|
-
/**
|
|
96
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
97
|
-
*
|
|
98
|
-
* Sets the start position
|
|
99
|
-
*/
|
|
100
|
-
cursor?: Prisma.VerificationWhereUniqueInput
|
|
101
|
-
/**
|
|
102
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
103
|
-
*
|
|
104
|
-
* Take `±n` Verifications from the position of the cursor.
|
|
105
|
-
*/
|
|
106
|
-
take?: number
|
|
107
|
-
/**
|
|
108
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
-
*
|
|
110
|
-
* Skip the first `n` Verifications.
|
|
111
|
-
*/
|
|
112
|
-
skip?: number
|
|
113
|
-
/**
|
|
114
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
-
*
|
|
116
|
-
* Count returned Verifications
|
|
117
|
-
**/
|
|
118
|
-
_count?: true | VerificationCountAggregateInputType
|
|
119
|
-
/**
|
|
120
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
-
*
|
|
122
|
-
* Select which fields to find the minimum value
|
|
123
|
-
**/
|
|
124
|
-
_min?: VerificationMinAggregateInputType
|
|
125
|
-
/**
|
|
126
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
-
*
|
|
128
|
-
* Select which fields to find the maximum value
|
|
129
|
-
**/
|
|
130
|
-
_max?: VerificationMaxAggregateInputType
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export type GetVerificationAggregateType<T extends VerificationAggregateArgs> = {
|
|
134
|
-
[P in keyof T & keyof AggregateVerification]: P extends '_count' | 'count'
|
|
135
|
-
? T[P] extends true
|
|
136
|
-
? number
|
|
137
|
-
: Prisma.GetScalarType<T[P], AggregateVerification[P]>
|
|
138
|
-
: Prisma.GetScalarType<T[P], AggregateVerification[P]>
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
export type VerificationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
145
|
-
where?: Prisma.VerificationWhereInput
|
|
146
|
-
orderBy?: Prisma.VerificationOrderByWithAggregationInput | Prisma.VerificationOrderByWithAggregationInput[]
|
|
147
|
-
by: Prisma.VerificationScalarFieldEnum[] | Prisma.VerificationScalarFieldEnum
|
|
148
|
-
having?: Prisma.VerificationScalarWhereWithAggregatesInput
|
|
149
|
-
take?: number
|
|
150
|
-
skip?: number
|
|
151
|
-
_count?: VerificationCountAggregateInputType | true
|
|
152
|
-
_min?: VerificationMinAggregateInputType
|
|
153
|
-
_max?: VerificationMaxAggregateInputType
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export type VerificationGroupByOutputType = {
|
|
157
|
-
id: string
|
|
158
|
-
identifier: string
|
|
159
|
-
value: string
|
|
160
|
-
expiresAt: Date
|
|
161
|
-
createdAt: Date | null
|
|
162
|
-
updatedAt: Date | null
|
|
163
|
-
_count: VerificationCountAggregateOutputType | null
|
|
164
|
-
_min: VerificationMinAggregateOutputType | null
|
|
165
|
-
_max: VerificationMaxAggregateOutputType | null
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
type GetVerificationGroupByPayload<T extends VerificationGroupByArgs> = Prisma.PrismaPromise<
|
|
169
|
-
Array<
|
|
170
|
-
Prisma.PickEnumerable<VerificationGroupByOutputType, T['by']> &
|
|
171
|
-
{
|
|
172
|
-
[P in ((keyof T) & (keyof VerificationGroupByOutputType))]: P extends '_count'
|
|
173
|
-
? T[P] extends boolean
|
|
174
|
-
? number
|
|
175
|
-
: Prisma.GetScalarType<T[P], VerificationGroupByOutputType[P]>
|
|
176
|
-
: Prisma.GetScalarType<T[P], VerificationGroupByOutputType[P]>
|
|
177
|
-
}
|
|
178
|
-
>
|
|
179
|
-
>
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
export type VerificationWhereInput = {
|
|
184
|
-
AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
|
185
|
-
OR?: Prisma.VerificationWhereInput[]
|
|
186
|
-
NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
|
187
|
-
id?: Prisma.StringFilter<"Verification"> | string
|
|
188
|
-
identifier?: Prisma.StringFilter<"Verification"> | string
|
|
189
|
-
value?: Prisma.StringFilter<"Verification"> | string
|
|
190
|
-
expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string
|
|
191
|
-
createdAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null
|
|
192
|
-
updatedAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
export type VerificationOrderByWithRelationInput = {
|
|
196
|
-
id?: Prisma.SortOrder
|
|
197
|
-
identifier?: Prisma.SortOrder
|
|
198
|
-
value?: Prisma.SortOrder
|
|
199
|
-
expiresAt?: Prisma.SortOrder
|
|
200
|
-
createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
201
|
-
updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export type VerificationWhereUniqueInput = Prisma.AtLeast<{
|
|
205
|
-
id?: string
|
|
206
|
-
AND?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
|
207
|
-
OR?: Prisma.VerificationWhereInput[]
|
|
208
|
-
NOT?: Prisma.VerificationWhereInput | Prisma.VerificationWhereInput[]
|
|
209
|
-
identifier?: Prisma.StringFilter<"Verification"> | string
|
|
210
|
-
value?: Prisma.StringFilter<"Verification"> | string
|
|
211
|
-
expiresAt?: Prisma.DateTimeFilter<"Verification"> | Date | string
|
|
212
|
-
createdAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null
|
|
213
|
-
updatedAt?: Prisma.DateTimeNullableFilter<"Verification"> | Date | string | null
|
|
214
|
-
}, "id">
|
|
215
|
-
|
|
216
|
-
export type VerificationOrderByWithAggregationInput = {
|
|
217
|
-
id?: Prisma.SortOrder
|
|
218
|
-
identifier?: Prisma.SortOrder
|
|
219
|
-
value?: Prisma.SortOrder
|
|
220
|
-
expiresAt?: Prisma.SortOrder
|
|
221
|
-
createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
222
|
-
updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
223
|
-
_count?: Prisma.VerificationCountOrderByAggregateInput
|
|
224
|
-
_max?: Prisma.VerificationMaxOrderByAggregateInput
|
|
225
|
-
_min?: Prisma.VerificationMinOrderByAggregateInput
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
export type VerificationScalarWhereWithAggregatesInput = {
|
|
229
|
-
AND?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[]
|
|
230
|
-
OR?: Prisma.VerificationScalarWhereWithAggregatesInput[]
|
|
231
|
-
NOT?: Prisma.VerificationScalarWhereWithAggregatesInput | Prisma.VerificationScalarWhereWithAggregatesInput[]
|
|
232
|
-
id?: Prisma.StringWithAggregatesFilter<"Verification"> | string
|
|
233
|
-
identifier?: Prisma.StringWithAggregatesFilter<"Verification"> | string
|
|
234
|
-
value?: Prisma.StringWithAggregatesFilter<"Verification"> | string
|
|
235
|
-
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"Verification"> | Date | string
|
|
236
|
-
createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Verification"> | Date | string | null
|
|
237
|
-
updatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Verification"> | Date | string | null
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
export type VerificationCreateInput = {
|
|
241
|
-
id: string
|
|
242
|
-
identifier: string
|
|
243
|
-
value: string
|
|
244
|
-
expiresAt: Date | string
|
|
245
|
-
createdAt?: Date | string | null
|
|
246
|
-
updatedAt?: Date | string | null
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
export type VerificationUncheckedCreateInput = {
|
|
250
|
-
id: string
|
|
251
|
-
identifier: string
|
|
252
|
-
value: string
|
|
253
|
-
expiresAt: Date | string
|
|
254
|
-
createdAt?: Date | string | null
|
|
255
|
-
updatedAt?: Date | string | null
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
export type VerificationUpdateInput = {
|
|
259
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
260
|
-
identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
|
261
|
-
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
262
|
-
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
263
|
-
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
264
|
-
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
export type VerificationUncheckedUpdateInput = {
|
|
268
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
269
|
-
identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
|
270
|
-
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
271
|
-
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
272
|
-
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
273
|
-
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
export type VerificationCreateManyInput = {
|
|
277
|
-
id: string
|
|
278
|
-
identifier: string
|
|
279
|
-
value: string
|
|
280
|
-
expiresAt: Date | string
|
|
281
|
-
createdAt?: Date | string | null
|
|
282
|
-
updatedAt?: Date | string | null
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
export type VerificationUpdateManyMutationInput = {
|
|
286
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
287
|
-
identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
|
288
|
-
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
289
|
-
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
290
|
-
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
291
|
-
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export type VerificationUncheckedUpdateManyInput = {
|
|
295
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
296
|
-
identifier?: Prisma.StringFieldUpdateOperationsInput | string
|
|
297
|
-
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
298
|
-
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
299
|
-
createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
300
|
-
updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
export type VerificationCountOrderByAggregateInput = {
|
|
304
|
-
id?: Prisma.SortOrder
|
|
305
|
-
identifier?: Prisma.SortOrder
|
|
306
|
-
value?: Prisma.SortOrder
|
|
307
|
-
expiresAt?: Prisma.SortOrder
|
|
308
|
-
createdAt?: Prisma.SortOrder
|
|
309
|
-
updatedAt?: Prisma.SortOrder
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export type VerificationMaxOrderByAggregateInput = {
|
|
313
|
-
id?: Prisma.SortOrder
|
|
314
|
-
identifier?: Prisma.SortOrder
|
|
315
|
-
value?: Prisma.SortOrder
|
|
316
|
-
expiresAt?: Prisma.SortOrder
|
|
317
|
-
createdAt?: Prisma.SortOrder
|
|
318
|
-
updatedAt?: Prisma.SortOrder
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
export type VerificationMinOrderByAggregateInput = {
|
|
322
|
-
id?: Prisma.SortOrder
|
|
323
|
-
identifier?: Prisma.SortOrder
|
|
324
|
-
value?: Prisma.SortOrder
|
|
325
|
-
expiresAt?: Prisma.SortOrder
|
|
326
|
-
createdAt?: Prisma.SortOrder
|
|
327
|
-
updatedAt?: Prisma.SortOrder
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
export type VerificationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
333
|
-
id?: boolean
|
|
334
|
-
identifier?: boolean
|
|
335
|
-
value?: boolean
|
|
336
|
-
expiresAt?: boolean
|
|
337
|
-
createdAt?: boolean
|
|
338
|
-
updatedAt?: boolean
|
|
339
|
-
}, ExtArgs["result"]["verification"]>
|
|
340
|
-
|
|
341
|
-
export type VerificationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
342
|
-
id?: boolean
|
|
343
|
-
identifier?: boolean
|
|
344
|
-
value?: boolean
|
|
345
|
-
expiresAt?: boolean
|
|
346
|
-
createdAt?: boolean
|
|
347
|
-
updatedAt?: boolean
|
|
348
|
-
}, ExtArgs["result"]["verification"]>
|
|
349
|
-
|
|
350
|
-
export type VerificationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
351
|
-
id?: boolean
|
|
352
|
-
identifier?: boolean
|
|
353
|
-
value?: boolean
|
|
354
|
-
expiresAt?: boolean
|
|
355
|
-
createdAt?: boolean
|
|
356
|
-
updatedAt?: boolean
|
|
357
|
-
}, ExtArgs["result"]["verification"]>
|
|
358
|
-
|
|
359
|
-
export type VerificationSelectScalar = {
|
|
360
|
-
id?: boolean
|
|
361
|
-
identifier?: boolean
|
|
362
|
-
value?: boolean
|
|
363
|
-
expiresAt?: boolean
|
|
364
|
-
createdAt?: boolean
|
|
365
|
-
updatedAt?: boolean
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
export type VerificationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "identifier" | "value" | "expiresAt" | "createdAt" | "updatedAt", ExtArgs["result"]["verification"]>
|
|
369
|
-
|
|
370
|
-
export type $VerificationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
371
|
-
name: "Verification"
|
|
372
|
-
objects: {}
|
|
373
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
374
|
-
id: string
|
|
375
|
-
identifier: string
|
|
376
|
-
value: string
|
|
377
|
-
expiresAt: Date
|
|
378
|
-
createdAt: Date | null
|
|
379
|
-
updatedAt: Date | null
|
|
380
|
-
}, ExtArgs["result"]["verification"]>
|
|
381
|
-
composites: {}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export type VerificationGetPayload<S extends boolean | null | undefined | VerificationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$VerificationPayload, S>
|
|
385
|
-
|
|
386
|
-
export type VerificationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
387
|
-
Omit<VerificationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
388
|
-
select?: VerificationCountAggregateInputType | true
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
export interface VerificationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
392
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Verification'], meta: { name: 'Verification' } }
|
|
393
|
-
/**
|
|
394
|
-
* Find zero or one Verification that matches the filter.
|
|
395
|
-
* @param {VerificationFindUniqueArgs} args - Arguments to find a Verification
|
|
396
|
-
* @example
|
|
397
|
-
* // Get one Verification
|
|
398
|
-
* const verification = await prisma.verification.findUnique({
|
|
399
|
-
* where: {
|
|
400
|
-
* // ... provide filter here
|
|
401
|
-
* }
|
|
402
|
-
* })
|
|
403
|
-
*/
|
|
404
|
-
findUnique<T extends VerificationFindUniqueArgs>(args: Prisma.SelectSubset<T, VerificationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* Find one Verification that matches the filter or throw an error with `error.code='P2025'`
|
|
408
|
-
* if no matches were found.
|
|
409
|
-
* @param {VerificationFindUniqueOrThrowArgs} args - Arguments to find a Verification
|
|
410
|
-
* @example
|
|
411
|
-
* // Get one Verification
|
|
412
|
-
* const verification = await prisma.verification.findUniqueOrThrow({
|
|
413
|
-
* where: {
|
|
414
|
-
* // ... provide filter here
|
|
415
|
-
* }
|
|
416
|
-
* })
|
|
417
|
-
*/
|
|
418
|
-
findUniqueOrThrow<T extends VerificationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, VerificationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* Find the first Verification that matches the filter.
|
|
422
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
423
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
424
|
-
* @param {VerificationFindFirstArgs} args - Arguments to find a Verification
|
|
425
|
-
* @example
|
|
426
|
-
* // Get one Verification
|
|
427
|
-
* const verification = await prisma.verification.findFirst({
|
|
428
|
-
* where: {
|
|
429
|
-
* // ... provide filter here
|
|
430
|
-
* }
|
|
431
|
-
* })
|
|
432
|
-
*/
|
|
433
|
-
findFirst<T extends VerificationFindFirstArgs>(args?: Prisma.SelectSubset<T, VerificationFindFirstArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* Find the first Verification that matches the filter or
|
|
437
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
438
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
439
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
440
|
-
* @param {VerificationFindFirstOrThrowArgs} args - Arguments to find a Verification
|
|
441
|
-
* @example
|
|
442
|
-
* // Get one Verification
|
|
443
|
-
* const verification = await prisma.verification.findFirstOrThrow({
|
|
444
|
-
* where: {
|
|
445
|
-
* // ... provide filter here
|
|
446
|
-
* }
|
|
447
|
-
* })
|
|
448
|
-
*/
|
|
449
|
-
findFirstOrThrow<T extends VerificationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, VerificationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* Find zero or more Verifications that matches the filter.
|
|
453
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
454
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
455
|
-
* @param {VerificationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
456
|
-
* @example
|
|
457
|
-
* // Get all Verifications
|
|
458
|
-
* const verifications = await prisma.verification.findMany()
|
|
459
|
-
*
|
|
460
|
-
* // Get first 10 Verifications
|
|
461
|
-
* const verifications = await prisma.verification.findMany({ take: 10 })
|
|
462
|
-
*
|
|
463
|
-
* // Only select the `id`
|
|
464
|
-
* const verificationWithIdOnly = await prisma.verification.findMany({ select: { id: true } })
|
|
465
|
-
*
|
|
466
|
-
*/
|
|
467
|
-
findMany<T extends VerificationFindManyArgs>(args?: Prisma.SelectSubset<T, VerificationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* Create a Verification.
|
|
471
|
-
* @param {VerificationCreateArgs} args - Arguments to create a Verification.
|
|
472
|
-
* @example
|
|
473
|
-
* // Create one Verification
|
|
474
|
-
* const Verification = await prisma.verification.create({
|
|
475
|
-
* data: {
|
|
476
|
-
* // ... data to create a Verification
|
|
477
|
-
* }
|
|
478
|
-
* })
|
|
479
|
-
*
|
|
480
|
-
*/
|
|
481
|
-
create<T extends VerificationCreateArgs>(args: Prisma.SelectSubset<T, VerificationCreateArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* Create many Verifications.
|
|
485
|
-
* @param {VerificationCreateManyArgs} args - Arguments to create many Verifications.
|
|
486
|
-
* @example
|
|
487
|
-
* // Create many Verifications
|
|
488
|
-
* const verification = await prisma.verification.createMany({
|
|
489
|
-
* data: [
|
|
490
|
-
* // ... provide data here
|
|
491
|
-
* ]
|
|
492
|
-
* })
|
|
493
|
-
*
|
|
494
|
-
*/
|
|
495
|
-
createMany<T extends VerificationCreateManyArgs>(args?: Prisma.SelectSubset<T, VerificationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* Create many Verifications and returns the data saved in the database.
|
|
499
|
-
* @param {VerificationCreateManyAndReturnArgs} args - Arguments to create many Verifications.
|
|
500
|
-
* @example
|
|
501
|
-
* // Create many Verifications
|
|
502
|
-
* const verification = await prisma.verification.createManyAndReturn({
|
|
503
|
-
* data: [
|
|
504
|
-
* // ... provide data here
|
|
505
|
-
* ]
|
|
506
|
-
* })
|
|
507
|
-
*
|
|
508
|
-
* // Create many Verifications and only return the `id`
|
|
509
|
-
* const verificationWithIdOnly = await prisma.verification.createManyAndReturn({
|
|
510
|
-
* select: { id: true },
|
|
511
|
-
* data: [
|
|
512
|
-
* // ... provide data here
|
|
513
|
-
* ]
|
|
514
|
-
* })
|
|
515
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
516
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
517
|
-
*
|
|
518
|
-
*/
|
|
519
|
-
createManyAndReturn<T extends VerificationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, VerificationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
* Delete a Verification.
|
|
523
|
-
* @param {VerificationDeleteArgs} args - Arguments to delete one Verification.
|
|
524
|
-
* @example
|
|
525
|
-
* // Delete one Verification
|
|
526
|
-
* const Verification = await prisma.verification.delete({
|
|
527
|
-
* where: {
|
|
528
|
-
* // ... filter to delete one Verification
|
|
529
|
-
* }
|
|
530
|
-
* })
|
|
531
|
-
*
|
|
532
|
-
*/
|
|
533
|
-
delete<T extends VerificationDeleteArgs>(args: Prisma.SelectSubset<T, VerificationDeleteArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Update one Verification.
|
|
537
|
-
* @param {VerificationUpdateArgs} args - Arguments to update one Verification.
|
|
538
|
-
* @example
|
|
539
|
-
* // Update one Verification
|
|
540
|
-
* const verification = await prisma.verification.update({
|
|
541
|
-
* where: {
|
|
542
|
-
* // ... provide filter here
|
|
543
|
-
* },
|
|
544
|
-
* data: {
|
|
545
|
-
* // ... provide data here
|
|
546
|
-
* }
|
|
547
|
-
* })
|
|
548
|
-
*
|
|
549
|
-
*/
|
|
550
|
-
update<T extends VerificationUpdateArgs>(args: Prisma.SelectSubset<T, VerificationUpdateArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* Delete zero or more Verifications.
|
|
554
|
-
* @param {VerificationDeleteManyArgs} args - Arguments to filter Verifications to delete.
|
|
555
|
-
* @example
|
|
556
|
-
* // Delete a few Verifications
|
|
557
|
-
* const { count } = await prisma.verification.deleteMany({
|
|
558
|
-
* where: {
|
|
559
|
-
* // ... provide filter here
|
|
560
|
-
* }
|
|
561
|
-
* })
|
|
562
|
-
*
|
|
563
|
-
*/
|
|
564
|
-
deleteMany<T extends VerificationDeleteManyArgs>(args?: Prisma.SelectSubset<T, VerificationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* Update zero or more Verifications.
|
|
568
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
569
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
570
|
-
* @param {VerificationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
571
|
-
* @example
|
|
572
|
-
* // Update many Verifications
|
|
573
|
-
* const verification = await prisma.verification.updateMany({
|
|
574
|
-
* where: {
|
|
575
|
-
* // ... provide filter here
|
|
576
|
-
* },
|
|
577
|
-
* data: {
|
|
578
|
-
* // ... provide data here
|
|
579
|
-
* }
|
|
580
|
-
* })
|
|
581
|
-
*
|
|
582
|
-
*/
|
|
583
|
-
updateMany<T extends VerificationUpdateManyArgs>(args: Prisma.SelectSubset<T, VerificationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* Update zero or more Verifications and returns the data updated in the database.
|
|
587
|
-
* @param {VerificationUpdateManyAndReturnArgs} args - Arguments to update many Verifications.
|
|
588
|
-
* @example
|
|
589
|
-
* // Update many Verifications
|
|
590
|
-
* const verification = await prisma.verification.updateManyAndReturn({
|
|
591
|
-
* where: {
|
|
592
|
-
* // ... provide filter here
|
|
593
|
-
* },
|
|
594
|
-
* data: [
|
|
595
|
-
* // ... provide data here
|
|
596
|
-
* ]
|
|
597
|
-
* })
|
|
598
|
-
*
|
|
599
|
-
* // Update zero or more Verifications and only return the `id`
|
|
600
|
-
* const verificationWithIdOnly = await prisma.verification.updateManyAndReturn({
|
|
601
|
-
* select: { id: true },
|
|
602
|
-
* where: {
|
|
603
|
-
* // ... provide filter here
|
|
604
|
-
* },
|
|
605
|
-
* data: [
|
|
606
|
-
* // ... provide data here
|
|
607
|
-
* ]
|
|
608
|
-
* })
|
|
609
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
610
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
611
|
-
*
|
|
612
|
-
*/
|
|
613
|
-
updateManyAndReturn<T extends VerificationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, VerificationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
614
|
-
|
|
615
|
-
/**
|
|
616
|
-
* Create or update one Verification.
|
|
617
|
-
* @param {VerificationUpsertArgs} args - Arguments to update or create a Verification.
|
|
618
|
-
* @example
|
|
619
|
-
* // Update or create a Verification
|
|
620
|
-
* const verification = await prisma.verification.upsert({
|
|
621
|
-
* create: {
|
|
622
|
-
* // ... data to create a Verification
|
|
623
|
-
* },
|
|
624
|
-
* update: {
|
|
625
|
-
* // ... in case it already exists, update
|
|
626
|
-
* },
|
|
627
|
-
* where: {
|
|
628
|
-
* // ... the filter for the Verification we want to update
|
|
629
|
-
* }
|
|
630
|
-
* })
|
|
631
|
-
*/
|
|
632
|
-
upsert<T extends VerificationUpsertArgs>(args: Prisma.SelectSubset<T, VerificationUpsertArgs<ExtArgs>>): Prisma.Prisma__VerificationClient<runtime.Types.Result.GetResult<Prisma.$VerificationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
/**
|
|
636
|
-
* Count the number of Verifications.
|
|
637
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
638
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
639
|
-
* @param {VerificationCountArgs} args - Arguments to filter Verifications to count.
|
|
640
|
-
* @example
|
|
641
|
-
* // Count the number of Verifications
|
|
642
|
-
* const count = await prisma.verification.count({
|
|
643
|
-
* where: {
|
|
644
|
-
* // ... the filter for the Verifications we want to count
|
|
645
|
-
* }
|
|
646
|
-
* })
|
|
647
|
-
**/
|
|
648
|
-
count<T extends VerificationCountArgs>(
|
|
649
|
-
args?: Prisma.Subset<T, VerificationCountArgs>,
|
|
650
|
-
): Prisma.PrismaPromise<
|
|
651
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
652
|
-
? T['select'] extends true
|
|
653
|
-
? number
|
|
654
|
-
: Prisma.GetScalarType<T['select'], VerificationCountAggregateOutputType>
|
|
655
|
-
: number
|
|
656
|
-
>
|
|
657
|
-
|
|
658
|
-
/**
|
|
659
|
-
* Allows you to perform aggregations operations on a Verification.
|
|
660
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
661
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
662
|
-
* @param {VerificationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
663
|
-
* @example
|
|
664
|
-
* // Ordered by age ascending
|
|
665
|
-
* // Where email contains prisma.io
|
|
666
|
-
* // Limited to the 10 users
|
|
667
|
-
* const aggregations = await prisma.user.aggregate({
|
|
668
|
-
* _avg: {
|
|
669
|
-
* age: true,
|
|
670
|
-
* },
|
|
671
|
-
* where: {
|
|
672
|
-
* email: {
|
|
673
|
-
* contains: "prisma.io",
|
|
674
|
-
* },
|
|
675
|
-
* },
|
|
676
|
-
* orderBy: {
|
|
677
|
-
* age: "asc",
|
|
678
|
-
* },
|
|
679
|
-
* take: 10,
|
|
680
|
-
* })
|
|
681
|
-
**/
|
|
682
|
-
aggregate<T extends VerificationAggregateArgs>(args: Prisma.Subset<T, VerificationAggregateArgs>): Prisma.PrismaPromise<GetVerificationAggregateType<T>>
|
|
683
|
-
|
|
684
|
-
/**
|
|
685
|
-
* Group by Verification.
|
|
686
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
687
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
688
|
-
* @param {VerificationGroupByArgs} args - Group by arguments.
|
|
689
|
-
* @example
|
|
690
|
-
* // Group by city, order by createdAt, get count
|
|
691
|
-
* const result = await prisma.user.groupBy({
|
|
692
|
-
* by: ['city', 'createdAt'],
|
|
693
|
-
* orderBy: {
|
|
694
|
-
* createdAt: true
|
|
695
|
-
* },
|
|
696
|
-
* _count: {
|
|
697
|
-
* _all: true
|
|
698
|
-
* },
|
|
699
|
-
* })
|
|
700
|
-
*
|
|
701
|
-
**/
|
|
702
|
-
groupBy<
|
|
703
|
-
T extends VerificationGroupByArgs,
|
|
704
|
-
HasSelectOrTake extends Prisma.Or<
|
|
705
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
706
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
707
|
-
>,
|
|
708
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
709
|
-
? { orderBy: VerificationGroupByArgs['orderBy'] }
|
|
710
|
-
: { orderBy?: VerificationGroupByArgs['orderBy'] },
|
|
711
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
712
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
713
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
714
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
715
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
716
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
717
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
718
|
-
? `Error: "by" must not be empty.`
|
|
719
|
-
: HavingValid extends Prisma.False
|
|
720
|
-
? {
|
|
721
|
-
[P in HavingFields]: P extends ByFields
|
|
722
|
-
? never
|
|
723
|
-
: P extends string
|
|
724
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
725
|
-
: [
|
|
726
|
-
Error,
|
|
727
|
-
'Field ',
|
|
728
|
-
P,
|
|
729
|
-
` in "having" needs to be provided in "by"`,
|
|
730
|
-
]
|
|
731
|
-
}[HavingFields]
|
|
732
|
-
: 'take' extends Prisma.Keys<T>
|
|
733
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
734
|
-
? ByValid extends Prisma.True
|
|
735
|
-
? {}
|
|
736
|
-
: {
|
|
737
|
-
[P in OrderFields]: P extends ByFields
|
|
738
|
-
? never
|
|
739
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
740
|
-
}[OrderFields]
|
|
741
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
742
|
-
: 'skip' extends Prisma.Keys<T>
|
|
743
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
744
|
-
? ByValid extends Prisma.True
|
|
745
|
-
? {}
|
|
746
|
-
: {
|
|
747
|
-
[P in OrderFields]: P extends ByFields
|
|
748
|
-
? never
|
|
749
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
750
|
-
}[OrderFields]
|
|
751
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
752
|
-
: ByValid extends Prisma.True
|
|
753
|
-
? {}
|
|
754
|
-
: {
|
|
755
|
-
[P in OrderFields]: P extends ByFields
|
|
756
|
-
? never
|
|
757
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
758
|
-
}[OrderFields]
|
|
759
|
-
>(args: Prisma.SubsetIntersection<T, VerificationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVerificationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
760
|
-
/**
|
|
761
|
-
* Fields of the Verification model
|
|
762
|
-
*/
|
|
763
|
-
readonly fields: VerificationFieldRefs;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* The delegate class that acts as a "Promise-like" for Verification.
|
|
768
|
-
* Why is this prefixed with `Prisma__`?
|
|
769
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
770
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
771
|
-
*/
|
|
772
|
-
export interface Prisma__VerificationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
773
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
774
|
-
/**
|
|
775
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
776
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
777
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
778
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
779
|
-
*/
|
|
780
|
-
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>
|
|
781
|
-
/**
|
|
782
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
783
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
784
|
-
* @returns A Promise for the completion of the callback.
|
|
785
|
-
*/
|
|
786
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
787
|
-
/**
|
|
788
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
789
|
-
* resolved value cannot be modified from the callback.
|
|
790
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
791
|
-
* @returns A Promise for the completion of the callback.
|
|
792
|
-
*/
|
|
793
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* Fields of the Verification model
|
|
801
|
-
*/
|
|
802
|
-
export interface VerificationFieldRefs {
|
|
803
|
-
readonly id: Prisma.FieldRef<"Verification", 'String'>
|
|
804
|
-
readonly identifier: Prisma.FieldRef<"Verification", 'String'>
|
|
805
|
-
readonly value: Prisma.FieldRef<"Verification", 'String'>
|
|
806
|
-
readonly expiresAt: Prisma.FieldRef<"Verification", 'DateTime'>
|
|
807
|
-
readonly createdAt: Prisma.FieldRef<"Verification", 'DateTime'>
|
|
808
|
-
readonly updatedAt: Prisma.FieldRef<"Verification", 'DateTime'>
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
// Custom InputTypes
|
|
813
|
-
/**
|
|
814
|
-
* Verification findUnique
|
|
815
|
-
*/
|
|
816
|
-
export type VerificationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
817
|
-
/**
|
|
818
|
-
* Select specific fields to fetch from the Verification
|
|
819
|
-
*/
|
|
820
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
821
|
-
/**
|
|
822
|
-
* Omit specific fields from the Verification
|
|
823
|
-
*/
|
|
824
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
825
|
-
/**
|
|
826
|
-
* Filter, which Verification to fetch.
|
|
827
|
-
*/
|
|
828
|
-
where: Prisma.VerificationWhereUniqueInput
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
* Verification findUniqueOrThrow
|
|
833
|
-
*/
|
|
834
|
-
export type VerificationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
835
|
-
/**
|
|
836
|
-
* Select specific fields to fetch from the Verification
|
|
837
|
-
*/
|
|
838
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
839
|
-
/**
|
|
840
|
-
* Omit specific fields from the Verification
|
|
841
|
-
*/
|
|
842
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
843
|
-
/**
|
|
844
|
-
* Filter, which Verification to fetch.
|
|
845
|
-
*/
|
|
846
|
-
where: Prisma.VerificationWhereUniqueInput
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
/**
|
|
850
|
-
* Verification findFirst
|
|
851
|
-
*/
|
|
852
|
-
export type VerificationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
853
|
-
/**
|
|
854
|
-
* Select specific fields to fetch from the Verification
|
|
855
|
-
*/
|
|
856
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
857
|
-
/**
|
|
858
|
-
* Omit specific fields from the Verification
|
|
859
|
-
*/
|
|
860
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
861
|
-
/**
|
|
862
|
-
* Filter, which Verification to fetch.
|
|
863
|
-
*/
|
|
864
|
-
where?: Prisma.VerificationWhereInput
|
|
865
|
-
/**
|
|
866
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
867
|
-
*
|
|
868
|
-
* Determine the order of Verifications to fetch.
|
|
869
|
-
*/
|
|
870
|
-
orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[]
|
|
871
|
-
/**
|
|
872
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
873
|
-
*
|
|
874
|
-
* Sets the position for searching for Verifications.
|
|
875
|
-
*/
|
|
876
|
-
cursor?: Prisma.VerificationWhereUniqueInput
|
|
877
|
-
/**
|
|
878
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
879
|
-
*
|
|
880
|
-
* Take `±n` Verifications from the position of the cursor.
|
|
881
|
-
*/
|
|
882
|
-
take?: number
|
|
883
|
-
/**
|
|
884
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
885
|
-
*
|
|
886
|
-
* Skip the first `n` Verifications.
|
|
887
|
-
*/
|
|
888
|
-
skip?: number
|
|
889
|
-
/**
|
|
890
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
891
|
-
*
|
|
892
|
-
* Filter by unique combinations of Verifications.
|
|
893
|
-
*/
|
|
894
|
-
distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[]
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* Verification findFirstOrThrow
|
|
899
|
-
*/
|
|
900
|
-
export type VerificationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
901
|
-
/**
|
|
902
|
-
* Select specific fields to fetch from the Verification
|
|
903
|
-
*/
|
|
904
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
905
|
-
/**
|
|
906
|
-
* Omit specific fields from the Verification
|
|
907
|
-
*/
|
|
908
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
909
|
-
/**
|
|
910
|
-
* Filter, which Verification to fetch.
|
|
911
|
-
*/
|
|
912
|
-
where?: Prisma.VerificationWhereInput
|
|
913
|
-
/**
|
|
914
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
915
|
-
*
|
|
916
|
-
* Determine the order of Verifications to fetch.
|
|
917
|
-
*/
|
|
918
|
-
orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[]
|
|
919
|
-
/**
|
|
920
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
921
|
-
*
|
|
922
|
-
* Sets the position for searching for Verifications.
|
|
923
|
-
*/
|
|
924
|
-
cursor?: Prisma.VerificationWhereUniqueInput
|
|
925
|
-
/**
|
|
926
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
927
|
-
*
|
|
928
|
-
* Take `±n` Verifications from the position of the cursor.
|
|
929
|
-
*/
|
|
930
|
-
take?: number
|
|
931
|
-
/**
|
|
932
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
933
|
-
*
|
|
934
|
-
* Skip the first `n` Verifications.
|
|
935
|
-
*/
|
|
936
|
-
skip?: number
|
|
937
|
-
/**
|
|
938
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
939
|
-
*
|
|
940
|
-
* Filter by unique combinations of Verifications.
|
|
941
|
-
*/
|
|
942
|
-
distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[]
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
/**
|
|
946
|
-
* Verification findMany
|
|
947
|
-
*/
|
|
948
|
-
export type VerificationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
949
|
-
/**
|
|
950
|
-
* Select specific fields to fetch from the Verification
|
|
951
|
-
*/
|
|
952
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
953
|
-
/**
|
|
954
|
-
* Omit specific fields from the Verification
|
|
955
|
-
*/
|
|
956
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
957
|
-
/**
|
|
958
|
-
* Filter, which Verifications to fetch.
|
|
959
|
-
*/
|
|
960
|
-
where?: Prisma.VerificationWhereInput
|
|
961
|
-
/**
|
|
962
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
963
|
-
*
|
|
964
|
-
* Determine the order of Verifications to fetch.
|
|
965
|
-
*/
|
|
966
|
-
orderBy?: Prisma.VerificationOrderByWithRelationInput | Prisma.VerificationOrderByWithRelationInput[]
|
|
967
|
-
/**
|
|
968
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
969
|
-
*
|
|
970
|
-
* Sets the position for listing Verifications.
|
|
971
|
-
*/
|
|
972
|
-
cursor?: Prisma.VerificationWhereUniqueInput
|
|
973
|
-
/**
|
|
974
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
975
|
-
*
|
|
976
|
-
* Take `±n` Verifications from the position of the cursor.
|
|
977
|
-
*/
|
|
978
|
-
take?: number
|
|
979
|
-
/**
|
|
980
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
981
|
-
*
|
|
982
|
-
* Skip the first `n` Verifications.
|
|
983
|
-
*/
|
|
984
|
-
skip?: number
|
|
985
|
-
distinct?: Prisma.VerificationScalarFieldEnum | Prisma.VerificationScalarFieldEnum[]
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
/**
|
|
989
|
-
* Verification create
|
|
990
|
-
*/
|
|
991
|
-
export type VerificationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
992
|
-
/**
|
|
993
|
-
* Select specific fields to fetch from the Verification
|
|
994
|
-
*/
|
|
995
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
996
|
-
/**
|
|
997
|
-
* Omit specific fields from the Verification
|
|
998
|
-
*/
|
|
999
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
1000
|
-
/**
|
|
1001
|
-
* The data needed to create a Verification.
|
|
1002
|
-
*/
|
|
1003
|
-
data: Prisma.XOR<Prisma.VerificationCreateInput, Prisma.VerificationUncheckedCreateInput>
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* Verification createMany
|
|
1008
|
-
*/
|
|
1009
|
-
export type VerificationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1010
|
-
/**
|
|
1011
|
-
* The data used to create many Verifications.
|
|
1012
|
-
*/
|
|
1013
|
-
data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[]
|
|
1014
|
-
skipDuplicates?: boolean
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* Verification createManyAndReturn
|
|
1019
|
-
*/
|
|
1020
|
-
export type VerificationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1021
|
-
/**
|
|
1022
|
-
* Select specific fields to fetch from the Verification
|
|
1023
|
-
*/
|
|
1024
|
-
select?: Prisma.VerificationSelectCreateManyAndReturn<ExtArgs> | null
|
|
1025
|
-
/**
|
|
1026
|
-
* Omit specific fields from the Verification
|
|
1027
|
-
*/
|
|
1028
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
1029
|
-
/**
|
|
1030
|
-
* The data used to create many Verifications.
|
|
1031
|
-
*/
|
|
1032
|
-
data: Prisma.VerificationCreateManyInput | Prisma.VerificationCreateManyInput[]
|
|
1033
|
-
skipDuplicates?: boolean
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* Verification update
|
|
1038
|
-
*/
|
|
1039
|
-
export type VerificationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1040
|
-
/**
|
|
1041
|
-
* Select specific fields to fetch from the Verification
|
|
1042
|
-
*/
|
|
1043
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
1044
|
-
/**
|
|
1045
|
-
* Omit specific fields from the Verification
|
|
1046
|
-
*/
|
|
1047
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
1048
|
-
/**
|
|
1049
|
-
* The data needed to update a Verification.
|
|
1050
|
-
*/
|
|
1051
|
-
data: Prisma.XOR<Prisma.VerificationUpdateInput, Prisma.VerificationUncheckedUpdateInput>
|
|
1052
|
-
/**
|
|
1053
|
-
* Choose, which Verification to update.
|
|
1054
|
-
*/
|
|
1055
|
-
where: Prisma.VerificationWhereUniqueInput
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
/**
|
|
1059
|
-
* Verification updateMany
|
|
1060
|
-
*/
|
|
1061
|
-
export type VerificationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1062
|
-
/**
|
|
1063
|
-
* The data used to update Verifications.
|
|
1064
|
-
*/
|
|
1065
|
-
data: Prisma.XOR<Prisma.VerificationUpdateManyMutationInput, Prisma.VerificationUncheckedUpdateManyInput>
|
|
1066
|
-
/**
|
|
1067
|
-
* Filter which Verifications to update
|
|
1068
|
-
*/
|
|
1069
|
-
where?: Prisma.VerificationWhereInput
|
|
1070
|
-
/**
|
|
1071
|
-
* Limit how many Verifications to update.
|
|
1072
|
-
*/
|
|
1073
|
-
limit?: number
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
/**
|
|
1077
|
-
* Verification updateManyAndReturn
|
|
1078
|
-
*/
|
|
1079
|
-
export type VerificationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1080
|
-
/**
|
|
1081
|
-
* Select specific fields to fetch from the Verification
|
|
1082
|
-
*/
|
|
1083
|
-
select?: Prisma.VerificationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1084
|
-
/**
|
|
1085
|
-
* Omit specific fields from the Verification
|
|
1086
|
-
*/
|
|
1087
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
1088
|
-
/**
|
|
1089
|
-
* The data used to update Verifications.
|
|
1090
|
-
*/
|
|
1091
|
-
data: Prisma.XOR<Prisma.VerificationUpdateManyMutationInput, Prisma.VerificationUncheckedUpdateManyInput>
|
|
1092
|
-
/**
|
|
1093
|
-
* Filter which Verifications to update
|
|
1094
|
-
*/
|
|
1095
|
-
where?: Prisma.VerificationWhereInput
|
|
1096
|
-
/**
|
|
1097
|
-
* Limit how many Verifications to update.
|
|
1098
|
-
*/
|
|
1099
|
-
limit?: number
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
* Verification upsert
|
|
1104
|
-
*/
|
|
1105
|
-
export type VerificationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1106
|
-
/**
|
|
1107
|
-
* Select specific fields to fetch from the Verification
|
|
1108
|
-
*/
|
|
1109
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
1110
|
-
/**
|
|
1111
|
-
* Omit specific fields from the Verification
|
|
1112
|
-
*/
|
|
1113
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
1114
|
-
/**
|
|
1115
|
-
* The filter to search for the Verification to update in case it exists.
|
|
1116
|
-
*/
|
|
1117
|
-
where: Prisma.VerificationWhereUniqueInput
|
|
1118
|
-
/**
|
|
1119
|
-
* In case the Verification found by the `where` argument doesn't exist, create a new Verification with this data.
|
|
1120
|
-
*/
|
|
1121
|
-
create: Prisma.XOR<Prisma.VerificationCreateInput, Prisma.VerificationUncheckedCreateInput>
|
|
1122
|
-
/**
|
|
1123
|
-
* In case the Verification was found with the provided `where` argument, update it with this data.
|
|
1124
|
-
*/
|
|
1125
|
-
update: Prisma.XOR<Prisma.VerificationUpdateInput, Prisma.VerificationUncheckedUpdateInput>
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
/**
|
|
1129
|
-
* Verification delete
|
|
1130
|
-
*/
|
|
1131
|
-
export type VerificationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1132
|
-
/**
|
|
1133
|
-
* Select specific fields to fetch from the Verification
|
|
1134
|
-
*/
|
|
1135
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
1136
|
-
/**
|
|
1137
|
-
* Omit specific fields from the Verification
|
|
1138
|
-
*/
|
|
1139
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
1140
|
-
/**
|
|
1141
|
-
* Filter which Verification to delete.
|
|
1142
|
-
*/
|
|
1143
|
-
where: Prisma.VerificationWhereUniqueInput
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
/**
|
|
1147
|
-
* Verification deleteMany
|
|
1148
|
-
*/
|
|
1149
|
-
export type VerificationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1150
|
-
/**
|
|
1151
|
-
* Filter which Verifications to delete
|
|
1152
|
-
*/
|
|
1153
|
-
where?: Prisma.VerificationWhereInput
|
|
1154
|
-
/**
|
|
1155
|
-
* Limit how many Verifications to delete.
|
|
1156
|
-
*/
|
|
1157
|
-
limit?: number
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
/**
|
|
1161
|
-
* Verification without action
|
|
1162
|
-
*/
|
|
1163
|
-
export type VerificationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1164
|
-
/**
|
|
1165
|
-
* Select specific fields to fetch from the Verification
|
|
1166
|
-
*/
|
|
1167
|
-
select?: Prisma.VerificationSelect<ExtArgs> | null
|
|
1168
|
-
/**
|
|
1169
|
-
* Omit specific fields from the Verification
|
|
1170
|
-
*/
|
|
1171
|
-
omit?: Prisma.VerificationOmit<ExtArgs> | null
|
|
1172
|
-
}
|