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