@allbluecn/database 0.9.2 → 0.9.3

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 (51) hide show
  1. package/cf-env-stub.ts +4 -0
  2. package/cf-env.ts +25 -0
  3. package/cloudflare-workers.d.ts +6 -0
  4. package/dist/cf-env-stub.d.ts +1 -0
  5. package/dist/cf-env-stub.js +4 -0
  6. package/dist/cf-env.d.ts +1 -0
  7. package/dist/cf-env.js +8 -0
  8. package/generated/browser.ts +30 -15
  9. package/generated/client.ts +30 -15
  10. package/generated/internal/class.ts +64 -34
  11. package/generated/internal/prismaNamespace.ts +543 -263
  12. package/generated/internal/prismaNamespaceBrowser.ts +92 -37
  13. package/generated/models/AiTask.ts +2481 -0
  14. package/generated/models/AiTaskRun.ts +1564 -0
  15. package/generated/models/Bug.ts +94 -1
  16. package/generated/models/BugComment.ts +139 -0
  17. package/generated/models/BugCommentReaction.ts +1472 -0
  18. package/generated/models/CollabClient.ts +1199 -0
  19. package/generated/models/CollabDocument.ts +1121 -0
  20. package/generated/models/CollabUpdate.ts +1149 -0
  21. package/generated/models/Component.ts +0 -194
  22. package/generated/models/Design.ts +0 -190
  23. package/generated/models/Project.ts +261 -0
  24. package/generated/models/TestCase.ts +78 -1
  25. package/generated/models/User.ts +2073 -1271
  26. package/generated/models/Workspace.ts +204 -0
  27. package/generated/models.ts +6 -3
  28. package/generated-sqlite/browser.ts +0 -15
  29. package/generated-sqlite/client.ts +0 -15
  30. package/generated-sqlite/internal/class.ts +4 -34
  31. package/generated-sqlite/internal/prismaNamespace.ts +1 -262
  32. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -36
  33. package/generated-sqlite/models/Component.ts +0 -194
  34. package/generated-sqlite/models/Design.ts +0 -182
  35. package/generated-sqlite/models/User.ts +0 -586
  36. package/generated-sqlite/models.ts +0 -3
  37. package/index.ts +16 -2
  38. package/migrations/20261007112656_collab_init/migration.sql +45 -0
  39. package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
  40. package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
  41. package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
  42. package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
  43. package/package.json +17 -6
  44. package/schema.prisma +99 -54
  45. package/schema.sqlite.prisma +0 -54
  46. package/generated/models/ComponentTag.ts +0 -1281
  47. package/generated/models/DesignTag.ts +0 -1430
  48. package/generated/models/Tag.ts +0 -1655
  49. package/generated-sqlite/models/ComponentTag.ts +0 -1278
  50. package/generated-sqlite/models/DesignTag.ts +0 -1426
  51. package/generated-sqlite/models/Tag.ts +0 -1652
