@igstack/app-catalog-backend-core 0.3.1-alpha-20260405015231 → 0.4.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 (72) hide show
  1. package/dist/db/syncAppCatalog.d.mts +3 -5
  2. package/dist/db/syncAppCatalog.d.mts.map +1 -1
  3. package/dist/db/syncAppCatalog.mjs +49 -57
  4. package/dist/db/syncAppCatalog.mjs.map +1 -1
  5. package/dist/db/tableSyncMagazine.d.mts +3 -7
  6. package/dist/db/tableSyncMagazine.d.mts.map +1 -1
  7. package/dist/db/tableSyncMagazine.mjs +3 -7
  8. package/dist/db/tableSyncMagazine.mjs.map +1 -1
  9. package/dist/db/tableSyncPrismaAdapter.mjs.map +1 -1
  10. package/dist/generated/prisma/client.mjs.map +1 -1
  11. package/dist/generated/prisma/internal/class.d.mts +5 -17
  12. package/dist/generated/prisma/internal/class.d.mts.map +1 -1
  13. package/dist/generated/prisma/internal/class.mjs +4 -4
  14. package/dist/generated/prisma/internal/class.mjs.map +1 -1
  15. package/dist/generated/prisma/internal/prismaNamespace.d.mts +46 -132
  16. package/dist/generated/prisma/internal/prismaNamespace.d.mts.map +1 -1
  17. package/dist/generated/prisma/models/DbResource.d.mts +2433 -0
  18. package/dist/generated/prisma/models/DbResource.d.mts.map +1 -0
  19. package/dist/generated/prisma/models/SourceReference.d.mts +90 -90
  20. package/dist/generated/prisma/models/SourceReference.d.mts.map +1 -1
  21. package/dist/generated/prisma/models.d.mts +2 -3
  22. package/dist/index.d.mts +3 -4
  23. package/dist/modules/appCatalog/checkLinks.mjs +1 -1
  24. package/dist/modules/appCatalog/checkLinks.mjs.map +1 -1
  25. package/dist/modules/appCatalog/service.mjs +26 -34
  26. package/dist/modules/appCatalog/service.mjs.map +1 -1
  27. package/dist/modules/assets/screenshotRestController.mjs +2 -2
  28. package/dist/modules/assets/screenshotRestController.mjs.map +1 -1
  29. package/dist/modules/assets/syncAssets.mjs +4 -4
  30. package/dist/modules/assets/syncAssets.mjs.map +1 -1
  31. package/dist/modules/lighthouseKeeper/tools.mjs +1 -1
  32. package/dist/modules/lighthouseKeeper/tools.mjs.map +1 -1
  33. package/dist/server/controller.d.mts +2 -2
  34. package/dist/server/controller.mjs.map +1 -1
  35. package/dist/types/common/appCatalogTypes.d.mts +26 -9
  36. package/dist/types/common/appCatalogTypes.d.mts.map +1 -1
  37. package/dist/types/common/approvalMethodTypes.d.mts +5 -1
  38. package/dist/types/common/approvalMethodTypes.d.mts.map +1 -1
  39. package/package.json +3 -3
  40. package/prisma/schema.prisma +53 -62
  41. package/src/db/syncAppCatalog.ts +68 -73
  42. package/src/db/tableSyncMagazine.ts +3 -7
  43. package/src/db/tableSyncPrismaAdapter.ts +1 -1
  44. package/src/generated/prisma/browser.ts +2 -7
  45. package/src/generated/prisma/client.ts +2 -7
  46. package/src/generated/prisma/internal/class.ts +8 -18
  47. package/src/generated/prisma/internal/prismaNamespace.ts +43 -131
  48. package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +7 -20
  49. package/src/generated/prisma/models/DbResource.ts +2701 -0
  50. package/src/generated/prisma/models/SourceReference.ts +89 -89
  51. package/src/generated/prisma/models.ts +1 -2
  52. package/src/index.ts +1 -1
  53. package/src/modules/appCatalog/checkLinks.ts +7 -7
  54. package/src/modules/appCatalog/service.ts +51 -62
  55. package/src/modules/assets/screenshotRestController.ts +2 -2
  56. package/src/modules/assets/screenshotRouter.ts +2 -2
  57. package/src/modules/assets/syncAssets.ts +4 -4
  58. package/src/modules/lighthouseKeeper/tools.ts +1 -1
  59. package/src/prisma-json-types.d.ts +8 -8
  60. package/src/server/controller.ts +2 -2
  61. package/src/types/common/appCatalogTypes.ts +28 -9
  62. package/src/types/common/approvalMethodTypes.ts +6 -0
  63. package/src/types/index.ts +0 -1
  64. package/dist/generated/prisma/models/DbAppForCatalog.d.mts +0 -1778
  65. package/dist/generated/prisma/models/DbAppForCatalog.d.mts.map +0 -1
  66. package/dist/generated/prisma/models/DbSubResource.d.mts +0 -1468
  67. package/dist/generated/prisma/models/DbSubResource.d.mts.map +0 -1
  68. package/dist/types/common/subResourceTypes.d.mts +0 -24
  69. package/dist/types/common/subResourceTypes.d.mts.map +0 -1
  70. package/src/generated/prisma/models/DbAppForCatalog.ts +0 -2014
  71. package/src/generated/prisma/models/DbSubResource.ts +0 -1692
  72. package/src/types/common/subResourceTypes.ts +0 -20
