@junobuild/functions 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,4 @@
1
- import type { baseObjectInputType, baseObjectOutputType, ZodObject, ZodTypeAny } from 'zod';
2
- import * as z from 'zod';
1
+ import * as z from 'zod/v4';
3
2
  import { type OptionDoc } from '../../../schemas/db';
4
3
  import { type Collection, type Key } from '../../../schemas/satellite';
5
4
  import { type HookContext } from '../context';
@@ -7,19 +6,11 @@ import { type DocAssertDelete, type DocAssertSet, type DocUpsert } from './paylo
7
6
  /**
8
7
  * @see DocContext
9
8
  */
10
- export declare const DocContextSchema: <T extends z.ZodTypeAny>(dataSchema: T) => ZodObject<{
9
+ export declare const DocContextSchema: <T extends z.ZodTypeAny>(dataSchema: T) => z.ZodObject<{
11
10
  collection: z.ZodString;
12
11
  key: z.ZodString;
13
12
  data: T;
14
- }, "strict", ZodTypeAny, baseObjectOutputType<{
15
- collection: z.ZodString;
16
- key: z.ZodString;
17
- data: T;
18
- }>, baseObjectInputType<{
19
- collection: z.ZodString;
20
- key: z.ZodString;
21
- data: T;
22
- }>>;
13
+ }, z.core.$strict>;
23
14
  /**
24
15
  * Represents the context of a document operation within a collection.
25
16
  *
@@ -42,763 +33,31 @@ export interface DocContext<T> {
42
33
  /**
43
34
  * @see OnSetDocContext
44
35
  */
45
- export declare const OnSetDocContextSchema: ZodObject<{
46
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
47
- data: ZodObject<{
48
- collection: z.ZodString;
49
- key: z.ZodString;
50
- data: ZodObject<{
51
- before: z.ZodOptional<ZodObject<{
52
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
53
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
54
- description: z.ZodOptional<z.ZodString>;
55
- created_at: z.ZodBigInt;
56
- updated_at: z.ZodBigInt;
57
- version: z.ZodOptional<z.ZodBigInt>;
58
- }, "strict", ZodTypeAny, {
59
- owner: Uint8Array<ArrayBufferLike>;
60
- data: Uint8Array<ArrayBufferLike>;
61
- created_at: bigint;
62
- updated_at: bigint;
63
- description?: string | undefined;
64
- version?: bigint | undefined;
65
- }, {
66
- owner: Uint8Array<ArrayBufferLike>;
67
- data: Uint8Array<ArrayBufferLike>;
68
- created_at: bigint;
69
- updated_at: bigint;
70
- description?: string | undefined;
71
- version?: bigint | undefined;
72
- }>>;
73
- after: ZodObject<{
74
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
75
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
76
- description: z.ZodOptional<z.ZodString>;
77
- created_at: z.ZodBigInt;
78
- updated_at: z.ZodBigInt;
79
- version: z.ZodOptional<z.ZodBigInt>;
80
- }, "strict", ZodTypeAny, {
81
- owner: Uint8Array<ArrayBufferLike>;
82
- data: Uint8Array<ArrayBufferLike>;
83
- created_at: bigint;
84
- updated_at: bigint;
85
- description?: string | undefined;
86
- version?: bigint | undefined;
87
- }, {
88
- owner: Uint8Array<ArrayBufferLike>;
89
- data: Uint8Array<ArrayBufferLike>;
90
- created_at: bigint;
91
- updated_at: bigint;
92
- description?: string | undefined;
93
- version?: bigint | undefined;
94
- }>;
95
- }, "strict", ZodTypeAny, {
96
- after: {
97
- owner: Uint8Array<ArrayBufferLike>;
98
- data: Uint8Array<ArrayBufferLike>;
99
- created_at: bigint;
100
- updated_at: bigint;
101
- description?: string | undefined;
102
- version?: bigint | undefined;
103
- };
104
- before?: {
105
- owner: Uint8Array<ArrayBufferLike>;
106
- data: Uint8Array<ArrayBufferLike>;
107
- created_at: bigint;
108
- updated_at: bigint;
109
- description?: string | undefined;
110
- version?: bigint | undefined;
111
- } | undefined;
112
- }, {
113
- after: {
114
- owner: Uint8Array<ArrayBufferLike>;
115
- data: Uint8Array<ArrayBufferLike>;
116
- created_at: bigint;
117
- updated_at: bigint;
118
- description?: string | undefined;
119
- version?: bigint | undefined;
120
- };
121
- before?: {
122
- owner: Uint8Array<ArrayBufferLike>;
123
- data: Uint8Array<ArrayBufferLike>;
124
- created_at: bigint;
125
- updated_at: bigint;
126
- description?: string | undefined;
127
- version?: bigint | undefined;
128
- } | undefined;
129
- }>;
130
- }, "strict", ZodTypeAny, baseObjectOutputType<{
131
- collection: z.ZodString;
132
- key: z.ZodString;
133
- data: ZodObject<{
134
- before: z.ZodOptional<ZodObject<{
135
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
136
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
137
- description: z.ZodOptional<z.ZodString>;
138
- created_at: z.ZodBigInt;
139
- updated_at: z.ZodBigInt;
140
- version: z.ZodOptional<z.ZodBigInt>;
141
- }, "strict", ZodTypeAny, {
142
- owner: Uint8Array<ArrayBufferLike>;
143
- data: Uint8Array<ArrayBufferLike>;
144
- created_at: bigint;
145
- updated_at: bigint;
146
- description?: string | undefined;
147
- version?: bigint | undefined;
148
- }, {
149
- owner: Uint8Array<ArrayBufferLike>;
150
- data: Uint8Array<ArrayBufferLike>;
151
- created_at: bigint;
152
- updated_at: bigint;
153
- description?: string | undefined;
154
- version?: bigint | undefined;
155
- }>>;
156
- after: ZodObject<{
157
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
158
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
159
- description: z.ZodOptional<z.ZodString>;
160
- created_at: z.ZodBigInt;
161
- updated_at: z.ZodBigInt;
162
- version: z.ZodOptional<z.ZodBigInt>;
163
- }, "strict", ZodTypeAny, {
164
- owner: Uint8Array<ArrayBufferLike>;
165
- data: Uint8Array<ArrayBufferLike>;
166
- created_at: bigint;
167
- updated_at: bigint;
168
- description?: string | undefined;
169
- version?: bigint | undefined;
170
- }, {
171
- owner: Uint8Array<ArrayBufferLike>;
172
- data: Uint8Array<ArrayBufferLike>;
173
- created_at: bigint;
174
- updated_at: bigint;
175
- description?: string | undefined;
176
- version?: bigint | undefined;
177
- }>;
178
- }, "strict", ZodTypeAny, {
179
- after: {
180
- owner: Uint8Array<ArrayBufferLike>;
181
- data: Uint8Array<ArrayBufferLike>;
182
- created_at: bigint;
183
- updated_at: bigint;
184
- description?: string | undefined;
185
- version?: bigint | undefined;
186
- };
187
- before?: {
188
- owner: Uint8Array<ArrayBufferLike>;
189
- data: Uint8Array<ArrayBufferLike>;
190
- created_at: bigint;
191
- updated_at: bigint;
192
- description?: string | undefined;
193
- version?: bigint | undefined;
194
- } | undefined;
195
- }, {
196
- after: {
197
- owner: Uint8Array<ArrayBufferLike>;
198
- data: Uint8Array<ArrayBufferLike>;
199
- created_at: bigint;
200
- updated_at: bigint;
201
- description?: string | undefined;
202
- version?: bigint | undefined;
203
- };
204
- before?: {
205
- owner: Uint8Array<ArrayBufferLike>;
206
- data: Uint8Array<ArrayBufferLike>;
207
- created_at: bigint;
208
- updated_at: bigint;
209
- description?: string | undefined;
210
- version?: bigint | undefined;
211
- } | undefined;
212
- }>;
213
- }>, baseObjectInputType<{
214
- collection: z.ZodString;
215
- key: z.ZodString;
216
- data: ZodObject<{
217
- before: z.ZodOptional<ZodObject<{
218
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
219
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
220
- description: z.ZodOptional<z.ZodString>;
221
- created_at: z.ZodBigInt;
222
- updated_at: z.ZodBigInt;
223
- version: z.ZodOptional<z.ZodBigInt>;
224
- }, "strict", ZodTypeAny, {
225
- owner: Uint8Array<ArrayBufferLike>;
226
- data: Uint8Array<ArrayBufferLike>;
227
- created_at: bigint;
228
- updated_at: bigint;
229
- description?: string | undefined;
230
- version?: bigint | undefined;
231
- }, {
232
- owner: Uint8Array<ArrayBufferLike>;
233
- data: Uint8Array<ArrayBufferLike>;
234
- created_at: bigint;
235
- updated_at: bigint;
236
- description?: string | undefined;
237
- version?: bigint | undefined;
238
- }>>;
239
- after: ZodObject<{
240
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
241
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
242
- description: z.ZodOptional<z.ZodString>;
243
- created_at: z.ZodBigInt;
244
- updated_at: z.ZodBigInt;
245
- version: z.ZodOptional<z.ZodBigInt>;
246
- }, "strict", ZodTypeAny, {
247
- owner: Uint8Array<ArrayBufferLike>;
248
- data: Uint8Array<ArrayBufferLike>;
249
- created_at: bigint;
250
- updated_at: bigint;
251
- description?: string | undefined;
252
- version?: bigint | undefined;
253
- }, {
254
- owner: Uint8Array<ArrayBufferLike>;
255
- data: Uint8Array<ArrayBufferLike>;
256
- created_at: bigint;
257
- updated_at: bigint;
258
- description?: string | undefined;
259
- version?: bigint | undefined;
260
- }>;
261
- }, "strict", ZodTypeAny, {
262
- after: {
263
- owner: Uint8Array<ArrayBufferLike>;
264
- data: Uint8Array<ArrayBufferLike>;
265
- created_at: bigint;
266
- updated_at: bigint;
267
- description?: string | undefined;
268
- version?: bigint | undefined;
269
- };
270
- before?: {
271
- owner: Uint8Array<ArrayBufferLike>;
272
- data: Uint8Array<ArrayBufferLike>;
273
- created_at: bigint;
274
- updated_at: bigint;
275
- description?: string | undefined;
276
- version?: bigint | undefined;
277
- } | undefined;
278
- }, {
279
- after: {
280
- owner: Uint8Array<ArrayBufferLike>;
281
- data: Uint8Array<ArrayBufferLike>;
282
- created_at: bigint;
283
- updated_at: bigint;
284
- description?: string | undefined;
285
- version?: bigint | undefined;
286
- };
287
- before?: {
288
- owner: Uint8Array<ArrayBufferLike>;
289
- data: Uint8Array<ArrayBufferLike>;
290
- created_at: bigint;
291
- updated_at: bigint;
292
- description?: string | undefined;
293
- version?: bigint | undefined;
294
- } | undefined;
295
- }>;
296
- }>>;
297
- }, "strict", ZodTypeAny, baseObjectOutputType<{
298
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
299
- data: ZodObject<{
300
- collection: z.ZodString;
301
- key: z.ZodString;
302
- data: ZodObject<{
303
- before: z.ZodOptional<ZodObject<{
304
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
305
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
306
- description: z.ZodOptional<z.ZodString>;
307
- created_at: z.ZodBigInt;
308
- updated_at: z.ZodBigInt;
309
- version: z.ZodOptional<z.ZodBigInt>;
310
- }, "strict", ZodTypeAny, {
311
- owner: Uint8Array<ArrayBufferLike>;
312
- data: Uint8Array<ArrayBufferLike>;
313
- created_at: bigint;
314
- updated_at: bigint;
315
- description?: string | undefined;
316
- version?: bigint | undefined;
317
- }, {
318
- owner: Uint8Array<ArrayBufferLike>;
319
- data: Uint8Array<ArrayBufferLike>;
320
- created_at: bigint;
321
- updated_at: bigint;
322
- description?: string | undefined;
323
- version?: bigint | undefined;
324
- }>>;
325
- after: ZodObject<{
326
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
327
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
328
- description: z.ZodOptional<z.ZodString>;
329
- created_at: z.ZodBigInt;
330
- updated_at: z.ZodBigInt;
331
- version: z.ZodOptional<z.ZodBigInt>;
332
- }, "strict", ZodTypeAny, {
333
- owner: Uint8Array<ArrayBufferLike>;
334
- data: Uint8Array<ArrayBufferLike>;
335
- created_at: bigint;
336
- updated_at: bigint;
337
- description?: string | undefined;
338
- version?: bigint | undefined;
339
- }, {
340
- owner: Uint8Array<ArrayBufferLike>;
341
- data: Uint8Array<ArrayBufferLike>;
342
- created_at: bigint;
343
- updated_at: bigint;
344
- description?: string | undefined;
345
- version?: bigint | undefined;
346
- }>;
347
- }, "strict", ZodTypeAny, {
348
- after: {
349
- owner: Uint8Array<ArrayBufferLike>;
350
- data: Uint8Array<ArrayBufferLike>;
351
- created_at: bigint;
352
- updated_at: bigint;
353
- description?: string | undefined;
354
- version?: bigint | undefined;
355
- };
356
- before?: {
357
- owner: Uint8Array<ArrayBufferLike>;
358
- data: Uint8Array<ArrayBufferLike>;
359
- created_at: bigint;
360
- updated_at: bigint;
361
- description?: string | undefined;
362
- version?: bigint | undefined;
363
- } | undefined;
364
- }, {
365
- after: {
366
- owner: Uint8Array<ArrayBufferLike>;
367
- data: Uint8Array<ArrayBufferLike>;
368
- created_at: bigint;
369
- updated_at: bigint;
370
- description?: string | undefined;
371
- version?: bigint | undefined;
372
- };
373
- before?: {
374
- owner: Uint8Array<ArrayBufferLike>;
375
- data: Uint8Array<ArrayBufferLike>;
376
- created_at: bigint;
377
- updated_at: bigint;
378
- description?: string | undefined;
379
- version?: bigint | undefined;
380
- } | undefined;
381
- }>;
382
- }, "strict", ZodTypeAny, baseObjectOutputType<{
383
- collection: z.ZodString;
384
- key: z.ZodString;
385
- data: ZodObject<{
386
- before: z.ZodOptional<ZodObject<{
387
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
388
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
389
- description: z.ZodOptional<z.ZodString>;
390
- created_at: z.ZodBigInt;
391
- updated_at: z.ZodBigInt;
392
- version: z.ZodOptional<z.ZodBigInt>;
393
- }, "strict", ZodTypeAny, {
394
- owner: Uint8Array<ArrayBufferLike>;
395
- data: Uint8Array<ArrayBufferLike>;
396
- created_at: bigint;
397
- updated_at: bigint;
398
- description?: string | undefined;
399
- version?: bigint | undefined;
400
- }, {
401
- owner: Uint8Array<ArrayBufferLike>;
402
- data: Uint8Array<ArrayBufferLike>;
403
- created_at: bigint;
404
- updated_at: bigint;
405
- description?: string | undefined;
406
- version?: bigint | undefined;
407
- }>>;
408
- after: ZodObject<{
409
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
410
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
411
- description: z.ZodOptional<z.ZodString>;
412
- created_at: z.ZodBigInt;
413
- updated_at: z.ZodBigInt;
414
- version: z.ZodOptional<z.ZodBigInt>;
415
- }, "strict", ZodTypeAny, {
416
- owner: Uint8Array<ArrayBufferLike>;
417
- data: Uint8Array<ArrayBufferLike>;
418
- created_at: bigint;
419
- updated_at: bigint;
420
- description?: string | undefined;
421
- version?: bigint | undefined;
422
- }, {
423
- owner: Uint8Array<ArrayBufferLike>;
424
- data: Uint8Array<ArrayBufferLike>;
425
- created_at: bigint;
426
- updated_at: bigint;
427
- description?: string | undefined;
428
- version?: bigint | undefined;
429
- }>;
430
- }, "strict", ZodTypeAny, {
431
- after: {
432
- owner: Uint8Array<ArrayBufferLike>;
433
- data: Uint8Array<ArrayBufferLike>;
434
- created_at: bigint;
435
- updated_at: bigint;
436
- description?: string | undefined;
437
- version?: bigint | undefined;
438
- };
439
- before?: {
440
- owner: Uint8Array<ArrayBufferLike>;
441
- data: Uint8Array<ArrayBufferLike>;
442
- created_at: bigint;
443
- updated_at: bigint;
444
- description?: string | undefined;
445
- version?: bigint | undefined;
446
- } | undefined;
447
- }, {
448
- after: {
449
- owner: Uint8Array<ArrayBufferLike>;
450
- data: Uint8Array<ArrayBufferLike>;
451
- created_at: bigint;
452
- updated_at: bigint;
453
- description?: string | undefined;
454
- version?: bigint | undefined;
455
- };
456
- before?: {
457
- owner: Uint8Array<ArrayBufferLike>;
458
- data: Uint8Array<ArrayBufferLike>;
459
- created_at: bigint;
460
- updated_at: bigint;
461
- description?: string | undefined;
462
- version?: bigint | undefined;
463
- } | undefined;
464
- }>;
465
- }>, baseObjectInputType<{
466
- collection: z.ZodString;
467
- key: z.ZodString;
468
- data: ZodObject<{
469
- before: z.ZodOptional<ZodObject<{
470
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
471
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
472
- description: z.ZodOptional<z.ZodString>;
473
- created_at: z.ZodBigInt;
474
- updated_at: z.ZodBigInt;
475
- version: z.ZodOptional<z.ZodBigInt>;
476
- }, "strict", ZodTypeAny, {
477
- owner: Uint8Array<ArrayBufferLike>;
478
- data: Uint8Array<ArrayBufferLike>;
479
- created_at: bigint;
480
- updated_at: bigint;
481
- description?: string | undefined;
482
- version?: bigint | undefined;
483
- }, {
484
- owner: Uint8Array<ArrayBufferLike>;
485
- data: Uint8Array<ArrayBufferLike>;
486
- created_at: bigint;
487
- updated_at: bigint;
488
- description?: string | undefined;
489
- version?: bigint | undefined;
490
- }>>;
491
- after: ZodObject<{
492
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
493
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
494
- description: z.ZodOptional<z.ZodString>;
495
- created_at: z.ZodBigInt;
496
- updated_at: z.ZodBigInt;
497
- version: z.ZodOptional<z.ZodBigInt>;
498
- }, "strict", ZodTypeAny, {
499
- owner: Uint8Array<ArrayBufferLike>;
500
- data: Uint8Array<ArrayBufferLike>;
501
- created_at: bigint;
502
- updated_at: bigint;
503
- description?: string | undefined;
504
- version?: bigint | undefined;
505
- }, {
506
- owner: Uint8Array<ArrayBufferLike>;
507
- data: Uint8Array<ArrayBufferLike>;
508
- created_at: bigint;
509
- updated_at: bigint;
510
- description?: string | undefined;
511
- version?: bigint | undefined;
512
- }>;
513
- }, "strict", ZodTypeAny, {
514
- after: {
515
- owner: Uint8Array<ArrayBufferLike>;
516
- data: Uint8Array<ArrayBufferLike>;
517
- created_at: bigint;
518
- updated_at: bigint;
519
- description?: string | undefined;
520
- version?: bigint | undefined;
521
- };
522
- before?: {
523
- owner: Uint8Array<ArrayBufferLike>;
524
- data: Uint8Array<ArrayBufferLike>;
525
- created_at: bigint;
526
- updated_at: bigint;
527
- description?: string | undefined;
528
- version?: bigint | undefined;
529
- } | undefined;
530
- }, {
531
- after: {
532
- owner: Uint8Array<ArrayBufferLike>;
533
- data: Uint8Array<ArrayBufferLike>;
534
- created_at: bigint;
535
- updated_at: bigint;
536
- description?: string | undefined;
537
- version?: bigint | undefined;
538
- };
539
- before?: {
540
- owner: Uint8Array<ArrayBufferLike>;
541
- data: Uint8Array<ArrayBufferLike>;
542
- created_at: bigint;
543
- updated_at: bigint;
544
- description?: string | undefined;
545
- version?: bigint | undefined;
546
- } | undefined;
547
- }>;
548
- }>>;
549
- }>, baseObjectInputType<{
550
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
551
- data: ZodObject<{
552
- collection: z.ZodString;
553
- key: z.ZodString;
554
- data: ZodObject<{
555
- before: z.ZodOptional<ZodObject<{
556
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
557
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
558
- description: z.ZodOptional<z.ZodString>;
559
- created_at: z.ZodBigInt;
560
- updated_at: z.ZodBigInt;
561
- version: z.ZodOptional<z.ZodBigInt>;
562
- }, "strict", ZodTypeAny, {
563
- owner: Uint8Array<ArrayBufferLike>;
564
- data: Uint8Array<ArrayBufferLike>;
565
- created_at: bigint;
566
- updated_at: bigint;
567
- description?: string | undefined;
568
- version?: bigint | undefined;
569
- }, {
570
- owner: Uint8Array<ArrayBufferLike>;
571
- data: Uint8Array<ArrayBufferLike>;
572
- created_at: bigint;
573
- updated_at: bigint;
574
- description?: string | undefined;
575
- version?: bigint | undefined;
576
- }>>;
577
- after: ZodObject<{
578
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
579
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
580
- description: z.ZodOptional<z.ZodString>;
581
- created_at: z.ZodBigInt;
582
- updated_at: z.ZodBigInt;
583
- version: z.ZodOptional<z.ZodBigInt>;
584
- }, "strict", ZodTypeAny, {
585
- owner: Uint8Array<ArrayBufferLike>;
586
- data: Uint8Array<ArrayBufferLike>;
587
- created_at: bigint;
588
- updated_at: bigint;
589
- description?: string | undefined;
590
- version?: bigint | undefined;
591
- }, {
592
- owner: Uint8Array<ArrayBufferLike>;
593
- data: Uint8Array<ArrayBufferLike>;
594
- created_at: bigint;
595
- updated_at: bigint;
596
- description?: string | undefined;
597
- version?: bigint | undefined;
598
- }>;
599
- }, "strict", ZodTypeAny, {
600
- after: {
601
- owner: Uint8Array<ArrayBufferLike>;
602
- data: Uint8Array<ArrayBufferLike>;
603
- created_at: bigint;
604
- updated_at: bigint;
605
- description?: string | undefined;
606
- version?: bigint | undefined;
607
- };
608
- before?: {
609
- owner: Uint8Array<ArrayBufferLike>;
610
- data: Uint8Array<ArrayBufferLike>;
611
- created_at: bigint;
612
- updated_at: bigint;
613
- description?: string | undefined;
614
- version?: bigint | undefined;
615
- } | undefined;
616
- }, {
617
- after: {
618
- owner: Uint8Array<ArrayBufferLike>;
619
- data: Uint8Array<ArrayBufferLike>;
620
- created_at: bigint;
621
- updated_at: bigint;
622
- description?: string | undefined;
623
- version?: bigint | undefined;
624
- };
625
- before?: {
626
- owner: Uint8Array<ArrayBufferLike>;
627
- data: Uint8Array<ArrayBufferLike>;
628
- created_at: bigint;
629
- updated_at: bigint;
630
- description?: string | undefined;
631
- version?: bigint | undefined;
632
- } | undefined;
633
- }>;
634
- }, "strict", ZodTypeAny, baseObjectOutputType<{
635
- collection: z.ZodString;
636
- key: z.ZodString;
637
- data: ZodObject<{
638
- before: z.ZodOptional<ZodObject<{
639
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
640
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
641
- description: z.ZodOptional<z.ZodString>;
642
- created_at: z.ZodBigInt;
643
- updated_at: z.ZodBigInt;
644
- version: z.ZodOptional<z.ZodBigInt>;
645
- }, "strict", ZodTypeAny, {
646
- owner: Uint8Array<ArrayBufferLike>;
647
- data: Uint8Array<ArrayBufferLike>;
648
- created_at: bigint;
649
- updated_at: bigint;
650
- description?: string | undefined;
651
- version?: bigint | undefined;
652
- }, {
653
- owner: Uint8Array<ArrayBufferLike>;
654
- data: Uint8Array<ArrayBufferLike>;
655
- created_at: bigint;
656
- updated_at: bigint;
657
- description?: string | undefined;
658
- version?: bigint | undefined;
659
- }>>;
660
- after: ZodObject<{
661
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
662
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
663
- description: z.ZodOptional<z.ZodString>;
664
- created_at: z.ZodBigInt;
665
- updated_at: z.ZodBigInt;
666
- version: z.ZodOptional<z.ZodBigInt>;
667
- }, "strict", ZodTypeAny, {
668
- owner: Uint8Array<ArrayBufferLike>;
669
- data: Uint8Array<ArrayBufferLike>;
670
- created_at: bigint;
671
- updated_at: bigint;
672
- description?: string | undefined;
673
- version?: bigint | undefined;
674
- }, {
675
- owner: Uint8Array<ArrayBufferLike>;
676
- data: Uint8Array<ArrayBufferLike>;
677
- created_at: bigint;
678
- updated_at: bigint;
679
- description?: string | undefined;
680
- version?: bigint | undefined;
681
- }>;
682
- }, "strict", ZodTypeAny, {
683
- after: {
684
- owner: Uint8Array<ArrayBufferLike>;
685
- data: Uint8Array<ArrayBufferLike>;
686
- created_at: bigint;
687
- updated_at: bigint;
688
- description?: string | undefined;
689
- version?: bigint | undefined;
690
- };
691
- before?: {
692
- owner: Uint8Array<ArrayBufferLike>;
693
- data: Uint8Array<ArrayBufferLike>;
694
- created_at: bigint;
695
- updated_at: bigint;
696
- description?: string | undefined;
697
- version?: bigint | undefined;
698
- } | undefined;
699
- }, {
700
- after: {
701
- owner: Uint8Array<ArrayBufferLike>;
702
- data: Uint8Array<ArrayBufferLike>;
703
- created_at: bigint;
704
- updated_at: bigint;
705
- description?: string | undefined;
706
- version?: bigint | undefined;
707
- };
708
- before?: {
709
- owner: Uint8Array<ArrayBufferLike>;
710
- data: Uint8Array<ArrayBufferLike>;
711
- created_at: bigint;
712
- updated_at: bigint;
713
- description?: string | undefined;
714
- version?: bigint | undefined;
715
- } | undefined;
716
- }>;
717
- }>, baseObjectInputType<{
36
+ export declare const OnSetDocContextSchema: z.ZodObject<{
37
+ caller: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
38
+ data: z.ZodObject<{
718
39
  collection: z.ZodString;
719
40
  key: z.ZodString;
720
- data: ZodObject<{
721
- before: z.ZodOptional<ZodObject<{
722
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
723
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
41
+ data: z.ZodObject<{
42
+ before: z.ZodOptional<z.ZodObject<{
43
+ owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
44
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
724
45
  description: z.ZodOptional<z.ZodString>;
725
46
  created_at: z.ZodBigInt;
726
47
  updated_at: z.ZodBigInt;
727
48
  version: z.ZodOptional<z.ZodBigInt>;
728
- }, "strict", ZodTypeAny, {
729
- owner: Uint8Array<ArrayBufferLike>;
730
- data: Uint8Array<ArrayBufferLike>;
731
- created_at: bigint;
732
- updated_at: bigint;
733
- description?: string | undefined;
734
- version?: bigint | undefined;
735
- }, {
736
- owner: Uint8Array<ArrayBufferLike>;
737
- data: Uint8Array<ArrayBufferLike>;
738
- created_at: bigint;
739
- updated_at: bigint;
740
- description?: string | undefined;
741
- version?: bigint | undefined;
742
- }>>;
743
- after: ZodObject<{
744
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
745
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
49
+ }, z.core.$strict>>;
50
+ after: z.ZodObject<{
51
+ owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
52
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
746
53
  description: z.ZodOptional<z.ZodString>;
747
54
  created_at: z.ZodBigInt;
748
55
  updated_at: z.ZodBigInt;
749
56
  version: z.ZodOptional<z.ZodBigInt>;
750
- }, "strict", ZodTypeAny, {
751
- owner: Uint8Array<ArrayBufferLike>;
752
- data: Uint8Array<ArrayBufferLike>;
753
- created_at: bigint;
754
- updated_at: bigint;
755
- description?: string | undefined;
756
- version?: bigint | undefined;
757
- }, {
758
- owner: Uint8Array<ArrayBufferLike>;
759
- data: Uint8Array<ArrayBufferLike>;
760
- created_at: bigint;
761
- updated_at: bigint;
762
- description?: string | undefined;
763
- version?: bigint | undefined;
764
- }>;
765
- }, "strict", ZodTypeAny, {
766
- after: {
767
- owner: Uint8Array<ArrayBufferLike>;
768
- data: Uint8Array<ArrayBufferLike>;
769
- created_at: bigint;
770
- updated_at: bigint;
771
- description?: string | undefined;
772
- version?: bigint | undefined;
773
- };
774
- before?: {
775
- owner: Uint8Array<ArrayBufferLike>;
776
- data: Uint8Array<ArrayBufferLike>;
777
- created_at: bigint;
778
- updated_at: bigint;
779
- description?: string | undefined;
780
- version?: bigint | undefined;
781
- } | undefined;
782
- }, {
783
- after: {
784
- owner: Uint8Array<ArrayBufferLike>;
785
- data: Uint8Array<ArrayBufferLike>;
786
- created_at: bigint;
787
- updated_at: bigint;
788
- description?: string | undefined;
789
- version?: bigint | undefined;
790
- };
791
- before?: {
792
- owner: Uint8Array<ArrayBufferLike>;
793
- data: Uint8Array<ArrayBufferLike>;
794
- created_at: bigint;
795
- updated_at: bigint;
796
- description?: string | undefined;
797
- version?: bigint | undefined;
798
- } | undefined;
799
- }>;
800
- }>>;
801
- }>>;
57
+ }, z.core.$strict>;
58
+ }, z.core.$strict>;
59
+ }, z.core.$strict>;
60
+ }, z.core.$strict>;
802
61
  /**
803
62
  * The context provided to the `onSetDoc` hook.
804
63
  *
@@ -809,763 +68,31 @@ export type OnSetDocContext = HookContext<DocContext<DocUpsert>>;
809
68
  /**
810
69
  * @see OnSetManyDocsContext
811
70
  */
