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