@tiddlywiki/mws 0.1.13 → 0.2.0

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