812
- export declare const OnSetManyDocsContextSchema: ZodObject<{
813
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
814
- data: z.ZodArray<ZodObject<{
71
+ export declare const OnSetManyDocsContextSchema: z.ZodObject<{
72
+ caller: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
73
+ data: z.ZodArray<z.ZodObject<{
815
74
  collection: z.ZodString;
816
75
  key: z.ZodString;
817
- data: ZodObject<{
818
- before: z.ZodOptional<ZodObject<{
819
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
820
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
821
- description: z.ZodOptional<z.ZodString>;
822
- created_at: z.ZodBigInt;
823
- updated_at: z.ZodBigInt;
824
- version: z.ZodOptional<z.ZodBigInt>;
825
- }, "strict", ZodTypeAny, {
826
- owner: Uint8Array<ArrayBufferLike>;
827
- data: Uint8Array<ArrayBufferLike>;
828
- created_at: bigint;
829
- updated_at: bigint;
830
- description?: string | undefined;
831
- version?: bigint | undefined;
832
- }, {
833
- owner: Uint8Array<ArrayBufferLike>;
834
- data: Uint8Array<ArrayBufferLike>;
835
- created_at: bigint;
836
- updated_at: bigint;
837
- description?: string | undefined;
838
- version?: bigint | undefined;
839
- }>>;
840
- after: ZodObject<{
841
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
842
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
76
+ data: z.ZodObject<{
77
+ before: z.ZodOptional<z.ZodObject<{
78
+ owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
79
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
843
80
  description: z.ZodOptional<z.ZodString>;
844
81
  created_at: z.ZodBigInt;
845
82
  updated_at: z.ZodBigInt;
846
83
  version: z.ZodOptional<z.ZodBigInt>;
847
- }, "strict", ZodTypeAny, {
848
- owner: Uint8Array<ArrayBufferLike>;
849
- data: Uint8Array<ArrayBufferLike>;
850
- created_at: bigint;
851
- updated_at: bigint;
852
- description?: string | undefined;
853
- version?: bigint | undefined;
854
- }, {
855
- owner: Uint8Array<ArrayBufferLike>;
856
- data: Uint8Array<ArrayBufferLike>;
857
- created_at: bigint;
858
- updated_at: bigint;
859
- description?: string | undefined;
860
- version?: bigint | undefined;
861
- }>;
862
- }, "strict", ZodTypeAny, {
863
- after: {
864
- owner: Uint8Array<ArrayBufferLike>;
865
- data: Uint8Array<ArrayBufferLike>;
866
- created_at: bigint;
867
- updated_at: bigint;
868
- description?: string | undefined;
869
- version?: bigint | undefined;
870
- };
871
- before?: {
872
- owner: Uint8Array<ArrayBufferLike>;
873
- data: Uint8Array<ArrayBufferLike>;
874
- created_at: bigint;
875
- updated_at: bigint;
876
- description?: string | undefined;
877
- version?: bigint | undefined;
878
- } | undefined;
879
- }, {
880
- after: {
881
- owner: Uint8Array<ArrayBufferLike>;
882
- data: Uint8Array<ArrayBufferLike>;
883
- created_at: bigint;
884
- updated_at: bigint;
885
- description?: string | undefined;
886
- version?: bigint | undefined;
887
- };
888
- before?: {
889
- owner: Uint8Array<ArrayBufferLike>;
890
- data: Uint8Array<ArrayBufferLike>;
891
- created_at: bigint;
892
- updated_at: bigint;
893
- description?: string | undefined;
894
- version?: bigint | undefined;
895
- } | undefined;
896
- }>;
897
- }, "strict", ZodTypeAny, baseObjectOutputType<{
898
- collection: z.ZodString;
899
- key: z.ZodString;
900
- data: ZodObject<{
901
- before: z.ZodOptional<ZodObject<{
902
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
903
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
84
+ }, z.core.$strict>>;
85
+ after: z.ZodObject<{
86
+ owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
87
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
904
88
  description: z.ZodOptional<z.ZodString>;
905
89
  created_at: z.ZodBigInt;
906
90
  updated_at: z.ZodBigInt;
907
91
  version: z.ZodOptional<z.ZodBigInt>;
908
- }, "strict", ZodTypeAny, {
909
- owner: Uint8Array<ArrayBufferLike>;
910
- data: Uint8Array<ArrayBufferLike>;
911
- created_at: bigint;
912
- updated_at: bigint;
913
- description?: string | undefined;
914
- version?: bigint | undefined;
915
- }, {
916
- owner: Uint8Array<ArrayBufferLike>;
917
- data: Uint8Array<ArrayBufferLike>;
918
- created_at: bigint;
919
- updated_at: bigint;
920
- description?: string | undefined;
921
- version?: bigint | undefined;
922
- }>>;
923
- after: ZodObject<{
924
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
925
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
926
- description: z.ZodOptional<z.ZodString>;
927
- created_at: z.ZodBigInt;
928
- updated_at: z.ZodBigInt;
929
- version: z.ZodOptional<z.ZodBigInt>;
930
- }, "strict", ZodTypeAny, {
931
- owner: Uint8Array<ArrayBufferLike>;
932
- data: Uint8Array<ArrayBufferLike>;
933
- created_at: bigint;
934
- updated_at: bigint;
935
- description?: string | undefined;
936
- version?: bigint | undefined;
937
- }, {
938
- owner: Uint8Array<ArrayBufferLike>;
939
- data: Uint8Array<ArrayBufferLike>;
940
- created_at: bigint;
941
- updated_at: bigint;
942
- description?: string | undefined;
943
- version?: bigint | undefined;
944
- }>;
945
- }, "strict", ZodTypeAny, {
946
- after: {
947
- owner: Uint8Array<ArrayBufferLike>;
948
- data: Uint8Array<ArrayBufferLike>;
949
- created_at: bigint;
950
- updated_at: bigint;
951
- description?: string | undefined;
952
- version?: bigint | undefined;
953
- };
954
- before?: {
955
- owner: Uint8Array<ArrayBufferLike>;
956
- data: Uint8Array<ArrayBufferLike>;
957
- created_at: bigint;
958
- updated_at: bigint;
959
- description?: string | undefined;
960
- version?: bigint | undefined;
961
- } | undefined;
962
- }, {
963
- after: {
964
- owner: Uint8Array<ArrayBufferLike>;
965
- data: Uint8Array<ArrayBufferLike>;
966
- created_at: bigint;
967
- updated_at: bigint;
968
- description?: string | undefined;
969
- version?: bigint | undefined;
970
- };
971
- before?: {
972
- owner: Uint8Array<ArrayBufferLike>;
973
- data: Uint8Array<ArrayBufferLike>;
974
- created_at: bigint;
975
- updated_at: bigint;
976
- description?: string | undefined;
977
- version?: bigint | undefined;
978
- } | undefined;
979
- }>;
980
- }>, baseObjectInputType<{
981
- collection: z.ZodString;
982
- key: z.ZodString;
983
- data: ZodObject<{
984
- before: z.ZodOptional<ZodObject<{
985
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
986
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
987
- description: z.ZodOptional<z.ZodString>;
988
- created_at: z.ZodBigInt;
989
- updated_at: z.ZodBigInt;
990
- version: z.ZodOptional<z.ZodBigInt>;
991
- }, "strict", ZodTypeAny, {
992
- owner: Uint8Array<ArrayBufferLike>;
993
- data: Uint8Array<ArrayBufferLike>;
994
- created_at: bigint;
995
- updated_at: bigint;
996
- description?: string | undefined;
997
- version?: bigint | undefined;
998
- }, {
999
- owner: Uint8Array<ArrayBufferLike>;
1000
- data: Uint8Array<ArrayBufferLike>;
1001
- created_at: bigint;
1002
- updated_at: bigint;
1003
- description?: string | undefined;
1004
- version?: bigint | undefined;
1005
- }>>;
1006
- after: ZodObject<{
1007
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1008
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1009
- description: z.ZodOptional<z.ZodString>;
1010
- created_at: z.ZodBigInt;
1011
- updated_at: z.ZodBigInt;
1012
- version: z.ZodOptional<z.ZodBigInt>;
1013
- }, "strict", ZodTypeAny, {
1014
- owner: Uint8Array<ArrayBufferLike>;
1015
- data: Uint8Array<ArrayBufferLike>;
1016
- created_at: bigint;
1017
- updated_at: bigint;
1018
- description?: string | undefined;
1019
- version?: bigint | undefined;
1020
- }, {
1021
- owner: Uint8Array<ArrayBufferLike>;
1022
- data: Uint8Array<ArrayBufferLike>;
1023
- created_at: bigint;
1024
- updated_at: bigint;
1025
- description?: string | undefined;
1026
- version?: bigint | undefined;
1027
- }>;
1028
- }, "strict", ZodTypeAny, {
1029
- after: {
1030
- owner: Uint8Array<ArrayBufferLike>;
1031
- data: Uint8Array<ArrayBufferLike>;
1032
- created_at: bigint;
1033
- updated_at: bigint;
1034
- description?: string | undefined;
1035
- version?: bigint | undefined;
1036
- };
1037
- before?: {
1038
- owner: Uint8Array<ArrayBufferLike>;
1039
- data: Uint8Array<ArrayBufferLike>;
1040
- created_at: bigint;
1041
- updated_at: bigint;
1042
- description?: string | undefined;
1043
- version?: bigint | undefined;
1044
- } | undefined;
1045
- }, {
1046
- after: {
1047
- owner: Uint8Array<ArrayBufferLike>;
1048
- data: Uint8Array<ArrayBufferLike>;
1049
- created_at: bigint;
1050
- updated_at: bigint;
1051
- description?: string | undefined;
1052
- version?: bigint | undefined;
1053
- };
1054
- before?: {
1055
- owner: Uint8Array<ArrayBufferLike>;
1056
- data: Uint8Array<ArrayBufferLike>;
1057
- created_at: bigint;
1058
- updated_at: bigint;
1059
- description?: string | undefined;
1060
- version?: bigint | undefined;
1061
- } | undefined;
1062
- }>;
1063
- }>>, "many">;
1064
- }, "strict", ZodTypeAny, baseObjectOutputType<{
1065
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1066
- data: z.ZodArray<ZodObject<{
1067
- collection: z.ZodString;
1068
- key: z.ZodString;
1069
- data: ZodObject<{
1070
- before: z.ZodOptional<ZodObject<{
1071
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1072
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1073
- description: z.ZodOptional<z.ZodString>;
1074
- created_at: z.ZodBigInt;
1075
- updated_at: z.ZodBigInt;
1076
- version: z.ZodOptional<z.ZodBigInt>;
1077
- }, "strict", ZodTypeAny, {
1078
- owner: Uint8Array<ArrayBufferLike>;
1079
- data: Uint8Array<ArrayBufferLike>;
1080
- created_at: bigint;
1081
- updated_at: bigint;
1082
- description?: string | undefined;
1083
- version?: bigint | undefined;
1084
- }, {
1085
- owner: Uint8Array<ArrayBufferLike>;
1086
- data: Uint8Array<ArrayBufferLike>;
1087
- created_at: bigint;
1088
- updated_at: bigint;
1089
- description?: string | undefined;
1090
- version?: bigint | undefined;
1091
- }>>;
1092
- after: ZodObject<{
1093
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1094
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1095
- description: z.ZodOptional<z.ZodString>;
1096
- created_at: z.ZodBigInt;
1097
- updated_at: z.ZodBigInt;
1098
- version: z.ZodOptional<z.ZodBigInt>;
1099
- }, "strict", ZodTypeAny, {
1100
- owner: Uint8Array<ArrayBufferLike>;
1101
- data: Uint8Array<ArrayBufferLike>;
1102
- created_at: bigint;
1103
- updated_at: bigint;
1104
- description?: string | undefined;
1105
- version?: bigint | undefined;
1106
- }, {
1107
- owner: Uint8Array<ArrayBufferLike>;
1108
- data: Uint8Array<ArrayBufferLike>;
1109
- created_at: bigint;
1110
- updated_at: bigint;
1111
- description?: string | undefined;
1112
- version?: bigint | undefined;
1113
- }>;
1114
- }, "strict", ZodTypeAny, {
1115
- after: {
1116
- owner: Uint8Array<ArrayBufferLike>;
1117
- data: Uint8Array<ArrayBufferLike>;
1118
- created_at: bigint;
1119
- updated_at: bigint;
1120
- description?: string | undefined;
1121
- version?: bigint | undefined;
1122
- };
1123
- before?: {
1124
- owner: Uint8Array<ArrayBufferLike>;
1125
- data: Uint8Array<ArrayBufferLike>;
1126
- created_at: bigint;
1127
- updated_at: bigint;
1128
- description?: string | undefined;
1129
- version?: bigint | undefined;
1130
- } | undefined;
1131
- }, {
1132
- after: {
1133
- owner: Uint8Array<ArrayBufferLike>;
1134
- data: Uint8Array<ArrayBufferLike>;
1135
- created_at: bigint;
1136
- updated_at: bigint;
1137
- description?: string | undefined;
1138
- version?: bigint | undefined;
1139
- };
1140
- before?: {
1141
- owner: Uint8Array<ArrayBufferLike>;
1142
- data: Uint8Array<ArrayBufferLike>;
1143
- created_at: bigint;
1144
- updated_at: bigint;
1145
- description?: string | undefined;
1146
- version?: bigint | undefined;
1147
- } | undefined;
1148
- }>;
1149
- }, "strict", ZodTypeAny, baseObjectOutputType<{
1150
- collection: z.ZodString;
1151
- key: z.ZodString;
1152
- data: ZodObject<{
1153
- before: z.ZodOptional<ZodObject<{
1154
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1155
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1156
- description: z.ZodOptional<z.ZodString>;
1157
- created_at: z.ZodBigInt;
1158
- updated_at: z.ZodBigInt;
1159
- version: z.ZodOptional<z.ZodBigInt>;
1160
- }, "strict", ZodTypeAny, {
1161
- owner: Uint8Array<ArrayBufferLike>;
1162
- data: Uint8Array<ArrayBufferLike>;
1163
- created_at: bigint;
1164
- updated_at: bigint;
1165
- description?: string | undefined;
1166
- version?: bigint | undefined;
1167
- }, {
1168
- owner: Uint8Array<ArrayBufferLike>;
1169
- data: Uint8Array<ArrayBufferLike>;
1170
- created_at: bigint;
1171
- updated_at: bigint;
1172
- description?: string | undefined;
1173
- version?: bigint | undefined;
1174
- }>>;
1175
- after: ZodObject<{
1176
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1177
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1178
- description: z.ZodOptional<z.ZodString>;
1179
- created_at: z.ZodBigInt;
1180
- updated_at: z.ZodBigInt;
1181
- version: z.ZodOptional<z.ZodBigInt>;
1182
- }, "strict", ZodTypeAny, {
1183
- owner: Uint8Array<ArrayBufferLike>;
1184
- data: Uint8Array<ArrayBufferLike>;
1185
- created_at: bigint;
1186
- updated_at: bigint;
1187
- description?: string | undefined;
1188
- version?: bigint | undefined;
1189
- }, {
1190
- owner: Uint8Array<ArrayBufferLike>;
1191
- data: Uint8Array<ArrayBufferLike>;
1192
- created_at: bigint;
1193
- updated_at: bigint;
1194
- description?: string | undefined;
1195
- version?: bigint | undefined;
1196
- }>;
1197
- }, "strict", ZodTypeAny, {
1198
- after: {
1199
- owner: Uint8Array<ArrayBufferLike>;
1200
- data: Uint8Array<ArrayBufferLike>;
1201
- created_at: bigint;
1202
- updated_at: bigint;
1203
- description?: string | undefined;
1204
- version?: bigint | undefined;
1205
- };
1206
- before?: {
1207
- owner: Uint8Array<ArrayBufferLike>;
1208
- data: Uint8Array<ArrayBufferLike>;
1209
- created_at: bigint;
1210
- updated_at: bigint;
1211
- description?: string | undefined;
1212
- version?: bigint | undefined;
1213
- } | undefined;
1214
- }, {
1215
- after: {
1216
- owner: Uint8Array<ArrayBufferLike>;
1217
- data: Uint8Array<ArrayBufferLike>;
1218
- created_at: bigint;
1219
- updated_at: bigint;
1220
- description?: string | undefined;
1221
- version?: bigint | undefined;
1222
- };
1223
- before?: {
1224
- owner: Uint8Array<ArrayBufferLike>;
1225
- data: Uint8Array<ArrayBufferLike>;
1226
- created_at: bigint;
1227
- updated_at: bigint;
1228
- description?: string | undefined;
1229
- version?: bigint | undefined;
1230
- } | undefined;
1231
- }>;
1232
- }>, baseObjectInputType<{
1233
- collection: z.ZodString;
1234
- key: z.ZodString;
1235
- data: ZodObject<{
1236
- before: z.ZodOptional<ZodObject<{
1237
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1238
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1239
- description: z.ZodOptional<z.ZodString>;
1240
- created_at: z.ZodBigInt;
1241
- updated_at: z.ZodBigInt;
1242
- version: z.ZodOptional<z.ZodBigInt>;
1243
- }, "strict", ZodTypeAny, {
1244
- owner: Uint8Array<ArrayBufferLike>;
1245
- data: Uint8Array<ArrayBufferLike>;
1246
- created_at: bigint;
1247
- updated_at: bigint;
1248
- description?: string | undefined;
1249
- version?: bigint | undefined;
1250
- }, {
1251
- owner: Uint8Array<ArrayBufferLike>;
1252
- data: Uint8Array<ArrayBufferLike>;
1253
- created_at: bigint;
1254
- updated_at: bigint;
1255
- description?: string | undefined;
1256
- version?: bigint | undefined;
1257
- }>>;
1258
- after: ZodObject<{
1259
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1260
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1261
- description: z.ZodOptional<z.ZodString>;
1262
- created_at: z.ZodBigInt;
1263
- updated_at: z.ZodBigInt;
1264
- version: z.ZodOptional<z.ZodBigInt>;
1265
- }, "strict", ZodTypeAny, {
1266
- owner: Uint8Array<ArrayBufferLike>;
1267
- data: Uint8Array<ArrayBufferLike>;
1268
- created_at: bigint;
1269
- updated_at: bigint;
1270
- description?: string | undefined;
1271
- version?: bigint | undefined;
1272
- }, {
1273
- owner: Uint8Array<ArrayBufferLike>;
1274
- data: Uint8Array<ArrayBufferLike>;
1275
- created_at: bigint;
1276
- updated_at: bigint;
1277
- description?: string | undefined;
1278
- version?: bigint | undefined;
1279
- }>;
1280
- }, "strict", ZodTypeAny, {
1281
- after: {
1282
- owner: Uint8Array<ArrayBufferLike>;
1283
- data: Uint8Array<ArrayBufferLike>;
1284
- created_at: bigint;
1285
- updated_at: bigint;
1286
- description?: string | undefined;
1287
- version?: bigint | undefined;
1288
- };
1289
- before?: {
1290
- owner: Uint8Array<ArrayBufferLike>;
1291
- data: Uint8Array<ArrayBufferLike>;
1292
- created_at: bigint;
1293
- updated_at: bigint;
1294
- description?: string | undefined;
1295
- version?: bigint | undefined;
1296
- } | undefined;
1297
- }, {
1298
- after: {
1299
- owner: Uint8Array<ArrayBufferLike>;
1300
- data: Uint8Array<ArrayBufferLike>;
1301
- created_at: bigint;
1302
- updated_at: bigint;
1303
- description?: string | undefined;
1304
- version?: bigint | undefined;
1305
- };
1306
- before?: {
1307
- owner: Uint8Array<ArrayBufferLike>;
1308
- data: Uint8Array<ArrayBufferLike>;
1309
- created_at: bigint;
1310
- updated_at: bigint;
1311
- description?: string | undefined;
1312
- version?: bigint | undefined;
1313
- } | undefined;
1314
- }>;
1315
- }>>, "many">;
1316
- }>, baseObjectInputType<{
1317
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1318
- data: z.ZodArray<ZodObject<{
1319
- collection: z.ZodString;
1320
- key: z.ZodString;
1321
- data: ZodObject<{
1322
- before: z.ZodOptional<ZodObject<{
1323
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1324
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1325
- description: z.ZodOptional<z.ZodString>;
1326
- created_at: z.ZodBigInt;
1327
- updated_at: z.ZodBigInt;
1328
- version: z.ZodOptional<z.ZodBigInt>;
1329
- }, "strict", ZodTypeAny, {
1330
- owner: Uint8Array<ArrayBufferLike>;
1331
- data: Uint8Array<ArrayBufferLike>;
1332
- created_at: bigint;
1333
- updated_at: bigint;
1334
- description?: string | undefined;
1335
- version?: bigint | undefined;
1336
- }, {
1337
- owner: Uint8Array<ArrayBufferLike>;
1338
- data: Uint8Array<ArrayBufferLike>;
1339
- created_at: bigint;
1340
- updated_at: bigint;
1341
- description?: string | undefined;
1342
- version?: bigint | undefined;
1343
- }>>;
1344
- after: ZodObject<{
1345
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1346
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1347
- description: z.ZodOptional<z.ZodString>;
1348
- created_at: z.ZodBigInt;
1349
- updated_at: z.ZodBigInt;
1350
- version: z.ZodOptional<z.ZodBigInt>;
1351
- }, "strict", ZodTypeAny, {
1352
- owner: Uint8Array<ArrayBufferLike>;
1353
- data: Uint8Array<ArrayBufferLike>;
1354
- created_at: bigint;
1355
- updated_at: bigint;
1356
- description?: string | undefined;
1357
- version?: bigint | undefined;
1358
- }, {
1359
- owner: Uint8Array<ArrayBufferLike>;
1360
- data: Uint8Array<ArrayBufferLike>;
1361
- created_at: bigint;
1362
- updated_at: bigint;
1363
- description?: string | undefined;
1364
- version?: bigint | undefined;
1365
- }>;
1366
- }, "strict", ZodTypeAny, {
1367
- after: {
1368
- owner: Uint8Array<ArrayBufferLike>;
1369
- data: Uint8Array<ArrayBufferLike>;
1370
- created_at: bigint;
1371
- updated_at: bigint;
1372
- description?: string | undefined;
1373
- version?: bigint | undefined;
1374
- };
1375
- before?: {
1376
- owner: Uint8Array<ArrayBufferLike>;
1377
- data: Uint8Array<ArrayBufferLike>;
1378
- created_at: bigint;
1379
- updated_at: bigint;
1380
- description?: string | undefined;
1381
- version?: bigint | undefined;
1382
- } | undefined;
1383
- }, {
1384
- after: {
1385
- owner: Uint8Array<ArrayBufferLike>;
1386
- data: Uint8Array<ArrayBufferLike>;
1387
- created_at: bigint;
1388
- updated_at: bigint;
1389
- description?: string | undefined;
1390
- version?: bigint | undefined;
1391
- };
1392
- before?: {
1393
- owner: Uint8Array<ArrayBufferLike>;
1394
- data: Uint8Array<ArrayBufferLike>;
1395
- created_at: bigint;
1396
- updated_at: bigint;
1397
- description?: string | undefined;
1398
- version?: bigint | undefined;
1399
- } | undefined;
1400
- }>;
1401
- }, "strict", ZodTypeAny, baseObjectOutputType<{
1402
- collection: z.ZodString;
1403
- key: z.ZodString;
1404
- data: ZodObject<{
1405
- before: z.ZodOptional<ZodObject<{
1406
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1407
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1408
- description: z.ZodOptional<z.ZodString>;
1409
- created_at: z.ZodBigInt;
1410
- updated_at: z.ZodBigInt;
1411
- version: z.ZodOptional<z.ZodBigInt>;
1412
- }, "strict", ZodTypeAny, {
1413
- owner: Uint8Array<ArrayBufferLike>;
1414
- data: Uint8Array<ArrayBufferLike>;
1415
- created_at: bigint;
1416
- updated_at: bigint;
1417
- description?: string | undefined;
1418
- version?: bigint | undefined;
1419
- }, {
1420
- owner: Uint8Array<ArrayBufferLike>;
1421
- data: Uint8Array<ArrayBufferLike>;
1422
- created_at: bigint;
1423
- updated_at: bigint;
1424
- description?: string | undefined;
1425
- version?: bigint | undefined;
1426
- }>>;
1427
- after: ZodObject<{
1428
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1429
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1430
- description: z.ZodOptional<z.ZodString>;
1431
- created_at: z.ZodBigInt;
1432
- updated_at: z.ZodBigInt;
1433
- version: z.ZodOptional<z.ZodBigInt>;
1434
- }, "strict", ZodTypeAny, {
1435
- owner: Uint8Array<ArrayBufferLike>;
1436
- data: Uint8Array<ArrayBufferLike>;
1437
- created_at: bigint;
1438
- updated_at: bigint;
1439
- description?: string | undefined;
1440
- version?: bigint | undefined;
1441
- }, {
1442
- owner: Uint8Array<ArrayBufferLike>;
1443
- data: Uint8Array<ArrayBufferLike>;
1444
- created_at: bigint;
1445
- updated_at: bigint;
1446
- description?: string | undefined;
1447
- version?: bigint | undefined;
1448
- }>;
1449
- }, "strict", ZodTypeAny, {
1450
- after: {
1451
- owner: Uint8Array<ArrayBufferLike>;
1452
- data: Uint8Array<ArrayBufferLike>;
1453
- created_at: bigint;
1454
- updated_at: bigint;
1455
- description?: string | undefined;
1456
- version?: bigint | undefined;
1457
- };
1458
- before?: {
1459
- owner: Uint8Array<ArrayBufferLike>;
1460
- data: Uint8Array<ArrayBufferLike>;
1461
- created_at: bigint;
1462
- updated_at: bigint;
1463
- description?: string | undefined;
1464
- version?: bigint | undefined;
1465
- } | undefined;
1466
- }, {
1467
- after: {
1468
- owner: Uint8Array<ArrayBufferLike>;
1469
- data: Uint8Array<ArrayBufferLike>;
1470
- created_at: bigint;
1471
- updated_at: bigint;
1472
- description?: string | undefined;
1473
- version?: bigint | undefined;
1474
- };
1475
- before?: {
1476
- owner: Uint8Array<ArrayBufferLike>;
1477
- data: Uint8Array<ArrayBufferLike>;
1478
- created_at: bigint;
1479
- updated_at: bigint;
1480
- description?: string | undefined;
1481
- version?: bigint | undefined;
1482
- } | undefined;
1483
- }>;
1484
- }>, baseObjectInputType<{
1485
- collection: z.ZodString;
1486
- key: z.ZodString;
1487
- data: ZodObject<{
1488
- before: z.ZodOptional<ZodObject<{
1489
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1490
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1491
- description: z.ZodOptional<z.ZodString>;
1492
- created_at: z.ZodBigInt;
1493
- updated_at: z.ZodBigInt;
1494
- version: z.ZodOptional<z.ZodBigInt>;
1495
- }, "strict", ZodTypeAny, {
1496
- owner: Uint8Array<ArrayBufferLike>;
1497
- data: Uint8Array<ArrayBufferLike>;
1498
- created_at: bigint;
1499
- updated_at: bigint;
1500
- description?: string | undefined;
1501
- version?: bigint | undefined;
1502
- }, {
1503
- owner: Uint8Array<ArrayBufferLike>;
1504
- data: Uint8Array<ArrayBufferLike>;
1505
- created_at: bigint;
1506
- updated_at: bigint;
1507
- description?: string | undefined;
1508
- version?: bigint | undefined;
1509
- }>>;
1510
- after: ZodObject<{
1511
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1512
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1513
- description: z.ZodOptional<z.ZodString>;
1514
- created_at: z.ZodBigInt;
1515
- updated_at: z.ZodBigInt;
1516
- version: z.ZodOptional<z.ZodBigInt>;
1517
- }, "strict", ZodTypeAny, {
1518
- owner: Uint8Array<ArrayBufferLike>;
1519
- data: Uint8Array<ArrayBufferLike>;
1520
- created_at: bigint;
1521
- updated_at: bigint;
1522
- description?: string | undefined;
1523
- version?: bigint | undefined;
1524
- }, {
1525
- owner: Uint8Array<ArrayBufferLike>;
1526
- data: Uint8Array<ArrayBufferLike>;
1527
- created_at: bigint;
1528
- updated_at: bigint;
1529
- description?: string | undefined;
1530
- version?: bigint | undefined;
1531
- }>;
1532
- }, "strict", ZodTypeAny, {
1533
- after: {
1534
- owner: Uint8Array<ArrayBufferLike>;
1535
- data: Uint8Array<ArrayBufferLike>;
1536
- created_at: bigint;
1537
- updated_at: bigint;
1538
- description?: string | undefined;
1539
- version?: bigint | undefined;
1540
- };
1541
- before?: {
1542
- owner: Uint8Array<ArrayBufferLike>;
1543
- data: Uint8Array<ArrayBufferLike>;
1544
- created_at: bigint;
1545
- updated_at: bigint;
1546
- description?: string | undefined;
1547
- version?: bigint | undefined;
1548
- } | undefined;
1549
- }, {
1550
- after: {
1551
- owner: Uint8Array<ArrayBufferLike>;
1552
- data: Uint8Array<ArrayBufferLike>;
1553
- created_at: bigint;
1554
- updated_at: bigint;
1555
- description?: string | undefined;
1556
- version?: bigint | undefined;
1557
- };
1558
- before?: {
1559
- owner: Uint8Array<ArrayBufferLike>;
1560
- data: Uint8Array<ArrayBufferLike>;
1561
- created_at: bigint;
1562
- updated_at: bigint;
1563
- description?: string | undefined;
1564
- version?: bigint | undefined;
1565
- } | undefined;
1566
- }>;
1567
- }>>, "many">;
1568
- }>>;
92
+ }, z.core.$strict>;
93
+ }, z.core.$strict>;
94
+ }, z.core.$strict>>;
95
+ }, z.core.$strict>;
1569
96
  /**
1570
97
  * The context provided to the `onSetManyDocs` hook.
1571
98
  *
@@ -1576,241 +103,21 @@ export type OnSetManyDocsContext = HookContext<DocContext<DocUpsert>[]>;
1576
103
  /**
1577
104
  * @see OnDeleteDocContext
1578
105
  */
