@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.
Files changed (33) hide show
  1. package/dist/index.d.ts +11282 -20
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +5507 -117
  4. package/dist/index.js.map +1 -1
  5. package/package.json +6 -6
  6. package/prisma/schema.prisma +2 -2
  7. package/src/db/client.ts +20 -2
  8. package/src/db/prisma.ts +3 -0
  9. package/src/db/syncAppCatalog.ts +1 -1
  10. package/src/db/tableSyncMagazine.ts +1 -1
  11. package/src/db/tableSyncPrismaAdapter.ts +2 -3
  12. package/src/generated/prisma/browser.ts +59 -0
  13. package/src/generated/prisma/client.ts +83 -0
  14. package/src/generated/prisma/commonInputTypes.ts +658 -0
  15. package/src/generated/prisma/enums.ts +26 -0
  16. package/src/generated/prisma/internal/class.ts +274 -0
  17. package/src/generated/prisma/internal/prismaNamespace.ts +1506 -0
  18. package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +250 -0
  19. package/src/generated/prisma/models/DbAppForCatalog.ts +1490 -0
  20. package/src/generated/prisma/models/DbAppTagDefinition.ts +1199 -0
  21. package/src/generated/prisma/models/DbApprovalMethod.ts +1181 -0
  22. package/src/generated/prisma/models/DbAsset.ts +1394 -0
  23. package/src/generated/prisma/models/account.ts +1632 -0
  24. package/src/generated/prisma/models/session.ts +1447 -0
  25. package/src/generated/prisma/models/user.ts +1562 -0
  26. package/src/generated/prisma/models/verification.ts +1180 -0
  27. package/src/generated/prisma/models.ts +19 -0
  28. package/src/generated/prisma/pjtg.ts +183 -0
  29. package/src/index.ts +3 -0
  30. package/src/middleware/database.ts +13 -2
  31. package/src/modules/approvalMethod/approvalMethodRouter.ts +1 -1
  32. package/src/modules/approvalMethod/syncApprovalMethods.ts +1 -1
  33. package/src/modules/assets/upsertAsset.ts +1 -1