@@ -0,0 +1,1149 @@
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 `CollabUpdate` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums.ts"
13
+ import type * as Prisma from "../internal/prismaNamespace.ts"
14
+
15
+ /**
16
+ * Model CollabUpdate
17
+ *
18
+ */
19
+ export type CollabUpdateModel = runtime.Types.Result.DefaultSelection<Prisma.$CollabUpdatePayload>
20
+
21
+ export type AggregateCollabUpdate = {
22
+ _count: CollabUpdateCountAggregateOutputType | null
23
+ _min: CollabUpdateMinAggregateOutputType | null
24
+ _max: CollabUpdateMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type CollabUpdateMinAggregateOutputType = {
28
+ id: string | null
29
+ roomName: string | null
30
+ update: runtime.Bytes | null
31
+ authorId: string | null
32
+ createdAt: Date | null
33
+ }
34
+
35
+ export type CollabUpdateMaxAggregateOutputType = {
36
+ id: string | null
37
+ roomName: string | null
38
+ update: runtime.Bytes | null
39
+ authorId: string | null
40
+ createdAt: Date | null
41
+ }
42
+
43
+ export type CollabUpdateCountAggregateOutputType = {
44
+ id: number
45
+ roomName: number
46
+ update: number
47
+ authorId: number
48
+ createdAt: number
49
+ _all: number
50
+ }
51
+
52
+
53
+ export type CollabUpdateMinAggregateInputType = {
54
+ id?: true
55
+ roomName?: true
56
+ update?: true
57
+ authorId?: true
58
+ createdAt?: true
59
+ }
60
+
61
+ export type CollabUpdateMaxAggregateInputType = {
62
+ id?: true
63
+ roomName?: true
64
+ update?: true
65
+ authorId?: true
66
+ createdAt?: true
67
+ }
68
+
69
+ export type CollabUpdateCountAggregateInputType = {
70
+ id?: true
71
+ roomName?: true
72
+ update?: true
73
+ authorId?: true
74
+ createdAt?: true
75
+ _all?: true
76
+ }
77
+
78
+ export type CollabUpdateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
79
+ /**
80
+ * Filter which CollabUpdate to aggregate.
81
+ */
82
+ where?: Prisma.CollabUpdateWhereInput
83
+ /**
84
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
85
+ *
86
+ * Determine the order of CollabUpdates to fetch.
87
+ */
88
+ orderBy?: Prisma.CollabUpdateOrderByWithRelationInput | Prisma.CollabUpdateOrderByWithRelationInput[]
89
+ /**
90
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
91
+ *
92
+ * Sets the start position
93
+ */
94
+ cursor?: Prisma.CollabUpdateWhereUniqueInput
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97
+ *
98
+ * Take `±n` CollabUpdates from the position of the cursor.
99
+ */
100
+ take?: number
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
103
+ *
104
+ * Skip the first `n` CollabUpdates.
105
+ */
106
+ skip?: number
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
109
+ *
110
+ * Count returned CollabUpdates
111
+ **/
112
+ _count?: true | CollabUpdateCountAggregateInputType
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
115
+ *
116
+ * Select which fields to find the minimum value
117
+ **/
118
+ _min?: CollabUpdateMinAggregateInputType
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Select which fields to find the maximum value
123
+ **/
124
+ _max?: CollabUpdateMaxAggregateInputType
125
+ }
126
+
127
+ export type GetCollabUpdateAggregateType<T extends CollabUpdateAggregateArgs> = {
128
+ [P in keyof T & keyof AggregateCollabUpdate]: P extends '_count' | 'count'
129
+ ? T[P] extends true
130
+ ? number
131
+ : Prisma.GetScalarType<T[P], AggregateCollabUpdate[P]>
132
+ : Prisma.GetScalarType<T[P], AggregateCollabUpdate[P]>
133
+ }
134
+
135
+
136
+
137
+
138
+ export type CollabUpdateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
139
+ where?: Prisma.CollabUpdateWhereInput
140
+ orderBy?: Prisma.CollabUpdateOrderByWithAggregationInput | Prisma.CollabUpdateOrderByWithAggregationInput[]
141
+ by: Prisma.CollabUpdateScalarFieldEnum[] | Prisma.CollabUpdateScalarFieldEnum
142
+ having?: Prisma.CollabUpdateScalarWhereWithAggregatesInput
143
+ take?: number
144
+ skip?: number
145
+ _count?: CollabUpdateCountAggregateInputType | true
146
+ _min?: CollabUpdateMinAggregateInputType
147
+ _max?: CollabUpdateMaxAggregateInputType
148
+ }
149
+
150
+ export type CollabUpdateGroupByOutputType = {
151
+ id: string
152
+ roomName: string
153
+ update: runtime.Bytes
154
+ authorId: string | null
155
+ createdAt: Date
156
+ _count: CollabUpdateCountAggregateOutputType | null
157
+ _min: CollabUpdateMinAggregateOutputType | null
158
+ _max: CollabUpdateMaxAggregateOutputType | null
159
+ }
160
+
161
+ export type GetCollabUpdateGroupByPayload<T extends CollabUpdateGroupByArgs> = Prisma.PrismaPromise<
162
+ Array<
163
+ Prisma.PickEnumerable<CollabUpdateGroupByOutputType, T['by']> &
164
+ {
165
+ [P in ((keyof T) & (keyof CollabUpdateGroupByOutputType))]: P extends '_count'
166
+ ? T[P] extends boolean
167
+ ? number
168
+ : Prisma.GetScalarType<T[P], CollabUpdateGroupByOutputType[P]>
169
+ : Prisma.GetScalarType<T[P], CollabUpdateGroupByOutputType[P]>
170
+ }
171
+ >
172
+ >
173
+
174
+
175
+
176
+ export type CollabUpdateWhereInput = {
177
+ AND?: Prisma.CollabUpdateWhereInput | Prisma.CollabUpdateWhereInput[]
178
+ OR?: Prisma.CollabUpdateWhereInput[]
179
+ NOT?: Prisma.CollabUpdateWhereInput | Prisma.CollabUpdateWhereInput[]
180
+ id?: Prisma.StringFilter<"CollabUpdate"> | string
181
+ roomName?: Prisma.StringFilter<"CollabUpdate"> | string
182
+ update?: Prisma.BytesFilter<"CollabUpdate"> | runtime.Bytes
183
+ authorId?: Prisma.StringNullableFilter<"CollabUpdate"> | string | null
184
+ createdAt?: Prisma.DateTimeFilter<"CollabUpdate"> | Date | string
185
+ }
186
+
187
+ export type CollabUpdateOrderByWithRelationInput = {
188
+ id?: Prisma.SortOrder
189
+ roomName?: Prisma.SortOrder
190
+ update?: Prisma.SortOrder
191
+ authorId?: Prisma.SortOrderInput | Prisma.SortOrder
192
+ createdAt?: Prisma.SortOrder
193
+ }
194
+
195
+ export type CollabUpdateWhereUniqueInput = Prisma.AtLeast<{
196
+ id?: string
197
+ AND?: Prisma.CollabUpdateWhereInput | Prisma.CollabUpdateWhereInput[]
198
+ OR?: Prisma.CollabUpdateWhereInput[]
199
+ NOT?: Prisma.CollabUpdateWhereInput | Prisma.CollabUpdateWhereInput[]
200
+ roomName?: Prisma.StringFilter<"CollabUpdate"> | string
201
+ update?: Prisma.BytesFilter<"CollabUpdate"> | runtime.Bytes
202
+ authorId?: Prisma.StringNullableFilter<"CollabUpdate"> | string | null
203
+ createdAt?: Prisma.DateTimeFilter<"CollabUpdate"> | Date | string
204
+ }, "id">
205
+
206
+ export type CollabUpdateOrderByWithAggregationInput = {
207
+ id?: Prisma.SortOrder
208
+ roomName?: Prisma.SortOrder
209
+ update?: Prisma.SortOrder
210
+ authorId?: Prisma.SortOrderInput | Prisma.SortOrder
211
+ createdAt?: Prisma.SortOrder
212
+ _count?: Prisma.CollabUpdateCountOrderByAggregateInput
213
+ _max?: Prisma.CollabUpdateMaxOrderByAggregateInput
214
+ _min?: Prisma.CollabUpdateMinOrderByAggregateInput
215
+ }
216
+
217
+ export type CollabUpdateScalarWhereWithAggregatesInput = {
218
+ AND?: Prisma.CollabUpdateScalarWhereWithAggregatesInput | Prisma.CollabUpdateScalarWhereWithAggregatesInput[]
219
+ OR?: Prisma.CollabUpdateScalarWhereWithAggregatesInput[]
220
+ NOT?: Prisma.CollabUpdateScalarWhereWithAggregatesInput | Prisma.CollabUpdateScalarWhereWithAggregatesInput[]
221
+ id?: Prisma.StringWithAggregatesFilter<"CollabUpdate"> | string
222
+ roomName?: Prisma.StringWithAggregatesFilter<"CollabUpdate"> | string
223
+ update?: Prisma.BytesWithAggregatesFilter<"CollabUpdate"> | runtime.Bytes
224
+ authorId?: Prisma.StringNullableWithAggregatesFilter<"CollabUpdate"> | string | null
225
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"CollabUpdate"> | Date | string
226
+ }
227
+
228
+ export type CollabUpdateCreateInput = {
229
+ id?: string
230
+ roomName: string
231
+ update: runtime.Bytes
232
+ authorId?: string | null
233
+ createdAt?: Date | string
234
+ }
235
+
236
+ export type CollabUpdateUncheckedCreateInput = {
237
+ id?: string
238
+ roomName: string
239
+ update: runtime.Bytes
240
+ authorId?: string | null
241
+ createdAt?: Date | string
242
+ }
243
+
244
+ export type CollabUpdateUpdateInput = {
245
+ id?: Prisma.StringFieldUpdateOperationsInput | string
246
+ roomName?: Prisma.StringFieldUpdateOperationsInput | string
247
+ update?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
248
+ authorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
249
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
250
+ }
251
+
252
+ export type CollabUpdateUncheckedUpdateInput = {
253
+ id?: Prisma.StringFieldUpdateOperationsInput | string
254
+ roomName?: Prisma.StringFieldUpdateOperationsInput | string
255
+ update?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
256
+ authorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
257
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
258
+ }
259
+
260
+ export type CollabUpdateCreateManyInput = {
261
+ id?: string
262
+ roomName: string
263
+ update: runtime.Bytes
264
+ authorId?: string | null
265
+ createdAt?: Date | string
266
+ }
267
+
268
+ export type CollabUpdateUpdateManyMutationInput = {
269
+ id?: Prisma.StringFieldUpdateOperationsInput | string
270
+ roomName?: Prisma.StringFieldUpdateOperationsInput | string
271
+ update?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
272
+ authorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
273
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
274
+ }
275
+
276
+ export type CollabUpdateUncheckedUpdateManyInput = {
277
+ id?: Prisma.StringFieldUpdateOperationsInput | string
278
+ roomName?: Prisma.StringFieldUpdateOperationsInput | string
279
+ update?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
280
+ authorId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
281
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
282
+ }
283
+
284
+ export type CollabUpdateCountOrderByAggregateInput = {
285
+ id?: Prisma.SortOrder
286
+ roomName?: Prisma.SortOrder
287
+ update?: Prisma.SortOrder
288
+ authorId?: Prisma.SortOrder
289
+ createdAt?: Prisma.SortOrder
290
+ }
291
+
292
+ export type CollabUpdateMaxOrderByAggregateInput = {
293
+ id?: Prisma.SortOrder
294
+ roomName?: Prisma.SortOrder
295
+ update?: Prisma.SortOrder
296
+ authorId?: Prisma.SortOrder
297
+ createdAt?: Prisma.SortOrder
298
+ }
299
+
300
+ export type CollabUpdateMinOrderByAggregateInput = {
301
+ id?: Prisma.SortOrder
302
+ roomName?: Prisma.SortOrder
303
+ update?: Prisma.SortOrder
304
+ authorId?: Prisma.SortOrder
305
+ createdAt?: Prisma.SortOrder
306
+ }
307
+
308
+
309
+
310
+ export type CollabUpdateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
311
+ id?: boolean
312
+ roomName?: boolean
313
+ update?: boolean
314
+ authorId?: boolean
315
+ createdAt?: boolean
316
+ }, ExtArgs["result"]["collabUpdate"]>
317
+
318
+ export type CollabUpdateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
319
+ id?: boolean
320
+ roomName?: boolean
321
+ update?: boolean
322
+ authorId?: boolean
323
+ createdAt?: boolean
324
+ }, ExtArgs["result"]["collabUpdate"]>
325
+
326
+ export type CollabUpdateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
327
+ id?: boolean
328
+ roomName?: boolean
329
+ update?: boolean
330
+ authorId?: boolean
331
+ createdAt?: boolean
332
+ }, ExtArgs["result"]["collabUpdate"]>
333
+
334
+ export type CollabUpdateSelectScalar = {
335
+ id?: boolean
336
+ roomName?: boolean
337
+ update?: boolean
338
+ authorId?: boolean
339
+ createdAt?: boolean
340
+ }
341
+
342
+ export type CollabUpdateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "roomName" | "update" | "authorId" | "createdAt", ExtArgs["result"]["collabUpdate"]>
343
+
344
+ export type $CollabUpdatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
345
+ name: "CollabUpdate"
346
+ objects: {}
347
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
348
+ id: string
349
+ roomName: string
350
+ update: runtime.Bytes
351
+ authorId: string | null
352
+ createdAt: Date
353
+ }, ExtArgs["result"]["collabUpdate"]>
354
+ composites: {}
355
+ }
356
+
357
+ export type CollabUpdateGetPayload<S extends boolean | null | undefined | CollabUpdateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload, S>
358
+
359
+ export type CollabUpdateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
360
+ Omit<CollabUpdateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
361
+ select?: CollabUpdateCountAggregateInputType | true
362
+ }
363
+
364
+ export interface CollabUpdateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
365
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CollabUpdate'], meta: { name: 'CollabUpdate' } }
366
+ /**
367
+ * Find zero or one CollabUpdate that matches the filter.
368
+ * @param {CollabUpdateFindUniqueArgs} args - Arguments to find a CollabUpdate
369
+ * @example
370
+ * // Get one CollabUpdate
371
+ * const collabUpdate = await prisma.collabUpdate.findUnique({
372
+ * where: {
373
+ * // ... provide filter here
374
+ * }
375
+ * })
376
+ */
377
+ findUnique<T extends CollabUpdateFindUniqueArgs>(args: Prisma.SelectSubset<T, CollabUpdateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CollabUpdateClient<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
378
+
379
+ /**
380
+ * Find one CollabUpdate that matches the filter or throw an error with `error.code='P2025'`
381
+ * if no matches were found.
382
+ * @param {CollabUpdateFindUniqueOrThrowArgs} args - Arguments to find a CollabUpdate
383
+ * @example
384
+ * // Get one CollabUpdate
385
+ * const collabUpdate = await prisma.collabUpdate.findUniqueOrThrow({
386
+ * where: {
387
+ * // ... provide filter here
388
+ * }
389
+ * })
390
+ */
391
+ findUniqueOrThrow<T extends CollabUpdateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CollabUpdateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CollabUpdateClient<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
392
+
393
+ /**
394
+ * Find the first CollabUpdate that matches the filter.
395
+ * Note, that providing `undefined` is treated as the value not being there.
396
+ * Read more here: https://pris.ly/d/null-undefined
397
+ * @param {CollabUpdateFindFirstArgs} args - Arguments to find a CollabUpdate
398
+ * @example
399
+ * // Get one CollabUpdate
400
+ * const collabUpdate = await prisma.collabUpdate.findFirst({
401
+ * where: {
402
+ * // ... provide filter here
403
+ * }
404
+ * })
405
+ */
406
+ findFirst<T extends CollabUpdateFindFirstArgs>(args?: Prisma.SelectSubset<T, CollabUpdateFindFirstArgs<ExtArgs>>): Prisma.Prisma__CollabUpdateClient<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
407
+
408
+ /**
409
+ * Find the first CollabUpdate that matches the filter or
410
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
411
+ * Note, that providing `undefined` is treated as the value not being there.
412
+ * Read more here: https://pris.ly/d/null-undefined
413
+ * @param {CollabUpdateFindFirstOrThrowArgs} args - Arguments to find a CollabUpdate
414
+ * @example
415
+ * // Get one CollabUpdate
416
+ * const collabUpdate = await prisma.collabUpdate.findFirstOrThrow({
417
+ * where: {
418
+ * // ... provide filter here
419
+ * }
420
+ * })
421
+ */
422
+ findFirstOrThrow<T extends CollabUpdateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CollabUpdateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CollabUpdateClient<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
423
+
424
+ /**
425
+ * Find zero or more CollabUpdates that matches the filter.
426
+ * Note, that providing `undefined` is treated as the value not being there.
427
+ * Read more here: https://pris.ly/d/null-undefined
428
+ * @param {CollabUpdateFindManyArgs} args - Arguments to filter and select certain fields only.
429
+ * @example
430
+ * // Get all CollabUpdates
431
+ * const collabUpdates = await prisma.collabUpdate.findMany()
432
+ *
433
+ * // Get first 10 CollabUpdates
434
+ * const collabUpdates = await prisma.collabUpdate.findMany({ take: 10 })
435
+ *
436
+ * // Only select the `id`
437
+ * const collabUpdateWithIdOnly = await prisma.collabUpdate.findMany({ select: { id: true } })
438
+ *
439
+ */
440
+ findMany<T extends CollabUpdateFindManyArgs>(args?: Prisma.SelectSubset<T, CollabUpdateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
441
+
442
+ /**
443
+ * Create a CollabUpdate.
444
+ * @param {CollabUpdateCreateArgs} args - Arguments to create a CollabUpdate.
445
+ * @example
446
+ * // Create one CollabUpdate
447
+ * const CollabUpdate = await prisma.collabUpdate.create({
448
+ * data: {
449
+ * // ... data to create a CollabUpdate
450
+ * }
451
+ * })
452
+ *
453
+ */
454
+ create<T extends CollabUpdateCreateArgs>(args: Prisma.SelectSubset<T, CollabUpdateCreateArgs<ExtArgs>>): Prisma.Prisma__CollabUpdateClient<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
455
+
456
+ /**
457
+ * Create many CollabUpdates.
458
+ * @param {CollabUpdateCreateManyArgs} args - Arguments to create many CollabUpdates.
459
+ * @example
460
+ * // Create many CollabUpdates
461
+ * const collabUpdate = await prisma.collabUpdate.createMany({
462
+ * data: [
463
+ * // ... provide data here
464
+ * ]
465
+ * })
466
+ *
467
+ */
468
+ createMany<T extends CollabUpdateCreateManyArgs>(args?: Prisma.SelectSubset<T, CollabUpdateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
469
+
470
+ /**
471
+ * Create many CollabUpdates and returns the data saved in the database.
472
+ * @param {CollabUpdateCreateManyAndReturnArgs} args - Arguments to create many CollabUpdates.
473
+ * @example
474
+ * // Create many CollabUpdates
475
+ * const collabUpdate = await prisma.collabUpdate.createManyAndReturn({
476
+ * data: [
477
+ * // ... provide data here
478
+ * ]
479
+ * })
480
+ *
481
+ * // Create many CollabUpdates and only return the `id`
482
+ * const collabUpdateWithIdOnly = await prisma.collabUpdate.createManyAndReturn({
483
+ * select: { id: true },
484
+ * data: [
485
+ * // ... provide data here
486
+ * ]
487
+ * })
488
+ * Note, that providing `undefined` is treated as the value not being there.
489
+ * Read more here: https://pris.ly/d/null-undefined
490
+ *
491
+ */
492
+ createManyAndReturn<T extends CollabUpdateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CollabUpdateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
493
+
494
+ /**
495
+ * Delete a CollabUpdate.
496
+ * @param {CollabUpdateDeleteArgs} args - Arguments to delete one CollabUpdate.
497
+ * @example
498
+ * // Delete one CollabUpdate
499
+ * const CollabUpdate = await prisma.collabUpdate.delete({
500
+ * where: {
501
+ * // ... filter to delete one CollabUpdate
502
+ * }
503
+ * })
504
+ *
505
+ */
506
+ delete<T extends CollabUpdateDeleteArgs>(args: Prisma.SelectSubset<T, CollabUpdateDeleteArgs<ExtArgs>>): Prisma.Prisma__CollabUpdateClient<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
507
+
508
+ /**
509
+ * Update one CollabUpdate.
510
+ * @param {CollabUpdateUpdateArgs} args - Arguments to update one CollabUpdate.
511
+ * @example
512
+ * // Update one CollabUpdate
513
+ * const collabUpdate = await prisma.collabUpdate.update({
514
+ * where: {
515
+ * // ... provide filter here
516
+ * },
517
+ * data: {
518
+ * // ... provide data here
519
+ * }
520
+ * })
521
+ *
522
+ */
523
+ update<T extends CollabUpdateUpdateArgs>(args: Prisma.SelectSubset<T, CollabUpdateUpdateArgs<ExtArgs>>): Prisma.Prisma__CollabUpdateClient<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
524
+
525
+ /**
526
+ * Delete zero or more CollabUpdates.
527
+ * @param {CollabUpdateDeleteManyArgs} args - Arguments to filter CollabUpdates to delete.
528
+ * @example
529
+ * // Delete a few CollabUpdates
530
+ * const { count } = await prisma.collabUpdate.deleteMany({
531
+ * where: {
532
+ * // ... provide filter here
533
+ * }
534
+ * })
535
+ *
536
+ */
537
+ deleteMany<T extends CollabUpdateDeleteManyArgs>(args?: Prisma.SelectSubset<T, CollabUpdateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
538
+
539
+ /**
540
+ * Update zero or more CollabUpdates.
541
+ * Note, that providing `undefined` is treated as the value not being there.
542
+ * Read more here: https://pris.ly/d/null-undefined
543
+ * @param {CollabUpdateUpdateManyArgs} args - Arguments to update one or more rows.
544
+ * @example
545
+ * // Update many CollabUpdates
546
+ * const collabUpdate = await prisma.collabUpdate.updateMany({
547
+ * where: {
548
+ * // ... provide filter here
549
+ * },
550
+ * data: {
551
+ * // ... provide data here
552
+ * }
553
+ * })
554
+ *
555
+ */
556
+ updateMany<T extends CollabUpdateUpdateManyArgs>(args: Prisma.SelectSubset<T, CollabUpdateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
557
+
558
+ /**
559
+ * Update zero or more CollabUpdates and returns the data updated in the database.
560
+ * @param {CollabUpdateUpdateManyAndReturnArgs} args - Arguments to update many CollabUpdates.
561
+ * @example
562
+ * // Update many CollabUpdates
563
+ * const collabUpdate = await prisma.collabUpdate.updateManyAndReturn({
564
+ * where: {
565
+ * // ... provide filter here
566
+ * },
567
+ * data: [
568
+ * // ... provide data here
569
+ * ]
570
+ * })
571
+ *
572
+ * // Update zero or more CollabUpdates and only return the `id`
573
+ * const collabUpdateWithIdOnly = await prisma.collabUpdate.updateManyAndReturn({
574
+ * select: { id: true },
575
+ * where: {
576
+ * // ... provide filter here
577
+ * },
578
+ * data: [
579
+ * // ... provide data here
580
+ * ]
581
+ * })
582
+ * Note, that providing `undefined` is treated as the value not being there.
583
+ * Read more here: https://pris.ly/d/null-undefined
584
+ *
585
+ */
586
+ updateManyAndReturn<T extends CollabUpdateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CollabUpdateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
587
+
588
+ /**
589
+ * Create or update one CollabUpdate.
590
+ * @param {CollabUpdateUpsertArgs} args - Arguments to update or create a CollabUpdate.
591
+ * @example
592
+ * // Update or create a CollabUpdate
593
+ * const collabUpdate = await prisma.collabUpdate.upsert({
594
+ * create: {
595
+ * // ... data to create a CollabUpdate
596
+ * },
597
+ * update: {
598
+ * // ... in case it already exists, update
599
+ * },
600
+ * where: {
601
+ * // ... the filter for the CollabUpdate we want to update
602
+ * }
603
+ * })
604
+ */
605
+ upsert<T extends CollabUpdateUpsertArgs>(args: Prisma.SelectSubset<T, CollabUpdateUpsertArgs<ExtArgs>>): Prisma.Prisma__CollabUpdateClient<runtime.Types.Result.GetResult<Prisma.$CollabUpdatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
606
+
607
+
608
+ /**
609
+ * Count the number of CollabUpdates.
610
+ * Note, that providing `undefined` is treated as the value not being there.
611
+ * Read more here: https://pris.ly/d/null-undefined
612
+ * @param {CollabUpdateCountArgs} args - Arguments to filter CollabUpdates to count.
613
+ * @example
614
+ * // Count the number of CollabUpdates
615
+ * const count = await prisma.collabUpdate.count({
616
+ * where: {
617
+ * // ... the filter for the CollabUpdates we want to count
618
+ * }
619
+ * })
620
+ **/
621
+ count<T extends CollabUpdateCountArgs>(
622
+ args?: Prisma.Subset<T, CollabUpdateCountArgs>,
623
+ ): Prisma.PrismaPromise<
624
+ T extends runtime.Types.Utils.Record<'select', any>
625
+ ? T['select'] extends true
626
+ ? number
627
+ : Prisma.GetScalarType<T['select'], CollabUpdateCountAggregateOutputType>
628
+ : number
629
+ >
630
+
631
+ /**
632
+ * Allows you to perform aggregations operations on a CollabUpdate.
633
+ * Note, that providing `undefined` is treated as the value not being there.
634
+ * Read more here: https://pris.ly/d/null-undefined
635
+ * @param {CollabUpdateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
636
+ * @example
637
+ * // Ordered by age ascending
638
+ * // Where email contains prisma.io
639
+ * // Limited to the 10 users
640
+ * const aggregations = await prisma.user.aggregate({
641
+ * _avg: {
642
+ * age: true,
643
+ * },
644
+ * where: {
645
+ * email: {
646
+ * contains: "prisma.io",
647
+ * },
648
+ * },
649
+ * orderBy: {
650
+ * age: "asc",
651
+ * },
652
+ * take: 10,
653
+ * })
654
+ **/
655
+ aggregate<T extends CollabUpdateAggregateArgs>(args: Prisma.Subset<T, CollabUpdateAggregateArgs>): Prisma.PrismaPromise<GetCollabUpdateAggregateType<T>>
656
+
657
+ /**
658
+ * Group by CollabUpdate.
659
+ * Note, that providing `undefined` is treated as the value not being there.
660
+ * Read more here: https://pris.ly/d/null-undefined
661
+ * @param {CollabUpdateGroupByArgs} args - Group by arguments.
662
+ * @example
663
+ * // Group by city, order by createdAt, get count
664
+ * const result = await prisma.user.groupBy({
665
+ * by: ['city', 'createdAt'],
666
+ * orderBy: {
667
+ * createdAt: true
668
+ * },
669
+ * _count: {
670
+ * _all: true
671
+ * },
672
+ * })
673
+ *
674
+ **/
675
+ groupBy<
676
+ T extends CollabUpdateGroupByArgs,
677
+ HasSelectOrTake extends Prisma.Or<
678
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
679
+ Prisma.Extends<'take', Prisma.Keys<T>>
680
+ >,
681
+ OrderByArg extends Prisma.True extends HasSelectOrTake
682
+ ? { orderBy: CollabUpdateGroupByArgs['orderBy'] }
683
+ : { orderBy?: CollabUpdateGroupByArgs['orderBy'] },
684
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
685
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
686
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
687
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
688
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
689
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
690
+ InputErrors extends ByEmpty extends Prisma.True
691
+ ? `Error: "by" must not be empty.`
692
+ : HavingValid extends Prisma.False
693
+ ? {
694
+ [P in HavingFields]: P extends ByFields
695
+ ? never
696
+ : P extends string
697
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
698
+ : [
699
+ Error,
700
+ 'Field ',
701
+ P,
702
+ ` in "having" needs to be provided in "by"`,
703
+ ]
704
+ }[HavingFields]
705
+ : 'take' extends Prisma.Keys<T>
706
+ ? 'orderBy' extends Prisma.Keys<T>
707
+ ? ByValid extends Prisma.True
708
+ ? {}
709
+ : {
710
+ [P in OrderFields]: P extends ByFields
711
+ ? never
712
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
713
+ }[OrderFields]
714
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
715
+ : 'skip' extends Prisma.Keys<T>
716
+ ? 'orderBy' extends Prisma.Keys<T>
717
+ ? ByValid extends Prisma.True
718
+ ? {}
719
+ : {
720
+ [P in OrderFields]: P extends ByFields
721
+ ? never
722
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
723
+ }[OrderFields]
724
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
725
+ : ByValid extends Prisma.True
726
+ ? {}
727
+ : {
728
+ [P in OrderFields]: P extends ByFields
729
+ ? never
730
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
731
+ }[OrderFields]
732
+ >(args: Prisma.SubsetIntersection<T, CollabUpdateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCollabUpdateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
733
+ /**
734
+ * Fields of the CollabUpdate model
735
+ */
736
+ readonly fields: CollabUpdateFieldRefs;
737
+ }
738
+
739
+ /**
740
+ * The delegate class that acts as a "Promise-like" for CollabUpdate.
741
+ * Why is this prefixed with `Prisma__`?
742
+ * Because we want to prevent naming conflicts as mentioned in
743
+ * https://github.com/prisma/prisma-client-js/issues/707
744
+ */
745
+ export interface Prisma__CollabUpdateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
746
+ readonly [Symbol.toStringTag]: "PrismaPromise"
747
+ /**
748
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
749
+ * @param onfulfilled The callback to execute when the Promise is resolved.
750
+ * @param onrejected The callback to execute when the Promise is rejected.
751
+ * @returns A Promise for the completion of which ever callback is executed.
752
+ */
753
+ 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>
754
+ /**
755
+ * Attaches a callback for only the rejection of the Promise.
756
+ * @param onrejected The callback to execute when the Promise is rejected.
757
+ * @returns A Promise for the completion of the callback.
758
+ */
759
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
760
+ /**
761
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
762
+ * resolved value cannot be modified from the callback.
763
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
764
+ * @returns A Promise for the completion of the callback.
765
+ */
766
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
767
+ }
768
+
769
+
770
+
771
+
772
+ /**
773
+ * Fields of the CollabUpdate model
774
+ */
775
+ export interface CollabUpdateFieldRefs {
776
+ readonly id: Prisma.FieldRef<"CollabUpdate", 'String'>
777
+ readonly roomName: Prisma.FieldRef<"CollabUpdate", 'String'>
778
+ readonly update: Prisma.FieldRef<"CollabUpdate", 'Bytes'>
779
+ readonly authorId: Prisma.FieldRef<"CollabUpdate", 'String'>
780
+ readonly createdAt: Prisma.FieldRef<"CollabUpdate", 'DateTime'>
781
+ }
782
+
783
+
784
+ // Custom InputTypes
785
+ /**
786
+ * CollabUpdate findUnique
787
+ */
788
+ export type CollabUpdateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
789
+ /**
790
+ * Select specific fields to fetch from the CollabUpdate
791
+ */
792
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
793
+ /**
794
+ * Omit specific fields from the CollabUpdate
795
+ */
796
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
797
+ /**
798
+ * Filter, which CollabUpdate to fetch.
799
+ */
800
+ where: Prisma.CollabUpdateWhereUniqueInput
801
+ }
802
+
803
+ /**
804
+ * CollabUpdate findUniqueOrThrow
805
+ */
806
+ export type CollabUpdateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
807
+ /**
808
+ * Select specific fields to fetch from the CollabUpdate
809
+ */
810
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
811
+ /**
812
+ * Omit specific fields from the CollabUpdate
813
+ */
814
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
815
+ /**
816
+ * Filter, which CollabUpdate to fetch.
817
+ */
818
+ where: Prisma.CollabUpdateWhereUniqueInput
819
+ }
820
+
821
+ /**
822
+ * CollabUpdate findFirst
823
+ */
824
+ export type CollabUpdateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
825
+ /**
826
+ * Select specific fields to fetch from the CollabUpdate
827
+ */
828
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
829
+ /**
830
+ * Omit specific fields from the CollabUpdate
831
+ */
832
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
833
+ /**
834
+ * Filter, which CollabUpdate to fetch.
835
+ */
836
+ where?: Prisma.CollabUpdateWhereInput
837
+ /**
838
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
839
+ *
840
+ * Determine the order of CollabUpdates to fetch.
841
+ */
842
+ orderBy?: Prisma.CollabUpdateOrderByWithRelationInput | Prisma.CollabUpdateOrderByWithRelationInput[]
843
+ /**
844
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
845
+ *
846
+ * Sets the position for searching for CollabUpdates.
847
+ */
848
+ cursor?: Prisma.CollabUpdateWhereUniqueInput
849
+ /**
850
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
851
+ *
852
+ * Take `±n` CollabUpdates from the position of the cursor.
853
+ */
854
+ take?: number
855
+ /**
856
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
857
+ *
858
+ * Skip the first `n` CollabUpdates.
859
+ */
860
+ skip?: number
861
+ /**
862
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
863
+ *
864
+ * Filter by unique combinations of CollabUpdates.
865
+ */
866
+ distinct?: Prisma.CollabUpdateScalarFieldEnum | Prisma.CollabUpdateScalarFieldEnum[]
867
+ }
868
+
869
+ /**
870
+ * CollabUpdate findFirstOrThrow
871
+ */
872
+ export type CollabUpdateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
873
+ /**
874
+ * Select specific fields to fetch from the CollabUpdate
875
+ */
876
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
877
+ /**
878
+ * Omit specific fields from the CollabUpdate
879
+ */
880
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
881
+ /**
882
+ * Filter, which CollabUpdate to fetch.
883
+ */
884
+ where?: Prisma.CollabUpdateWhereInput
885
+ /**
886
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
887
+ *
888
+ * Determine the order of CollabUpdates to fetch.
889
+ */
890
+ orderBy?: Prisma.CollabUpdateOrderByWithRelationInput | Prisma.CollabUpdateOrderByWithRelationInput[]
891
+ /**
892
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
893
+ *
894
+ * Sets the position for searching for CollabUpdates.
895
+ */
896
+ cursor?: Prisma.CollabUpdateWhereUniqueInput
897
+ /**
898
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
899
+ *
900
+ * Take `±n` CollabUpdates from the position of the cursor.
901
+ */
902
+ take?: number
903
+ /**
904
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
905
+ *
906
+ * Skip the first `n` CollabUpdates.
907
+ */
908
+ skip?: number
909
+ /**
910
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
911
+ *
912
+ * Filter by unique combinations of CollabUpdates.
913
+ */
914
+ distinct?: Prisma.CollabUpdateScalarFieldEnum | Prisma.CollabUpdateScalarFieldEnum[]
915
+ }
916
+
917
+ /**
918
+ * CollabUpdate findMany
919
+ */
920
+ export type CollabUpdateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
921
+ /**
922
+ * Select specific fields to fetch from the CollabUpdate
923
+ */
924
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
925
+ /**
926
+ * Omit specific fields from the CollabUpdate
927
+ */
928
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
929
+ /**
930
+ * Filter, which CollabUpdates to fetch.
931
+ */
932
+ where?: Prisma.CollabUpdateWhereInput
933
+ /**
934
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
935
+ *
936
+ * Determine the order of CollabUpdates to fetch.
937
+ */
938
+ orderBy?: Prisma.CollabUpdateOrderByWithRelationInput | Prisma.CollabUpdateOrderByWithRelationInput[]
939
+ /**
940
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
941
+ *
942
+ * Sets the position for listing CollabUpdates.
943
+ */
944
+ cursor?: Prisma.CollabUpdateWhereUniqueInput
945
+ /**
946
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
947
+ *
948
+ * Take `±n` CollabUpdates from the position of the cursor.
949
+ */
950
+ take?: number
951
+ /**
952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
953
+ *
954
+ * Skip the first `n` CollabUpdates.
955
+ */
956
+ skip?: number
957
+ /**
958
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
959
+ *
960
+ * Filter by unique combinations of CollabUpdates.
961
+ */
962
+ distinct?: Prisma.CollabUpdateScalarFieldEnum | Prisma.CollabUpdateScalarFieldEnum[]
963
+ }
964
+
965
+ /**
966
+ * CollabUpdate create
967
+ */
968
+ export type CollabUpdateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
969
+ /**
970
+ * Select specific fields to fetch from the CollabUpdate
971
+ */
972
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
973
+ /**
974
+ * Omit specific fields from the CollabUpdate
975
+ */
976
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
977
+ /**
978
+ * The data needed to create a CollabUpdate.
979
+ */
980
+ data: Prisma.XOR<Prisma.CollabUpdateCreateInput, Prisma.CollabUpdateUncheckedCreateInput>
981
+ }
982
+
983
+ /**
984
+ * CollabUpdate createMany
985
+ */
986
+ export type CollabUpdateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
987
+ /**
988
+ * The data used to create many CollabUpdates.
989
+ */
990
+ data: Prisma.CollabUpdateCreateManyInput | Prisma.CollabUpdateCreateManyInput[]
991
+ skipDuplicates?: boolean
992
+ }
993
+
994
+ /**
995
+ * CollabUpdate createManyAndReturn
996
+ */
997
+ export type CollabUpdateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
998
+ /**
999
+ * Select specific fields to fetch from the CollabUpdate
1000
+ */
1001
+ select?: Prisma.CollabUpdateSelectCreateManyAndReturn<ExtArgs> | null
1002
+ /**
1003
+ * Omit specific fields from the CollabUpdate
1004
+ */
1005
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
1006
+ /**
1007
+ * The data used to create many CollabUpdates.
1008
+ */
1009
+ data: Prisma.CollabUpdateCreateManyInput | Prisma.CollabUpdateCreateManyInput[]
1010
+ skipDuplicates?: boolean
1011
+ }
1012
+
1013
+ /**
1014
+ * CollabUpdate update
1015
+ */
1016
+ export type CollabUpdateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1017
+ /**
1018
+ * Select specific fields to fetch from the CollabUpdate
1019
+ */
1020
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
1021
+ /**
1022
+ * Omit specific fields from the CollabUpdate
1023
+ */
1024
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
1025
+ /**
1026
+ * The data needed to update a CollabUpdate.
1027
+ */
1028
+ data: Prisma.XOR<Prisma.CollabUpdateUpdateInput, Prisma.CollabUpdateUncheckedUpdateInput>
1029
+ /**
1030
+ * Choose, which CollabUpdate to update.
1031
+ */
1032
+ where: Prisma.CollabUpdateWhereUniqueInput
1033
+ }
1034
+
1035
+ /**
1036
+ * CollabUpdate updateMany
1037
+ */
1038
+ export type CollabUpdateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1039
+ /**
1040
+ * The data used to update CollabUpdates.
1041
+ */
1042
+ data: Prisma.XOR<Prisma.CollabUpdateUpdateManyMutationInput, Prisma.CollabUpdateUncheckedUpdateManyInput>
1043
+ /**
1044
+ * Filter which CollabUpdates to update
1045
+ */
1046
+ where?: Prisma.CollabUpdateWhereInput
1047
+ /**
1048
+ * Limit how many CollabUpdates to update.
1049
+ */
1050
+ limit?: number
1051
+ }
1052
+
1053
+ /**
1054
+ * CollabUpdate updateManyAndReturn
1055
+ */
1056
+ export type CollabUpdateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1057
+ /**
1058
+ * Select specific fields to fetch from the CollabUpdate
1059
+ */
1060
+ select?: Prisma.CollabUpdateSelectUpdateManyAndReturn<ExtArgs> | null
1061
+ /**
1062
+ * Omit specific fields from the CollabUpdate
1063
+ */
1064
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
1065
+ /**
1066
+ * The data used to update CollabUpdates.
1067
+ */
1068
+ data: Prisma.XOR<Prisma.CollabUpdateUpdateManyMutationInput, Prisma.CollabUpdateUncheckedUpdateManyInput>
1069
+ /**
1070
+ * Filter which CollabUpdates to update
1071
+ */
1072
+ where?: Prisma.CollabUpdateWhereInput
1073
+ /**
1074
+ * Limit how many CollabUpdates to update.
1075
+ */
1076
+ limit?: number
1077
+ }
1078
+
1079
+ /**
1080
+ * CollabUpdate upsert
1081
+ */
1082
+ export type CollabUpdateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1083
+ /**
1084
+ * Select specific fields to fetch from the CollabUpdate
1085
+ */
1086
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
1087
+ /**
1088
+ * Omit specific fields from the CollabUpdate
1089
+ */
1090
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
1091
+ /**
1092
+ * The filter to search for the CollabUpdate to update in case it exists.
1093
+ */
1094
+ where: Prisma.CollabUpdateWhereUniqueInput
1095
+ /**
1096
+ * In case the CollabUpdate found by the `where` argument doesn't exist, create a new CollabUpdate with this data.
1097
+ */
1098
+ create: Prisma.XOR<Prisma.CollabUpdateCreateInput, Prisma.CollabUpdateUncheckedCreateInput>
1099
+ /**
1100
+ * In case the CollabUpdate was found with the provided `where` argument, update it with this data.
1101
+ */
1102
+ update: Prisma.XOR<Prisma.CollabUpdateUpdateInput, Prisma.CollabUpdateUncheckedUpdateInput>
1103
+ }
1104
+
1105
+ /**
1106
+ * CollabUpdate delete
1107
+ */
1108
+ export type CollabUpdateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1109
+ /**
1110
+ * Select specific fields to fetch from the CollabUpdate
1111
+ */
1112
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
1113
+ /**
1114
+ * Omit specific fields from the CollabUpdate
1115
+ */
1116
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
1117
+ /**
1118
+ * Filter which CollabUpdate to delete.
1119
+ */
1120
+ where: Prisma.CollabUpdateWhereUniqueInput
1121
+ }
1122
+
1123
+ /**
1124
+ * CollabUpdate deleteMany
1125
+ */
1126
+ export type CollabUpdateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1127
+ /**
1128
+ * Filter which CollabUpdates to delete
1129
+ */
1130
+ where?: Prisma.CollabUpdateWhereInput
1131
+ /**
1132
+ * Limit how many CollabUpdates to delete.
1133
+ */
1134
+ limit?: number
1135
+ }
1136
+
1137
+ /**
1138
+ * CollabUpdate without action
1139
+ */
1140
+ export type CollabUpdateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1141
+ /**
1142
+ * Select specific fields to fetch from the CollabUpdate
1143
+ */
1144
+ select?: Prisma.CollabUpdateSelect<ExtArgs> | null
1145
+ /**
1146
+ * Omit specific fields from the CollabUpdate
1147
+ */
1148
+ omit?: Prisma.CollabUpdateOmit<ExtArgs> | null
1149
+ }