1579
- export declare const OnDeleteDocContextSchema: ZodObject<{
1580
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1581
- data: ZodObject<{
1582
- collection: z.ZodString;
1583
- key: z.ZodString;
1584
- data: z.ZodOptional<ZodObject<{
1585
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1586
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1587
- description: z.ZodOptional<z.ZodString>;
1588
- created_at: z.ZodBigInt;
1589
- updated_at: z.ZodBigInt;
1590
- version: z.ZodOptional<z.ZodBigInt>;
1591
- }, "strict", ZodTypeAny, {
1592
- owner: Uint8Array<ArrayBufferLike>;
1593
- data: Uint8Array<ArrayBufferLike>;
1594
- created_at: bigint;
1595
- updated_at: bigint;
1596
- description?: string | undefined;
1597
- version?: bigint | undefined;
1598
- }, {
1599
- owner: Uint8Array<ArrayBufferLike>;
1600
- data: Uint8Array<ArrayBufferLike>;
1601
- created_at: bigint;
1602
- updated_at: bigint;
1603
- description?: string | undefined;
1604
- version?: bigint | undefined;
1605
- }>>;
1606
- }, "strict", ZodTypeAny, baseObjectOutputType<{
106
+ export declare const OnDeleteDocContextSchema: z.ZodObject<{
107
+ caller: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
108
+ data: z.ZodObject<{
1607
109
  collection: z.ZodString;
1608
110
  key: z.ZodString;
1609
- data: z.ZodOptional<ZodObject<{
1610
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1611
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
111
+ data: z.ZodOptional<z.ZodObject<{
112
+ owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
113
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
1612
114
  description: z.ZodOptional<z.ZodString>;
1613
115
  created_at: z.ZodBigInt;
1614
116
  updated_at: z.ZodBigInt;
1615
117
  version: z.ZodOptional<z.ZodBigInt>;
1616
- }, "strict", ZodTypeAny, {
1617
- owner: Uint8Array<ArrayBufferLike>;
1618
- data: Uint8Array<ArrayBufferLike>;
1619
- created_at: bigint;
1620
- updated_at: bigint;
1621
- description?: string | undefined;
1622
- version?: bigint | undefined;
1623
- }, {
1624
- owner: Uint8Array<ArrayBufferLike>;
1625
- data: Uint8Array<ArrayBufferLike>;
1626
- created_at: bigint;
1627
- updated_at: bigint;
1628
- description?: string | undefined;
1629
- version?: bigint | undefined;
1630
- }>>;
1631
- }>, baseObjectInputType<{
1632
- collection: z.ZodString;
1633
- key: z.ZodString;
1634
- data: z.ZodOptional<ZodObject<{
1635
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1636
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1637
- description: z.ZodOptional<z.ZodString>;
1638
- created_at: z.ZodBigInt;
1639
- updated_at: z.ZodBigInt;
1640
- version: z.ZodOptional<z.ZodBigInt>;
1641
- }, "strict", ZodTypeAny, {
1642
- owner: Uint8Array<ArrayBufferLike>;
1643
- data: Uint8Array<ArrayBufferLike>;
1644
- created_at: bigint;
1645
- updated_at: bigint;
1646
- description?: string | undefined;
1647
- version?: bigint | undefined;
1648
- }, {
1649
- owner: Uint8Array<ArrayBufferLike>;
1650
- data: Uint8Array<ArrayBufferLike>;
1651
- created_at: bigint;
1652
- updated_at: bigint;
1653
- description?: string | undefined;
1654
- version?: bigint | undefined;
1655
- }>>;
1656
- }>>;
1657
- }, "strict", ZodTypeAny, baseObjectOutputType<{
1658
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1659
- data: ZodObject<{
1660
- collection: z.ZodString;
1661
- key: z.ZodString;
1662
- data: z.ZodOptional<ZodObject<{
1663
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1664
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1665
- description: z.ZodOptional<z.ZodString>;
1666
- created_at: z.ZodBigInt;
1667
- updated_at: z.ZodBigInt;
1668
- version: z.ZodOptional<z.ZodBigInt>;
1669
- }, "strict", ZodTypeAny, {
1670
- owner: Uint8Array<ArrayBufferLike>;
1671
- data: Uint8Array<ArrayBufferLike>;
1672
- created_at: bigint;
1673
- updated_at: bigint;
1674
- description?: string | undefined;
1675
- version?: bigint | undefined;
1676
- }, {
1677
- owner: Uint8Array<ArrayBufferLike>;
1678
- data: Uint8Array<ArrayBufferLike>;
1679
- created_at: bigint;
1680
- updated_at: bigint;
1681
- description?: string | undefined;
1682
- version?: bigint | undefined;
1683
- }>>;
1684
- }, "strict", ZodTypeAny, baseObjectOutputType<{
1685
- collection: z.ZodString;
1686
- key: z.ZodString;
1687
- data: z.ZodOptional<ZodObject<{
1688
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1689
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1690
- description: z.ZodOptional<z.ZodString>;
1691
- created_at: z.ZodBigInt;
1692
- updated_at: z.ZodBigInt;
1693
- version: z.ZodOptional<z.ZodBigInt>;
1694
- }, "strict", ZodTypeAny, {
1695
- owner: Uint8Array<ArrayBufferLike>;
1696
- data: Uint8Array<ArrayBufferLike>;
1697
- created_at: bigint;
1698
- updated_at: bigint;
1699
- description?: string | undefined;
1700
- version?: bigint | undefined;
1701
- }, {
1702
- owner: Uint8Array<ArrayBufferLike>;
1703
- data: Uint8Array<ArrayBufferLike>;
1704
- created_at: bigint;
1705
- updated_at: bigint;
1706
- description?: string | undefined;
1707
- version?: bigint | undefined;
1708
- }>>;
1709
- }>, baseObjectInputType<{
1710
- collection: z.ZodString;
1711
- key: z.ZodString;
1712
- data: z.ZodOptional<ZodObject<{
1713
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1714
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1715
- description: z.ZodOptional<z.ZodString>;
1716
- created_at: z.ZodBigInt;
1717
- updated_at: z.ZodBigInt;
1718
- version: z.ZodOptional<z.ZodBigInt>;
1719
- }, "strict", ZodTypeAny, {
1720
- owner: Uint8Array<ArrayBufferLike>;
1721
- data: Uint8Array<ArrayBufferLike>;
1722
- created_at: bigint;
1723
- updated_at: bigint;
1724
- description?: string | undefined;
1725
- version?: bigint | undefined;
1726
- }, {
1727
- owner: Uint8Array<ArrayBufferLike>;
1728
- data: Uint8Array<ArrayBufferLike>;
1729
- created_at: bigint;
1730
- updated_at: bigint;
1731
- description?: string | undefined;
1732
- version?: bigint | undefined;
1733
- }>>;
1734
- }>>;
1735
- }>, baseObjectInputType<{
1736
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1737
- data: ZodObject<{
1738
- collection: z.ZodString;
1739
- key: z.ZodString;
1740
- data: z.ZodOptional<ZodObject<{
1741
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1742
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1743
- description: z.ZodOptional<z.ZodString>;
1744
- created_at: z.ZodBigInt;
1745
- updated_at: z.ZodBigInt;
1746
- version: z.ZodOptional<z.ZodBigInt>;
1747
- }, "strict", ZodTypeAny, {
1748
- owner: Uint8Array<ArrayBufferLike>;
1749
- data: Uint8Array<ArrayBufferLike>;
1750
- created_at: bigint;
1751
- updated_at: bigint;
1752
- description?: string | undefined;
1753
- version?: bigint | undefined;
1754
- }, {
1755
- owner: Uint8Array<ArrayBufferLike>;
1756
- data: Uint8Array<ArrayBufferLike>;
1757
- created_at: bigint;
1758
- updated_at: bigint;
1759
- description?: string | undefined;
1760
- version?: bigint | undefined;
1761
- }>>;
1762
- }, "strict", ZodTypeAny, baseObjectOutputType<{
1763
- collection: z.ZodString;
1764
- key: z.ZodString;
1765
- data: z.ZodOptional<ZodObject<{
1766
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1767
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1768
- description: z.ZodOptional<z.ZodString>;
1769
- created_at: z.ZodBigInt;
1770
- updated_at: z.ZodBigInt;
1771
- version: z.ZodOptional<z.ZodBigInt>;
1772
- }, "strict", ZodTypeAny, {
1773
- owner: Uint8Array<ArrayBufferLike>;
1774
- data: Uint8Array<ArrayBufferLike>;
1775
- created_at: bigint;
1776
- updated_at: bigint;
1777
- description?: string | undefined;
1778
- version?: bigint | undefined;
1779
- }, {
1780
- owner: Uint8Array<ArrayBufferLike>;
1781
- data: Uint8Array<ArrayBufferLike>;
1782
- created_at: bigint;
1783
- updated_at: bigint;
1784
- description?: string | undefined;
1785
- version?: bigint | undefined;
1786
- }>>;
1787
- }>, baseObjectInputType<{
1788
- collection: z.ZodString;
1789
- key: z.ZodString;
1790
- data: z.ZodOptional<ZodObject<{
1791
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1792
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1793
- description: z.ZodOptional<z.ZodString>;
1794
- created_at: z.ZodBigInt;
1795
- updated_at: z.ZodBigInt;
1796
- version: z.ZodOptional<z.ZodBigInt>;
1797
- }, "strict", ZodTypeAny, {
1798
- owner: Uint8Array<ArrayBufferLike>;
1799
- data: Uint8Array<ArrayBufferLike>;
1800
- created_at: bigint;
1801
- updated_at: bigint;
1802
- description?: string | undefined;
1803
- version?: bigint | undefined;
1804
- }, {
1805
- owner: Uint8Array<ArrayBufferLike>;
1806
- data: Uint8Array<ArrayBufferLike>;
1807
- created_at: bigint;
1808
- updated_at: bigint;
1809
- description?: string | undefined;
1810
- version?: bigint | undefined;
1811
- }>>;
1812
- }>>;
1813
- }>>;
118
+ }, z.core.$strict>>;
119
+ }, z.core.$strict>;
120
+ }, z.core.$strict>;
1814
121
  /**
1815
122
  * The context provided to the `onDeleteDoc` hook.
1816
123
  *
@@ -1821,241 +128,21 @@ export type OnDeleteDocContext = HookContext<DocContext<OptionDoc>>;
1821
128
  /**
1822
129
  * @see OnDeleteManyDocsContext
1823
130
  */
