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