@@ -0,0 +1,1490 @@
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 `DbAppForCatalog` 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 DbAppForCatalog
19
+ *
20
+ */
21
+ export type DbAppForCatalogModel = runtime.Types.Result.DefaultSelection<Prisma.$DbAppForCatalogPayload>
22
+
23
+ export type AggregateDbAppForCatalog = {
24
+ _count: DbAppForCatalogCountAggregateOutputType | null
25
+ _min: DbAppForCatalogMinAggregateOutputType | null
26
+ _max: DbAppForCatalogMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type DbAppForCatalogMinAggregateOutputType = {
30
+ id: string | null
31
+ slug: string | null
32
+ displayName: string | null
33
+ description: string | null
34
+ notes: string | null
35
+ appUrl: string | null
36
+ iconName: string | null
37
+ createdAt: Date | null
38
+ updatedAt: Date | null
39
+ }
40
+
41
+ export type DbAppForCatalogMaxAggregateOutputType = {
42
+ id: string | null
43
+ slug: string | null
44
+ displayName: string | null
45
+ description: string | null
46
+ notes: string | null
47
+ appUrl: string | null
48
+ iconName: string | null
49
+ createdAt: Date | null
50
+ updatedAt: Date | null
51
+ }
52
+
53
+ export type DbAppForCatalogCountAggregateOutputType = {
54
+ id: number
55
+ slug: number
56
+ displayName: number
57
+ description: number
58
+ access:PrismaJson.AccessMethod
59
+ teams: number
60
+ accessRequest:PrismaJson.AppAccessRequest
61
+ notes: number
62
+ tags: number
63
+ appUrl: number
64
+ links:PrismaJson.AppLink[]
65
+ iconName: number
66
+ screenshotIds: number
67
+ deprecated:PrismaJson.AppDeprecation
68
+ sources: number
69
+ createdAt: number
70
+ updatedAt: number
71
+ _all: number
72
+ }
73
+
74
+
75
+ export type DbAppForCatalogMinAggregateInputType = {
76
+ id?: true
77
+ slug?: true
78
+ displayName?: true
79
+ description?: true
80
+ notes?: true
81
+ appUrl?: true
82
+ iconName?: true
83
+ createdAt?: true
84
+ updatedAt?: true
85
+ }
86
+
87
+ export type DbAppForCatalogMaxAggregateInputType = {
88
+ id?: true
89
+ slug?: true
90
+ displayName?: true
91
+ description?: true
92
+ notes?: true
93
+ appUrl?: true
94
+ iconName?: true
95
+ createdAt?: true
96
+ updatedAt?: true
97
+ }
98
+
99
+ export type DbAppForCatalogCountAggregateInputType = {
100
+ id?: true
101
+ slug?: true
102
+ displayName?: true
103
+ description?: true
104
+ access?: true
105
+ teams?: true
106
+ accessRequest?: true
107
+ notes?: true
108
+ tags?: true
109
+ appUrl?: true
110
+ links?: true
111
+ iconName?: true
112
+ screenshotIds?: true
113
+ deprecated?: true
114
+ sources?: true
115
+ createdAt?: true
116
+ updatedAt?: true
117
+ _all?: true
118
+ }
119
+
120
+ export type DbAppForCatalogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
121
+ /**
122
+ * Filter which DbAppForCatalog to aggregate.
123
+ */
124
+ where?: Prisma.DbAppForCatalogWhereInput
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
127
+ *
128
+ * Determine the order of DbAppForCatalogs to fetch.
129
+ */
130
+ orderBy?: Prisma.DbAppForCatalogOrderByWithRelationInput | Prisma.DbAppForCatalogOrderByWithRelationInput[]
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
133
+ *
134
+ * Sets the start position
135
+ */
136
+ cursor?: Prisma.DbAppForCatalogWhereUniqueInput
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
139
+ *
140
+ * Take `±n` DbAppForCatalogs from the position of the cursor.
141
+ */
142
+ take?: number
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
145
+ *
146
+ * Skip the first `n` DbAppForCatalogs.
147
+ */
148
+ skip?: number
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
+ *
152
+ * Count returned DbAppForCatalogs
153
+ **/
154
+ _count?: true | DbAppForCatalogCountAggregateInputType
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
+ *
158
+ * Select which fields to find the minimum value
159
+ **/
160
+ _min?: DbAppForCatalogMinAggregateInputType
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
+ *
164
+ * Select which fields to find the maximum value
165
+ **/
166
+ _max?: DbAppForCatalogMaxAggregateInputType
167
+ }
168
+
169
+ export type GetDbAppForCatalogAggregateType<T extends DbAppForCatalogAggregateArgs> = {
170
+ [P in keyof T & keyof AggregateDbAppForCatalog]: P extends '_count' | 'count'
171
+ ? T[P] extends true
172
+ ? number
173
+ : Prisma.GetScalarType<T[P], AggregateDbAppForCatalog[P]>
174
+ : Prisma.GetScalarType<T[P], AggregateDbAppForCatalog[P]>
175
+ }
176
+
177
+
178
+
179
+
180
+ export type DbAppForCatalogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
181
+ where?: Prisma.DbAppForCatalogWhereInput
182
+ orderBy?: Prisma.DbAppForCatalogOrderByWithAggregationInput | Prisma.DbAppForCatalogOrderByWithAggregationInput[]
183
+ by: Prisma.DbAppForCatalogScalarFieldEnum[] | Prisma.DbAppForCatalogScalarFieldEnum
184
+ having?: Prisma.DbAppForCatalogScalarWhereWithAggregatesInput
185
+ take?: number
186
+ skip?: number
187
+ _count?: DbAppForCatalogCountAggregateInputType | true
188
+ _min?: DbAppForCatalogMinAggregateInputType
189
+ _max?: DbAppForCatalogMaxAggregateInputType
190
+ }
191
+
192
+ export type DbAppForCatalogGroupByOutputType = {
193
+ id: string
194
+ slug: string
195
+ displayName: string
196
+ description: string
197
+ access:PrismaJson.AccessMethod | null
198
+ teams: string[]
199
+ accessRequest:PrismaJson.AppAccessRequest | null
200
+ notes: string | null
201
+ tags: string[]
202
+ appUrl: string | null
203
+ links:PrismaJson.AppLink[] | null
204
+ iconName: string | null
205
+ screenshotIds: string[]
206
+ deprecated:PrismaJson.AppDeprecation | null
207
+ sources: string[]
208
+ createdAt: Date
209
+ updatedAt: Date
210
+ _count: DbAppForCatalogCountAggregateOutputType | null
211
+ _min: DbAppForCatalogMinAggregateOutputType | null
212
+ _max: DbAppForCatalogMaxAggregateOutputType | null
213
+ }
214
+
215
+ type GetDbAppForCatalogGroupByPayload<T extends DbAppForCatalogGroupByArgs> = Prisma.PrismaPromise<
216
+ Array<
217
+ Prisma.PickEnumerable<DbAppForCatalogGroupByOutputType, T['by']> &
218
+ {
219
+ [P in ((keyof T) & (keyof DbAppForCatalogGroupByOutputType))]: P extends '_count'
220
+ ? T[P] extends boolean
221
+ ? number
222
+ : Prisma.GetScalarType<T[P], DbAppForCatalogGroupByOutputType[P]>
223
+ : Prisma.GetScalarType<T[P], DbAppForCatalogGroupByOutputType[P]>
224
+ }
225
+ >
226
+ >
227
+
228
+
229
+
230
+ export type DbAppForCatalogWhereInput = {
231
+ AND?: Prisma.DbAppForCatalogWhereInput | Prisma.DbAppForCatalogWhereInput[]
232
+ OR?: Prisma.DbAppForCatalogWhereInput[]
233
+ NOT?: Prisma.DbAppForCatalogWhereInput | Prisma.DbAppForCatalogWhereInput[]
234
+ id?: Prisma.StringFilter<"DbAppForCatalog"> | string
235
+ slug?: Prisma.StringFilter<"DbAppForCatalog"> | string
236
+ displayName?: Prisma.StringFilter<"DbAppForCatalog"> | string
237
+ description?: Prisma.StringFilter<"DbAppForCatalog"> | string
238
+ access?: Prisma.JsonNullableFilter<"DbAppForCatalog">
239
+ teams?: Prisma.StringNullableListFilter<"DbAppForCatalog">
240
+ accessRequest?: Prisma.JsonNullableFilter<"DbAppForCatalog">
241
+ notes?: Prisma.StringNullableFilter<"DbAppForCatalog"> | string | null
242
+ tags?: Prisma.StringNullableListFilter<"DbAppForCatalog">
243
+ appUrl?: Prisma.StringNullableFilter<"DbAppForCatalog"> | string | null
244
+ links?: Prisma.JsonNullableFilter<"DbAppForCatalog">
245
+ iconName?: Prisma.StringNullableFilter<"DbAppForCatalog"> | string | null
246
+ screenshotIds?: Prisma.StringNullableListFilter<"DbAppForCatalog">
247
+ deprecated?: Prisma.JsonNullableFilter<"DbAppForCatalog">
248
+ sources?: Prisma.StringNullableListFilter<"DbAppForCatalog">
249
+ createdAt?: Prisma.DateTimeFilter<"DbAppForCatalog"> | Date | string
250
+ updatedAt?: Prisma.DateTimeFilter<"DbAppForCatalog"> | Date | string
251
+ }
252
+
253
+ export type DbAppForCatalogOrderByWithRelationInput = {
254
+ id?: Prisma.SortOrder
255
+ slug?: Prisma.SortOrder
256
+ displayName?: Prisma.SortOrder
257
+ description?: Prisma.SortOrder
258
+ access?: Prisma.SortOrderInput | Prisma.SortOrder
259
+ teams?: Prisma.SortOrder
260
+ accessRequest?: Prisma.SortOrderInput | Prisma.SortOrder
261
+ notes?: Prisma.SortOrderInput | Prisma.SortOrder
262
+ tags?: Prisma.SortOrder
263
+ appUrl?: Prisma.SortOrderInput | Prisma.SortOrder
264
+ links?: Prisma.SortOrderInput | Prisma.SortOrder
265
+ iconName?: Prisma.SortOrderInput | Prisma.SortOrder
266
+ screenshotIds?: Prisma.SortOrder
267
+ deprecated?: Prisma.SortOrderInput | Prisma.SortOrder
268
+ sources?: Prisma.SortOrder
269
+ createdAt?: Prisma.SortOrder
270
+ updatedAt?: Prisma.SortOrder
271
+ }
272
+
273
+ export type DbAppForCatalogWhereUniqueInput = Prisma.AtLeast<{
274
+ id?: string
275
+ slug?: string
276
+ AND?: Prisma.DbAppForCatalogWhereInput | Prisma.DbAppForCatalogWhereInput[]
277
+ OR?: Prisma.DbAppForCatalogWhereInput[]
278
+ NOT?: Prisma.DbAppForCatalogWhereInput | Prisma.DbAppForCatalogWhereInput[]
279
+ displayName?: Prisma.StringFilter<"DbAppForCatalog"> | string
280
+ description?: Prisma.StringFilter<"DbAppForCatalog"> | string
281
+ access?: Prisma.JsonNullableFilter<"DbAppForCatalog">
282
+ teams?: Prisma.StringNullableListFilter<"DbAppForCatalog">
283
+ accessRequest?: Prisma.JsonNullableFilter<"DbAppForCatalog">
284
+ notes?: Prisma.StringNullableFilter<"DbAppForCatalog"> | string | null
285
+ tags?: Prisma.StringNullableListFilter<"DbAppForCatalog">
286
+ appUrl?: Prisma.StringNullableFilter<"DbAppForCatalog"> | string | null
287
+ links?: Prisma.JsonNullableFilter<"DbAppForCatalog">
288
+ iconName?: Prisma.StringNullableFilter<"DbAppForCatalog"> | string | null
289
+ screenshotIds?: Prisma.StringNullableListFilter<"DbAppForCatalog">
290
+ deprecated?: Prisma.JsonNullableFilter<"DbAppForCatalog">
291
+ sources?: Prisma.StringNullableListFilter<"DbAppForCatalog">
292
+ createdAt?: Prisma.DateTimeFilter<"DbAppForCatalog"> | Date | string
293
+ updatedAt?: Prisma.DateTimeFilter<"DbAppForCatalog"> | Date | string
294
+ }, "id" | "slug">
295
+
296
+ export type DbAppForCatalogOrderByWithAggregationInput = {
297
+ id?: Prisma.SortOrder
298
+ slug?: Prisma.SortOrder
299
+ displayName?: Prisma.SortOrder
300
+ description?: Prisma.SortOrder
301
+ access?: Prisma.SortOrderInput | Prisma.SortOrder
302
+ teams?: Prisma.SortOrder
303
+ accessRequest?: Prisma.SortOrderInput | Prisma.SortOrder
304
+ notes?: Prisma.SortOrderInput | Prisma.SortOrder
305
+ tags?: Prisma.SortOrder
306
+ appUrl?: Prisma.SortOrderInput | Prisma.SortOrder
307
+ links?: Prisma.SortOrderInput | Prisma.SortOrder
308
+ iconName?: Prisma.SortOrderInput | Prisma.SortOrder
309
+ screenshotIds?: Prisma.SortOrder
310
+ deprecated?: Prisma.SortOrderInput | Prisma.SortOrder
311
+ sources?: Prisma.SortOrder
312
+ createdAt?: Prisma.SortOrder
313
+ updatedAt?: Prisma.SortOrder
314
+ _count?: Prisma.DbAppForCatalogCountOrderByAggregateInput
315
+ _max?: Prisma.DbAppForCatalogMaxOrderByAggregateInput
316
+ _min?: Prisma.DbAppForCatalogMinOrderByAggregateInput
317
+ }
318
+
319
+ export type DbAppForCatalogScalarWhereWithAggregatesInput = {
320
+ AND?: Prisma.DbAppForCatalogScalarWhereWithAggregatesInput | Prisma.DbAppForCatalogScalarWhereWithAggregatesInput[]
321
+ OR?: Prisma.DbAppForCatalogScalarWhereWithAggregatesInput[]
322
+ NOT?: Prisma.DbAppForCatalogScalarWhereWithAggregatesInput | Prisma.DbAppForCatalogScalarWhereWithAggregatesInput[]
323
+ id?: Prisma.StringWithAggregatesFilter<"DbAppForCatalog"> | string
324
+ slug?: Prisma.StringWithAggregatesFilter<"DbAppForCatalog"> | string
325
+ displayName?: Prisma.StringWithAggregatesFilter<"DbAppForCatalog"> | string
326
+ description?: Prisma.StringWithAggregatesFilter<"DbAppForCatalog"> | string
327
+ access?: Prisma.JsonNullableWithAggregatesFilter<"DbAppForCatalog">
328
+ teams?: Prisma.StringNullableListFilter<"DbAppForCatalog">
329
+ accessRequest?: Prisma.JsonNullableWithAggregatesFilter<"DbAppForCatalog">
330
+ notes?: Prisma.StringNullableWithAggregatesFilter<"DbAppForCatalog"> | string | null
331
+ tags?: Prisma.StringNullableListFilter<"DbAppForCatalog">
332
+ appUrl?: Prisma.StringNullableWithAggregatesFilter<"DbAppForCatalog"> | string | null
333
+ links?: Prisma.JsonNullableWithAggregatesFilter<"DbAppForCatalog">
334
+ iconName?: Prisma.StringNullableWithAggregatesFilter<"DbAppForCatalog"> | string | null
335
+ screenshotIds?: Prisma.StringNullableListFilter<"DbAppForCatalog">
336
+ deprecated?: Prisma.JsonNullableWithAggregatesFilter<"DbAppForCatalog">
337
+ sources?: Prisma.StringNullableListFilter<"DbAppForCatalog">
338
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"DbAppForCatalog"> | Date | string
339
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DbAppForCatalog"> | Date | string
340
+ }
341
+
342
+ export type DbAppForCatalogCreateInput = {
343
+ id?: string
344
+ slug: string
345
+ displayName: string
346
+ description: string
347
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
348
+ teams?: Prisma.DbAppForCatalogCreateteamsInput | string[]
349
+ accessRequest?:PrismaJson.AppAccessRequest | Prisma.NullableJsonNullValueInput
350
+ notes?: string | null
351
+ tags?: Prisma.DbAppForCatalogCreatetagsInput | string[]
352
+ appUrl?: string | null
353
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
354
+ iconName?: string | null
355
+ screenshotIds?: Prisma.DbAppForCatalogCreatescreenshotIdsInput | string[]
356
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
357
+ sources?: Prisma.DbAppForCatalogCreatesourcesInput | string[]
358
+ createdAt?: Date | string
359
+ updatedAt?: Date | string
360
+ }
361
+
362
+ export type DbAppForCatalogUncheckedCreateInput = {
363
+ id?: string
364
+ slug: string
365
+ displayName: string
366
+ description: string
367
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
368
+ teams?: Prisma.DbAppForCatalogCreateteamsInput | string[]
369
+ accessRequest?:PrismaJson.AppAccessRequest | Prisma.NullableJsonNullValueInput
370
+ notes?: string | null
371
+ tags?: Prisma.DbAppForCatalogCreatetagsInput | string[]
372
+ appUrl?: string | null
373
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
374
+ iconName?: string | null
375
+ screenshotIds?: Prisma.DbAppForCatalogCreatescreenshotIdsInput | string[]
376
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
377
+ sources?: Prisma.DbAppForCatalogCreatesourcesInput | string[]
378
+ createdAt?: Date | string
379
+ updatedAt?: Date | string
380
+ }
381
+
382
+ export type DbAppForCatalogUpdateInput = {
383
+ id?: Prisma.StringFieldUpdateOperationsInput | string
384
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
385
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
386
+ description?: Prisma.StringFieldUpdateOperationsInput | string
387
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
388
+ teams?: Prisma.DbAppForCatalogUpdateteamsInput | string[]
389
+ accessRequest?:PrismaJson.AppAccessRequest | Prisma.NullableJsonNullValueInput
390
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
391
+ tags?: Prisma.DbAppForCatalogUpdatetagsInput | string[]
392
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
393
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
394
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
395
+ screenshotIds?: Prisma.DbAppForCatalogUpdatescreenshotIdsInput | string[]
396
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
397
+ sources?: Prisma.DbAppForCatalogUpdatesourcesInput | string[]
398
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
399
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
400
+ }
401
+
402
+ export type DbAppForCatalogUncheckedUpdateInput = {
403
+ id?: Prisma.StringFieldUpdateOperationsInput | string
404
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
405
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
406
+ description?: Prisma.StringFieldUpdateOperationsInput | string
407
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
408
+ teams?: Prisma.DbAppForCatalogUpdateteamsInput | string[]
409
+ accessRequest?:PrismaJson.AppAccessRequest | Prisma.NullableJsonNullValueInput
410
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
411
+ tags?: Prisma.DbAppForCatalogUpdatetagsInput | string[]
412
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
413
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
414
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
415
+ screenshotIds?: Prisma.DbAppForCatalogUpdatescreenshotIdsInput | string[]
416
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
417
+ sources?: Prisma.DbAppForCatalogUpdatesourcesInput | string[]
418
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
419
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
420
+ }
421
+
422
+ export type DbAppForCatalogCreateManyInput = {
423
+ id?: string
424
+ slug: string
425
+ displayName: string
426
+ description: string
427
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
428
+ teams?: Prisma.DbAppForCatalogCreateteamsInput | string[]
429
+ accessRequest?:PrismaJson.AppAccessRequest | Prisma.NullableJsonNullValueInput
430
+ notes?: string | null
431
+ tags?: Prisma.DbAppForCatalogCreatetagsInput | string[]
432
+ appUrl?: string | null
433
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
434
+ iconName?: string | null
435
+ screenshotIds?: Prisma.DbAppForCatalogCreatescreenshotIdsInput | string[]
436
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
437
+ sources?: Prisma.DbAppForCatalogCreatesourcesInput | string[]
438
+ createdAt?: Date | string
439
+ updatedAt?: Date | string
440
+ }
441
+
442
+ export type DbAppForCatalogUpdateManyMutationInput = {
443
+ id?: Prisma.StringFieldUpdateOperationsInput | string
444
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
445
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
446
+ description?: Prisma.StringFieldUpdateOperationsInput | string
447
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
448
+ teams?: Prisma.DbAppForCatalogUpdateteamsInput | string[]
449
+ accessRequest?:PrismaJson.AppAccessRequest | Prisma.NullableJsonNullValueInput
450
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
451
+ tags?: Prisma.DbAppForCatalogUpdatetagsInput | string[]
452
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
453
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
454
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
455
+ screenshotIds?: Prisma.DbAppForCatalogUpdatescreenshotIdsInput | string[]
456
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
457
+ sources?: Prisma.DbAppForCatalogUpdatesourcesInput | string[]
458
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
459
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
460
+ }
461
+
462
+ export type DbAppForCatalogUncheckedUpdateManyInput = {
463
+ id?: Prisma.StringFieldUpdateOperationsInput | string
464
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
465
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
466
+ description?: Prisma.StringFieldUpdateOperationsInput | string
467
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
468
+ teams?: Prisma.DbAppForCatalogUpdateteamsInput | string[]
469
+ accessRequest?:PrismaJson.AppAccessRequest | Prisma.NullableJsonNullValueInput
470
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
471
+ tags?: Prisma.DbAppForCatalogUpdatetagsInput | string[]
472
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
473
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
474
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
475
+ screenshotIds?: Prisma.DbAppForCatalogUpdatescreenshotIdsInput | string[]
476
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
477
+ sources?: Prisma.DbAppForCatalogUpdatesourcesInput | string[]
478
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
479
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
480
+ }
481
+
482
+ export type StringNullableListFilter<$PrismaModel = never> = {
483
+ equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
484
+ has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
485
+ hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
486
+ hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
487
+ isEmpty?: boolean
488
+ }
489
+
490
+ export type DbAppForCatalogCountOrderByAggregateInput = {
491
+ id?: Prisma.SortOrder
492
+ slug?: Prisma.SortOrder
493
+ displayName?: Prisma.SortOrder
494
+ description?: Prisma.SortOrder
495
+ access?: Prisma.SortOrder
496
+ teams?: Prisma.SortOrder
497
+ accessRequest?: Prisma.SortOrder
498
+ notes?: Prisma.SortOrder
499
+ tags?: Prisma.SortOrder
500
+ appUrl?: Prisma.SortOrder
501
+ links?: Prisma.SortOrder
502
+ iconName?: Prisma.SortOrder
503
+ screenshotIds?: Prisma.SortOrder
504
+ deprecated?: Prisma.SortOrder
505
+ sources?: Prisma.SortOrder
506
+ createdAt?: Prisma.SortOrder
507
+ updatedAt?: Prisma.SortOrder
508
+ }
509
+
510
+ export type DbAppForCatalogMaxOrderByAggregateInput = {
511
+ id?: Prisma.SortOrder
512
+ slug?: Prisma.SortOrder
513
+ displayName?: Prisma.SortOrder
514
+ description?: Prisma.SortOrder
515
+ notes?: Prisma.SortOrder
516
+ appUrl?: Prisma.SortOrder
517
+ iconName?: Prisma.SortOrder
518
+ createdAt?: Prisma.SortOrder
519
+ updatedAt?: Prisma.SortOrder
520
+ }
521
+
522
+ export type DbAppForCatalogMinOrderByAggregateInput = {
523
+ id?: Prisma.SortOrder
524
+ slug?: Prisma.SortOrder
525
+ displayName?: Prisma.SortOrder
526
+ description?: Prisma.SortOrder
527
+ notes?: Prisma.SortOrder
528
+ appUrl?: Prisma.SortOrder
529
+ iconName?: Prisma.SortOrder
530
+ createdAt?: Prisma.SortOrder
531
+ updatedAt?: Prisma.SortOrder
532
+ }
533
+
534
+ export type DbAppForCatalogCreateteamsInput = {
535
+ set: string[]
536
+ }
537
+
538
+ export type DbAppForCatalogCreatetagsInput = {
539
+ set: string[]
540
+ }
541
+
542
+ export type DbAppForCatalogCreatescreenshotIdsInput = {
543
+ set: string[]
544
+ }
545
+
546
+ export type DbAppForCatalogCreatesourcesInput = {
547
+ set: string[]
548
+ }
549
+
550
+ export type DbAppForCatalogUpdateteamsInput = {
551
+ set?: string[]
552
+ push?: string | string[]
553
+ }
554
+
555
+ export type DbAppForCatalogUpdatetagsInput = {
556
+ set?: string[]
557
+ push?: string | string[]
558
+ }
559
+
560
+ export type DbAppForCatalogUpdatescreenshotIdsInput = {
561
+ set?: string[]
562
+ push?: string | string[]
563
+ }
564
+
565
+ export type DbAppForCatalogUpdatesourcesInput = {
566
+ set?: string[]
567
+ push?: string | string[]
568
+ }
569
+
570
+
571
+
572
+ export type DbAppForCatalogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
573
+ id?: boolean
574
+ slug?: boolean
575
+ displayName?: boolean
576
+ description?: boolean
577
+ access?: boolean
578
+ teams?: boolean
579
+ accessRequest?: boolean
580
+ notes?: boolean
581
+ tags?: boolean
582
+ appUrl?: boolean
583
+ links?: boolean
584
+ iconName?: boolean
585
+ screenshotIds?: boolean
586
+ deprecated?: boolean
587
+ sources?: boolean
588
+ createdAt?: boolean
589
+ updatedAt?: boolean
590
+ }, ExtArgs["result"]["dbAppForCatalog"]>
591
+
592
+ export type DbAppForCatalogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
593
+ id?: boolean
594
+ slug?: boolean
595
+ displayName?: boolean
596
+ description?: boolean
597
+ access?: boolean
598
+ teams?: boolean
599
+ accessRequest?: boolean
600
+ notes?: boolean
601
+ tags?: boolean
602
+ appUrl?: boolean
603
+ links?: boolean
604
+ iconName?: boolean
605
+ screenshotIds?: boolean
606
+ deprecated?: boolean
607
+ sources?: boolean
608
+ createdAt?: boolean
609
+ updatedAt?: boolean
610
+ }, ExtArgs["result"]["dbAppForCatalog"]>
611
+
612
+ export type DbAppForCatalogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
613
+ id?: boolean
614
+ slug?: boolean
615
+ displayName?: boolean
616
+ description?: boolean
617
+ access?: boolean
618
+ teams?: boolean
619
+ accessRequest?: boolean
620
+ notes?: boolean
621
+ tags?: boolean
622
+ appUrl?: boolean
623
+ links?: boolean
624
+ iconName?: boolean
625
+ screenshotIds?: boolean
626
+ deprecated?: boolean
627
+ sources?: boolean
628
+ createdAt?: boolean
629
+ updatedAt?: boolean
630
+ }, ExtArgs["result"]["dbAppForCatalog"]>
631
+
632
+ export type DbAppForCatalogSelectScalar = {
633
+ id?: boolean
634
+ slug?: boolean
635
+ displayName?: boolean
636
+ description?: boolean
637
+ access?: boolean
638
+ teams?: boolean
639
+ accessRequest?: boolean
640
+ notes?: boolean
641
+ tags?: boolean
642
+ appUrl?: boolean
643
+ links?: boolean
644
+ iconName?: boolean
645
+ screenshotIds?: boolean
646
+ deprecated?: boolean
647
+ sources?: boolean
648
+ createdAt?: boolean
649
+ updatedAt?: boolean
650
+ }
651
+
652
+ export type DbAppForCatalogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "slug" | "displayName" | "description" | "access" | "teams" | "accessRequest" | "notes" | "tags" | "appUrl" | "links" | "iconName" | "screenshotIds" | "deprecated" | "sources" | "createdAt" | "updatedAt", ExtArgs["result"]["dbAppForCatalog"]>
653
+
654
+ export type $DbAppForCatalogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
655
+ name: "DbAppForCatalog"
656
+ objects: {}
657
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
658
+ id: string
659
+ slug: string
660
+ displayName: string
661
+ description: string
662
+ /**
663
+ * [AccessMethod]
664
+ */
665
+ access:PrismaJson.AccessMethod | null
666
+ teams: string[]
667
+ /**
668
+ * [AppAccessRequest] - Per-app approval configuration linking to ApprovalMethod
669
+ */
670
+ accessRequest:PrismaJson.AppAccessRequest | null
671
+ notes: string | null
672
+ tags: string[]
673
+ appUrl: string | null
674
+ /**
675
+ * [AppLink[]]
676
+ */
677
+ links:PrismaJson.AppLink[] | null
678
+ iconName: string | null
679
+ screenshotIds: string[]
680
+ /**
681
+ * [AppDeprecation] - Deprecation info with optional replacement slug
682
+ */
683
+ deprecated:PrismaJson.AppDeprecation | null
684
+ sources: string[]
685
+ createdAt: Date
686
+ updatedAt: Date
687
+ }, ExtArgs["result"]["dbAppForCatalog"]>
688
+ composites: {}
689
+ }
690
+
691
+ export type DbAppForCatalogGetPayload<S extends boolean | null | undefined | DbAppForCatalogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload, S>
692
+
693
+ export type DbAppForCatalogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
694
+ Omit<DbAppForCatalogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
695
+ select?: DbAppForCatalogCountAggregateInputType | true
696
+ }
697
+
698
+ export interface DbAppForCatalogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
699
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DbAppForCatalog'], meta: { name: 'DbAppForCatalog' } }
700
+ /**
701
+ * Find zero or one DbAppForCatalog that matches the filter.
702
+ * @param {DbAppForCatalogFindUniqueArgs} args - Arguments to find a DbAppForCatalog
703
+ * @example
704
+ * // Get one DbAppForCatalog
705
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.findUnique({
706
+ * where: {
707
+ * // ... provide filter here
708
+ * }
709
+ * })
710
+ */
711
+ findUnique<T extends DbAppForCatalogFindUniqueArgs>(args: Prisma.SelectSubset<T, DbAppForCatalogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DbAppForCatalogClient<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
712
+
713
+ /**
714
+ * Find one DbAppForCatalog that matches the filter or throw an error with `error.code='P2025'`
715
+ * if no matches were found.
716
+ * @param {DbAppForCatalogFindUniqueOrThrowArgs} args - Arguments to find a DbAppForCatalog
717
+ * @example
718
+ * // Get one DbAppForCatalog
719
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.findUniqueOrThrow({
720
+ * where: {
721
+ * // ... provide filter here
722
+ * }
723
+ * })
724
+ */
725
+ findUniqueOrThrow<T extends DbAppForCatalogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DbAppForCatalogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbAppForCatalogClient<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
726
+
727
+ /**
728
+ * Find the first DbAppForCatalog that matches the filter.
729
+ * Note, that providing `undefined` is treated as the value not being there.
730
+ * Read more here: https://pris.ly/d/null-undefined
731
+ * @param {DbAppForCatalogFindFirstArgs} args - Arguments to find a DbAppForCatalog
732
+ * @example
733
+ * // Get one DbAppForCatalog
734
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.findFirst({
735
+ * where: {
736
+ * // ... provide filter here
737
+ * }
738
+ * })
739
+ */
740
+ findFirst<T extends DbAppForCatalogFindFirstArgs>(args?: Prisma.SelectSubset<T, DbAppForCatalogFindFirstArgs<ExtArgs>>): Prisma.Prisma__DbAppForCatalogClient<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
741
+
742
+ /**
743
+ * Find the first DbAppForCatalog that matches the filter or
744
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
745
+ * Note, that providing `undefined` is treated as the value not being there.
746
+ * Read more here: https://pris.ly/d/null-undefined
747
+ * @param {DbAppForCatalogFindFirstOrThrowArgs} args - Arguments to find a DbAppForCatalog
748
+ * @example
749
+ * // Get one DbAppForCatalog
750
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.findFirstOrThrow({
751
+ * where: {
752
+ * // ... provide filter here
753
+ * }
754
+ * })
755
+ */
756
+ findFirstOrThrow<T extends DbAppForCatalogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DbAppForCatalogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbAppForCatalogClient<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
757
+
758
+ /**
759
+ * Find zero or more DbAppForCatalogs that matches the filter.
760
+ * Note, that providing `undefined` is treated as the value not being there.
761
+ * Read more here: https://pris.ly/d/null-undefined
762
+ * @param {DbAppForCatalogFindManyArgs} args - Arguments to filter and select certain fields only.
763
+ * @example
764
+ * // Get all DbAppForCatalogs
765
+ * const dbAppForCatalogs = await prisma.dbAppForCatalog.findMany()
766
+ *
767
+ * // Get first 10 DbAppForCatalogs
768
+ * const dbAppForCatalogs = await prisma.dbAppForCatalog.findMany({ take: 10 })
769
+ *
770
+ * // Only select the `id`
771
+ * const dbAppForCatalogWithIdOnly = await prisma.dbAppForCatalog.findMany({ select: { id: true } })
772
+ *
773
+ */
774
+ findMany<T extends DbAppForCatalogFindManyArgs>(args?: Prisma.SelectSubset<T, DbAppForCatalogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
775
+
776
+ /**
777
+ * Create a DbAppForCatalog.
778
+ * @param {DbAppForCatalogCreateArgs} args - Arguments to create a DbAppForCatalog.
779
+ * @example
780
+ * // Create one DbAppForCatalog
781
+ * const DbAppForCatalog = await prisma.dbAppForCatalog.create({
782
+ * data: {
783
+ * // ... data to create a DbAppForCatalog
784
+ * }
785
+ * })
786
+ *
787
+ */
788
+ create<T extends DbAppForCatalogCreateArgs>(args: Prisma.SelectSubset<T, DbAppForCatalogCreateArgs<ExtArgs>>): Prisma.Prisma__DbAppForCatalogClient<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
789
+
790
+ /**
791
+ * Create many DbAppForCatalogs.
792
+ * @param {DbAppForCatalogCreateManyArgs} args - Arguments to create many DbAppForCatalogs.
793
+ * @example
794
+ * // Create many DbAppForCatalogs
795
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.createMany({
796
+ * data: [
797
+ * // ... provide data here
798
+ * ]
799
+ * })
800
+ *
801
+ */
802
+ createMany<T extends DbAppForCatalogCreateManyArgs>(args?: Prisma.SelectSubset<T, DbAppForCatalogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
803
+
804
+ /**
805
+ * Create many DbAppForCatalogs and returns the data saved in the database.
806
+ * @param {DbAppForCatalogCreateManyAndReturnArgs} args - Arguments to create many DbAppForCatalogs.
807
+ * @example
808
+ * // Create many DbAppForCatalogs
809
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.createManyAndReturn({
810
+ * data: [
811
+ * // ... provide data here
812
+ * ]
813
+ * })
814
+ *
815
+ * // Create many DbAppForCatalogs and only return the `id`
816
+ * const dbAppForCatalogWithIdOnly = await prisma.dbAppForCatalog.createManyAndReturn({
817
+ * select: { id: true },
818
+ * data: [
819
+ * // ... provide data here
820
+ * ]
821
+ * })
822
+ * Note, that providing `undefined` is treated as the value not being there.
823
+ * Read more here: https://pris.ly/d/null-undefined
824
+ *
825
+ */
826
+ createManyAndReturn<T extends DbAppForCatalogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DbAppForCatalogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
827
+
828
+ /**
829
+ * Delete a DbAppForCatalog.
830
+ * @param {DbAppForCatalogDeleteArgs} args - Arguments to delete one DbAppForCatalog.
831
+ * @example
832
+ * // Delete one DbAppForCatalog
833
+ * const DbAppForCatalog = await prisma.dbAppForCatalog.delete({
834
+ * where: {
835
+ * // ... filter to delete one DbAppForCatalog
836
+ * }
837
+ * })
838
+ *
839
+ */
840
+ delete<T extends DbAppForCatalogDeleteArgs>(args: Prisma.SelectSubset<T, DbAppForCatalogDeleteArgs<ExtArgs>>): Prisma.Prisma__DbAppForCatalogClient<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
841
+
842
+ /**
843
+ * Update one DbAppForCatalog.
844
+ * @param {DbAppForCatalogUpdateArgs} args - Arguments to update one DbAppForCatalog.
845
+ * @example
846
+ * // Update one DbAppForCatalog
847
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.update({
848
+ * where: {
849
+ * // ... provide filter here
850
+ * },
851
+ * data: {
852
+ * // ... provide data here
853
+ * }
854
+ * })
855
+ *
856
+ */
857
+ update<T extends DbAppForCatalogUpdateArgs>(args: Prisma.SelectSubset<T, DbAppForCatalogUpdateArgs<ExtArgs>>): Prisma.Prisma__DbAppForCatalogClient<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
858
+
859
+ /**
860
+ * Delete zero or more DbAppForCatalogs.
861
+ * @param {DbAppForCatalogDeleteManyArgs} args - Arguments to filter DbAppForCatalogs to delete.
862
+ * @example
863
+ * // Delete a few DbAppForCatalogs
864
+ * const { count } = await prisma.dbAppForCatalog.deleteMany({
865
+ * where: {
866
+ * // ... provide filter here
867
+ * }
868
+ * })
869
+ *
870
+ */
871
+ deleteMany<T extends DbAppForCatalogDeleteManyArgs>(args?: Prisma.SelectSubset<T, DbAppForCatalogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
872
+
873
+ /**
874
+ * Update zero or more DbAppForCatalogs.
875
+ * Note, that providing `undefined` is treated as the value not being there.
876
+ * Read more here: https://pris.ly/d/null-undefined
877
+ * @param {DbAppForCatalogUpdateManyArgs} args - Arguments to update one or more rows.
878
+ * @example
879
+ * // Update many DbAppForCatalogs
880
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.updateMany({
881
+ * where: {
882
+ * // ... provide filter here
883
+ * },
884
+ * data: {
885
+ * // ... provide data here
886
+ * }
887
+ * })
888
+ *
889
+ */
890
+ updateMany<T extends DbAppForCatalogUpdateManyArgs>(args: Prisma.SelectSubset<T, DbAppForCatalogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
891
+
892
+ /**
893
+ * Update zero or more DbAppForCatalogs and returns the data updated in the database.
894
+ * @param {DbAppForCatalogUpdateManyAndReturnArgs} args - Arguments to update many DbAppForCatalogs.
895
+ * @example
896
+ * // Update many DbAppForCatalogs
897
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.updateManyAndReturn({
898
+ * where: {
899
+ * // ... provide filter here
900
+ * },
901
+ * data: [
902
+ * // ... provide data here
903
+ * ]
904
+ * })
905
+ *
906
+ * // Update zero or more DbAppForCatalogs and only return the `id`
907
+ * const dbAppForCatalogWithIdOnly = await prisma.dbAppForCatalog.updateManyAndReturn({
908
+ * select: { id: true },
909
+ * where: {
910
+ * // ... provide filter here
911
+ * },
912
+ * data: [
913
+ * // ... provide data here
914
+ * ]
915
+ * })
916
+ * Note, that providing `undefined` is treated as the value not being there.
917
+ * Read more here: https://pris.ly/d/null-undefined
918
+ *
919
+ */
920
+ updateManyAndReturn<T extends DbAppForCatalogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DbAppForCatalogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
921
+
922
+ /**
923
+ * Create or update one DbAppForCatalog.
924
+ * @param {DbAppForCatalogUpsertArgs} args - Arguments to update or create a DbAppForCatalog.
925
+ * @example
926
+ * // Update or create a DbAppForCatalog
927
+ * const dbAppForCatalog = await prisma.dbAppForCatalog.upsert({
928
+ * create: {
929
+ * // ... data to create a DbAppForCatalog
930
+ * },
931
+ * update: {
932
+ * // ... in case it already exists, update
933
+ * },
934
+ * where: {
935
+ * // ... the filter for the DbAppForCatalog we want to update
936
+ * }
937
+ * })
938
+ */
939
+ upsert<T extends DbAppForCatalogUpsertArgs>(args: Prisma.SelectSubset<T, DbAppForCatalogUpsertArgs<ExtArgs>>): Prisma.Prisma__DbAppForCatalogClient<runtime.Types.Result.GetResult<Prisma.$DbAppForCatalogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
940
+
941
+
942
+ /**
943
+ * Count the number of DbAppForCatalogs.
944
+ * Note, that providing `undefined` is treated as the value not being there.
945
+ * Read more here: https://pris.ly/d/null-undefined
946
+ * @param {DbAppForCatalogCountArgs} args - Arguments to filter DbAppForCatalogs to count.
947
+ * @example
948
+ * // Count the number of DbAppForCatalogs
949
+ * const count = await prisma.dbAppForCatalog.count({
950
+ * where: {
951
+ * // ... the filter for the DbAppForCatalogs we want to count
952
+ * }
953
+ * })
954
+ **/
955
+ count<T extends DbAppForCatalogCountArgs>(
956
+ args?: Prisma.Subset<T, DbAppForCatalogCountArgs>,
957
+ ): Prisma.PrismaPromise<
958
+ T extends runtime.Types.Utils.Record<'select', any>
959
+ ? T['select'] extends true
960
+ ? number
961
+ : Prisma.GetScalarType<T['select'], DbAppForCatalogCountAggregateOutputType>
962
+ : number
963
+ >
964
+
965
+ /**
966
+ * Allows you to perform aggregations operations on a DbAppForCatalog.
967
+ * Note, that providing `undefined` is treated as the value not being there.
968
+ * Read more here: https://pris.ly/d/null-undefined
969
+ * @param {DbAppForCatalogAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
970
+ * @example
971
+ * // Ordered by age ascending
972
+ * // Where email contains prisma.io
973
+ * // Limited to the 10 users
974
+ * const aggregations = await prisma.user.aggregate({
975
+ * _avg: {
976
+ * age: true,
977
+ * },
978
+ * where: {
979
+ * email: {
980
+ * contains: "prisma.io",
981
+ * },
982
+ * },
983
+ * orderBy: {
984
+ * age: "asc",
985
+ * },
986
+ * take: 10,
987
+ * })
988
+ **/
989
+ aggregate<T extends DbAppForCatalogAggregateArgs>(args: Prisma.Subset<T, DbAppForCatalogAggregateArgs>): Prisma.PrismaPromise<GetDbAppForCatalogAggregateType<T>>
990
+
991
+ /**
992
+ * Group by DbAppForCatalog.
993
+ * Note, that providing `undefined` is treated as the value not being there.
994
+ * Read more here: https://pris.ly/d/null-undefined
995
+ * @param {DbAppForCatalogGroupByArgs} args - Group by arguments.
996
+ * @example
997
+ * // Group by city, order by createdAt, get count
998
+ * const result = await prisma.user.groupBy({
999
+ * by: ['city', 'createdAt'],
1000
+ * orderBy: {
1001
+ * createdAt: true
1002
+ * },
1003
+ * _count: {
1004
+ * _all: true
1005
+ * },
1006
+ * })
1007
+ *
1008
+ **/
1009
+ groupBy<
1010
+ T extends DbAppForCatalogGroupByArgs,
1011
+ HasSelectOrTake extends Prisma.Or<
1012
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1013
+ Prisma.Extends<'take', Prisma.Keys<T>>
1014
+ >,
1015
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1016
+ ? { orderBy: DbAppForCatalogGroupByArgs['orderBy'] }
1017
+ : { orderBy?: DbAppForCatalogGroupByArgs['orderBy'] },
1018
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1019
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1020
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1021
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1022
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1023
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1024
+ InputErrors extends ByEmpty extends Prisma.True
1025
+ ? `Error: "by" must not be empty.`
1026
+ : HavingValid extends Prisma.False
1027
+ ? {
1028
+ [P in HavingFields]: P extends ByFields
1029
+ ? never
1030
+ : P extends string
1031
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1032
+ : [
1033
+ Error,
1034
+ 'Field ',
1035
+ P,
1036
+ ` in "having" needs to be provided in "by"`,
1037
+ ]
1038
+ }[HavingFields]
1039
+ : 'take' extends Prisma.Keys<T>
1040
+ ? 'orderBy' extends Prisma.Keys<T>
1041
+ ? ByValid extends Prisma.True
1042
+ ? {}
1043
+ : {
1044
+ [P in OrderFields]: P extends ByFields
1045
+ ? never
1046
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1047
+ }[OrderFields]
1048
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1049
+ : 'skip' extends Prisma.Keys<T>
1050
+ ? 'orderBy' extends Prisma.Keys<T>
1051
+ ? ByValid extends Prisma.True
1052
+ ? {}
1053
+ : {
1054
+ [P in OrderFields]: P extends ByFields
1055
+ ? never
1056
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1057
+ }[OrderFields]
1058
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1059
+ : ByValid extends Prisma.True
1060
+ ? {}
1061
+ : {
1062
+ [P in OrderFields]: P extends ByFields
1063
+ ? never
1064
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1065
+ }[OrderFields]
1066
+ >(args: Prisma.SubsetIntersection<T, DbAppForCatalogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbAppForCatalogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1067
+ /**
1068
+ * Fields of the DbAppForCatalog model
1069
+ */
1070
+ readonly fields: DbAppForCatalogFieldRefs;
1071
+ }
1072
+
1073
+ /**
1074
+ * The delegate class that acts as a "Promise-like" for DbAppForCatalog.
1075
+ * Why is this prefixed with `Prisma__`?
1076
+ * Because we want to prevent naming conflicts as mentioned in
1077
+ * https://github.com/prisma/prisma-client-js/issues/707
1078
+ */
1079
+ export interface Prisma__DbAppForCatalogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1080
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1081
+ /**
1082
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1083
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1084
+ * @param onrejected The callback to execute when the Promise is rejected.
1085
+ * @returns A Promise for the completion of which ever callback is executed.
1086
+ */
1087
+ 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>
1088
+ /**
1089
+ * Attaches a callback for only the rejection of the Promise.
1090
+ * @param onrejected The callback to execute when the Promise is rejected.
1091
+ * @returns A Promise for the completion of the callback.
1092
+ */
1093
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1094
+ /**
1095
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1096
+ * resolved value cannot be modified from the callback.
1097
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1098
+ * @returns A Promise for the completion of the callback.
1099
+ */
1100
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1101
+ }
1102
+
1103
+
1104
+
1105
+
1106
+ /**
1107
+ * Fields of the DbAppForCatalog model
1108
+ */
1109
+ export interface DbAppForCatalogFieldRefs {
1110
+ readonly id: Prisma.FieldRef<"DbAppForCatalog", 'String'>
1111
+ readonly slug: Prisma.FieldRef<"DbAppForCatalog", 'String'>
1112
+ readonly displayName: Prisma.FieldRef<"DbAppForCatalog", 'String'>
1113
+ readonly description: Prisma.FieldRef<"DbAppForCatalog", 'String'>
1114
+ readonly access: Prisma.FieldRef<"DbAppForCatalog", 'Json'>
1115
+ readonly teams: Prisma.FieldRef<"DbAppForCatalog", 'String[]'>
1116
+ readonly accessRequest: Prisma.FieldRef<"DbAppForCatalog", 'Json'>
1117
+ readonly notes: Prisma.FieldRef<"DbAppForCatalog", 'String'>
1118
+ readonly tags: Prisma.FieldRef<"DbAppForCatalog", 'String[]'>
1119
+ readonly appUrl: Prisma.FieldRef<"DbAppForCatalog", 'String'>
1120
+ readonly links: Prisma.FieldRef<"DbAppForCatalog", 'Json'>
1121
+ readonly iconName: Prisma.FieldRef<"DbAppForCatalog", 'String'>
1122
+ readonly screenshotIds: Prisma.FieldRef<"DbAppForCatalog", 'String[]'>
1123
+ readonly deprecated: Prisma.FieldRef<"DbAppForCatalog", 'Json'>
1124
+ readonly sources: Prisma.FieldRef<"DbAppForCatalog", 'String[]'>
1125
+ readonly createdAt: Prisma.FieldRef<"DbAppForCatalog", 'DateTime'>
1126
+ readonly updatedAt: Prisma.FieldRef<"DbAppForCatalog", 'DateTime'>
1127
+ }
1128
+
1129
+
1130
+ // Custom InputTypes
1131
+ /**
1132
+ * DbAppForCatalog findUnique
1133
+ */
1134
+ export type DbAppForCatalogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1135
+ /**
1136
+ * Select specific fields to fetch from the DbAppForCatalog
1137
+ */
1138
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1139
+ /**
1140
+ * Omit specific fields from the DbAppForCatalog
1141
+ */
1142
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1143
+ /**
1144
+ * Filter, which DbAppForCatalog to fetch.
1145
+ */
1146
+ where: Prisma.DbAppForCatalogWhereUniqueInput
1147
+ }
1148
+
1149
+ /**
1150
+ * DbAppForCatalog findUniqueOrThrow
1151
+ */
1152
+ export type DbAppForCatalogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1153
+ /**
1154
+ * Select specific fields to fetch from the DbAppForCatalog
1155
+ */
1156
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1157
+ /**
1158
+ * Omit specific fields from the DbAppForCatalog
1159
+ */
1160
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1161
+ /**
1162
+ * Filter, which DbAppForCatalog to fetch.
1163
+ */
1164
+ where: Prisma.DbAppForCatalogWhereUniqueInput
1165
+ }
1166
+
1167
+ /**
1168
+ * DbAppForCatalog findFirst
1169
+ */
1170
+ export type DbAppForCatalogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1171
+ /**
1172
+ * Select specific fields to fetch from the DbAppForCatalog
1173
+ */
1174
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1175
+ /**
1176
+ * Omit specific fields from the DbAppForCatalog
1177
+ */
1178
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1179
+ /**
1180
+ * Filter, which DbAppForCatalog to fetch.
1181
+ */
1182
+ where?: Prisma.DbAppForCatalogWhereInput
1183
+ /**
1184
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1185
+ *
1186
+ * Determine the order of DbAppForCatalogs to fetch.
1187
+ */
1188
+ orderBy?: Prisma.DbAppForCatalogOrderByWithRelationInput | Prisma.DbAppForCatalogOrderByWithRelationInput[]
1189
+ /**
1190
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1191
+ *
1192
+ * Sets the position for searching for DbAppForCatalogs.
1193
+ */
1194
+ cursor?: Prisma.DbAppForCatalogWhereUniqueInput
1195
+ /**
1196
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1197
+ *
1198
+ * Take `±n` DbAppForCatalogs from the position of the cursor.
1199
+ */
1200
+ take?: number
1201
+ /**
1202
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1203
+ *
1204
+ * Skip the first `n` DbAppForCatalogs.
1205
+ */
1206
+ skip?: number
1207
+ /**
1208
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1209
+ *
1210
+ * Filter by unique combinations of DbAppForCatalogs.
1211
+ */
1212
+ distinct?: Prisma.DbAppForCatalogScalarFieldEnum | Prisma.DbAppForCatalogScalarFieldEnum[]
1213
+ }
1214
+
1215
+ /**
1216
+ * DbAppForCatalog findFirstOrThrow
1217
+ */
1218
+ export type DbAppForCatalogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1219
+ /**
1220
+ * Select specific fields to fetch from the DbAppForCatalog
1221
+ */
1222
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1223
+ /**
1224
+ * Omit specific fields from the DbAppForCatalog
1225
+ */
1226
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1227
+ /**
1228
+ * Filter, which DbAppForCatalog to fetch.
1229
+ */
1230
+ where?: Prisma.DbAppForCatalogWhereInput
1231
+ /**
1232
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1233
+ *
1234
+ * Determine the order of DbAppForCatalogs to fetch.
1235
+ */
1236
+ orderBy?: Prisma.DbAppForCatalogOrderByWithRelationInput | Prisma.DbAppForCatalogOrderByWithRelationInput[]
1237
+ /**
1238
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1239
+ *
1240
+ * Sets the position for searching for DbAppForCatalogs.
1241
+ */
1242
+ cursor?: Prisma.DbAppForCatalogWhereUniqueInput
1243
+ /**
1244
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1245
+ *
1246
+ * Take `±n` DbAppForCatalogs from the position of the cursor.
1247
+ */
1248
+ take?: number
1249
+ /**
1250
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1251
+ *
1252
+ * Skip the first `n` DbAppForCatalogs.
1253
+ */
1254
+ skip?: number
1255
+ /**
1256
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1257
+ *
1258
+ * Filter by unique combinations of DbAppForCatalogs.
1259
+ */
1260
+ distinct?: Prisma.DbAppForCatalogScalarFieldEnum | Prisma.DbAppForCatalogScalarFieldEnum[]
1261
+ }
1262
+
1263
+ /**
1264
+ * DbAppForCatalog findMany
1265
+ */
1266
+ export type DbAppForCatalogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1267
+ /**
1268
+ * Select specific fields to fetch from the DbAppForCatalog
1269
+ */
1270
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1271
+ /**
1272
+ * Omit specific fields from the DbAppForCatalog
1273
+ */
1274
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1275
+ /**
1276
+ * Filter, which DbAppForCatalogs to fetch.
1277
+ */
1278
+ where?: Prisma.DbAppForCatalogWhereInput
1279
+ /**
1280
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1281
+ *
1282
+ * Determine the order of DbAppForCatalogs to fetch.
1283
+ */
1284
+ orderBy?: Prisma.DbAppForCatalogOrderByWithRelationInput | Prisma.DbAppForCatalogOrderByWithRelationInput[]
1285
+ /**
1286
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1287
+ *
1288
+ * Sets the position for listing DbAppForCatalogs.
1289
+ */
1290
+ cursor?: Prisma.DbAppForCatalogWhereUniqueInput
1291
+ /**
1292
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1293
+ *
1294
+ * Take `±n` DbAppForCatalogs from the position of the cursor.
1295
+ */
1296
+ take?: number
1297
+ /**
1298
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1299
+ *
1300
+ * Skip the first `n` DbAppForCatalogs.
1301
+ */
1302
+ skip?: number
1303
+ distinct?: Prisma.DbAppForCatalogScalarFieldEnum | Prisma.DbAppForCatalogScalarFieldEnum[]
1304
+ }
1305
+
1306
+ /**
1307
+ * DbAppForCatalog create
1308
+ */
1309
+ export type DbAppForCatalogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1310
+ /**
1311
+ * Select specific fields to fetch from the DbAppForCatalog
1312
+ */
1313
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1314
+ /**
1315
+ * Omit specific fields from the DbAppForCatalog
1316
+ */
1317
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1318
+ /**
1319
+ * The data needed to create a DbAppForCatalog.
1320
+ */
1321
+ data: Prisma.XOR<Prisma.DbAppForCatalogCreateInput, Prisma.DbAppForCatalogUncheckedCreateInput>
1322
+ }
1323
+
1324
+ /**
1325
+ * DbAppForCatalog createMany
1326
+ */
1327
+ export type DbAppForCatalogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1328
+ /**
1329
+ * The data used to create many DbAppForCatalogs.
1330
+ */
1331
+ data: Prisma.DbAppForCatalogCreateManyInput | Prisma.DbAppForCatalogCreateManyInput[]
1332
+ skipDuplicates?: boolean
1333
+ }
1334
+
1335
+ /**
1336
+ * DbAppForCatalog createManyAndReturn
1337
+ */
1338
+ export type DbAppForCatalogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1339
+ /**
1340
+ * Select specific fields to fetch from the DbAppForCatalog
1341
+ */
1342
+ select?: Prisma.DbAppForCatalogSelectCreateManyAndReturn<ExtArgs> | null
1343
+ /**
1344
+ * Omit specific fields from the DbAppForCatalog
1345
+ */
1346
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1347
+ /**
1348
+ * The data used to create many DbAppForCatalogs.
1349
+ */
1350
+ data: Prisma.DbAppForCatalogCreateManyInput | Prisma.DbAppForCatalogCreateManyInput[]
1351
+ skipDuplicates?: boolean
1352
+ }
1353
+
1354
+ /**
1355
+ * DbAppForCatalog update
1356
+ */
1357
+ export type DbAppForCatalogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1358
+ /**
1359
+ * Select specific fields to fetch from the DbAppForCatalog
1360
+ */
1361
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1362
+ /**
1363
+ * Omit specific fields from the DbAppForCatalog
1364
+ */
1365
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1366
+ /**
1367
+ * The data needed to update a DbAppForCatalog.
1368
+ */
1369
+ data: Prisma.XOR<Prisma.DbAppForCatalogUpdateInput, Prisma.DbAppForCatalogUncheckedUpdateInput>
1370
+ /**
1371
+ * Choose, which DbAppForCatalog to update.
1372
+ */
1373
+ where: Prisma.DbAppForCatalogWhereUniqueInput
1374
+ }
1375
+
1376
+ /**
1377
+ * DbAppForCatalog updateMany
1378
+ */
1379
+ export type DbAppForCatalogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1380
+ /**
1381
+ * The data used to update DbAppForCatalogs.
1382
+ */
1383
+ data: Prisma.XOR<Prisma.DbAppForCatalogUpdateManyMutationInput, Prisma.DbAppForCatalogUncheckedUpdateManyInput>
1384
+ /**
1385
+ * Filter which DbAppForCatalogs to update
1386
+ */
1387
+ where?: Prisma.DbAppForCatalogWhereInput
1388
+ /**
1389
+ * Limit how many DbAppForCatalogs to update.
1390
+ */
1391
+ limit?: number
1392
+ }
1393
+
1394
+ /**
1395
+ * DbAppForCatalog updateManyAndReturn
1396
+ */
1397
+ export type DbAppForCatalogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1398
+ /**
1399
+ * Select specific fields to fetch from the DbAppForCatalog
1400
+ */
1401
+ select?: Prisma.DbAppForCatalogSelectUpdateManyAndReturn<ExtArgs> | null
1402
+ /**
1403
+ * Omit specific fields from the DbAppForCatalog
1404
+ */
1405
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1406
+ /**
1407
+ * The data used to update DbAppForCatalogs.
1408
+ */
1409
+ data: Prisma.XOR<Prisma.DbAppForCatalogUpdateManyMutationInput, Prisma.DbAppForCatalogUncheckedUpdateManyInput>
1410
+ /**
1411
+ * Filter which DbAppForCatalogs to update
1412
+ */
1413
+ where?: Prisma.DbAppForCatalogWhereInput
1414
+ /**
1415
+ * Limit how many DbAppForCatalogs to update.
1416
+ */
1417
+ limit?: number
1418
+ }
1419
+
1420
+ /**
1421
+ * DbAppForCatalog upsert
1422
+ */
1423
+ export type DbAppForCatalogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1424
+ /**
1425
+ * Select specific fields to fetch from the DbAppForCatalog
1426
+ */
1427
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1428
+ /**
1429
+ * Omit specific fields from the DbAppForCatalog
1430
+ */
1431
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1432
+ /**
1433
+ * The filter to search for the DbAppForCatalog to update in case it exists.
1434
+ */
1435
+ where: Prisma.DbAppForCatalogWhereUniqueInput
1436
+ /**
1437
+ * In case the DbAppForCatalog found by the `where` argument doesn't exist, create a new DbAppForCatalog with this data.
1438
+ */
1439
+ create: Prisma.XOR<Prisma.DbAppForCatalogCreateInput, Prisma.DbAppForCatalogUncheckedCreateInput>
1440
+ /**
1441
+ * In case the DbAppForCatalog was found with the provided `where` argument, update it with this data.
1442
+ */
1443
+ update: Prisma.XOR<Prisma.DbAppForCatalogUpdateInput, Prisma.DbAppForCatalogUncheckedUpdateInput>
1444
+ }
1445
+
1446
+ /**
1447
+ * DbAppForCatalog delete
1448
+ */
1449
+ export type DbAppForCatalogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1450
+ /**
1451
+ * Select specific fields to fetch from the DbAppForCatalog
1452
+ */
1453
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1454
+ /**
1455
+ * Omit specific fields from the DbAppForCatalog
1456
+ */
1457
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1458
+ /**
1459
+ * Filter which DbAppForCatalog to delete.
1460
+ */
1461
+ where: Prisma.DbAppForCatalogWhereUniqueInput
1462
+ }
1463
+
1464
+ /**
1465
+ * DbAppForCatalog deleteMany
1466
+ */
1467
+ export type DbAppForCatalogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1468
+ /**
1469
+ * Filter which DbAppForCatalogs to delete
1470
+ */
1471
+ where?: Prisma.DbAppForCatalogWhereInput
1472
+ /**
1473
+ * Limit how many DbAppForCatalogs to delete.
1474
+ */
1475
+ limit?: number
1476
+ }
1477
+
1478
+ /**
1479
+ * DbAppForCatalog without action
1480
+ */
1481
+ export type DbAppForCatalogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1482
+ /**
1483
+ * Select specific fields to fetch from the DbAppForCatalog
1484
+ */
1485
+ select?: Prisma.DbAppForCatalogSelect<ExtArgs> | null
1486
+ /**
1487
+ * Omit specific fields from the DbAppForCatalog
1488
+ */
1489
+ omit?: Prisma.DbAppForCatalogOmit<ExtArgs> | null
1490
+ }