1824
- export declare const OnDeleteManyDocsContextSchema: ZodObject<{
1825
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1826
- data: z.ZodArray<ZodObject<{
1827
- collection: z.ZodString;
1828
- key: z.ZodString;
1829
- data: z.ZodOptional<ZodObject<{
1830
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1831
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1832
- description: z.ZodOptional<z.ZodString>;
1833
- created_at: z.ZodBigInt;
1834
- updated_at: z.ZodBigInt;
1835
- version: z.ZodOptional<z.ZodBigInt>;
1836
- }, "strict", ZodTypeAny, {
1837
- owner: Uint8Array<ArrayBufferLike>;
1838
- data: Uint8Array<ArrayBufferLike>;
1839
- created_at: bigint;
1840
- updated_at: bigint;
1841
- description?: string | undefined;
1842
- version?: bigint | undefined;
1843
- }, {
1844
- owner: Uint8Array<ArrayBufferLike>;
1845
- data: Uint8Array<ArrayBufferLike>;
1846
- created_at: bigint;
1847
- updated_at: bigint;
1848
- description?: string | undefined;
1849
- version?: bigint | undefined;
1850
- }>>;
1851
- }, "strict", ZodTypeAny, baseObjectOutputType<{
1852
- collection: z.ZodString;
1853
- key: z.ZodString;
1854
- data: z.ZodOptional<ZodObject<{
1855
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1856
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1857
- description: z.ZodOptional<z.ZodString>;
1858
- created_at: z.ZodBigInt;
1859
- updated_at: z.ZodBigInt;
1860
- version: z.ZodOptional<z.ZodBigInt>;
1861
- }, "strict", ZodTypeAny, {
1862
- owner: Uint8Array<ArrayBufferLike>;
1863
- data: Uint8Array<ArrayBufferLike>;
1864
- created_at: bigint;
1865
- updated_at: bigint;
1866
- description?: string | undefined;
1867
- version?: bigint | undefined;
1868
- }, {
1869
- owner: Uint8Array<ArrayBufferLike>;
1870
- data: Uint8Array<ArrayBufferLike>;
1871
- created_at: bigint;
1872
- updated_at: bigint;
1873
- description?: string | undefined;
1874
- version?: bigint | undefined;
1875
- }>>;
1876
- }>, baseObjectInputType<{
1877
- collection: z.ZodString;
1878
- key: z.ZodString;
1879
- data: z.ZodOptional<ZodObject<{
1880
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1881
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1882
- description: z.ZodOptional<z.ZodString>;
1883
- created_at: z.ZodBigInt;
1884
- updated_at: z.ZodBigInt;
1885
- version: z.ZodOptional<z.ZodBigInt>;
1886
- }, "strict", ZodTypeAny, {
1887
- owner: Uint8Array<ArrayBufferLike>;
1888
- data: Uint8Array<ArrayBufferLike>;
1889
- created_at: bigint;
1890
- updated_at: bigint;
1891
- description?: string | undefined;
1892
- version?: bigint | undefined;
1893
- }, {
1894
- owner: Uint8Array<ArrayBufferLike>;
1895
- data: Uint8Array<ArrayBufferLike>;
1896
- created_at: bigint;
1897
- updated_at: bigint;
1898
- description?: string | undefined;
1899
- version?: bigint | undefined;
1900
- }>>;
1901
- }>>, "many">;
1902
- }, "strict", ZodTypeAny, baseObjectOutputType<{
1903
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1904
- data: z.ZodArray<ZodObject<{
1905
- collection: z.ZodString;
1906
- key: z.ZodString;
1907
- data: z.ZodOptional<ZodObject<{
1908
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1909
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1910
- description: z.ZodOptional<z.ZodString>;
1911
- created_at: z.ZodBigInt;
1912
- updated_at: z.ZodBigInt;
1913
- version: z.ZodOptional<z.ZodBigInt>;
1914
- }, "strict", ZodTypeAny, {
1915
- owner: Uint8Array<ArrayBufferLike>;
1916
- data: Uint8Array<ArrayBufferLike>;
1917
- created_at: bigint;
1918
- updated_at: bigint;
1919
- description?: string | undefined;
1920
- version?: bigint | undefined;
1921
- }, {
1922
- owner: Uint8Array<ArrayBufferLike>;
1923
- data: Uint8Array<ArrayBufferLike>;
1924
- created_at: bigint;
1925
- updated_at: bigint;
1926
- description?: string | undefined;
1927
- version?: bigint | undefined;
1928
- }>>;
1929
- }, "strict", ZodTypeAny, baseObjectOutputType<{
1930
- collection: z.ZodString;
1931
- key: z.ZodString;
1932
- data: z.ZodOptional<ZodObject<{
1933
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1934
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1935
- description: z.ZodOptional<z.ZodString>;
1936
- created_at: z.ZodBigInt;
1937
- updated_at: z.ZodBigInt;
1938
- version: z.ZodOptional<z.ZodBigInt>;
1939
- }, "strict", ZodTypeAny, {
1940
- owner: Uint8Array<ArrayBufferLike>;
1941
- data: Uint8Array<ArrayBufferLike>;
1942
- created_at: bigint;
1943
- updated_at: bigint;
1944
- description?: string | undefined;
1945
- version?: bigint | undefined;
1946
- }, {
1947
- owner: Uint8Array<ArrayBufferLike>;
1948
- data: Uint8Array<ArrayBufferLike>;
1949
- created_at: bigint;
1950
- updated_at: bigint;
1951
- description?: string | undefined;
1952
- version?: bigint | undefined;
1953
- }>>;
1954
- }>, baseObjectInputType<{
1955
- collection: z.ZodString;
1956
- key: z.ZodString;
1957
- data: z.ZodOptional<ZodObject<{
1958
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1959
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1960
- description: z.ZodOptional<z.ZodString>;
1961
- created_at: z.ZodBigInt;
1962
- updated_at: z.ZodBigInt;
1963
- version: z.ZodOptional<z.ZodBigInt>;
1964
- }, "strict", ZodTypeAny, {
1965
- owner: Uint8Array<ArrayBufferLike>;
1966
- data: Uint8Array<ArrayBufferLike>;
1967
- created_at: bigint;
1968
- updated_at: bigint;
1969
- description?: string | undefined;
1970
- version?: bigint | undefined;
1971
- }, {
1972
- owner: Uint8Array<ArrayBufferLike>;
1973
- data: Uint8Array<ArrayBufferLike>;
1974
- created_at: bigint;
1975
- updated_at: bigint;
1976
- description?: string | undefined;
1977
- version?: bigint | undefined;
1978
- }>>;
1979
- }>>, "many">;
1980
- }>, baseObjectInputType<{
1981
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1982
- data: z.ZodArray<ZodObject<{
1983
- collection: z.ZodString;
1984
- key: z.ZodString;
1985
- data: z.ZodOptional<ZodObject<{
1986
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1987
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1988
- description: z.ZodOptional<z.ZodString>;
1989
- created_at: z.ZodBigInt;
1990
- updated_at: z.ZodBigInt;
1991
- version: z.ZodOptional<z.ZodBigInt>;
1992
- }, "strict", ZodTypeAny, {
1993
- owner: Uint8Array<ArrayBufferLike>;
1994
- data: Uint8Array<ArrayBufferLike>;
1995
- created_at: bigint;
1996
- updated_at: bigint;
1997
- description?: string | undefined;
1998
- version?: bigint | undefined;
1999
- }, {
2000
- owner: Uint8Array<ArrayBufferLike>;
2001
- data: Uint8Array<ArrayBufferLike>;
2002
- created_at: bigint;
2003
- updated_at: bigint;
2004
- description?: string | undefined;
2005
- version?: bigint | undefined;
2006
- }>>;
2007
- }, "strict", ZodTypeAny, baseObjectOutputType<{
131
+ export declare const OnDeleteManyDocsContextSchema: z.ZodObject<{
132
+ caller: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
133
+ data: z.ZodArray<z.ZodObject<{
2008
134
  collection: z.ZodString;
2009
135
  key: z.ZodString;
2010
- data: z.ZodOptional<ZodObject<{
2011
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2012
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
136
+ data: z.ZodOptional<z.ZodObject<{
137
+ owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
138
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
2013
139
  description: z.ZodOptional<z.ZodString>;
2014
140
  created_at: z.ZodBigInt;
2015
141
  updated_at: z.ZodBigInt;
2016
142
  version: z.ZodOptional<z.ZodBigInt>;
2017
- }, "strict", ZodTypeAny, {
2018
- owner: Uint8Array<ArrayBufferLike>;
2019
- data: Uint8Array<ArrayBufferLike>;
2020
- created_at: bigint;
2021
- updated_at: bigint;
2022
- description?: string | undefined;
2023
- version?: bigint | undefined;
2024
- }, {
2025
- owner: Uint8Array<ArrayBufferLike>;
2026
- data: Uint8Array<ArrayBufferLike>;
2027
- created_at: bigint;
2028
- updated_at: bigint;
2029
- description?: string | undefined;
2030
- version?: bigint | undefined;
2031
- }>>;
2032
- }>, baseObjectInputType<{
2033
- collection: z.ZodString;
2034
- key: z.ZodString;
2035
- data: z.ZodOptional<ZodObject<{
2036
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2037
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2038
- description: z.ZodOptional<z.ZodString>;
2039
- created_at: z.ZodBigInt;
2040
- updated_at: z.ZodBigInt;
2041
- version: z.ZodOptional<z.ZodBigInt>;
2042
- }, "strict", ZodTypeAny, {
2043
- owner: Uint8Array<ArrayBufferLike>;
2044
- data: Uint8Array<ArrayBufferLike>;
2045
- created_at: bigint;
2046
- updated_at: bigint;
2047
- description?: string | undefined;
2048
- version?: bigint | undefined;
2049
- }, {
2050
- owner: Uint8Array<ArrayBufferLike>;
2051
- data: Uint8Array<ArrayBufferLike>;
2052
- created_at: bigint;
2053
- updated_at: bigint;
2054
- description?: string | undefined;
2055
- version?: bigint | undefined;
2056
- }>>;
2057
- }>>, "many">;
2058
- }>>;
143
+ }, z.core.$strict>>;
144
+ }, z.core.$strict>>;
145
+ }, z.core.$strict>;
2059
146
  /**
2060
147
  * The context provided to the `onDeleteManyDocs` hook.
2061
148
  *
@@ -2066,241 +153,21 @@ export type OnDeleteManyDocsContext = HookContext<DocContext<OptionDoc>[]>;
2066
153
  /**
2067
154
  * @see OnDeleteFilteredDocsContext
2068
155
  */
