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