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