@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.
Files changed (117) hide show
  1. package/README.md +41 -20
  2. package/dist/metafile-esm.json +1 -1
  3. package/dist/mws.js +40120 -20116
  4. package/dist/mws.js.map +1 -1
  5. package/mws.run.mjs +28 -8
  6. package/package.json +20 -33
  7. package/plugins/client/plugin.info +1 -1
  8. package/plugins/client/src/multiwikiclientadaptor.ts +6 -34
  9. package/plugins/client/src/mws.d.ts +2 -1
  10. package/plugins/client/src/new-multiwikiclientadaptor.ts +634 -0
  11. package/plugins/client/src/types.d.ts +2531 -1036
  12. package/plugins/client/tiddlers/managetiddleraction.js +0 -5
  13. package/plugins/client/tiddlers/syncer/new-multiwikiclientadaptor.js +432 -0
  14. package/plugins/client/tiddlers/syncer/syncer.js +123 -241
  15. package/plugins/client/tsconfig.json +5 -1
  16. package/prisma/browser.ts +2 -0
  17. package/prisma/client/browser.ts +84 -0
  18. package/prisma/client/client.ts +108 -0
  19. package/prisma/client/commonInputTypes.ts +598 -0
  20. package/prisma/client/enums.ts +42 -0
  21. package/prisma/client/internal/class.ts +326 -0
  22. package/prisma/client/internal/prismaNamespace.ts +1870 -0
  23. package/prisma/client/internal/prismaNamespaceBrowser.ts +259 -0
  24. package/prisma/client/models/Bag.ts +1701 -0
  25. package/prisma/client/models/BagPermission.ts +1284 -0
  26. package/prisma/client/models/Recipe.ts +1722 -0
  27. package/prisma/client/models/RecipeBag.ts +1518 -0
  28. package/prisma/client/models/RecipePermission.ts +1284 -0
  29. package/prisma/client/models/Roles.ts +1316 -0
  30. package/prisma/client/models/Sessions.ts +1344 -0
  31. package/prisma/client/models/Settings.ts +1093 -0
  32. package/prisma/client/models/Template.ts +1477 -0
  33. package/prisma/client/models/TemplatePermission.ts +1284 -0
  34. package/prisma/client/models/Tiddler.ts +1434 -0
  35. package/prisma/client/models/TiddlerEvent.ts +1360 -0
  36. package/prisma/client/models/Users.ts +1579 -0
  37. package/prisma/client/models.ts +24 -0
  38. package/prisma/client/pjtg.ts +183 -0
  39. package/prisma/index.ts +74 -0
  40. package/prisma/migrations/20260708160259_init/migration.sql +172 -0
  41. package/prisma/migrations-v1/migration_lock.toml +3 -0
  42. package/prisma/package.json +12 -0
  43. package/prisma/schema.prisma +147 -89
  44. package/prisma/types.ts +9 -0
  45. package/public/.default.html +1 -0
  46. package/public/admin-vanilla/fish.svg +399 -0
  47. package/public/admin-vanilla/fish2.svg +389 -0
  48. package/public/admin-vanilla/main-64WYHWYI.js +1791 -0
  49. package/public/admin-vanilla/main-64WYHWYI.js.map +7 -0
  50. package/public/admin-vanilla/main-LYDE4NDJ.css +1 -0
  51. package/public/admin-vanilla/normalize.css +349 -0
  52. package/public/admin-vanilla/polyfill-ADOI2A4V.js +2 -0
  53. package/public/admin-vanilla/polyfill-ADOI2A4V.js.map +7 -0
  54. package/public/{react-admin → admin-vanilla}/site.webmanifest +1 -1
  55. package/public/admin-vanilla.html +62 -0
  56. package/public/admin-vanilla.json +1 -0
  57. package/public/{react-admin → stats}/stats.html +5 -2
  58. package/public/{react-admin → stats}/stats.js +2 -1
  59. package/scripts/build-docs.sh +30 -0
  60. package/scripts/helpers.mjs +107 -0
  61. package/scripts/json.js +8 -0
  62. package/scripts/scripts.mjs +114 -0
  63. package/prisma/client/client.d.ts +0 -1
  64. package/prisma/client/client.js +0 -3
  65. package/prisma/client/default.d.ts +0 -1
  66. package/prisma/client/default.js +0 -3
  67. package/prisma/client/edge.d.ts +0 -1
  68. package/prisma/client/edge.js +0 -297
  69. package/prisma/client/index-browser.js +0 -275
  70. package/prisma/client/index.d.ts +0 -17770
  71. package/prisma/client/index.js +0 -324
  72. package/prisma/client/package.json +0 -173
  73. package/prisma/client/query_engine_bg.js +0 -811
  74. package/prisma/client/query_engine_bg.wasm +0 -0
  75. package/prisma/client/runtime/edge-esm.js +0 -10000
  76. package/prisma/client/runtime/edge.js +0 -10036
  77. package/prisma/client/runtime/index-browser.d.ts +0 -370
  78. package/prisma/client/runtime/index-browser.js +0 -2300
  79. package/prisma/client/runtime/library.d.ts +0 -3681
  80. package/prisma/client/runtime/library.js +0 -10604
  81. package/prisma/client/runtime/react-native.js +0 -10629
  82. package/prisma/client/runtime/wasm-compiler-edge.js +0 -11238
  83. package/prisma/client/runtime/wasm-engine-edge.js +0 -7801
  84. package/prisma/client/schema.prisma +0 -156
  85. package/prisma/client/wasm-edge-light-loader.mjs +0 -4
  86. package/prisma/client/wasm-worker-loader.mjs +0 -4
  87. package/prisma/client/wasm.d.ts +0 -1
  88. package/prisma/client/wasm.js +0 -304
  89. package/prisma/global.ts +0 -53
  90. package/public/react-admin/chunk-YALWN5OT.js +0 -2
  91. package/public/react-admin/esm-L4WLVWJN.js +0 -3
  92. package/public/react-admin/esm-L4WLVWJN.js.map +0 -7
  93. package/public/react-admin/esm-QMNGI3LF.js +0 -3
  94. package/public/react-admin/esm-QMNGI3LF.js.map +0 -7
  95. package/public/react-admin/index.html +0 -36
  96. package/public/react-admin/main.js +0 -268
  97. package/public/react-admin/main.js.map +0 -7
  98. package/public/react-admin/stats.json +0 -1
  99. package/scripts.mjs +0 -142
  100. /package/prisma/{migrations → migrations-v1}/20250606001949_init/migration.sql +0 -0
  101. /package/prisma/{migrations → migrations-v1}/20250613000526_remove_group/migration.sql +0 -0
  102. /package/prisma/{migrations → migrations-v1}/20250620014502_settings/migration.sql +0 -0
  103. /package/prisma/{migrations → migrations-v1}/20250707205229_recipes/migration.sql +0 -0
  104. /package/public/{react-admin → admin-vanilla}/android-chrome-192x192.png +0 -0
  105. /package/public/{react-admin → admin-vanilla}/android-chrome-512x512.png +0 -0
  106. /package/public/{react-admin → admin-vanilla}/apple-touch-icon.png +0 -0
  107. /package/public/{react-admin → admin-vanilla}/favicon-16x16.png +0 -0
  108. /package/public/{react-admin → admin-vanilla}/favicon-32x32.png +0 -0
  109. /package/public/{react-admin → admin-vanilla}/favicon.ico +0 -0
  110. /package/public/{react-admin → admin-vanilla}/favicon.png +0 -0
  111. /package/public/{react-admin/chunk-YALWN5OT.js.map → admin-vanilla/main-LYDE4NDJ.css.map} +0 -0
  112. /package/public/{react-admin → admin-vanilla}/missing-favicon.png +0 -0
  113. /package/public/{react-admin → admin-vanilla}/motovun-jack.jpg +0 -0
  114. /package/public/{react-admin → admin-vanilla}/mws-icon.png +0 -0
  115. /package/public/{react-admin → admin-vanilla}/vite.svg +0 -0
  116. /package/public/{react-admin → stats}/stats.css +0 -0
  117. /package/public/{react-admin → stats}/stats.svg +0 -0
