@allbluecn/database 0.9.2 → 0.9.4

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