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