@naisys/supervisor-database 3.0.0-beta.4 → 3.0.0-beta.6

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.
@@ -1,984 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as Prisma from "../internal/prismaNamespace.js";
3
- /**
4
- * Model SchemaVersion
5
- *
6
- */
7
- export type SchemaVersionModel = runtime.Types.Result.DefaultSelection<Prisma.$SchemaVersionPayload>;
8
- export type AggregateSchemaVersion = {
9
- _count: SchemaVersionCountAggregateOutputType | null;
10
- _avg: SchemaVersionAvgAggregateOutputType | null;
11
- _sum: SchemaVersionSumAggregateOutputType | null;
12
- _min: SchemaVersionMinAggregateOutputType | null;
13
- _max: SchemaVersionMaxAggregateOutputType | null;
14
- };
15
- export type SchemaVersionAvgAggregateOutputType = {
16
- id: number | null;
17
- version: number | null;
18
- };
19
- export type SchemaVersionSumAggregateOutputType = {
20
- id: number | null;
21
- version: number | null;
22
- };
23
- export type SchemaVersionMinAggregateOutputType = {
24
- id: number | null;
25
- version: number | null;
26
- updated: string | null;
27
- };
28
- export type SchemaVersionMaxAggregateOutputType = {
29
- id: number | null;
30
- version: number | null;
31
- updated: string | null;
32
- };
33
- export type SchemaVersionCountAggregateOutputType = {
34
- id: number;
35
- version: number;
36
- updated: number;
37
- _all: number;
38
- };
39
- export type SchemaVersionAvgAggregateInputType = {
40
- id?: true;
41
- version?: true;
42
- };
43
- export type SchemaVersionSumAggregateInputType = {
44
- id?: true;
45
- version?: true;
46
- };
47
- export type SchemaVersionMinAggregateInputType = {
48
- id?: true;
49
- version?: true;
50
- updated?: true;
51
- };
52
- export type SchemaVersionMaxAggregateInputType = {
53
- id?: true;
54
- version?: true;
55
- updated?: true;
56
- };
57
- export type SchemaVersionCountAggregateInputType = {
58
- id?: true;
59
- version?: true;
60
- updated?: true;
61
- _all?: true;
62
- };
63
- export type SchemaVersionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
64
- /**
65
- * Filter which SchemaVersion to aggregate.
66
- */
67
- where?: Prisma.SchemaVersionWhereInput;
68
- /**
69
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
70
- *
71
- * Determine the order of SchemaVersions to fetch.
72
- */
73
- orderBy?: Prisma.SchemaVersionOrderByWithRelationInput | Prisma.SchemaVersionOrderByWithRelationInput[];
74
- /**
75
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
76
- *
77
- * Sets the start position
78
- */
79
- cursor?: Prisma.SchemaVersionWhereUniqueInput;
80
- /**
81
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
82
- *
83
- * Take `±n` SchemaVersions from the position of the cursor.
84
- */
85
- take?: number;
86
- /**
87
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
88
- *
89
- * Skip the first `n` SchemaVersions.
90
- */
91
- skip?: number;
92
- /**
93
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
94
- *
95
- * Count returned SchemaVersions
96
- **/
97
- _count?: true | SchemaVersionCountAggregateInputType;
98
- /**
99
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
100
- *
101
- * Select which fields to average
102
- **/
103
- _avg?: SchemaVersionAvgAggregateInputType;
104
- /**
105
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
106
- *
107
- * Select which fields to sum
108
- **/
109
- _sum?: SchemaVersionSumAggregateInputType;
110
- /**
111
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
112
- *
113
- * Select which fields to find the minimum value
114
- **/
115
- _min?: SchemaVersionMinAggregateInputType;
116
- /**
117
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
118
- *
119
- * Select which fields to find the maximum value
120
- **/
121
- _max?: SchemaVersionMaxAggregateInputType;
122
- };
123
- export type GetSchemaVersionAggregateType<T extends SchemaVersionAggregateArgs> = {
124
- [P in keyof T & keyof AggregateSchemaVersion]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSchemaVersion[P]> : Prisma.GetScalarType<T[P], AggregateSchemaVersion[P]>;
125
- };
126
- export type SchemaVersionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
127
- where?: Prisma.SchemaVersionWhereInput;
128
- orderBy?: Prisma.SchemaVersionOrderByWithAggregationInput | Prisma.SchemaVersionOrderByWithAggregationInput[];
129
- by: Prisma.SchemaVersionScalarFieldEnum[] | Prisma.SchemaVersionScalarFieldEnum;
130
- having?: Prisma.SchemaVersionScalarWhereWithAggregatesInput;
131
- take?: number;
132
- skip?: number;
133
- _count?: SchemaVersionCountAggregateInputType | true;
134
- _avg?: SchemaVersionAvgAggregateInputType;
135
- _sum?: SchemaVersionSumAggregateInputType;
136
- _min?: SchemaVersionMinAggregateInputType;
137
- _max?: SchemaVersionMaxAggregateInputType;
138
- };
139
- export type SchemaVersionGroupByOutputType = {
140
- id: number;
141
- version: number;
142
- updated: string;
143
- _count: SchemaVersionCountAggregateOutputType | null;
144
- _avg: SchemaVersionAvgAggregateOutputType | null;
145
- _sum: SchemaVersionSumAggregateOutputType | null;
146
- _min: SchemaVersionMinAggregateOutputType | null;
147
- _max: SchemaVersionMaxAggregateOutputType | null;
148
- };
149
- export type GetSchemaVersionGroupByPayload<T extends SchemaVersionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<SchemaVersionGroupByOutputType, T['by']> & {
150
- [P in ((keyof T) & (keyof SchemaVersionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], SchemaVersionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], SchemaVersionGroupByOutputType[P]>;
151
- }>>;
152
- export type SchemaVersionWhereInput = {
153
- AND?: Prisma.SchemaVersionWhereInput | Prisma.SchemaVersionWhereInput[];
154
- OR?: Prisma.SchemaVersionWhereInput[];
155
- NOT?: Prisma.SchemaVersionWhereInput | Prisma.SchemaVersionWhereInput[];
156
- id?: Prisma.IntFilter<"SchemaVersion"> | number;
157
- version?: Prisma.IntFilter<"SchemaVersion"> | number;
158
- updated?: Prisma.StringFilter<"SchemaVersion"> | string;
159
- };
160
- export type SchemaVersionOrderByWithRelationInput = {
161
- id?: Prisma.SortOrder;
162
- version?: Prisma.SortOrder;
163
- updated?: Prisma.SortOrder;
164
- };
165
- export type SchemaVersionWhereUniqueInput = Prisma.AtLeast<{
166
- id?: number;
167
- AND?: Prisma.SchemaVersionWhereInput | Prisma.SchemaVersionWhereInput[];
168
- OR?: Prisma.SchemaVersionWhereInput[];
169
- NOT?: Prisma.SchemaVersionWhereInput | Prisma.SchemaVersionWhereInput[];
170
- version?: Prisma.IntFilter<"SchemaVersion"> | number;
171
- updated?: Prisma.StringFilter<"SchemaVersion"> | string;
172
- }, "id">;
173
- export type SchemaVersionOrderByWithAggregationInput = {
174
- id?: Prisma.SortOrder;
175
- version?: Prisma.SortOrder;
176
- updated?: Prisma.SortOrder;
177
- _count?: Prisma.SchemaVersionCountOrderByAggregateInput;
178
- _avg?: Prisma.SchemaVersionAvgOrderByAggregateInput;
179
- _max?: Prisma.SchemaVersionMaxOrderByAggregateInput;
180
- _min?: Prisma.SchemaVersionMinOrderByAggregateInput;
181
- _sum?: Prisma.SchemaVersionSumOrderByAggregateInput;
182
- };
183
- export type SchemaVersionScalarWhereWithAggregatesInput = {
184
- AND?: Prisma.SchemaVersionScalarWhereWithAggregatesInput | Prisma.SchemaVersionScalarWhereWithAggregatesInput[];
185
- OR?: Prisma.SchemaVersionScalarWhereWithAggregatesInput[];
186
- NOT?: Prisma.SchemaVersionScalarWhereWithAggregatesInput | Prisma.SchemaVersionScalarWhereWithAggregatesInput[];
187
- id?: Prisma.IntWithAggregatesFilter<"SchemaVersion"> | number;
188
- version?: Prisma.IntWithAggregatesFilter<"SchemaVersion"> | number;
189
- updated?: Prisma.StringWithAggregatesFilter<"SchemaVersion"> | string;
190
- };
191
- export type SchemaVersionCreateInput = {
192
- id?: number;
193
- version: number;
194
- updated: string;
195
- };
196
- export type SchemaVersionUncheckedCreateInput = {
197
- id?: number;
198
- version: number;
199
- updated: string;
200
- };
201
- export type SchemaVersionUpdateInput = {
202
- id?: Prisma.IntFieldUpdateOperationsInput | number;
203
- version?: Prisma.IntFieldUpdateOperationsInput | number;
204
- updated?: Prisma.StringFieldUpdateOperationsInput | string;
205
- };
206
- export type SchemaVersionUncheckedUpdateInput = {
207
- id?: Prisma.IntFieldUpdateOperationsInput | number;
208
- version?: Prisma.IntFieldUpdateOperationsInput | number;
209
- updated?: Prisma.StringFieldUpdateOperationsInput | string;
210
- };
211
- export type SchemaVersionCreateManyInput = {
212
- id?: number;
213
- version: number;
214
- updated: string;
215
- };
216
- export type SchemaVersionUpdateManyMutationInput = {
217
- id?: Prisma.IntFieldUpdateOperationsInput | number;
218
- version?: Prisma.IntFieldUpdateOperationsInput | number;
219
- updated?: Prisma.StringFieldUpdateOperationsInput | string;
220
- };
221
- export type SchemaVersionUncheckedUpdateManyInput = {
222
- id?: Prisma.IntFieldUpdateOperationsInput | number;
223
- version?: Prisma.IntFieldUpdateOperationsInput | number;
224
- updated?: Prisma.StringFieldUpdateOperationsInput | string;
225
- };
226
- export type SchemaVersionCountOrderByAggregateInput = {
227
- id?: Prisma.SortOrder;
228
- version?: Prisma.SortOrder;
229
- updated?: Prisma.SortOrder;
230
- };
231
- export type SchemaVersionAvgOrderByAggregateInput = {
232
- id?: Prisma.SortOrder;
233
- version?: Prisma.SortOrder;
234
- };
235
- export type SchemaVersionMaxOrderByAggregateInput = {
236
- id?: Prisma.SortOrder;
237
- version?: Prisma.SortOrder;
238
- updated?: Prisma.SortOrder;
239
- };
240
- export type SchemaVersionMinOrderByAggregateInput = {
241
- id?: Prisma.SortOrder;
242
- version?: Prisma.SortOrder;
243
- updated?: Prisma.SortOrder;
244
- };
245
- export type SchemaVersionSumOrderByAggregateInput = {
246
- id?: Prisma.SortOrder;
247
- version?: Prisma.SortOrder;
248
- };
249
- export type SchemaVersionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
250
- id?: boolean;
251
- version?: boolean;
252
- updated?: boolean;
253
- }, ExtArgs["result"]["schemaVersion"]>;
254
- export type SchemaVersionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
255
- id?: boolean;
256
- version?: boolean;
257
- updated?: boolean;
258
- }, ExtArgs["result"]["schemaVersion"]>;
259
- export type SchemaVersionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
260
- id?: boolean;
261
- version?: boolean;
262
- updated?: boolean;
263
- }, ExtArgs["result"]["schemaVersion"]>;
264
- export type SchemaVersionSelectScalar = {
265
- id?: boolean;
266
- version?: boolean;
267
- updated?: boolean;
268
- };
269
- export type SchemaVersionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "version" | "updated", ExtArgs["result"]["schemaVersion"]>;
270
- export type $SchemaVersionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
271
- name: "SchemaVersion";
272
- objects: {};
273
- scalars: runtime.Types.Extensions.GetPayloadResult<{
274
- id: number;
275
- version: number;
276
- updated: string;
277
- }, ExtArgs["result"]["schemaVersion"]>;
278
- composites: {};
279
- };
280
- export type SchemaVersionGetPayload<S extends boolean | null | undefined | SchemaVersionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload, S>;
281
- export type SchemaVersionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<SchemaVersionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
282
- select?: SchemaVersionCountAggregateInputType | true;
283
- };
284
- export interface SchemaVersionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
285
- [K: symbol]: {
286
- types: Prisma.TypeMap<ExtArgs>['model']['SchemaVersion'];
287
- meta: {
288
- name: 'SchemaVersion';
289
- };
290
- };
291
- /**
292
- * Find zero or one SchemaVersion that matches the filter.
293
- * @param {SchemaVersionFindUniqueArgs} args - Arguments to find a SchemaVersion
294
- * @example
295
- * // Get one SchemaVersion
296
- * const schemaVersion = await prisma.schemaVersion.findUnique({
297
- * where: {
298
- * // ... provide filter here
299
- * }
300
- * })
301
- */
302
- findUnique<T extends SchemaVersionFindUniqueArgs>(args: Prisma.SelectSubset<T, SchemaVersionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SchemaVersionClient<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
303
- /**
304
- * Find one SchemaVersion that matches the filter or throw an error with `error.code='P2025'`
305
- * if no matches were found.
306
- * @param {SchemaVersionFindUniqueOrThrowArgs} args - Arguments to find a SchemaVersion
307
- * @example
308
- * // Get one SchemaVersion
309
- * const schemaVersion = await prisma.schemaVersion.findUniqueOrThrow({
310
- * where: {
311
- * // ... provide filter here
312
- * }
313
- * })
314
- */
315
- findUniqueOrThrow<T extends SchemaVersionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SchemaVersionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SchemaVersionClient<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
316
- /**
317
- * Find the first SchemaVersion that matches the filter.
318
- * Note, that providing `undefined` is treated as the value not being there.
319
- * Read more here: https://pris.ly/d/null-undefined
320
- * @param {SchemaVersionFindFirstArgs} args - Arguments to find a SchemaVersion
321
- * @example
322
- * // Get one SchemaVersion
323
- * const schemaVersion = await prisma.schemaVersion.findFirst({
324
- * where: {
325
- * // ... provide filter here
326
- * }
327
- * })
328
- */
329
- findFirst<T extends SchemaVersionFindFirstArgs>(args?: Prisma.SelectSubset<T, SchemaVersionFindFirstArgs<ExtArgs>>): Prisma.Prisma__SchemaVersionClient<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
330
- /**
331
- * Find the first SchemaVersion that matches the filter or
332
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
333
- * Note, that providing `undefined` is treated as the value not being there.
334
- * Read more here: https://pris.ly/d/null-undefined
335
- * @param {SchemaVersionFindFirstOrThrowArgs} args - Arguments to find a SchemaVersion
336
- * @example
337
- * // Get one SchemaVersion
338
- * const schemaVersion = await prisma.schemaVersion.findFirstOrThrow({
339
- * where: {
340
- * // ... provide filter here
341
- * }
342
- * })
343
- */
344
- findFirstOrThrow<T extends SchemaVersionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SchemaVersionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SchemaVersionClient<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
345
- /**
346
- * Find zero or more SchemaVersions that matches the filter.
347
- * Note, that providing `undefined` is treated as the value not being there.
348
- * Read more here: https://pris.ly/d/null-undefined
349
- * @param {SchemaVersionFindManyArgs} args - Arguments to filter and select certain fields only.
350
- * @example
351
- * // Get all SchemaVersions
352
- * const schemaVersions = await prisma.schemaVersion.findMany()
353
- *
354
- * // Get first 10 SchemaVersions
355
- * const schemaVersions = await prisma.schemaVersion.findMany({ take: 10 })
356
- *
357
- * // Only select the `id`
358
- * const schemaVersionWithIdOnly = await prisma.schemaVersion.findMany({ select: { id: true } })
359
- *
360
- */
361
- findMany<T extends SchemaVersionFindManyArgs>(args?: Prisma.SelectSubset<T, SchemaVersionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
362
- /**
363
- * Create a SchemaVersion.
364
- * @param {SchemaVersionCreateArgs} args - Arguments to create a SchemaVersion.
365
- * @example
366
- * // Create one SchemaVersion
367
- * const SchemaVersion = await prisma.schemaVersion.create({
368
- * data: {
369
- * // ... data to create a SchemaVersion
370
- * }
371
- * })
372
- *
373
- */
374
- create<T extends SchemaVersionCreateArgs>(args: Prisma.SelectSubset<T, SchemaVersionCreateArgs<ExtArgs>>): Prisma.Prisma__SchemaVersionClient<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
375
- /**
376
- * Create many SchemaVersions.
377
- * @param {SchemaVersionCreateManyArgs} args - Arguments to create many SchemaVersions.
378
- * @example
379
- * // Create many SchemaVersions
380
- * const schemaVersion = await prisma.schemaVersion.createMany({
381
- * data: [
382
- * // ... provide data here
383
- * ]
384
- * })
385
- *
386
- */
387
- createMany<T extends SchemaVersionCreateManyArgs>(args?: Prisma.SelectSubset<T, SchemaVersionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
388
- /**
389
- * Create many SchemaVersions and returns the data saved in the database.
390
- * @param {SchemaVersionCreateManyAndReturnArgs} args - Arguments to create many SchemaVersions.
391
- * @example
392
- * // Create many SchemaVersions
393
- * const schemaVersion = await prisma.schemaVersion.createManyAndReturn({
394
- * data: [
395
- * // ... provide data here
396
- * ]
397
- * })
398
- *
399
- * // Create many SchemaVersions and only return the `id`
400
- * const schemaVersionWithIdOnly = await prisma.schemaVersion.createManyAndReturn({
401
- * select: { id: true },
402
- * data: [
403
- * // ... provide data here
404
- * ]
405
- * })
406
- * Note, that providing `undefined` is treated as the value not being there.
407
- * Read more here: https://pris.ly/d/null-undefined
408
- *
409
- */
410
- createManyAndReturn<T extends SchemaVersionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SchemaVersionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
411
- /**
412
- * Delete a SchemaVersion.
413
- * @param {SchemaVersionDeleteArgs} args - Arguments to delete one SchemaVersion.
414
- * @example
415
- * // Delete one SchemaVersion
416
- * const SchemaVersion = await prisma.schemaVersion.delete({
417
- * where: {
418
- * // ... filter to delete one SchemaVersion
419
- * }
420
- * })
421
- *
422
- */
423
- delete<T extends SchemaVersionDeleteArgs>(args: Prisma.SelectSubset<T, SchemaVersionDeleteArgs<ExtArgs>>): Prisma.Prisma__SchemaVersionClient<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
424
- /**
425
- * Update one SchemaVersion.
426
- * @param {SchemaVersionUpdateArgs} args - Arguments to update one SchemaVersion.
427
- * @example
428
- * // Update one SchemaVersion
429
- * const schemaVersion = await prisma.schemaVersion.update({
430
- * where: {
431
- * // ... provide filter here
432
- * },
433
- * data: {
434
- * // ... provide data here
435
- * }
436
- * })
437
- *
438
- */
439
- update<T extends SchemaVersionUpdateArgs>(args: Prisma.SelectSubset<T, SchemaVersionUpdateArgs<ExtArgs>>): Prisma.Prisma__SchemaVersionClient<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
440
- /**
441
- * Delete zero or more SchemaVersions.
442
- * @param {SchemaVersionDeleteManyArgs} args - Arguments to filter SchemaVersions to delete.
443
- * @example
444
- * // Delete a few SchemaVersions
445
- * const { count } = await prisma.schemaVersion.deleteMany({
446
- * where: {
447
- * // ... provide filter here
448
- * }
449
- * })
450
- *
451
- */
452
- deleteMany<T extends SchemaVersionDeleteManyArgs>(args?: Prisma.SelectSubset<T, SchemaVersionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
453
- /**
454
- * Update zero or more SchemaVersions.
455
- * Note, that providing `undefined` is treated as the value not being there.
456
- * Read more here: https://pris.ly/d/null-undefined
457
- * @param {SchemaVersionUpdateManyArgs} args - Arguments to update one or more rows.
458
- * @example
459
- * // Update many SchemaVersions
460
- * const schemaVersion = await prisma.schemaVersion.updateMany({
461
- * where: {
462
- * // ... provide filter here
463
- * },
464
- * data: {
465
- * // ... provide data here
466
- * }
467
- * })
468
- *
469
- */
470
- updateMany<T extends SchemaVersionUpdateManyArgs>(args: Prisma.SelectSubset<T, SchemaVersionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
471
- /**
472
- * Update zero or more SchemaVersions and returns the data updated in the database.
473
- * @param {SchemaVersionUpdateManyAndReturnArgs} args - Arguments to update many SchemaVersions.
474
- * @example
475
- * // Update many SchemaVersions
476
- * const schemaVersion = await prisma.schemaVersion.updateManyAndReturn({
477
- * where: {
478
- * // ... provide filter here
479
- * },
480
- * data: [
481
- * // ... provide data here
482
- * ]
483
- * })
484
- *
485
- * // Update zero or more SchemaVersions and only return the `id`
486
- * const schemaVersionWithIdOnly = await prisma.schemaVersion.updateManyAndReturn({
487
- * select: { id: true },
488
- * where: {
489
- * // ... provide filter here
490
- * },
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
- updateManyAndReturn<T extends SchemaVersionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SchemaVersionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
500
- /**
501
- * Create or update one SchemaVersion.
502
- * @param {SchemaVersionUpsertArgs} args - Arguments to update or create a SchemaVersion.
503
- * @example
504
- * // Update or create a SchemaVersion
505
- * const schemaVersion = await prisma.schemaVersion.upsert({
506
- * create: {
507
- * // ... data to create a SchemaVersion
508
- * },
509
- * update: {
510
- * // ... in case it already exists, update
511
- * },
512
- * where: {
513
- * // ... the filter for the SchemaVersion we want to update
514
- * }
515
- * })
516
- */
517
- upsert<T extends SchemaVersionUpsertArgs>(args: Prisma.SelectSubset<T, SchemaVersionUpsertArgs<ExtArgs>>): Prisma.Prisma__SchemaVersionClient<runtime.Types.Result.GetResult<Prisma.$SchemaVersionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
518
- /**
519
- * Count the number of SchemaVersions.
520
- * Note, that providing `undefined` is treated as the value not being there.
521
- * Read more here: https://pris.ly/d/null-undefined
522
- * @param {SchemaVersionCountArgs} args - Arguments to filter SchemaVersions to count.
523
- * @example
524
- * // Count the number of SchemaVersions
525
- * const count = await prisma.schemaVersion.count({
526
- * where: {
527
- * // ... the filter for the SchemaVersions we want to count
528
- * }
529
- * })
530
- **/
531
- count<T extends SchemaVersionCountArgs>(args?: Prisma.Subset<T, SchemaVersionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], SchemaVersionCountAggregateOutputType> : number>;
532
- /**
533
- * Allows you to perform aggregations operations on a SchemaVersion.
534
- * Note, that providing `undefined` is treated as the value not being there.
535
- * Read more here: https://pris.ly/d/null-undefined
536
- * @param {SchemaVersionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
537
- * @example
538
- * // Ordered by age ascending
539
- * // Where email contains prisma.io
540
- * // Limited to the 10 users
541
- * const aggregations = await prisma.user.aggregate({
542
- * _avg: {
543
- * age: true,
544
- * },
545
- * where: {
546
- * email: {
547
- * contains: "prisma.io",
548
- * },
549
- * },
550
- * orderBy: {
551
- * age: "asc",
552
- * },
553
- * take: 10,
554
- * })
555
- **/
556
- aggregate<T extends SchemaVersionAggregateArgs>(args: Prisma.Subset<T, SchemaVersionAggregateArgs>): Prisma.PrismaPromise<GetSchemaVersionAggregateType<T>>;
557
- /**
558
- * Group by SchemaVersion.
559
- * Note, that providing `undefined` is treated as the value not being there.
560
- * Read more here: https://pris.ly/d/null-undefined
561
- * @param {SchemaVersionGroupByArgs} args - Group by arguments.
562
- * @example
563
- * // Group by city, order by createdAt, get count
564
- * const result = await prisma.user.groupBy({
565
- * by: ['city', 'createdAt'],
566
- * orderBy: {
567
- * createdAt: true
568
- * },
569
- * _count: {
570
- * _all: true
571
- * },
572
- * })
573
- *
574
- **/
575
- groupBy<T extends SchemaVersionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
576
- orderBy: SchemaVersionGroupByArgs['orderBy'];
577
- } : {
578
- orderBy?: SchemaVersionGroupByArgs['orderBy'];
579
- }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
580
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
581
- Error,
582
- 'Field ',
583
- P,
584
- ` in "having" needs to be provided in "by"`
585
- ];
586
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
587
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
588
- }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
589
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
590
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
591
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
592
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, SchemaVersionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSchemaVersionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
593
- /**
594
- * Fields of the SchemaVersion model
595
- */
596
- readonly fields: SchemaVersionFieldRefs;
597
- }
598
- /**
599
- * The delegate class that acts as a "Promise-like" for SchemaVersion.
600
- * Why is this prefixed with `Prisma__`?
601
- * Because we want to prevent naming conflicts as mentioned in
602
- * https://github.com/prisma/prisma-client-js/issues/707
603
- */
604
- export interface Prisma__SchemaVersionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
605
- readonly [Symbol.toStringTag]: "PrismaPromise";
606
- /**
607
- * Attaches callbacks for the resolution and/or rejection of the Promise.
608
- * @param onfulfilled The callback to execute when the Promise is resolved.
609
- * @param onrejected The callback to execute when the Promise is rejected.
610
- * @returns A Promise for the completion of which ever callback is executed.
611
- */
612
- 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>;
613
- /**
614
- * Attaches a callback for only the rejection of the Promise.
615
- * @param onrejected The callback to execute when the Promise is rejected.
616
- * @returns A Promise for the completion of the callback.
617
- */
618
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
619
- /**
620
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
621
- * resolved value cannot be modified from the callback.
622
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
623
- * @returns A Promise for the completion of the callback.
624
- */
625
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
626
- }
627
- /**
628
- * Fields of the SchemaVersion model
629
- */
630
- export interface SchemaVersionFieldRefs {
631
- readonly id: Prisma.FieldRef<"SchemaVersion", 'Int'>;
632
- readonly version: Prisma.FieldRef<"SchemaVersion", 'Int'>;
633
- readonly updated: Prisma.FieldRef<"SchemaVersion", 'String'>;
634
- }
635
- /**
636
- * SchemaVersion findUnique
637
- */
638
- export type SchemaVersionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
639
- /**
640
- * Select specific fields to fetch from the SchemaVersion
641
- */
642
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
643
- /**
644
- * Omit specific fields from the SchemaVersion
645
- */
646
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
647
- /**
648
- * Filter, which SchemaVersion to fetch.
649
- */
650
- where: Prisma.SchemaVersionWhereUniqueInput;
651
- };
652
- /**
653
- * SchemaVersion findUniqueOrThrow
654
- */
655
- export type SchemaVersionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
656
- /**
657
- * Select specific fields to fetch from the SchemaVersion
658
- */
659
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
660
- /**
661
- * Omit specific fields from the SchemaVersion
662
- */
663
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
664
- /**
665
- * Filter, which SchemaVersion to fetch.
666
- */
667
- where: Prisma.SchemaVersionWhereUniqueInput;
668
- };
669
- /**
670
- * SchemaVersion findFirst
671
- */
672
- export type SchemaVersionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
673
- /**
674
- * Select specific fields to fetch from the SchemaVersion
675
- */
676
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
677
- /**
678
- * Omit specific fields from the SchemaVersion
679
- */
680
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
681
- /**
682
- * Filter, which SchemaVersion to fetch.
683
- */
684
- where?: Prisma.SchemaVersionWhereInput;
685
- /**
686
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
687
- *
688
- * Determine the order of SchemaVersions to fetch.
689
- */
690
- orderBy?: Prisma.SchemaVersionOrderByWithRelationInput | Prisma.SchemaVersionOrderByWithRelationInput[];
691
- /**
692
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
693
- *
694
- * Sets the position for searching for SchemaVersions.
695
- */
696
- cursor?: Prisma.SchemaVersionWhereUniqueInput;
697
- /**
698
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
699
- *
700
- * Take `±n` SchemaVersions from the position of the cursor.
701
- */
702
- take?: number;
703
- /**
704
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
705
- *
706
- * Skip the first `n` SchemaVersions.
707
- */
708
- skip?: number;
709
- /**
710
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
711
- *
712
- * Filter by unique combinations of SchemaVersions.
713
- */
714
- distinct?: Prisma.SchemaVersionScalarFieldEnum | Prisma.SchemaVersionScalarFieldEnum[];
715
- };
716
- /**
717
- * SchemaVersion findFirstOrThrow
718
- */
719
- export type SchemaVersionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
720
- /**
721
- * Select specific fields to fetch from the SchemaVersion
722
- */
723
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
724
- /**
725
- * Omit specific fields from the SchemaVersion
726
- */
727
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
728
- /**
729
- * Filter, which SchemaVersion to fetch.
730
- */
731
- where?: Prisma.SchemaVersionWhereInput;
732
- /**
733
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
734
- *
735
- * Determine the order of SchemaVersions to fetch.
736
- */
737
- orderBy?: Prisma.SchemaVersionOrderByWithRelationInput | Prisma.SchemaVersionOrderByWithRelationInput[];
738
- /**
739
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
740
- *
741
- * Sets the position for searching for SchemaVersions.
742
- */
743
- cursor?: Prisma.SchemaVersionWhereUniqueInput;
744
- /**
745
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
746
- *
747
- * Take `±n` SchemaVersions from the position of the cursor.
748
- */
749
- take?: number;
750
- /**
751
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
752
- *
753
- * Skip the first `n` SchemaVersions.
754
- */
755
- skip?: number;
756
- /**
757
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
758
- *
759
- * Filter by unique combinations of SchemaVersions.
760
- */
761
- distinct?: Prisma.SchemaVersionScalarFieldEnum | Prisma.SchemaVersionScalarFieldEnum[];
762
- };
763
- /**
764
- * SchemaVersion findMany
765
- */
766
- export type SchemaVersionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
767
- /**
768
- * Select specific fields to fetch from the SchemaVersion
769
- */
770
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
771
- /**
772
- * Omit specific fields from the SchemaVersion
773
- */
774
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
775
- /**
776
- * Filter, which SchemaVersions to fetch.
777
- */
778
- where?: Prisma.SchemaVersionWhereInput;
779
- /**
780
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
781
- *
782
- * Determine the order of SchemaVersions to fetch.
783
- */
784
- orderBy?: Prisma.SchemaVersionOrderByWithRelationInput | Prisma.SchemaVersionOrderByWithRelationInput[];
785
- /**
786
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
787
- *
788
- * Sets the position for listing SchemaVersions.
789
- */
790
- cursor?: Prisma.SchemaVersionWhereUniqueInput;
791
- /**
792
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
793
- *
794
- * Take `±n` SchemaVersions from the position of the cursor.
795
- */
796
- take?: number;
797
- /**
798
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
799
- *
800
- * Skip the first `n` SchemaVersions.
801
- */
802
- skip?: number;
803
- /**
804
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
805
- *
806
- * Filter by unique combinations of SchemaVersions.
807
- */
808
- distinct?: Prisma.SchemaVersionScalarFieldEnum | Prisma.SchemaVersionScalarFieldEnum[];
809
- };
810
- /**
811
- * SchemaVersion create
812
- */
813
- export type SchemaVersionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
814
- /**
815
- * Select specific fields to fetch from the SchemaVersion
816
- */
817
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
818
- /**
819
- * Omit specific fields from the SchemaVersion
820
- */
821
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
822
- /**
823
- * The data needed to create a SchemaVersion.
824
- */
825
- data: Prisma.XOR<Prisma.SchemaVersionCreateInput, Prisma.SchemaVersionUncheckedCreateInput>;
826
- };
827
- /**
828
- * SchemaVersion createMany
829
- */
830
- export type SchemaVersionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
831
- /**
832
- * The data used to create many SchemaVersions.
833
- */
834
- data: Prisma.SchemaVersionCreateManyInput | Prisma.SchemaVersionCreateManyInput[];
835
- };
836
- /**
837
- * SchemaVersion createManyAndReturn
838
- */
839
- export type SchemaVersionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
840
- /**
841
- * Select specific fields to fetch from the SchemaVersion
842
- */
843
- select?: Prisma.SchemaVersionSelectCreateManyAndReturn<ExtArgs> | null;
844
- /**
845
- * Omit specific fields from the SchemaVersion
846
- */
847
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
848
- /**
849
- * The data used to create many SchemaVersions.
850
- */
851
- data: Prisma.SchemaVersionCreateManyInput | Prisma.SchemaVersionCreateManyInput[];
852
- };
853
- /**
854
- * SchemaVersion update
855
- */
856
- export type SchemaVersionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
857
- /**
858
- * Select specific fields to fetch from the SchemaVersion
859
- */
860
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
861
- /**
862
- * Omit specific fields from the SchemaVersion
863
- */
864
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
865
- /**
866
- * The data needed to update a SchemaVersion.
867
- */
868
- data: Prisma.XOR<Prisma.SchemaVersionUpdateInput, Prisma.SchemaVersionUncheckedUpdateInput>;
869
- /**
870
- * Choose, which SchemaVersion to update.
871
- */
872
- where: Prisma.SchemaVersionWhereUniqueInput;
873
- };
874
- /**
875
- * SchemaVersion updateMany
876
- */
877
- export type SchemaVersionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
878
- /**
879
- * The data used to update SchemaVersions.
880
- */
881
- data: Prisma.XOR<Prisma.SchemaVersionUpdateManyMutationInput, Prisma.SchemaVersionUncheckedUpdateManyInput>;
882
- /**
883
- * Filter which SchemaVersions to update
884
- */
885
- where?: Prisma.SchemaVersionWhereInput;
886
- /**
887
- * Limit how many SchemaVersions to update.
888
- */
889
- limit?: number;
890
- };
891
- /**
892
- * SchemaVersion updateManyAndReturn
893
- */
894
- export type SchemaVersionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
895
- /**
896
- * Select specific fields to fetch from the SchemaVersion
897
- */
898
- select?: Prisma.SchemaVersionSelectUpdateManyAndReturn<ExtArgs> | null;
899
- /**
900
- * Omit specific fields from the SchemaVersion
901
- */
902
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
903
- /**
904
- * The data used to update SchemaVersions.
905
- */
906
- data: Prisma.XOR<Prisma.SchemaVersionUpdateManyMutationInput, Prisma.SchemaVersionUncheckedUpdateManyInput>;
907
- /**
908
- * Filter which SchemaVersions to update
909
- */
910
- where?: Prisma.SchemaVersionWhereInput;
911
- /**
912
- * Limit how many SchemaVersions to update.
913
- */
914
- limit?: number;
915
- };
916
- /**
917
- * SchemaVersion upsert
918
- */
919
- export type SchemaVersionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
920
- /**
921
- * Select specific fields to fetch from the SchemaVersion
922
- */
923
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
924
- /**
925
- * Omit specific fields from the SchemaVersion
926
- */
927
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
928
- /**
929
- * The filter to search for the SchemaVersion to update in case it exists.
930
- */
931
- where: Prisma.SchemaVersionWhereUniqueInput;
932
- /**
933
- * In case the SchemaVersion found by the `where` argument doesn't exist, create a new SchemaVersion with this data.
934
- */
935
- create: Prisma.XOR<Prisma.SchemaVersionCreateInput, Prisma.SchemaVersionUncheckedCreateInput>;
936
- /**
937
- * In case the SchemaVersion was found with the provided `where` argument, update it with this data.
938
- */
939
- update: Prisma.XOR<Prisma.SchemaVersionUpdateInput, Prisma.SchemaVersionUncheckedUpdateInput>;
940
- };
941
- /**
942
- * SchemaVersion delete
943
- */
944
- export type SchemaVersionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
945
- /**
946
- * Select specific fields to fetch from the SchemaVersion
947
- */
948
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
949
- /**
950
- * Omit specific fields from the SchemaVersion
951
- */
952
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
953
- /**
954
- * Filter which SchemaVersion to delete.
955
- */
956
- where: Prisma.SchemaVersionWhereUniqueInput;
957
- };
958
- /**
959
- * SchemaVersion deleteMany
960
- */
961
- export type SchemaVersionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
962
- /**
963
- * Filter which SchemaVersions to delete
964
- */
965
- where?: Prisma.SchemaVersionWhereInput;
966
- /**
967
- * Limit how many SchemaVersions to delete.
968
- */
969
- limit?: number;
970
- };
971
- /**
972
- * SchemaVersion without action
973
- */
974
- export type SchemaVersionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
975
- /**
976
- * Select specific fields to fetch from the SchemaVersion
977
- */
978
- select?: Prisma.SchemaVersionSelect<ExtArgs> | null;
979
- /**
980
- * Omit specific fields from the SchemaVersion
981
- */
982
- omit?: Prisma.SchemaVersionOmit<ExtArgs> | null;
983
- };
984
- //# sourceMappingURL=SchemaVersion.d.ts.map