morio_bridge 0.1.0 → 0.1.1

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