@koalarx/nest-cli 1.2.21 → 1.2.24

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