2069
- export declare const OnDeleteFilteredDocsContextSchema: ZodObject<{
2070
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2071
- data: z.ZodArray<ZodObject<{
2072
- collection: z.ZodString;
2073
- key: z.ZodString;
2074
- data: z.ZodOptional<ZodObject<{
2075
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2076
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2077
- description: z.ZodOptional<z.ZodString>;
2078
- created_at: z.ZodBigInt;
2079
- updated_at: z.ZodBigInt;
2080
- version: z.ZodOptional<z.ZodBigInt>;
2081
- }, "strict", ZodTypeAny, {
2082
- owner: Uint8Array<ArrayBufferLike>;
2083
- data: Uint8Array<ArrayBufferLike>;
2084
- created_at: bigint;
2085
- updated_at: bigint;
2086
- description?: string | undefined;
2087
- version?: bigint | undefined;
2088
- }, {
2089
- owner: Uint8Array<ArrayBufferLike>;
2090
- data: Uint8Array<ArrayBufferLike>;
2091
- created_at: bigint;
2092
- updated_at: bigint;
2093
- description?: string | undefined;
2094
- version?: bigint | undefined;
2095
- }>>;
2096
- }, "strict", ZodTypeAny, baseObjectOutputType<{
2097
- collection: z.ZodString;
2098
- key: z.ZodString;
2099
- data: z.ZodOptional<ZodObject<{
2100
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2101
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2102
- description: z.ZodOptional<z.ZodString>;
2103
- created_at: z.ZodBigInt;
2104
- updated_at: z.ZodBigInt;
2105
- version: z.ZodOptional<z.ZodBigInt>;
2106
- }, "strict", ZodTypeAny, {
2107
- owner: Uint8Array<ArrayBufferLike>;
2108
- data: Uint8Array<ArrayBufferLike>;
2109
- created_at: bigint;
2110
- updated_at: bigint;
2111
- description?: string | undefined;
2112
- version?: bigint | undefined;
2113
- }, {
2114
- owner: Uint8Array<ArrayBufferLike>;
2115
- data: Uint8Array<ArrayBufferLike>;
2116
- created_at: bigint;
2117
- updated_at: bigint;
2118
- description?: string | undefined;
2119
- version?: bigint | undefined;
2120
- }>>;
2121
- }>, baseObjectInputType<{
2122
- collection: z.ZodString;
2123
- key: z.ZodString;
2124
- data: z.ZodOptional<ZodObject<{
2125
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2126
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2127
- description: z.ZodOptional<z.ZodString>;
2128
- created_at: z.ZodBigInt;
2129
- updated_at: z.ZodBigInt;
2130
- version: z.ZodOptional<z.ZodBigInt>;
2131
- }, "strict", ZodTypeAny, {
2132
- owner: Uint8Array<ArrayBufferLike>;
2133
- data: Uint8Array<ArrayBufferLike>;
2134
- created_at: bigint;
2135
- updated_at: bigint;
2136
- description?: string | undefined;
2137
- version?: bigint | undefined;
2138
- }, {
2139
- owner: Uint8Array<ArrayBufferLike>;
2140
- data: Uint8Array<ArrayBufferLike>;
2141
- created_at: bigint;
2142
- updated_at: bigint;
2143
- description?: string | undefined;
2144
- version?: bigint | undefined;
2145
- }>>;
2146
- }>>, "many">;
2147
- }, "strict", ZodTypeAny, baseObjectOutputType<{
2148
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2149
- data: z.ZodArray<ZodObject<{
2150
- collection: z.ZodString;
2151
- key: z.ZodString;
2152
- data: z.ZodOptional<ZodObject<{
2153
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2154
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2155
- description: z.ZodOptional<z.ZodString>;
2156
- created_at: z.ZodBigInt;
2157
- updated_at: z.ZodBigInt;
2158
- version: z.ZodOptional<z.ZodBigInt>;
2159
- }, "strict", ZodTypeAny, {
2160
- owner: Uint8Array<ArrayBufferLike>;
2161
- data: Uint8Array<ArrayBufferLike>;
2162
- created_at: bigint;
2163
- updated_at: bigint;
2164
- description?: string | undefined;
2165
- version?: bigint | undefined;
2166
- }, {
2167
- owner: Uint8Array<ArrayBufferLike>;
2168
- data: Uint8Array<ArrayBufferLike>;
2169
- created_at: bigint;
2170
- updated_at: bigint;
2171
- description?: string | undefined;
2172
- version?: bigint | undefined;
2173
- }>>;
2174
- }, "strict", ZodTypeAny, baseObjectOutputType<{
2175
- collection: z.ZodString;
2176
- key: z.ZodString;
2177
- data: z.ZodOptional<ZodObject<{
2178
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2179
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2180
- description: z.ZodOptional<z.ZodString>;
2181
- created_at: z.ZodBigInt;
2182
- updated_at: z.ZodBigInt;
2183
- version: z.ZodOptional<z.ZodBigInt>;
2184
- }, "strict", ZodTypeAny, {
2185
- owner: Uint8Array<ArrayBufferLike>;
2186
- data: Uint8Array<ArrayBufferLike>;
2187
- created_at: bigint;
2188
- updated_at: bigint;
2189
- description?: string | undefined;
2190
- version?: bigint | undefined;
2191
- }, {
2192
- owner: Uint8Array<ArrayBufferLike>;
2193
- data: Uint8Array<ArrayBufferLike>;
2194
- created_at: bigint;
2195
- updated_at: bigint;
2196
- description?: string | undefined;
2197
- version?: bigint | undefined;
2198
- }>>;
2199
- }>, baseObjectInputType<{
2200
- collection: z.ZodString;
2201
- key: z.ZodString;
2202
- data: z.ZodOptional<ZodObject<{
2203
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2204
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2205
- description: z.ZodOptional<z.ZodString>;
2206
- created_at: z.ZodBigInt;
2207
- updated_at: z.ZodBigInt;
2208
- version: z.ZodOptional<z.ZodBigInt>;
2209
- }, "strict", ZodTypeAny, {
2210
- owner: Uint8Array<ArrayBufferLike>;
2211
- data: Uint8Array<ArrayBufferLike>;
2212
- created_at: bigint;
2213
- updated_at: bigint;
2214
- description?: string | undefined;
2215
- version?: bigint | undefined;
2216
- }, {
2217
- owner: Uint8Array<ArrayBufferLike>;
2218
- data: Uint8Array<ArrayBufferLike>;
2219
- created_at: bigint;
2220
- updated_at: bigint;
2221
- description?: string | undefined;
2222
- version?: bigint | undefined;
2223
- }>>;
2224
- }>>, "many">;
2225
- }>, baseObjectInputType<{
2226
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2227
- data: z.ZodArray<ZodObject<{
2228
- collection: z.ZodString;
2229
- key: z.ZodString;
2230
- data: z.ZodOptional<ZodObject<{
2231
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2232
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2233
- description: z.ZodOptional<z.ZodString>;
2234
- created_at: z.ZodBigInt;
2235
- updated_at: z.ZodBigInt;
2236
- version: z.ZodOptional<z.ZodBigInt>;
2237
- }, "strict", ZodTypeAny, {
2238
- owner: Uint8Array<ArrayBufferLike>;
2239
- data: Uint8Array<ArrayBufferLike>;
2240
- created_at: bigint;
2241
- updated_at: bigint;
2242
- description?: string | undefined;
2243
- version?: bigint | undefined;
2244
- }, {
2245
- owner: Uint8Array<ArrayBufferLike>;
2246
- data: Uint8Array<ArrayBufferLike>;
2247
- created_at: bigint;
2248
- updated_at: bigint;
2249
- description?: string | undefined;
2250
- version?: bigint | undefined;
2251
- }>>;
2252
- }, "strict", ZodTypeAny, baseObjectOutputType<{
2253
- collection: z.ZodString;
2254
- key: z.ZodString;
2255
- data: z.ZodOptional<ZodObject<{
2256
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2257
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2258
- description: z.ZodOptional<z.ZodString>;
2259
- created_at: z.ZodBigInt;
2260
- updated_at: z.ZodBigInt;
2261
- version: z.ZodOptional<z.ZodBigInt>;
2262
- }, "strict", ZodTypeAny, {
2263
- owner: Uint8Array<ArrayBufferLike>;
2264
- data: Uint8Array<ArrayBufferLike>;
2265
- created_at: bigint;
2266
- updated_at: bigint;
2267
- description?: string | undefined;
2268
- version?: bigint | undefined;
2269
- }, {
2270
- owner: Uint8Array<ArrayBufferLike>;
2271
- data: Uint8Array<ArrayBufferLike>;
2272
- created_at: bigint;
2273
- updated_at: bigint;
2274
- description?: string | undefined;
2275
- version?: bigint | undefined;
2276
- }>>;
2277
- }>, baseObjectInputType<{
156
+ export declare const OnDeleteFilteredDocsContextSchema: z.ZodObject<{
157
+ caller: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
158
+ data: z.ZodArray<z.ZodObject<{
2278
159
  collection: z.ZodString;
2279
160
  key: z.ZodString;
2280
- data: z.ZodOptional<ZodObject<{
2281
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2282
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
161
+ data: z.ZodOptional<z.ZodObject<{
162
+ owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
163
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
2283
164
  description: z.ZodOptional<z.ZodString>;
2284
165
  created_at: z.ZodBigInt;
2285
166
  updated_at: z.ZodBigInt;
2286
167
  version: z.ZodOptional<z.ZodBigInt>;
2287
- }, "strict", ZodTypeAny, {
2288
- owner: Uint8Array<ArrayBufferLike>;
2289
- data: Uint8Array<ArrayBufferLike>;
2290
- created_at: bigint;
2291
- updated_at: bigint;
2292
- description?: string | undefined;
2293
- version?: bigint | undefined;
2294
- }, {
2295
- owner: Uint8Array<ArrayBufferLike>;
2296
- data: Uint8Array<ArrayBufferLike>;
2297
- created_at: bigint;
2298
- updated_at: bigint;
2299
- description?: string | undefined;
2300
- version?: bigint | undefined;
2301
- }>>;
2302
- }>>, "many">;
2303
- }>>;
168
+ }, z.core.$strict>>;
169
+ }, z.core.$strict>>;
170
+ }, z.core.$strict>;
2304
171
  /**
2305
172
  * The context provided to the `onDeleteFilteredDocs` hook.
2306
173
  *
@@ -2311,628 +178,28 @@ export type OnDeleteFilteredDocsContext = HookContext<DocContext<OptionDoc>[]>;
2311
178
  /**
2312
179
  * @see AssertSetDocContext
2313
180
  */