@@ -0,0 +1,1870 @@
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
+ * WARNING: This is an internal file that is subject to change!
8
+ *
9
+ * 🛑 Under no circumstances should you import this file directly! 🛑
10
+ *
11
+ * All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file.
12
+ * While this enables partial backward compatibility, it is not part of the stable public API.
13
+ *
14
+ * If you are looking for your Models, Enums, and Input Types, please import them from the respective
15
+ * model files in the `model` directory!
16
+ */
17
+
18
+ import * as runtime from "@prisma/client/runtime/client"
19
+ import type * as Prisma from "../models.ts"
20
+ import { type PrismaClient } from "./class.ts"
21
+
22
+ export type * from '../models.ts'
23
+
24
+ export type DMMF = typeof runtime.DMMF
25
+
26
+ export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>
27
+
28
+ /**
29
+ * Prisma Errors
30
+ */
31
+
32
+ export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
33
+ export type PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
34
+
35
+ export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
36
+ export type PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
37
+
38
+ export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
39
+ export type PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
40
+
41
+ export const PrismaClientInitializationError = runtime.PrismaClientInitializationError
42
+ export type PrismaClientInitializationError = runtime.PrismaClientInitializationError
43
+
44
+ export const PrismaClientValidationError = runtime.PrismaClientValidationError
45
+ export type PrismaClientValidationError = runtime.PrismaClientValidationError
46
+
47
+ /**
48
+ * Re-export of sql-template-tag
49
+ */
50
+ export const sql = runtime.sqltag
51
+ export const empty = runtime.empty
52
+ export const join = runtime.join
53
+ export const raw = runtime.raw
54
+ export const Sql = runtime.Sql
55
+ export type Sql = runtime.Sql
56
+
57
+
58
+
59
+ /**
60
+ * Decimal.js
61
+ */
62
+ export const Decimal = runtime.Decimal
63
+ export type Decimal = runtime.Decimal
64
+
65
+ export type DecimalJsLike = runtime.DecimalJsLike
66
+
67
+ /**
68
+ * Extensions
69
+ */
70
+ export type Extension = runtime.Types.Extensions.UserArgs
71
+ export const getExtensionContext = runtime.Extensions.getExtensionContext
72
+ export type Args<T, F extends runtime.Operation> = runtime.Types.Public.Args<T, F>
73
+ export type Payload<T, F extends runtime.Operation = never> = runtime.Types.Public.Payload<T, F>
74
+ export type Result<T, A, F extends runtime.Operation> = runtime.Types.Public.Result<T, A, F>
75
+ export type Exact<A, W> = runtime.Types.Public.Exact<A, W>
76
+
77
+ export type PrismaVersion = {
78
+ client: string
79
+ engine: string
80
+ }
81
+
82
+ /**
83
+ * Prisma Client JS version: 7.8.0
84
+ * Query Engine version: 3c6e192761c0362d496ed980de936e2f3cebcd3a
85
+ */
86
+ export const prismaVersion: PrismaVersion = {
87
+ client: "7.8.0",
88
+ engine: "3c6e192761c0362d496ed980de936e2f3cebcd3a"
89
+ }
90
+
91
+ /**
92
+ * Utility Types
93
+ */
94
+
95
+ export type Bytes = runtime.Bytes
96
+ export type JsonObject = runtime.JsonObject
97
+ export type JsonArray = runtime.JsonArray
98
+ export type JsonValue = runtime.JsonValue
99
+ export type InputJsonObject = runtime.InputJsonObject
100
+ export type InputJsonArray = runtime.InputJsonArray
101
+ export type InputJsonValue = runtime.InputJsonValue
102
+
103
+
104
+ export const NullTypes = {
105
+ DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
106
+ JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
107
+ AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
108
+ }
109
+ /**
110
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
111
+ *
112
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
113
+ */
114
+ export const DbNull = runtime.DbNull
115
+
116
+ /**
117
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
118
+ *
119
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
120
+ */
121
+ export const JsonNull = runtime.JsonNull
122
+
123
+ /**
124
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
125
+ *
126
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
127
+ */
128
+ export const AnyNull = runtime.AnyNull
129
+
130
+
131
+ type SelectAndInclude = {
132
+ select: any
133
+ include: any
134
+ }
135
+
136
+ type SelectAndOmit = {
137
+ select: any
138
+ omit: any
139
+ }
140
+
141
+ /**
142
+ * From T, pick a set of properties whose keys are in the union K
143
+ */
144
+ type Prisma__Pick<T, K extends keyof T> = {
145
+ [P in K]: T[P];
146
+ };
147
+
148
+ export type Enumerable<T> = T | Array<T>;
149
+
150
+ /**
151
+ * Subset
152
+ * @desc From `T` pick properties that exist in `U`. Simple version of Intersection
153
+ */
154
+ export type Subset<T, U> = {
155
+ [key in keyof T]: key extends keyof U ? T[key] : never;
156
+ };
157
+
158
+ /**
159
+ * SelectSubset
160
+ * @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
161
+ * Additionally, it validates, if both select and include are present. If the case, it errors.
162
+ */
163
+ export type SelectSubset<T, U> = {
164
+ [key in keyof T]: key extends keyof U ? T[key] : never
165
+ } &
166
+ (T extends SelectAndInclude
167
+ ? 'Please either choose `select` or `include`.'
168
+ : T extends SelectAndOmit
169
+ ? 'Please either choose `select` or `omit`.'
170
+ : {})
171
+
172
+ /**
173
+ * Subset + Intersection
174
+ * @desc From `T` pick properties that exist in `U` and intersect `K`
175
+ */
176
+ export type SubsetIntersection<T, U, K> = {
177
+ [key in keyof T]: key extends keyof U ? T[key] : never
178
+ } &
179
+ K
180
+
181
+ type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
182
+
183
+ /**
184
+ * XOR is needed to have a real mutually exclusive union type
185
+ * https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
186
+ */
187
+ export type XOR<T, U> =
188
+ T extends object ?
189
+ U extends object ?
190
+ (Without<T, U> & U) | (Without<U, T> & T)
191
+ : U : T
192
+
193
+
194
+ /**
195
+ * Is T a Record?
196
+ */
197
+ type IsObject<T extends any> = T extends Array<any>
198
+ ? False
199
+ : T extends Date
200
+ ? False
201
+ : T extends Uint8Array
202
+ ? False
203
+ : T extends BigInt
204
+ ? False
205
+ : T extends object
206
+ ? True
207
+ : False
208
+
209
+
210
+ /**
211
+ * If it's T[], return T
212
+ */
213
+ export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T
214
+
215
+ /**
216
+ * From ts-toolbelt
217
+ */
218
+
219
+ type __Either<O extends object, K extends Key> = Omit<O, K> &
220
+ {
221
+ // Merge all but K
222
+ [P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
223
+ }[K]
224
+
225
+ type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
226
+
227
+ type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
228
+
229
+ type _Either<
230
+ O extends object,
231
+ K extends Key,
232
+ strict extends Boolean
233
+ > = {
234
+ 1: EitherStrict<O, K>
235
+ 0: EitherLoose<O, K>
236
+ }[strict]
237
+
238
+ export type Either<
239
+ O extends object,
240
+ K extends Key,
241
+ strict extends Boolean = 1
242
+ > = O extends unknown ? _Either<O, K, strict> : never
243
+
244
+ export type Union = any
245
+
246
+ export type PatchUndefined<O extends object, O1 extends object> = {
247
+ [K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
248
+ } & {}
249
+
250
+ /** Helper Types for "Merge" **/
251
+ export type IntersectOf<U extends Union> = (
252
+ U extends unknown ? (k: U) => void : never
253
+ ) extends (k: infer I) => void
254
+ ? I
255
+ : never
256
+
257
+ export type Overwrite<O extends object, O1 extends object> = {
258
+ [K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
259
+ } & {};
260
+
261
+ type _Merge<U extends object> = IntersectOf<Overwrite<U, {
262
+ [K in keyof U]-?: At<U, K>;
263
+ }>>;
264
+
265
+ type Key = string | number | symbol;
266
+ type AtStrict<O extends object, K extends Key> = O[K & keyof O];
267
+ type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
268
+ export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
269
+ 1: AtStrict<O, K>;
270
+ 0: AtLoose<O, K>;
271
+ }[strict];
272
+
273
+ export type ComputeRaw<A extends any> = A extends Function ? A : {
274
+ [K in keyof A]: A[K];
275
+ } & {};
276
+
277
+ export type OptionalFlat<O> = {
278
+ [K in keyof O]?: O[K];
279
+ } & {};
280
+
281
+ type _Record<K extends keyof any, T> = {
282
+ [P in K]: T;
283
+ };
284
+
285
+ // cause typescript not to expand types and preserve names
286
+ type NoExpand<T> = T extends unknown ? T : never;
287
+
288
+ // this type assumes the passed object is entirely optional
289
+ export type AtLeast<O extends object, K extends string> = NoExpand<
290
+ O extends unknown
291
+ ? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
292
+ | {[P in keyof O as P extends K ? P : never]-?: O[P]} & O
293
+ : never>;
294
+
295
+ type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
296
+
297
+ export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
298
+ /** End Helper Types for "Merge" **/
299
+
300
+ export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
301
+
302
+ export type Boolean = True | False
303
+
304
+ export type True = 1
305
+
306
+ export type False = 0
307
+
308
+ export type Not<B extends Boolean> = {
309
+ 0: 1
310
+ 1: 0
311
+ }[B]
312
+
313
+ export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
314
+ ? 0 // anything `never` is false
315
+ : A1 extends A2
316
+ ? 1
317
+ : 0
318
+
319
+ export type Has<U extends Union, U1 extends Union> = Not<
320
+ Extends<Exclude<U1, U>, U1>
321
+ >
322
+
323
+ export type Or<B1 extends Boolean, B2 extends Boolean> = {
324
+ 0: {
325
+ 0: 0
326
+ 1: 1
327
+ }
328
+ 1: {
329
+ 0: 1
330
+ 1: 1
331
+ }
332
+ }[B1][B2]
333
+
334
+ export type Keys<U extends Union> = U extends unknown ? keyof U : never
335
+
336
+ export type GetScalarType<T, O> = O extends object ? {
337
+ [P in keyof T]: P extends keyof O
338
+ ? O[P]
339
+ : never
340
+ } : never
341
+
342
+ type FieldPaths<
343
+ T,
344
+ U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
345
+ > = IsObject<T> extends True ? U : T
346
+
347
+ export type GetHavingFields<T> = {
348
+ [K in keyof T]: Or<
349
+ Or<Extends<'OR', K>, Extends<'AND', K>>,
350
+ Extends<'NOT', K>
351
+ > extends True
352
+ ? // infer is only needed to not hit TS limit
353
+ // based on the brilliant idea of Pierre-Antoine Mills
354
+ // https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
355
+ T[K] extends infer TK
356
+ ? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
357
+ : never
358
+ : {} extends FieldPaths<T[K]>
359
+ ? never
360
+ : K
361
+ }[keyof T]
362
+
363
+ /**
364
+ * Convert tuple to union
365
+ */
366
+ type _TupleToUnion<T> = T extends (infer E)[] ? E : never
367
+ type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
368
+ export type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
369
+
370
+ /**
371
+ * Like `Pick`, but additionally can also accept an array of keys
372
+ */
373
+ export type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
374
+
375
+ /**
376
+ * Exclude all keys with underscores
377
+ */
378
+ export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
379
+
380
+
381
+ export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
382
+
383
+ type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
384
+
385
+
386
+ export const ModelName = {
387
+ Bag: 'Bag',
388
+ BagPermission: 'BagPermission',
389
+ Tiddler: 'Tiddler',
390
+ TiddlerEvent: 'TiddlerEvent',
391
+ Template: 'Template',
392
+ TemplatePermission: 'TemplatePermission',
393
+ Recipe: 'Recipe',
394
+ RecipePermission: 'RecipePermission',
395
+ RecipeBag: 'RecipeBag',
396
+ Settings: 'Settings',
397
+ Roles: 'Roles',
398
+ Users: 'Users',
399
+ Sessions: 'Sessions'
400
+ } as const
401
+
402
+ export type ModelName = (typeof ModelName)[keyof typeof ModelName]
403
+
404
+
405
+
406
+ export interface TypeMapCb<GlobalOmitOptions = {}> extends runtime.Types.Utils.Fn<{extArgs: runtime.Types.Extensions.InternalArgs }, runtime.Types.Utils.Record<string, any>> {
407
+ returns: TypeMap<this['params']['extArgs'], GlobalOmitOptions>
408
+ }
409
+
410
+ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
411
+ globalOmitOptions: {
412
+ omit: GlobalOmitOptions
413
+ }
414
+ meta: {
415
+ modelProps: "bag" | "bagPermission" | "tiddler" | "tiddlerEvent" | "template" | "templatePermission" | "recipe" | "recipePermission" | "recipeBag" | "settings" | "roles" | "users" | "sessions"
416
+ txIsolationLevel: TransactionIsolationLevel
417
+ }
418
+ model: {
419
+ Bag: {
420
+ payload: Prisma.$BagPayload<ExtArgs>
421
+ fields: Prisma.BagFieldRefs
422
+ operations: {
423
+ findUnique: {
424
+ args: Prisma.BagFindUniqueArgs<ExtArgs>
425
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload> | null
426
+ }
427
+ findUniqueOrThrow: {
428
+ args: Prisma.BagFindUniqueOrThrowArgs<ExtArgs>
429
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload>
430
+ }
431
+ findFirst: {
432
+ args: Prisma.BagFindFirstArgs<ExtArgs>
433
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload> | null
434
+ }
435
+ findFirstOrThrow: {
436
+ args: Prisma.BagFindFirstOrThrowArgs<ExtArgs>
437
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload>
438
+ }
439
+ findMany: {
440
+ args: Prisma.BagFindManyArgs<ExtArgs>
441
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload>[]
442
+ }
443
+ create: {
444
+ args: Prisma.BagCreateArgs<ExtArgs>
445
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload>
446
+ }
447
+ createMany: {
448
+ args: Prisma.BagCreateManyArgs<ExtArgs>
449
+ result: BatchPayload
450
+ }
451
+ createManyAndReturn: {
452
+ args: Prisma.BagCreateManyAndReturnArgs<ExtArgs>
453
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload>[]
454
+ }
455
+ delete: {
456
+ args: Prisma.BagDeleteArgs<ExtArgs>
457
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload>
458
+ }
459
+ update: {
460
+ args: Prisma.BagUpdateArgs<ExtArgs>
461
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload>
462
+ }
463
+ deleteMany: {
464
+ args: Prisma.BagDeleteManyArgs<ExtArgs>
465
+ result: BatchPayload
466
+ }
467
+ updateMany: {
468
+ args: Prisma.BagUpdateManyArgs<ExtArgs>
469
+ result: BatchPayload
470
+ }
471
+ updateManyAndReturn: {
472
+ args: Prisma.BagUpdateManyAndReturnArgs<ExtArgs>
473
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload>[]
474
+ }
475
+ upsert: {
476
+ args: Prisma.BagUpsertArgs<ExtArgs>
477
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPayload>
478
+ }
479
+ aggregate: {
480
+ args: Prisma.BagAggregateArgs<ExtArgs>
481
+ result: runtime.Types.Utils.Optional<Prisma.AggregateBag>
482
+ }
483
+ groupBy: {
484
+ args: Prisma.BagGroupByArgs<ExtArgs>
485
+ result: runtime.Types.Utils.Optional<Prisma.BagGroupByOutputType>[]
486
+ }
487
+ count: {
488
+ args: Prisma.BagCountArgs<ExtArgs>
489
+ result: runtime.Types.Utils.Optional<Prisma.BagCountAggregateOutputType> | number
490
+ }
491
+ }
492
+ }
493
+ BagPermission: {
494
+ payload: Prisma.$BagPermissionPayload<ExtArgs>
495
+ fields: Prisma.BagPermissionFieldRefs
496
+ operations: {
497
+ findUnique: {
498
+ args: Prisma.BagPermissionFindUniqueArgs<ExtArgs>
499
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload> | null
500
+ }
501
+ findUniqueOrThrow: {
502
+ args: Prisma.BagPermissionFindUniqueOrThrowArgs<ExtArgs>
503
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload>
504
+ }
505
+ findFirst: {
506
+ args: Prisma.BagPermissionFindFirstArgs<ExtArgs>
507
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload> | null
508
+ }
509
+ findFirstOrThrow: {
510
+ args: Prisma.BagPermissionFindFirstOrThrowArgs<ExtArgs>
511
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload>
512
+ }
513
+ findMany: {
514
+ args: Prisma.BagPermissionFindManyArgs<ExtArgs>
515
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload>[]
516
+ }
517
+ create: {
518
+ args: Prisma.BagPermissionCreateArgs<ExtArgs>
519
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload>
520
+ }
521
+ createMany: {
522
+ args: Prisma.BagPermissionCreateManyArgs<ExtArgs>
523
+ result: BatchPayload
524
+ }
525
+ createManyAndReturn: {
526
+ args: Prisma.BagPermissionCreateManyAndReturnArgs<ExtArgs>
527
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload>[]
528
+ }
529
+ delete: {
530
+ args: Prisma.BagPermissionDeleteArgs<ExtArgs>
531
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload>
532
+ }
533
+ update: {
534
+ args: Prisma.BagPermissionUpdateArgs<ExtArgs>
535
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload>
536
+ }
537
+ deleteMany: {
538
+ args: Prisma.BagPermissionDeleteManyArgs<ExtArgs>
539
+ result: BatchPayload
540
+ }
541
+ updateMany: {
542
+ args: Prisma.BagPermissionUpdateManyArgs<ExtArgs>
543
+ result: BatchPayload
544
+ }
545
+ updateManyAndReturn: {
546
+ args: Prisma.BagPermissionUpdateManyAndReturnArgs<ExtArgs>
547
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload>[]
548
+ }
549
+ upsert: {
550
+ args: Prisma.BagPermissionUpsertArgs<ExtArgs>
551
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$BagPermissionPayload>
552
+ }
553
+ aggregate: {
554
+ args: Prisma.BagPermissionAggregateArgs<ExtArgs>
555
+ result: runtime.Types.Utils.Optional<Prisma.AggregateBagPermission>
556
+ }
557
+ groupBy: {
558
+ args: Prisma.BagPermissionGroupByArgs<ExtArgs>
559
+ result: runtime.Types.Utils.Optional<Prisma.BagPermissionGroupByOutputType>[]
560
+ }
561
+ count: {
562
+ args: Prisma.BagPermissionCountArgs<ExtArgs>
563
+ result: runtime.Types.Utils.Optional<Prisma.BagPermissionCountAggregateOutputType> | number
564
+ }
565
+ }
566
+ }
567
+ Tiddler: {
568
+ payload: Prisma.$TiddlerPayload<ExtArgs>
569
+ fields: Prisma.TiddlerFieldRefs
570
+ operations: {
571
+ findUnique: {
572
+ args: Prisma.TiddlerFindUniqueArgs<ExtArgs>
573
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload> | null
574
+ }
575
+ findUniqueOrThrow: {
576
+ args: Prisma.TiddlerFindUniqueOrThrowArgs<ExtArgs>
577
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload>
578
+ }
579
+ findFirst: {
580
+ args: Prisma.TiddlerFindFirstArgs<ExtArgs>
581
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload> | null
582
+ }
583
+ findFirstOrThrow: {
584
+ args: Prisma.TiddlerFindFirstOrThrowArgs<ExtArgs>
585
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload>
586
+ }
587
+ findMany: {
588
+ args: Prisma.TiddlerFindManyArgs<ExtArgs>
589
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload>[]
590
+ }
591
+ create: {
592
+ args: Prisma.TiddlerCreateArgs<ExtArgs>
593
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload>
594
+ }
595
+ createMany: {
596
+ args: Prisma.TiddlerCreateManyArgs<ExtArgs>
597
+ result: BatchPayload
598
+ }
599
+ createManyAndReturn: {
600
+ args: Prisma.TiddlerCreateManyAndReturnArgs<ExtArgs>
601
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload>[]
602
+ }
603
+ delete: {
604
+ args: Prisma.TiddlerDeleteArgs<ExtArgs>
605
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload>
606
+ }
607
+ update: {
608
+ args: Prisma.TiddlerUpdateArgs<ExtArgs>
609
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload>
610
+ }
611
+ deleteMany: {
612
+ args: Prisma.TiddlerDeleteManyArgs<ExtArgs>
613
+ result: BatchPayload
614
+ }
615
+ updateMany: {
616
+ args: Prisma.TiddlerUpdateManyArgs<ExtArgs>
617
+ result: BatchPayload
618
+ }
619
+ updateManyAndReturn: {
620
+ args: Prisma.TiddlerUpdateManyAndReturnArgs<ExtArgs>
621
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload>[]
622
+ }
623
+ upsert: {
624
+ args: Prisma.TiddlerUpsertArgs<ExtArgs>
625
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerPayload>
626
+ }
627
+ aggregate: {
628
+ args: Prisma.TiddlerAggregateArgs<ExtArgs>
629
+ result: runtime.Types.Utils.Optional<Prisma.AggregateTiddler>
630
+ }
631
+ groupBy: {
632
+ args: Prisma.TiddlerGroupByArgs<ExtArgs>
633
+ result: runtime.Types.Utils.Optional<Prisma.TiddlerGroupByOutputType>[]
634
+ }
635
+ count: {
636
+ args: Prisma.TiddlerCountArgs<ExtArgs>
637
+ result: runtime.Types.Utils.Optional<Prisma.TiddlerCountAggregateOutputType> | number
638
+ }
639
+ }
640
+ }
641
+ TiddlerEvent: {
642
+ payload: Prisma.$TiddlerEventPayload<ExtArgs>
643
+ fields: Prisma.TiddlerEventFieldRefs
644
+ operations: {
645
+ findUnique: {
646
+ args: Prisma.TiddlerEventFindUniqueArgs<ExtArgs>
647
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload> | null
648
+ }
649
+ findUniqueOrThrow: {
650
+ args: Prisma.TiddlerEventFindUniqueOrThrowArgs<ExtArgs>
651
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload>
652
+ }
653
+ findFirst: {
654
+ args: Prisma.TiddlerEventFindFirstArgs<ExtArgs>
655
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload> | null
656
+ }
657
+ findFirstOrThrow: {
658
+ args: Prisma.TiddlerEventFindFirstOrThrowArgs<ExtArgs>
659
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload>
660
+ }
661
+ findMany: {
662
+ args: Prisma.TiddlerEventFindManyArgs<ExtArgs>
663
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload>[]
664
+ }
665
+ create: {
666
+ args: Prisma.TiddlerEventCreateArgs<ExtArgs>
667
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload>
668
+ }
669
+ createMany: {
670
+ args: Prisma.TiddlerEventCreateManyArgs<ExtArgs>
671
+ result: BatchPayload
672
+ }
673
+ createManyAndReturn: {
674
+ args: Prisma.TiddlerEventCreateManyAndReturnArgs<ExtArgs>
675
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload>[]
676
+ }
677
+ delete: {
678
+ args: Prisma.TiddlerEventDeleteArgs<ExtArgs>
679
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload>
680
+ }
681
+ update: {
682
+ args: Prisma.TiddlerEventUpdateArgs<ExtArgs>
683
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload>
684
+ }
685
+ deleteMany: {
686
+ args: Prisma.TiddlerEventDeleteManyArgs<ExtArgs>
687
+ result: BatchPayload
688
+ }
689
+ updateMany: {
690
+ args: Prisma.TiddlerEventUpdateManyArgs<ExtArgs>
691
+ result: BatchPayload
692
+ }
693
+ updateManyAndReturn: {
694
+ args: Prisma.TiddlerEventUpdateManyAndReturnArgs<ExtArgs>
695
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload>[]
696
+ }
697
+ upsert: {
698
+ args: Prisma.TiddlerEventUpsertArgs<ExtArgs>
699
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TiddlerEventPayload>
700
+ }
701
+ aggregate: {
702
+ args: Prisma.TiddlerEventAggregateArgs<ExtArgs>
703
+ result: runtime.Types.Utils.Optional<Prisma.AggregateTiddlerEvent>
704
+ }
705
+ groupBy: {
706
+ args: Prisma.TiddlerEventGroupByArgs<ExtArgs>
707
+ result: runtime.Types.Utils.Optional<Prisma.TiddlerEventGroupByOutputType>[]
708
+ }
709
+ count: {
710
+ args: Prisma.TiddlerEventCountArgs<ExtArgs>
711
+ result: runtime.Types.Utils.Optional<Prisma.TiddlerEventCountAggregateOutputType> | number
712
+ }
713
+ }
714
+ }
715
+ Template: {
716
+ payload: Prisma.$TemplatePayload<ExtArgs>
717
+ fields: Prisma.TemplateFieldRefs
718
+ operations: {
719
+ findUnique: {
720
+ args: Prisma.TemplateFindUniqueArgs<ExtArgs>
721
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload> | null
722
+ }
723
+ findUniqueOrThrow: {
724
+ args: Prisma.TemplateFindUniqueOrThrowArgs<ExtArgs>
725
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload>
726
+ }
727
+ findFirst: {
728
+ args: Prisma.TemplateFindFirstArgs<ExtArgs>
729
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload> | null
730
+ }
731
+ findFirstOrThrow: {
732
+ args: Prisma.TemplateFindFirstOrThrowArgs<ExtArgs>
733
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload>
734
+ }
735
+ findMany: {
736
+ args: Prisma.TemplateFindManyArgs<ExtArgs>
737
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload>[]
738
+ }
739
+ create: {
740
+ args: Prisma.TemplateCreateArgs<ExtArgs>
741
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload>
742
+ }
743
+ createMany: {
744
+ args: Prisma.TemplateCreateManyArgs<ExtArgs>
745
+ result: BatchPayload
746
+ }
747
+ createManyAndReturn: {
748
+ args: Prisma.TemplateCreateManyAndReturnArgs<ExtArgs>
749
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload>[]
750
+ }
751
+ delete: {
752
+ args: Prisma.TemplateDeleteArgs<ExtArgs>
753
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload>
754
+ }
755
+ update: {
756
+ args: Prisma.TemplateUpdateArgs<ExtArgs>
757
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload>
758
+ }
759
+ deleteMany: {
760
+ args: Prisma.TemplateDeleteManyArgs<ExtArgs>
761
+ result: BatchPayload
762
+ }
763
+ updateMany: {
764
+ args: Prisma.TemplateUpdateManyArgs<ExtArgs>
765
+ result: BatchPayload
766
+ }
767
+ updateManyAndReturn: {
768
+ args: Prisma.TemplateUpdateManyAndReturnArgs<ExtArgs>
769
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload>[]
770
+ }
771
+ upsert: {
772
+ args: Prisma.TemplateUpsertArgs<ExtArgs>
773
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePayload>
774
+ }
775
+ aggregate: {
776
+ args: Prisma.TemplateAggregateArgs<ExtArgs>
777
+ result: runtime.Types.Utils.Optional<Prisma.AggregateTemplate>
778
+ }
779
+ groupBy: {
780
+ args: Prisma.TemplateGroupByArgs<ExtArgs>
781
+ result: runtime.Types.Utils.Optional<Prisma.TemplateGroupByOutputType>[]
782
+ }
783
+ count: {
784
+ args: Prisma.TemplateCountArgs<ExtArgs>
785
+ result: runtime.Types.Utils.Optional<Prisma.TemplateCountAggregateOutputType> | number
786
+ }
787
+ }
788
+ }
789
+ TemplatePermission: {
790
+ payload: Prisma.$TemplatePermissionPayload<ExtArgs>
791
+ fields: Prisma.TemplatePermissionFieldRefs
792
+ operations: {
793
+ findUnique: {
794
+ args: Prisma.TemplatePermissionFindUniqueArgs<ExtArgs>
795
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload> | null
796
+ }
797
+ findUniqueOrThrow: {
798
+ args: Prisma.TemplatePermissionFindUniqueOrThrowArgs<ExtArgs>
799
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload>
800
+ }
801
+ findFirst: {
802
+ args: Prisma.TemplatePermissionFindFirstArgs<ExtArgs>
803
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload> | null
804
+ }
805
+ findFirstOrThrow: {
806
+ args: Prisma.TemplatePermissionFindFirstOrThrowArgs<ExtArgs>
807
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload>
808
+ }
809
+ findMany: {
810
+ args: Prisma.TemplatePermissionFindManyArgs<ExtArgs>
811
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload>[]
812
+ }
813
+ create: {
814
+ args: Prisma.TemplatePermissionCreateArgs<ExtArgs>
815
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload>
816
+ }
817
+ createMany: {
818
+ args: Prisma.TemplatePermissionCreateManyArgs<ExtArgs>
819
+ result: BatchPayload
820
+ }
821
+ createManyAndReturn: {
822
+ args: Prisma.TemplatePermissionCreateManyAndReturnArgs<ExtArgs>
823
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload>[]
824
+ }
825
+ delete: {
826
+ args: Prisma.TemplatePermissionDeleteArgs<ExtArgs>
827
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload>
828
+ }
829
+ update: {
830
+ args: Prisma.TemplatePermissionUpdateArgs<ExtArgs>
831
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload>
832
+ }
833
+ deleteMany: {
834
+ args: Prisma.TemplatePermissionDeleteManyArgs<ExtArgs>
835
+ result: BatchPayload
836
+ }
837
+ updateMany: {
838
+ args: Prisma.TemplatePermissionUpdateManyArgs<ExtArgs>
839
+ result: BatchPayload
840
+ }
841
+ updateManyAndReturn: {
842
+ args: Prisma.TemplatePermissionUpdateManyAndReturnArgs<ExtArgs>
843
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload>[]
844
+ }
845
+ upsert: {
846
+ args: Prisma.TemplatePermissionUpsertArgs<ExtArgs>
847
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$TemplatePermissionPayload>
848
+ }
849
+ aggregate: {
850
+ args: Prisma.TemplatePermissionAggregateArgs<ExtArgs>
851
+ result: runtime.Types.Utils.Optional<Prisma.AggregateTemplatePermission>
852
+ }
853
+ groupBy: {
854
+ args: Prisma.TemplatePermissionGroupByArgs<ExtArgs>
855
+ result: runtime.Types.Utils.Optional<Prisma.TemplatePermissionGroupByOutputType>[]
856
+ }
857
+ count: {
858
+ args: Prisma.TemplatePermissionCountArgs<ExtArgs>
859
+ result: runtime.Types.Utils.Optional<Prisma.TemplatePermissionCountAggregateOutputType> | number
860
+ }
861
+ }
862
+ }
863
+ Recipe: {
864
+ payload: Prisma.$RecipePayload<ExtArgs>
865
+ fields: Prisma.RecipeFieldRefs
866
+ operations: {
867
+ findUnique: {
868
+ args: Prisma.RecipeFindUniqueArgs<ExtArgs>
869
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload> | null
870
+ }
871
+ findUniqueOrThrow: {
872
+ args: Prisma.RecipeFindUniqueOrThrowArgs<ExtArgs>
873
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload>
874
+ }
875
+ findFirst: {
876
+ args: Prisma.RecipeFindFirstArgs<ExtArgs>
877
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload> | null
878
+ }
879
+ findFirstOrThrow: {
880
+ args: Prisma.RecipeFindFirstOrThrowArgs<ExtArgs>
881
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload>
882
+ }
883
+ findMany: {
884
+ args: Prisma.RecipeFindManyArgs<ExtArgs>
885
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload>[]
886
+ }
887
+ create: {
888
+ args: Prisma.RecipeCreateArgs<ExtArgs>
889
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload>
890
+ }
891
+ createMany: {
892
+ args: Prisma.RecipeCreateManyArgs<ExtArgs>
893
+ result: BatchPayload
894
+ }
895
+ createManyAndReturn: {
896
+ args: Prisma.RecipeCreateManyAndReturnArgs<ExtArgs>
897
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload>[]
898
+ }
899
+ delete: {
900
+ args: Prisma.RecipeDeleteArgs<ExtArgs>
901
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload>
902
+ }
903
+ update: {
904
+ args: Prisma.RecipeUpdateArgs<ExtArgs>
905
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload>
906
+ }
907
+ deleteMany: {
908
+ args: Prisma.RecipeDeleteManyArgs<ExtArgs>
909
+ result: BatchPayload
910
+ }
911
+ updateMany: {
912
+ args: Prisma.RecipeUpdateManyArgs<ExtArgs>
913
+ result: BatchPayload
914
+ }
915
+ updateManyAndReturn: {
916
+ args: Prisma.RecipeUpdateManyAndReturnArgs<ExtArgs>
917
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload>[]
918
+ }
919
+ upsert: {
920
+ args: Prisma.RecipeUpsertArgs<ExtArgs>
921
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePayload>
922
+ }
923
+ aggregate: {
924
+ args: Prisma.RecipeAggregateArgs<ExtArgs>
925
+ result: runtime.Types.Utils.Optional<Prisma.AggregateRecipe>
926
+ }
927
+ groupBy: {
928
+ args: Prisma.RecipeGroupByArgs<ExtArgs>
929
+ result: runtime.Types.Utils.Optional<Prisma.RecipeGroupByOutputType>[]
930
+ }
931
+ count: {
932
+ args: Prisma.RecipeCountArgs<ExtArgs>
933
+ result: runtime.Types.Utils.Optional<Prisma.RecipeCountAggregateOutputType> | number
934
+ }
935
+ }
936
+ }
937
+ RecipePermission: {
938
+ payload: Prisma.$RecipePermissionPayload<ExtArgs>
939
+ fields: Prisma.RecipePermissionFieldRefs
940
+ operations: {
941
+ findUnique: {
942
+ args: Prisma.RecipePermissionFindUniqueArgs<ExtArgs>
943
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload> | null
944
+ }
945
+ findUniqueOrThrow: {
946
+ args: Prisma.RecipePermissionFindUniqueOrThrowArgs<ExtArgs>
947
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload>
948
+ }
949
+ findFirst: {
950
+ args: Prisma.RecipePermissionFindFirstArgs<ExtArgs>
951
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload> | null
952
+ }
953
+ findFirstOrThrow: {
954
+ args: Prisma.RecipePermissionFindFirstOrThrowArgs<ExtArgs>
955
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload>
956
+ }
957
+ findMany: {
958
+ args: Prisma.RecipePermissionFindManyArgs<ExtArgs>
959
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload>[]
960
+ }
961
+ create: {
962
+ args: Prisma.RecipePermissionCreateArgs<ExtArgs>
963
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload>
964
+ }
965
+ createMany: {
966
+ args: Prisma.RecipePermissionCreateManyArgs<ExtArgs>
967
+ result: BatchPayload
968
+ }
969
+ createManyAndReturn: {
970
+ args: Prisma.RecipePermissionCreateManyAndReturnArgs<ExtArgs>
971
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload>[]
972
+ }
973
+ delete: {
974
+ args: Prisma.RecipePermissionDeleteArgs<ExtArgs>
975
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload>
976
+ }
977
+ update: {
978
+ args: Prisma.RecipePermissionUpdateArgs<ExtArgs>
979
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload>
980
+ }
981
+ deleteMany: {
982
+ args: Prisma.RecipePermissionDeleteManyArgs<ExtArgs>
983
+ result: BatchPayload
984
+ }
985
+ updateMany: {
986
+ args: Prisma.RecipePermissionUpdateManyArgs<ExtArgs>
987
+ result: BatchPayload
988
+ }
989
+ updateManyAndReturn: {
990
+ args: Prisma.RecipePermissionUpdateManyAndReturnArgs<ExtArgs>
991
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload>[]
992
+ }
993
+ upsert: {
994
+ args: Prisma.RecipePermissionUpsertArgs<ExtArgs>
995
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipePermissionPayload>
996
+ }
997
+ aggregate: {
998
+ args: Prisma.RecipePermissionAggregateArgs<ExtArgs>
999
+ result: runtime.Types.Utils.Optional<Prisma.AggregateRecipePermission>
1000
+ }
1001
+ groupBy: {
1002
+ args: Prisma.RecipePermissionGroupByArgs<ExtArgs>
1003
+ result: runtime.Types.Utils.Optional<Prisma.RecipePermissionGroupByOutputType>[]
1004
+ }
1005
+ count: {
1006
+ args: Prisma.RecipePermissionCountArgs<ExtArgs>
1007
+ result: runtime.Types.Utils.Optional<Prisma.RecipePermissionCountAggregateOutputType> | number
1008
+ }
1009
+ }
1010
+ }
1011
+ RecipeBag: {
1012
+ payload: Prisma.$RecipeBagPayload<ExtArgs>
1013
+ fields: Prisma.RecipeBagFieldRefs
1014
+ operations: {
1015
+ findUnique: {
1016
+ args: Prisma.RecipeBagFindUniqueArgs<ExtArgs>
1017
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload> | null
1018
+ }
1019
+ findUniqueOrThrow: {
1020
+ args: Prisma.RecipeBagFindUniqueOrThrowArgs<ExtArgs>
1021
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload>
1022
+ }
1023
+ findFirst: {
1024
+ args: Prisma.RecipeBagFindFirstArgs<ExtArgs>
1025
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload> | null
1026
+ }
1027
+ findFirstOrThrow: {
1028
+ args: Prisma.RecipeBagFindFirstOrThrowArgs<ExtArgs>
1029
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload>
1030
+ }
1031
+ findMany: {
1032
+ args: Prisma.RecipeBagFindManyArgs<ExtArgs>
1033
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload>[]
1034
+ }
1035
+ create: {
1036
+ args: Prisma.RecipeBagCreateArgs<ExtArgs>
1037
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload>
1038
+ }
1039
+ createMany: {
1040
+ args: Prisma.RecipeBagCreateManyArgs<ExtArgs>
1041
+ result: BatchPayload
1042
+ }
1043
+ createManyAndReturn: {
1044
+ args: Prisma.RecipeBagCreateManyAndReturnArgs<ExtArgs>
1045
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload>[]
1046
+ }
1047
+ delete: {
1048
+ args: Prisma.RecipeBagDeleteArgs<ExtArgs>
1049
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload>
1050
+ }
1051
+ update: {
1052
+ args: Prisma.RecipeBagUpdateArgs<ExtArgs>
1053
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload>
1054
+ }
1055
+ deleteMany: {
1056
+ args: Prisma.RecipeBagDeleteManyArgs<ExtArgs>
1057
+ result: BatchPayload
1058
+ }
1059
+ updateMany: {
1060
+ args: Prisma.RecipeBagUpdateManyArgs<ExtArgs>
1061
+ result: BatchPayload
1062
+ }
1063
+ updateManyAndReturn: {
1064
+ args: Prisma.RecipeBagUpdateManyAndReturnArgs<ExtArgs>
1065
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload>[]
1066
+ }
1067
+ upsert: {
1068
+ args: Prisma.RecipeBagUpsertArgs<ExtArgs>
1069
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RecipeBagPayload>
1070
+ }
1071
+ aggregate: {
1072
+ args: Prisma.RecipeBagAggregateArgs<ExtArgs>
1073
+ result: runtime.Types.Utils.Optional<Prisma.AggregateRecipeBag>
1074
+ }
1075
+ groupBy: {
1076
+ args: Prisma.RecipeBagGroupByArgs<ExtArgs>
1077
+ result: runtime.Types.Utils.Optional<Prisma.RecipeBagGroupByOutputType>[]
1078
+ }
1079
+ count: {
1080
+ args: Prisma.RecipeBagCountArgs<ExtArgs>
1081
+ result: runtime.Types.Utils.Optional<Prisma.RecipeBagCountAggregateOutputType> | number
1082
+ }
1083
+ }
1084
+ }
1085
+ Settings: {
1086
+ payload: Prisma.$SettingsPayload<ExtArgs>
1087
+ fields: Prisma.SettingsFieldRefs
1088
+ operations: {
1089
+ findUnique: {
1090
+ args: Prisma.SettingsFindUniqueArgs<ExtArgs>
1091
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload> | null
1092
+ }
1093
+ findUniqueOrThrow: {
1094
+ args: Prisma.SettingsFindUniqueOrThrowArgs<ExtArgs>
1095
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload>
1096
+ }
1097
+ findFirst: {
1098
+ args: Prisma.SettingsFindFirstArgs<ExtArgs>
1099
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload> | null
1100
+ }
1101
+ findFirstOrThrow: {
1102
+ args: Prisma.SettingsFindFirstOrThrowArgs<ExtArgs>
1103
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload>
1104
+ }
1105
+ findMany: {
1106
+ args: Prisma.SettingsFindManyArgs<ExtArgs>
1107
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload>[]
1108
+ }
1109
+ create: {
1110
+ args: Prisma.SettingsCreateArgs<ExtArgs>
1111
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload>
1112
+ }
1113
+ createMany: {
1114
+ args: Prisma.SettingsCreateManyArgs<ExtArgs>
1115
+ result: BatchPayload
1116
+ }
1117
+ createManyAndReturn: {
1118
+ args: Prisma.SettingsCreateManyAndReturnArgs<ExtArgs>
1119
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload>[]
1120
+ }
1121
+ delete: {
1122
+ args: Prisma.SettingsDeleteArgs<ExtArgs>
1123
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload>
1124
+ }
1125
+ update: {
1126
+ args: Prisma.SettingsUpdateArgs<ExtArgs>
1127
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload>
1128
+ }
1129
+ deleteMany: {
1130
+ args: Prisma.SettingsDeleteManyArgs<ExtArgs>
1131
+ result: BatchPayload
1132
+ }
1133
+ updateMany: {
1134
+ args: Prisma.SettingsUpdateManyArgs<ExtArgs>
1135
+ result: BatchPayload
1136
+ }
1137
+ updateManyAndReturn: {
1138
+ args: Prisma.SettingsUpdateManyAndReturnArgs<ExtArgs>
1139
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload>[]
1140
+ }
1141
+ upsert: {
1142
+ args: Prisma.SettingsUpsertArgs<ExtArgs>
1143
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SettingsPayload>
1144
+ }
1145
+ aggregate: {
1146
+ args: Prisma.SettingsAggregateArgs<ExtArgs>
1147
+ result: runtime.Types.Utils.Optional<Prisma.AggregateSettings>
1148
+ }
1149
+ groupBy: {
1150
+ args: Prisma.SettingsGroupByArgs<ExtArgs>
1151
+ result: runtime.Types.Utils.Optional<Prisma.SettingsGroupByOutputType>[]
1152
+ }
1153
+ count: {
1154
+ args: Prisma.SettingsCountArgs<ExtArgs>
1155
+ result: runtime.Types.Utils.Optional<Prisma.SettingsCountAggregateOutputType> | number
1156
+ }
1157
+ }
1158
+ }
1159
+ Roles: {
1160
+ payload: Prisma.$RolesPayload<ExtArgs>
1161
+ fields: Prisma.RolesFieldRefs
1162
+ operations: {
1163
+ findUnique: {
1164
+ args: Prisma.RolesFindUniqueArgs<ExtArgs>
1165
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload> | null
1166
+ }
1167
+ findUniqueOrThrow: {
1168
+ args: Prisma.RolesFindUniqueOrThrowArgs<ExtArgs>
1169
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload>
1170
+ }
1171
+ findFirst: {
1172
+ args: Prisma.RolesFindFirstArgs<ExtArgs>
1173
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload> | null
1174
+ }
1175
+ findFirstOrThrow: {
1176
+ args: Prisma.RolesFindFirstOrThrowArgs<ExtArgs>
1177
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload>
1178
+ }
1179
+ findMany: {
1180
+ args: Prisma.RolesFindManyArgs<ExtArgs>
1181
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload>[]
1182
+ }
1183
+ create: {
1184
+ args: Prisma.RolesCreateArgs<ExtArgs>
1185
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload>
1186
+ }
1187
+ createMany: {
1188
+ args: Prisma.RolesCreateManyArgs<ExtArgs>
1189
+ result: BatchPayload
1190
+ }
1191
+ createManyAndReturn: {
1192
+ args: Prisma.RolesCreateManyAndReturnArgs<ExtArgs>
1193
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload>[]
1194
+ }
1195
+ delete: {
1196
+ args: Prisma.RolesDeleteArgs<ExtArgs>
1197
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload>
1198
+ }
1199
+ update: {
1200
+ args: Prisma.RolesUpdateArgs<ExtArgs>
1201
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload>
1202
+ }
1203
+ deleteMany: {
1204
+ args: Prisma.RolesDeleteManyArgs<ExtArgs>
1205
+ result: BatchPayload
1206
+ }
1207
+ updateMany: {
1208
+ args: Prisma.RolesUpdateManyArgs<ExtArgs>
1209
+ result: BatchPayload
1210
+ }
1211
+ updateManyAndReturn: {
1212
+ args: Prisma.RolesUpdateManyAndReturnArgs<ExtArgs>
1213
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload>[]
1214
+ }
1215
+ upsert: {
1216
+ args: Prisma.RolesUpsertArgs<ExtArgs>
1217
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$RolesPayload>
1218
+ }
1219
+ aggregate: {
1220
+ args: Prisma.RolesAggregateArgs<ExtArgs>
1221
+ result: runtime.Types.Utils.Optional<Prisma.AggregateRoles>
1222
+ }
1223
+ groupBy: {
1224
+ args: Prisma.RolesGroupByArgs<ExtArgs>
1225
+ result: runtime.Types.Utils.Optional<Prisma.RolesGroupByOutputType>[]
1226
+ }
1227
+ count: {
1228
+ args: Prisma.RolesCountArgs<ExtArgs>
1229
+ result: runtime.Types.Utils.Optional<Prisma.RolesCountAggregateOutputType> | number
1230
+ }
1231
+ }
1232
+ }
1233
+ Users: {
1234
+ payload: Prisma.$UsersPayload<ExtArgs>
1235
+ fields: Prisma.UsersFieldRefs
1236
+ operations: {
1237
+ findUnique: {
1238
+ args: Prisma.UsersFindUniqueArgs<ExtArgs>
1239
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload> | null
1240
+ }
1241
+ findUniqueOrThrow: {
1242
+ args: Prisma.UsersFindUniqueOrThrowArgs<ExtArgs>
1243
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload>
1244
+ }
1245
+ findFirst: {
1246
+ args: Prisma.UsersFindFirstArgs<ExtArgs>
1247
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload> | null
1248
+ }
1249
+ findFirstOrThrow: {
1250
+ args: Prisma.UsersFindFirstOrThrowArgs<ExtArgs>
1251
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload>
1252
+ }
1253
+ findMany: {
1254
+ args: Prisma.UsersFindManyArgs<ExtArgs>
1255
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload>[]
1256
+ }
1257
+ create: {
1258
+ args: Prisma.UsersCreateArgs<ExtArgs>
1259
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload>
1260
+ }
1261
+ createMany: {
1262
+ args: Prisma.UsersCreateManyArgs<ExtArgs>
1263
+ result: BatchPayload
1264
+ }
1265
+ createManyAndReturn: {
1266
+ args: Prisma.UsersCreateManyAndReturnArgs<ExtArgs>
1267
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload>[]
1268
+ }
1269
+ delete: {
1270
+ args: Prisma.UsersDeleteArgs<ExtArgs>
1271
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload>
1272
+ }
1273
+ update: {
1274
+ args: Prisma.UsersUpdateArgs<ExtArgs>
1275
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload>
1276
+ }
1277
+ deleteMany: {
1278
+ args: Prisma.UsersDeleteManyArgs<ExtArgs>
1279
+ result: BatchPayload
1280
+ }
1281
+ updateMany: {
1282
+ args: Prisma.UsersUpdateManyArgs<ExtArgs>
1283
+ result: BatchPayload
1284
+ }
1285
+ updateManyAndReturn: {
1286
+ args: Prisma.UsersUpdateManyAndReturnArgs<ExtArgs>
1287
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload>[]
1288
+ }
1289
+ upsert: {
1290
+ args: Prisma.UsersUpsertArgs<ExtArgs>
1291
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$UsersPayload>
1292
+ }
1293
+ aggregate: {
1294
+ args: Prisma.UsersAggregateArgs<ExtArgs>
1295
+ result: runtime.Types.Utils.Optional<Prisma.AggregateUsers>
1296
+ }
1297
+ groupBy: {
1298
+ args: Prisma.UsersGroupByArgs<ExtArgs>
1299
+ result: runtime.Types.Utils.Optional<Prisma.UsersGroupByOutputType>[]
1300
+ }
1301
+ count: {
1302
+ args: Prisma.UsersCountArgs<ExtArgs>
1303
+ result: runtime.Types.Utils.Optional<Prisma.UsersCountAggregateOutputType> | number
1304
+ }
1305
+ }
1306
+ }
1307
+ Sessions: {
1308
+ payload: Prisma.$SessionsPayload<ExtArgs>
1309
+ fields: Prisma.SessionsFieldRefs
1310
+ operations: {
1311
+ findUnique: {
1312
+ args: Prisma.SessionsFindUniqueArgs<ExtArgs>
1313
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload> | null
1314
+ }
1315
+ findUniqueOrThrow: {
1316
+ args: Prisma.SessionsFindUniqueOrThrowArgs<ExtArgs>
1317
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload>
1318
+ }
1319
+ findFirst: {
1320
+ args: Prisma.SessionsFindFirstArgs<ExtArgs>
1321
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload> | null
1322
+ }
1323
+ findFirstOrThrow: {
1324
+ args: Prisma.SessionsFindFirstOrThrowArgs<ExtArgs>
1325
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload>
1326
+ }
1327
+ findMany: {
1328
+ args: Prisma.SessionsFindManyArgs<ExtArgs>
1329
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload>[]
1330
+ }
1331
+ create: {
1332
+ args: Prisma.SessionsCreateArgs<ExtArgs>
1333
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload>
1334
+ }
1335
+ createMany: {
1336
+ args: Prisma.SessionsCreateManyArgs<ExtArgs>
1337
+ result: BatchPayload
1338
+ }
1339
+ createManyAndReturn: {
1340
+ args: Prisma.SessionsCreateManyAndReturnArgs<ExtArgs>
1341
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload>[]
1342
+ }
1343
+ delete: {
1344
+ args: Prisma.SessionsDeleteArgs<ExtArgs>
1345
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload>
1346
+ }
1347
+ update: {
1348
+ args: Prisma.SessionsUpdateArgs<ExtArgs>
1349
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload>
1350
+ }
1351
+ deleteMany: {
1352
+ args: Prisma.SessionsDeleteManyArgs<ExtArgs>
1353
+ result: BatchPayload
1354
+ }
1355
+ updateMany: {
1356
+ args: Prisma.SessionsUpdateManyArgs<ExtArgs>
1357
+ result: BatchPayload
1358
+ }
1359
+ updateManyAndReturn: {
1360
+ args: Prisma.SessionsUpdateManyAndReturnArgs<ExtArgs>
1361
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload>[]
1362
+ }
1363
+ upsert: {
1364
+ args: Prisma.SessionsUpsertArgs<ExtArgs>
1365
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SessionsPayload>
1366
+ }
1367
+ aggregate: {
1368
+ args: Prisma.SessionsAggregateArgs<ExtArgs>
1369
+ result: runtime.Types.Utils.Optional<Prisma.AggregateSessions>
1370
+ }
1371
+ groupBy: {
1372
+ args: Prisma.SessionsGroupByArgs<ExtArgs>
1373
+ result: runtime.Types.Utils.Optional<Prisma.SessionsGroupByOutputType>[]
1374
+ }
1375
+ count: {
1376
+ args: Prisma.SessionsCountArgs<ExtArgs>
1377
+ result: runtime.Types.Utils.Optional<Prisma.SessionsCountAggregateOutputType> | number
1378
+ }
1379
+ }
1380
+ }
1381
+ }
1382
+ } & {
1383
+ other: {
1384
+ payload: any
1385
+ operations: {
1386
+ $executeRaw: {
1387
+ args: [query: TemplateStringsArray | Sql, ...values: any[]],
1388
+ result: any
1389
+ }
1390
+ $executeRawUnsafe: {
1391
+ args: [query: string, ...values: any[]],
1392
+ result: any
1393
+ }
1394
+ $queryRaw: {
1395
+ args: [query: TemplateStringsArray | Sql, ...values: any[]],
1396
+ result: any
1397
+ }
1398
+ $queryRawUnsafe: {
1399
+ args: [query: string, ...values: any[]],
1400
+ result: any
1401
+ }
1402
+ }
1403
+ }
1404
+ }
1405
+
1406
+ /**
1407
+ * Enums
1408
+ */
1409
+
1410
+ export const TransactionIsolationLevel = runtime.makeStrictEnum({
1411
+ Serializable: 'Serializable'
1412
+ } as const)
1413
+
1414
+ export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
1415
+
1416
+
1417
+ export const BagScalarFieldEnum = {
1418
+ id: 'id',
1419
+ name: 'name',
1420
+ created: 'created',
1421
+ updated: 'updated',
1422
+ description: 'description'
1423
+ } as const
1424
+
1425
+ export type BagScalarFieldEnum = (typeof BagScalarFieldEnum)[keyof typeof BagScalarFieldEnum]
1426
+
1427
+
1428
+ export const BagPermissionScalarFieldEnum = {
1429
+ bag_id: 'bag_id',
1430
+ role_id: 'role_id',
1431
+ level: 'level'
1432
+ } as const
1433
+
1434
+ export type BagPermissionScalarFieldEnum = (typeof BagPermissionScalarFieldEnum)[keyof typeof BagPermissionScalarFieldEnum]
1435
+
1436
+
1437
+ export const TiddlerScalarFieldEnum = {
1438
+ bag_id: 'bag_id',
1439
+ title: 'title',
1440
+ created: 'created',
1441
+ updated: 'updated',
1442
+ revision: 'revision',
1443
+ fields: 'fields'
1444
+ } as const
1445
+
1446
+ export type TiddlerScalarFieldEnum = (typeof TiddlerScalarFieldEnum)[keyof typeof TiddlerScalarFieldEnum]
1447
+
1448
+
1449
+ export const TiddlerEventScalarFieldEnum = {
1450
+ seq: 'seq',
1451
+ bag_id: 'bag_id',
1452
+ title: 'title',
1453
+ type: 'type'
1454
+ } as const
1455
+
1456
+ export type TiddlerEventScalarFieldEnum = (typeof TiddlerEventScalarFieldEnum)[keyof typeof TiddlerEventScalarFieldEnum]
1457
+
1458
+
1459
+ export const TemplateScalarFieldEnum = {
1460
+ id: 'id',
1461
+ name: 'name',
1462
+ created: 'created',
1463
+ updated: 'updated',
1464
+ type: 'type',
1465
+ definition: 'definition'
1466
+ } as const
1467
+
1468
+ export type TemplateScalarFieldEnum = (typeof TemplateScalarFieldEnum)[keyof typeof TemplateScalarFieldEnum]
1469
+
1470
+
1471
+ export const TemplatePermissionScalarFieldEnum = {
1472
+ template_id: 'template_id',
1473
+ role_id: 'role_id',
1474
+ level: 'level'
1475
+ } as const
1476
+
1477
+ export type TemplatePermissionScalarFieldEnum = (typeof TemplatePermissionScalarFieldEnum)[keyof typeof TemplatePermissionScalarFieldEnum]
1478
+
1479
+
1480
+ export const RecipeScalarFieldEnum = {
1481
+ id: 'id',
1482
+ slug: 'slug',
1483
+ created: 'created',
1484
+ updated: 'updated',
1485
+ template_id: 'template_id',
1486
+ definition: 'definition',
1487
+ plugins: 'plugins',
1488
+ compiledAt: 'compiledAt'
1489
+ } as const
1490
+
1491
+ export type RecipeScalarFieldEnum = (typeof RecipeScalarFieldEnum)[keyof typeof RecipeScalarFieldEnum]
1492
+
1493
+
1494
+ export const RecipePermissionScalarFieldEnum = {
1495
+ recipe_id: 'recipe_id',
1496
+ role_id: 'role_id',
1497
+ level: 'level'
1498
+ } as const
1499
+
1500
+ export type RecipePermissionScalarFieldEnum = (typeof RecipePermissionScalarFieldEnum)[keyof typeof RecipePermissionScalarFieldEnum]
1501
+
1502
+
1503
+ export const RecipeBagScalarFieldEnum = {
1504
+ recipe_id: 'recipe_id',
1505
+ bag_id: 'bag_id',
1506
+ priority: 'priority',
1507
+ is_writable: 'is_writable',
1508
+ prefix: 'prefix'
1509
+ } as const
1510
+
1511
+ export type RecipeBagScalarFieldEnum = (typeof RecipeBagScalarFieldEnum)[keyof typeof RecipeBagScalarFieldEnum]
1512
+
1513
+
1514
+ export const SettingsScalarFieldEnum = {
1515
+ key: 'key',
1516
+ value: 'value',
1517
+ updated: 'updated'
1518
+ } as const
1519
+
1520
+ export type SettingsScalarFieldEnum = (typeof SettingsScalarFieldEnum)[keyof typeof SettingsScalarFieldEnum]
1521
+
1522
+
1523
+ export const RolesScalarFieldEnum = {
1524
+ role_id: 'role_id',
1525
+ role_name: 'role_name',
1526
+ description: 'description'
1527
+ } as const
1528
+
1529
+ export type RolesScalarFieldEnum = (typeof RolesScalarFieldEnum)[keyof typeof RolesScalarFieldEnum]
1530
+
1531
+
1532
+ export const UsersScalarFieldEnum = {
1533
+ user_id: 'user_id',
1534
+ username: 'username',
1535
+ email: 'email',
1536
+ password: 'password',
1537
+ resetCode: 'resetCode',
1538
+ created_at: 'created_at',
1539
+ last_login: 'last_login'
1540
+ } as const
1541
+
1542
+ export type UsersScalarFieldEnum = (typeof UsersScalarFieldEnum)[keyof typeof UsersScalarFieldEnum]
1543
+
1544
+
1545
+ export const SessionsScalarFieldEnum = {
1546
+ session_id: 'session_id',
1547
+ created_at: 'created_at',
1548
+ last_accessed: 'last_accessed',
1549
+ session_key: 'session_key',
1550
+ user_id: 'user_id'
1551
+ } as const
1552
+
1553
+ export type SessionsScalarFieldEnum = (typeof SessionsScalarFieldEnum)[keyof typeof SessionsScalarFieldEnum]
1554
+
1555
+
1556
+ export const SortOrder = {
1557
+ asc: 'asc',
1558
+ desc: 'desc'
1559
+ } as const
1560
+
1561
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
1562
+
1563
+
1564
+ export const JsonNullValueInput = {
1565
+ JsonNull: JsonNull
1566
+ } as const
1567
+
1568
+ export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
1569
+
1570
+
1571
+ export const JsonNullValueFilter = {
1572
+ DbNull: DbNull,
1573
+ JsonNull: JsonNull,
1574
+ AnyNull: AnyNull
1575
+ } as const
1576
+
1577
+ export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
1578
+
1579
+
1580
+ export const QueryMode = {
1581
+ default: 'default',
1582
+ insensitive: 'insensitive'
1583
+ } as const
1584
+
1585
+ export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
1586
+
1587
+
1588
+ export const NullsOrder = {
1589
+ first: 'first',
1590
+ last: 'last'
1591
+ } as const
1592
+
1593
+ export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
1594
+
1595
+
1596
+
1597
+ /**
1598
+ * Field references
1599
+ */
1600
+
1601
+
1602
+ /**
1603
+ * Reference to a field of type 'String'
1604
+ */
1605
+ export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>
1606
+
1607
+
1608
+
1609
+ /**
1610
+ * Reference to a field of type 'DateTime'
1611
+ */
1612
+ export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>
1613
+
1614
+
1615
+
1616
+ /**
1617
+ * Reference to a field of type 'BagPermissionLevel'
1618
+ */
1619
+ export type EnumBagPermissionLevelFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BagPermissionLevel'>
1620
+
1621
+
1622
+
1623
+ /**
1624
+ * Reference to a field of type 'BigInt'
1625
+ */
1626
+ export type BigIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'BigInt'>
1627
+
1628
+
1629
+
1630
+ /**
1631
+ * Reference to a field of type 'Json'
1632
+ */
1633
+ export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>
1634
+
1635
+
1636
+
1637
+ /**
1638
+ * Reference to a field of type 'QueryMode'
1639
+ */
1640
+ export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'>
1641
+
1642
+
1643
+
1644
+ /**
1645
+ * Reference to a field of type 'Int'
1646
+ */
1647
+ export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
1648
+
1649
+
1650
+
1651
+ /**
1652
+ * Reference to a field of type 'TiddlerEventType'
1653
+ */
1654
+ export type EnumTiddlerEventTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TiddlerEventType'>
1655
+
1656
+
1657
+
1658
+ /**
1659
+ * Reference to a field of type 'TemplatePermissionLevel'
1660
+ */
1661
+ export type EnumTemplatePermissionLevelFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TemplatePermissionLevel'>
1662
+
1663
+
1664
+
1665
+ /**
1666
+ * Reference to a field of type 'RecipePermissionLevel'
1667
+ */
1668
+ export type EnumRecipePermissionLevelFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RecipePermissionLevel'>
1669
+
1670
+
1671
+
1672
+ /**
1673
+ * Reference to a field of type 'Boolean'
1674
+ */
1675
+ export type BooleanFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Boolean'>
1676
+
1677
+
1678
+
1679
+ /**
1680
+ * Reference to a field of type 'Float'
1681
+ */
1682
+ export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>
1683
+
1684
+
1685
+ /**
1686
+ * Batch Payload for updateMany & deleteMany & createMany
1687
+ */
1688
+ export type BatchPayload = {
1689
+ count: number
1690
+ }
1691
+
1692
+ export const defineExtension = runtime.Extensions.defineExtension as unknown as runtime.Types.Extensions.ExtendsHook<"define", TypeMapCb, runtime.Types.Extensions.DefaultArgs>
1693
+ export type DefaultPrismaClient = PrismaClient
1694
+ export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
1695
+ export type PrismaClientOptions = ({
1696
+ /**
1697
+ * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-pg`.
1698
+ */
1699
+ adapter: runtime.SqlDriverAdapterFactory
1700
+ accelerateUrl?: never
1701
+ } | {
1702
+ /**
1703
+ * Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database.
1704
+ */
1705
+ accelerateUrl: string
1706
+ adapter?: never
1707
+ }) & {
1708
+ /**
1709
+ * @default "colorless"
1710
+ */
1711
+ errorFormat?: ErrorFormat
1712
+ /**
1713
+ * @example
1714
+ * ```
1715
+ * // Shorthand for `emit: 'stdout'`
1716
+ * log: ['query', 'info', 'warn', 'error']
1717
+ *
1718
+ * // Emit as events only
1719
+ * log: [
1720
+ * { emit: 'event', level: 'query' },
1721
+ * { emit: 'event', level: 'info' },
1722
+ * { emit: 'event', level: 'warn' }
1723
+ * { emit: 'event', level: 'error' }
1724
+ * ]
1725
+ *
1726
+ * / Emit as events and log to stdout
1727
+ * og: [
1728
+ * { emit: 'stdout', level: 'query' },
1729
+ * { emit: 'stdout', level: 'info' },
1730
+ * { emit: 'stdout', level: 'warn' }
1731
+ * { emit: 'stdout', level: 'error' }
1732
+ *
1733
+ * ```
1734
+ * Read more in our [docs](https://pris.ly/d/logging).
1735
+ */
1736
+ log?: (LogLevel | LogDefinition)[]
1737
+ /**
1738
+ * The default values for transactionOptions
1739
+ * maxWait ?= 2000
1740
+ * timeout ?= 5000
1741
+ */
1742
+ transactionOptions?: {
1743
+ maxWait?: number
1744
+ timeout?: number
1745
+ isolationLevel?: TransactionIsolationLevel
1746
+ }
1747
+ /**
1748
+ * Global configuration for omitting model fields by default.
1749
+ *
1750
+ * @example
1751
+ * ```
1752
+ * const prisma = new PrismaClient({
1753
+ * omit: {
1754
+ * user: {
1755
+ * password: true
1756
+ * }
1757
+ * }
1758
+ * })
1759
+ * ```
1760
+ */
1761
+ omit?: GlobalOmitConfig
1762
+ /**
1763
+ * SQL commenter plugins that add metadata to SQL queries as comments.
1764
+ * Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/
1765
+ *
1766
+ * @example
1767
+ * ```
1768
+ * const prisma = new PrismaClient({
1769
+ * adapter,
1770
+ * comments: [
1771
+ * traceContext(),
1772
+ * queryInsights(),
1773
+ * ],
1774
+ * })
1775
+ * ```
1776
+ */
1777
+ comments?: runtime.SqlCommenterPlugin[]
1778
+ /**
1779
+ * Optional maximum size for the query plan cache. If not provided, a default size will be used.
1780
+ * A value of `0` can be used to disable the cache entirely. A higher cache size can improve
1781
+ * performance for applications that execute a large number of unique queries, while a smaller
1782
+ * cache size can reduce memory usage.
1783
+ *
1784
+ * @example
1785
+ * ```
1786
+ * const prisma = new PrismaClient({
1787
+ * adapter,
1788
+ * queryPlanCacheMaxSize: 100,
1789
+ * })
1790
+ * ```
1791
+ */
1792
+ queryPlanCacheMaxSize?: number
1793
+ }
1794
+ export type GlobalOmitConfig = {
1795
+ bag?: Prisma.BagOmit
1796
+ bagPermission?: Prisma.BagPermissionOmit
1797
+ tiddler?: Prisma.TiddlerOmit
1798
+ tiddlerEvent?: Prisma.TiddlerEventOmit
1799
+ template?: Prisma.TemplateOmit
1800
+ templatePermission?: Prisma.TemplatePermissionOmit
1801
+ recipe?: Prisma.RecipeOmit
1802
+ recipePermission?: Prisma.RecipePermissionOmit
1803
+ recipeBag?: Prisma.RecipeBagOmit
1804
+ settings?: Prisma.SettingsOmit
1805
+ roles?: Prisma.RolesOmit
1806
+ users?: Prisma.UsersOmit
1807
+ sessions?: Prisma.SessionsOmit
1808
+ }
1809
+
1810
+ /* Types for Logging */
1811
+ export type LogLevel = 'info' | 'query' | 'warn' | 'error'
1812
+ export type LogDefinition = {
1813
+ level: LogLevel
1814
+ emit: 'stdout' | 'event'
1815
+ }
1816
+
1817
+ export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
1818
+
1819
+ export type GetLogType<T> = CheckIsLogLevel<
1820
+ T extends LogDefinition ? T['level'] : T
1821
+ >;
1822
+
1823
+ export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition>
1824
+ ? GetLogType<T[number]>
1825
+ : never;
1826
+
1827
+ export type QueryEvent = {
1828
+ timestamp: Date
1829
+ query: string
1830
+ params: string
1831
+ duration: number
1832
+ target: string
1833
+ }
1834
+
1835
+ export type LogEvent = {
1836
+ timestamp: Date
1837
+ message: string
1838
+ target: string
1839
+ }
1840
+ /* End Types for Logging */
1841
+
1842
+
1843
+ export type PrismaAction =
1844
+ | 'findUnique'
1845
+ | 'findUniqueOrThrow'
1846
+ | 'findMany'
1847
+ | 'findFirst'
1848
+ | 'findFirstOrThrow'
1849
+ | 'create'
1850
+ | 'createMany'
1851
+ | 'createManyAndReturn'
1852
+ | 'update'
1853
+ | 'updateMany'
1854
+ | 'updateManyAndReturn'
1855
+ | 'upsert'
1856
+ | 'delete'
1857
+ | 'deleteMany'
1858
+ | 'executeRaw'
1859
+ | 'queryRaw'
1860
+ | 'aggregate'
1861
+ | 'count'
1862
+ | 'runCommandRaw'
1863
+ | 'findRaw'
1864
+ | 'groupBy'
1865
+
1866
+ /**
1867
+ * `PrismaClient` proxy available in interactive transactions.
1868
+ */
1869
+ export type TransactionClient = Omit<DefaultPrismaClient, runtime.ITXClientDenyList>
1870
+