@@ -0,0 +1,2701 @@
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 `DbResource` 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 DbResource
19
+ *
20
+ */
21
+ export type DbResourceModel = runtime.Types.Result.DefaultSelection<Prisma.$DbResourcePayload>
22
+
23
+ export type AggregateDbResource = {
24
+ _count: DbResourceCountAggregateOutputType | null
25
+ _min: DbResourceMinAggregateOutputType | null
26
+ _max: DbResourceMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type DbResourceMinAggregateOutputType = {
30
+ id: string | null
31
+ slug: string | null
32
+ type: string | null
33
+ displayName: string | null
34
+ abbreviation: string | null
35
+ description: string | null
36
+ notes: string | null
37
+ appUrl: string | null
38
+ iconName: string | null
39
+ aiPrompt: string | null
40
+ parentSlug: string | null
41
+ tier: string | null
42
+ familySlug: string | null
43
+ ownerPersonSlug: string | null
44
+ accessComments: string | null
45
+ createdAt: Date | null
46
+ updatedAt: Date | null
47
+ }
48
+
49
+ export type DbResourceMaxAggregateOutputType = {
50
+ id: string | null
51
+ slug: string | null
52
+ type: string | null
53
+ displayName: string | null
54
+ abbreviation: string | null
55
+ description: string | null
56
+ notes: string | null
57
+ appUrl: string | null
58
+ iconName: string | null
59
+ aiPrompt: string | null
60
+ parentSlug: string | null
61
+ tier: string | null
62
+ familySlug: string | null
63
+ ownerPersonSlug: string | null
64
+ accessComments: string | null
65
+ createdAt: Date | null
66
+ updatedAt: Date | null
67
+ }
68
+
69
+ export type DbResourceCountAggregateOutputType = {
70
+ id: number
71
+ slug: number
72
+ type: number
73
+ displayName: number
74
+ abbreviation: number
75
+ nicknames: number
76
+ description: number
77
+ access:PrismaJson.AccessMethod
78
+ teams: number
79
+ accessRequest:PrismaJson.AccessRequest
80
+ notes: number
81
+ tags: number
82
+ appUrl: number
83
+ links:PrismaJson.AppLink[]
84
+ iconName: number
85
+ screenshotIds: number
86
+ deprecated:PrismaJson.AppDeprecation
87
+ aiPrompt: number
88
+ urlIssues: number
89
+ tiers:PrismaJson.TierVariant[]
90
+ parentSlug: number
91
+ tier: number
92
+ familySlug: number
93
+ aliases: number
94
+ ownerPersonSlug: number
95
+ accessMaintainerGroupSlugs: number
96
+ accessComments: number
97
+ extra:PrismaJson.SubResourceExtra
98
+ createdAt: number
99
+ updatedAt: number
100
+ _all: number
101
+ }
102
+
103
+
104
+ export type DbResourceMinAggregateInputType = {
105
+ id?: true
106
+ slug?: true
107
+ type?: true
108
+ displayName?: true
109
+ abbreviation?: true
110
+ description?: true
111
+ notes?: true
112
+ appUrl?: true
113
+ iconName?: true
114
+ aiPrompt?: true
115
+ parentSlug?: true
116
+ tier?: true
117
+ familySlug?: true
118
+ ownerPersonSlug?: true
119
+ accessComments?: true
120
+ createdAt?: true
121
+ updatedAt?: true
122
+ }
123
+
124
+ export type DbResourceMaxAggregateInputType = {
125
+ id?: true
126
+ slug?: true
127
+ type?: true
128
+ displayName?: true
129
+ abbreviation?: true
130
+ description?: true
131
+ notes?: true
132
+ appUrl?: true
133
+ iconName?: true
134
+ aiPrompt?: true
135
+ parentSlug?: true
136
+ tier?: true
137
+ familySlug?: true
138
+ ownerPersonSlug?: true
139
+ accessComments?: true
140
+ createdAt?: true
141
+ updatedAt?: true
142
+ }
143
+
144
+ export type DbResourceCountAggregateInputType = {
145
+ id?: true
146
+ slug?: true
147
+ type?: true
148
+ displayName?: true
149
+ abbreviation?: true
150
+ nicknames?: true
151
+ description?: true
152
+ access?: true
153
+ teams?: true
154
+ accessRequest?: true
155
+ notes?: true
156
+ tags?: true
157
+ appUrl?: true
158
+ links?: true
159
+ iconName?: true
160
+ screenshotIds?: true
161
+ deprecated?: true
162
+ aiPrompt?: true
163
+ urlIssues?: true
164
+ tiers?: true
165
+ parentSlug?: true
166
+ tier?: true
167
+ familySlug?: true
168
+ aliases?: true
169
+ ownerPersonSlug?: true
170
+ accessMaintainerGroupSlugs?: true
171
+ accessComments?: true
172
+ extra?: true
173
+ createdAt?: true
174
+ updatedAt?: true
175
+ _all?: true
176
+ }
177
+
178
+ export type DbResourceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
179
+ /**
180
+ * Filter which DbResource to aggregate.
181
+ */
182
+ where?: Prisma.DbResourceWhereInput
183
+ /**
184
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
185
+ *
186
+ * Determine the order of DbResources to fetch.
187
+ */
188
+ orderBy?: Prisma.DbResourceOrderByWithRelationInput | Prisma.DbResourceOrderByWithRelationInput[]
189
+ /**
190
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
191
+ *
192
+ * Sets the start position
193
+ */
194
+ cursor?: Prisma.DbResourceWhereUniqueInput
195
+ /**
196
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
197
+ *
198
+ * Take `±n` DbResources from the position of the cursor.
199
+ */
200
+ take?: number
201
+ /**
202
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
203
+ *
204
+ * Skip the first `n` DbResources.
205
+ */
206
+ skip?: number
207
+ /**
208
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
209
+ *
210
+ * Count returned DbResources
211
+ **/
212
+ _count?: true | DbResourceCountAggregateInputType
213
+ /**
214
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
215
+ *
216
+ * Select which fields to find the minimum value
217
+ **/
218
+ _min?: DbResourceMinAggregateInputType
219
+ /**
220
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
221
+ *
222
+ * Select which fields to find the maximum value
223
+ **/
224
+ _max?: DbResourceMaxAggregateInputType
225
+ }
226
+
227
+ export type GetDbResourceAggregateType<T extends DbResourceAggregateArgs> = {
228
+ [P in keyof T & keyof AggregateDbResource]: P extends '_count' | 'count'
229
+ ? T[P] extends true
230
+ ? number
231
+ : Prisma.GetScalarType<T[P], AggregateDbResource[P]>
232
+ : Prisma.GetScalarType<T[P], AggregateDbResource[P]>
233
+ }
234
+
235
+
236
+
237
+
238
+ export type DbResourceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
239
+ where?: Prisma.DbResourceWhereInput
240
+ orderBy?: Prisma.DbResourceOrderByWithAggregationInput | Prisma.DbResourceOrderByWithAggregationInput[]
241
+ by: Prisma.DbResourceScalarFieldEnum[] | Prisma.DbResourceScalarFieldEnum
242
+ having?: Prisma.DbResourceScalarWhereWithAggregatesInput
243
+ take?: number
244
+ skip?: number
245
+ _count?: DbResourceCountAggregateInputType | true
246
+ _min?: DbResourceMinAggregateInputType
247
+ _max?: DbResourceMaxAggregateInputType
248
+ }
249
+
250
+ export type DbResourceGroupByOutputType = {
251
+ id: string
252
+ slug: string
253
+ type: string
254
+ displayName: string
255
+ abbreviation: string | null
256
+ nicknames: string[]
257
+ description: string
258
+ access:PrismaJson.AccessMethod | null
259
+ teams: string[]
260
+ accessRequest:PrismaJson.AccessRequest | null
261
+ notes: string | null
262
+ tags: string[]
263
+ appUrl: string | null
264
+ links:PrismaJson.AppLink[] | null
265
+ iconName: string | null
266
+ screenshotIds: string[]
267
+ deprecated:PrismaJson.AppDeprecation | null
268
+ aiPrompt: string | null
269
+ urlIssues: string[]
270
+ tiers:PrismaJson.TierVariant[] | null
271
+ parentSlug: string | null
272
+ tier: string | null
273
+ familySlug: string | null
274
+ aliases: string[]
275
+ ownerPersonSlug: string | null
276
+ accessMaintainerGroupSlugs: string[]
277
+ accessComments: string | null
278
+ extra:PrismaJson.SubResourceExtra | null
279
+ createdAt: Date
280
+ updatedAt: Date
281
+ _count: DbResourceCountAggregateOutputType | null
282
+ _min: DbResourceMinAggregateOutputType | null
283
+ _max: DbResourceMaxAggregateOutputType | null
284
+ }
285
+
286
+ type GetDbResourceGroupByPayload<T extends DbResourceGroupByArgs> = Prisma.PrismaPromise<
287
+ Array<
288
+ Prisma.PickEnumerable<DbResourceGroupByOutputType, T['by']> &
289
+ {
290
+ [P in ((keyof T) & (keyof DbResourceGroupByOutputType))]: P extends '_count'
291
+ ? T[P] extends boolean
292
+ ? number
293
+ : Prisma.GetScalarType<T[P], DbResourceGroupByOutputType[P]>
294
+ : Prisma.GetScalarType<T[P], DbResourceGroupByOutputType[P]>
295
+ }
296
+ >
297
+ >
298
+
299
+
300
+
301
+ export type DbResourceWhereInput = {
302
+ AND?: Prisma.DbResourceWhereInput | Prisma.DbResourceWhereInput[]
303
+ OR?: Prisma.DbResourceWhereInput[]
304
+ NOT?: Prisma.DbResourceWhereInput | Prisma.DbResourceWhereInput[]
305
+ id?: Prisma.StringFilter<"DbResource"> | string
306
+ slug?: Prisma.StringFilter<"DbResource"> | string
307
+ type?: Prisma.StringFilter<"DbResource"> | string
308
+ displayName?: Prisma.StringFilter<"DbResource"> | string
309
+ abbreviation?: Prisma.StringNullableFilter<"DbResource"> | string | null
310
+ nicknames?: Prisma.StringNullableListFilter<"DbResource">
311
+ description?: Prisma.StringFilter<"DbResource"> | string
312
+ access?: Prisma.JsonNullableFilter<"DbResource">
313
+ teams?: Prisma.StringNullableListFilter<"DbResource">
314
+ accessRequest?: Prisma.JsonNullableFilter<"DbResource">
315
+ notes?: Prisma.StringNullableFilter<"DbResource"> | string | null
316
+ tags?: Prisma.StringNullableListFilter<"DbResource">
317
+ appUrl?: Prisma.StringNullableFilter<"DbResource"> | string | null
318
+ links?: Prisma.JsonNullableFilter<"DbResource">
319
+ iconName?: Prisma.StringNullableFilter<"DbResource"> | string | null
320
+ screenshotIds?: Prisma.StringNullableListFilter<"DbResource">
321
+ deprecated?: Prisma.JsonNullableFilter<"DbResource">
322
+ aiPrompt?: Prisma.StringNullableFilter<"DbResource"> | string | null
323
+ urlIssues?: Prisma.StringNullableListFilter<"DbResource">
324
+ tiers?: Prisma.JsonNullableFilter<"DbResource">
325
+ parentSlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
326
+ tier?: Prisma.StringNullableFilter<"DbResource"> | string | null
327
+ familySlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
328
+ aliases?: Prisma.StringNullableListFilter<"DbResource">
329
+ ownerPersonSlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
330
+ accessMaintainerGroupSlugs?: Prisma.StringNullableListFilter<"DbResource">
331
+ accessComments?: Prisma.StringNullableFilter<"DbResource"> | string | null
332
+ extra?: Prisma.JsonNullableFilter<"DbResource">
333
+ createdAt?: Prisma.DateTimeFilter<"DbResource"> | Date | string
334
+ updatedAt?: Prisma.DateTimeFilter<"DbResource"> | Date | string
335
+ sourceRefs?: Prisma.SourceReferenceListRelationFilter
336
+ parent?: Prisma.XOR<Prisma.DbResourceNullableScalarRelationFilter, Prisma.DbResourceWhereInput> | null
337
+ children?: Prisma.DbResourceListRelationFilter
338
+ }
339
+
340
+ export type DbResourceOrderByWithRelationInput = {
341
+ id?: Prisma.SortOrder
342
+ slug?: Prisma.SortOrder
343
+ type?: Prisma.SortOrder
344
+ displayName?: Prisma.SortOrder
345
+ abbreviation?: Prisma.SortOrderInput | Prisma.SortOrder
346
+ nicknames?: Prisma.SortOrder
347
+ description?: Prisma.SortOrder
348
+ access?: Prisma.SortOrderInput | Prisma.SortOrder
349
+ teams?: Prisma.SortOrder
350
+ accessRequest?: Prisma.SortOrderInput | Prisma.SortOrder
351
+ notes?: Prisma.SortOrderInput | Prisma.SortOrder
352
+ tags?: Prisma.SortOrder
353
+ appUrl?: Prisma.SortOrderInput | Prisma.SortOrder
354
+ links?: Prisma.SortOrderInput | Prisma.SortOrder
355
+ iconName?: Prisma.SortOrderInput | Prisma.SortOrder
356
+ screenshotIds?: Prisma.SortOrder
357
+ deprecated?: Prisma.SortOrderInput | Prisma.SortOrder
358
+ aiPrompt?: Prisma.SortOrderInput | Prisma.SortOrder
359
+ urlIssues?: Prisma.SortOrder
360
+ tiers?: Prisma.SortOrderInput | Prisma.SortOrder
361
+ parentSlug?: Prisma.SortOrderInput | Prisma.SortOrder
362
+ tier?: Prisma.SortOrderInput | Prisma.SortOrder
363
+ familySlug?: Prisma.SortOrderInput | Prisma.SortOrder
364
+ aliases?: Prisma.SortOrder
365
+ ownerPersonSlug?: Prisma.SortOrderInput | Prisma.SortOrder
366
+ accessMaintainerGroupSlugs?: Prisma.SortOrder
367
+ accessComments?: Prisma.SortOrderInput | Prisma.SortOrder
368
+ extra?: Prisma.SortOrderInput | Prisma.SortOrder
369
+ createdAt?: Prisma.SortOrder
370
+ updatedAt?: Prisma.SortOrder
371
+ sourceRefs?: Prisma.SourceReferenceOrderByRelationAggregateInput
372
+ parent?: Prisma.DbResourceOrderByWithRelationInput
373
+ children?: Prisma.DbResourceOrderByRelationAggregateInput
374
+ }
375
+
376
+ export type DbResourceWhereUniqueInput = Prisma.AtLeast<{
377
+ id?: string
378
+ slug?: string
379
+ AND?: Prisma.DbResourceWhereInput | Prisma.DbResourceWhereInput[]
380
+ OR?: Prisma.DbResourceWhereInput[]
381
+ NOT?: Prisma.DbResourceWhereInput | Prisma.DbResourceWhereInput[]
382
+ type?: Prisma.StringFilter<"DbResource"> | string
383
+ displayName?: Prisma.StringFilter<"DbResource"> | string
384
+ abbreviation?: Prisma.StringNullableFilter<"DbResource"> | string | null
385
+ nicknames?: Prisma.StringNullableListFilter<"DbResource">
386
+ description?: Prisma.StringFilter<"DbResource"> | string
387
+ access?: Prisma.JsonNullableFilter<"DbResource">
388
+ teams?: Prisma.StringNullableListFilter<"DbResource">
389
+ accessRequest?: Prisma.JsonNullableFilter<"DbResource">
390
+ notes?: Prisma.StringNullableFilter<"DbResource"> | string | null
391
+ tags?: Prisma.StringNullableListFilter<"DbResource">
392
+ appUrl?: Prisma.StringNullableFilter<"DbResource"> | string | null
393
+ links?: Prisma.JsonNullableFilter<"DbResource">
394
+ iconName?: Prisma.StringNullableFilter<"DbResource"> | string | null
395
+ screenshotIds?: Prisma.StringNullableListFilter<"DbResource">
396
+ deprecated?: Prisma.JsonNullableFilter<"DbResource">
397
+ aiPrompt?: Prisma.StringNullableFilter<"DbResource"> | string | null
398
+ urlIssues?: Prisma.StringNullableListFilter<"DbResource">
399
+ tiers?: Prisma.JsonNullableFilter<"DbResource">
400
+ parentSlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
401
+ tier?: Prisma.StringNullableFilter<"DbResource"> | string | null
402
+ familySlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
403
+ aliases?: Prisma.StringNullableListFilter<"DbResource">
404
+ ownerPersonSlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
405
+ accessMaintainerGroupSlugs?: Prisma.StringNullableListFilter<"DbResource">
406
+ accessComments?: Prisma.StringNullableFilter<"DbResource"> | string | null
407
+ extra?: Prisma.JsonNullableFilter<"DbResource">
408
+ createdAt?: Prisma.DateTimeFilter<"DbResource"> | Date | string
409
+ updatedAt?: Prisma.DateTimeFilter<"DbResource"> | Date | string
410
+ sourceRefs?: Prisma.SourceReferenceListRelationFilter
411
+ parent?: Prisma.XOR<Prisma.DbResourceNullableScalarRelationFilter, Prisma.DbResourceWhereInput> | null
412
+ children?: Prisma.DbResourceListRelationFilter
413
+ }, "id" | "slug">
414
+
415
+ export type DbResourceOrderByWithAggregationInput = {
416
+ id?: Prisma.SortOrder
417
+ slug?: Prisma.SortOrder
418
+ type?: Prisma.SortOrder
419
+ displayName?: Prisma.SortOrder
420
+ abbreviation?: Prisma.SortOrderInput | Prisma.SortOrder
421
+ nicknames?: Prisma.SortOrder
422
+ description?: Prisma.SortOrder
423
+ access?: Prisma.SortOrderInput | Prisma.SortOrder
424
+ teams?: Prisma.SortOrder
425
+ accessRequest?: Prisma.SortOrderInput | Prisma.SortOrder
426
+ notes?: Prisma.SortOrderInput | Prisma.SortOrder
427
+ tags?: Prisma.SortOrder
428
+ appUrl?: Prisma.SortOrderInput | Prisma.SortOrder
429
+ links?: Prisma.SortOrderInput | Prisma.SortOrder
430
+ iconName?: Prisma.SortOrderInput | Prisma.SortOrder
431
+ screenshotIds?: Prisma.SortOrder
432
+ deprecated?: Prisma.SortOrderInput | Prisma.SortOrder
433
+ aiPrompt?: Prisma.SortOrderInput | Prisma.SortOrder
434
+ urlIssues?: Prisma.SortOrder
435
+ tiers?: Prisma.SortOrderInput | Prisma.SortOrder
436
+ parentSlug?: Prisma.SortOrderInput | Prisma.SortOrder
437
+ tier?: Prisma.SortOrderInput | Prisma.SortOrder
438
+ familySlug?: Prisma.SortOrderInput | Prisma.SortOrder
439
+ aliases?: Prisma.SortOrder
440
+ ownerPersonSlug?: Prisma.SortOrderInput | Prisma.SortOrder
441
+ accessMaintainerGroupSlugs?: Prisma.SortOrder
442
+ accessComments?: Prisma.SortOrderInput | Prisma.SortOrder
443
+ extra?: Prisma.SortOrderInput | Prisma.SortOrder
444
+ createdAt?: Prisma.SortOrder
445
+ updatedAt?: Prisma.SortOrder
446
+ _count?: Prisma.DbResourceCountOrderByAggregateInput
447
+ _max?: Prisma.DbResourceMaxOrderByAggregateInput
448
+ _min?: Prisma.DbResourceMinOrderByAggregateInput
449
+ }
450
+
451
+ export type DbResourceScalarWhereWithAggregatesInput = {
452
+ AND?: Prisma.DbResourceScalarWhereWithAggregatesInput | Prisma.DbResourceScalarWhereWithAggregatesInput[]
453
+ OR?: Prisma.DbResourceScalarWhereWithAggregatesInput[]
454
+ NOT?: Prisma.DbResourceScalarWhereWithAggregatesInput | Prisma.DbResourceScalarWhereWithAggregatesInput[]
455
+ id?: Prisma.StringWithAggregatesFilter<"DbResource"> | string
456
+ slug?: Prisma.StringWithAggregatesFilter<"DbResource"> | string
457
+ type?: Prisma.StringWithAggregatesFilter<"DbResource"> | string
458
+ displayName?: Prisma.StringWithAggregatesFilter<"DbResource"> | string
459
+ abbreviation?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
460
+ nicknames?: Prisma.StringNullableListFilter<"DbResource">
461
+ description?: Prisma.StringWithAggregatesFilter<"DbResource"> | string
462
+ access?: Prisma.JsonNullableWithAggregatesFilter<"DbResource">
463
+ teams?: Prisma.StringNullableListFilter<"DbResource">
464
+ accessRequest?: Prisma.JsonNullableWithAggregatesFilter<"DbResource">
465
+ notes?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
466
+ tags?: Prisma.StringNullableListFilter<"DbResource">
467
+ appUrl?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
468
+ links?: Prisma.JsonNullableWithAggregatesFilter<"DbResource">
469
+ iconName?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
470
+ screenshotIds?: Prisma.StringNullableListFilter<"DbResource">
471
+ deprecated?: Prisma.JsonNullableWithAggregatesFilter<"DbResource">
472
+ aiPrompt?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
473
+ urlIssues?: Prisma.StringNullableListFilter<"DbResource">
474
+ tiers?: Prisma.JsonNullableWithAggregatesFilter<"DbResource">
475
+ parentSlug?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
476
+ tier?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
477
+ familySlug?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
478
+ aliases?: Prisma.StringNullableListFilter<"DbResource">
479
+ ownerPersonSlug?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
480
+ accessMaintainerGroupSlugs?: Prisma.StringNullableListFilter<"DbResource">
481
+ accessComments?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
482
+ extra?: Prisma.JsonNullableWithAggregatesFilter<"DbResource">
483
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"DbResource"> | Date | string
484
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DbResource"> | Date | string
485
+ }
486
+
487
+ export type DbResourceCreateInput = {
488
+ id?: string
489
+ slug: string
490
+ type?: string
491
+ displayName: string
492
+ abbreviation?: string | null
493
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
494
+ description: string
495
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
496
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
497
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
498
+ notes?: string | null
499
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
500
+ appUrl?: string | null
501
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
502
+ iconName?: string | null
503
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
504
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
505
+ aiPrompt?: string | null
506
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
507
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
508
+ tier?: string | null
509
+ familySlug?: string | null
510
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
511
+ ownerPersonSlug?: string | null
512
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
513
+ accessComments?: string | null
514
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
515
+ createdAt?: Date | string
516
+ updatedAt?: Date | string
517
+ sourceRefs?: Prisma.SourceReferenceCreateNestedManyWithoutResourceInput
518
+ parent?: Prisma.DbResourceCreateNestedOneWithoutChildrenInput
519
+ children?: Prisma.DbResourceCreateNestedManyWithoutParentInput
520
+ }
521
+
522
+ export type DbResourceUncheckedCreateInput = {
523
+ id?: string
524
+ slug: string
525
+ type?: string
526
+ displayName: string
527
+ abbreviation?: string | null
528
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
529
+ description: string
530
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
531
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
532
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
533
+ notes?: string | null
534
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
535
+ appUrl?: string | null
536
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
537
+ iconName?: string | null
538
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
539
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
540
+ aiPrompt?: string | null
541
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
542
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
543
+ parentSlug?: string | null
544
+ tier?: string | null
545
+ familySlug?: string | null
546
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
547
+ ownerPersonSlug?: string | null
548
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
549
+ accessComments?: string | null
550
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
551
+ createdAt?: Date | string
552
+ updatedAt?: Date | string
553
+ sourceRefs?: Prisma.SourceReferenceUncheckedCreateNestedManyWithoutResourceInput
554
+ children?: Prisma.DbResourceUncheckedCreateNestedManyWithoutParentInput
555
+ }
556
+
557
+ export type DbResourceUpdateInput = {
558
+ id?: Prisma.StringFieldUpdateOperationsInput | string
559
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
560
+ type?: Prisma.StringFieldUpdateOperationsInput | string
561
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
562
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
563
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
564
+ description?: Prisma.StringFieldUpdateOperationsInput | string
565
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
566
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
567
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
568
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
569
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
570
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
571
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
572
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
573
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
574
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
575
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
576
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
577
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
578
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
579
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
580
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
581
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
582
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
583
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
584
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
585
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
586
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
587
+ sourceRefs?: Prisma.SourceReferenceUpdateManyWithoutResourceNestedInput
588
+ parent?: Prisma.DbResourceUpdateOneWithoutChildrenNestedInput
589
+ children?: Prisma.DbResourceUpdateManyWithoutParentNestedInput
590
+ }
591
+
592
+ export type DbResourceUncheckedUpdateInput = {
593
+ id?: Prisma.StringFieldUpdateOperationsInput | string
594
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
595
+ type?: Prisma.StringFieldUpdateOperationsInput | string
596
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
597
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
598
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
599
+ description?: Prisma.StringFieldUpdateOperationsInput | string
600
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
601
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
602
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
603
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
604
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
605
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
606
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
607
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
608
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
609
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
610
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
611
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
612
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
613
+ parentSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
614
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
615
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
616
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
617
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
618
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
619
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
620
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
621
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
622
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
623
+ sourceRefs?: Prisma.SourceReferenceUncheckedUpdateManyWithoutResourceNestedInput
624
+ children?: Prisma.DbResourceUncheckedUpdateManyWithoutParentNestedInput
625
+ }
626
+
627
+ export type DbResourceCreateManyInput = {
628
+ id?: string
629
+ slug: string
630
+ type?: string
631
+ displayName: string
632
+ abbreviation?: string | null
633
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
634
+ description: string
635
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
636
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
637
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
638
+ notes?: string | null
639
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
640
+ appUrl?: string | null
641
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
642
+ iconName?: string | null
643
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
644
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
645
+ aiPrompt?: string | null
646
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
647
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
648
+ parentSlug?: string | null
649
+ tier?: string | null
650
+ familySlug?: string | null
651
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
652
+ ownerPersonSlug?: string | null
653
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
654
+ accessComments?: string | null
655
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
656
+ createdAt?: Date | string
657
+ updatedAt?: Date | string
658
+ }
659
+
660
+ export type DbResourceUpdateManyMutationInput = {
661
+ id?: Prisma.StringFieldUpdateOperationsInput | string
662
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
663
+ type?: Prisma.StringFieldUpdateOperationsInput | string
664
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
665
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
666
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
667
+ description?: Prisma.StringFieldUpdateOperationsInput | string
668
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
669
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
670
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
671
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
672
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
673
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
674
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
675
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
676
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
677
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
678
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
679
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
680
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
681
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
682
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
683
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
684
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
685
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
686
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
687
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
688
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
689
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
690
+ }
691
+
692
+ export type DbResourceUncheckedUpdateManyInput = {
693
+ id?: Prisma.StringFieldUpdateOperationsInput | string
694
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
695
+ type?: Prisma.StringFieldUpdateOperationsInput | string
696
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
697
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
698
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
699
+ description?: Prisma.StringFieldUpdateOperationsInput | string
700
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
701
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
702
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
703
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
704
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
705
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
706
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
707
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
708
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
709
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
710
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
711
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
712
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
713
+ parentSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
714
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
715
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
716
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
717
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
718
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
719
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
720
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
721
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
722
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
723
+ }
724
+
725
+ export type DbResourceNullableScalarRelationFilter = {
726
+ is?: Prisma.DbResourceWhereInput | null
727
+ isNot?: Prisma.DbResourceWhereInput | null
728
+ }
729
+
730
+ export type DbResourceListRelationFilter = {
731
+ every?: Prisma.DbResourceWhereInput
732
+ some?: Prisma.DbResourceWhereInput
733
+ none?: Prisma.DbResourceWhereInput
734
+ }
735
+
736
+ export type DbResourceOrderByRelationAggregateInput = {
737
+ _count?: Prisma.SortOrder
738
+ }
739
+
740
+ export type DbResourceCountOrderByAggregateInput = {
741
+ id?: Prisma.SortOrder
742
+ slug?: Prisma.SortOrder
743
+ type?: Prisma.SortOrder
744
+ displayName?: Prisma.SortOrder
745
+ abbreviation?: Prisma.SortOrder
746
+ nicknames?: Prisma.SortOrder
747
+ description?: Prisma.SortOrder
748
+ access?: Prisma.SortOrder
749
+ teams?: Prisma.SortOrder
750
+ accessRequest?: Prisma.SortOrder
751
+ notes?: Prisma.SortOrder
752
+ tags?: Prisma.SortOrder
753
+ appUrl?: Prisma.SortOrder
754
+ links?: Prisma.SortOrder
755
+ iconName?: Prisma.SortOrder
756
+ screenshotIds?: Prisma.SortOrder
757
+ deprecated?: Prisma.SortOrder
758
+ aiPrompt?: Prisma.SortOrder
759
+ urlIssues?: Prisma.SortOrder
760
+ tiers?: Prisma.SortOrder
761
+ parentSlug?: Prisma.SortOrder
762
+ tier?: Prisma.SortOrder
763
+ familySlug?: Prisma.SortOrder
764
+ aliases?: Prisma.SortOrder
765
+ ownerPersonSlug?: Prisma.SortOrder
766
+ accessMaintainerGroupSlugs?: Prisma.SortOrder
767
+ accessComments?: Prisma.SortOrder
768
+ extra?: Prisma.SortOrder
769
+ createdAt?: Prisma.SortOrder
770
+ updatedAt?: Prisma.SortOrder
771
+ }
772
+
773
+ export type DbResourceMaxOrderByAggregateInput = {
774
+ id?: Prisma.SortOrder
775
+ slug?: Prisma.SortOrder
776
+ type?: Prisma.SortOrder
777
+ displayName?: Prisma.SortOrder
778
+ abbreviation?: Prisma.SortOrder
779
+ description?: Prisma.SortOrder
780
+ notes?: Prisma.SortOrder
781
+ appUrl?: Prisma.SortOrder
782
+ iconName?: Prisma.SortOrder
783
+ aiPrompt?: Prisma.SortOrder
784
+ parentSlug?: Prisma.SortOrder
785
+ tier?: Prisma.SortOrder
786
+ familySlug?: Prisma.SortOrder
787
+ ownerPersonSlug?: Prisma.SortOrder
788
+ accessComments?: Prisma.SortOrder
789
+ createdAt?: Prisma.SortOrder
790
+ updatedAt?: Prisma.SortOrder
791
+ }
792
+
793
+ export type DbResourceMinOrderByAggregateInput = {
794
+ id?: Prisma.SortOrder
795
+ slug?: Prisma.SortOrder
796
+ type?: Prisma.SortOrder
797
+ displayName?: Prisma.SortOrder
798
+ abbreviation?: Prisma.SortOrder
799
+ description?: Prisma.SortOrder
800
+ notes?: Prisma.SortOrder
801
+ appUrl?: Prisma.SortOrder
802
+ iconName?: Prisma.SortOrder
803
+ aiPrompt?: Prisma.SortOrder
804
+ parentSlug?: Prisma.SortOrder
805
+ tier?: Prisma.SortOrder
806
+ familySlug?: Prisma.SortOrder
807
+ ownerPersonSlug?: Prisma.SortOrder
808
+ accessComments?: Prisma.SortOrder
809
+ createdAt?: Prisma.SortOrder
810
+ updatedAt?: Prisma.SortOrder
811
+ }
812
+
813
+ export type DbResourceScalarRelationFilter = {
814
+ is?: Prisma.DbResourceWhereInput
815
+ isNot?: Prisma.DbResourceWhereInput
816
+ }
817
+
818
+ export type DbResourceCreatenicknamesInput = {
819
+ set: string[]
820
+ }
821
+
822
+ export type DbResourceCreateteamsInput = {
823
+ set: string[]
824
+ }
825
+
826
+ export type DbResourceCreatetagsInput = {
827
+ set: string[]
828
+ }
829
+
830
+ export type DbResourceCreatescreenshotIdsInput = {
831
+ set: string[]
832
+ }
833
+
834
+ export type DbResourceCreateurlIssuesInput = {
835
+ set: string[]
836
+ }
837
+
838
+ export type DbResourceCreatealiasesInput = {
839
+ set: string[]
840
+ }
841
+
842
+ export type DbResourceCreateaccessMaintainerGroupSlugsInput = {
843
+ set: string[]
844
+ }
845
+
846
+ export type DbResourceCreateNestedOneWithoutChildrenInput = {
847
+ create?: Prisma.XOR<Prisma.DbResourceCreateWithoutChildrenInput, Prisma.DbResourceUncheckedCreateWithoutChildrenInput>
848
+ connectOrCreate?: Prisma.DbResourceCreateOrConnectWithoutChildrenInput
849
+ connect?: Prisma.DbResourceWhereUniqueInput
850
+ }
851
+
852
+ export type DbResourceCreateNestedManyWithoutParentInput = {
853
+ create?: Prisma.XOR<Prisma.DbResourceCreateWithoutParentInput, Prisma.DbResourceUncheckedCreateWithoutParentInput> | Prisma.DbResourceCreateWithoutParentInput[] | Prisma.DbResourceUncheckedCreateWithoutParentInput[]
854
+ connectOrCreate?: Prisma.DbResourceCreateOrConnectWithoutParentInput | Prisma.DbResourceCreateOrConnectWithoutParentInput[]
855
+ createMany?: Prisma.DbResourceCreateManyParentInputEnvelope
856
+ connect?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
857
+ }
858
+
859
+ export type DbResourceUncheckedCreateNestedManyWithoutParentInput = {
860
+ create?: Prisma.XOR<Prisma.DbResourceCreateWithoutParentInput, Prisma.DbResourceUncheckedCreateWithoutParentInput> | Prisma.DbResourceCreateWithoutParentInput[] | Prisma.DbResourceUncheckedCreateWithoutParentInput[]
861
+ connectOrCreate?: Prisma.DbResourceCreateOrConnectWithoutParentInput | Prisma.DbResourceCreateOrConnectWithoutParentInput[]
862
+ createMany?: Prisma.DbResourceCreateManyParentInputEnvelope
863
+ connect?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
864
+ }
865
+
866
+ export type DbResourceUpdatenicknamesInput = {
867
+ set?: string[]
868
+ push?: string | string[]
869
+ }
870
+
871
+ export type DbResourceUpdateteamsInput = {
872
+ set?: string[]
873
+ push?: string | string[]
874
+ }
875
+
876
+ export type DbResourceUpdatetagsInput = {
877
+ set?: string[]
878
+ push?: string | string[]
879
+ }
880
+
881
+ export type DbResourceUpdatescreenshotIdsInput = {
882
+ set?: string[]
883
+ push?: string | string[]
884
+ }
885
+
886
+ export type DbResourceUpdateurlIssuesInput = {
887
+ set?: string[]
888
+ push?: string | string[]
889
+ }
890
+
891
+ export type DbResourceUpdatealiasesInput = {
892
+ set?: string[]
893
+ push?: string | string[]
894
+ }
895
+
896
+ export type DbResourceUpdateaccessMaintainerGroupSlugsInput = {
897
+ set?: string[]
898
+ push?: string | string[]
899
+ }
900
+
901
+ export type DbResourceUpdateOneWithoutChildrenNestedInput = {
902
+ create?: Prisma.XOR<Prisma.DbResourceCreateWithoutChildrenInput, Prisma.DbResourceUncheckedCreateWithoutChildrenInput>
903
+ connectOrCreate?: Prisma.DbResourceCreateOrConnectWithoutChildrenInput
904
+ upsert?: Prisma.DbResourceUpsertWithoutChildrenInput
905
+ disconnect?: Prisma.DbResourceWhereInput | boolean
906
+ delete?: Prisma.DbResourceWhereInput | boolean
907
+ connect?: Prisma.DbResourceWhereUniqueInput
908
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DbResourceUpdateToOneWithWhereWithoutChildrenInput, Prisma.DbResourceUpdateWithoutChildrenInput>, Prisma.DbResourceUncheckedUpdateWithoutChildrenInput>
909
+ }
910
+
911
+ export type DbResourceUpdateManyWithoutParentNestedInput = {
912
+ create?: Prisma.XOR<Prisma.DbResourceCreateWithoutParentInput, Prisma.DbResourceUncheckedCreateWithoutParentInput> | Prisma.DbResourceCreateWithoutParentInput[] | Prisma.DbResourceUncheckedCreateWithoutParentInput[]
913
+ connectOrCreate?: Prisma.DbResourceCreateOrConnectWithoutParentInput | Prisma.DbResourceCreateOrConnectWithoutParentInput[]
914
+ upsert?: Prisma.DbResourceUpsertWithWhereUniqueWithoutParentInput | Prisma.DbResourceUpsertWithWhereUniqueWithoutParentInput[]
915
+ createMany?: Prisma.DbResourceCreateManyParentInputEnvelope
916
+ set?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
917
+ disconnect?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
918
+ delete?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
919
+ connect?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
920
+ update?: Prisma.DbResourceUpdateWithWhereUniqueWithoutParentInput | Prisma.DbResourceUpdateWithWhereUniqueWithoutParentInput[]
921
+ updateMany?: Prisma.DbResourceUpdateManyWithWhereWithoutParentInput | Prisma.DbResourceUpdateManyWithWhereWithoutParentInput[]
922
+ deleteMany?: Prisma.DbResourceScalarWhereInput | Prisma.DbResourceScalarWhereInput[]
923
+ }
924
+
925
+ export type DbResourceUncheckedUpdateManyWithoutParentNestedInput = {
926
+ create?: Prisma.XOR<Prisma.DbResourceCreateWithoutParentInput, Prisma.DbResourceUncheckedCreateWithoutParentInput> | Prisma.DbResourceCreateWithoutParentInput[] | Prisma.DbResourceUncheckedCreateWithoutParentInput[]
927
+ connectOrCreate?: Prisma.DbResourceCreateOrConnectWithoutParentInput | Prisma.DbResourceCreateOrConnectWithoutParentInput[]
928
+ upsert?: Prisma.DbResourceUpsertWithWhereUniqueWithoutParentInput | Prisma.DbResourceUpsertWithWhereUniqueWithoutParentInput[]
929
+ createMany?: Prisma.DbResourceCreateManyParentInputEnvelope
930
+ set?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
931
+ disconnect?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
932
+ delete?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
933
+ connect?: Prisma.DbResourceWhereUniqueInput | Prisma.DbResourceWhereUniqueInput[]
934
+ update?: Prisma.DbResourceUpdateWithWhereUniqueWithoutParentInput | Prisma.DbResourceUpdateWithWhereUniqueWithoutParentInput[]
935
+ updateMany?: Prisma.DbResourceUpdateManyWithWhereWithoutParentInput | Prisma.DbResourceUpdateManyWithWhereWithoutParentInput[]
936
+ deleteMany?: Prisma.DbResourceScalarWhereInput | Prisma.DbResourceScalarWhereInput[]
937
+ }
938
+
939
+ export type DbResourceCreateNestedOneWithoutSourceRefsInput = {
940
+ create?: Prisma.XOR<Prisma.DbResourceCreateWithoutSourceRefsInput, Prisma.DbResourceUncheckedCreateWithoutSourceRefsInput>
941
+ connectOrCreate?: Prisma.DbResourceCreateOrConnectWithoutSourceRefsInput
942
+ connect?: Prisma.DbResourceWhereUniqueInput
943
+ }
944
+
945
+ export type DbResourceUpdateOneRequiredWithoutSourceRefsNestedInput = {
946
+ create?: Prisma.XOR<Prisma.DbResourceCreateWithoutSourceRefsInput, Prisma.DbResourceUncheckedCreateWithoutSourceRefsInput>
947
+ connectOrCreate?: Prisma.DbResourceCreateOrConnectWithoutSourceRefsInput
948
+ upsert?: Prisma.DbResourceUpsertWithoutSourceRefsInput
949
+ connect?: Prisma.DbResourceWhereUniqueInput
950
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DbResourceUpdateToOneWithWhereWithoutSourceRefsInput, Prisma.DbResourceUpdateWithoutSourceRefsInput>, Prisma.DbResourceUncheckedUpdateWithoutSourceRefsInput>
951
+ }
952
+
953
+ export type DbResourceCreateWithoutChildrenInput = {
954
+ id?: string
955
+ slug: string
956
+ type?: string
957
+ displayName: string
958
+ abbreviation?: string | null
959
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
960
+ description: string
961
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
962
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
963
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
964
+ notes?: string | null
965
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
966
+ appUrl?: string | null
967
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
968
+ iconName?: string | null
969
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
970
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
971
+ aiPrompt?: string | null
972
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
973
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
974
+ tier?: string | null
975
+ familySlug?: string | null
976
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
977
+ ownerPersonSlug?: string | null
978
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
979
+ accessComments?: string | null
980
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
981
+ createdAt?: Date | string
982
+ updatedAt?: Date | string
983
+ sourceRefs?: Prisma.SourceReferenceCreateNestedManyWithoutResourceInput
984
+ parent?: Prisma.DbResourceCreateNestedOneWithoutChildrenInput
985
+ }
986
+
987
+ export type DbResourceUncheckedCreateWithoutChildrenInput = {
988
+ id?: string
989
+ slug: string
990
+ type?: string
991
+ displayName: string
992
+ abbreviation?: string | null
993
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
994
+ description: string
995
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
996
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
997
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
998
+ notes?: string | null
999
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
1000
+ appUrl?: string | null
1001
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1002
+ iconName?: string | null
1003
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
1004
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1005
+ aiPrompt?: string | null
1006
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
1007
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1008
+ parentSlug?: string | null
1009
+ tier?: string | null
1010
+ familySlug?: string | null
1011
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
1012
+ ownerPersonSlug?: string | null
1013
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
1014
+ accessComments?: string | null
1015
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1016
+ createdAt?: Date | string
1017
+ updatedAt?: Date | string
1018
+ sourceRefs?: Prisma.SourceReferenceUncheckedCreateNestedManyWithoutResourceInput
1019
+ }
1020
+
1021
+ export type DbResourceCreateOrConnectWithoutChildrenInput = {
1022
+ where: Prisma.DbResourceWhereUniqueInput
1023
+ create: Prisma.XOR<Prisma.DbResourceCreateWithoutChildrenInput, Prisma.DbResourceUncheckedCreateWithoutChildrenInput>
1024
+ }
1025
+
1026
+ export type DbResourceCreateWithoutParentInput = {
1027
+ id?: string
1028
+ slug: string
1029
+ type?: string
1030
+ displayName: string
1031
+ abbreviation?: string | null
1032
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
1033
+ description: string
1034
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1035
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
1036
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1037
+ notes?: string | null
1038
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
1039
+ appUrl?: string | null
1040
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1041
+ iconName?: string | null
1042
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
1043
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1044
+ aiPrompt?: string | null
1045
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
1046
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1047
+ tier?: string | null
1048
+ familySlug?: string | null
1049
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
1050
+ ownerPersonSlug?: string | null
1051
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
1052
+ accessComments?: string | null
1053
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1054
+ createdAt?: Date | string
1055
+ updatedAt?: Date | string
1056
+ sourceRefs?: Prisma.SourceReferenceCreateNestedManyWithoutResourceInput
1057
+ children?: Prisma.DbResourceCreateNestedManyWithoutParentInput
1058
+ }
1059
+
1060
+ export type DbResourceUncheckedCreateWithoutParentInput = {
1061
+ id?: string
1062
+ slug: string
1063
+ type?: string
1064
+ displayName: string
1065
+ abbreviation?: string | null
1066
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
1067
+ description: string
1068
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1069
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
1070
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1071
+ notes?: string | null
1072
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
1073
+ appUrl?: string | null
1074
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1075
+ iconName?: string | null
1076
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
1077
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1078
+ aiPrompt?: string | null
1079
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
1080
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1081
+ tier?: string | null
1082
+ familySlug?: string | null
1083
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
1084
+ ownerPersonSlug?: string | null
1085
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
1086
+ accessComments?: string | null
1087
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1088
+ createdAt?: Date | string
1089
+ updatedAt?: Date | string
1090
+ sourceRefs?: Prisma.SourceReferenceUncheckedCreateNestedManyWithoutResourceInput
1091
+ children?: Prisma.DbResourceUncheckedCreateNestedManyWithoutParentInput
1092
+ }
1093
+
1094
+ export type DbResourceCreateOrConnectWithoutParentInput = {
1095
+ where: Prisma.DbResourceWhereUniqueInput
1096
+ create: Prisma.XOR<Prisma.DbResourceCreateWithoutParentInput, Prisma.DbResourceUncheckedCreateWithoutParentInput>
1097
+ }
1098
+
1099
+ export type DbResourceCreateManyParentInputEnvelope = {
1100
+ data: Prisma.DbResourceCreateManyParentInput | Prisma.DbResourceCreateManyParentInput[]
1101
+ skipDuplicates?: boolean
1102
+ }
1103
+
1104
+ export type DbResourceUpsertWithoutChildrenInput = {
1105
+ update: Prisma.XOR<Prisma.DbResourceUpdateWithoutChildrenInput, Prisma.DbResourceUncheckedUpdateWithoutChildrenInput>
1106
+ create: Prisma.XOR<Prisma.DbResourceCreateWithoutChildrenInput, Prisma.DbResourceUncheckedCreateWithoutChildrenInput>
1107
+ where?: Prisma.DbResourceWhereInput
1108
+ }
1109
+
1110
+ export type DbResourceUpdateToOneWithWhereWithoutChildrenInput = {
1111
+ where?: Prisma.DbResourceWhereInput
1112
+ data: Prisma.XOR<Prisma.DbResourceUpdateWithoutChildrenInput, Prisma.DbResourceUncheckedUpdateWithoutChildrenInput>
1113
+ }
1114
+
1115
+ export type DbResourceUpdateWithoutChildrenInput = {
1116
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1117
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1118
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1119
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
1120
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1121
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
1122
+ description?: Prisma.StringFieldUpdateOperationsInput | string
1123
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1124
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
1125
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1126
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1127
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
1128
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1129
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1130
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1131
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
1132
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1133
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1134
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
1135
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1136
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1137
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1138
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
1139
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1140
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
1141
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1142
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1143
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1144
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1145
+ sourceRefs?: Prisma.SourceReferenceUpdateManyWithoutResourceNestedInput
1146
+ parent?: Prisma.DbResourceUpdateOneWithoutChildrenNestedInput
1147
+ }
1148
+
1149
+ export type DbResourceUncheckedUpdateWithoutChildrenInput = {
1150
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1151
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1152
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1153
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
1154
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1155
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
1156
+ description?: Prisma.StringFieldUpdateOperationsInput | string
1157
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1158
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
1159
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1160
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1161
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
1162
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1163
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1164
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1165
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
1166
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1167
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1168
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
1169
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1170
+ parentSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1171
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1172
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1173
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
1174
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1175
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
1176
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1177
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1178
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1179
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1180
+ sourceRefs?: Prisma.SourceReferenceUncheckedUpdateManyWithoutResourceNestedInput
1181
+ }
1182
+
1183
+ export type DbResourceUpsertWithWhereUniqueWithoutParentInput = {
1184
+ where: Prisma.DbResourceWhereUniqueInput
1185
+ update: Prisma.XOR<Prisma.DbResourceUpdateWithoutParentInput, Prisma.DbResourceUncheckedUpdateWithoutParentInput>
1186
+ create: Prisma.XOR<Prisma.DbResourceCreateWithoutParentInput, Prisma.DbResourceUncheckedCreateWithoutParentInput>
1187
+ }
1188
+
1189
+ export type DbResourceUpdateWithWhereUniqueWithoutParentInput = {
1190
+ where: Prisma.DbResourceWhereUniqueInput
1191
+ data: Prisma.XOR<Prisma.DbResourceUpdateWithoutParentInput, Prisma.DbResourceUncheckedUpdateWithoutParentInput>
1192
+ }
1193
+
1194
+ export type DbResourceUpdateManyWithWhereWithoutParentInput = {
1195
+ where: Prisma.DbResourceScalarWhereInput
1196
+ data: Prisma.XOR<Prisma.DbResourceUpdateManyMutationInput, Prisma.DbResourceUncheckedUpdateManyWithoutParentInput>
1197
+ }
1198
+
1199
+ export type DbResourceScalarWhereInput = {
1200
+ AND?: Prisma.DbResourceScalarWhereInput | Prisma.DbResourceScalarWhereInput[]
1201
+ OR?: Prisma.DbResourceScalarWhereInput[]
1202
+ NOT?: Prisma.DbResourceScalarWhereInput | Prisma.DbResourceScalarWhereInput[]
1203
+ id?: Prisma.StringFilter<"DbResource"> | string
1204
+ slug?: Prisma.StringFilter<"DbResource"> | string
1205
+ type?: Prisma.StringFilter<"DbResource"> | string
1206
+ displayName?: Prisma.StringFilter<"DbResource"> | string
1207
+ abbreviation?: Prisma.StringNullableFilter<"DbResource"> | string | null
1208
+ nicknames?: Prisma.StringNullableListFilter<"DbResource">
1209
+ description?: Prisma.StringFilter<"DbResource"> | string
1210
+ access?: Prisma.JsonNullableFilter<"DbResource">
1211
+ teams?: Prisma.StringNullableListFilter<"DbResource">
1212
+ accessRequest?: Prisma.JsonNullableFilter<"DbResource">
1213
+ notes?: Prisma.StringNullableFilter<"DbResource"> | string | null
1214
+ tags?: Prisma.StringNullableListFilter<"DbResource">
1215
+ appUrl?: Prisma.StringNullableFilter<"DbResource"> | string | null
1216
+ links?: Prisma.JsonNullableFilter<"DbResource">
1217
+ iconName?: Prisma.StringNullableFilter<"DbResource"> | string | null
1218
+ screenshotIds?: Prisma.StringNullableListFilter<"DbResource">
1219
+ deprecated?: Prisma.JsonNullableFilter<"DbResource">
1220
+ aiPrompt?: Prisma.StringNullableFilter<"DbResource"> | string | null
1221
+ urlIssues?: Prisma.StringNullableListFilter<"DbResource">
1222
+ tiers?: Prisma.JsonNullableFilter<"DbResource">
1223
+ parentSlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
1224
+ tier?: Prisma.StringNullableFilter<"DbResource"> | string | null
1225
+ familySlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
1226
+ aliases?: Prisma.StringNullableListFilter<"DbResource">
1227
+ ownerPersonSlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
1228
+ accessMaintainerGroupSlugs?: Prisma.StringNullableListFilter<"DbResource">
1229
+ accessComments?: Prisma.StringNullableFilter<"DbResource"> | string | null
1230
+ extra?: Prisma.JsonNullableFilter<"DbResource">
1231
+ createdAt?: Prisma.DateTimeFilter<"DbResource"> | Date | string
1232
+ updatedAt?: Prisma.DateTimeFilter<"DbResource"> | Date | string
1233
+ }
1234
+
1235
+ export type DbResourceCreateWithoutSourceRefsInput = {
1236
+ id?: string
1237
+ slug: string
1238
+ type?: string
1239
+ displayName: string
1240
+ abbreviation?: string | null
1241
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
1242
+ description: string
1243
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1244
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
1245
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1246
+ notes?: string | null
1247
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
1248
+ appUrl?: string | null
1249
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1250
+ iconName?: string | null
1251
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
1252
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1253
+ aiPrompt?: string | null
1254
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
1255
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1256
+ tier?: string | null
1257
+ familySlug?: string | null
1258
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
1259
+ ownerPersonSlug?: string | null
1260
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
1261
+ accessComments?: string | null
1262
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1263
+ createdAt?: Date | string
1264
+ updatedAt?: Date | string
1265
+ parent?: Prisma.DbResourceCreateNestedOneWithoutChildrenInput
1266
+ children?: Prisma.DbResourceCreateNestedManyWithoutParentInput
1267
+ }
1268
+
1269
+ export type DbResourceUncheckedCreateWithoutSourceRefsInput = {
1270
+ id?: string
1271
+ slug: string
1272
+ type?: string
1273
+ displayName: string
1274
+ abbreviation?: string | null
1275
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
1276
+ description: string
1277
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1278
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
1279
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1280
+ notes?: string | null
1281
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
1282
+ appUrl?: string | null
1283
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1284
+ iconName?: string | null
1285
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
1286
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1287
+ aiPrompt?: string | null
1288
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
1289
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1290
+ parentSlug?: string | null
1291
+ tier?: string | null
1292
+ familySlug?: string | null
1293
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
1294
+ ownerPersonSlug?: string | null
1295
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
1296
+ accessComments?: string | null
1297
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1298
+ createdAt?: Date | string
1299
+ updatedAt?: Date | string
1300
+ children?: Prisma.DbResourceUncheckedCreateNestedManyWithoutParentInput
1301
+ }
1302
+
1303
+ export type DbResourceCreateOrConnectWithoutSourceRefsInput = {
1304
+ where: Prisma.DbResourceWhereUniqueInput
1305
+ create: Prisma.XOR<Prisma.DbResourceCreateWithoutSourceRefsInput, Prisma.DbResourceUncheckedCreateWithoutSourceRefsInput>
1306
+ }
1307
+
1308
+ export type DbResourceUpsertWithoutSourceRefsInput = {
1309
+ update: Prisma.XOR<Prisma.DbResourceUpdateWithoutSourceRefsInput, Prisma.DbResourceUncheckedUpdateWithoutSourceRefsInput>
1310
+ create: Prisma.XOR<Prisma.DbResourceCreateWithoutSourceRefsInput, Prisma.DbResourceUncheckedCreateWithoutSourceRefsInput>
1311
+ where?: Prisma.DbResourceWhereInput
1312
+ }
1313
+
1314
+ export type DbResourceUpdateToOneWithWhereWithoutSourceRefsInput = {
1315
+ where?: Prisma.DbResourceWhereInput
1316
+ data: Prisma.XOR<Prisma.DbResourceUpdateWithoutSourceRefsInput, Prisma.DbResourceUncheckedUpdateWithoutSourceRefsInput>
1317
+ }
1318
+
1319
+ export type DbResourceUpdateWithoutSourceRefsInput = {
1320
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1321
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1322
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1323
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
1324
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1325
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
1326
+ description?: Prisma.StringFieldUpdateOperationsInput | string
1327
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1328
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
1329
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1330
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1331
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
1332
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1333
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1334
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1335
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
1336
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1337
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1338
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
1339
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1340
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1341
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1342
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
1343
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1344
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
1345
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1346
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1347
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1348
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1349
+ parent?: Prisma.DbResourceUpdateOneWithoutChildrenNestedInput
1350
+ children?: Prisma.DbResourceUpdateManyWithoutParentNestedInput
1351
+ }
1352
+
1353
+ export type DbResourceUncheckedUpdateWithoutSourceRefsInput = {
1354
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1355
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1356
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1357
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
1358
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1359
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
1360
+ description?: Prisma.StringFieldUpdateOperationsInput | string
1361
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1362
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
1363
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1364
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1365
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
1366
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1367
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1368
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1369
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
1370
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1371
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1372
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
1373
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1374
+ parentSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1375
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1376
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1377
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
1378
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1379
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
1380
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1381
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1382
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1383
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1384
+ children?: Prisma.DbResourceUncheckedUpdateManyWithoutParentNestedInput
1385
+ }
1386
+
1387
+ export type DbResourceCreateManyParentInput = {
1388
+ id?: string
1389
+ slug: string
1390
+ type?: string
1391
+ displayName: string
1392
+ abbreviation?: string | null
1393
+ nicknames?: Prisma.DbResourceCreatenicknamesInput | string[]
1394
+ description: string
1395
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1396
+ teams?: Prisma.DbResourceCreateteamsInput | string[]
1397
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1398
+ notes?: string | null
1399
+ tags?: Prisma.DbResourceCreatetagsInput | string[]
1400
+ appUrl?: string | null
1401
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1402
+ iconName?: string | null
1403
+ screenshotIds?: Prisma.DbResourceCreatescreenshotIdsInput | string[]
1404
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1405
+ aiPrompt?: string | null
1406
+ urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
1407
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1408
+ tier?: string | null
1409
+ familySlug?: string | null
1410
+ aliases?: Prisma.DbResourceCreatealiasesInput | string[]
1411
+ ownerPersonSlug?: string | null
1412
+ accessMaintainerGroupSlugs?: Prisma.DbResourceCreateaccessMaintainerGroupSlugsInput | string[]
1413
+ accessComments?: string | null
1414
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1415
+ createdAt?: Date | string
1416
+ updatedAt?: Date | string
1417
+ }
1418
+
1419
+ export type DbResourceUpdateWithoutParentInput = {
1420
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1421
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1422
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1423
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
1424
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1425
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
1426
+ description?: Prisma.StringFieldUpdateOperationsInput | string
1427
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1428
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
1429
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1430
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1431
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
1432
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1433
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1434
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1435
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
1436
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1437
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1438
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
1439
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1440
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1441
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1442
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
1443
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1444
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
1445
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1446
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1447
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1448
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1449
+ sourceRefs?: Prisma.SourceReferenceUpdateManyWithoutResourceNestedInput
1450
+ children?: Prisma.DbResourceUpdateManyWithoutParentNestedInput
1451
+ }
1452
+
1453
+ export type DbResourceUncheckedUpdateWithoutParentInput = {
1454
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1455
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1456
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1457
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
1458
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1459
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
1460
+ description?: Prisma.StringFieldUpdateOperationsInput | string
1461
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1462
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
1463
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1464
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1465
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
1466
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1467
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1468
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1469
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
1470
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1471
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1472
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
1473
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1474
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1475
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1476
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
1477
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1478
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
1479
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1480
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1481
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1482
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1483
+ sourceRefs?: Prisma.SourceReferenceUncheckedUpdateManyWithoutResourceNestedInput
1484
+ children?: Prisma.DbResourceUncheckedUpdateManyWithoutParentNestedInput
1485
+ }
1486
+
1487
+ export type DbResourceUncheckedUpdateManyWithoutParentInput = {
1488
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1489
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1490
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1491
+ displayName?: Prisma.StringFieldUpdateOperationsInput | string
1492
+ abbreviation?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1493
+ nicknames?: Prisma.DbResourceUpdatenicknamesInput | string[]
1494
+ description?: Prisma.StringFieldUpdateOperationsInput | string
1495
+ access?:PrismaJson.AccessMethod | Prisma.NullableJsonNullValueInput
1496
+ teams?: Prisma.DbResourceUpdateteamsInput | string[]
1497
+ accessRequest?:PrismaJson.AccessRequest | Prisma.NullableJsonNullValueInput
1498
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1499
+ tags?: Prisma.DbResourceUpdatetagsInput | string[]
1500
+ appUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1501
+ links?:PrismaJson.AppLink[] | Prisma.NullableJsonNullValueInput
1502
+ iconName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1503
+ screenshotIds?: Prisma.DbResourceUpdatescreenshotIdsInput | string[]
1504
+ deprecated?:PrismaJson.AppDeprecation | Prisma.NullableJsonNullValueInput
1505
+ aiPrompt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1506
+ urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
1507
+ tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
1508
+ tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1509
+ familySlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1510
+ aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
1511
+ ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1512
+ accessMaintainerGroupSlugs?: Prisma.DbResourceUpdateaccessMaintainerGroupSlugsInput | string[]
1513
+ accessComments?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1514
+ extra?:PrismaJson.SubResourceExtra | Prisma.NullableJsonNullValueInput
1515
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1516
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1517
+ }
1518
+
1519
+
1520
+ /**
1521
+ * Count Type DbResourceCountOutputType
1522
+ */
1523
+
1524
+ export type DbResourceCountOutputType = {
1525
+ sourceRefs: number
1526
+ children: number
1527
+ }
1528
+
1529
+ export type DbResourceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1530
+ sourceRefs?: boolean | DbResourceCountOutputTypeCountSourceRefsArgs
1531
+ children?: boolean | DbResourceCountOutputTypeCountChildrenArgs
1532
+ }
1533
+
1534
+ /**
1535
+ * DbResourceCountOutputType without action
1536
+ */
1537
+ export type DbResourceCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1538
+ /**
1539
+ * Select specific fields to fetch from the DbResourceCountOutputType
1540
+ */
1541
+ select?: Prisma.DbResourceCountOutputTypeSelect<ExtArgs> | null
1542
+ }
1543
+
1544
+ /**
1545
+ * DbResourceCountOutputType without action
1546
+ */
1547
+ export type DbResourceCountOutputTypeCountSourceRefsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1548
+ where?: Prisma.SourceReferenceWhereInput
1549
+ }
1550
+
1551
+ /**
1552
+ * DbResourceCountOutputType without action
1553
+ */
1554
+ export type DbResourceCountOutputTypeCountChildrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1555
+ where?: Prisma.DbResourceWhereInput
1556
+ }
1557
+
1558
+
1559
+ export type DbResourceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1560
+ id?: boolean
1561
+ slug?: boolean
1562
+ type?: boolean
1563
+ displayName?: boolean
1564
+ abbreviation?: boolean
1565
+ nicknames?: boolean
1566
+ description?: boolean
1567
+ access?: boolean
1568
+ teams?: boolean
1569
+ accessRequest?: boolean
1570
+ notes?: boolean
1571
+ tags?: boolean
1572
+ appUrl?: boolean
1573
+ links?: boolean
1574
+ iconName?: boolean
1575
+ screenshotIds?: boolean
1576
+ deprecated?: boolean
1577
+ aiPrompt?: boolean
1578
+ urlIssues?: boolean
1579
+ tiers?: boolean
1580
+ parentSlug?: boolean
1581
+ tier?: boolean
1582
+ familySlug?: boolean
1583
+ aliases?: boolean
1584
+ ownerPersonSlug?: boolean
1585
+ accessMaintainerGroupSlugs?: boolean
1586
+ accessComments?: boolean
1587
+ extra?: boolean
1588
+ createdAt?: boolean
1589
+ updatedAt?: boolean
1590
+ sourceRefs?: boolean | Prisma.DbResource$sourceRefsArgs<ExtArgs>
1591
+ parent?: boolean | Prisma.DbResource$parentArgs<ExtArgs>
1592
+ children?: boolean | Prisma.DbResource$childrenArgs<ExtArgs>
1593
+ _count?: boolean | Prisma.DbResourceCountOutputTypeDefaultArgs<ExtArgs>
1594
+ }, ExtArgs["result"]["dbResource"]>
1595
+
1596
+ export type DbResourceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1597
+ id?: boolean
1598
+ slug?: boolean
1599
+ type?: boolean
1600
+ displayName?: boolean
1601
+ abbreviation?: boolean
1602
+ nicknames?: boolean
1603
+ description?: boolean
1604
+ access?: boolean
1605
+ teams?: boolean
1606
+ accessRequest?: boolean
1607
+ notes?: boolean
1608
+ tags?: boolean
1609
+ appUrl?: boolean
1610
+ links?: boolean
1611
+ iconName?: boolean
1612
+ screenshotIds?: boolean
1613
+ deprecated?: boolean
1614
+ aiPrompt?: boolean
1615
+ urlIssues?: boolean
1616
+ tiers?: boolean
1617
+ parentSlug?: boolean
1618
+ tier?: boolean
1619
+ familySlug?: boolean
1620
+ aliases?: boolean
1621
+ ownerPersonSlug?: boolean
1622
+ accessMaintainerGroupSlugs?: boolean
1623
+ accessComments?: boolean
1624
+ extra?: boolean
1625
+ createdAt?: boolean
1626
+ updatedAt?: boolean
1627
+ parent?: boolean | Prisma.DbResource$parentArgs<ExtArgs>
1628
+ }, ExtArgs["result"]["dbResource"]>
1629
+
1630
+ export type DbResourceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1631
+ id?: boolean
1632
+ slug?: boolean
1633
+ type?: boolean
1634
+ displayName?: boolean
1635
+ abbreviation?: boolean
1636
+ nicknames?: boolean
1637
+ description?: boolean
1638
+ access?: boolean
1639
+ teams?: boolean
1640
+ accessRequest?: boolean
1641
+ notes?: boolean
1642
+ tags?: boolean
1643
+ appUrl?: boolean
1644
+ links?: boolean
1645
+ iconName?: boolean
1646
+ screenshotIds?: boolean
1647
+ deprecated?: boolean
1648
+ aiPrompt?: boolean
1649
+ urlIssues?: boolean
1650
+ tiers?: boolean
1651
+ parentSlug?: boolean
1652
+ tier?: boolean
1653
+ familySlug?: boolean
1654
+ aliases?: boolean
1655
+ ownerPersonSlug?: boolean
1656
+ accessMaintainerGroupSlugs?: boolean
1657
+ accessComments?: boolean
1658
+ extra?: boolean
1659
+ createdAt?: boolean
1660
+ updatedAt?: boolean
1661
+ parent?: boolean | Prisma.DbResource$parentArgs<ExtArgs>
1662
+ }, ExtArgs["result"]["dbResource"]>
1663
+
1664
+ export type DbResourceSelectScalar = {
1665
+ id?: boolean
1666
+ slug?: boolean
1667
+ type?: boolean
1668
+ displayName?: boolean
1669
+ abbreviation?: boolean
1670
+ nicknames?: boolean
1671
+ description?: boolean
1672
+ access?: boolean
1673
+ teams?: boolean
1674
+ accessRequest?: boolean
1675
+ notes?: boolean
1676
+ tags?: boolean
1677
+ appUrl?: boolean
1678
+ links?: boolean
1679
+ iconName?: boolean
1680
+ screenshotIds?: boolean
1681
+ deprecated?: boolean
1682
+ aiPrompt?: boolean
1683
+ urlIssues?: boolean
1684
+ tiers?: boolean
1685
+ parentSlug?: boolean
1686
+ tier?: boolean
1687
+ familySlug?: boolean
1688
+ aliases?: boolean
1689
+ ownerPersonSlug?: boolean
1690
+ accessMaintainerGroupSlugs?: boolean
1691
+ accessComments?: boolean
1692
+ extra?: boolean
1693
+ createdAt?: boolean
1694
+ updatedAt?: boolean
1695
+ }
1696
+
1697
+ export type DbResourceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "slug" | "type" | "displayName" | "abbreviation" | "nicknames" | "description" | "access" | "teams" | "accessRequest" | "notes" | "tags" | "appUrl" | "links" | "iconName" | "screenshotIds" | "deprecated" | "aiPrompt" | "urlIssues" | "tiers" | "parentSlug" | "tier" | "familySlug" | "aliases" | "ownerPersonSlug" | "accessMaintainerGroupSlugs" | "accessComments" | "extra" | "createdAt" | "updatedAt", ExtArgs["result"]["dbResource"]>
1698
+ export type DbResourceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1699
+ sourceRefs?: boolean | Prisma.DbResource$sourceRefsArgs<ExtArgs>
1700
+ parent?: boolean | Prisma.DbResource$parentArgs<ExtArgs>
1701
+ children?: boolean | Prisma.DbResource$childrenArgs<ExtArgs>
1702
+ _count?: boolean | Prisma.DbResourceCountOutputTypeDefaultArgs<ExtArgs>
1703
+ }
1704
+ export type DbResourceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1705
+ parent?: boolean | Prisma.DbResource$parentArgs<ExtArgs>
1706
+ }
1707
+ export type DbResourceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1708
+ parent?: boolean | Prisma.DbResource$parentArgs<ExtArgs>
1709
+ }
1710
+
1711
+ export type $DbResourcePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1712
+ name: "DbResource"
1713
+ objects: {
1714
+ sourceRefs: Prisma.$SourceReferencePayload<ExtArgs>[]
1715
+ parent: Prisma.$DbResourcePayload<ExtArgs> | null
1716
+ children: Prisma.$DbResourcePayload<ExtArgs>[]
1717
+ }
1718
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1719
+ id: string
1720
+ slug: string
1721
+ type: string
1722
+ displayName: string
1723
+ abbreviation: string | null
1724
+ nicknames: string[]
1725
+ description: string
1726
+ /**
1727
+ * [AccessMethod]
1728
+ */
1729
+ access:PrismaJson.AccessMethod | null
1730
+ teams: string[]
1731
+ /**
1732
+ * [AccessRequest] - Per-resource approval configuration linking to ApprovalMethod
1733
+ */
1734
+ accessRequest:PrismaJson.AccessRequest | null
1735
+ notes: string | null
1736
+ tags: string[]
1737
+ appUrl: string | null
1738
+ /**
1739
+ * [AppLink[]]
1740
+ */
1741
+ links:PrismaJson.AppLink[] | null
1742
+ iconName: string | null
1743
+ screenshotIds: string[]
1744
+ /**
1745
+ * [AppDeprecation] - Deprecation info with optional replacement slug
1746
+ */
1747
+ deprecated:PrismaJson.AppDeprecation | null
1748
+ aiPrompt: string | null
1749
+ urlIssues: string[]
1750
+ /**
1751
+ * [TierVariant[]]
1752
+ */
1753
+ tiers:PrismaJson.TierVariant[] | null
1754
+ parentSlug: string | null
1755
+ tier: string | null
1756
+ familySlug: string | null
1757
+ aliases: string[]
1758
+ ownerPersonSlug: string | null
1759
+ accessMaintainerGroupSlugs: string[]
1760
+ accessComments: string | null
1761
+ /**
1762
+ * [SubResourceExtra]
1763
+ */
1764
+ extra:PrismaJson.SubResourceExtra | null
1765
+ createdAt: Date
1766
+ updatedAt: Date
1767
+ }, ExtArgs["result"]["dbResource"]>
1768
+ composites: {}
1769
+ }
1770
+
1771
+ export type DbResourceGetPayload<S extends boolean | null | undefined | DbResourceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DbResourcePayload, S>
1772
+
1773
+ export type DbResourceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1774
+ Omit<DbResourceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1775
+ select?: DbResourceCountAggregateInputType | true
1776
+ }
1777
+
1778
+ export interface DbResourceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1779
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DbResource'], meta: { name: 'DbResource' } }
1780
+ /**
1781
+ * Find zero or one DbResource that matches the filter.
1782
+ * @param {DbResourceFindUniqueArgs} args - Arguments to find a DbResource
1783
+ * @example
1784
+ * // Get one DbResource
1785
+ * const dbResource = await prisma.dbResource.findUnique({
1786
+ * where: {
1787
+ * // ... provide filter here
1788
+ * }
1789
+ * })
1790
+ */
1791
+ findUnique<T extends DbResourceFindUniqueArgs>(args: Prisma.SelectSubset<T, DbResourceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1792
+
1793
+ /**
1794
+ * Find one DbResource that matches the filter or throw an error with `error.code='P2025'`
1795
+ * if no matches were found.
1796
+ * @param {DbResourceFindUniqueOrThrowArgs} args - Arguments to find a DbResource
1797
+ * @example
1798
+ * // Get one DbResource
1799
+ * const dbResource = await prisma.dbResource.findUniqueOrThrow({
1800
+ * where: {
1801
+ * // ... provide filter here
1802
+ * }
1803
+ * })
1804
+ */
1805
+ findUniqueOrThrow<T extends DbResourceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DbResourceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1806
+
1807
+ /**
1808
+ * Find the first DbResource that matches the filter.
1809
+ * Note, that providing `undefined` is treated as the value not being there.
1810
+ * Read more here: https://pris.ly/d/null-undefined
1811
+ * @param {DbResourceFindFirstArgs} args - Arguments to find a DbResource
1812
+ * @example
1813
+ * // Get one DbResource
1814
+ * const dbResource = await prisma.dbResource.findFirst({
1815
+ * where: {
1816
+ * // ... provide filter here
1817
+ * }
1818
+ * })
1819
+ */
1820
+ findFirst<T extends DbResourceFindFirstArgs>(args?: Prisma.SelectSubset<T, DbResourceFindFirstArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1821
+
1822
+ /**
1823
+ * Find the first DbResource that matches the filter or
1824
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1825
+ * Note, that providing `undefined` is treated as the value not being there.
1826
+ * Read more here: https://pris.ly/d/null-undefined
1827
+ * @param {DbResourceFindFirstOrThrowArgs} args - Arguments to find a DbResource
1828
+ * @example
1829
+ * // Get one DbResource
1830
+ * const dbResource = await prisma.dbResource.findFirstOrThrow({
1831
+ * where: {
1832
+ * // ... provide filter here
1833
+ * }
1834
+ * })
1835
+ */
1836
+ findFirstOrThrow<T extends DbResourceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DbResourceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1837
+
1838
+ /**
1839
+ * Find zero or more DbResources that matches the filter.
1840
+ * Note, that providing `undefined` is treated as the value not being there.
1841
+ * Read more here: https://pris.ly/d/null-undefined
1842
+ * @param {DbResourceFindManyArgs} args - Arguments to filter and select certain fields only.
1843
+ * @example
1844
+ * // Get all DbResources
1845
+ * const dbResources = await prisma.dbResource.findMany()
1846
+ *
1847
+ * // Get first 10 DbResources
1848
+ * const dbResources = await prisma.dbResource.findMany({ take: 10 })
1849
+ *
1850
+ * // Only select the `id`
1851
+ * const dbResourceWithIdOnly = await prisma.dbResource.findMany({ select: { id: true } })
1852
+ *
1853
+ */
1854
+ findMany<T extends DbResourceFindManyArgs>(args?: Prisma.SelectSubset<T, DbResourceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1855
+
1856
+ /**
1857
+ * Create a DbResource.
1858
+ * @param {DbResourceCreateArgs} args - Arguments to create a DbResource.
1859
+ * @example
1860
+ * // Create one DbResource
1861
+ * const DbResource = await prisma.dbResource.create({
1862
+ * data: {
1863
+ * // ... data to create a DbResource
1864
+ * }
1865
+ * })
1866
+ *
1867
+ */
1868
+ create<T extends DbResourceCreateArgs>(args: Prisma.SelectSubset<T, DbResourceCreateArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1869
+
1870
+ /**
1871
+ * Create many DbResources.
1872
+ * @param {DbResourceCreateManyArgs} args - Arguments to create many DbResources.
1873
+ * @example
1874
+ * // Create many DbResources
1875
+ * const dbResource = await prisma.dbResource.createMany({
1876
+ * data: [
1877
+ * // ... provide data here
1878
+ * ]
1879
+ * })
1880
+ *
1881
+ */
1882
+ createMany<T extends DbResourceCreateManyArgs>(args?: Prisma.SelectSubset<T, DbResourceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1883
+
1884
+ /**
1885
+ * Create many DbResources and returns the data saved in the database.
1886
+ * @param {DbResourceCreateManyAndReturnArgs} args - Arguments to create many DbResources.
1887
+ * @example
1888
+ * // Create many DbResources
1889
+ * const dbResource = await prisma.dbResource.createManyAndReturn({
1890
+ * data: [
1891
+ * // ... provide data here
1892
+ * ]
1893
+ * })
1894
+ *
1895
+ * // Create many DbResources and only return the `id`
1896
+ * const dbResourceWithIdOnly = await prisma.dbResource.createManyAndReturn({
1897
+ * select: { id: true },
1898
+ * data: [
1899
+ * // ... provide data here
1900
+ * ]
1901
+ * })
1902
+ * Note, that providing `undefined` is treated as the value not being there.
1903
+ * Read more here: https://pris.ly/d/null-undefined
1904
+ *
1905
+ */
1906
+ createManyAndReturn<T extends DbResourceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DbResourceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1907
+
1908
+ /**
1909
+ * Delete a DbResource.
1910
+ * @param {DbResourceDeleteArgs} args - Arguments to delete one DbResource.
1911
+ * @example
1912
+ * // Delete one DbResource
1913
+ * const DbResource = await prisma.dbResource.delete({
1914
+ * where: {
1915
+ * // ... filter to delete one DbResource
1916
+ * }
1917
+ * })
1918
+ *
1919
+ */
1920
+ delete<T extends DbResourceDeleteArgs>(args: Prisma.SelectSubset<T, DbResourceDeleteArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1921
+
1922
+ /**
1923
+ * Update one DbResource.
1924
+ * @param {DbResourceUpdateArgs} args - Arguments to update one DbResource.
1925
+ * @example
1926
+ * // Update one DbResource
1927
+ * const dbResource = await prisma.dbResource.update({
1928
+ * where: {
1929
+ * // ... provide filter here
1930
+ * },
1931
+ * data: {
1932
+ * // ... provide data here
1933
+ * }
1934
+ * })
1935
+ *
1936
+ */
1937
+ update<T extends DbResourceUpdateArgs>(args: Prisma.SelectSubset<T, DbResourceUpdateArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1938
+
1939
+ /**
1940
+ * Delete zero or more DbResources.
1941
+ * @param {DbResourceDeleteManyArgs} args - Arguments to filter DbResources to delete.
1942
+ * @example
1943
+ * // Delete a few DbResources
1944
+ * const { count } = await prisma.dbResource.deleteMany({
1945
+ * where: {
1946
+ * // ... provide filter here
1947
+ * }
1948
+ * })
1949
+ *
1950
+ */
1951
+ deleteMany<T extends DbResourceDeleteManyArgs>(args?: Prisma.SelectSubset<T, DbResourceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1952
+
1953
+ /**
1954
+ * Update zero or more DbResources.
1955
+ * Note, that providing `undefined` is treated as the value not being there.
1956
+ * Read more here: https://pris.ly/d/null-undefined
1957
+ * @param {DbResourceUpdateManyArgs} args - Arguments to update one or more rows.
1958
+ * @example
1959
+ * // Update many DbResources
1960
+ * const dbResource = await prisma.dbResource.updateMany({
1961
+ * where: {
1962
+ * // ... provide filter here
1963
+ * },
1964
+ * data: {
1965
+ * // ... provide data here
1966
+ * }
1967
+ * })
1968
+ *
1969
+ */
1970
+ updateMany<T extends DbResourceUpdateManyArgs>(args: Prisma.SelectSubset<T, DbResourceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1971
+
1972
+ /**
1973
+ * Update zero or more DbResources and returns the data updated in the database.
1974
+ * @param {DbResourceUpdateManyAndReturnArgs} args - Arguments to update many DbResources.
1975
+ * @example
1976
+ * // Update many DbResources
1977
+ * const dbResource = await prisma.dbResource.updateManyAndReturn({
1978
+ * where: {
1979
+ * // ... provide filter here
1980
+ * },
1981
+ * data: [
1982
+ * // ... provide data here
1983
+ * ]
1984
+ * })
1985
+ *
1986
+ * // Update zero or more DbResources and only return the `id`
1987
+ * const dbResourceWithIdOnly = await prisma.dbResource.updateManyAndReturn({
1988
+ * select: { id: true },
1989
+ * where: {
1990
+ * // ... provide filter here
1991
+ * },
1992
+ * data: [
1993
+ * // ... provide data here
1994
+ * ]
1995
+ * })
1996
+ * Note, that providing `undefined` is treated as the value not being there.
1997
+ * Read more here: https://pris.ly/d/null-undefined
1998
+ *
1999
+ */
2000
+ updateManyAndReturn<T extends DbResourceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DbResourceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2001
+
2002
+ /**
2003
+ * Create or update one DbResource.
2004
+ * @param {DbResourceUpsertArgs} args - Arguments to update or create a DbResource.
2005
+ * @example
2006
+ * // Update or create a DbResource
2007
+ * const dbResource = await prisma.dbResource.upsert({
2008
+ * create: {
2009
+ * // ... data to create a DbResource
2010
+ * },
2011
+ * update: {
2012
+ * // ... in case it already exists, update
2013
+ * },
2014
+ * where: {
2015
+ * // ... the filter for the DbResource we want to update
2016
+ * }
2017
+ * })
2018
+ */
2019
+ upsert<T extends DbResourceUpsertArgs>(args: Prisma.SelectSubset<T, DbResourceUpsertArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2020
+
2021
+
2022
+ /**
2023
+ * Count the number of DbResources.
2024
+ * Note, that providing `undefined` is treated as the value not being there.
2025
+ * Read more here: https://pris.ly/d/null-undefined
2026
+ * @param {DbResourceCountArgs} args - Arguments to filter DbResources to count.
2027
+ * @example
2028
+ * // Count the number of DbResources
2029
+ * const count = await prisma.dbResource.count({
2030
+ * where: {
2031
+ * // ... the filter for the DbResources we want to count
2032
+ * }
2033
+ * })
2034
+ **/
2035
+ count<T extends DbResourceCountArgs>(
2036
+ args?: Prisma.Subset<T, DbResourceCountArgs>,
2037
+ ): Prisma.PrismaPromise<
2038
+ T extends runtime.Types.Utils.Record<'select', any>
2039
+ ? T['select'] extends true
2040
+ ? number
2041
+ : Prisma.GetScalarType<T['select'], DbResourceCountAggregateOutputType>
2042
+ : number
2043
+ >
2044
+
2045
+ /**
2046
+ * Allows you to perform aggregations operations on a DbResource.
2047
+ * Note, that providing `undefined` is treated as the value not being there.
2048
+ * Read more here: https://pris.ly/d/null-undefined
2049
+ * @param {DbResourceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2050
+ * @example
2051
+ * // Ordered by age ascending
2052
+ * // Where email contains prisma.io
2053
+ * // Limited to the 10 users
2054
+ * const aggregations = await prisma.user.aggregate({
2055
+ * _avg: {
2056
+ * age: true,
2057
+ * },
2058
+ * where: {
2059
+ * email: {
2060
+ * contains: "prisma.io",
2061
+ * },
2062
+ * },
2063
+ * orderBy: {
2064
+ * age: "asc",
2065
+ * },
2066
+ * take: 10,
2067
+ * })
2068
+ **/
2069
+ aggregate<T extends DbResourceAggregateArgs>(args: Prisma.Subset<T, DbResourceAggregateArgs>): Prisma.PrismaPromise<GetDbResourceAggregateType<T>>
2070
+
2071
+ /**
2072
+ * Group by DbResource.
2073
+ * Note, that providing `undefined` is treated as the value not being there.
2074
+ * Read more here: https://pris.ly/d/null-undefined
2075
+ * @param {DbResourceGroupByArgs} args - Group by arguments.
2076
+ * @example
2077
+ * // Group by city, order by createdAt, get count
2078
+ * const result = await prisma.user.groupBy({
2079
+ * by: ['city', 'createdAt'],
2080
+ * orderBy: {
2081
+ * createdAt: true
2082
+ * },
2083
+ * _count: {
2084
+ * _all: true
2085
+ * },
2086
+ * })
2087
+ *
2088
+ **/
2089
+ groupBy<
2090
+ T extends DbResourceGroupByArgs,
2091
+ HasSelectOrTake extends Prisma.Or<
2092
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
2093
+ Prisma.Extends<'take', Prisma.Keys<T>>
2094
+ >,
2095
+ OrderByArg extends Prisma.True extends HasSelectOrTake
2096
+ ? { orderBy: DbResourceGroupByArgs['orderBy'] }
2097
+ : { orderBy?: DbResourceGroupByArgs['orderBy'] },
2098
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2099
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2100
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
2101
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
2102
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
2103
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2104
+ InputErrors extends ByEmpty extends Prisma.True
2105
+ ? `Error: "by" must not be empty.`
2106
+ : HavingValid extends Prisma.False
2107
+ ? {
2108
+ [P in HavingFields]: P extends ByFields
2109
+ ? never
2110
+ : P extends string
2111
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2112
+ : [
2113
+ Error,
2114
+ 'Field ',
2115
+ P,
2116
+ ` in "having" needs to be provided in "by"`,
2117
+ ]
2118
+ }[HavingFields]
2119
+ : 'take' extends Prisma.Keys<T>
2120
+ ? 'orderBy' extends Prisma.Keys<T>
2121
+ ? ByValid extends Prisma.True
2122
+ ? {}
2123
+ : {
2124
+ [P in OrderFields]: P extends ByFields
2125
+ ? never
2126
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2127
+ }[OrderFields]
2128
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
2129
+ : 'skip' extends Prisma.Keys<T>
2130
+ ? 'orderBy' extends Prisma.Keys<T>
2131
+ ? ByValid extends Prisma.True
2132
+ ? {}
2133
+ : {
2134
+ [P in OrderFields]: P extends ByFields
2135
+ ? never
2136
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2137
+ }[OrderFields]
2138
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
2139
+ : ByValid extends Prisma.True
2140
+ ? {}
2141
+ : {
2142
+ [P in OrderFields]: P extends ByFields
2143
+ ? never
2144
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2145
+ }[OrderFields]
2146
+ >(args: Prisma.SubsetIntersection<T, DbResourceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbResourceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2147
+ /**
2148
+ * Fields of the DbResource model
2149
+ */
2150
+ readonly fields: DbResourceFieldRefs;
2151
+ }
2152
+
2153
+ /**
2154
+ * The delegate class that acts as a "Promise-like" for DbResource.
2155
+ * Why is this prefixed with `Prisma__`?
2156
+ * Because we want to prevent naming conflicts as mentioned in
2157
+ * https://github.com/prisma/prisma-client-js/issues/707
2158
+ */
2159
+ export interface Prisma__DbResourceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2160
+ readonly [Symbol.toStringTag]: "PrismaPromise"
2161
+ sourceRefs<T extends Prisma.DbResource$sourceRefsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbResource$sourceRefsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SourceReferencePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2162
+ parent<T extends Prisma.DbResource$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbResource$parentArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2163
+ children<T extends Prisma.DbResource$childrenArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbResource$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2164
+ /**
2165
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
2166
+ * @param onfulfilled The callback to execute when the Promise is resolved.
2167
+ * @param onrejected The callback to execute when the Promise is rejected.
2168
+ * @returns A Promise for the completion of which ever callback is executed.
2169
+ */
2170
+ 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>
2171
+ /**
2172
+ * Attaches a callback for only the rejection of the Promise.
2173
+ * @param onrejected The callback to execute when the Promise is rejected.
2174
+ * @returns A Promise for the completion of the callback.
2175
+ */
2176
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2177
+ /**
2178
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2179
+ * resolved value cannot be modified from the callback.
2180
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2181
+ * @returns A Promise for the completion of the callback.
2182
+ */
2183
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2184
+ }
2185
+
2186
+
2187
+
2188
+
2189
+ /**
2190
+ * Fields of the DbResource model
2191
+ */
2192
+ export interface DbResourceFieldRefs {
2193
+ readonly id: Prisma.FieldRef<"DbResource", 'String'>
2194
+ readonly slug: Prisma.FieldRef<"DbResource", 'String'>
2195
+ readonly type: Prisma.FieldRef<"DbResource", 'String'>
2196
+ readonly displayName: Prisma.FieldRef<"DbResource", 'String'>
2197
+ readonly abbreviation: Prisma.FieldRef<"DbResource", 'String'>
2198
+ readonly nicknames: Prisma.FieldRef<"DbResource", 'String[]'>
2199
+ readonly description: Prisma.FieldRef<"DbResource", 'String'>
2200
+ readonly access: Prisma.FieldRef<"DbResource", 'Json'>
2201
+ readonly teams: Prisma.FieldRef<"DbResource", 'String[]'>
2202
+ readonly accessRequest: Prisma.FieldRef<"DbResource", 'Json'>
2203
+ readonly notes: Prisma.FieldRef<"DbResource", 'String'>
2204
+ readonly tags: Prisma.FieldRef<"DbResource", 'String[]'>
2205
+ readonly appUrl: Prisma.FieldRef<"DbResource", 'String'>
2206
+ readonly links: Prisma.FieldRef<"DbResource", 'Json'>
2207
+ readonly iconName: Prisma.FieldRef<"DbResource", 'String'>
2208
+ readonly screenshotIds: Prisma.FieldRef<"DbResource", 'String[]'>
2209
+ readonly deprecated: Prisma.FieldRef<"DbResource", 'Json'>
2210
+ readonly aiPrompt: Prisma.FieldRef<"DbResource", 'String'>
2211
+ readonly urlIssues: Prisma.FieldRef<"DbResource", 'String[]'>
2212
+ readonly tiers: Prisma.FieldRef<"DbResource", 'Json'>
2213
+ readonly parentSlug: Prisma.FieldRef<"DbResource", 'String'>
2214
+ readonly tier: Prisma.FieldRef<"DbResource", 'String'>
2215
+ readonly familySlug: Prisma.FieldRef<"DbResource", 'String'>
2216
+ readonly aliases: Prisma.FieldRef<"DbResource", 'String[]'>
2217
+ readonly ownerPersonSlug: Prisma.FieldRef<"DbResource", 'String'>
2218
+ readonly accessMaintainerGroupSlugs: Prisma.FieldRef<"DbResource", 'String[]'>
2219
+ readonly accessComments: Prisma.FieldRef<"DbResource", 'String'>
2220
+ readonly extra: Prisma.FieldRef<"DbResource", 'Json'>
2221
+ readonly createdAt: Prisma.FieldRef<"DbResource", 'DateTime'>
2222
+ readonly updatedAt: Prisma.FieldRef<"DbResource", 'DateTime'>
2223
+ }
2224
+
2225
+
2226
+ // Custom InputTypes
2227
+ /**
2228
+ * DbResource findUnique
2229
+ */
2230
+ export type DbResourceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2231
+ /**
2232
+ * Select specific fields to fetch from the DbResource
2233
+ */
2234
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2235
+ /**
2236
+ * Omit specific fields from the DbResource
2237
+ */
2238
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2239
+ /**
2240
+ * Choose, which related nodes to fetch as well
2241
+ */
2242
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2243
+ /**
2244
+ * Filter, which DbResource to fetch.
2245
+ */
2246
+ where: Prisma.DbResourceWhereUniqueInput
2247
+ }
2248
+
2249
+ /**
2250
+ * DbResource findUniqueOrThrow
2251
+ */
2252
+ export type DbResourceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2253
+ /**
2254
+ * Select specific fields to fetch from the DbResource
2255
+ */
2256
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2257
+ /**
2258
+ * Omit specific fields from the DbResource
2259
+ */
2260
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2261
+ /**
2262
+ * Choose, which related nodes to fetch as well
2263
+ */
2264
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2265
+ /**
2266
+ * Filter, which DbResource to fetch.
2267
+ */
2268
+ where: Prisma.DbResourceWhereUniqueInput
2269
+ }
2270
+
2271
+ /**
2272
+ * DbResource findFirst
2273
+ */
2274
+ export type DbResourceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2275
+ /**
2276
+ * Select specific fields to fetch from the DbResource
2277
+ */
2278
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2279
+ /**
2280
+ * Omit specific fields from the DbResource
2281
+ */
2282
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2283
+ /**
2284
+ * Choose, which related nodes to fetch as well
2285
+ */
2286
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2287
+ /**
2288
+ * Filter, which DbResource to fetch.
2289
+ */
2290
+ where?: Prisma.DbResourceWhereInput
2291
+ /**
2292
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2293
+ *
2294
+ * Determine the order of DbResources to fetch.
2295
+ */
2296
+ orderBy?: Prisma.DbResourceOrderByWithRelationInput | Prisma.DbResourceOrderByWithRelationInput[]
2297
+ /**
2298
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2299
+ *
2300
+ * Sets the position for searching for DbResources.
2301
+ */
2302
+ cursor?: Prisma.DbResourceWhereUniqueInput
2303
+ /**
2304
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2305
+ *
2306
+ * Take `±n` DbResources from the position of the cursor.
2307
+ */
2308
+ take?: number
2309
+ /**
2310
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2311
+ *
2312
+ * Skip the first `n` DbResources.
2313
+ */
2314
+ skip?: number
2315
+ /**
2316
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2317
+ *
2318
+ * Filter by unique combinations of DbResources.
2319
+ */
2320
+ distinct?: Prisma.DbResourceScalarFieldEnum | Prisma.DbResourceScalarFieldEnum[]
2321
+ }
2322
+
2323
+ /**
2324
+ * DbResource findFirstOrThrow
2325
+ */
2326
+ export type DbResourceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2327
+ /**
2328
+ * Select specific fields to fetch from the DbResource
2329
+ */
2330
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2331
+ /**
2332
+ * Omit specific fields from the DbResource
2333
+ */
2334
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2335
+ /**
2336
+ * Choose, which related nodes to fetch as well
2337
+ */
2338
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2339
+ /**
2340
+ * Filter, which DbResource to fetch.
2341
+ */
2342
+ where?: Prisma.DbResourceWhereInput
2343
+ /**
2344
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2345
+ *
2346
+ * Determine the order of DbResources to fetch.
2347
+ */
2348
+ orderBy?: Prisma.DbResourceOrderByWithRelationInput | Prisma.DbResourceOrderByWithRelationInput[]
2349
+ /**
2350
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2351
+ *
2352
+ * Sets the position for searching for DbResources.
2353
+ */
2354
+ cursor?: Prisma.DbResourceWhereUniqueInput
2355
+ /**
2356
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2357
+ *
2358
+ * Take `±n` DbResources from the position of the cursor.
2359
+ */
2360
+ take?: number
2361
+ /**
2362
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2363
+ *
2364
+ * Skip the first `n` DbResources.
2365
+ */
2366
+ skip?: number
2367
+ /**
2368
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2369
+ *
2370
+ * Filter by unique combinations of DbResources.
2371
+ */
2372
+ distinct?: Prisma.DbResourceScalarFieldEnum | Prisma.DbResourceScalarFieldEnum[]
2373
+ }
2374
+
2375
+ /**
2376
+ * DbResource findMany
2377
+ */
2378
+ export type DbResourceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2379
+ /**
2380
+ * Select specific fields to fetch from the DbResource
2381
+ */
2382
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2383
+ /**
2384
+ * Omit specific fields from the DbResource
2385
+ */
2386
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2387
+ /**
2388
+ * Choose, which related nodes to fetch as well
2389
+ */
2390
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2391
+ /**
2392
+ * Filter, which DbResources to fetch.
2393
+ */
2394
+ where?: Prisma.DbResourceWhereInput
2395
+ /**
2396
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2397
+ *
2398
+ * Determine the order of DbResources to fetch.
2399
+ */
2400
+ orderBy?: Prisma.DbResourceOrderByWithRelationInput | Prisma.DbResourceOrderByWithRelationInput[]
2401
+ /**
2402
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2403
+ *
2404
+ * Sets the position for listing DbResources.
2405
+ */
2406
+ cursor?: Prisma.DbResourceWhereUniqueInput
2407
+ /**
2408
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2409
+ *
2410
+ * Take `±n` DbResources from the position of the cursor.
2411
+ */
2412
+ take?: number
2413
+ /**
2414
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2415
+ *
2416
+ * Skip the first `n` DbResources.
2417
+ */
2418
+ skip?: number
2419
+ distinct?: Prisma.DbResourceScalarFieldEnum | Prisma.DbResourceScalarFieldEnum[]
2420
+ }
2421
+
2422
+ /**
2423
+ * DbResource create
2424
+ */
2425
+ export type DbResourceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2426
+ /**
2427
+ * Select specific fields to fetch from the DbResource
2428
+ */
2429
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2430
+ /**
2431
+ * Omit specific fields from the DbResource
2432
+ */
2433
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2434
+ /**
2435
+ * Choose, which related nodes to fetch as well
2436
+ */
2437
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2438
+ /**
2439
+ * The data needed to create a DbResource.
2440
+ */
2441
+ data: Prisma.XOR<Prisma.DbResourceCreateInput, Prisma.DbResourceUncheckedCreateInput>
2442
+ }
2443
+
2444
+ /**
2445
+ * DbResource createMany
2446
+ */
2447
+ export type DbResourceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2448
+ /**
2449
+ * The data used to create many DbResources.
2450
+ */
2451
+ data: Prisma.DbResourceCreateManyInput | Prisma.DbResourceCreateManyInput[]
2452
+ skipDuplicates?: boolean
2453
+ }
2454
+
2455
+ /**
2456
+ * DbResource createManyAndReturn
2457
+ */
2458
+ export type DbResourceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2459
+ /**
2460
+ * Select specific fields to fetch from the DbResource
2461
+ */
2462
+ select?: Prisma.DbResourceSelectCreateManyAndReturn<ExtArgs> | null
2463
+ /**
2464
+ * Omit specific fields from the DbResource
2465
+ */
2466
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2467
+ /**
2468
+ * The data used to create many DbResources.
2469
+ */
2470
+ data: Prisma.DbResourceCreateManyInput | Prisma.DbResourceCreateManyInput[]
2471
+ skipDuplicates?: boolean
2472
+ /**
2473
+ * Choose, which related nodes to fetch as well
2474
+ */
2475
+ include?: Prisma.DbResourceIncludeCreateManyAndReturn<ExtArgs> | null
2476
+ }
2477
+
2478
+ /**
2479
+ * DbResource update
2480
+ */
2481
+ export type DbResourceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2482
+ /**
2483
+ * Select specific fields to fetch from the DbResource
2484
+ */
2485
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2486
+ /**
2487
+ * Omit specific fields from the DbResource
2488
+ */
2489
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2490
+ /**
2491
+ * Choose, which related nodes to fetch as well
2492
+ */
2493
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2494
+ /**
2495
+ * The data needed to update a DbResource.
2496
+ */
2497
+ data: Prisma.XOR<Prisma.DbResourceUpdateInput, Prisma.DbResourceUncheckedUpdateInput>
2498
+ /**
2499
+ * Choose, which DbResource to update.
2500
+ */
2501
+ where: Prisma.DbResourceWhereUniqueInput
2502
+ }
2503
+
2504
+ /**
2505
+ * DbResource updateMany
2506
+ */
2507
+ export type DbResourceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2508
+ /**
2509
+ * The data used to update DbResources.
2510
+ */
2511
+ data: Prisma.XOR<Prisma.DbResourceUpdateManyMutationInput, Prisma.DbResourceUncheckedUpdateManyInput>
2512
+ /**
2513
+ * Filter which DbResources to update
2514
+ */
2515
+ where?: Prisma.DbResourceWhereInput
2516
+ /**
2517
+ * Limit how many DbResources to update.
2518
+ */
2519
+ limit?: number
2520
+ }
2521
+
2522
+ /**
2523
+ * DbResource updateManyAndReturn
2524
+ */
2525
+ export type DbResourceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2526
+ /**
2527
+ * Select specific fields to fetch from the DbResource
2528
+ */
2529
+ select?: Prisma.DbResourceSelectUpdateManyAndReturn<ExtArgs> | null
2530
+ /**
2531
+ * Omit specific fields from the DbResource
2532
+ */
2533
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2534
+ /**
2535
+ * The data used to update DbResources.
2536
+ */
2537
+ data: Prisma.XOR<Prisma.DbResourceUpdateManyMutationInput, Prisma.DbResourceUncheckedUpdateManyInput>
2538
+ /**
2539
+ * Filter which DbResources to update
2540
+ */
2541
+ where?: Prisma.DbResourceWhereInput
2542
+ /**
2543
+ * Limit how many DbResources to update.
2544
+ */
2545
+ limit?: number
2546
+ /**
2547
+ * Choose, which related nodes to fetch as well
2548
+ */
2549
+ include?: Prisma.DbResourceIncludeUpdateManyAndReturn<ExtArgs> | null
2550
+ }
2551
+
2552
+ /**
2553
+ * DbResource upsert
2554
+ */
2555
+ export type DbResourceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2556
+ /**
2557
+ * Select specific fields to fetch from the DbResource
2558
+ */
2559
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2560
+ /**
2561
+ * Omit specific fields from the DbResource
2562
+ */
2563
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2564
+ /**
2565
+ * Choose, which related nodes to fetch as well
2566
+ */
2567
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2568
+ /**
2569
+ * The filter to search for the DbResource to update in case it exists.
2570
+ */
2571
+ where: Prisma.DbResourceWhereUniqueInput
2572
+ /**
2573
+ * In case the DbResource found by the `where` argument doesn't exist, create a new DbResource with this data.
2574
+ */
2575
+ create: Prisma.XOR<Prisma.DbResourceCreateInput, Prisma.DbResourceUncheckedCreateInput>
2576
+ /**
2577
+ * In case the DbResource was found with the provided `where` argument, update it with this data.
2578
+ */
2579
+ update: Prisma.XOR<Prisma.DbResourceUpdateInput, Prisma.DbResourceUncheckedUpdateInput>
2580
+ }
2581
+
2582
+ /**
2583
+ * DbResource delete
2584
+ */
2585
+ export type DbResourceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2586
+ /**
2587
+ * Select specific fields to fetch from the DbResource
2588
+ */
2589
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2590
+ /**
2591
+ * Omit specific fields from the DbResource
2592
+ */
2593
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2594
+ /**
2595
+ * Choose, which related nodes to fetch as well
2596
+ */
2597
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2598
+ /**
2599
+ * Filter which DbResource to delete.
2600
+ */
2601
+ where: Prisma.DbResourceWhereUniqueInput
2602
+ }
2603
+
2604
+ /**
2605
+ * DbResource deleteMany
2606
+ */
2607
+ export type DbResourceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2608
+ /**
2609
+ * Filter which DbResources to delete
2610
+ */
2611
+ where?: Prisma.DbResourceWhereInput
2612
+ /**
2613
+ * Limit how many DbResources to delete.
2614
+ */
2615
+ limit?: number
2616
+ }
2617
+
2618
+ /**
2619
+ * DbResource.sourceRefs
2620
+ */
2621
+ export type DbResource$sourceRefsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2622
+ /**
2623
+ * Select specific fields to fetch from the SourceReference
2624
+ */
2625
+ select?: Prisma.SourceReferenceSelect<ExtArgs> | null
2626
+ /**
2627
+ * Omit specific fields from the SourceReference
2628
+ */
2629
+ omit?: Prisma.SourceReferenceOmit<ExtArgs> | null
2630
+ /**
2631
+ * Choose, which related nodes to fetch as well
2632
+ */
2633
+ include?: Prisma.SourceReferenceInclude<ExtArgs> | null
2634
+ where?: Prisma.SourceReferenceWhereInput
2635
+ orderBy?: Prisma.SourceReferenceOrderByWithRelationInput | Prisma.SourceReferenceOrderByWithRelationInput[]
2636
+ cursor?: Prisma.SourceReferenceWhereUniqueInput
2637
+ take?: number
2638
+ skip?: number
2639
+ distinct?: Prisma.SourceReferenceScalarFieldEnum | Prisma.SourceReferenceScalarFieldEnum[]
2640
+ }
2641
+
2642
+ /**
2643
+ * DbResource.parent
2644
+ */
2645
+ export type DbResource$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2646
+ /**
2647
+ * Select specific fields to fetch from the DbResource
2648
+ */
2649
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2650
+ /**
2651
+ * Omit specific fields from the DbResource
2652
+ */
2653
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2654
+ /**
2655
+ * Choose, which related nodes to fetch as well
2656
+ */
2657
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2658
+ where?: Prisma.DbResourceWhereInput
2659
+ }
2660
+
2661
+ /**
2662
+ * DbResource.children
2663
+ */
2664
+ export type DbResource$childrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2665
+ /**
2666
+ * Select specific fields to fetch from the DbResource
2667
+ */
2668
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2669
+ /**
2670
+ * Omit specific fields from the DbResource
2671
+ */
2672
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2673
+ /**
2674
+ * Choose, which related nodes to fetch as well
2675
+ */
2676
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2677
+ where?: Prisma.DbResourceWhereInput
2678
+ orderBy?: Prisma.DbResourceOrderByWithRelationInput | Prisma.DbResourceOrderByWithRelationInput[]
2679
+ cursor?: Prisma.DbResourceWhereUniqueInput
2680
+ take?: number
2681
+ skip?: number
2682
+ distinct?: Prisma.DbResourceScalarFieldEnum | Prisma.DbResourceScalarFieldEnum[]
2683
+ }
2684
+
2685
+ /**
2686
+ * DbResource without action
2687
+ */
2688
+ export type DbResourceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2689
+ /**
2690
+ * Select specific fields to fetch from the DbResource
2691
+ */
2692
+ select?: Prisma.DbResourceSelect<ExtArgs> | null
2693
+ /**
2694
+ * Omit specific fields from the DbResource
2695
+ */
2696
+ omit?: Prisma.DbResourceOmit<ExtArgs> | null
2697
+ /**
2698
+ * Choose, which related nodes to fetch as well
2699
+ */
2700
+ include?: Prisma.DbResourceInclude<ExtArgs> | null
2701
+ }