2314
- export declare const AssertSetDocContextSchema: ZodObject<{
2315
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2316
- data: ZodObject<{
181
+ export declare const AssertSetDocContextSchema: z.ZodObject<{
182
+ caller: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
183
+ data: z.ZodObject<{
2317
184
  collection: z.ZodString;
2318
185
  key: z.ZodString;
2319
- data: ZodObject<{
2320
- current: z.ZodOptional<ZodObject<{
2321
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2322
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
186
+ data: z.ZodObject<{
187
+ current: z.ZodOptional<z.ZodObject<{
188
+ owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
189
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
2323
190
  description: z.ZodOptional<z.ZodString>;
2324
191
  created_at: z.ZodBigInt;
2325
192
  updated_at: z.ZodBigInt;
2326
193
  version: z.ZodOptional<z.ZodBigInt>;
2327
- }, "strict", ZodTypeAny, {
2328
- owner: Uint8Array<ArrayBufferLike>;
2329
- data: Uint8Array<ArrayBufferLike>;
2330
- created_at: bigint;
2331
- updated_at: bigint;
2332
- description?: string | undefined;
2333
- version?: bigint | undefined;
2334
- }, {
2335
- owner: Uint8Array<ArrayBufferLike>;
2336
- data: Uint8Array<ArrayBufferLike>;
2337
- created_at: bigint;
2338
- updated_at: bigint;
2339
- description?: string | undefined;
2340
- version?: bigint | undefined;
2341
- }>>;
2342
- proposed: ZodObject<{
2343
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
194
+ }, z.core.$strict>>;
195
+ proposed: z.ZodObject<{
196
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
2344
197
  description: z.ZodOptional<z.ZodString>;
2345
198
  version: z.ZodOptional<z.ZodBigInt>;
2346
- }, "strict", ZodTypeAny, {
2347
- data: Uint8Array<ArrayBufferLike>;
2348
- description?: string | undefined;
2349
- version?: bigint | undefined;
2350
- }, {
2351
- data: Uint8Array<ArrayBufferLike>;
2352
- description?: string | undefined;
2353
- version?: bigint | undefined;
2354
- }>;
2355
- }, "strict", ZodTypeAny, {
2356
- proposed: {
2357
- data: Uint8Array<ArrayBufferLike>;
2358
- description?: string | undefined;
2359
- version?: bigint | undefined;
2360
- };
2361
- current?: {
2362
- owner: Uint8Array<ArrayBufferLike>;
2363
- data: Uint8Array<ArrayBufferLike>;
2364
- created_at: bigint;
2365
- updated_at: bigint;
2366
- description?: string | undefined;
2367
- version?: bigint | undefined;
2368
- } | undefined;
2369
- }, {
2370
- proposed: {
2371
- data: Uint8Array<ArrayBufferLike>;
2372
- description?: string | undefined;
2373
- version?: bigint | undefined;
2374
- };
2375
- current?: {
2376
- owner: Uint8Array<ArrayBufferLike>;
2377
- data: Uint8Array<ArrayBufferLike>;
2378
- created_at: bigint;
2379
- updated_at: bigint;
2380
- description?: string | undefined;
2381
- version?: bigint | undefined;
2382
- } | undefined;
2383
- }>;
2384
- }, "strict", ZodTypeAny, baseObjectOutputType<{
2385
- collection: z.ZodString;
2386
- key: z.ZodString;
2387
- data: ZodObject<{
2388
- current: z.ZodOptional<ZodObject<{
2389
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2390
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2391
- description: z.ZodOptional<z.ZodString>;
2392
- created_at: z.ZodBigInt;
2393
- updated_at: z.ZodBigInt;
2394
- version: z.ZodOptional<z.ZodBigInt>;
2395
- }, "strict", ZodTypeAny, {
2396
- owner: Uint8Array<ArrayBufferLike>;
2397
- data: Uint8Array<ArrayBufferLike>;
2398
- created_at: bigint;
2399
- updated_at: bigint;
2400
- description?: string | undefined;
2401
- version?: bigint | undefined;
2402
- }, {
2403
- owner: Uint8Array<ArrayBufferLike>;
2404
- data: Uint8Array<ArrayBufferLike>;
2405
- created_at: bigint;
2406
- updated_at: bigint;
2407
- description?: string | undefined;
2408
- version?: bigint | undefined;
2409
- }>>;
2410
- proposed: ZodObject<{
2411
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2412
- description: z.ZodOptional<z.ZodString>;
2413
- version: z.ZodOptional<z.ZodBigInt>;
2414
- }, "strict", ZodTypeAny, {
2415
- data: Uint8Array<ArrayBufferLike>;
2416
- description?: string | undefined;
2417
- version?: bigint | undefined;
2418
- }, {
2419
- data: Uint8Array<ArrayBufferLike>;
2420
- description?: string | undefined;
2421
- version?: bigint | undefined;
2422
- }>;
2423
- }, "strict", ZodTypeAny, {
2424
- proposed: {
2425
- data: Uint8Array<ArrayBufferLike>;
2426
- description?: string | undefined;
2427
- version?: bigint | undefined;
2428
- };
2429
- current?: {
2430
- owner: Uint8Array<ArrayBufferLike>;
2431
- data: Uint8Array<ArrayBufferLike>;
2432
- created_at: bigint;
2433
- updated_at: bigint;
2434
- description?: string | undefined;
2435
- version?: bigint | undefined;
2436
- } | undefined;
2437
- }, {
2438
- proposed: {
2439
- data: Uint8Array<ArrayBufferLike>;
2440
- description?: string | undefined;
2441
- version?: bigint | undefined;
2442
- };
2443
- current?: {
2444
- owner: Uint8Array<ArrayBufferLike>;
2445
- data: Uint8Array<ArrayBufferLike>;
2446
- created_at: bigint;
2447
- updated_at: bigint;
2448
- description?: string | undefined;
2449
- version?: bigint | undefined;
2450
- } | undefined;
2451
- }>;
2452
- }>, baseObjectInputType<{
2453
- collection: z.ZodString;
2454
- key: z.ZodString;
2455
- data: ZodObject<{
2456
- current: z.ZodOptional<ZodObject<{
2457
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2458
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2459
- description: z.ZodOptional<z.ZodString>;
2460
- created_at: z.ZodBigInt;
2461
- updated_at: z.ZodBigInt;
2462
- version: z.ZodOptional<z.ZodBigInt>;
2463
- }, "strict", ZodTypeAny, {
2464
- owner: Uint8Array<ArrayBufferLike>;
2465
- data: Uint8Array<ArrayBufferLike>;
2466
- created_at: bigint;
2467
- updated_at: bigint;
2468
- description?: string | undefined;
2469
- version?: bigint | undefined;
2470
- }, {
2471
- owner: Uint8Array<ArrayBufferLike>;
2472
- data: Uint8Array<ArrayBufferLike>;
2473
- created_at: bigint;
2474
- updated_at: bigint;
2475
- description?: string | undefined;
2476
- version?: bigint | undefined;
2477
- }>>;
2478
- proposed: ZodObject<{
2479
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2480
- description: z.ZodOptional<z.ZodString>;
2481
- version: z.ZodOptional<z.ZodBigInt>;
2482
- }, "strict", ZodTypeAny, {
2483
- data: Uint8Array<ArrayBufferLike>;
2484
- description?: string | undefined;
2485
- version?: bigint | undefined;
2486
- }, {
2487
- data: Uint8Array<ArrayBufferLike>;
2488
- description?: string | undefined;
2489
- version?: bigint | undefined;
2490
- }>;
2491
- }, "strict", ZodTypeAny, {
2492
- proposed: {
2493
- data: Uint8Array<ArrayBufferLike>;
2494
- description?: string | undefined;
2495
- version?: bigint | undefined;
2496
- };
2497
- current?: {
2498
- owner: Uint8Array<ArrayBufferLike>;
2499
- data: Uint8Array<ArrayBufferLike>;
2500
- created_at: bigint;
2501
- updated_at: bigint;
2502
- description?: string | undefined;
2503
- version?: bigint | undefined;
2504
- } | undefined;
2505
- }, {
2506
- proposed: {
2507
- data: Uint8Array<ArrayBufferLike>;
2508
- description?: string | undefined;
2509
- version?: bigint | undefined;
2510
- };
2511
- current?: {
2512
- owner: Uint8Array<ArrayBufferLike>;
2513
- data: Uint8Array<ArrayBufferLike>;
2514
- created_at: bigint;
2515
- updated_at: bigint;
2516
- description?: string | undefined;
2517
- version?: bigint | undefined;
2518
- } | undefined;
2519
- }>;
2520
- }>>;
2521
- }, "strict", ZodTypeAny, baseObjectOutputType<{
2522
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2523
- data: ZodObject<{
2524
- collection: z.ZodString;
2525
- key: z.ZodString;
2526
- data: ZodObject<{
2527
- current: z.ZodOptional<ZodObject<{
2528
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2529
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2530
- description: z.ZodOptional<z.ZodString>;
2531
- created_at: z.ZodBigInt;
2532
- updated_at: z.ZodBigInt;
2533
- version: z.ZodOptional<z.ZodBigInt>;
2534
- }, "strict", ZodTypeAny, {
2535
- owner: Uint8Array<ArrayBufferLike>;
2536
- data: Uint8Array<ArrayBufferLike>;
2537
- created_at: bigint;
2538
- updated_at: bigint;
2539
- description?: string | undefined;
2540
- version?: bigint | undefined;
2541
- }, {
2542
- owner: Uint8Array<ArrayBufferLike>;
2543
- data: Uint8Array<ArrayBufferLike>;
2544
- created_at: bigint;
2545
- updated_at: bigint;
2546
- description?: string | undefined;
2547
- version?: bigint | undefined;
2548
- }>>;
2549
- proposed: ZodObject<{
2550
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2551
- description: z.ZodOptional<z.ZodString>;
2552
- version: z.ZodOptional<z.ZodBigInt>;
2553
- }, "strict", ZodTypeAny, {
2554
- data: Uint8Array<ArrayBufferLike>;
2555
- description?: string | undefined;
2556
- version?: bigint | undefined;
2557
- }, {
2558
- data: Uint8Array<ArrayBufferLike>;
2559
- description?: string | undefined;
2560
- version?: bigint | undefined;
2561
- }>;
2562
- }, "strict", ZodTypeAny, {
2563
- proposed: {
2564
- data: Uint8Array<ArrayBufferLike>;
2565
- description?: string | undefined;
2566
- version?: bigint | undefined;
2567
- };
2568
- current?: {
2569
- owner: Uint8Array<ArrayBufferLike>;
2570
- data: Uint8Array<ArrayBufferLike>;
2571
- created_at: bigint;
2572
- updated_at: bigint;
2573
- description?: string | undefined;
2574
- version?: bigint | undefined;
2575
- } | undefined;
2576
- }, {
2577
- proposed: {
2578
- data: Uint8Array<ArrayBufferLike>;
2579
- description?: string | undefined;
2580
- version?: bigint | undefined;
2581
- };
2582
- current?: {
2583
- owner: Uint8Array<ArrayBufferLike>;
2584
- data: Uint8Array<ArrayBufferLike>;
2585
- created_at: bigint;
2586
- updated_at: bigint;
2587
- description?: string | undefined;
2588
- version?: bigint | undefined;
2589
- } | undefined;
2590
- }>;
2591
- }, "strict", ZodTypeAny, baseObjectOutputType<{
2592
- collection: z.ZodString;
2593
- key: z.ZodString;
2594
- data: ZodObject<{
2595
- current: z.ZodOptional<ZodObject<{
2596
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2597
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2598
- description: z.ZodOptional<z.ZodString>;
2599
- created_at: z.ZodBigInt;
2600
- updated_at: z.ZodBigInt;
2601
- version: z.ZodOptional<z.ZodBigInt>;
2602
- }, "strict", ZodTypeAny, {
2603
- owner: Uint8Array<ArrayBufferLike>;
2604
- data: Uint8Array<ArrayBufferLike>;
2605
- created_at: bigint;
2606
- updated_at: bigint;
2607
- description?: string | undefined;
2608
- version?: bigint | undefined;
2609
- }, {
2610
- owner: Uint8Array<ArrayBufferLike>;
2611
- data: Uint8Array<ArrayBufferLike>;
2612
- created_at: bigint;
2613
- updated_at: bigint;
2614
- description?: string | undefined;
2615
- version?: bigint | undefined;
2616
- }>>;
2617
- proposed: ZodObject<{
2618
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2619
- description: z.ZodOptional<z.ZodString>;
2620
- version: z.ZodOptional<z.ZodBigInt>;
2621
- }, "strict", ZodTypeAny, {
2622
- data: Uint8Array<ArrayBufferLike>;
2623
- description?: string | undefined;
2624
- version?: bigint | undefined;
2625
- }, {
2626
- data: Uint8Array<ArrayBufferLike>;
2627
- description?: string | undefined;
2628
- version?: bigint | undefined;
2629
- }>;
2630
- }, "strict", ZodTypeAny, {
2631
- proposed: {
2632
- data: Uint8Array<ArrayBufferLike>;
2633
- description?: string | undefined;
2634
- version?: bigint | undefined;
2635
- };
2636
- current?: {
2637
- owner: Uint8Array<ArrayBufferLike>;
2638
- data: Uint8Array<ArrayBufferLike>;
2639
- created_at: bigint;
2640
- updated_at: bigint;
2641
- description?: string | undefined;
2642
- version?: bigint | undefined;
2643
- } | undefined;
2644
- }, {
2645
- proposed: {
2646
- data: Uint8Array<ArrayBufferLike>;
2647
- description?: string | undefined;
2648
- version?: bigint | undefined;
2649
- };
2650
- current?: {
2651
- owner: Uint8Array<ArrayBufferLike>;
2652
- data: Uint8Array<ArrayBufferLike>;
2653
- created_at: bigint;
2654
- updated_at: bigint;
2655
- description?: string | undefined;
2656
- version?: bigint | undefined;
2657
- } | undefined;
2658
- }>;
2659
- }>, baseObjectInputType<{
2660
- collection: z.ZodString;
2661
- key: z.ZodString;
2662
- data: ZodObject<{
2663
- current: z.ZodOptional<ZodObject<{
2664
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2665
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2666
- description: z.ZodOptional<z.ZodString>;
2667
- created_at: z.ZodBigInt;
2668
- updated_at: z.ZodBigInt;
2669
- version: z.ZodOptional<z.ZodBigInt>;
2670
- }, "strict", ZodTypeAny, {
2671
- owner: Uint8Array<ArrayBufferLike>;
2672
- data: Uint8Array<ArrayBufferLike>;
2673
- created_at: bigint;
2674
- updated_at: bigint;
2675
- description?: string | undefined;
2676
- version?: bigint | undefined;
2677
- }, {
2678
- owner: Uint8Array<ArrayBufferLike>;
2679
- data: Uint8Array<ArrayBufferLike>;
2680
- created_at: bigint;
2681
- updated_at: bigint;
2682
- description?: string | undefined;
2683
- version?: bigint | undefined;
2684
- }>>;
2685
- proposed: ZodObject<{
2686
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2687
- description: z.ZodOptional<z.ZodString>;
2688
- version: z.ZodOptional<z.ZodBigInt>;
2689
- }, "strict", ZodTypeAny, {
2690
- data: Uint8Array<ArrayBufferLike>;
2691
- description?: string | undefined;
2692
- version?: bigint | undefined;
2693
- }, {
2694
- data: Uint8Array<ArrayBufferLike>;
2695
- description?: string | undefined;
2696
- version?: bigint | undefined;
2697
- }>;
2698
- }, "strict", ZodTypeAny, {
2699
- proposed: {
2700
- data: Uint8Array<ArrayBufferLike>;
2701
- description?: string | undefined;
2702
- version?: bigint | undefined;
2703
- };
2704
- current?: {
2705
- owner: Uint8Array<ArrayBufferLike>;
2706
- data: Uint8Array<ArrayBufferLike>;
2707
- created_at: bigint;
2708
- updated_at: bigint;
2709
- description?: string | undefined;
2710
- version?: bigint | undefined;
2711
- } | undefined;
2712
- }, {
2713
- proposed: {
2714
- data: Uint8Array<ArrayBufferLike>;
2715
- description?: string | undefined;
2716
- version?: bigint | undefined;
2717
- };
2718
- current?: {
2719
- owner: Uint8Array<ArrayBufferLike>;
2720
- data: Uint8Array<ArrayBufferLike>;
2721
- created_at: bigint;
2722
- updated_at: bigint;
2723
- description?: string | undefined;
2724
- version?: bigint | undefined;
2725
- } | undefined;
2726
- }>;
2727
- }>>;
2728
- }>, baseObjectInputType<{
2729
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2730
- data: ZodObject<{
2731
- collection: z.ZodString;
2732
- key: z.ZodString;
2733
- data: ZodObject<{
2734
- current: z.ZodOptional<ZodObject<{
2735
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2736
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2737
- description: z.ZodOptional<z.ZodString>;
2738
- created_at: z.ZodBigInt;
2739
- updated_at: z.ZodBigInt;
2740
- version: z.ZodOptional<z.ZodBigInt>;
2741
- }, "strict", ZodTypeAny, {
2742
- owner: Uint8Array<ArrayBufferLike>;
2743
- data: Uint8Array<ArrayBufferLike>;
2744
- created_at: bigint;
2745
- updated_at: bigint;
2746
- description?: string | undefined;
2747
- version?: bigint | undefined;
2748
- }, {
2749
- owner: Uint8Array<ArrayBufferLike>;
2750
- data: Uint8Array<ArrayBufferLike>;
2751
- created_at: bigint;
2752
- updated_at: bigint;
2753
- description?: string | undefined;
2754
- version?: bigint | undefined;
2755
- }>>;
2756
- proposed: ZodObject<{
2757
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2758
- description: z.ZodOptional<z.ZodString>;
2759
- version: z.ZodOptional<z.ZodBigInt>;
2760
- }, "strict", ZodTypeAny, {
2761
- data: Uint8Array<ArrayBufferLike>;
2762
- description?: string | undefined;
2763
- version?: bigint | undefined;
2764
- }, {
2765
- data: Uint8Array<ArrayBufferLike>;
2766
- description?: string | undefined;
2767
- version?: bigint | undefined;
2768
- }>;
2769
- }, "strict", ZodTypeAny, {
2770
- proposed: {
2771
- data: Uint8Array<ArrayBufferLike>;
2772
- description?: string | undefined;
2773
- version?: bigint | undefined;
2774
- };
2775
- current?: {
2776
- owner: Uint8Array<ArrayBufferLike>;
2777
- data: Uint8Array<ArrayBufferLike>;
2778
- created_at: bigint;
2779
- updated_at: bigint;
2780
- description?: string | undefined;
2781
- version?: bigint | undefined;
2782
- } | undefined;
2783
- }, {
2784
- proposed: {
2785
- data: Uint8Array<ArrayBufferLike>;
2786
- description?: string | undefined;
2787
- version?: bigint | undefined;
2788
- };
2789
- current?: {
2790
- owner: Uint8Array<ArrayBufferLike>;
2791
- data: Uint8Array<ArrayBufferLike>;
2792
- created_at: bigint;
2793
- updated_at: bigint;
2794
- description?: string | undefined;
2795
- version?: bigint | undefined;
2796
- } | undefined;
2797
- }>;
2798
- }, "strict", ZodTypeAny, baseObjectOutputType<{
2799
- collection: z.ZodString;
2800
- key: z.ZodString;
2801
- data: ZodObject<{
2802
- current: z.ZodOptional<ZodObject<{
2803
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2804
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2805
- description: z.ZodOptional<z.ZodString>;
2806
- created_at: z.ZodBigInt;
2807
- updated_at: z.ZodBigInt;
2808
- version: z.ZodOptional<z.ZodBigInt>;
2809
- }, "strict", ZodTypeAny, {
2810
- owner: Uint8Array<ArrayBufferLike>;
2811
- data: Uint8Array<ArrayBufferLike>;
2812
- created_at: bigint;
2813
- updated_at: bigint;
2814
- description?: string | undefined;
2815
- version?: bigint | undefined;
2816
- }, {
2817
- owner: Uint8Array<ArrayBufferLike>;
2818
- data: Uint8Array<ArrayBufferLike>;
2819
- created_at: bigint;
2820
- updated_at: bigint;
2821
- description?: string | undefined;
2822
- version?: bigint | undefined;
2823
- }>>;
2824
- proposed: ZodObject<{
2825
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2826
- description: z.ZodOptional<z.ZodString>;
2827
- version: z.ZodOptional<z.ZodBigInt>;
2828
- }, "strict", ZodTypeAny, {
2829
- data: Uint8Array<ArrayBufferLike>;
2830
- description?: string | undefined;
2831
- version?: bigint | undefined;
2832
- }, {
2833
- data: Uint8Array<ArrayBufferLike>;
2834
- description?: string | undefined;
2835
- version?: bigint | undefined;
2836
- }>;
2837
- }, "strict", ZodTypeAny, {
2838
- proposed: {
2839
- data: Uint8Array<ArrayBufferLike>;
2840
- description?: string | undefined;
2841
- version?: bigint | undefined;
2842
- };
2843
- current?: {
2844
- owner: Uint8Array<ArrayBufferLike>;
2845
- data: Uint8Array<ArrayBufferLike>;
2846
- created_at: bigint;
2847
- updated_at: bigint;
2848
- description?: string | undefined;
2849
- version?: bigint | undefined;
2850
- } | undefined;
2851
- }, {
2852
- proposed: {
2853
- data: Uint8Array<ArrayBufferLike>;
2854
- description?: string | undefined;
2855
- version?: bigint | undefined;
2856
- };
2857
- current?: {
2858
- owner: Uint8Array<ArrayBufferLike>;
2859
- data: Uint8Array<ArrayBufferLike>;
2860
- created_at: bigint;
2861
- updated_at: bigint;
2862
- description?: string | undefined;
2863
- version?: bigint | undefined;
2864
- } | undefined;
2865
- }>;
2866
- }>, baseObjectInputType<{
2867
- collection: z.ZodString;
2868
- key: z.ZodString;
2869
- data: ZodObject<{
2870
- current: z.ZodOptional<ZodObject<{
2871
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2872
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2873
- description: z.ZodOptional<z.ZodString>;
2874
- created_at: z.ZodBigInt;
2875
- updated_at: z.ZodBigInt;
2876
- version: z.ZodOptional<z.ZodBigInt>;
2877
- }, "strict", ZodTypeAny, {
2878
- owner: Uint8Array<ArrayBufferLike>;
2879
- data: Uint8Array<ArrayBufferLike>;
2880
- created_at: bigint;
2881
- updated_at: bigint;
2882
- description?: string | undefined;
2883
- version?: bigint | undefined;
2884
- }, {
2885
- owner: Uint8Array<ArrayBufferLike>;
2886
- data: Uint8Array<ArrayBufferLike>;
2887
- created_at: bigint;
2888
- updated_at: bigint;
2889
- description?: string | undefined;
2890
- version?: bigint | undefined;
2891
- }>>;
2892
- proposed: ZodObject<{
2893
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2894
- description: z.ZodOptional<z.ZodString>;
2895
- version: z.ZodOptional<z.ZodBigInt>;
2896
- }, "strict", ZodTypeAny, {
2897
- data: Uint8Array<ArrayBufferLike>;
2898
- description?: string | undefined;
2899
- version?: bigint | undefined;
2900
- }, {
2901
- data: Uint8Array<ArrayBufferLike>;
2902
- description?: string | undefined;
2903
- version?: bigint | undefined;
2904
- }>;
2905
- }, "strict", ZodTypeAny, {
2906
- proposed: {
2907
- data: Uint8Array<ArrayBufferLike>;
2908
- description?: string | undefined;
2909
- version?: bigint | undefined;
2910
- };
2911
- current?: {
2912
- owner: Uint8Array<ArrayBufferLike>;
2913
- data: Uint8Array<ArrayBufferLike>;
2914
- created_at: bigint;
2915
- updated_at: bigint;
2916
- description?: string | undefined;
2917
- version?: bigint | undefined;
2918
- } | undefined;
2919
- }, {
2920
- proposed: {
2921
- data: Uint8Array<ArrayBufferLike>;
2922
- description?: string | undefined;
2923
- version?: bigint | undefined;
2924
- };
2925
- current?: {
2926
- owner: Uint8Array<ArrayBufferLike>;
2927
- data: Uint8Array<ArrayBufferLike>;
2928
- created_at: bigint;
2929
- updated_at: bigint;
2930
- description?: string | undefined;
2931
- version?: bigint | undefined;
2932
- } | undefined;
2933
- }>;
2934
- }>>;
2935
- }>>;
199
+ }, z.core.$strict>;
200
+ }, z.core.$strict>;
201
+ }, z.core.$strict>;
202
+ }, z.core.$strict>;
2936
203
  /**
2937
204
  * The context provided to the `assertDeleteDoc` hook.
2938
205
  *
@@ -2943,538 +210,26 @@ export type AssertSetDocContext = HookContext<DocContext<DocAssertSet>>;
2943
210
  /**
2944
211
  * @see AssertDeleteDocContext
2945
212
  */
