@tiddlywiki/mws 0.1.13 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +41 -20
  2. package/dist/metafile-esm.json +1 -1
  3. package/dist/mws.js +40249 -20249
  4. package/dist/mws.js.map +1 -1
  5. package/mws.run.mjs +28 -8
  6. package/package.json +20 -33
  7. package/plugins/client/plugin.info +1 -1
  8. package/plugins/client/src/multiwikiclientadaptor.ts +11 -39
  9. package/plugins/client/src/mws.d.ts +2 -1
  10. package/plugins/client/src/new-multiwikiclientadaptor.ts +634 -0
  11. package/plugins/client/src/types.d.ts +2531 -1036
  12. package/plugins/client/tiddlers/managetiddleraction.js +0 -5
  13. package/plugins/client/tiddlers/syncer/multiwikiclientadaptor.js +1 -1
  14. package/plugins/client/tiddlers/syncer/new-multiwikiclientadaptor.js +432 -0
  15. package/plugins/client/tiddlers/syncer/syncer.js +123 -241
  16. package/plugins/client/tsconfig.json +5 -1
  17. package/prisma/browser.ts +2 -0
  18. package/prisma/client/browser.ts +84 -0
  19. package/prisma/client/client.ts +108 -0
  20. package/prisma/client/commonInputTypes.ts +598 -0
  21. package/prisma/client/enums.ts +42 -0
  22. package/prisma/client/internal/class.ts +326 -0
  23. package/prisma/client/internal/prismaNamespace.ts +1870 -0
  24. package/prisma/client/internal/prismaNamespaceBrowser.ts +259 -0
  25. package/prisma/client/models/Bag.ts +1701 -0
  26. package/prisma/client/models/BagPermission.ts +1284 -0
  27. package/prisma/client/models/Recipe.ts +1722 -0
  28. package/prisma/client/models/RecipeBag.ts +1518 -0
  29. package/prisma/client/models/RecipePermission.ts +1284 -0
  30. package/prisma/client/models/Roles.ts +1316 -0
  31. package/prisma/client/models/Sessions.ts +1344 -0
  32. package/prisma/client/models/Settings.ts +1093 -0
  33. package/prisma/client/models/Template.ts +1477 -0
  34. package/prisma/client/models/TemplatePermission.ts +1284 -0
  35. package/prisma/client/models/Tiddler.ts +1434 -0
  36. package/prisma/client/models/TiddlerEvent.ts +1360 -0
  37. package/prisma/client/models/Users.ts +1579 -0
  38. package/prisma/client/models.ts +24 -0
  39. package/prisma/client/pjtg.ts +183 -0
  40. package/prisma/index.ts +74 -0
  41. package/prisma/migrations/20260708160259_init/migration.sql +172 -0
  42. package/prisma/migrations-v1/migration_lock.toml +3 -0
  43. package/prisma/package.json +12 -0
  44. package/prisma/schema.prisma +147 -89
  45. package/prisma/types.ts +9 -0
  46. package/public/.default.html +1 -0
  47. package/public/admin-vanilla/fish.svg +399 -0
  48. package/public/admin-vanilla/fish2.svg +389 -0
  49. package/public/admin-vanilla/main-64WYHWYI.js +1791 -0
  50. package/public/admin-vanilla/main-64WYHWYI.js.map +7 -0
  51. package/public/admin-vanilla/main-LYDE4NDJ.css +1 -0
  52. package/public/admin-vanilla/normalize.css +349 -0
  53. package/public/admin-vanilla/polyfill-ADOI2A4V.js +2 -0
  54. package/public/admin-vanilla/polyfill-ADOI2A4V.js.map +7 -0
  55. package/public/{react-admin → admin-vanilla}/site.webmanifest +1 -1
  56. package/public/admin-vanilla.html +62 -0
  57. package/public/admin-vanilla.json +1 -0
  58. package/public/{react-admin → stats}/stats.html +5 -2
  59. package/public/{react-admin → stats}/stats.js +2 -1
  60. package/scripts/build-docs.sh +30 -0
  61. package/scripts/helpers.mjs +107 -0
  62. package/scripts/json.js +8 -0
  63. package/scripts/scripts.mjs +114 -0
  64. package/prisma/client/client.d.ts +0 -1
  65. package/prisma/client/client.js +0 -3
  66. package/prisma/client/default.d.ts +0 -1
  67. package/prisma/client/default.js +0 -3
  68. package/prisma/client/edge.d.ts +0 -1
  69. package/prisma/client/edge.js +0 -297
  70. package/prisma/client/index-browser.js +0 -275
  71. package/prisma/client/index.d.ts +0 -17770
  72. package/prisma/client/index.js +0 -324
  73. package/prisma/client/package.json +0 -173
  74. package/prisma/client/query_engine_bg.js +0 -811
  75. package/prisma/client/query_engine_bg.wasm +0 -0
  76. package/prisma/client/runtime/edge-esm.js +0 -10000
  77. package/prisma/client/runtime/edge.js +0 -10036
  78. package/prisma/client/runtime/index-browser.d.ts +0 -370
  79. package/prisma/client/runtime/index-browser.js +0 -2300
  80. package/prisma/client/runtime/library.d.ts +0 -3681
  81. package/prisma/client/runtime/library.js +0 -10604
  82. package/prisma/client/runtime/react-native.js +0 -10629
  83. package/prisma/client/runtime/wasm-compiler-edge.js +0 -11238
  84. package/prisma/client/runtime/wasm-engine-edge.js +0 -7801
  85. package/prisma/client/schema.prisma +0 -156
  86. package/prisma/client/wasm-edge-light-loader.mjs +0 -4
  87. package/prisma/client/wasm-worker-loader.mjs +0 -4
  88. package/prisma/client/wasm.d.ts +0 -1
  89. package/prisma/client/wasm.js +0 -304
  90. package/prisma/global.ts +0 -53
  91. package/public/react-admin/chunk-YALWN5OT.js +0 -2
  92. package/public/react-admin/esm-L4WLVWJN.js +0 -3
  93. package/public/react-admin/esm-L4WLVWJN.js.map +0 -7
  94. package/public/react-admin/esm-QMNGI3LF.js +0 -3
  95. package/public/react-admin/esm-QMNGI3LF.js.map +0 -7
  96. package/public/react-admin/index.html +0 -36
  97. package/public/react-admin/main.js +0 -268
  98. package/public/react-admin/main.js.map +0 -7
  99. package/public/react-admin/stats.json +0 -1
  100. package/scripts.mjs +0 -142
  101. /package/prisma/{migrations → migrations-v1}/20250606001949_init/migration.sql +0 -0
  102. /package/prisma/{migrations → migrations-v1}/20250613000526_remove_group/migration.sql +0 -0
  103. /package/prisma/{migrations → migrations-v1}/20250620014502_settings/migration.sql +0 -0
  104. /package/prisma/{migrations → migrations-v1}/20250707205229_recipes/migration.sql +0 -0
  105. /package/public/{react-admin → admin-vanilla}/android-chrome-192x192.png +0 -0
  106. /package/public/{react-admin → admin-vanilla}/android-chrome-512x512.png +0 -0
  107. /package/public/{react-admin → admin-vanilla}/apple-touch-icon.png +0 -0
  108. /package/public/{react-admin → admin-vanilla}/favicon-16x16.png +0 -0
  109. /package/public/{react-admin → admin-vanilla}/favicon-32x32.png +0 -0
  110. /package/public/{react-admin → admin-vanilla}/favicon.ico +0 -0
  111. /package/public/{react-admin → admin-vanilla}/favicon.png +0 -0
  112. /package/public/{react-admin/chunk-YALWN5OT.js.map → admin-vanilla/main-LYDE4NDJ.css.map} +0 -0
  113. /package/public/{react-admin → admin-vanilla}/missing-favicon.png +0 -0
  114. /package/public/{react-admin → admin-vanilla}/motovun-jack.jpg +0 -0
  115. /package/public/{react-admin → admin-vanilla}/mws-icon.png +0 -0
  116. /package/public/{react-admin → admin-vanilla}/vite.svg +0 -0
  117. /package/public/{react-admin → stats}/stats.css +0 -0
  118. /package/public/{react-admin → stats}/stats.svg +0 -0