2946
- export declare const AssertDeleteDocContextSchema: ZodObject<{
2947
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2948
- data: ZodObject<{
2949
- collection: z.ZodString;
2950
- key: z.ZodString;
2951
- data: ZodObject<{
2952
- current: z.ZodOptional<ZodObject<{
2953
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2954
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2955
- description: z.ZodOptional<z.ZodString>;
2956
- created_at: z.ZodBigInt;
2957
- updated_at: z.ZodBigInt;
2958
- version: z.ZodOptional<z.ZodBigInt>;
2959
- }, "strict", ZodTypeAny, {
2960
- owner: Uint8Array<ArrayBufferLike>;
2961
- data: Uint8Array<ArrayBufferLike>;
2962
- created_at: bigint;
2963
- updated_at: bigint;
2964
- description?: string | undefined;
2965
- version?: bigint | undefined;
2966
- }, {
2967
- owner: Uint8Array<ArrayBufferLike>;
2968
- data: Uint8Array<ArrayBufferLike>;
2969
- created_at: bigint;
2970
- updated_at: bigint;
2971
- description?: string | undefined;
2972
- version?: bigint | undefined;
2973
- }>>;
2974
- proposed: ZodObject<{
2975
- version: z.ZodOptional<z.ZodBigInt>;
2976
- }, "strict", ZodTypeAny, {
2977
- version?: bigint | undefined;
2978
- }, {
2979
- version?: bigint | undefined;
2980
- }>;
2981
- }, "strict", ZodTypeAny, {
2982
- proposed: {
2983
- version?: bigint | undefined;
2984
- };
2985
- current?: {
2986
- owner: Uint8Array<ArrayBufferLike>;
2987
- data: Uint8Array<ArrayBufferLike>;
2988
- created_at: bigint;
2989
- updated_at: bigint;
2990
- description?: string | undefined;
2991
- version?: bigint | undefined;
2992
- } | undefined;
2993
- }, {
2994
- proposed: {
2995
- version?: bigint | undefined;
2996
- };
2997
- current?: {
2998
- owner: Uint8Array<ArrayBufferLike>;
2999
- data: Uint8Array<ArrayBufferLike>;
3000
- created_at: bigint;
3001
- updated_at: bigint;
3002
- description?: string | undefined;
3003
- version?: bigint | undefined;
3004
- } | undefined;
3005
- }>;
3006
- }, "strict", ZodTypeAny, baseObjectOutputType<{
3007
- collection: z.ZodString;
3008
- key: z.ZodString;
3009
- data: ZodObject<{
3010
- current: z.ZodOptional<ZodObject<{
3011
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3012
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3013
- description: z.ZodOptional<z.ZodString>;
3014
- created_at: z.ZodBigInt;
3015
- updated_at: z.ZodBigInt;
3016
- version: z.ZodOptional<z.ZodBigInt>;
3017
- }, "strict", ZodTypeAny, {
3018
- owner: Uint8Array<ArrayBufferLike>;
3019
- data: Uint8Array<ArrayBufferLike>;
3020
- created_at: bigint;
3021
- updated_at: bigint;
3022
- description?: string | undefined;
3023
- version?: bigint | undefined;
3024
- }, {
3025
- owner: Uint8Array<ArrayBufferLike>;
3026
- data: Uint8Array<ArrayBufferLike>;
3027
- created_at: bigint;
3028
- updated_at: bigint;
3029
- description?: string | undefined;
3030
- version?: bigint | undefined;
3031
- }>>;
3032
- proposed: ZodObject<{
3033
- version: z.ZodOptional<z.ZodBigInt>;
3034
- }, "strict", ZodTypeAny, {
3035
- version?: bigint | undefined;
3036
- }, {
3037
- version?: bigint | undefined;
3038
- }>;
3039
- }, "strict", ZodTypeAny, {
3040
- proposed: {
3041
- version?: bigint | undefined;
3042
- };
3043
- current?: {
3044
- owner: Uint8Array<ArrayBufferLike>;
3045
- data: Uint8Array<ArrayBufferLike>;
3046
- created_at: bigint;
3047
- updated_at: bigint;
3048
- description?: string | undefined;
3049
- version?: bigint | undefined;
3050
- } | undefined;
3051
- }, {
3052
- proposed: {
3053
- version?: bigint | undefined;
3054
- };
3055
- current?: {
3056
- owner: Uint8Array<ArrayBufferLike>;
3057
- data: Uint8Array<ArrayBufferLike>;
3058
- created_at: bigint;
3059
- updated_at: bigint;
3060
- description?: string | undefined;
3061
- version?: bigint | undefined;
3062
- } | undefined;
3063
- }>;
3064
- }>, baseObjectInputType<{
3065
- collection: z.ZodString;
3066
- key: z.ZodString;
3067
- data: ZodObject<{
3068
- current: z.ZodOptional<ZodObject<{
3069
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3070
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3071
- description: z.ZodOptional<z.ZodString>;
3072
- created_at: z.ZodBigInt;
3073
- updated_at: z.ZodBigInt;
3074
- version: z.ZodOptional<z.ZodBigInt>;
3075
- }, "strict", ZodTypeAny, {
3076
- owner: Uint8Array<ArrayBufferLike>;
3077
- data: Uint8Array<ArrayBufferLike>;
3078
- created_at: bigint;
3079
- updated_at: bigint;
3080
- description?: string | undefined;
3081
- version?: bigint | undefined;
3082
- }, {
3083
- owner: Uint8Array<ArrayBufferLike>;
3084
- data: Uint8Array<ArrayBufferLike>;
3085
- created_at: bigint;
3086
- updated_at: bigint;
3087
- description?: string | undefined;
3088
- version?: bigint | undefined;
3089
- }>>;
3090
- proposed: ZodObject<{
3091
- version: z.ZodOptional<z.ZodBigInt>;
3092
- }, "strict", ZodTypeAny, {
3093
- version?: bigint | undefined;
3094
- }, {
3095
- version?: bigint | undefined;
3096
- }>;
3097
- }, "strict", ZodTypeAny, {
3098
- proposed: {
3099
- version?: bigint | undefined;
3100
- };
3101
- current?: {
3102
- owner: Uint8Array<ArrayBufferLike>;
3103
- data: Uint8Array<ArrayBufferLike>;
3104
- created_at: bigint;
3105
- updated_at: bigint;
3106
- description?: string | undefined;
3107
- version?: bigint | undefined;
3108
- } | undefined;
3109
- }, {
3110
- proposed: {
3111
- version?: bigint | undefined;
3112
- };
3113
- current?: {
3114
- owner: Uint8Array<ArrayBufferLike>;
3115
- data: Uint8Array<ArrayBufferLike>;
3116
- created_at: bigint;
3117
- updated_at: bigint;
3118
- description?: string | undefined;
3119
- version?: bigint | undefined;
3120
- } | undefined;
3121
- }>;
3122
- }>>;
3123
- }, "strict", ZodTypeAny, baseObjectOutputType<{
3124
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3125
- data: ZodObject<{
3126
- collection: z.ZodString;
3127
- key: z.ZodString;
3128
- data: ZodObject<{
3129
- current: z.ZodOptional<ZodObject<{
3130
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3131
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3132
- description: z.ZodOptional<z.ZodString>;
3133
- created_at: z.ZodBigInt;
3134
- updated_at: z.ZodBigInt;
3135
- version: z.ZodOptional<z.ZodBigInt>;
3136
- }, "strict", ZodTypeAny, {
3137
- owner: Uint8Array<ArrayBufferLike>;
3138
- data: Uint8Array<ArrayBufferLike>;
3139
- created_at: bigint;
3140
- updated_at: bigint;
3141
- description?: string | undefined;
3142
- version?: bigint | undefined;
3143
- }, {
3144
- owner: Uint8Array<ArrayBufferLike>;
3145
- data: Uint8Array<ArrayBufferLike>;
3146
- created_at: bigint;
3147
- updated_at: bigint;
3148
- description?: string | undefined;
3149
- version?: bigint | undefined;
3150
- }>>;
3151
- proposed: ZodObject<{
3152
- version: z.ZodOptional<z.ZodBigInt>;
3153
- }, "strict", ZodTypeAny, {
3154
- version?: bigint | undefined;
3155
- }, {
3156
- version?: bigint | undefined;
3157
- }>;
3158
- }, "strict", ZodTypeAny, {
3159
- proposed: {
3160
- version?: bigint | undefined;
3161
- };
3162
- current?: {
3163
- owner: Uint8Array<ArrayBufferLike>;
3164
- data: Uint8Array<ArrayBufferLike>;
3165
- created_at: bigint;
3166
- updated_at: bigint;
3167
- description?: string | undefined;
3168
- version?: bigint | undefined;
3169
- } | undefined;
3170
- }, {
3171
- proposed: {
3172
- version?: bigint | undefined;
3173
- };
3174
- current?: {
3175
- owner: Uint8Array<ArrayBufferLike>;
3176
- data: Uint8Array<ArrayBufferLike>;
3177
- created_at: bigint;
3178
- updated_at: bigint;
3179
- description?: string | undefined;
3180
- version?: bigint | undefined;
3181
- } | undefined;
3182
- }>;
3183
- }, "strict", ZodTypeAny, baseObjectOutputType<{
3184
- collection: z.ZodString;
3185
- key: z.ZodString;
3186
- data: ZodObject<{
3187
- current: z.ZodOptional<ZodObject<{
3188
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3189
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3190
- description: z.ZodOptional<z.ZodString>;
3191
- created_at: z.ZodBigInt;
3192
- updated_at: z.ZodBigInt;
3193
- version: z.ZodOptional<z.ZodBigInt>;
3194
- }, "strict", ZodTypeAny, {
3195
- owner: Uint8Array<ArrayBufferLike>;
3196
- data: Uint8Array<ArrayBufferLike>;
3197
- created_at: bigint;
3198
- updated_at: bigint;
3199
- description?: string | undefined;
3200
- version?: bigint | undefined;
3201
- }, {
3202
- owner: Uint8Array<ArrayBufferLike>;
3203
- data: Uint8Array<ArrayBufferLike>;
3204
- created_at: bigint;
3205
- updated_at: bigint;
3206
- description?: string | undefined;
3207
- version?: bigint | undefined;
3208
- }>>;
3209
- proposed: ZodObject<{
3210
- version: z.ZodOptional<z.ZodBigInt>;
3211
- }, "strict", ZodTypeAny, {
3212
- version?: bigint | undefined;
3213
- }, {
3214
- version?: bigint | undefined;
3215
- }>;
3216
- }, "strict", ZodTypeAny, {
3217
- proposed: {
3218
- version?: bigint | undefined;
3219
- };
3220
- current?: {
3221
- owner: Uint8Array<ArrayBufferLike>;
3222
- data: Uint8Array<ArrayBufferLike>;
3223
- created_at: bigint;
3224
- updated_at: bigint;
3225
- description?: string | undefined;
3226
- version?: bigint | undefined;
3227
- } | undefined;
3228
- }, {
3229
- proposed: {
3230
- version?: bigint | undefined;
3231
- };
3232
- current?: {
3233
- owner: Uint8Array<ArrayBufferLike>;
3234
- data: Uint8Array<ArrayBufferLike>;
3235
- created_at: bigint;
3236
- updated_at: bigint;
3237
- description?: string | undefined;
3238
- version?: bigint | undefined;
3239
- } | undefined;
3240
- }>;
3241
- }>, baseObjectInputType<{
3242
- collection: z.ZodString;
3243
- key: z.ZodString;
3244
- data: ZodObject<{
3245
- current: z.ZodOptional<ZodObject<{
3246
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3247
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3248
- description: z.ZodOptional<z.ZodString>;
3249
- created_at: z.ZodBigInt;
3250
- updated_at: z.ZodBigInt;
3251
- version: z.ZodOptional<z.ZodBigInt>;
3252
- }, "strict", ZodTypeAny, {
3253
- owner: Uint8Array<ArrayBufferLike>;
3254
- data: Uint8Array<ArrayBufferLike>;
3255
- created_at: bigint;
3256
- updated_at: bigint;
3257
- description?: string | undefined;
3258
- version?: bigint | undefined;
3259
- }, {
3260
- owner: Uint8Array<ArrayBufferLike>;
3261
- data: Uint8Array<ArrayBufferLike>;
3262
- created_at: bigint;
3263
- updated_at: bigint;
3264
- description?: string | undefined;
3265
- version?: bigint | undefined;
3266
- }>>;
3267
- proposed: ZodObject<{
3268
- version: z.ZodOptional<z.ZodBigInt>;
3269
- }, "strict", ZodTypeAny, {
3270
- version?: bigint | undefined;
3271
- }, {
3272
- version?: bigint | undefined;
3273
- }>;
3274
- }, "strict", ZodTypeAny, {
3275
- proposed: {
3276
- version?: bigint | undefined;
3277
- };
3278
- current?: {
3279
- owner: Uint8Array<ArrayBufferLike>;
3280
- data: Uint8Array<ArrayBufferLike>;
3281
- created_at: bigint;
3282
- updated_at: bigint;
3283
- description?: string | undefined;
3284
- version?: bigint | undefined;
3285
- } | undefined;
3286
- }, {
3287
- proposed: {
3288
- version?: bigint | undefined;
3289
- };
3290
- current?: {
3291
- owner: Uint8Array<ArrayBufferLike>;
3292
- data: Uint8Array<ArrayBufferLike>;
3293
- created_at: bigint;
3294
- updated_at: bigint;
3295
- description?: string | undefined;
3296
- version?: bigint | undefined;
3297
- } | undefined;
3298
- }>;
3299
- }>>;
3300
- }>, baseObjectInputType<{
3301
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3302
- data: ZodObject<{
3303
- collection: z.ZodString;
3304
- key: z.ZodString;
3305
- data: ZodObject<{
3306
- current: z.ZodOptional<ZodObject<{
3307
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3308
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3309
- description: z.ZodOptional<z.ZodString>;
3310
- created_at: z.ZodBigInt;
3311
- updated_at: z.ZodBigInt;
3312
- version: z.ZodOptional<z.ZodBigInt>;
3313
- }, "strict", ZodTypeAny, {
3314
- owner: Uint8Array<ArrayBufferLike>;
3315
- data: Uint8Array<ArrayBufferLike>;
3316
- created_at: bigint;
3317
- updated_at: bigint;
3318
- description?: string | undefined;
3319
- version?: bigint | undefined;
3320
- }, {
3321
- owner: Uint8Array<ArrayBufferLike>;
3322
- data: Uint8Array<ArrayBufferLike>;
3323
- created_at: bigint;
3324
- updated_at: bigint;
3325
- description?: string | undefined;
3326
- version?: bigint | undefined;
3327
- }>>;
3328
- proposed: ZodObject<{
3329
- version: z.ZodOptional<z.ZodBigInt>;
3330
- }, "strict", ZodTypeAny, {
3331
- version?: bigint | undefined;
3332
- }, {
3333
- version?: bigint | undefined;
3334
- }>;
3335
- }, "strict", ZodTypeAny, {
3336
- proposed: {
3337
- version?: bigint | undefined;
3338
- };
3339
- current?: {
3340
- owner: Uint8Array<ArrayBufferLike>;
3341
- data: Uint8Array<ArrayBufferLike>;
3342
- created_at: bigint;
3343
- updated_at: bigint;
3344
- description?: string | undefined;
3345
- version?: bigint | undefined;
3346
- } | undefined;
3347
- }, {
3348
- proposed: {
3349
- version?: bigint | undefined;
3350
- };
3351
- current?: {
3352
- owner: Uint8Array<ArrayBufferLike>;
3353
- data: Uint8Array<ArrayBufferLike>;
3354
- created_at: bigint;
3355
- updated_at: bigint;
3356
- description?: string | undefined;
3357
- version?: bigint | undefined;
3358
- } | undefined;
3359
- }>;
3360
- }, "strict", ZodTypeAny, baseObjectOutputType<{
3361
- collection: z.ZodString;
3362
- key: z.ZodString;
3363
- data: ZodObject<{
3364
- current: z.ZodOptional<ZodObject<{
3365
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3366
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3367
- description: z.ZodOptional<z.ZodString>;
3368
- created_at: z.ZodBigInt;
3369
- updated_at: z.ZodBigInt;
3370
- version: z.ZodOptional<z.ZodBigInt>;
3371
- }, "strict", ZodTypeAny, {
3372
- owner: Uint8Array<ArrayBufferLike>;
3373
- data: Uint8Array<ArrayBufferLike>;
3374
- created_at: bigint;
3375
- updated_at: bigint;
3376
- description?: string | undefined;
3377
- version?: bigint | undefined;
3378
- }, {
3379
- owner: Uint8Array<ArrayBufferLike>;
3380
- data: Uint8Array<ArrayBufferLike>;
3381
- created_at: bigint;
3382
- updated_at: bigint;
3383
- description?: string | undefined;
3384
- version?: bigint | undefined;
3385
- }>>;
3386
- proposed: ZodObject<{
3387
- version: z.ZodOptional<z.ZodBigInt>;
3388
- }, "strict", ZodTypeAny, {
3389
- version?: bigint | undefined;
3390
- }, {
3391
- version?: bigint | undefined;
3392
- }>;
3393
- }, "strict", ZodTypeAny, {
3394
- proposed: {
3395
- version?: bigint | undefined;
3396
- };
3397
- current?: {
3398
- owner: Uint8Array<ArrayBufferLike>;
3399
- data: Uint8Array<ArrayBufferLike>;
3400
- created_at: bigint;
3401
- updated_at: bigint;
3402
- description?: string | undefined;
3403
- version?: bigint | undefined;
3404
- } | undefined;
3405
- }, {
3406
- proposed: {
3407
- version?: bigint | undefined;
3408
- };
3409
- current?: {
3410
- owner: Uint8Array<ArrayBufferLike>;
3411
- data: Uint8Array<ArrayBufferLike>;
3412
- created_at: bigint;
3413
- updated_at: bigint;
3414
- description?: string | undefined;
3415
- version?: bigint | undefined;
3416
- } | undefined;
3417
- }>;
3418
- }>, baseObjectInputType<{
213
+ export declare const AssertDeleteDocContextSchema: z.ZodObject<{
214
+ caller: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
215
+ data: z.ZodObject<{
3419
216
  collection: z.ZodString;
3420
217
  key: z.ZodString;
3421
- data: ZodObject<{
3422
- current: z.ZodOptional<ZodObject<{
3423
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3424
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
218
+ data: z.ZodObject<{
219
+ current: z.ZodOptional<z.ZodObject<{
220
+ owner: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
221
+ data: z.ZodCustom<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
3425
222
  description: z.ZodOptional<z.ZodString>;
3426
223
  created_at: z.ZodBigInt;
3427
224
  updated_at: z.ZodBigInt;
3428
225
  version: z.ZodOptional<z.ZodBigInt>;
3429
- }, "strict", ZodTypeAny, {
3430
- owner: Uint8Array<ArrayBufferLike>;
3431
- data: Uint8Array<ArrayBufferLike>;
3432
- created_at: bigint;
3433
- updated_at: bigint;
3434
- description?: string | undefined;
3435
- version?: bigint | undefined;
3436
- }, {
3437
- owner: Uint8Array<ArrayBufferLike>;
3438
- data: Uint8Array<ArrayBufferLike>;
3439
- created_at: bigint;
3440
- updated_at: bigint;
3441
- description?: string | undefined;
3442
- version?: bigint | undefined;
3443
- }>>;
3444
- proposed: ZodObject<{
226
+ }, z.core.$strict>>;
227
+ proposed: z.ZodObject<{
3445
228
  version: z.ZodOptional<z.ZodBigInt>;
3446
- }, "strict", ZodTypeAny, {
3447
- version?: bigint | undefined;
3448
- }, {
3449
- version?: bigint | undefined;
3450
- }>;
3451
- }, "strict", ZodTypeAny, {
3452
- proposed: {
3453
- version?: bigint | undefined;
3454
- };
3455
- current?: {
3456
- owner: Uint8Array<ArrayBufferLike>;
3457
- data: Uint8Array<ArrayBufferLike>;
3458
- created_at: bigint;
3459
- updated_at: bigint;
3460
- description?: string | undefined;
3461
- version?: bigint | undefined;
3462
- } | undefined;
3463
- }, {
3464
- proposed: {
3465
- version?: bigint | undefined;
3466
- };
3467
- current?: {
3468
- owner: Uint8Array<ArrayBufferLike>;
3469
- data: Uint8Array<ArrayBufferLike>;
3470
- created_at: bigint;
3471
- updated_at: bigint;
3472
- description?: string | undefined;
3473
- version?: bigint | undefined;
3474
- } | undefined;
3475
- }>;
3476
- }>>;
3477
- }>>;
229
+ }, z.core.$strict>;
230
+ }, z.core.$strict>;
231
+ }, z.core.$strict>;
232
+ }, z.core.$strict>;
3478
233
  /**
3479
234
  * The context provided to the `assertDeleteDoc` hook.
3480
235
  *