@@ -0,0 +1,1722 @@
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 `Recipe` 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.ts"
15
+ import type * as Prisma from "../internal/prismaNamespace.ts"
16
+
17
+ /**
18
+ * Model Recipe
19
+ *
20
+ */
21
+ export type RecipeModel = runtime.Types.Result.DefaultSelection<Prisma.$RecipePayload>
22
+
23
+ export type AggregateRecipe = {
24
+ _count: RecipeCountAggregateOutputType | null
25
+ _min: RecipeMinAggregateOutputType | null
26
+ _max: RecipeMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type RecipeMinAggregateOutputType = {
30
+ id: string | null
31
+ slug: string | null
32
+ created: Date | null
33
+ updated: Date | null
34
+ template_id: string | null
35
+ compiledAt: Date | null
36
+ }
37
+
38
+ export type RecipeMaxAggregateOutputType = {
39
+ id: string | null
40
+ slug: string | null
41
+ created: Date | null
42
+ updated: Date | null
43
+ template_id: string | null
44
+ compiledAt: Date | null
45
+ }
46
+
47
+ export type RecipeCountAggregateOutputType = {
48
+ id: number
49
+ slug: number
50
+ created: number
51
+ updated: number
52
+ template_id: number
53
+ definition:PrismaJson.Recipe_definition
54
+ plugins:PrismaJson.Recipe_plugins
55
+ compiledAt: number
56
+ _all: number
57
+ }
58
+
59
+
60
+ export type RecipeMinAggregateInputType = {
61
+ id?: true
62
+ slug?: true
63
+ created?: true
64
+ updated?: true
65
+ template_id?: true
66
+ compiledAt?: true
67
+ }
68
+
69
+ export type RecipeMaxAggregateInputType = {
70
+ id?: true
71
+ slug?: true
72
+ created?: true
73
+ updated?: true
74
+ template_id?: true
75
+ compiledAt?: true
76
+ }
77
+
78
+ export type RecipeCountAggregateInputType = {
79
+ id?: true
80
+ slug?: true
81
+ created?: true
82
+ updated?: true
83
+ template_id?: true
84
+ definition?: true
85
+ plugins?: true
86
+ compiledAt?: true
87
+ _all?: true
88
+ }
89
+
90
+ export type RecipeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
91
+ /**
92
+ * Filter which Recipe to aggregate.
93
+ */
94
+ where?: Prisma.RecipeWhereInput
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97
+ *
98
+ * Determine the order of Recipes to fetch.
99
+ */
100
+ orderBy?: Prisma.RecipeOrderByWithRelationInput | Prisma.RecipeOrderByWithRelationInput[]
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
103
+ *
104
+ * Sets the start position
105
+ */
106
+ cursor?: Prisma.RecipeWhereUniqueInput
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
109
+ *
110
+ * Take `±n` Recipes from the position of the cursor.
111
+ */
112
+ take?: number
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
115
+ *
116
+ * Skip the first `n` Recipes.
117
+ */
118
+ skip?: number
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Count returned Recipes
123
+ **/
124
+ _count?: true | RecipeCountAggregateInputType
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
127
+ *
128
+ * Select which fields to find the minimum value
129
+ **/
130
+ _min?: RecipeMinAggregateInputType
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
133
+ *
134
+ * Select which fields to find the maximum value
135
+ **/
136
+ _max?: RecipeMaxAggregateInputType
137
+ }
138
+
139
+ export type GetRecipeAggregateType<T extends RecipeAggregateArgs> = {
140
+ [P in keyof T & keyof AggregateRecipe]: P extends '_count' | 'count'
141
+ ? T[P] extends true
142
+ ? number
143
+ : Prisma.GetScalarType<T[P], AggregateRecipe[P]>
144
+ : Prisma.GetScalarType<T[P], AggregateRecipe[P]>
145
+ }
146
+
147
+
148
+
149
+
150
+ export type RecipeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
151
+ where?: Prisma.RecipeWhereInput
152
+ orderBy?: Prisma.RecipeOrderByWithAggregationInput | Prisma.RecipeOrderByWithAggregationInput[]
153
+ by: Prisma.RecipeScalarFieldEnum[] | Prisma.RecipeScalarFieldEnum
154
+ having?: Prisma.RecipeScalarWhereWithAggregatesInput
155
+ take?: number
156
+ skip?: number
157
+ _count?: RecipeCountAggregateInputType | true
158
+ _min?: RecipeMinAggregateInputType
159
+ _max?: RecipeMaxAggregateInputType
160
+ }
161
+
162
+ export type RecipeGroupByOutputType = {
163
+ id: string
164
+ slug: string
165
+ created: Date
166
+ updated: Date
167
+ template_id: string
168
+ definition:PrismaJson.Recipe_definition
169
+ plugins:PrismaJson.Recipe_plugins
170
+ compiledAt: Date
171
+ _count: RecipeCountAggregateOutputType | null
172
+ _min: RecipeMinAggregateOutputType | null
173
+ _max: RecipeMaxAggregateOutputType | null
174
+ }
175
+
176
+ export type GetRecipeGroupByPayload<T extends RecipeGroupByArgs> = Prisma.PrismaPromise<
177
+ Array<
178
+ Prisma.PickEnumerable<RecipeGroupByOutputType, T['by']> &
179
+ {
180
+ [P in ((keyof T) & (keyof RecipeGroupByOutputType))]: P extends '_count'
181
+ ? T[P] extends boolean
182
+ ? number
183
+ : Prisma.GetScalarType<T[P], RecipeGroupByOutputType[P]>
184
+ : Prisma.GetScalarType<T[P], RecipeGroupByOutputType[P]>
185
+ }
186
+ >
187
+ >
188
+
189
+
190
+
191
+ export type RecipeWhereInput = {
192
+ AND?: Prisma.RecipeWhereInput | Prisma.RecipeWhereInput[]
193
+ OR?: Prisma.RecipeWhereInput[]
194
+ NOT?: Prisma.RecipeWhereInput | Prisma.RecipeWhereInput[]
195
+ id?: Prisma.StringFilter<"Recipe"> | string
196
+ slug?: Prisma.StringFilter<"Recipe"> | string
197
+ created?: Prisma.DateTimeFilter<"Recipe"> | Date | string
198
+ updated?: Prisma.DateTimeFilter<"Recipe"> | Date | string
199
+ template_id?: Prisma.StringFilter<"Recipe"> | string
200
+ definition?: Prisma.JsonFilter<"Recipe">
201
+ plugins?: Prisma.JsonFilter<"Recipe">
202
+ compiledAt?: Prisma.DateTimeFilter<"Recipe"> | Date | string
203
+ template?: Prisma.XOR<Prisma.TemplateScalarRelationFilter, Prisma.TemplateWhereInput>
204
+ recipe_bags?: Prisma.RecipeBagListRelationFilter
205
+ permissions?: Prisma.RecipePermissionListRelationFilter
206
+ }
207
+
208
+ export type RecipeOrderByWithRelationInput = {
209
+ id?: Prisma.SortOrder
210
+ slug?: Prisma.SortOrder
211
+ created?: Prisma.SortOrder
212
+ updated?: Prisma.SortOrder
213
+ template_id?: Prisma.SortOrder
214
+ definition?: Prisma.SortOrder
215
+ plugins?: Prisma.SortOrder
216
+ compiledAt?: Prisma.SortOrder
217
+ template?: Prisma.TemplateOrderByWithRelationInput
218
+ recipe_bags?: Prisma.RecipeBagOrderByRelationAggregateInput
219
+ permissions?: Prisma.RecipePermissionOrderByRelationAggregateInput
220
+ }
221
+
222
+ export type RecipeWhereUniqueInput = Prisma.AtLeast<{
223
+ id?: string
224
+ slug?: string
225
+ AND?: Prisma.RecipeWhereInput | Prisma.RecipeWhereInput[]
226
+ OR?: Prisma.RecipeWhereInput[]
227
+ NOT?: Prisma.RecipeWhereInput | Prisma.RecipeWhereInput[]
228
+ created?: Prisma.DateTimeFilter<"Recipe"> | Date | string
229
+ updated?: Prisma.DateTimeFilter<"Recipe"> | Date | string
230
+ template_id?: Prisma.StringFilter<"Recipe"> | string
231
+ definition?: Prisma.JsonFilter<"Recipe">
232
+ plugins?: Prisma.JsonFilter<"Recipe">
233
+ compiledAt?: Prisma.DateTimeFilter<"Recipe"> | Date | string
234
+ template?: Prisma.XOR<Prisma.TemplateScalarRelationFilter, Prisma.TemplateWhereInput>
235
+ recipe_bags?: Prisma.RecipeBagListRelationFilter
236
+ permissions?: Prisma.RecipePermissionListRelationFilter
237
+ }, "id" | "slug">
238
+
239
+ export type RecipeOrderByWithAggregationInput = {
240
+ id?: Prisma.SortOrder
241
+ slug?: Prisma.SortOrder
242
+ created?: Prisma.SortOrder
243
+ updated?: Prisma.SortOrder
244
+ template_id?: Prisma.SortOrder
245
+ definition?: Prisma.SortOrder
246
+ plugins?: Prisma.SortOrder
247
+ compiledAt?: Prisma.SortOrder
248
+ _count?: Prisma.RecipeCountOrderByAggregateInput
249
+ _max?: Prisma.RecipeMaxOrderByAggregateInput
250
+ _min?: Prisma.RecipeMinOrderByAggregateInput
251
+ }
252
+
253
+ export type RecipeScalarWhereWithAggregatesInput = {
254
+ AND?: Prisma.RecipeScalarWhereWithAggregatesInput | Prisma.RecipeScalarWhereWithAggregatesInput[]
255
+ OR?: Prisma.RecipeScalarWhereWithAggregatesInput[]
256
+ NOT?: Prisma.RecipeScalarWhereWithAggregatesInput | Prisma.RecipeScalarWhereWithAggregatesInput[]
257
+ id?: Prisma.StringWithAggregatesFilter<"Recipe"> | string
258
+ slug?: Prisma.StringWithAggregatesFilter<"Recipe"> | string
259
+ created?: Prisma.DateTimeWithAggregatesFilter<"Recipe"> | Date | string
260
+ updated?: Prisma.DateTimeWithAggregatesFilter<"Recipe"> | Date | string
261
+ template_id?: Prisma.StringWithAggregatesFilter<"Recipe"> | string
262
+ definition?: Prisma.JsonWithAggregatesFilter<"Recipe">
263
+ plugins?: Prisma.JsonWithAggregatesFilter<"Recipe">
264
+ compiledAt?: Prisma.DateTimeWithAggregatesFilter<"Recipe"> | Date | string
265
+ }
266
+
267
+ export type RecipeCreateInput = {
268
+ id?: string
269
+ slug: string
270
+ created?: Date | string
271
+ updated?: Date | string
272
+ definition:PrismaJson.Recipe_definition
273
+ plugins:PrismaJson.Recipe_plugins
274
+ compiledAt: Date | string
275
+ template: Prisma.TemplateCreateNestedOneWithoutRecipesInput
276
+ recipe_bags?: Prisma.RecipeBagCreateNestedManyWithoutRecipeInput
277
+ permissions?: Prisma.RecipePermissionCreateNestedManyWithoutRecipeInput
278
+ }
279
+
280
+ export type RecipeUncheckedCreateInput = {
281
+ id?: string
282
+ slug: string
283
+ created?: Date | string
284
+ updated?: Date | string
285
+ template_id: string
286
+ definition:PrismaJson.Recipe_definition
287
+ plugins:PrismaJson.Recipe_plugins
288
+ compiledAt: Date | string
289
+ recipe_bags?: Prisma.RecipeBagUncheckedCreateNestedManyWithoutRecipeInput
290
+ permissions?: Prisma.RecipePermissionUncheckedCreateNestedManyWithoutRecipeInput
291
+ }
292
+
293
+ export type RecipeUpdateInput = {
294
+ id?: Prisma.StringFieldUpdateOperationsInput | string
295
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
296
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
297
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
298
+ definition?:PrismaJson.Recipe_definition
299
+ plugins?:PrismaJson.Recipe_plugins
300
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
301
+ template?: Prisma.TemplateUpdateOneRequiredWithoutRecipesNestedInput
302
+ recipe_bags?: Prisma.RecipeBagUpdateManyWithoutRecipeNestedInput
303
+ permissions?: Prisma.RecipePermissionUpdateManyWithoutRecipeNestedInput
304
+ }
305
+
306
+ export type RecipeUncheckedUpdateInput = {
307
+ id?: Prisma.StringFieldUpdateOperationsInput | string
308
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
309
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
310
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
311
+ template_id?: Prisma.StringFieldUpdateOperationsInput | string
312
+ definition?:PrismaJson.Recipe_definition
313
+ plugins?:PrismaJson.Recipe_plugins
314
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
315
+ recipe_bags?: Prisma.RecipeBagUncheckedUpdateManyWithoutRecipeNestedInput
316
+ permissions?: Prisma.RecipePermissionUncheckedUpdateManyWithoutRecipeNestedInput
317
+ }
318
+
319
+ export type RecipeCreateManyInput = {
320
+ id?: string
321
+ slug: string
322
+ created?: Date | string
323
+ updated?: Date | string
324
+ template_id: string
325
+ definition:PrismaJson.Recipe_definition
326
+ plugins:PrismaJson.Recipe_plugins
327
+ compiledAt: Date | string
328
+ }
329
+
330
+ export type RecipeUpdateManyMutationInput = {
331
+ id?: Prisma.StringFieldUpdateOperationsInput | string
332
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
333
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
334
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
335
+ definition?:PrismaJson.Recipe_definition
336
+ plugins?:PrismaJson.Recipe_plugins
337
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
338
+ }
339
+
340
+ export type RecipeUncheckedUpdateManyInput = {
341
+ id?: Prisma.StringFieldUpdateOperationsInput | string
342
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
343
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
344
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
345
+ template_id?: Prisma.StringFieldUpdateOperationsInput | string
346
+ definition?:PrismaJson.Recipe_definition
347
+ plugins?:PrismaJson.Recipe_plugins
348
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
349
+ }
350
+
351
+ export type RecipeListRelationFilter = {
352
+ every?: Prisma.RecipeWhereInput
353
+ some?: Prisma.RecipeWhereInput
354
+ none?: Prisma.RecipeWhereInput
355
+ }
356
+
357
+ export type RecipeOrderByRelationAggregateInput = {
358
+ _count?: Prisma.SortOrder
359
+ }
360
+
361
+ export type RecipeCountOrderByAggregateInput = {
362
+ id?: Prisma.SortOrder
363
+ slug?: Prisma.SortOrder
364
+ created?: Prisma.SortOrder
365
+ updated?: Prisma.SortOrder
366
+ template_id?: Prisma.SortOrder
367
+ definition?: Prisma.SortOrder
368
+ plugins?: Prisma.SortOrder
369
+ compiledAt?: Prisma.SortOrder
370
+ }
371
+
372
+ export type RecipeMaxOrderByAggregateInput = {
373
+ id?: Prisma.SortOrder
374
+ slug?: Prisma.SortOrder
375
+ created?: Prisma.SortOrder
376
+ updated?: Prisma.SortOrder
377
+ template_id?: Prisma.SortOrder
378
+ compiledAt?: Prisma.SortOrder
379
+ }
380
+
381
+ export type RecipeMinOrderByAggregateInput = {
382
+ id?: Prisma.SortOrder
383
+ slug?: Prisma.SortOrder
384
+ created?: Prisma.SortOrder
385
+ updated?: Prisma.SortOrder
386
+ template_id?: Prisma.SortOrder
387
+ compiledAt?: Prisma.SortOrder
388
+ }
389
+
390
+ export type RecipeScalarRelationFilter = {
391
+ is?: Prisma.RecipeWhereInput
392
+ isNot?: Prisma.RecipeWhereInput
393
+ }
394
+
395
+ export type RecipeCreateNestedManyWithoutTemplateInput = {
396
+ create?: Prisma.XOR<Prisma.RecipeCreateWithoutTemplateInput, Prisma.RecipeUncheckedCreateWithoutTemplateInput> | Prisma.RecipeCreateWithoutTemplateInput[] | Prisma.RecipeUncheckedCreateWithoutTemplateInput[]
397
+ connectOrCreate?: Prisma.RecipeCreateOrConnectWithoutTemplateInput | Prisma.RecipeCreateOrConnectWithoutTemplateInput[]
398
+ createMany?: Prisma.RecipeCreateManyTemplateInputEnvelope
399
+ connect?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
400
+ }
401
+
402
+ export type RecipeUncheckedCreateNestedManyWithoutTemplateInput = {
403
+ create?: Prisma.XOR<Prisma.RecipeCreateWithoutTemplateInput, Prisma.RecipeUncheckedCreateWithoutTemplateInput> | Prisma.RecipeCreateWithoutTemplateInput[] | Prisma.RecipeUncheckedCreateWithoutTemplateInput[]
404
+ connectOrCreate?: Prisma.RecipeCreateOrConnectWithoutTemplateInput | Prisma.RecipeCreateOrConnectWithoutTemplateInput[]
405
+ createMany?: Prisma.RecipeCreateManyTemplateInputEnvelope
406
+ connect?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
407
+ }
408
+
409
+ export type RecipeUpdateManyWithoutTemplateNestedInput = {
410
+ create?: Prisma.XOR<Prisma.RecipeCreateWithoutTemplateInput, Prisma.RecipeUncheckedCreateWithoutTemplateInput> | Prisma.RecipeCreateWithoutTemplateInput[] | Prisma.RecipeUncheckedCreateWithoutTemplateInput[]
411
+ connectOrCreate?: Prisma.RecipeCreateOrConnectWithoutTemplateInput | Prisma.RecipeCreateOrConnectWithoutTemplateInput[]
412
+ upsert?: Prisma.RecipeUpsertWithWhereUniqueWithoutTemplateInput | Prisma.RecipeUpsertWithWhereUniqueWithoutTemplateInput[]
413
+ createMany?: Prisma.RecipeCreateManyTemplateInputEnvelope
414
+ set?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
415
+ disconnect?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
416
+ delete?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
417
+ connect?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
418
+ update?: Prisma.RecipeUpdateWithWhereUniqueWithoutTemplateInput | Prisma.RecipeUpdateWithWhereUniqueWithoutTemplateInput[]
419
+ updateMany?: Prisma.RecipeUpdateManyWithWhereWithoutTemplateInput | Prisma.RecipeUpdateManyWithWhereWithoutTemplateInput[]
420
+ deleteMany?: Prisma.RecipeScalarWhereInput | Prisma.RecipeScalarWhereInput[]
421
+ }
422
+
423
+ export type RecipeUncheckedUpdateManyWithoutTemplateNestedInput = {
424
+ create?: Prisma.XOR<Prisma.RecipeCreateWithoutTemplateInput, Prisma.RecipeUncheckedCreateWithoutTemplateInput> | Prisma.RecipeCreateWithoutTemplateInput[] | Prisma.RecipeUncheckedCreateWithoutTemplateInput[]
425
+ connectOrCreate?: Prisma.RecipeCreateOrConnectWithoutTemplateInput | Prisma.RecipeCreateOrConnectWithoutTemplateInput[]
426
+ upsert?: Prisma.RecipeUpsertWithWhereUniqueWithoutTemplateInput | Prisma.RecipeUpsertWithWhereUniqueWithoutTemplateInput[]
427
+ createMany?: Prisma.RecipeCreateManyTemplateInputEnvelope
428
+ set?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
429
+ disconnect?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
430
+ delete?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
431
+ connect?: Prisma.RecipeWhereUniqueInput | Prisma.RecipeWhereUniqueInput[]
432
+ update?: Prisma.RecipeUpdateWithWhereUniqueWithoutTemplateInput | Prisma.RecipeUpdateWithWhereUniqueWithoutTemplateInput[]
433
+ updateMany?: Prisma.RecipeUpdateManyWithWhereWithoutTemplateInput | Prisma.RecipeUpdateManyWithWhereWithoutTemplateInput[]
434
+ deleteMany?: Prisma.RecipeScalarWhereInput | Prisma.RecipeScalarWhereInput[]
435
+ }
436
+
437
+ export type RecipeCreateNestedOneWithoutPermissionsInput = {
438
+ create?: Prisma.XOR<Prisma.RecipeCreateWithoutPermissionsInput, Prisma.RecipeUncheckedCreateWithoutPermissionsInput>
439
+ connectOrCreate?: Prisma.RecipeCreateOrConnectWithoutPermissionsInput
440
+ connect?: Prisma.RecipeWhereUniqueInput
441
+ }
442
+
443
+ export type RecipeUpdateOneRequiredWithoutPermissionsNestedInput = {
444
+ create?: Prisma.XOR<Prisma.RecipeCreateWithoutPermissionsInput, Prisma.RecipeUncheckedCreateWithoutPermissionsInput>
445
+ connectOrCreate?: Prisma.RecipeCreateOrConnectWithoutPermissionsInput
446
+ upsert?: Prisma.RecipeUpsertWithoutPermissionsInput
447
+ connect?: Prisma.RecipeWhereUniqueInput
448
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RecipeUpdateToOneWithWhereWithoutPermissionsInput, Prisma.RecipeUpdateWithoutPermissionsInput>, Prisma.RecipeUncheckedUpdateWithoutPermissionsInput>
449
+ }
450
+
451
+ export type RecipeCreateNestedOneWithoutRecipe_bagsInput = {
452
+ create?: Prisma.XOR<Prisma.RecipeCreateWithoutRecipe_bagsInput, Prisma.RecipeUncheckedCreateWithoutRecipe_bagsInput>
453
+ connectOrCreate?: Prisma.RecipeCreateOrConnectWithoutRecipe_bagsInput
454
+ connect?: Prisma.RecipeWhereUniqueInput
455
+ }
456
+
457
+ export type RecipeUpdateOneRequiredWithoutRecipe_bagsNestedInput = {
458
+ create?: Prisma.XOR<Prisma.RecipeCreateWithoutRecipe_bagsInput, Prisma.RecipeUncheckedCreateWithoutRecipe_bagsInput>
459
+ connectOrCreate?: Prisma.RecipeCreateOrConnectWithoutRecipe_bagsInput
460
+ upsert?: Prisma.RecipeUpsertWithoutRecipe_bagsInput
461
+ connect?: Prisma.RecipeWhereUniqueInput
462
+ update?: Prisma.XOR<Prisma.XOR<Prisma.RecipeUpdateToOneWithWhereWithoutRecipe_bagsInput, Prisma.RecipeUpdateWithoutRecipe_bagsInput>, Prisma.RecipeUncheckedUpdateWithoutRecipe_bagsInput>
463
+ }
464
+
465
+ export type RecipeCreateWithoutTemplateInput = {
466
+ id?: string
467
+ slug: string
468
+ created?: Date | string
469
+ updated?: Date | string
470
+ definition:PrismaJson.Recipe_definition
471
+ plugins:PrismaJson.Recipe_plugins
472
+ compiledAt: Date | string
473
+ recipe_bags?: Prisma.RecipeBagCreateNestedManyWithoutRecipeInput
474
+ permissions?: Prisma.RecipePermissionCreateNestedManyWithoutRecipeInput
475
+ }
476
+
477
+ export type RecipeUncheckedCreateWithoutTemplateInput = {
478
+ id?: string
479
+ slug: string
480
+ created?: Date | string
481
+ updated?: Date | string
482
+ definition:PrismaJson.Recipe_definition
483
+ plugins:PrismaJson.Recipe_plugins
484
+ compiledAt: Date | string
485
+ recipe_bags?: Prisma.RecipeBagUncheckedCreateNestedManyWithoutRecipeInput
486
+ permissions?: Prisma.RecipePermissionUncheckedCreateNestedManyWithoutRecipeInput
487
+ }
488
+
489
+ export type RecipeCreateOrConnectWithoutTemplateInput = {
490
+ where: Prisma.RecipeWhereUniqueInput
491
+ create: Prisma.XOR<Prisma.RecipeCreateWithoutTemplateInput, Prisma.RecipeUncheckedCreateWithoutTemplateInput>
492
+ }
493
+
494
+ export type RecipeCreateManyTemplateInputEnvelope = {
495
+ data: Prisma.RecipeCreateManyTemplateInput | Prisma.RecipeCreateManyTemplateInput[]
496
+ }
497
+
498
+ export type RecipeUpsertWithWhereUniqueWithoutTemplateInput = {
499
+ where: Prisma.RecipeWhereUniqueInput
500
+ update: Prisma.XOR<Prisma.RecipeUpdateWithoutTemplateInput, Prisma.RecipeUncheckedUpdateWithoutTemplateInput>
501
+ create: Prisma.XOR<Prisma.RecipeCreateWithoutTemplateInput, Prisma.RecipeUncheckedCreateWithoutTemplateInput>
502
+ }
503
+
504
+ export type RecipeUpdateWithWhereUniqueWithoutTemplateInput = {
505
+ where: Prisma.RecipeWhereUniqueInput
506
+ data: Prisma.XOR<Prisma.RecipeUpdateWithoutTemplateInput, Prisma.RecipeUncheckedUpdateWithoutTemplateInput>
507
+ }
508
+
509
+ export type RecipeUpdateManyWithWhereWithoutTemplateInput = {
510
+ where: Prisma.RecipeScalarWhereInput
511
+ data: Prisma.XOR<Prisma.RecipeUpdateManyMutationInput, Prisma.RecipeUncheckedUpdateManyWithoutTemplateInput>
512
+ }
513
+
514
+ export type RecipeScalarWhereInput = {
515
+ AND?: Prisma.RecipeScalarWhereInput | Prisma.RecipeScalarWhereInput[]
516
+ OR?: Prisma.RecipeScalarWhereInput[]
517
+ NOT?: Prisma.RecipeScalarWhereInput | Prisma.RecipeScalarWhereInput[]
518
+ id?: Prisma.StringFilter<"Recipe"> | string
519
+ slug?: Prisma.StringFilter<"Recipe"> | string
520
+ created?: Prisma.DateTimeFilter<"Recipe"> | Date | string
521
+ updated?: Prisma.DateTimeFilter<"Recipe"> | Date | string
522
+ template_id?: Prisma.StringFilter<"Recipe"> | string
523
+ definition?: Prisma.JsonFilter<"Recipe">
524
+ plugins?: Prisma.JsonFilter<"Recipe">
525
+ compiledAt?: Prisma.DateTimeFilter<"Recipe"> | Date | string
526
+ }
527
+
528
+ export type RecipeCreateWithoutPermissionsInput = {
529
+ id?: string
530
+ slug: string
531
+ created?: Date | string
532
+ updated?: Date | string
533
+ definition:PrismaJson.Recipe_definition
534
+ plugins:PrismaJson.Recipe_plugins
535
+ compiledAt: Date | string
536
+ template: Prisma.TemplateCreateNestedOneWithoutRecipesInput
537
+ recipe_bags?: Prisma.RecipeBagCreateNestedManyWithoutRecipeInput
538
+ }
539
+
540
+ export type RecipeUncheckedCreateWithoutPermissionsInput = {
541
+ id?: string
542
+ slug: string
543
+ created?: Date | string
544
+ updated?: Date | string
545
+ template_id: string
546
+ definition:PrismaJson.Recipe_definition
547
+ plugins:PrismaJson.Recipe_plugins
548
+ compiledAt: Date | string
549
+ recipe_bags?: Prisma.RecipeBagUncheckedCreateNestedManyWithoutRecipeInput
550
+ }
551
+
552
+ export type RecipeCreateOrConnectWithoutPermissionsInput = {
553
+ where: Prisma.RecipeWhereUniqueInput
554
+ create: Prisma.XOR<Prisma.RecipeCreateWithoutPermissionsInput, Prisma.RecipeUncheckedCreateWithoutPermissionsInput>
555
+ }
556
+
557
+ export type RecipeUpsertWithoutPermissionsInput = {
558
+ update: Prisma.XOR<Prisma.RecipeUpdateWithoutPermissionsInput, Prisma.RecipeUncheckedUpdateWithoutPermissionsInput>
559
+ create: Prisma.XOR<Prisma.RecipeCreateWithoutPermissionsInput, Prisma.RecipeUncheckedCreateWithoutPermissionsInput>
560
+ where?: Prisma.RecipeWhereInput
561
+ }
562
+
563
+ export type RecipeUpdateToOneWithWhereWithoutPermissionsInput = {
564
+ where?: Prisma.RecipeWhereInput
565
+ data: Prisma.XOR<Prisma.RecipeUpdateWithoutPermissionsInput, Prisma.RecipeUncheckedUpdateWithoutPermissionsInput>
566
+ }
567
+
568
+ export type RecipeUpdateWithoutPermissionsInput = {
569
+ id?: Prisma.StringFieldUpdateOperationsInput | string
570
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
571
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
572
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
573
+ definition?:PrismaJson.Recipe_definition
574
+ plugins?:PrismaJson.Recipe_plugins
575
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
576
+ template?: Prisma.TemplateUpdateOneRequiredWithoutRecipesNestedInput
577
+ recipe_bags?: Prisma.RecipeBagUpdateManyWithoutRecipeNestedInput
578
+ }
579
+
580
+ export type RecipeUncheckedUpdateWithoutPermissionsInput = {
581
+ id?: Prisma.StringFieldUpdateOperationsInput | string
582
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
583
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
584
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
585
+ template_id?: Prisma.StringFieldUpdateOperationsInput | string
586
+ definition?:PrismaJson.Recipe_definition
587
+ plugins?:PrismaJson.Recipe_plugins
588
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
589
+ recipe_bags?: Prisma.RecipeBagUncheckedUpdateManyWithoutRecipeNestedInput
590
+ }
591
+
592
+ export type RecipeCreateWithoutRecipe_bagsInput = {
593
+ id?: string
594
+ slug: string
595
+ created?: Date | string
596
+ updated?: Date | string
597
+ definition:PrismaJson.Recipe_definition
598
+ plugins:PrismaJson.Recipe_plugins
599
+ compiledAt: Date | string
600
+ template: Prisma.TemplateCreateNestedOneWithoutRecipesInput
601
+ permissions?: Prisma.RecipePermissionCreateNestedManyWithoutRecipeInput
602
+ }
603
+
604
+ export type RecipeUncheckedCreateWithoutRecipe_bagsInput = {
605
+ id?: string
606
+ slug: string
607
+ created?: Date | string
608
+ updated?: Date | string
609
+ template_id: string
610
+ definition:PrismaJson.Recipe_definition
611
+ plugins:PrismaJson.Recipe_plugins
612
+ compiledAt: Date | string
613
+ permissions?: Prisma.RecipePermissionUncheckedCreateNestedManyWithoutRecipeInput
614
+ }
615
+
616
+ export type RecipeCreateOrConnectWithoutRecipe_bagsInput = {
617
+ where: Prisma.RecipeWhereUniqueInput
618
+ create: Prisma.XOR<Prisma.RecipeCreateWithoutRecipe_bagsInput, Prisma.RecipeUncheckedCreateWithoutRecipe_bagsInput>
619
+ }
620
+
621
+ export type RecipeUpsertWithoutRecipe_bagsInput = {
622
+ update: Prisma.XOR<Prisma.RecipeUpdateWithoutRecipe_bagsInput, Prisma.RecipeUncheckedUpdateWithoutRecipe_bagsInput>
623
+ create: Prisma.XOR<Prisma.RecipeCreateWithoutRecipe_bagsInput, Prisma.RecipeUncheckedCreateWithoutRecipe_bagsInput>
624
+ where?: Prisma.RecipeWhereInput
625
+ }
626
+
627
+ export type RecipeUpdateToOneWithWhereWithoutRecipe_bagsInput = {
628
+ where?: Prisma.RecipeWhereInput
629
+ data: Prisma.XOR<Prisma.RecipeUpdateWithoutRecipe_bagsInput, Prisma.RecipeUncheckedUpdateWithoutRecipe_bagsInput>
630
+ }
631
+
632
+ export type RecipeUpdateWithoutRecipe_bagsInput = {
633
+ id?: Prisma.StringFieldUpdateOperationsInput | string
634
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
635
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
636
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
637
+ definition?:PrismaJson.Recipe_definition
638
+ plugins?:PrismaJson.Recipe_plugins
639
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
640
+ template?: Prisma.TemplateUpdateOneRequiredWithoutRecipesNestedInput
641
+ permissions?: Prisma.RecipePermissionUpdateManyWithoutRecipeNestedInput
642
+ }
643
+
644
+ export type RecipeUncheckedUpdateWithoutRecipe_bagsInput = {
645
+ id?: Prisma.StringFieldUpdateOperationsInput | string
646
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
647
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
648
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
649
+ template_id?: Prisma.StringFieldUpdateOperationsInput | string
650
+ definition?:PrismaJson.Recipe_definition
651
+ plugins?:PrismaJson.Recipe_plugins
652
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
653
+ permissions?: Prisma.RecipePermissionUncheckedUpdateManyWithoutRecipeNestedInput
654
+ }
655
+
656
+ export type RecipeCreateManyTemplateInput = {
657
+ id?: string
658
+ slug: string
659
+ created?: Date | string
660
+ updated?: Date | string
661
+ definition:PrismaJson.Recipe_definition
662
+ plugins:PrismaJson.Recipe_plugins
663
+ compiledAt: Date | string
664
+ }
665
+
666
+ export type RecipeUpdateWithoutTemplateInput = {
667
+ id?: Prisma.StringFieldUpdateOperationsInput | string
668
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
669
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
670
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
671
+ definition?:PrismaJson.Recipe_definition
672
+ plugins?:PrismaJson.Recipe_plugins
673
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
674
+ recipe_bags?: Prisma.RecipeBagUpdateManyWithoutRecipeNestedInput
675
+ permissions?: Prisma.RecipePermissionUpdateManyWithoutRecipeNestedInput
676
+ }
677
+
678
+ export type RecipeUncheckedUpdateWithoutTemplateInput = {
679
+ id?: Prisma.StringFieldUpdateOperationsInput | string
680
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
681
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
682
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
683
+ definition?:PrismaJson.Recipe_definition
684
+ plugins?:PrismaJson.Recipe_plugins
685
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
686
+ recipe_bags?: Prisma.RecipeBagUncheckedUpdateManyWithoutRecipeNestedInput
687
+ permissions?: Prisma.RecipePermissionUncheckedUpdateManyWithoutRecipeNestedInput
688
+ }
689
+
690
+ export type RecipeUncheckedUpdateManyWithoutTemplateInput = {
691
+ id?: Prisma.StringFieldUpdateOperationsInput | string
692
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
693
+ created?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
694
+ updated?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
695
+ definition?:PrismaJson.Recipe_definition
696
+ plugins?:PrismaJson.Recipe_plugins
697
+ compiledAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
698
+ }
699
+
700
+
701
+ /**
702
+ * Count Type RecipeCountOutputType
703
+ */
704
+
705
+ export type RecipeCountOutputType = {
706
+ recipe_bags: number
707
+ permissions: number
708
+ }
709
+
710
+ export type RecipeCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
711
+ recipe_bags?: boolean | RecipeCountOutputTypeCountRecipe_bagsArgs
712
+ permissions?: boolean | RecipeCountOutputTypeCountPermissionsArgs
713
+ }
714
+
715
+ /**
716
+ * RecipeCountOutputType without action
717
+ */
718
+ export type RecipeCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
719
+ /**
720
+ * Select specific fields to fetch from the RecipeCountOutputType
721
+ */
722
+ select?: Prisma.RecipeCountOutputTypeSelect<ExtArgs> | null
723
+ }
724
+
725
+ /**
726
+ * RecipeCountOutputType without action
727
+ */
728
+ export type RecipeCountOutputTypeCountRecipe_bagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
729
+ where?: Prisma.RecipeBagWhereInput
730
+ }
731
+
732
+ /**
733
+ * RecipeCountOutputType without action
734
+ */
735
+ export type RecipeCountOutputTypeCountPermissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
736
+ where?: Prisma.RecipePermissionWhereInput
737
+ }
738
+
739
+
740
+ export type RecipeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
741
+ id?: boolean
742
+ slug?: boolean
743
+ created?: boolean
744
+ updated?: boolean
745
+ template_id?: boolean
746
+ definition?: boolean
747
+ plugins?: boolean
748
+ compiledAt?: boolean
749
+ template?: boolean | Prisma.TemplateDefaultArgs<ExtArgs>
750
+ recipe_bags?: boolean | Prisma.Recipe$recipe_bagsArgs<ExtArgs>
751
+ permissions?: boolean | Prisma.Recipe$permissionsArgs<ExtArgs>
752
+ _count?: boolean | Prisma.RecipeCountOutputTypeDefaultArgs<ExtArgs>
753
+ }, ExtArgs["result"]["recipe"]>
754
+
755
+ export type RecipeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
756
+ id?: boolean
757
+ slug?: boolean
758
+ created?: boolean
759
+ updated?: boolean
760
+ template_id?: boolean
761
+ definition?: boolean
762
+ plugins?: boolean
763
+ compiledAt?: boolean
764
+ template?: boolean | Prisma.TemplateDefaultArgs<ExtArgs>
765
+ }, ExtArgs["result"]["recipe"]>
766
+
767
+ export type RecipeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
768
+ id?: boolean
769
+ slug?: boolean
770
+ created?: boolean
771
+ updated?: boolean
772
+ template_id?: boolean
773
+ definition?: boolean
774
+ plugins?: boolean
775
+ compiledAt?: boolean
776
+ template?: boolean | Prisma.TemplateDefaultArgs<ExtArgs>
777
+ }, ExtArgs["result"]["recipe"]>
778
+
779
+ export type RecipeSelectScalar = {
780
+ id?: boolean
781
+ slug?: boolean
782
+ created?: boolean
783
+ updated?: boolean
784
+ template_id?: boolean
785
+ definition?: boolean
786
+ plugins?: boolean
787
+ compiledAt?: boolean
788
+ }
789
+
790
+ export type RecipeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "slug" | "created" | "updated" | "template_id" | "definition" | "plugins" | "compiledAt", ExtArgs["result"]["recipe"]>
791
+ export type RecipeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
792
+ template?: boolean | Prisma.TemplateDefaultArgs<ExtArgs>
793
+ recipe_bags?: boolean | Prisma.Recipe$recipe_bagsArgs<ExtArgs>
794
+ permissions?: boolean | Prisma.Recipe$permissionsArgs<ExtArgs>
795
+ _count?: boolean | Prisma.RecipeCountOutputTypeDefaultArgs<ExtArgs>
796
+ }
797
+ export type RecipeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
798
+ template?: boolean | Prisma.TemplateDefaultArgs<ExtArgs>
799
+ }
800
+ export type RecipeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
801
+ template?: boolean | Prisma.TemplateDefaultArgs<ExtArgs>
802
+ }
803
+
804
+ export type $RecipePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
805
+ name: "Recipe"
806
+ objects: {
807
+ template: Prisma.$TemplatePayload<ExtArgs>
808
+ recipe_bags: Prisma.$RecipeBagPayload<ExtArgs>[]
809
+ permissions: Prisma.$RecipePermissionPayload<ExtArgs>[]
810
+ }
811
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
812
+ id: string
813
+ slug: string
814
+ created: Date
815
+ updated: Date
816
+ template_id: string
817
+ /**
818
+ * [Recipe_definition]
819
+ */
820
+ definition:PrismaJson.Recipe_definition
821
+ /**
822
+ * [Recipe_plugins]
823
+ */
824
+ plugins:PrismaJson.Recipe_plugins
825
+ compiledAt: Date
826
+ }, ExtArgs["result"]["recipe"]>
827
+ composites: {}
828
+ }
829
+
830
+ export type RecipeGetPayload<S extends boolean | null | undefined | RecipeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RecipePayload, S>
831
+
832
+ export type RecipeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
833
+ Omit<RecipeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
834
+ select?: RecipeCountAggregateInputType | true
835
+ }
836
+
837
+ export interface RecipeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
838
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Recipe'], meta: { name: 'Recipe' } }
839
+ /**
840
+ * Find zero or one Recipe that matches the filter.
841
+ * @param {RecipeFindUniqueArgs} args - Arguments to find a Recipe
842
+ * @example
843
+ * // Get one Recipe
844
+ * const recipe = await prisma.recipe.findUnique({
845
+ * where: {
846
+ * // ... provide filter here
847
+ * }
848
+ * })
849
+ */
850
+ findUnique<T extends RecipeFindUniqueArgs>(args: Prisma.SelectSubset<T, RecipeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RecipeClient<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
851
+
852
+ /**
853
+ * Find one Recipe that matches the filter or throw an error with `error.code='P2025'`
854
+ * if no matches were found.
855
+ * @param {RecipeFindUniqueOrThrowArgs} args - Arguments to find a Recipe
856
+ * @example
857
+ * // Get one Recipe
858
+ * const recipe = await prisma.recipe.findUniqueOrThrow({
859
+ * where: {
860
+ * // ... provide filter here
861
+ * }
862
+ * })
863
+ */
864
+ findUniqueOrThrow<T extends RecipeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RecipeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RecipeClient<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
865
+
866
+ /**
867
+ * Find the first Recipe that matches the filter.
868
+ * Note, that providing `undefined` is treated as the value not being there.
869
+ * Read more here: https://pris.ly/d/null-undefined
870
+ * @param {RecipeFindFirstArgs} args - Arguments to find a Recipe
871
+ * @example
872
+ * // Get one Recipe
873
+ * const recipe = await prisma.recipe.findFirst({
874
+ * where: {
875
+ * // ... provide filter here
876
+ * }
877
+ * })
878
+ */
879
+ findFirst<T extends RecipeFindFirstArgs>(args?: Prisma.SelectSubset<T, RecipeFindFirstArgs<ExtArgs>>): Prisma.Prisma__RecipeClient<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
880
+
881
+ /**
882
+ * Find the first Recipe that matches the filter or
883
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
884
+ * Note, that providing `undefined` is treated as the value not being there.
885
+ * Read more here: https://pris.ly/d/null-undefined
886
+ * @param {RecipeFindFirstOrThrowArgs} args - Arguments to find a Recipe
887
+ * @example
888
+ * // Get one Recipe
889
+ * const recipe = await prisma.recipe.findFirstOrThrow({
890
+ * where: {
891
+ * // ... provide filter here
892
+ * }
893
+ * })
894
+ */
895
+ findFirstOrThrow<T extends RecipeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RecipeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RecipeClient<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
896
+
897
+ /**
898
+ * Find zero or more Recipes that matches the filter.
899
+ * Note, that providing `undefined` is treated as the value not being there.
900
+ * Read more here: https://pris.ly/d/null-undefined
901
+ * @param {RecipeFindManyArgs} args - Arguments to filter and select certain fields only.
902
+ * @example
903
+ * // Get all Recipes
904
+ * const recipes = await prisma.recipe.findMany()
905
+ *
906
+ * // Get first 10 Recipes
907
+ * const recipes = await prisma.recipe.findMany({ take: 10 })
908
+ *
909
+ * // Only select the `id`
910
+ * const recipeWithIdOnly = await prisma.recipe.findMany({ select: { id: true } })
911
+ *
912
+ */
913
+ findMany<T extends RecipeFindManyArgs>(args?: Prisma.SelectSubset<T, RecipeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
914
+
915
+ /**
916
+ * Create a Recipe.
917
+ * @param {RecipeCreateArgs} args - Arguments to create a Recipe.
918
+ * @example
919
+ * // Create one Recipe
920
+ * const Recipe = await prisma.recipe.create({
921
+ * data: {
922
+ * // ... data to create a Recipe
923
+ * }
924
+ * })
925
+ *
926
+ */
927
+ create<T extends RecipeCreateArgs>(args: Prisma.SelectSubset<T, RecipeCreateArgs<ExtArgs>>): Prisma.Prisma__RecipeClient<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
928
+
929
+ /**
930
+ * Create many Recipes.
931
+ * @param {RecipeCreateManyArgs} args - Arguments to create many Recipes.
932
+ * @example
933
+ * // Create many Recipes
934
+ * const recipe = await prisma.recipe.createMany({
935
+ * data: [
936
+ * // ... provide data here
937
+ * ]
938
+ * })
939
+ *
940
+ */
941
+ createMany<T extends RecipeCreateManyArgs>(args?: Prisma.SelectSubset<T, RecipeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
942
+
943
+ /**
944
+ * Create many Recipes and returns the data saved in the database.
945
+ * @param {RecipeCreateManyAndReturnArgs} args - Arguments to create many Recipes.
946
+ * @example
947
+ * // Create many Recipes
948
+ * const recipe = await prisma.recipe.createManyAndReturn({
949
+ * data: [
950
+ * // ... provide data here
951
+ * ]
952
+ * })
953
+ *
954
+ * // Create many Recipes and only return the `id`
955
+ * const recipeWithIdOnly = await prisma.recipe.createManyAndReturn({
956
+ * select: { id: true },
957
+ * data: [
958
+ * // ... provide data here
959
+ * ]
960
+ * })
961
+ * Note, that providing `undefined` is treated as the value not being there.
962
+ * Read more here: https://pris.ly/d/null-undefined
963
+ *
964
+ */
965
+ createManyAndReturn<T extends RecipeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RecipeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
966
+
967
+ /**
968
+ * Delete a Recipe.
969
+ * @param {RecipeDeleteArgs} args - Arguments to delete one Recipe.
970
+ * @example
971
+ * // Delete one Recipe
972
+ * const Recipe = await prisma.recipe.delete({
973
+ * where: {
974
+ * // ... filter to delete one Recipe
975
+ * }
976
+ * })
977
+ *
978
+ */
979
+ delete<T extends RecipeDeleteArgs>(args: Prisma.SelectSubset<T, RecipeDeleteArgs<ExtArgs>>): Prisma.Prisma__RecipeClient<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
980
+
981
+ /**
982
+ * Update one Recipe.
983
+ * @param {RecipeUpdateArgs} args - Arguments to update one Recipe.
984
+ * @example
985
+ * // Update one Recipe
986
+ * const recipe = await prisma.recipe.update({
987
+ * where: {
988
+ * // ... provide filter here
989
+ * },
990
+ * data: {
991
+ * // ... provide data here
992
+ * }
993
+ * })
994
+ *
995
+ */
996
+ update<T extends RecipeUpdateArgs>(args: Prisma.SelectSubset<T, RecipeUpdateArgs<ExtArgs>>): Prisma.Prisma__RecipeClient<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
997
+
998
+ /**
999
+ * Delete zero or more Recipes.
1000
+ * @param {RecipeDeleteManyArgs} args - Arguments to filter Recipes to delete.
1001
+ * @example
1002
+ * // Delete a few Recipes
1003
+ * const { count } = await prisma.recipe.deleteMany({
1004
+ * where: {
1005
+ * // ... provide filter here
1006
+ * }
1007
+ * })
1008
+ *
1009
+ */
1010
+ deleteMany<T extends RecipeDeleteManyArgs>(args?: Prisma.SelectSubset<T, RecipeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1011
+
1012
+ /**
1013
+ * Update zero or more Recipes.
1014
+ * Note, that providing `undefined` is treated as the value not being there.
1015
+ * Read more here: https://pris.ly/d/null-undefined
1016
+ * @param {RecipeUpdateManyArgs} args - Arguments to update one or more rows.
1017
+ * @example
1018
+ * // Update many Recipes
1019
+ * const recipe = await prisma.recipe.updateMany({
1020
+ * where: {
1021
+ * // ... provide filter here
1022
+ * },
1023
+ * data: {
1024
+ * // ... provide data here
1025
+ * }
1026
+ * })
1027
+ *
1028
+ */
1029
+ updateMany<T extends RecipeUpdateManyArgs>(args: Prisma.SelectSubset<T, RecipeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1030
+
1031
+ /**
1032
+ * Update zero or more Recipes and returns the data updated in the database.
1033
+ * @param {RecipeUpdateManyAndReturnArgs} args - Arguments to update many Recipes.
1034
+ * @example
1035
+ * // Update many Recipes
1036
+ * const recipe = await prisma.recipe.updateManyAndReturn({
1037
+ * where: {
1038
+ * // ... provide filter here
1039
+ * },
1040
+ * data: [
1041
+ * // ... provide data here
1042
+ * ]
1043
+ * })
1044
+ *
1045
+ * // Update zero or more Recipes and only return the `id`
1046
+ * const recipeWithIdOnly = await prisma.recipe.updateManyAndReturn({
1047
+ * select: { id: true },
1048
+ * where: {
1049
+ * // ... provide filter here
1050
+ * },
1051
+ * data: [
1052
+ * // ... provide data here
1053
+ * ]
1054
+ * })
1055
+ * Note, that providing `undefined` is treated as the value not being there.
1056
+ * Read more here: https://pris.ly/d/null-undefined
1057
+ *
1058
+ */
1059
+ updateManyAndReturn<T extends RecipeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RecipeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1060
+
1061
+ /**
1062
+ * Create or update one Recipe.
1063
+ * @param {RecipeUpsertArgs} args - Arguments to update or create a Recipe.
1064
+ * @example
1065
+ * // Update or create a Recipe
1066
+ * const recipe = await prisma.recipe.upsert({
1067
+ * create: {
1068
+ * // ... data to create a Recipe
1069
+ * },
1070
+ * update: {
1071
+ * // ... in case it already exists, update
1072
+ * },
1073
+ * where: {
1074
+ * // ... the filter for the Recipe we want to update
1075
+ * }
1076
+ * })
1077
+ */
1078
+ upsert<T extends RecipeUpsertArgs>(args: Prisma.SelectSubset<T, RecipeUpsertArgs<ExtArgs>>): Prisma.Prisma__RecipeClient<runtime.Types.Result.GetResult<Prisma.$RecipePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1079
+
1080
+
1081
+ /**
1082
+ * Count the number of Recipes.
1083
+ * Note, that providing `undefined` is treated as the value not being there.
1084
+ * Read more here: https://pris.ly/d/null-undefined
1085
+ * @param {RecipeCountArgs} args - Arguments to filter Recipes to count.
1086
+ * @example
1087
+ * // Count the number of Recipes
1088
+ * const count = await prisma.recipe.count({
1089
+ * where: {
1090
+ * // ... the filter for the Recipes we want to count
1091
+ * }
1092
+ * })
1093
+ **/
1094
+ count<T extends RecipeCountArgs>(
1095
+ args?: Prisma.Subset<T, RecipeCountArgs>,
1096
+ ): Prisma.PrismaPromise<
1097
+ T extends runtime.Types.Utils.Record<'select', any>
1098
+ ? T['select'] extends true
1099
+ ? number
1100
+ : Prisma.GetScalarType<T['select'], RecipeCountAggregateOutputType>
1101
+ : number
1102
+ >
1103
+
1104
+ /**
1105
+ * Allows you to perform aggregations operations on a Recipe.
1106
+ * Note, that providing `undefined` is treated as the value not being there.
1107
+ * Read more here: https://pris.ly/d/null-undefined
1108
+ * @param {RecipeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1109
+ * @example
1110
+ * // Ordered by age ascending
1111
+ * // Where email contains prisma.io
1112
+ * // Limited to the 10 users
1113
+ * const aggregations = await prisma.user.aggregate({
1114
+ * _avg: {
1115
+ * age: true,
1116
+ * },
1117
+ * where: {
1118
+ * email: {
1119
+ * contains: "prisma.io",
1120
+ * },
1121
+ * },
1122
+ * orderBy: {
1123
+ * age: "asc",
1124
+ * },
1125
+ * take: 10,
1126
+ * })
1127
+ **/
1128
+ aggregate<T extends RecipeAggregateArgs>(args: Prisma.Subset<T, RecipeAggregateArgs>): Prisma.PrismaPromise<GetRecipeAggregateType<T>>
1129
+
1130
+ /**
1131
+ * Group by Recipe.
1132
+ * Note, that providing `undefined` is treated as the value not being there.
1133
+ * Read more here: https://pris.ly/d/null-undefined
1134
+ * @param {RecipeGroupByArgs} args - Group by arguments.
1135
+ * @example
1136
+ * // Group by city, order by createdAt, get count
1137
+ * const result = await prisma.user.groupBy({
1138
+ * by: ['city', 'createdAt'],
1139
+ * orderBy: {
1140
+ * createdAt: true
1141
+ * },
1142
+ * _count: {
1143
+ * _all: true
1144
+ * },
1145
+ * })
1146
+ *
1147
+ **/
1148
+ groupBy<
1149
+ T extends RecipeGroupByArgs,
1150
+ HasSelectOrTake extends Prisma.Or<
1151
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1152
+ Prisma.Extends<'take', Prisma.Keys<T>>
1153
+ >,
1154
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1155
+ ? { orderBy: RecipeGroupByArgs['orderBy'] }
1156
+ : { orderBy?: RecipeGroupByArgs['orderBy'] },
1157
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1158
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1159
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1160
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1161
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1162
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1163
+ InputErrors extends ByEmpty extends Prisma.True
1164
+ ? `Error: "by" must not be empty.`
1165
+ : HavingValid extends Prisma.False
1166
+ ? {
1167
+ [P in HavingFields]: P extends ByFields
1168
+ ? never
1169
+ : P extends string
1170
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1171
+ : [
1172
+ Error,
1173
+ 'Field ',
1174
+ P,
1175
+ ` in "having" needs to be provided in "by"`,
1176
+ ]
1177
+ }[HavingFields]
1178
+ : 'take' extends Prisma.Keys<T>
1179
+ ? 'orderBy' extends Prisma.Keys<T>
1180
+ ? ByValid extends Prisma.True
1181
+ ? {}
1182
+ : {
1183
+ [P in OrderFields]: P extends ByFields
1184
+ ? never
1185
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1186
+ }[OrderFields]
1187
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1188
+ : 'skip' extends Prisma.Keys<T>
1189
+ ? 'orderBy' extends Prisma.Keys<T>
1190
+ ? ByValid extends Prisma.True
1191
+ ? {}
1192
+ : {
1193
+ [P in OrderFields]: P extends ByFields
1194
+ ? never
1195
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1196
+ }[OrderFields]
1197
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1198
+ : ByValid extends Prisma.True
1199
+ ? {}
1200
+ : {
1201
+ [P in OrderFields]: P extends ByFields
1202
+ ? never
1203
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1204
+ }[OrderFields]
1205
+ >(args: Prisma.SubsetIntersection<T, RecipeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRecipeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1206
+ /**
1207
+ * Fields of the Recipe model
1208
+ */
1209
+ readonly fields: RecipeFieldRefs;
1210
+ }
1211
+
1212
+ /**
1213
+ * The delegate class that acts as a "Promise-like" for Recipe.
1214
+ * Why is this prefixed with `Prisma__`?
1215
+ * Because we want to prevent naming conflicts as mentioned in
1216
+ * https://github.com/prisma/prisma-client-js/issues/707
1217
+ */
1218
+ export interface Prisma__RecipeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1219
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1220
+ template<T extends Prisma.TemplateDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TemplateDefaultArgs<ExtArgs>>): Prisma.Prisma__TemplateClient<runtime.Types.Result.GetResult<Prisma.$TemplatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1221
+ recipe_bags<T extends Prisma.Recipe$recipe_bagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Recipe$recipe_bagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RecipeBagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1222
+ permissions<T extends Prisma.Recipe$permissionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Recipe$permissionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RecipePermissionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1223
+ /**
1224
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1225
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1226
+ * @param onrejected The callback to execute when the Promise is rejected.
1227
+ * @returns A Promise for the completion of which ever callback is executed.
1228
+ */
1229
+ 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>
1230
+ /**
1231
+ * Attaches a callback for only the rejection of the Promise.
1232
+ * @param onrejected The callback to execute when the Promise is rejected.
1233
+ * @returns A Promise for the completion of the callback.
1234
+ */
1235
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1236
+ /**
1237
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1238
+ * resolved value cannot be modified from the callback.
1239
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1240
+ * @returns A Promise for the completion of the callback.
1241
+ */
1242
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1243
+ }
1244
+
1245
+
1246
+
1247
+
1248
+ /**
1249
+ * Fields of the Recipe model
1250
+ */
1251
+ export interface RecipeFieldRefs {
1252
+ readonly id: Prisma.FieldRef<"Recipe", 'String'>
1253
+ readonly slug: Prisma.FieldRef<"Recipe", 'String'>
1254
+ readonly created: Prisma.FieldRef<"Recipe", 'DateTime'>
1255
+ readonly updated: Prisma.FieldRef<"Recipe", 'DateTime'>
1256
+ readonly template_id: Prisma.FieldRef<"Recipe", 'String'>
1257
+ readonly definition: Prisma.FieldRef<"Recipe", 'Json'>
1258
+ readonly plugins: Prisma.FieldRef<"Recipe", 'Json'>
1259
+ readonly compiledAt: Prisma.FieldRef<"Recipe", 'DateTime'>
1260
+ }
1261
+
1262
+
1263
+ // Custom InputTypes
1264
+ /**
1265
+ * Recipe findUnique
1266
+ */
1267
+ export type RecipeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1268
+ /**
1269
+ * Select specific fields to fetch from the Recipe
1270
+ */
1271
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1272
+ /**
1273
+ * Omit specific fields from the Recipe
1274
+ */
1275
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1276
+ /**
1277
+ * Choose, which related nodes to fetch as well
1278
+ */
1279
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1280
+ /**
1281
+ * Filter, which Recipe to fetch.
1282
+ */
1283
+ where: Prisma.RecipeWhereUniqueInput
1284
+ }
1285
+
1286
+ /**
1287
+ * Recipe findUniqueOrThrow
1288
+ */
1289
+ export type RecipeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1290
+ /**
1291
+ * Select specific fields to fetch from the Recipe
1292
+ */
1293
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1294
+ /**
1295
+ * Omit specific fields from the Recipe
1296
+ */
1297
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1298
+ /**
1299
+ * Choose, which related nodes to fetch as well
1300
+ */
1301
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1302
+ /**
1303
+ * Filter, which Recipe to fetch.
1304
+ */
1305
+ where: Prisma.RecipeWhereUniqueInput
1306
+ }
1307
+
1308
+ /**
1309
+ * Recipe findFirst
1310
+ */
1311
+ export type RecipeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1312
+ /**
1313
+ * Select specific fields to fetch from the Recipe
1314
+ */
1315
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1316
+ /**
1317
+ * Omit specific fields from the Recipe
1318
+ */
1319
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1320
+ /**
1321
+ * Choose, which related nodes to fetch as well
1322
+ */
1323
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1324
+ /**
1325
+ * Filter, which Recipe to fetch.
1326
+ */
1327
+ where?: Prisma.RecipeWhereInput
1328
+ /**
1329
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1330
+ *
1331
+ * Determine the order of Recipes to fetch.
1332
+ */
1333
+ orderBy?: Prisma.RecipeOrderByWithRelationInput | Prisma.RecipeOrderByWithRelationInput[]
1334
+ /**
1335
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1336
+ *
1337
+ * Sets the position for searching for Recipes.
1338
+ */
1339
+ cursor?: Prisma.RecipeWhereUniqueInput
1340
+ /**
1341
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1342
+ *
1343
+ * Take `±n` Recipes from the position of the cursor.
1344
+ */
1345
+ take?: number
1346
+ /**
1347
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1348
+ *
1349
+ * Skip the first `n` Recipes.
1350
+ */
1351
+ skip?: number
1352
+ /**
1353
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1354
+ *
1355
+ * Filter by unique combinations of Recipes.
1356
+ */
1357
+ distinct?: Prisma.RecipeScalarFieldEnum | Prisma.RecipeScalarFieldEnum[]
1358
+ }
1359
+
1360
+ /**
1361
+ * Recipe findFirstOrThrow
1362
+ */
1363
+ export type RecipeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1364
+ /**
1365
+ * Select specific fields to fetch from the Recipe
1366
+ */
1367
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1368
+ /**
1369
+ * Omit specific fields from the Recipe
1370
+ */
1371
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1372
+ /**
1373
+ * Choose, which related nodes to fetch as well
1374
+ */
1375
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1376
+ /**
1377
+ * Filter, which Recipe to fetch.
1378
+ */
1379
+ where?: Prisma.RecipeWhereInput
1380
+ /**
1381
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1382
+ *
1383
+ * Determine the order of Recipes to fetch.
1384
+ */
1385
+ orderBy?: Prisma.RecipeOrderByWithRelationInput | Prisma.RecipeOrderByWithRelationInput[]
1386
+ /**
1387
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1388
+ *
1389
+ * Sets the position for searching for Recipes.
1390
+ */
1391
+ cursor?: Prisma.RecipeWhereUniqueInput
1392
+ /**
1393
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1394
+ *
1395
+ * Take `±n` Recipes from the position of the cursor.
1396
+ */
1397
+ take?: number
1398
+ /**
1399
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1400
+ *
1401
+ * Skip the first `n` Recipes.
1402
+ */
1403
+ skip?: number
1404
+ /**
1405
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1406
+ *
1407
+ * Filter by unique combinations of Recipes.
1408
+ */
1409
+ distinct?: Prisma.RecipeScalarFieldEnum | Prisma.RecipeScalarFieldEnum[]
1410
+ }
1411
+
1412
+ /**
1413
+ * Recipe findMany
1414
+ */
1415
+ export type RecipeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1416
+ /**
1417
+ * Select specific fields to fetch from the Recipe
1418
+ */
1419
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1420
+ /**
1421
+ * Omit specific fields from the Recipe
1422
+ */
1423
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1424
+ /**
1425
+ * Choose, which related nodes to fetch as well
1426
+ */
1427
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1428
+ /**
1429
+ * Filter, which Recipes to fetch.
1430
+ */
1431
+ where?: Prisma.RecipeWhereInput
1432
+ /**
1433
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1434
+ *
1435
+ * Determine the order of Recipes to fetch.
1436
+ */
1437
+ orderBy?: Prisma.RecipeOrderByWithRelationInput | Prisma.RecipeOrderByWithRelationInput[]
1438
+ /**
1439
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1440
+ *
1441
+ * Sets the position for listing Recipes.
1442
+ */
1443
+ cursor?: Prisma.RecipeWhereUniqueInput
1444
+ /**
1445
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1446
+ *
1447
+ * Take `±n` Recipes from the position of the cursor.
1448
+ */
1449
+ take?: number
1450
+ /**
1451
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1452
+ *
1453
+ * Skip the first `n` Recipes.
1454
+ */
1455
+ skip?: number
1456
+ /**
1457
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1458
+ *
1459
+ * Filter by unique combinations of Recipes.
1460
+ */
1461
+ distinct?: Prisma.RecipeScalarFieldEnum | Prisma.RecipeScalarFieldEnum[]
1462
+ }
1463
+
1464
+ /**
1465
+ * Recipe create
1466
+ */
1467
+ export type RecipeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1468
+ /**
1469
+ * Select specific fields to fetch from the Recipe
1470
+ */
1471
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1472
+ /**
1473
+ * Omit specific fields from the Recipe
1474
+ */
1475
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1476
+ /**
1477
+ * Choose, which related nodes to fetch as well
1478
+ */
1479
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1480
+ /**
1481
+ * The data needed to create a Recipe.
1482
+ */
1483
+ data: Prisma.XOR<Prisma.RecipeCreateInput, Prisma.RecipeUncheckedCreateInput>
1484
+ }
1485
+
1486
+ /**
1487
+ * Recipe createMany
1488
+ */
1489
+ export type RecipeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1490
+ /**
1491
+ * The data used to create many Recipes.
1492
+ */
1493
+ data: Prisma.RecipeCreateManyInput | Prisma.RecipeCreateManyInput[]
1494
+ }
1495
+
1496
+ /**
1497
+ * Recipe createManyAndReturn
1498
+ */
1499
+ export type RecipeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1500
+ /**
1501
+ * Select specific fields to fetch from the Recipe
1502
+ */
1503
+ select?: Prisma.RecipeSelectCreateManyAndReturn<ExtArgs> | null
1504
+ /**
1505
+ * Omit specific fields from the Recipe
1506
+ */
1507
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1508
+ /**
1509
+ * The data used to create many Recipes.
1510
+ */
1511
+ data: Prisma.RecipeCreateManyInput | Prisma.RecipeCreateManyInput[]
1512
+ /**
1513
+ * Choose, which related nodes to fetch as well
1514
+ */
1515
+ include?: Prisma.RecipeIncludeCreateManyAndReturn<ExtArgs> | null
1516
+ }
1517
+
1518
+ /**
1519
+ * Recipe update
1520
+ */
1521
+ export type RecipeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1522
+ /**
1523
+ * Select specific fields to fetch from the Recipe
1524
+ */
1525
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1526
+ /**
1527
+ * Omit specific fields from the Recipe
1528
+ */
1529
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1530
+ /**
1531
+ * Choose, which related nodes to fetch as well
1532
+ */
1533
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1534
+ /**
1535
+ * The data needed to update a Recipe.
1536
+ */
1537
+ data: Prisma.XOR<Prisma.RecipeUpdateInput, Prisma.RecipeUncheckedUpdateInput>
1538
+ /**
1539
+ * Choose, which Recipe to update.
1540
+ */
1541
+ where: Prisma.RecipeWhereUniqueInput
1542
+ }
1543
+
1544
+ /**
1545
+ * Recipe updateMany
1546
+ */
1547
+ export type RecipeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1548
+ /**
1549
+ * The data used to update Recipes.
1550
+ */
1551
+ data: Prisma.XOR<Prisma.RecipeUpdateManyMutationInput, Prisma.RecipeUncheckedUpdateManyInput>
1552
+ /**
1553
+ * Filter which Recipes to update
1554
+ */
1555
+ where?: Prisma.RecipeWhereInput
1556
+ /**
1557
+ * Limit how many Recipes to update.
1558
+ */
1559
+ limit?: number
1560
+ }
1561
+
1562
+ /**
1563
+ * Recipe updateManyAndReturn
1564
+ */
1565
+ export type RecipeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1566
+ /**
1567
+ * Select specific fields to fetch from the Recipe
1568
+ */
1569
+ select?: Prisma.RecipeSelectUpdateManyAndReturn<ExtArgs> | null
1570
+ /**
1571
+ * Omit specific fields from the Recipe
1572
+ */
1573
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1574
+ /**
1575
+ * The data used to update Recipes.
1576
+ */
1577
+ data: Prisma.XOR<Prisma.RecipeUpdateManyMutationInput, Prisma.RecipeUncheckedUpdateManyInput>
1578
+ /**
1579
+ * Filter which Recipes to update
1580
+ */
1581
+ where?: Prisma.RecipeWhereInput
1582
+ /**
1583
+ * Limit how many Recipes to update.
1584
+ */
1585
+ limit?: number
1586
+ /**
1587
+ * Choose, which related nodes to fetch as well
1588
+ */
1589
+ include?: Prisma.RecipeIncludeUpdateManyAndReturn<ExtArgs> | null
1590
+ }
1591
+
1592
+ /**
1593
+ * Recipe upsert
1594
+ */
1595
+ export type RecipeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1596
+ /**
1597
+ * Select specific fields to fetch from the Recipe
1598
+ */
1599
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1600
+ /**
1601
+ * Omit specific fields from the Recipe
1602
+ */
1603
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1604
+ /**
1605
+ * Choose, which related nodes to fetch as well
1606
+ */
1607
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1608
+ /**
1609
+ * The filter to search for the Recipe to update in case it exists.
1610
+ */
1611
+ where: Prisma.RecipeWhereUniqueInput
1612
+ /**
1613
+ * In case the Recipe found by the `where` argument doesn't exist, create a new Recipe with this data.
1614
+ */
1615
+ create: Prisma.XOR<Prisma.RecipeCreateInput, Prisma.RecipeUncheckedCreateInput>
1616
+ /**
1617
+ * In case the Recipe was found with the provided `where` argument, update it with this data.
1618
+ */
1619
+ update: Prisma.XOR<Prisma.RecipeUpdateInput, Prisma.RecipeUncheckedUpdateInput>
1620
+ }
1621
+
1622
+ /**
1623
+ * Recipe delete
1624
+ */
1625
+ export type RecipeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1626
+ /**
1627
+ * Select specific fields to fetch from the Recipe
1628
+ */
1629
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1630
+ /**
1631
+ * Omit specific fields from the Recipe
1632
+ */
1633
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1634
+ /**
1635
+ * Choose, which related nodes to fetch as well
1636
+ */
1637
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1638
+ /**
1639
+ * Filter which Recipe to delete.
1640
+ */
1641
+ where: Prisma.RecipeWhereUniqueInput
1642
+ }
1643
+
1644
+ /**
1645
+ * Recipe deleteMany
1646
+ */
1647
+ export type RecipeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1648
+ /**
1649
+ * Filter which Recipes to delete
1650
+ */
1651
+ where?: Prisma.RecipeWhereInput
1652
+ /**
1653
+ * Limit how many Recipes to delete.
1654
+ */
1655
+ limit?: number
1656
+ }
1657
+
1658
+ /**
1659
+ * Recipe.recipe_bags
1660
+ */
1661
+ export type Recipe$recipe_bagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1662
+ /**
1663
+ * Select specific fields to fetch from the RecipeBag
1664
+ */
1665
+ select?: Prisma.RecipeBagSelect<ExtArgs> | null
1666
+ /**
1667
+ * Omit specific fields from the RecipeBag
1668
+ */
1669
+ omit?: Prisma.RecipeBagOmit<ExtArgs> | null
1670
+ /**
1671
+ * Choose, which related nodes to fetch as well
1672
+ */
1673
+ include?: Prisma.RecipeBagInclude<ExtArgs> | null
1674
+ where?: Prisma.RecipeBagWhereInput
1675
+ orderBy?: Prisma.RecipeBagOrderByWithRelationInput | Prisma.RecipeBagOrderByWithRelationInput[]
1676
+ cursor?: Prisma.RecipeBagWhereUniqueInput
1677
+ take?: number
1678
+ skip?: number
1679
+ distinct?: Prisma.RecipeBagScalarFieldEnum | Prisma.RecipeBagScalarFieldEnum[]
1680
+ }
1681
+
1682
+ /**
1683
+ * Recipe.permissions
1684
+ */
1685
+ export type Recipe$permissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1686
+ /**
1687
+ * Select specific fields to fetch from the RecipePermission
1688
+ */
1689
+ select?: Prisma.RecipePermissionSelect<ExtArgs> | null
1690
+ /**
1691
+ * Omit specific fields from the RecipePermission
1692
+ */
1693
+ omit?: Prisma.RecipePermissionOmit<ExtArgs> | null
1694
+ /**
1695
+ * Choose, which related nodes to fetch as well
1696
+ */
1697
+ include?: Prisma.RecipePermissionInclude<ExtArgs> | null
1698
+ where?: Prisma.RecipePermissionWhereInput
1699
+ orderBy?: Prisma.RecipePermissionOrderByWithRelationInput | Prisma.RecipePermissionOrderByWithRelationInput[]
1700
+ cursor?: Prisma.RecipePermissionWhereUniqueInput
1701
+ take?: number
1702
+ skip?: number
1703
+ distinct?: Prisma.RecipePermissionScalarFieldEnum | Prisma.RecipePermissionScalarFieldEnum[]
1704
+ }
1705
+
1706
+ /**
1707
+ * Recipe without action
1708
+ */
1709
+ export type RecipeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1710
+ /**
1711
+ * Select specific fields to fetch from the Recipe
1712
+ */
1713
+ select?: Prisma.RecipeSelect<ExtArgs> | null
1714
+ /**
1715
+ * Omit specific fields from the Recipe
1716
+ */
1717
+ omit?: Prisma.RecipeOmit<ExtArgs> | null
1718
+ /**
1719
+ * Choose, which related nodes to fetch as well
1720
+ */
1721
+ include?: Prisma.RecipeInclude<ExtArgs> | null
1722
+ }