@junobuild/functions 0.0.11 → 0.0.12-next-2025-03-27

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.
@@ -82,26 +82,46 @@ export declare const AssertSetDocSchema: z.ZodObject<z.objectUtil.extendShape<{
82
82
  version?: bigint | undefined;
83
83
  } | undefined;
84
84
  }>;
85
- }, "strict", z.ZodTypeAny, {
86
- data: {
87
- proposed: {
85
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
86
+ collection: z.ZodString;
87
+ key: z.ZodString;
88
+ data: z.ZodObject<{
89
+ current: z.ZodOptional<z.ZodObject<{
90
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
91
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
92
+ description: z.ZodOptional<z.ZodString>;
93
+ created_at: z.ZodBigInt;
94
+ updated_at: z.ZodBigInt;
95
+ version: z.ZodOptional<z.ZodBigInt>;
96
+ }, "strict", z.ZodTypeAny, {
97
+ owner: Uint8Array<ArrayBufferLike>;
88
98
  data: Uint8Array<ArrayBufferLike>;
99
+ created_at: bigint;
100
+ updated_at: bigint;
89
101
  description?: string | undefined;
90
102
  version?: bigint | undefined;
91
- };
92
- current?: {
103
+ }, {
93
104
  owner: Uint8Array<ArrayBufferLike>;
94
105
  data: Uint8Array<ArrayBufferLike>;
95
106
  created_at: bigint;
96
107
  updated_at: bigint;
97
108
  description?: string | undefined;
98
109
  version?: bigint | undefined;
99
- } | undefined;
100
- };
101
- key: string;
102
- collection: string;
103
- }, {
104
- data: {
110
+ }>>;
111
+ proposed: z.ZodObject<{
112
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
113
+ description: z.ZodOptional<z.ZodString>;
114
+ version: z.ZodOptional<z.ZodBigInt>;
115
+ }, "strict", z.ZodTypeAny, {
116
+ data: Uint8Array<ArrayBufferLike>;
117
+ description?: string | undefined;
118
+ version?: bigint | undefined;
119
+ }, {
120
+ data: Uint8Array<ArrayBufferLike>;
121
+ description?: string | undefined;
122
+ version?: bigint | undefined;
123
+ }>;
124
+ }, "strict", z.ZodTypeAny, {
105
125
  proposed: {
106
126
  data: Uint8Array<ArrayBufferLike>;
107
127
  description?: string | undefined;
@@ -115,13 +135,7 @@ export declare const AssertSetDocSchema: z.ZodObject<z.objectUtil.extendShape<{
115
135
  description?: string | undefined;
116
136
  version?: bigint | undefined;
117
137
  } | undefined;
118
- };
119
- key: string;
120
- collection: string;
121
- }>;
122
- }, "strict", z.ZodTypeAny, {
123
- data: {
124
- data: {
138
+ }, {
125
139
  proposed: {
126
140
  data: Uint8Array<ArrayBufferLike>;
127
141
  description?: string | undefined;
@@ -135,38 +149,47 @@ export declare const AssertSetDocSchema: z.ZodObject<z.objectUtil.extendShape<{
135
149
  description?: string | undefined;
136
150
  version?: bigint | undefined;
137
151
  } | undefined;
138
- };
139
- key: string;
140
- collection: string;
141
- };
142
- caller: Uint8Array<ArrayBufferLike>;
143
- }, {
144
- data: {
145
- data: {
146
- proposed: {
152
+ }>;
153
+ }>, z.baseObjectInputType<{
154
+ collection: z.ZodString;
155
+ key: z.ZodString;
156
+ data: z.ZodObject<{
157
+ current: z.ZodOptional<z.ZodObject<{
158
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
159
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
160
+ description: z.ZodOptional<z.ZodString>;
161
+ created_at: z.ZodBigInt;
162
+ updated_at: z.ZodBigInt;
163
+ version: z.ZodOptional<z.ZodBigInt>;
164
+ }, "strict", z.ZodTypeAny, {
165
+ owner: Uint8Array<ArrayBufferLike>;
147
166
  data: Uint8Array<ArrayBufferLike>;
167
+ created_at: bigint;
168
+ updated_at: bigint;
148
169
  description?: string | undefined;
149
170
  version?: bigint | undefined;
150
- };
151
- current?: {
171
+ }, {
152
172
  owner: Uint8Array<ArrayBufferLike>;
153
173
  data: Uint8Array<ArrayBufferLike>;
154
174
  created_at: bigint;
155
175
  updated_at: bigint;
156
176
  description?: string | undefined;
157
177
  version?: bigint | undefined;
158
- } | undefined;
159
- };
160
- key: string;
161
- collection: string;
162
- };
163
- caller: Uint8Array<ArrayBufferLike>;
164
- }>], z.ZodUnknown>, z.ZodVoid>;
165
- }>, "strict", z.ZodTypeAny, {
166
- collections: readonly string[];
167
- assert: (args_0: {
168
- data: {
169
- data: {
178
+ }>>;
179
+ proposed: z.ZodObject<{
180
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
181
+ description: z.ZodOptional<z.ZodString>;
182
+ version: z.ZodOptional<z.ZodBigInt>;
183
+ }, "strict", z.ZodTypeAny, {
184
+ data: Uint8Array<ArrayBufferLike>;
185
+ description?: string | undefined;
186
+ version?: bigint | undefined;
187
+ }, {
188
+ data: Uint8Array<ArrayBufferLike>;
189
+ description?: string | undefined;
190
+ version?: bigint | undefined;
191
+ }>;
192
+ }, "strict", z.ZodTypeAny, {
170
193
  proposed: {
171
194
  data: Uint8Array<ArrayBufferLike>;
172
195
  description?: string | undefined;
@@ -180,17 +203,7 @@ export declare const AssertSetDocSchema: z.ZodObject<z.objectUtil.extendShape<{
180
203
  description?: string | undefined;
181
204
  version?: bigint | undefined;
182
205
  } | undefined;
183
- };
184
- key: string;
185
- collection: string;
186
- };
187
- caller: Uint8Array<ArrayBufferLike>;
188
- }, ...args: unknown[]) => void;
189
- }, {
190
- collections: readonly string[];
191
- assert: (args_0: {
192
- data: {
193
- data: {
206
+ }, {
194
207
  proposed: {
195
208
  data: Uint8Array<ArrayBufferLike>;
196
209
  description?: string | undefined;
@@ -204,30 +217,9 @@ export declare const AssertSetDocSchema: z.ZodObject<z.objectUtil.extendShape<{
204
217
  description?: string | undefined;
205
218
  version?: bigint | undefined;
206
219
  } | undefined;
207
- };
208
- key: string;
209
- collection: string;
210
- };
211
- caller: Uint8Array<ArrayBufferLike>;
212
- }, ...args: unknown[]) => void;
213
- }>;
214
- /**
215
- * An assertion that runs when a document is created or updated.
216
- */
217
- export type AssertSetDoc = z.infer<typeof AssertSetDocSchema>;
218
- /**
219
- * @see Assert
220
- */
221
- export declare const AssertSchema: z.ZodObject<z.objectUtil.extendShape<{
222
- collections: z.ZodReadonly<z.ZodArray<z.ZodString, "many">>;
223
- }, {
224
- /**
225
- * A function that runs when the assertion is triggered for the specified collections.
226
- *
227
- * @param {T} context - Contains information about the affected document(s).
228
- * @returns {void} Resolves when the assertion completes.
229
- */
230
- assert: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
220
+ }>;
221
+ }>>;
222
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
231
223
  caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
232
224
  data: z.ZodObject<{
233
225
  collection: z.ZodString;
@@ -297,8 +289,46 @@ export declare const AssertSchema: z.ZodObject<z.objectUtil.extendShape<{
297
289
  version?: bigint | undefined;
298
290
  } | undefined;
299
291
  }>;
300
- }, "strict", z.ZodTypeAny, {
301
- data: {
292
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
293
+ collection: z.ZodString;
294
+ key: z.ZodString;
295
+ data: z.ZodObject<{
296
+ current: z.ZodOptional<z.ZodObject<{
297
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
298
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
299
+ description: z.ZodOptional<z.ZodString>;
300
+ created_at: z.ZodBigInt;
301
+ updated_at: z.ZodBigInt;
302
+ version: z.ZodOptional<z.ZodBigInt>;
303
+ }, "strict", z.ZodTypeAny, {
304
+ owner: Uint8Array<ArrayBufferLike>;
305
+ data: Uint8Array<ArrayBufferLike>;
306
+ created_at: bigint;
307
+ updated_at: bigint;
308
+ description?: string | undefined;
309
+ version?: bigint | undefined;
310
+ }, {
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
+ proposed: z.ZodObject<{
319
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
320
+ description: z.ZodOptional<z.ZodString>;
321
+ version: z.ZodOptional<z.ZodBigInt>;
322
+ }, "strict", z.ZodTypeAny, {
323
+ data: Uint8Array<ArrayBufferLike>;
324
+ description?: string | undefined;
325
+ version?: bigint | undefined;
326
+ }, {
327
+ data: Uint8Array<ArrayBufferLike>;
328
+ description?: string | undefined;
329
+ version?: bigint | undefined;
330
+ }>;
331
+ }, "strict", z.ZodTypeAny, {
302
332
  proposed: {
303
333
  data: Uint8Array<ArrayBufferLike>;
304
334
  description?: string | undefined;
@@ -312,11 +342,7 @@ export declare const AssertSchema: z.ZodObject<z.objectUtil.extendShape<{
312
342
  description?: string | undefined;
313
343
  version?: bigint | undefined;
314
344
  } | undefined;
315
- };
316
- key: string;
317
- collection: string;
318
- }, {
319
- data: {
345
+ }, {
320
346
  proposed: {
321
347
  data: Uint8Array<ArrayBufferLike>;
322
348
  description?: string | undefined;
@@ -330,13 +356,47 @@ export declare const AssertSchema: z.ZodObject<z.objectUtil.extendShape<{
330
356
  description?: string | undefined;
331
357
  version?: bigint | undefined;
332
358
  } | undefined;
333
- };
334
- key: string;
335
- collection: string;
336
- }>;
337
- }, "strict", z.ZodTypeAny, {
338
- data: {
339
- data: {
359
+ }>;
360
+ }>, z.baseObjectInputType<{
361
+ collection: z.ZodString;
362
+ key: z.ZodString;
363
+ data: z.ZodObject<{
364
+ current: z.ZodOptional<z.ZodObject<{
365
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
366
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
367
+ description: z.ZodOptional<z.ZodString>;
368
+ created_at: z.ZodBigInt;
369
+ updated_at: z.ZodBigInt;
370
+ version: z.ZodOptional<z.ZodBigInt>;
371
+ }, "strict", z.ZodTypeAny, {
372
+ owner: Uint8Array<ArrayBufferLike>;
373
+ data: Uint8Array<ArrayBufferLike>;
374
+ created_at: bigint;
375
+ updated_at: bigint;
376
+ description?: string | undefined;
377
+ version?: bigint | undefined;
378
+ }, {
379
+ owner: Uint8Array<ArrayBufferLike>;
380
+ data: Uint8Array<ArrayBufferLike>;
381
+ created_at: bigint;
382
+ updated_at: bigint;
383
+ description?: string | undefined;
384
+ version?: bigint | undefined;
385
+ }>>;
386
+ proposed: z.ZodObject<{
387
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
388
+ description: z.ZodOptional<z.ZodString>;
389
+ version: z.ZodOptional<z.ZodBigInt>;
390
+ }, "strict", z.ZodTypeAny, {
391
+ data: Uint8Array<ArrayBufferLike>;
392
+ description?: string | undefined;
393
+ version?: bigint | undefined;
394
+ }, {
395
+ data: Uint8Array<ArrayBufferLike>;
396
+ description?: string | undefined;
397
+ version?: bigint | undefined;
398
+ }>;
399
+ }, "strict", z.ZodTypeAny, {
340
400
  proposed: {
341
401
  data: Uint8Array<ArrayBufferLike>;
342
402
  description?: string | undefined;
@@ -350,14 +410,7 @@ export declare const AssertSchema: z.ZodObject<z.objectUtil.extendShape<{
350
410
  description?: string | undefined;
351
411
  version?: bigint | undefined;
352
412
  } | undefined;
353
- };
354
- key: string;
355
- collection: string;
356
- };
357
- caller: Uint8Array<ArrayBufferLike>;
358
- }, {
359
- data: {
360
- data: {
413
+ }, {
361
414
  proposed: {
362
415
  data: Uint8Array<ArrayBufferLike>;
363
416
  description?: string | undefined;
@@ -371,17 +424,50 @@ export declare const AssertSchema: z.ZodObject<z.objectUtil.extendShape<{
371
424
  description?: string | undefined;
372
425
  version?: bigint | undefined;
373
426
  } | undefined;
374
- };
375
- key: string;
376
- collection: string;
377
- };
378
- caller: Uint8Array<ArrayBufferLike>;
379
- }>], z.ZodUnknown>, z.ZodVoid>;
380
- }>, "strict", z.ZodTypeAny, {
381
- collections: readonly string[];
382
- assert: (args_0: {
383
- data: {
384
- data: {
427
+ }>;
428
+ }>>;
429
+ }>, z.baseObjectInputType<{
430
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
431
+ data: z.ZodObject<{
432
+ collection: z.ZodString;
433
+ key: z.ZodString;
434
+ data: z.ZodObject<{
435
+ current: z.ZodOptional<z.ZodObject<{
436
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
437
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
438
+ description: z.ZodOptional<z.ZodString>;
439
+ created_at: z.ZodBigInt;
440
+ updated_at: z.ZodBigInt;
441
+ version: z.ZodOptional<z.ZodBigInt>;
442
+ }, "strict", z.ZodTypeAny, {
443
+ owner: Uint8Array<ArrayBufferLike>;
444
+ data: Uint8Array<ArrayBufferLike>;
445
+ created_at: bigint;
446
+ updated_at: bigint;
447
+ description?: string | undefined;
448
+ version?: bigint | undefined;
449
+ }, {
450
+ owner: Uint8Array<ArrayBufferLike>;
451
+ data: Uint8Array<ArrayBufferLike>;
452
+ created_at: bigint;
453
+ updated_at: bigint;
454
+ description?: string | undefined;
455
+ version?: bigint | undefined;
456
+ }>>;
457
+ proposed: z.ZodObject<{
458
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
459
+ description: z.ZodOptional<z.ZodString>;
460
+ version: z.ZodOptional<z.ZodBigInt>;
461
+ }, "strict", z.ZodTypeAny, {
462
+ data: Uint8Array<ArrayBufferLike>;
463
+ description?: string | undefined;
464
+ version?: bigint | undefined;
465
+ }, {
466
+ data: Uint8Array<ArrayBufferLike>;
467
+ description?: string | undefined;
468
+ version?: bigint | undefined;
469
+ }>;
470
+ }, "strict", z.ZodTypeAny, {
385
471
  proposed: {
386
472
  data: Uint8Array<ArrayBufferLike>;
387
473
  description?: string | undefined;
@@ -395,17 +481,7 @@ export declare const AssertSchema: z.ZodObject<z.objectUtil.extendShape<{
395
481
  description?: string | undefined;
396
482
  version?: bigint | undefined;
397
483
  } | undefined;
398
- };
399
- key: string;
400
- collection: string;
401
- };
402
- caller: Uint8Array<ArrayBufferLike>;
403
- }, ...args: unknown[]) => void;
404
- }, {
405
- collections: readonly string[];
406
- assert: (args_0: {
407
- data: {
408
- data: {
484
+ }, {
409
485
  proposed: {
410
486
  data: Uint8Array<ArrayBufferLike>;
411
487
  description?: string | undefined;
@@ -419,13 +495,3435 @@ export declare const AssertSchema: z.ZodObject<z.objectUtil.extendShape<{
419
495
  description?: string | undefined;
420
496
  version?: bigint | undefined;
421
497
  } | undefined;
422
- };
423
- key: string;
424
- collection: string;
425
- };
426
- caller: Uint8Array<ArrayBufferLike>;
427
- }, ...args: unknown[]) => void;
428
- }>;
498
+ }>;
499
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
500
+ collection: z.ZodString;
501
+ key: z.ZodString;
502
+ data: z.ZodObject<{
503
+ current: z.ZodOptional<z.ZodObject<{
504
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
505
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
506
+ description: z.ZodOptional<z.ZodString>;
507
+ created_at: z.ZodBigInt;
508
+ updated_at: z.ZodBigInt;
509
+ version: z.ZodOptional<z.ZodBigInt>;
510
+ }, "strict", z.ZodTypeAny, {
511
+ owner: Uint8Array<ArrayBufferLike>;
512
+ data: Uint8Array<ArrayBufferLike>;
513
+ created_at: bigint;
514
+ updated_at: bigint;
515
+ description?: string | undefined;
516
+ version?: bigint | undefined;
517
+ }, {
518
+ owner: Uint8Array<ArrayBufferLike>;
519
+ data: Uint8Array<ArrayBufferLike>;
520
+ created_at: bigint;
521
+ updated_at: bigint;
522
+ description?: string | undefined;
523
+ version?: bigint | undefined;
524
+ }>>;
525
+ proposed: z.ZodObject<{
526
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
527
+ description: z.ZodOptional<z.ZodString>;
528
+ version: z.ZodOptional<z.ZodBigInt>;
529
+ }, "strict", z.ZodTypeAny, {
530
+ data: Uint8Array<ArrayBufferLike>;
531
+ description?: string | undefined;
532
+ version?: bigint | undefined;
533
+ }, {
534
+ data: Uint8Array<ArrayBufferLike>;
535
+ description?: string | undefined;
536
+ version?: bigint | undefined;
537
+ }>;
538
+ }, "strict", z.ZodTypeAny, {
539
+ proposed: {
540
+ data: Uint8Array<ArrayBufferLike>;
541
+ description?: string | undefined;
542
+ version?: bigint | undefined;
543
+ };
544
+ current?: {
545
+ owner: Uint8Array<ArrayBufferLike>;
546
+ data: Uint8Array<ArrayBufferLike>;
547
+ created_at: bigint;
548
+ updated_at: bigint;
549
+ description?: string | undefined;
550
+ version?: bigint | undefined;
551
+ } | undefined;
552
+ }, {
553
+ proposed: {
554
+ data: Uint8Array<ArrayBufferLike>;
555
+ description?: string | undefined;
556
+ version?: bigint | undefined;
557
+ };
558
+ current?: {
559
+ owner: Uint8Array<ArrayBufferLike>;
560
+ data: Uint8Array<ArrayBufferLike>;
561
+ created_at: bigint;
562
+ updated_at: bigint;
563
+ description?: string | undefined;
564
+ version?: bigint | undefined;
565
+ } | undefined;
566
+ }>;
567
+ }>, z.baseObjectInputType<{
568
+ collection: z.ZodString;
569
+ key: z.ZodString;
570
+ data: z.ZodObject<{
571
+ current: z.ZodOptional<z.ZodObject<{
572
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
573
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
574
+ description: z.ZodOptional<z.ZodString>;
575
+ created_at: z.ZodBigInt;
576
+ updated_at: z.ZodBigInt;
577
+ version: z.ZodOptional<z.ZodBigInt>;
578
+ }, "strict", z.ZodTypeAny, {
579
+ owner: Uint8Array<ArrayBufferLike>;
580
+ data: Uint8Array<ArrayBufferLike>;
581
+ created_at: bigint;
582
+ updated_at: bigint;
583
+ description?: string | undefined;
584
+ version?: bigint | undefined;
585
+ }, {
586
+ owner: Uint8Array<ArrayBufferLike>;
587
+ data: Uint8Array<ArrayBufferLike>;
588
+ created_at: bigint;
589
+ updated_at: bigint;
590
+ description?: string | undefined;
591
+ version?: bigint | undefined;
592
+ }>>;
593
+ proposed: z.ZodObject<{
594
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
595
+ description: z.ZodOptional<z.ZodString>;
596
+ version: z.ZodOptional<z.ZodBigInt>;
597
+ }, "strict", z.ZodTypeAny, {
598
+ data: Uint8Array<ArrayBufferLike>;
599
+ description?: string | undefined;
600
+ version?: bigint | undefined;
601
+ }, {
602
+ data: Uint8Array<ArrayBufferLike>;
603
+ description?: string | undefined;
604
+ version?: bigint | undefined;
605
+ }>;
606
+ }, "strict", z.ZodTypeAny, {
607
+ proposed: {
608
+ data: Uint8Array<ArrayBufferLike>;
609
+ description?: string | undefined;
610
+ version?: bigint | undefined;
611
+ };
612
+ current?: {
613
+ owner: Uint8Array<ArrayBufferLike>;
614
+ data: Uint8Array<ArrayBufferLike>;
615
+ created_at: bigint;
616
+ updated_at: bigint;
617
+ description?: string | undefined;
618
+ version?: bigint | undefined;
619
+ } | undefined;
620
+ }, {
621
+ proposed: {
622
+ data: Uint8Array<ArrayBufferLike>;
623
+ description?: string | undefined;
624
+ version?: bigint | undefined;
625
+ };
626
+ current?: {
627
+ owner: Uint8Array<ArrayBufferLike>;
628
+ data: Uint8Array<ArrayBufferLike>;
629
+ created_at: bigint;
630
+ updated_at: bigint;
631
+ description?: string | undefined;
632
+ version?: bigint | undefined;
633
+ } | undefined;
634
+ }>;
635
+ }>>;
636
+ }>>], z.ZodUnknown>, z.ZodVoid>;
637
+ }>, "strict", z.ZodTypeAny, {
638
+ collections: readonly string[];
639
+ assert: (args_0: z.baseObjectInputType<{
640
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
641
+ data: z.ZodObject<{
642
+ collection: z.ZodString;
643
+ key: z.ZodString;
644
+ data: z.ZodObject<{
645
+ current: z.ZodOptional<z.ZodObject<{
646
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
647
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
648
+ description: z.ZodOptional<z.ZodString>;
649
+ created_at: z.ZodBigInt;
650
+ updated_at: z.ZodBigInt;
651
+ version: z.ZodOptional<z.ZodBigInt>;
652
+ }, "strict", z.ZodTypeAny, {
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
+ owner: Uint8Array<ArrayBufferLike>;
661
+ data: Uint8Array<ArrayBufferLike>;
662
+ created_at: bigint;
663
+ updated_at: bigint;
664
+ description?: string | undefined;
665
+ version?: bigint | undefined;
666
+ }>>;
667
+ proposed: z.ZodObject<{
668
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
669
+ description: z.ZodOptional<z.ZodString>;
670
+ version: z.ZodOptional<z.ZodBigInt>;
671
+ }, "strict", z.ZodTypeAny, {
672
+ data: Uint8Array<ArrayBufferLike>;
673
+ description?: string | undefined;
674
+ version?: bigint | undefined;
675
+ }, {
676
+ data: Uint8Array<ArrayBufferLike>;
677
+ description?: string | undefined;
678
+ version?: bigint | undefined;
679
+ }>;
680
+ }, "strict", z.ZodTypeAny, {
681
+ proposed: {
682
+ data: Uint8Array<ArrayBufferLike>;
683
+ description?: string | undefined;
684
+ version?: bigint | undefined;
685
+ };
686
+ current?: {
687
+ owner: Uint8Array<ArrayBufferLike>;
688
+ data: Uint8Array<ArrayBufferLike>;
689
+ created_at: bigint;
690
+ updated_at: bigint;
691
+ description?: string | undefined;
692
+ version?: bigint | undefined;
693
+ } | undefined;
694
+ }, {
695
+ proposed: {
696
+ data: Uint8Array<ArrayBufferLike>;
697
+ description?: string | undefined;
698
+ version?: bigint | undefined;
699
+ };
700
+ current?: {
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
+ } | undefined;
708
+ }>;
709
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
710
+ collection: z.ZodString;
711
+ key: z.ZodString;
712
+ data: z.ZodObject<{
713
+ current: z.ZodOptional<z.ZodObject<{
714
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
715
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
716
+ description: z.ZodOptional<z.ZodString>;
717
+ created_at: z.ZodBigInt;
718
+ updated_at: z.ZodBigInt;
719
+ version: z.ZodOptional<z.ZodBigInt>;
720
+ }, "strict", z.ZodTypeAny, {
721
+ owner: Uint8Array<ArrayBufferLike>;
722
+ data: Uint8Array<ArrayBufferLike>;
723
+ created_at: bigint;
724
+ updated_at: bigint;
725
+ description?: string | undefined;
726
+ version?: bigint | undefined;
727
+ }, {
728
+ owner: Uint8Array<ArrayBufferLike>;
729
+ data: Uint8Array<ArrayBufferLike>;
730
+ created_at: bigint;
731
+ updated_at: bigint;
732
+ description?: string | undefined;
733
+ version?: bigint | undefined;
734
+ }>>;
735
+ proposed: z.ZodObject<{
736
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
737
+ description: z.ZodOptional<z.ZodString>;
738
+ version: z.ZodOptional<z.ZodBigInt>;
739
+ }, "strict", z.ZodTypeAny, {
740
+ data: Uint8Array<ArrayBufferLike>;
741
+ description?: string | undefined;
742
+ version?: bigint | undefined;
743
+ }, {
744
+ data: Uint8Array<ArrayBufferLike>;
745
+ description?: string | undefined;
746
+ version?: bigint | undefined;
747
+ }>;
748
+ }, "strict", z.ZodTypeAny, {
749
+ proposed: {
750
+ data: Uint8Array<ArrayBufferLike>;
751
+ description?: string | undefined;
752
+ version?: bigint | undefined;
753
+ };
754
+ current?: {
755
+ owner: Uint8Array<ArrayBufferLike>;
756
+ data: Uint8Array<ArrayBufferLike>;
757
+ created_at: bigint;
758
+ updated_at: bigint;
759
+ description?: string | undefined;
760
+ version?: bigint | undefined;
761
+ } | undefined;
762
+ }, {
763
+ proposed: {
764
+ data: Uint8Array<ArrayBufferLike>;
765
+ description?: string | undefined;
766
+ version?: bigint | undefined;
767
+ };
768
+ current?: {
769
+ owner: Uint8Array<ArrayBufferLike>;
770
+ data: Uint8Array<ArrayBufferLike>;
771
+ created_at: bigint;
772
+ updated_at: bigint;
773
+ description?: string | undefined;
774
+ version?: bigint | undefined;
775
+ } | undefined;
776
+ }>;
777
+ }>, z.baseObjectInputType<{
778
+ collection: z.ZodString;
779
+ key: z.ZodString;
780
+ data: z.ZodObject<{
781
+ current: z.ZodOptional<z.ZodObject<{
782
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
783
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
784
+ description: z.ZodOptional<z.ZodString>;
785
+ created_at: z.ZodBigInt;
786
+ updated_at: z.ZodBigInt;
787
+ version: z.ZodOptional<z.ZodBigInt>;
788
+ }, "strict", z.ZodTypeAny, {
789
+ owner: Uint8Array<ArrayBufferLike>;
790
+ data: Uint8Array<ArrayBufferLike>;
791
+ created_at: bigint;
792
+ updated_at: bigint;
793
+ description?: string | undefined;
794
+ version?: bigint | undefined;
795
+ }, {
796
+ owner: Uint8Array<ArrayBufferLike>;
797
+ data: Uint8Array<ArrayBufferLike>;
798
+ created_at: bigint;
799
+ updated_at: bigint;
800
+ description?: string | undefined;
801
+ version?: bigint | undefined;
802
+ }>>;
803
+ proposed: z.ZodObject<{
804
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
805
+ description: z.ZodOptional<z.ZodString>;
806
+ version: z.ZodOptional<z.ZodBigInt>;
807
+ }, "strict", z.ZodTypeAny, {
808
+ data: Uint8Array<ArrayBufferLike>;
809
+ description?: string | undefined;
810
+ version?: bigint | undefined;
811
+ }, {
812
+ data: Uint8Array<ArrayBufferLike>;
813
+ description?: string | undefined;
814
+ version?: bigint | undefined;
815
+ }>;
816
+ }, "strict", z.ZodTypeAny, {
817
+ proposed: {
818
+ data: Uint8Array<ArrayBufferLike>;
819
+ description?: string | undefined;
820
+ version?: bigint | undefined;
821
+ };
822
+ current?: {
823
+ owner: Uint8Array<ArrayBufferLike>;
824
+ data: Uint8Array<ArrayBufferLike>;
825
+ created_at: bigint;
826
+ updated_at: bigint;
827
+ description?: string | undefined;
828
+ version?: bigint | undefined;
829
+ } | undefined;
830
+ }, {
831
+ proposed: {
832
+ data: Uint8Array<ArrayBufferLike>;
833
+ description?: string | undefined;
834
+ version?: bigint | undefined;
835
+ };
836
+ current?: {
837
+ owner: Uint8Array<ArrayBufferLike>;
838
+ data: Uint8Array<ArrayBufferLike>;
839
+ created_at: bigint;
840
+ updated_at: bigint;
841
+ description?: string | undefined;
842
+ version?: bigint | undefined;
843
+ } | undefined;
844
+ }>;
845
+ }>>;
846
+ }>, ...args: unknown[]) => void;
847
+ }, {
848
+ collections: readonly string[];
849
+ assert: (args_0: z.baseObjectOutputType<{
850
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
851
+ data: z.ZodObject<{
852
+ collection: z.ZodString;
853
+ key: z.ZodString;
854
+ data: z.ZodObject<{
855
+ current: z.ZodOptional<z.ZodObject<{
856
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
857
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
858
+ description: z.ZodOptional<z.ZodString>;
859
+ created_at: z.ZodBigInt;
860
+ updated_at: z.ZodBigInt;
861
+ version: z.ZodOptional<z.ZodBigInt>;
862
+ }, "strict", z.ZodTypeAny, {
863
+ owner: Uint8Array<ArrayBufferLike>;
864
+ data: Uint8Array<ArrayBufferLike>;
865
+ created_at: bigint;
866
+ updated_at: bigint;
867
+ description?: string | undefined;
868
+ version?: bigint | undefined;
869
+ }, {
870
+ owner: Uint8Array<ArrayBufferLike>;
871
+ data: Uint8Array<ArrayBufferLike>;
872
+ created_at: bigint;
873
+ updated_at: bigint;
874
+ description?: string | undefined;
875
+ version?: bigint | undefined;
876
+ }>>;
877
+ proposed: z.ZodObject<{
878
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
879
+ description: z.ZodOptional<z.ZodString>;
880
+ version: z.ZodOptional<z.ZodBigInt>;
881
+ }, "strict", z.ZodTypeAny, {
882
+ data: Uint8Array<ArrayBufferLike>;
883
+ description?: string | undefined;
884
+ version?: bigint | undefined;
885
+ }, {
886
+ data: Uint8Array<ArrayBufferLike>;
887
+ description?: string | undefined;
888
+ version?: bigint | undefined;
889
+ }>;
890
+ }, "strict", z.ZodTypeAny, {
891
+ proposed: {
892
+ data: Uint8Array<ArrayBufferLike>;
893
+ description?: string | undefined;
894
+ version?: bigint | undefined;
895
+ };
896
+ current?: {
897
+ owner: Uint8Array<ArrayBufferLike>;
898
+ data: Uint8Array<ArrayBufferLike>;
899
+ created_at: bigint;
900
+ updated_at: bigint;
901
+ description?: string | undefined;
902
+ version?: bigint | undefined;
903
+ } | undefined;
904
+ }, {
905
+ proposed: {
906
+ data: Uint8Array<ArrayBufferLike>;
907
+ description?: string | undefined;
908
+ version?: bigint | undefined;
909
+ };
910
+ current?: {
911
+ owner: Uint8Array<ArrayBufferLike>;
912
+ data: Uint8Array<ArrayBufferLike>;
913
+ created_at: bigint;
914
+ updated_at: bigint;
915
+ description?: string | undefined;
916
+ version?: bigint | undefined;
917
+ } | undefined;
918
+ }>;
919
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
920
+ collection: z.ZodString;
921
+ key: z.ZodString;
922
+ data: z.ZodObject<{
923
+ current: z.ZodOptional<z.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", z.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
+ proposed: z.ZodObject<{
946
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
947
+ description: z.ZodOptional<z.ZodString>;
948
+ version: z.ZodOptional<z.ZodBigInt>;
949
+ }, "strict", z.ZodTypeAny, {
950
+ data: Uint8Array<ArrayBufferLike>;
951
+ description?: string | undefined;
952
+ version?: bigint | undefined;
953
+ }, {
954
+ data: Uint8Array<ArrayBufferLike>;
955
+ description?: string | undefined;
956
+ version?: bigint | undefined;
957
+ }>;
958
+ }, "strict", z.ZodTypeAny, {
959
+ proposed: {
960
+ data: Uint8Array<ArrayBufferLike>;
961
+ description?: string | undefined;
962
+ version?: bigint | undefined;
963
+ };
964
+ current?: {
965
+ owner: Uint8Array<ArrayBufferLike>;
966
+ data: Uint8Array<ArrayBufferLike>;
967
+ created_at: bigint;
968
+ updated_at: bigint;
969
+ description?: string | undefined;
970
+ version?: bigint | undefined;
971
+ } | undefined;
972
+ }, {
973
+ proposed: {
974
+ data: Uint8Array<ArrayBufferLike>;
975
+ description?: string | undefined;
976
+ version?: bigint | undefined;
977
+ };
978
+ current?: {
979
+ owner: Uint8Array<ArrayBufferLike>;
980
+ data: Uint8Array<ArrayBufferLike>;
981
+ created_at: bigint;
982
+ updated_at: bigint;
983
+ description?: string | undefined;
984
+ version?: bigint | undefined;
985
+ } | undefined;
986
+ }>;
987
+ }>, z.baseObjectInputType<{
988
+ collection: z.ZodString;
989
+ key: z.ZodString;
990
+ data: z.ZodObject<{
991
+ current: z.ZodOptional<z.ZodObject<{
992
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
993
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
994
+ description: z.ZodOptional<z.ZodString>;
995
+ created_at: z.ZodBigInt;
996
+ updated_at: z.ZodBigInt;
997
+ version: z.ZodOptional<z.ZodBigInt>;
998
+ }, "strict", z.ZodTypeAny, {
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
+ owner: Uint8Array<ArrayBufferLike>;
1007
+ data: Uint8Array<ArrayBufferLike>;
1008
+ created_at: bigint;
1009
+ updated_at: bigint;
1010
+ description?: string | undefined;
1011
+ version?: bigint | undefined;
1012
+ }>>;
1013
+ proposed: z.ZodObject<{
1014
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1015
+ description: z.ZodOptional<z.ZodString>;
1016
+ version: z.ZodOptional<z.ZodBigInt>;
1017
+ }, "strict", z.ZodTypeAny, {
1018
+ data: Uint8Array<ArrayBufferLike>;
1019
+ description?: string | undefined;
1020
+ version?: bigint | undefined;
1021
+ }, {
1022
+ data: Uint8Array<ArrayBufferLike>;
1023
+ description?: string | undefined;
1024
+ version?: bigint | undefined;
1025
+ }>;
1026
+ }, "strict", z.ZodTypeAny, {
1027
+ proposed: {
1028
+ data: Uint8Array<ArrayBufferLike>;
1029
+ description?: string | undefined;
1030
+ version?: bigint | undefined;
1031
+ };
1032
+ current?: {
1033
+ owner: Uint8Array<ArrayBufferLike>;
1034
+ data: Uint8Array<ArrayBufferLike>;
1035
+ created_at: bigint;
1036
+ updated_at: bigint;
1037
+ description?: string | undefined;
1038
+ version?: bigint | undefined;
1039
+ } | undefined;
1040
+ }, {
1041
+ proposed: {
1042
+ data: Uint8Array<ArrayBufferLike>;
1043
+ description?: string | undefined;
1044
+ version?: bigint | undefined;
1045
+ };
1046
+ current?: {
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
+ } | undefined;
1054
+ }>;
1055
+ }>>;
1056
+ }>, ...args: unknown[]) => void;
1057
+ }>;
1058
+ /**
1059
+ * An assertion that runs when a document is created or updated.
1060
+ */
1061
+ export type AssertSetDoc = z.infer<typeof AssertSetDocSchema>;
1062
+ /**
1063
+ * @see AssertDeleteDoc
1064
+ */
1065
+ export declare const AssertDeleteDocSchema: z.ZodObject<z.objectUtil.extendShape<{
1066
+ collections: z.ZodReadonly<z.ZodArray<z.ZodString, "many">>;
1067
+ }, {
1068
+ /**
1069
+ * A function that runs when the assertion is triggered for the specified collections.
1070
+ *
1071
+ * @param {T} context - Contains information about the affected document(s).
1072
+ * @returns {void} Resolves when the assertion completes.
1073
+ */
1074
+ assert: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1075
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1076
+ data: z.ZodObject<{
1077
+ collection: z.ZodString;
1078
+ key: z.ZodString;
1079
+ data: z.ZodObject<{
1080
+ current: z.ZodOptional<z.ZodObject<{
1081
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1082
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1083
+ description: z.ZodOptional<z.ZodString>;
1084
+ created_at: z.ZodBigInt;
1085
+ updated_at: z.ZodBigInt;
1086
+ version: z.ZodOptional<z.ZodBigInt>;
1087
+ }, "strict", z.ZodTypeAny, {
1088
+ owner: Uint8Array<ArrayBufferLike>;
1089
+ data: Uint8Array<ArrayBufferLike>;
1090
+ created_at: bigint;
1091
+ updated_at: bigint;
1092
+ description?: string | undefined;
1093
+ version?: bigint | undefined;
1094
+ }, {
1095
+ owner: Uint8Array<ArrayBufferLike>;
1096
+ data: Uint8Array<ArrayBufferLike>;
1097
+ created_at: bigint;
1098
+ updated_at: bigint;
1099
+ description?: string | undefined;
1100
+ version?: bigint | undefined;
1101
+ }>>;
1102
+ proposed: z.ZodObject<{
1103
+ version: z.ZodOptional<z.ZodBigInt>;
1104
+ }, "strict", z.ZodTypeAny, {
1105
+ version?: bigint | undefined;
1106
+ }, {
1107
+ version?: bigint | undefined;
1108
+ }>;
1109
+ }, "strict", z.ZodTypeAny, {
1110
+ proposed: {
1111
+ version?: bigint | undefined;
1112
+ };
1113
+ current?: {
1114
+ owner: Uint8Array<ArrayBufferLike>;
1115
+ data: Uint8Array<ArrayBufferLike>;
1116
+ created_at: bigint;
1117
+ updated_at: bigint;
1118
+ description?: string | undefined;
1119
+ version?: bigint | undefined;
1120
+ } | undefined;
1121
+ }, {
1122
+ proposed: {
1123
+ version?: bigint | undefined;
1124
+ };
1125
+ current?: {
1126
+ owner: Uint8Array<ArrayBufferLike>;
1127
+ data: Uint8Array<ArrayBufferLike>;
1128
+ created_at: bigint;
1129
+ updated_at: bigint;
1130
+ description?: string | undefined;
1131
+ version?: bigint | undefined;
1132
+ } | undefined;
1133
+ }>;
1134
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1135
+ collection: z.ZodString;
1136
+ key: z.ZodString;
1137
+ data: z.ZodObject<{
1138
+ current: z.ZodOptional<z.ZodObject<{
1139
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1140
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1141
+ description: z.ZodOptional<z.ZodString>;
1142
+ created_at: z.ZodBigInt;
1143
+ updated_at: z.ZodBigInt;
1144
+ version: z.ZodOptional<z.ZodBigInt>;
1145
+ }, "strict", z.ZodTypeAny, {
1146
+ owner: Uint8Array<ArrayBufferLike>;
1147
+ data: Uint8Array<ArrayBufferLike>;
1148
+ created_at: bigint;
1149
+ updated_at: bigint;
1150
+ description?: string | undefined;
1151
+ version?: bigint | undefined;
1152
+ }, {
1153
+ owner: Uint8Array<ArrayBufferLike>;
1154
+ data: Uint8Array<ArrayBufferLike>;
1155
+ created_at: bigint;
1156
+ updated_at: bigint;
1157
+ description?: string | undefined;
1158
+ version?: bigint | undefined;
1159
+ }>>;
1160
+ proposed: z.ZodObject<{
1161
+ version: z.ZodOptional<z.ZodBigInt>;
1162
+ }, "strict", z.ZodTypeAny, {
1163
+ version?: bigint | undefined;
1164
+ }, {
1165
+ version?: bigint | undefined;
1166
+ }>;
1167
+ }, "strict", z.ZodTypeAny, {
1168
+ proposed: {
1169
+ version?: bigint | undefined;
1170
+ };
1171
+ current?: {
1172
+ owner: Uint8Array<ArrayBufferLike>;
1173
+ data: Uint8Array<ArrayBufferLike>;
1174
+ created_at: bigint;
1175
+ updated_at: bigint;
1176
+ description?: string | undefined;
1177
+ version?: bigint | undefined;
1178
+ } | undefined;
1179
+ }, {
1180
+ proposed: {
1181
+ version?: bigint | undefined;
1182
+ };
1183
+ current?: {
1184
+ owner: Uint8Array<ArrayBufferLike>;
1185
+ data: Uint8Array<ArrayBufferLike>;
1186
+ created_at: bigint;
1187
+ updated_at: bigint;
1188
+ description?: string | undefined;
1189
+ version?: bigint | undefined;
1190
+ } | undefined;
1191
+ }>;
1192
+ }>, z.baseObjectInputType<{
1193
+ collection: z.ZodString;
1194
+ key: z.ZodString;
1195
+ data: z.ZodObject<{
1196
+ current: z.ZodOptional<z.ZodObject<{
1197
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1198
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1199
+ description: z.ZodOptional<z.ZodString>;
1200
+ created_at: z.ZodBigInt;
1201
+ updated_at: z.ZodBigInt;
1202
+ version: z.ZodOptional<z.ZodBigInt>;
1203
+ }, "strict", z.ZodTypeAny, {
1204
+ owner: Uint8Array<ArrayBufferLike>;
1205
+ data: Uint8Array<ArrayBufferLike>;
1206
+ created_at: bigint;
1207
+ updated_at: bigint;
1208
+ description?: string | undefined;
1209
+ version?: bigint | undefined;
1210
+ }, {
1211
+ owner: Uint8Array<ArrayBufferLike>;
1212
+ data: Uint8Array<ArrayBufferLike>;
1213
+ created_at: bigint;
1214
+ updated_at: bigint;
1215
+ description?: string | undefined;
1216
+ version?: bigint | undefined;
1217
+ }>>;
1218
+ proposed: z.ZodObject<{
1219
+ version: z.ZodOptional<z.ZodBigInt>;
1220
+ }, "strict", z.ZodTypeAny, {
1221
+ version?: bigint | undefined;
1222
+ }, {
1223
+ version?: bigint | undefined;
1224
+ }>;
1225
+ }, "strict", z.ZodTypeAny, {
1226
+ proposed: {
1227
+ version?: bigint | undefined;
1228
+ };
1229
+ current?: {
1230
+ owner: Uint8Array<ArrayBufferLike>;
1231
+ data: Uint8Array<ArrayBufferLike>;
1232
+ created_at: bigint;
1233
+ updated_at: bigint;
1234
+ description?: string | undefined;
1235
+ version?: bigint | undefined;
1236
+ } | undefined;
1237
+ }, {
1238
+ proposed: {
1239
+ version?: bigint | undefined;
1240
+ };
1241
+ current?: {
1242
+ owner: Uint8Array<ArrayBufferLike>;
1243
+ data: Uint8Array<ArrayBufferLike>;
1244
+ created_at: bigint;
1245
+ updated_at: bigint;
1246
+ description?: string | undefined;
1247
+ version?: bigint | undefined;
1248
+ } | undefined;
1249
+ }>;
1250
+ }>>;
1251
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1252
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1253
+ data: z.ZodObject<{
1254
+ collection: z.ZodString;
1255
+ key: z.ZodString;
1256
+ data: z.ZodObject<{
1257
+ current: z.ZodOptional<z.ZodObject<{
1258
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1259
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1260
+ description: z.ZodOptional<z.ZodString>;
1261
+ created_at: z.ZodBigInt;
1262
+ updated_at: z.ZodBigInt;
1263
+ version: z.ZodOptional<z.ZodBigInt>;
1264
+ }, "strict", z.ZodTypeAny, {
1265
+ owner: Uint8Array<ArrayBufferLike>;
1266
+ data: Uint8Array<ArrayBufferLike>;
1267
+ created_at: bigint;
1268
+ updated_at: bigint;
1269
+ description?: string | undefined;
1270
+ version?: bigint | undefined;
1271
+ }, {
1272
+ owner: Uint8Array<ArrayBufferLike>;
1273
+ data: Uint8Array<ArrayBufferLike>;
1274
+ created_at: bigint;
1275
+ updated_at: bigint;
1276
+ description?: string | undefined;
1277
+ version?: bigint | undefined;
1278
+ }>>;
1279
+ proposed: z.ZodObject<{
1280
+ version: z.ZodOptional<z.ZodBigInt>;
1281
+ }, "strict", z.ZodTypeAny, {
1282
+ version?: bigint | undefined;
1283
+ }, {
1284
+ version?: bigint | undefined;
1285
+ }>;
1286
+ }, "strict", z.ZodTypeAny, {
1287
+ proposed: {
1288
+ version?: bigint | undefined;
1289
+ };
1290
+ current?: {
1291
+ owner: Uint8Array<ArrayBufferLike>;
1292
+ data: Uint8Array<ArrayBufferLike>;
1293
+ created_at: bigint;
1294
+ updated_at: bigint;
1295
+ description?: string | undefined;
1296
+ version?: bigint | undefined;
1297
+ } | undefined;
1298
+ }, {
1299
+ proposed: {
1300
+ version?: bigint | undefined;
1301
+ };
1302
+ current?: {
1303
+ owner: Uint8Array<ArrayBufferLike>;
1304
+ data: Uint8Array<ArrayBufferLike>;
1305
+ created_at: bigint;
1306
+ updated_at: bigint;
1307
+ description?: string | undefined;
1308
+ version?: bigint | undefined;
1309
+ } | undefined;
1310
+ }>;
1311
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1312
+ collection: z.ZodString;
1313
+ key: z.ZodString;
1314
+ data: z.ZodObject<{
1315
+ current: z.ZodOptional<z.ZodObject<{
1316
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1317
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1318
+ description: z.ZodOptional<z.ZodString>;
1319
+ created_at: z.ZodBigInt;
1320
+ updated_at: z.ZodBigInt;
1321
+ version: z.ZodOptional<z.ZodBigInt>;
1322
+ }, "strict", z.ZodTypeAny, {
1323
+ owner: Uint8Array<ArrayBufferLike>;
1324
+ data: Uint8Array<ArrayBufferLike>;
1325
+ created_at: bigint;
1326
+ updated_at: bigint;
1327
+ description?: string | undefined;
1328
+ version?: bigint | undefined;
1329
+ }, {
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
+ proposed: z.ZodObject<{
1338
+ version: z.ZodOptional<z.ZodBigInt>;
1339
+ }, "strict", z.ZodTypeAny, {
1340
+ version?: bigint | undefined;
1341
+ }, {
1342
+ version?: bigint | undefined;
1343
+ }>;
1344
+ }, "strict", z.ZodTypeAny, {
1345
+ proposed: {
1346
+ version?: bigint | undefined;
1347
+ };
1348
+ current?: {
1349
+ owner: Uint8Array<ArrayBufferLike>;
1350
+ data: Uint8Array<ArrayBufferLike>;
1351
+ created_at: bigint;
1352
+ updated_at: bigint;
1353
+ description?: string | undefined;
1354
+ version?: bigint | undefined;
1355
+ } | undefined;
1356
+ }, {
1357
+ proposed: {
1358
+ version?: bigint | undefined;
1359
+ };
1360
+ current?: {
1361
+ owner: Uint8Array<ArrayBufferLike>;
1362
+ data: Uint8Array<ArrayBufferLike>;
1363
+ created_at: bigint;
1364
+ updated_at: bigint;
1365
+ description?: string | undefined;
1366
+ version?: bigint | undefined;
1367
+ } | undefined;
1368
+ }>;
1369
+ }>, z.baseObjectInputType<{
1370
+ collection: z.ZodString;
1371
+ key: z.ZodString;
1372
+ data: z.ZodObject<{
1373
+ current: z.ZodOptional<z.ZodObject<{
1374
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1375
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1376
+ description: z.ZodOptional<z.ZodString>;
1377
+ created_at: z.ZodBigInt;
1378
+ updated_at: z.ZodBigInt;
1379
+ version: z.ZodOptional<z.ZodBigInt>;
1380
+ }, "strict", z.ZodTypeAny, {
1381
+ owner: Uint8Array<ArrayBufferLike>;
1382
+ data: Uint8Array<ArrayBufferLike>;
1383
+ created_at: bigint;
1384
+ updated_at: bigint;
1385
+ description?: string | undefined;
1386
+ version?: bigint | undefined;
1387
+ }, {
1388
+ owner: Uint8Array<ArrayBufferLike>;
1389
+ data: Uint8Array<ArrayBufferLike>;
1390
+ created_at: bigint;
1391
+ updated_at: bigint;
1392
+ description?: string | undefined;
1393
+ version?: bigint | undefined;
1394
+ }>>;
1395
+ proposed: z.ZodObject<{
1396
+ version: z.ZodOptional<z.ZodBigInt>;
1397
+ }, "strict", z.ZodTypeAny, {
1398
+ version?: bigint | undefined;
1399
+ }, {
1400
+ version?: bigint | undefined;
1401
+ }>;
1402
+ }, "strict", z.ZodTypeAny, {
1403
+ proposed: {
1404
+ version?: bigint | undefined;
1405
+ };
1406
+ current?: {
1407
+ owner: Uint8Array<ArrayBufferLike>;
1408
+ data: Uint8Array<ArrayBufferLike>;
1409
+ created_at: bigint;
1410
+ updated_at: bigint;
1411
+ description?: string | undefined;
1412
+ version?: bigint | undefined;
1413
+ } | undefined;
1414
+ }, {
1415
+ proposed: {
1416
+ version?: bigint | undefined;
1417
+ };
1418
+ current?: {
1419
+ owner: Uint8Array<ArrayBufferLike>;
1420
+ data: Uint8Array<ArrayBufferLike>;
1421
+ created_at: bigint;
1422
+ updated_at: bigint;
1423
+ description?: string | undefined;
1424
+ version?: bigint | undefined;
1425
+ } | undefined;
1426
+ }>;
1427
+ }>>;
1428
+ }>, z.baseObjectInputType<{
1429
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1430
+ data: z.ZodObject<{
1431
+ collection: z.ZodString;
1432
+ key: z.ZodString;
1433
+ data: z.ZodObject<{
1434
+ current: z.ZodOptional<z.ZodObject<{
1435
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1436
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1437
+ description: z.ZodOptional<z.ZodString>;
1438
+ created_at: z.ZodBigInt;
1439
+ updated_at: z.ZodBigInt;
1440
+ version: z.ZodOptional<z.ZodBigInt>;
1441
+ }, "strict", z.ZodTypeAny, {
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
+ owner: Uint8Array<ArrayBufferLike>;
1450
+ data: Uint8Array<ArrayBufferLike>;
1451
+ created_at: bigint;
1452
+ updated_at: bigint;
1453
+ description?: string | undefined;
1454
+ version?: bigint | undefined;
1455
+ }>>;
1456
+ proposed: z.ZodObject<{
1457
+ version: z.ZodOptional<z.ZodBigInt>;
1458
+ }, "strict", z.ZodTypeAny, {
1459
+ version?: bigint | undefined;
1460
+ }, {
1461
+ version?: bigint | undefined;
1462
+ }>;
1463
+ }, "strict", z.ZodTypeAny, {
1464
+ proposed: {
1465
+ version?: bigint | undefined;
1466
+ };
1467
+ current?: {
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
+ } | undefined;
1475
+ }, {
1476
+ proposed: {
1477
+ version?: bigint | undefined;
1478
+ };
1479
+ current?: {
1480
+ owner: Uint8Array<ArrayBufferLike>;
1481
+ data: Uint8Array<ArrayBufferLike>;
1482
+ created_at: bigint;
1483
+ updated_at: bigint;
1484
+ description?: string | undefined;
1485
+ version?: bigint | undefined;
1486
+ } | undefined;
1487
+ }>;
1488
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1489
+ collection: z.ZodString;
1490
+ key: z.ZodString;
1491
+ data: z.ZodObject<{
1492
+ current: z.ZodOptional<z.ZodObject<{
1493
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1494
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1495
+ description: z.ZodOptional<z.ZodString>;
1496
+ created_at: z.ZodBigInt;
1497
+ updated_at: z.ZodBigInt;
1498
+ version: z.ZodOptional<z.ZodBigInt>;
1499
+ }, "strict", z.ZodTypeAny, {
1500
+ owner: Uint8Array<ArrayBufferLike>;
1501
+ data: Uint8Array<ArrayBufferLike>;
1502
+ created_at: bigint;
1503
+ updated_at: bigint;
1504
+ description?: string | undefined;
1505
+ version?: bigint | undefined;
1506
+ }, {
1507
+ owner: Uint8Array<ArrayBufferLike>;
1508
+ data: Uint8Array<ArrayBufferLike>;
1509
+ created_at: bigint;
1510
+ updated_at: bigint;
1511
+ description?: string | undefined;
1512
+ version?: bigint | undefined;
1513
+ }>>;
1514
+ proposed: z.ZodObject<{
1515
+ version: z.ZodOptional<z.ZodBigInt>;
1516
+ }, "strict", z.ZodTypeAny, {
1517
+ version?: bigint | undefined;
1518
+ }, {
1519
+ version?: bigint | undefined;
1520
+ }>;
1521
+ }, "strict", z.ZodTypeAny, {
1522
+ proposed: {
1523
+ version?: bigint | undefined;
1524
+ };
1525
+ current?: {
1526
+ owner: Uint8Array<ArrayBufferLike>;
1527
+ data: Uint8Array<ArrayBufferLike>;
1528
+ created_at: bigint;
1529
+ updated_at: bigint;
1530
+ description?: string | undefined;
1531
+ version?: bigint | undefined;
1532
+ } | undefined;
1533
+ }, {
1534
+ proposed: {
1535
+ version?: bigint | undefined;
1536
+ };
1537
+ current?: {
1538
+ owner: Uint8Array<ArrayBufferLike>;
1539
+ data: Uint8Array<ArrayBufferLike>;
1540
+ created_at: bigint;
1541
+ updated_at: bigint;
1542
+ description?: string | undefined;
1543
+ version?: bigint | undefined;
1544
+ } | undefined;
1545
+ }>;
1546
+ }>, z.baseObjectInputType<{
1547
+ collection: z.ZodString;
1548
+ key: z.ZodString;
1549
+ data: z.ZodObject<{
1550
+ current: z.ZodOptional<z.ZodObject<{
1551
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1552
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1553
+ description: z.ZodOptional<z.ZodString>;
1554
+ created_at: z.ZodBigInt;
1555
+ updated_at: z.ZodBigInt;
1556
+ version: z.ZodOptional<z.ZodBigInt>;
1557
+ }, "strict", z.ZodTypeAny, {
1558
+ owner: Uint8Array<ArrayBufferLike>;
1559
+ data: Uint8Array<ArrayBufferLike>;
1560
+ created_at: bigint;
1561
+ updated_at: bigint;
1562
+ description?: string | undefined;
1563
+ version?: bigint | undefined;
1564
+ }, {
1565
+ owner: Uint8Array<ArrayBufferLike>;
1566
+ data: Uint8Array<ArrayBufferLike>;
1567
+ created_at: bigint;
1568
+ updated_at: bigint;
1569
+ description?: string | undefined;
1570
+ version?: bigint | undefined;
1571
+ }>>;
1572
+ proposed: z.ZodObject<{
1573
+ version: z.ZodOptional<z.ZodBigInt>;
1574
+ }, "strict", z.ZodTypeAny, {
1575
+ version?: bigint | undefined;
1576
+ }, {
1577
+ version?: bigint | undefined;
1578
+ }>;
1579
+ }, "strict", z.ZodTypeAny, {
1580
+ proposed: {
1581
+ version?: bigint | undefined;
1582
+ };
1583
+ current?: {
1584
+ owner: Uint8Array<ArrayBufferLike>;
1585
+ data: Uint8Array<ArrayBufferLike>;
1586
+ created_at: bigint;
1587
+ updated_at: bigint;
1588
+ description?: string | undefined;
1589
+ version?: bigint | undefined;
1590
+ } | undefined;
1591
+ }, {
1592
+ proposed: {
1593
+ version?: bigint | undefined;
1594
+ };
1595
+ current?: {
1596
+ owner: Uint8Array<ArrayBufferLike>;
1597
+ data: Uint8Array<ArrayBufferLike>;
1598
+ created_at: bigint;
1599
+ updated_at: bigint;
1600
+ description?: string | undefined;
1601
+ version?: bigint | undefined;
1602
+ } | undefined;
1603
+ }>;
1604
+ }>>;
1605
+ }>>], z.ZodUnknown>, z.ZodVoid>;
1606
+ }>, "strict", z.ZodTypeAny, {
1607
+ collections: readonly string[];
1608
+ assert: (args_0: z.baseObjectInputType<{
1609
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1610
+ data: z.ZodObject<{
1611
+ collection: z.ZodString;
1612
+ key: z.ZodString;
1613
+ data: z.ZodObject<{
1614
+ current: z.ZodOptional<z.ZodObject<{
1615
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1616
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1617
+ description: z.ZodOptional<z.ZodString>;
1618
+ created_at: z.ZodBigInt;
1619
+ updated_at: z.ZodBigInt;
1620
+ version: z.ZodOptional<z.ZodBigInt>;
1621
+ }, "strict", z.ZodTypeAny, {
1622
+ owner: Uint8Array<ArrayBufferLike>;
1623
+ data: Uint8Array<ArrayBufferLike>;
1624
+ created_at: bigint;
1625
+ updated_at: bigint;
1626
+ description?: string | undefined;
1627
+ version?: bigint | undefined;
1628
+ }, {
1629
+ owner: Uint8Array<ArrayBufferLike>;
1630
+ data: Uint8Array<ArrayBufferLike>;
1631
+ created_at: bigint;
1632
+ updated_at: bigint;
1633
+ description?: string | undefined;
1634
+ version?: bigint | undefined;
1635
+ }>>;
1636
+ proposed: z.ZodObject<{
1637
+ version: z.ZodOptional<z.ZodBigInt>;
1638
+ }, "strict", z.ZodTypeAny, {
1639
+ version?: bigint | undefined;
1640
+ }, {
1641
+ version?: bigint | undefined;
1642
+ }>;
1643
+ }, "strict", z.ZodTypeAny, {
1644
+ proposed: {
1645
+ version?: bigint | undefined;
1646
+ };
1647
+ current?: {
1648
+ owner: Uint8Array<ArrayBufferLike>;
1649
+ data: Uint8Array<ArrayBufferLike>;
1650
+ created_at: bigint;
1651
+ updated_at: bigint;
1652
+ description?: string | undefined;
1653
+ version?: bigint | undefined;
1654
+ } | undefined;
1655
+ }, {
1656
+ proposed: {
1657
+ version?: bigint | undefined;
1658
+ };
1659
+ current?: {
1660
+ owner: Uint8Array<ArrayBufferLike>;
1661
+ data: Uint8Array<ArrayBufferLike>;
1662
+ created_at: bigint;
1663
+ updated_at: bigint;
1664
+ description?: string | undefined;
1665
+ version?: bigint | undefined;
1666
+ } | undefined;
1667
+ }>;
1668
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1669
+ collection: z.ZodString;
1670
+ key: z.ZodString;
1671
+ data: z.ZodObject<{
1672
+ current: z.ZodOptional<z.ZodObject<{
1673
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1674
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1675
+ description: z.ZodOptional<z.ZodString>;
1676
+ created_at: z.ZodBigInt;
1677
+ updated_at: z.ZodBigInt;
1678
+ version: z.ZodOptional<z.ZodBigInt>;
1679
+ }, "strict", z.ZodTypeAny, {
1680
+ owner: Uint8Array<ArrayBufferLike>;
1681
+ data: Uint8Array<ArrayBufferLike>;
1682
+ created_at: bigint;
1683
+ updated_at: bigint;
1684
+ description?: string | undefined;
1685
+ version?: bigint | undefined;
1686
+ }, {
1687
+ owner: Uint8Array<ArrayBufferLike>;
1688
+ data: Uint8Array<ArrayBufferLike>;
1689
+ created_at: bigint;
1690
+ updated_at: bigint;
1691
+ description?: string | undefined;
1692
+ version?: bigint | undefined;
1693
+ }>>;
1694
+ proposed: z.ZodObject<{
1695
+ version: z.ZodOptional<z.ZodBigInt>;
1696
+ }, "strict", z.ZodTypeAny, {
1697
+ version?: bigint | undefined;
1698
+ }, {
1699
+ version?: bigint | undefined;
1700
+ }>;
1701
+ }, "strict", z.ZodTypeAny, {
1702
+ proposed: {
1703
+ version?: bigint | undefined;
1704
+ };
1705
+ current?: {
1706
+ owner: Uint8Array<ArrayBufferLike>;
1707
+ data: Uint8Array<ArrayBufferLike>;
1708
+ created_at: bigint;
1709
+ updated_at: bigint;
1710
+ description?: string | undefined;
1711
+ version?: bigint | undefined;
1712
+ } | undefined;
1713
+ }, {
1714
+ proposed: {
1715
+ version?: bigint | undefined;
1716
+ };
1717
+ current?: {
1718
+ owner: Uint8Array<ArrayBufferLike>;
1719
+ data: Uint8Array<ArrayBufferLike>;
1720
+ created_at: bigint;
1721
+ updated_at: bigint;
1722
+ description?: string | undefined;
1723
+ version?: bigint | undefined;
1724
+ } | undefined;
1725
+ }>;
1726
+ }>, z.baseObjectInputType<{
1727
+ collection: z.ZodString;
1728
+ key: z.ZodString;
1729
+ data: z.ZodObject<{
1730
+ current: z.ZodOptional<z.ZodObject<{
1731
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1732
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1733
+ description: z.ZodOptional<z.ZodString>;
1734
+ created_at: z.ZodBigInt;
1735
+ updated_at: z.ZodBigInt;
1736
+ version: z.ZodOptional<z.ZodBigInt>;
1737
+ }, "strict", z.ZodTypeAny, {
1738
+ owner: Uint8Array<ArrayBufferLike>;
1739
+ data: Uint8Array<ArrayBufferLike>;
1740
+ created_at: bigint;
1741
+ updated_at: bigint;
1742
+ description?: string | undefined;
1743
+ version?: bigint | undefined;
1744
+ }, {
1745
+ owner: Uint8Array<ArrayBufferLike>;
1746
+ data: Uint8Array<ArrayBufferLike>;
1747
+ created_at: bigint;
1748
+ updated_at: bigint;
1749
+ description?: string | undefined;
1750
+ version?: bigint | undefined;
1751
+ }>>;
1752
+ proposed: z.ZodObject<{
1753
+ version: z.ZodOptional<z.ZodBigInt>;
1754
+ }, "strict", z.ZodTypeAny, {
1755
+ version?: bigint | undefined;
1756
+ }, {
1757
+ version?: bigint | undefined;
1758
+ }>;
1759
+ }, "strict", z.ZodTypeAny, {
1760
+ proposed: {
1761
+ version?: bigint | undefined;
1762
+ };
1763
+ current?: {
1764
+ owner: Uint8Array<ArrayBufferLike>;
1765
+ data: Uint8Array<ArrayBufferLike>;
1766
+ created_at: bigint;
1767
+ updated_at: bigint;
1768
+ description?: string | undefined;
1769
+ version?: bigint | undefined;
1770
+ } | undefined;
1771
+ }, {
1772
+ proposed: {
1773
+ version?: bigint | undefined;
1774
+ };
1775
+ current?: {
1776
+ owner: Uint8Array<ArrayBufferLike>;
1777
+ data: Uint8Array<ArrayBufferLike>;
1778
+ created_at: bigint;
1779
+ updated_at: bigint;
1780
+ description?: string | undefined;
1781
+ version?: bigint | undefined;
1782
+ } | undefined;
1783
+ }>;
1784
+ }>>;
1785
+ }>, ...args: unknown[]) => void;
1786
+ }, {
1787
+ collections: readonly string[];
1788
+ assert: (args_0: z.baseObjectOutputType<{
1789
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1790
+ data: z.ZodObject<{
1791
+ collection: z.ZodString;
1792
+ key: z.ZodString;
1793
+ data: z.ZodObject<{
1794
+ current: z.ZodOptional<z.ZodObject<{
1795
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1796
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1797
+ description: z.ZodOptional<z.ZodString>;
1798
+ created_at: z.ZodBigInt;
1799
+ updated_at: z.ZodBigInt;
1800
+ version: z.ZodOptional<z.ZodBigInt>;
1801
+ }, "strict", z.ZodTypeAny, {
1802
+ owner: Uint8Array<ArrayBufferLike>;
1803
+ data: Uint8Array<ArrayBufferLike>;
1804
+ created_at: bigint;
1805
+ updated_at: bigint;
1806
+ description?: string | undefined;
1807
+ version?: bigint | undefined;
1808
+ }, {
1809
+ owner: Uint8Array<ArrayBufferLike>;
1810
+ data: Uint8Array<ArrayBufferLike>;
1811
+ created_at: bigint;
1812
+ updated_at: bigint;
1813
+ description?: string | undefined;
1814
+ version?: bigint | undefined;
1815
+ }>>;
1816
+ proposed: z.ZodObject<{
1817
+ version: z.ZodOptional<z.ZodBigInt>;
1818
+ }, "strict", z.ZodTypeAny, {
1819
+ version?: bigint | undefined;
1820
+ }, {
1821
+ version?: bigint | undefined;
1822
+ }>;
1823
+ }, "strict", z.ZodTypeAny, {
1824
+ proposed: {
1825
+ version?: bigint | undefined;
1826
+ };
1827
+ current?: {
1828
+ owner: Uint8Array<ArrayBufferLike>;
1829
+ data: Uint8Array<ArrayBufferLike>;
1830
+ created_at: bigint;
1831
+ updated_at: bigint;
1832
+ description?: string | undefined;
1833
+ version?: bigint | undefined;
1834
+ } | undefined;
1835
+ }, {
1836
+ proposed: {
1837
+ version?: bigint | undefined;
1838
+ };
1839
+ current?: {
1840
+ owner: Uint8Array<ArrayBufferLike>;
1841
+ data: Uint8Array<ArrayBufferLike>;
1842
+ created_at: bigint;
1843
+ updated_at: bigint;
1844
+ description?: string | undefined;
1845
+ version?: bigint | undefined;
1846
+ } | undefined;
1847
+ }>;
1848
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1849
+ collection: z.ZodString;
1850
+ key: z.ZodString;
1851
+ data: z.ZodObject<{
1852
+ current: z.ZodOptional<z.ZodObject<{
1853
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1854
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1855
+ description: z.ZodOptional<z.ZodString>;
1856
+ created_at: z.ZodBigInt;
1857
+ updated_at: z.ZodBigInt;
1858
+ version: z.ZodOptional<z.ZodBigInt>;
1859
+ }, "strict", z.ZodTypeAny, {
1860
+ owner: Uint8Array<ArrayBufferLike>;
1861
+ data: Uint8Array<ArrayBufferLike>;
1862
+ created_at: bigint;
1863
+ updated_at: bigint;
1864
+ description?: string | undefined;
1865
+ version?: bigint | undefined;
1866
+ }, {
1867
+ owner: Uint8Array<ArrayBufferLike>;
1868
+ data: Uint8Array<ArrayBufferLike>;
1869
+ created_at: bigint;
1870
+ updated_at: bigint;
1871
+ description?: string | undefined;
1872
+ version?: bigint | undefined;
1873
+ }>>;
1874
+ proposed: z.ZodObject<{
1875
+ version: z.ZodOptional<z.ZodBigInt>;
1876
+ }, "strict", z.ZodTypeAny, {
1877
+ version?: bigint | undefined;
1878
+ }, {
1879
+ version?: bigint | undefined;
1880
+ }>;
1881
+ }, "strict", z.ZodTypeAny, {
1882
+ proposed: {
1883
+ version?: bigint | undefined;
1884
+ };
1885
+ current?: {
1886
+ owner: Uint8Array<ArrayBufferLike>;
1887
+ data: Uint8Array<ArrayBufferLike>;
1888
+ created_at: bigint;
1889
+ updated_at: bigint;
1890
+ description?: string | undefined;
1891
+ version?: bigint | undefined;
1892
+ } | undefined;
1893
+ }, {
1894
+ proposed: {
1895
+ version?: bigint | undefined;
1896
+ };
1897
+ current?: {
1898
+ owner: Uint8Array<ArrayBufferLike>;
1899
+ data: Uint8Array<ArrayBufferLike>;
1900
+ created_at: bigint;
1901
+ updated_at: bigint;
1902
+ description?: string | undefined;
1903
+ version?: bigint | undefined;
1904
+ } | undefined;
1905
+ }>;
1906
+ }>, z.baseObjectInputType<{
1907
+ collection: z.ZodString;
1908
+ key: z.ZodString;
1909
+ data: z.ZodObject<{
1910
+ current: z.ZodOptional<z.ZodObject<{
1911
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1912
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1913
+ description: z.ZodOptional<z.ZodString>;
1914
+ created_at: z.ZodBigInt;
1915
+ updated_at: z.ZodBigInt;
1916
+ version: z.ZodOptional<z.ZodBigInt>;
1917
+ }, "strict", z.ZodTypeAny, {
1918
+ owner: Uint8Array<ArrayBufferLike>;
1919
+ data: Uint8Array<ArrayBufferLike>;
1920
+ created_at: bigint;
1921
+ updated_at: bigint;
1922
+ description?: string | undefined;
1923
+ version?: bigint | undefined;
1924
+ }, {
1925
+ owner: Uint8Array<ArrayBufferLike>;
1926
+ data: Uint8Array<ArrayBufferLike>;
1927
+ created_at: bigint;
1928
+ updated_at: bigint;
1929
+ description?: string | undefined;
1930
+ version?: bigint | undefined;
1931
+ }>>;
1932
+ proposed: z.ZodObject<{
1933
+ version: z.ZodOptional<z.ZodBigInt>;
1934
+ }, "strict", z.ZodTypeAny, {
1935
+ version?: bigint | undefined;
1936
+ }, {
1937
+ version?: bigint | undefined;
1938
+ }>;
1939
+ }, "strict", z.ZodTypeAny, {
1940
+ proposed: {
1941
+ version?: bigint | undefined;
1942
+ };
1943
+ current?: {
1944
+ owner: Uint8Array<ArrayBufferLike>;
1945
+ data: Uint8Array<ArrayBufferLike>;
1946
+ created_at: bigint;
1947
+ updated_at: bigint;
1948
+ description?: string | undefined;
1949
+ version?: bigint | undefined;
1950
+ } | undefined;
1951
+ }, {
1952
+ proposed: {
1953
+ version?: bigint | undefined;
1954
+ };
1955
+ current?: {
1956
+ owner: Uint8Array<ArrayBufferLike>;
1957
+ data: Uint8Array<ArrayBufferLike>;
1958
+ created_at: bigint;
1959
+ updated_at: bigint;
1960
+ description?: string | undefined;
1961
+ version?: bigint | undefined;
1962
+ } | undefined;
1963
+ }>;
1964
+ }>>;
1965
+ }>, ...args: unknown[]) => void;
1966
+ }>;
1967
+ /**
1968
+ * An assertion that runs when a document is deleted.
1969
+ */
1970
+ export type AssertDeleteDoc = z.infer<typeof AssertDeleteDocSchema>;
1971
+ /**
1972
+ * @see Assert
1973
+ */
1974
+ export declare const AssertSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1975
+ collections: z.ZodReadonly<z.ZodArray<z.ZodString, "many">>;
1976
+ }, {
1977
+ /**
1978
+ * A function that runs when the assertion is triggered for the specified collections.
1979
+ *
1980
+ * @param {T} context - Contains information about the affected document(s).
1981
+ * @returns {void} Resolves when the assertion completes.
1982
+ */
1983
+ assert: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1984
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1985
+ data: z.ZodObject<{
1986
+ collection: z.ZodString;
1987
+ key: z.ZodString;
1988
+ data: z.ZodObject<{
1989
+ current: z.ZodOptional<z.ZodObject<{
1990
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1991
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1992
+ description: z.ZodOptional<z.ZodString>;
1993
+ created_at: z.ZodBigInt;
1994
+ updated_at: z.ZodBigInt;
1995
+ version: z.ZodOptional<z.ZodBigInt>;
1996
+ }, "strict", z.ZodTypeAny, {
1997
+ owner: Uint8Array<ArrayBufferLike>;
1998
+ data: Uint8Array<ArrayBufferLike>;
1999
+ created_at: bigint;
2000
+ updated_at: bigint;
2001
+ description?: string | undefined;
2002
+ version?: bigint | undefined;
2003
+ }, {
2004
+ owner: Uint8Array<ArrayBufferLike>;
2005
+ data: Uint8Array<ArrayBufferLike>;
2006
+ created_at: bigint;
2007
+ updated_at: bigint;
2008
+ description?: string | undefined;
2009
+ version?: bigint | undefined;
2010
+ }>>;
2011
+ proposed: z.ZodObject<{
2012
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2013
+ description: z.ZodOptional<z.ZodString>;
2014
+ version: z.ZodOptional<z.ZodBigInt>;
2015
+ }, "strict", z.ZodTypeAny, {
2016
+ data: Uint8Array<ArrayBufferLike>;
2017
+ description?: string | undefined;
2018
+ version?: bigint | undefined;
2019
+ }, {
2020
+ data: Uint8Array<ArrayBufferLike>;
2021
+ description?: string | undefined;
2022
+ version?: bigint | undefined;
2023
+ }>;
2024
+ }, "strict", z.ZodTypeAny, {
2025
+ proposed: {
2026
+ data: Uint8Array<ArrayBufferLike>;
2027
+ description?: string | undefined;
2028
+ version?: bigint | undefined;
2029
+ };
2030
+ current?: {
2031
+ owner: Uint8Array<ArrayBufferLike>;
2032
+ data: Uint8Array<ArrayBufferLike>;
2033
+ created_at: bigint;
2034
+ updated_at: bigint;
2035
+ description?: string | undefined;
2036
+ version?: bigint | undefined;
2037
+ } | undefined;
2038
+ }, {
2039
+ proposed: {
2040
+ data: Uint8Array<ArrayBufferLike>;
2041
+ description?: string | undefined;
2042
+ version?: bigint | undefined;
2043
+ };
2044
+ current?: {
2045
+ owner: Uint8Array<ArrayBufferLike>;
2046
+ data: Uint8Array<ArrayBufferLike>;
2047
+ created_at: bigint;
2048
+ updated_at: bigint;
2049
+ description?: string | undefined;
2050
+ version?: bigint | undefined;
2051
+ } | undefined;
2052
+ }>;
2053
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
2054
+ collection: z.ZodString;
2055
+ key: z.ZodString;
2056
+ data: z.ZodObject<{
2057
+ current: z.ZodOptional<z.ZodObject<{
2058
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2059
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2060
+ description: z.ZodOptional<z.ZodString>;
2061
+ created_at: z.ZodBigInt;
2062
+ updated_at: z.ZodBigInt;
2063
+ version: z.ZodOptional<z.ZodBigInt>;
2064
+ }, "strict", z.ZodTypeAny, {
2065
+ owner: Uint8Array<ArrayBufferLike>;
2066
+ data: Uint8Array<ArrayBufferLike>;
2067
+ created_at: bigint;
2068
+ updated_at: bigint;
2069
+ description?: string | undefined;
2070
+ version?: bigint | undefined;
2071
+ }, {
2072
+ owner: Uint8Array<ArrayBufferLike>;
2073
+ data: Uint8Array<ArrayBufferLike>;
2074
+ created_at: bigint;
2075
+ updated_at: bigint;
2076
+ description?: string | undefined;
2077
+ version?: bigint | undefined;
2078
+ }>>;
2079
+ proposed: z.ZodObject<{
2080
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2081
+ description: z.ZodOptional<z.ZodString>;
2082
+ version: z.ZodOptional<z.ZodBigInt>;
2083
+ }, "strict", z.ZodTypeAny, {
2084
+ data: Uint8Array<ArrayBufferLike>;
2085
+ description?: string | undefined;
2086
+ version?: bigint | undefined;
2087
+ }, {
2088
+ data: Uint8Array<ArrayBufferLike>;
2089
+ description?: string | undefined;
2090
+ version?: bigint | undefined;
2091
+ }>;
2092
+ }, "strict", z.ZodTypeAny, {
2093
+ proposed: {
2094
+ data: Uint8Array<ArrayBufferLike>;
2095
+ description?: string | undefined;
2096
+ version?: bigint | undefined;
2097
+ };
2098
+ current?: {
2099
+ owner: Uint8Array<ArrayBufferLike>;
2100
+ data: Uint8Array<ArrayBufferLike>;
2101
+ created_at: bigint;
2102
+ updated_at: bigint;
2103
+ description?: string | undefined;
2104
+ version?: bigint | undefined;
2105
+ } | undefined;
2106
+ }, {
2107
+ proposed: {
2108
+ data: Uint8Array<ArrayBufferLike>;
2109
+ description?: string | undefined;
2110
+ version?: bigint | undefined;
2111
+ };
2112
+ current?: {
2113
+ owner: Uint8Array<ArrayBufferLike>;
2114
+ data: Uint8Array<ArrayBufferLike>;
2115
+ created_at: bigint;
2116
+ updated_at: bigint;
2117
+ description?: string | undefined;
2118
+ version?: bigint | undefined;
2119
+ } | undefined;
2120
+ }>;
2121
+ }>, z.baseObjectInputType<{
2122
+ collection: z.ZodString;
2123
+ key: z.ZodString;
2124
+ data: z.ZodObject<{
2125
+ current: z.ZodOptional<z.ZodObject<{
2126
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2127
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2128
+ description: z.ZodOptional<z.ZodString>;
2129
+ created_at: z.ZodBigInt;
2130
+ updated_at: z.ZodBigInt;
2131
+ version: z.ZodOptional<z.ZodBigInt>;
2132
+ }, "strict", z.ZodTypeAny, {
2133
+ owner: Uint8Array<ArrayBufferLike>;
2134
+ data: Uint8Array<ArrayBufferLike>;
2135
+ created_at: bigint;
2136
+ updated_at: bigint;
2137
+ description?: string | undefined;
2138
+ version?: bigint | undefined;
2139
+ }, {
2140
+ owner: Uint8Array<ArrayBufferLike>;
2141
+ data: Uint8Array<ArrayBufferLike>;
2142
+ created_at: bigint;
2143
+ updated_at: bigint;
2144
+ description?: string | undefined;
2145
+ version?: bigint | undefined;
2146
+ }>>;
2147
+ proposed: z.ZodObject<{
2148
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2149
+ description: z.ZodOptional<z.ZodString>;
2150
+ version: z.ZodOptional<z.ZodBigInt>;
2151
+ }, "strict", z.ZodTypeAny, {
2152
+ data: Uint8Array<ArrayBufferLike>;
2153
+ description?: string | undefined;
2154
+ version?: bigint | undefined;
2155
+ }, {
2156
+ data: Uint8Array<ArrayBufferLike>;
2157
+ description?: string | undefined;
2158
+ version?: bigint | undefined;
2159
+ }>;
2160
+ }, "strict", z.ZodTypeAny, {
2161
+ proposed: {
2162
+ data: Uint8Array<ArrayBufferLike>;
2163
+ description?: string | undefined;
2164
+ version?: bigint | undefined;
2165
+ };
2166
+ current?: {
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
+ } | undefined;
2174
+ }, {
2175
+ proposed: {
2176
+ data: Uint8Array<ArrayBufferLike>;
2177
+ description?: string | undefined;
2178
+ version?: bigint | undefined;
2179
+ };
2180
+ current?: {
2181
+ owner: Uint8Array<ArrayBufferLike>;
2182
+ data: Uint8Array<ArrayBufferLike>;
2183
+ created_at: bigint;
2184
+ updated_at: bigint;
2185
+ description?: string | undefined;
2186
+ version?: bigint | undefined;
2187
+ } | undefined;
2188
+ }>;
2189
+ }>>;
2190
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
2191
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2192
+ data: z.ZodObject<{
2193
+ collection: z.ZodString;
2194
+ key: z.ZodString;
2195
+ data: z.ZodObject<{
2196
+ current: z.ZodOptional<z.ZodObject<{
2197
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2198
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2199
+ description: z.ZodOptional<z.ZodString>;
2200
+ created_at: z.ZodBigInt;
2201
+ updated_at: z.ZodBigInt;
2202
+ version: z.ZodOptional<z.ZodBigInt>;
2203
+ }, "strict", z.ZodTypeAny, {
2204
+ owner: Uint8Array<ArrayBufferLike>;
2205
+ data: Uint8Array<ArrayBufferLike>;
2206
+ created_at: bigint;
2207
+ updated_at: bigint;
2208
+ description?: string | undefined;
2209
+ version?: bigint | undefined;
2210
+ }, {
2211
+ owner: Uint8Array<ArrayBufferLike>;
2212
+ data: Uint8Array<ArrayBufferLike>;
2213
+ created_at: bigint;
2214
+ updated_at: bigint;
2215
+ description?: string | undefined;
2216
+ version?: bigint | undefined;
2217
+ }>>;
2218
+ proposed: z.ZodObject<{
2219
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2220
+ description: z.ZodOptional<z.ZodString>;
2221
+ version: z.ZodOptional<z.ZodBigInt>;
2222
+ }, "strict", z.ZodTypeAny, {
2223
+ data: Uint8Array<ArrayBufferLike>;
2224
+ description?: string | undefined;
2225
+ version?: bigint | undefined;
2226
+ }, {
2227
+ data: Uint8Array<ArrayBufferLike>;
2228
+ description?: string | undefined;
2229
+ version?: bigint | undefined;
2230
+ }>;
2231
+ }, "strict", z.ZodTypeAny, {
2232
+ proposed: {
2233
+ data: Uint8Array<ArrayBufferLike>;
2234
+ description?: string | undefined;
2235
+ version?: bigint | undefined;
2236
+ };
2237
+ current?: {
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
+ } | undefined;
2245
+ }, {
2246
+ proposed: {
2247
+ data: Uint8Array<ArrayBufferLike>;
2248
+ description?: string | undefined;
2249
+ version?: bigint | undefined;
2250
+ };
2251
+ current?: {
2252
+ owner: Uint8Array<ArrayBufferLike>;
2253
+ data: Uint8Array<ArrayBufferLike>;
2254
+ created_at: bigint;
2255
+ updated_at: bigint;
2256
+ description?: string | undefined;
2257
+ version?: bigint | undefined;
2258
+ } | undefined;
2259
+ }>;
2260
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
2261
+ collection: z.ZodString;
2262
+ key: z.ZodString;
2263
+ data: z.ZodObject<{
2264
+ current: z.ZodOptional<z.ZodObject<{
2265
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2266
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2267
+ description: z.ZodOptional<z.ZodString>;
2268
+ created_at: z.ZodBigInt;
2269
+ updated_at: z.ZodBigInt;
2270
+ version: z.ZodOptional<z.ZodBigInt>;
2271
+ }, "strict", z.ZodTypeAny, {
2272
+ owner: Uint8Array<ArrayBufferLike>;
2273
+ data: Uint8Array<ArrayBufferLike>;
2274
+ created_at: bigint;
2275
+ updated_at: bigint;
2276
+ description?: string | undefined;
2277
+ version?: bigint | undefined;
2278
+ }, {
2279
+ owner: Uint8Array<ArrayBufferLike>;
2280
+ data: Uint8Array<ArrayBufferLike>;
2281
+ created_at: bigint;
2282
+ updated_at: bigint;
2283
+ description?: string | undefined;
2284
+ version?: bigint | undefined;
2285
+ }>>;
2286
+ proposed: z.ZodObject<{
2287
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2288
+ description: z.ZodOptional<z.ZodString>;
2289
+ version: z.ZodOptional<z.ZodBigInt>;
2290
+ }, "strict", z.ZodTypeAny, {
2291
+ data: Uint8Array<ArrayBufferLike>;
2292
+ description?: string | undefined;
2293
+ version?: bigint | undefined;
2294
+ }, {
2295
+ data: Uint8Array<ArrayBufferLike>;
2296
+ description?: string | undefined;
2297
+ version?: bigint | undefined;
2298
+ }>;
2299
+ }, "strict", z.ZodTypeAny, {
2300
+ proposed: {
2301
+ data: Uint8Array<ArrayBufferLike>;
2302
+ description?: string | undefined;
2303
+ version?: bigint | undefined;
2304
+ };
2305
+ current?: {
2306
+ owner: Uint8Array<ArrayBufferLike>;
2307
+ data: Uint8Array<ArrayBufferLike>;
2308
+ created_at: bigint;
2309
+ updated_at: bigint;
2310
+ description?: string | undefined;
2311
+ version?: bigint | undefined;
2312
+ } | undefined;
2313
+ }, {
2314
+ proposed: {
2315
+ data: Uint8Array<ArrayBufferLike>;
2316
+ description?: string | undefined;
2317
+ version?: bigint | undefined;
2318
+ };
2319
+ current?: {
2320
+ owner: Uint8Array<ArrayBufferLike>;
2321
+ data: Uint8Array<ArrayBufferLike>;
2322
+ created_at: bigint;
2323
+ updated_at: bigint;
2324
+ description?: string | undefined;
2325
+ version?: bigint | undefined;
2326
+ } | undefined;
2327
+ }>;
2328
+ }>, z.baseObjectInputType<{
2329
+ collection: z.ZodString;
2330
+ key: z.ZodString;
2331
+ data: z.ZodObject<{
2332
+ current: z.ZodOptional<z.ZodObject<{
2333
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2334
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2335
+ description: z.ZodOptional<z.ZodString>;
2336
+ created_at: z.ZodBigInt;
2337
+ updated_at: z.ZodBigInt;
2338
+ version: z.ZodOptional<z.ZodBigInt>;
2339
+ }, "strict", z.ZodTypeAny, {
2340
+ owner: Uint8Array<ArrayBufferLike>;
2341
+ data: Uint8Array<ArrayBufferLike>;
2342
+ created_at: bigint;
2343
+ updated_at: bigint;
2344
+ description?: string | undefined;
2345
+ version?: bigint | undefined;
2346
+ }, {
2347
+ owner: Uint8Array<ArrayBufferLike>;
2348
+ data: Uint8Array<ArrayBufferLike>;
2349
+ created_at: bigint;
2350
+ updated_at: bigint;
2351
+ description?: string | undefined;
2352
+ version?: bigint | undefined;
2353
+ }>>;
2354
+ proposed: z.ZodObject<{
2355
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2356
+ description: z.ZodOptional<z.ZodString>;
2357
+ version: z.ZodOptional<z.ZodBigInt>;
2358
+ }, "strict", z.ZodTypeAny, {
2359
+ data: Uint8Array<ArrayBufferLike>;
2360
+ description?: string | undefined;
2361
+ version?: bigint | undefined;
2362
+ }, {
2363
+ data: Uint8Array<ArrayBufferLike>;
2364
+ description?: string | undefined;
2365
+ version?: bigint | undefined;
2366
+ }>;
2367
+ }, "strict", z.ZodTypeAny, {
2368
+ proposed: {
2369
+ data: Uint8Array<ArrayBufferLike>;
2370
+ description?: string | undefined;
2371
+ version?: bigint | undefined;
2372
+ };
2373
+ current?: {
2374
+ owner: Uint8Array<ArrayBufferLike>;
2375
+ data: Uint8Array<ArrayBufferLike>;
2376
+ created_at: bigint;
2377
+ updated_at: bigint;
2378
+ description?: string | undefined;
2379
+ version?: bigint | undefined;
2380
+ } | undefined;
2381
+ }, {
2382
+ proposed: {
2383
+ data: Uint8Array<ArrayBufferLike>;
2384
+ description?: string | undefined;
2385
+ version?: bigint | undefined;
2386
+ };
2387
+ current?: {
2388
+ owner: Uint8Array<ArrayBufferLike>;
2389
+ data: Uint8Array<ArrayBufferLike>;
2390
+ created_at: bigint;
2391
+ updated_at: bigint;
2392
+ description?: string | undefined;
2393
+ version?: bigint | undefined;
2394
+ } | undefined;
2395
+ }>;
2396
+ }>>;
2397
+ }>, z.baseObjectInputType<{
2398
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2399
+ data: z.ZodObject<{
2400
+ collection: z.ZodString;
2401
+ key: z.ZodString;
2402
+ data: z.ZodObject<{
2403
+ current: z.ZodOptional<z.ZodObject<{
2404
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2405
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2406
+ description: z.ZodOptional<z.ZodString>;
2407
+ created_at: z.ZodBigInt;
2408
+ updated_at: z.ZodBigInt;
2409
+ version: z.ZodOptional<z.ZodBigInt>;
2410
+ }, "strict", z.ZodTypeAny, {
2411
+ owner: Uint8Array<ArrayBufferLike>;
2412
+ data: Uint8Array<ArrayBufferLike>;
2413
+ created_at: bigint;
2414
+ updated_at: bigint;
2415
+ description?: string | undefined;
2416
+ version?: bigint | undefined;
2417
+ }, {
2418
+ owner: Uint8Array<ArrayBufferLike>;
2419
+ data: Uint8Array<ArrayBufferLike>;
2420
+ created_at: bigint;
2421
+ updated_at: bigint;
2422
+ description?: string | undefined;
2423
+ version?: bigint | undefined;
2424
+ }>>;
2425
+ proposed: z.ZodObject<{
2426
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2427
+ description: z.ZodOptional<z.ZodString>;
2428
+ version: z.ZodOptional<z.ZodBigInt>;
2429
+ }, "strict", z.ZodTypeAny, {
2430
+ data: Uint8Array<ArrayBufferLike>;
2431
+ description?: string | undefined;
2432
+ version?: bigint | undefined;
2433
+ }, {
2434
+ data: Uint8Array<ArrayBufferLike>;
2435
+ description?: string | undefined;
2436
+ version?: bigint | undefined;
2437
+ }>;
2438
+ }, "strict", z.ZodTypeAny, {
2439
+ proposed: {
2440
+ data: Uint8Array<ArrayBufferLike>;
2441
+ description?: string | undefined;
2442
+ version?: bigint | undefined;
2443
+ };
2444
+ current?: {
2445
+ owner: Uint8Array<ArrayBufferLike>;
2446
+ data: Uint8Array<ArrayBufferLike>;
2447
+ created_at: bigint;
2448
+ updated_at: bigint;
2449
+ description?: string | undefined;
2450
+ version?: bigint | undefined;
2451
+ } | undefined;
2452
+ }, {
2453
+ proposed: {
2454
+ data: Uint8Array<ArrayBufferLike>;
2455
+ description?: string | undefined;
2456
+ version?: bigint | undefined;
2457
+ };
2458
+ current?: {
2459
+ owner: Uint8Array<ArrayBufferLike>;
2460
+ data: Uint8Array<ArrayBufferLike>;
2461
+ created_at: bigint;
2462
+ updated_at: bigint;
2463
+ description?: string | undefined;
2464
+ version?: bigint | undefined;
2465
+ } | undefined;
2466
+ }>;
2467
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
2468
+ collection: z.ZodString;
2469
+ key: z.ZodString;
2470
+ data: z.ZodObject<{
2471
+ current: z.ZodOptional<z.ZodObject<{
2472
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2473
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2474
+ description: z.ZodOptional<z.ZodString>;
2475
+ created_at: z.ZodBigInt;
2476
+ updated_at: z.ZodBigInt;
2477
+ version: z.ZodOptional<z.ZodBigInt>;
2478
+ }, "strict", z.ZodTypeAny, {
2479
+ owner: Uint8Array<ArrayBufferLike>;
2480
+ data: Uint8Array<ArrayBufferLike>;
2481
+ created_at: bigint;
2482
+ updated_at: bigint;
2483
+ description?: string | undefined;
2484
+ version?: bigint | undefined;
2485
+ }, {
2486
+ owner: Uint8Array<ArrayBufferLike>;
2487
+ data: Uint8Array<ArrayBufferLike>;
2488
+ created_at: bigint;
2489
+ updated_at: bigint;
2490
+ description?: string | undefined;
2491
+ version?: bigint | undefined;
2492
+ }>>;
2493
+ proposed: z.ZodObject<{
2494
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2495
+ description: z.ZodOptional<z.ZodString>;
2496
+ version: z.ZodOptional<z.ZodBigInt>;
2497
+ }, "strict", z.ZodTypeAny, {
2498
+ data: Uint8Array<ArrayBufferLike>;
2499
+ description?: string | undefined;
2500
+ version?: bigint | undefined;
2501
+ }, {
2502
+ data: Uint8Array<ArrayBufferLike>;
2503
+ description?: string | undefined;
2504
+ version?: bigint | undefined;
2505
+ }>;
2506
+ }, "strict", z.ZodTypeAny, {
2507
+ proposed: {
2508
+ data: Uint8Array<ArrayBufferLike>;
2509
+ description?: string | undefined;
2510
+ version?: bigint | undefined;
2511
+ };
2512
+ current?: {
2513
+ owner: Uint8Array<ArrayBufferLike>;
2514
+ data: Uint8Array<ArrayBufferLike>;
2515
+ created_at: bigint;
2516
+ updated_at: bigint;
2517
+ description?: string | undefined;
2518
+ version?: bigint | undefined;
2519
+ } | undefined;
2520
+ }, {
2521
+ proposed: {
2522
+ data: Uint8Array<ArrayBufferLike>;
2523
+ description?: string | undefined;
2524
+ version?: bigint | undefined;
2525
+ };
2526
+ current?: {
2527
+ owner: Uint8Array<ArrayBufferLike>;
2528
+ data: Uint8Array<ArrayBufferLike>;
2529
+ created_at: bigint;
2530
+ updated_at: bigint;
2531
+ description?: string | undefined;
2532
+ version?: bigint | undefined;
2533
+ } | undefined;
2534
+ }>;
2535
+ }>, z.baseObjectInputType<{
2536
+ collection: z.ZodString;
2537
+ key: z.ZodString;
2538
+ data: z.ZodObject<{
2539
+ current: z.ZodOptional<z.ZodObject<{
2540
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2541
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2542
+ description: z.ZodOptional<z.ZodString>;
2543
+ created_at: z.ZodBigInt;
2544
+ updated_at: z.ZodBigInt;
2545
+ version: z.ZodOptional<z.ZodBigInt>;
2546
+ }, "strict", z.ZodTypeAny, {
2547
+ owner: Uint8Array<ArrayBufferLike>;
2548
+ data: Uint8Array<ArrayBufferLike>;
2549
+ created_at: bigint;
2550
+ updated_at: bigint;
2551
+ description?: string | undefined;
2552
+ version?: bigint | undefined;
2553
+ }, {
2554
+ owner: Uint8Array<ArrayBufferLike>;
2555
+ data: Uint8Array<ArrayBufferLike>;
2556
+ created_at: bigint;
2557
+ updated_at: bigint;
2558
+ description?: string | undefined;
2559
+ version?: bigint | undefined;
2560
+ }>>;
2561
+ proposed: z.ZodObject<{
2562
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2563
+ description: z.ZodOptional<z.ZodString>;
2564
+ version: z.ZodOptional<z.ZodBigInt>;
2565
+ }, "strict", z.ZodTypeAny, {
2566
+ data: Uint8Array<ArrayBufferLike>;
2567
+ description?: string | undefined;
2568
+ version?: bigint | undefined;
2569
+ }, {
2570
+ data: Uint8Array<ArrayBufferLike>;
2571
+ description?: string | undefined;
2572
+ version?: bigint | undefined;
2573
+ }>;
2574
+ }, "strict", z.ZodTypeAny, {
2575
+ proposed: {
2576
+ data: Uint8Array<ArrayBufferLike>;
2577
+ description?: string | undefined;
2578
+ version?: bigint | undefined;
2579
+ };
2580
+ current?: {
2581
+ owner: Uint8Array<ArrayBufferLike>;
2582
+ data: Uint8Array<ArrayBufferLike>;
2583
+ created_at: bigint;
2584
+ updated_at: bigint;
2585
+ description?: string | undefined;
2586
+ version?: bigint | undefined;
2587
+ } | undefined;
2588
+ }, {
2589
+ proposed: {
2590
+ data: Uint8Array<ArrayBufferLike>;
2591
+ description?: string | undefined;
2592
+ version?: bigint | undefined;
2593
+ };
2594
+ current?: {
2595
+ owner: Uint8Array<ArrayBufferLike>;
2596
+ data: Uint8Array<ArrayBufferLike>;
2597
+ created_at: bigint;
2598
+ updated_at: bigint;
2599
+ description?: string | undefined;
2600
+ version?: bigint | undefined;
2601
+ } | undefined;
2602
+ }>;
2603
+ }>>;
2604
+ }>>], z.ZodUnknown>, z.ZodVoid>;
2605
+ }>, "strict", z.ZodTypeAny, {
2606
+ collections: readonly string[];
2607
+ assert: (args_0: z.baseObjectInputType<{
2608
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2609
+ data: z.ZodObject<{
2610
+ collection: z.ZodString;
2611
+ key: z.ZodString;
2612
+ data: z.ZodObject<{
2613
+ current: z.ZodOptional<z.ZodObject<{
2614
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2615
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2616
+ description: z.ZodOptional<z.ZodString>;
2617
+ created_at: z.ZodBigInt;
2618
+ updated_at: z.ZodBigInt;
2619
+ version: z.ZodOptional<z.ZodBigInt>;
2620
+ }, "strict", z.ZodTypeAny, {
2621
+ owner: Uint8Array<ArrayBufferLike>;
2622
+ data: Uint8Array<ArrayBufferLike>;
2623
+ created_at: bigint;
2624
+ updated_at: bigint;
2625
+ description?: string | undefined;
2626
+ version?: bigint | undefined;
2627
+ }, {
2628
+ owner: Uint8Array<ArrayBufferLike>;
2629
+ data: Uint8Array<ArrayBufferLike>;
2630
+ created_at: bigint;
2631
+ updated_at: bigint;
2632
+ description?: string | undefined;
2633
+ version?: bigint | undefined;
2634
+ }>>;
2635
+ proposed: z.ZodObject<{
2636
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2637
+ description: z.ZodOptional<z.ZodString>;
2638
+ version: z.ZodOptional<z.ZodBigInt>;
2639
+ }, "strict", z.ZodTypeAny, {
2640
+ data: Uint8Array<ArrayBufferLike>;
2641
+ description?: string | undefined;
2642
+ version?: bigint | undefined;
2643
+ }, {
2644
+ data: Uint8Array<ArrayBufferLike>;
2645
+ description?: string | undefined;
2646
+ version?: bigint | undefined;
2647
+ }>;
2648
+ }, "strict", z.ZodTypeAny, {
2649
+ proposed: {
2650
+ data: Uint8Array<ArrayBufferLike>;
2651
+ description?: string | undefined;
2652
+ version?: bigint | undefined;
2653
+ };
2654
+ current?: {
2655
+ owner: Uint8Array<ArrayBufferLike>;
2656
+ data: Uint8Array<ArrayBufferLike>;
2657
+ created_at: bigint;
2658
+ updated_at: bigint;
2659
+ description?: string | undefined;
2660
+ version?: bigint | undefined;
2661
+ } | undefined;
2662
+ }, {
2663
+ proposed: {
2664
+ data: Uint8Array<ArrayBufferLike>;
2665
+ description?: string | undefined;
2666
+ version?: bigint | undefined;
2667
+ };
2668
+ current?: {
2669
+ owner: Uint8Array<ArrayBufferLike>;
2670
+ data: Uint8Array<ArrayBufferLike>;
2671
+ created_at: bigint;
2672
+ updated_at: bigint;
2673
+ description?: string | undefined;
2674
+ version?: bigint | undefined;
2675
+ } | undefined;
2676
+ }>;
2677
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
2678
+ collection: z.ZodString;
2679
+ key: z.ZodString;
2680
+ data: z.ZodObject<{
2681
+ current: z.ZodOptional<z.ZodObject<{
2682
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2683
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2684
+ description: z.ZodOptional<z.ZodString>;
2685
+ created_at: z.ZodBigInt;
2686
+ updated_at: z.ZodBigInt;
2687
+ version: z.ZodOptional<z.ZodBigInt>;
2688
+ }, "strict", z.ZodTypeAny, {
2689
+ owner: Uint8Array<ArrayBufferLike>;
2690
+ data: Uint8Array<ArrayBufferLike>;
2691
+ created_at: bigint;
2692
+ updated_at: bigint;
2693
+ description?: string | undefined;
2694
+ version?: bigint | undefined;
2695
+ }, {
2696
+ owner: Uint8Array<ArrayBufferLike>;
2697
+ data: Uint8Array<ArrayBufferLike>;
2698
+ created_at: bigint;
2699
+ updated_at: bigint;
2700
+ description?: string | undefined;
2701
+ version?: bigint | undefined;
2702
+ }>>;
2703
+ proposed: z.ZodObject<{
2704
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2705
+ description: z.ZodOptional<z.ZodString>;
2706
+ version: z.ZodOptional<z.ZodBigInt>;
2707
+ }, "strict", z.ZodTypeAny, {
2708
+ data: Uint8Array<ArrayBufferLike>;
2709
+ description?: string | undefined;
2710
+ version?: bigint | undefined;
2711
+ }, {
2712
+ data: Uint8Array<ArrayBufferLike>;
2713
+ description?: string | undefined;
2714
+ version?: bigint | undefined;
2715
+ }>;
2716
+ }, "strict", z.ZodTypeAny, {
2717
+ proposed: {
2718
+ data: Uint8Array<ArrayBufferLike>;
2719
+ description?: string | undefined;
2720
+ version?: bigint | undefined;
2721
+ };
2722
+ current?: {
2723
+ owner: Uint8Array<ArrayBufferLike>;
2724
+ data: Uint8Array<ArrayBufferLike>;
2725
+ created_at: bigint;
2726
+ updated_at: bigint;
2727
+ description?: string | undefined;
2728
+ version?: bigint | undefined;
2729
+ } | undefined;
2730
+ }, {
2731
+ proposed: {
2732
+ data: Uint8Array<ArrayBufferLike>;
2733
+ description?: string | undefined;
2734
+ version?: bigint | undefined;
2735
+ };
2736
+ current?: {
2737
+ owner: Uint8Array<ArrayBufferLike>;
2738
+ data: Uint8Array<ArrayBufferLike>;
2739
+ created_at: bigint;
2740
+ updated_at: bigint;
2741
+ description?: string | undefined;
2742
+ version?: bigint | undefined;
2743
+ } | undefined;
2744
+ }>;
2745
+ }>, z.baseObjectInputType<{
2746
+ collection: z.ZodString;
2747
+ key: z.ZodString;
2748
+ data: z.ZodObject<{
2749
+ current: z.ZodOptional<z.ZodObject<{
2750
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2751
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2752
+ description: z.ZodOptional<z.ZodString>;
2753
+ created_at: z.ZodBigInt;
2754
+ updated_at: z.ZodBigInt;
2755
+ version: z.ZodOptional<z.ZodBigInt>;
2756
+ }, "strict", z.ZodTypeAny, {
2757
+ owner: Uint8Array<ArrayBufferLike>;
2758
+ data: Uint8Array<ArrayBufferLike>;
2759
+ created_at: bigint;
2760
+ updated_at: bigint;
2761
+ description?: string | undefined;
2762
+ version?: bigint | undefined;
2763
+ }, {
2764
+ owner: Uint8Array<ArrayBufferLike>;
2765
+ data: Uint8Array<ArrayBufferLike>;
2766
+ created_at: bigint;
2767
+ updated_at: bigint;
2768
+ description?: string | undefined;
2769
+ version?: bigint | undefined;
2770
+ }>>;
2771
+ proposed: z.ZodObject<{
2772
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2773
+ description: z.ZodOptional<z.ZodString>;
2774
+ version: z.ZodOptional<z.ZodBigInt>;
2775
+ }, "strict", z.ZodTypeAny, {
2776
+ data: Uint8Array<ArrayBufferLike>;
2777
+ description?: string | undefined;
2778
+ version?: bigint | undefined;
2779
+ }, {
2780
+ data: Uint8Array<ArrayBufferLike>;
2781
+ description?: string | undefined;
2782
+ version?: bigint | undefined;
2783
+ }>;
2784
+ }, "strict", z.ZodTypeAny, {
2785
+ proposed: {
2786
+ data: Uint8Array<ArrayBufferLike>;
2787
+ description?: string | undefined;
2788
+ version?: bigint | undefined;
2789
+ };
2790
+ current?: {
2791
+ owner: Uint8Array<ArrayBufferLike>;
2792
+ data: Uint8Array<ArrayBufferLike>;
2793
+ created_at: bigint;
2794
+ updated_at: bigint;
2795
+ description?: string | undefined;
2796
+ version?: bigint | undefined;
2797
+ } | undefined;
2798
+ }, {
2799
+ proposed: {
2800
+ data: Uint8Array<ArrayBufferLike>;
2801
+ description?: string | undefined;
2802
+ version?: bigint | undefined;
2803
+ };
2804
+ current?: {
2805
+ owner: Uint8Array<ArrayBufferLike>;
2806
+ data: Uint8Array<ArrayBufferLike>;
2807
+ created_at: bigint;
2808
+ updated_at: bigint;
2809
+ description?: string | undefined;
2810
+ version?: bigint | undefined;
2811
+ } | undefined;
2812
+ }>;
2813
+ }>>;
2814
+ }>, ...args: unknown[]) => void;
2815
+ }, {
2816
+ collections: readonly string[];
2817
+ assert: (args_0: z.baseObjectOutputType<{
2818
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2819
+ data: z.ZodObject<{
2820
+ collection: z.ZodString;
2821
+ key: z.ZodString;
2822
+ data: z.ZodObject<{
2823
+ current: z.ZodOptional<z.ZodObject<{
2824
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2825
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2826
+ description: z.ZodOptional<z.ZodString>;
2827
+ created_at: z.ZodBigInt;
2828
+ updated_at: z.ZodBigInt;
2829
+ version: z.ZodOptional<z.ZodBigInt>;
2830
+ }, "strict", z.ZodTypeAny, {
2831
+ owner: Uint8Array<ArrayBufferLike>;
2832
+ data: Uint8Array<ArrayBufferLike>;
2833
+ created_at: bigint;
2834
+ updated_at: bigint;
2835
+ description?: string | undefined;
2836
+ version?: bigint | undefined;
2837
+ }, {
2838
+ owner: Uint8Array<ArrayBufferLike>;
2839
+ data: Uint8Array<ArrayBufferLike>;
2840
+ created_at: bigint;
2841
+ updated_at: bigint;
2842
+ description?: string | undefined;
2843
+ version?: bigint | undefined;
2844
+ }>>;
2845
+ proposed: z.ZodObject<{
2846
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2847
+ description: z.ZodOptional<z.ZodString>;
2848
+ version: z.ZodOptional<z.ZodBigInt>;
2849
+ }, "strict", z.ZodTypeAny, {
2850
+ data: Uint8Array<ArrayBufferLike>;
2851
+ description?: string | undefined;
2852
+ version?: bigint | undefined;
2853
+ }, {
2854
+ data: Uint8Array<ArrayBufferLike>;
2855
+ description?: string | undefined;
2856
+ version?: bigint | undefined;
2857
+ }>;
2858
+ }, "strict", z.ZodTypeAny, {
2859
+ proposed: {
2860
+ data: Uint8Array<ArrayBufferLike>;
2861
+ description?: string | undefined;
2862
+ version?: bigint | undefined;
2863
+ };
2864
+ current?: {
2865
+ owner: Uint8Array<ArrayBufferLike>;
2866
+ data: Uint8Array<ArrayBufferLike>;
2867
+ created_at: bigint;
2868
+ updated_at: bigint;
2869
+ description?: string | undefined;
2870
+ version?: bigint | undefined;
2871
+ } | undefined;
2872
+ }, {
2873
+ proposed: {
2874
+ data: Uint8Array<ArrayBufferLike>;
2875
+ description?: string | undefined;
2876
+ version?: bigint | undefined;
2877
+ };
2878
+ current?: {
2879
+ owner: Uint8Array<ArrayBufferLike>;
2880
+ data: Uint8Array<ArrayBufferLike>;
2881
+ created_at: bigint;
2882
+ updated_at: bigint;
2883
+ description?: string | undefined;
2884
+ version?: bigint | undefined;
2885
+ } | undefined;
2886
+ }>;
2887
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
2888
+ collection: z.ZodString;
2889
+ key: z.ZodString;
2890
+ data: z.ZodObject<{
2891
+ current: z.ZodOptional<z.ZodObject<{
2892
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2893
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2894
+ description: z.ZodOptional<z.ZodString>;
2895
+ created_at: z.ZodBigInt;
2896
+ updated_at: z.ZodBigInt;
2897
+ version: z.ZodOptional<z.ZodBigInt>;
2898
+ }, "strict", z.ZodTypeAny, {
2899
+ owner: Uint8Array<ArrayBufferLike>;
2900
+ data: Uint8Array<ArrayBufferLike>;
2901
+ created_at: bigint;
2902
+ updated_at: bigint;
2903
+ description?: string | undefined;
2904
+ version?: bigint | undefined;
2905
+ }, {
2906
+ owner: Uint8Array<ArrayBufferLike>;
2907
+ data: Uint8Array<ArrayBufferLike>;
2908
+ created_at: bigint;
2909
+ updated_at: bigint;
2910
+ description?: string | undefined;
2911
+ version?: bigint | undefined;
2912
+ }>>;
2913
+ proposed: z.ZodObject<{
2914
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2915
+ description: z.ZodOptional<z.ZodString>;
2916
+ version: z.ZodOptional<z.ZodBigInt>;
2917
+ }, "strict", z.ZodTypeAny, {
2918
+ data: Uint8Array<ArrayBufferLike>;
2919
+ description?: string | undefined;
2920
+ version?: bigint | undefined;
2921
+ }, {
2922
+ data: Uint8Array<ArrayBufferLike>;
2923
+ description?: string | undefined;
2924
+ version?: bigint | undefined;
2925
+ }>;
2926
+ }, "strict", z.ZodTypeAny, {
2927
+ proposed: {
2928
+ data: Uint8Array<ArrayBufferLike>;
2929
+ description?: string | undefined;
2930
+ version?: bigint | undefined;
2931
+ };
2932
+ current?: {
2933
+ owner: Uint8Array<ArrayBufferLike>;
2934
+ data: Uint8Array<ArrayBufferLike>;
2935
+ created_at: bigint;
2936
+ updated_at: bigint;
2937
+ description?: string | undefined;
2938
+ version?: bigint | undefined;
2939
+ } | undefined;
2940
+ }, {
2941
+ proposed: {
2942
+ data: Uint8Array<ArrayBufferLike>;
2943
+ description?: string | undefined;
2944
+ version?: bigint | undefined;
2945
+ };
2946
+ current?: {
2947
+ owner: Uint8Array<ArrayBufferLike>;
2948
+ data: Uint8Array<ArrayBufferLike>;
2949
+ created_at: bigint;
2950
+ updated_at: bigint;
2951
+ description?: string | undefined;
2952
+ version?: bigint | undefined;
2953
+ } | undefined;
2954
+ }>;
2955
+ }>, z.baseObjectInputType<{
2956
+ collection: z.ZodString;
2957
+ key: z.ZodString;
2958
+ data: z.ZodObject<{
2959
+ current: z.ZodOptional<z.ZodObject<{
2960
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2961
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2962
+ description: z.ZodOptional<z.ZodString>;
2963
+ created_at: z.ZodBigInt;
2964
+ updated_at: z.ZodBigInt;
2965
+ version: z.ZodOptional<z.ZodBigInt>;
2966
+ }, "strict", z.ZodTypeAny, {
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
+ owner: Uint8Array<ArrayBufferLike>;
2975
+ data: Uint8Array<ArrayBufferLike>;
2976
+ created_at: bigint;
2977
+ updated_at: bigint;
2978
+ description?: string | undefined;
2979
+ version?: bigint | undefined;
2980
+ }>>;
2981
+ proposed: z.ZodObject<{
2982
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2983
+ description: z.ZodOptional<z.ZodString>;
2984
+ version: z.ZodOptional<z.ZodBigInt>;
2985
+ }, "strict", z.ZodTypeAny, {
2986
+ data: Uint8Array<ArrayBufferLike>;
2987
+ description?: string | undefined;
2988
+ version?: bigint | undefined;
2989
+ }, {
2990
+ data: Uint8Array<ArrayBufferLike>;
2991
+ description?: string | undefined;
2992
+ version?: bigint | undefined;
2993
+ }>;
2994
+ }, "strict", z.ZodTypeAny, {
2995
+ proposed: {
2996
+ data: Uint8Array<ArrayBufferLike>;
2997
+ description?: string | undefined;
2998
+ version?: bigint | undefined;
2999
+ };
3000
+ current?: {
3001
+ owner: Uint8Array<ArrayBufferLike>;
3002
+ data: Uint8Array<ArrayBufferLike>;
3003
+ created_at: bigint;
3004
+ updated_at: bigint;
3005
+ description?: string | undefined;
3006
+ version?: bigint | undefined;
3007
+ } | undefined;
3008
+ }, {
3009
+ proposed: {
3010
+ data: Uint8Array<ArrayBufferLike>;
3011
+ description?: string | undefined;
3012
+ version?: bigint | undefined;
3013
+ };
3014
+ current?: {
3015
+ owner: Uint8Array<ArrayBufferLike>;
3016
+ data: Uint8Array<ArrayBufferLike>;
3017
+ created_at: bigint;
3018
+ updated_at: bigint;
3019
+ description?: string | undefined;
3020
+ version?: bigint | undefined;
3021
+ } | undefined;
3022
+ }>;
3023
+ }>>;
3024
+ }>, ...args: unknown[]) => void;
3025
+ }>, z.ZodObject<z.objectUtil.extendShape<{
3026
+ collections: z.ZodReadonly<z.ZodArray<z.ZodString, "many">>;
3027
+ }, {
3028
+ /**
3029
+ * A function that runs when the assertion is triggered for the specified collections.
3030
+ *
3031
+ * @param {T} context - Contains information about the affected document(s).
3032
+ * @returns {void} Resolves when the assertion completes.
3033
+ */
3034
+ assert: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
3035
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3036
+ data: z.ZodObject<{
3037
+ collection: z.ZodString;
3038
+ key: z.ZodString;
3039
+ data: z.ZodObject<{
3040
+ current: z.ZodOptional<z.ZodObject<{
3041
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3042
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3043
+ description: z.ZodOptional<z.ZodString>;
3044
+ created_at: z.ZodBigInt;
3045
+ updated_at: z.ZodBigInt;
3046
+ version: z.ZodOptional<z.ZodBigInt>;
3047
+ }, "strict", z.ZodTypeAny, {
3048
+ owner: Uint8Array<ArrayBufferLike>;
3049
+ data: Uint8Array<ArrayBufferLike>;
3050
+ created_at: bigint;
3051
+ updated_at: bigint;
3052
+ description?: string | undefined;
3053
+ version?: bigint | undefined;
3054
+ }, {
3055
+ owner: Uint8Array<ArrayBufferLike>;
3056
+ data: Uint8Array<ArrayBufferLike>;
3057
+ created_at: bigint;
3058
+ updated_at: bigint;
3059
+ description?: string | undefined;
3060
+ version?: bigint | undefined;
3061
+ }>>;
3062
+ proposed: z.ZodObject<{
3063
+ version: z.ZodOptional<z.ZodBigInt>;
3064
+ }, "strict", z.ZodTypeAny, {
3065
+ version?: bigint | undefined;
3066
+ }, {
3067
+ version?: bigint | undefined;
3068
+ }>;
3069
+ }, "strict", z.ZodTypeAny, {
3070
+ proposed: {
3071
+ version?: bigint | undefined;
3072
+ };
3073
+ current?: {
3074
+ owner: Uint8Array<ArrayBufferLike>;
3075
+ data: Uint8Array<ArrayBufferLike>;
3076
+ created_at: bigint;
3077
+ updated_at: bigint;
3078
+ description?: string | undefined;
3079
+ version?: bigint | undefined;
3080
+ } | undefined;
3081
+ }, {
3082
+ proposed: {
3083
+ version?: bigint | undefined;
3084
+ };
3085
+ current?: {
3086
+ owner: Uint8Array<ArrayBufferLike>;
3087
+ data: Uint8Array<ArrayBufferLike>;
3088
+ created_at: bigint;
3089
+ updated_at: bigint;
3090
+ description?: string | undefined;
3091
+ version?: bigint | undefined;
3092
+ } | undefined;
3093
+ }>;
3094
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
3095
+ collection: z.ZodString;
3096
+ key: z.ZodString;
3097
+ data: z.ZodObject<{
3098
+ current: z.ZodOptional<z.ZodObject<{
3099
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3100
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3101
+ description: z.ZodOptional<z.ZodString>;
3102
+ created_at: z.ZodBigInt;
3103
+ updated_at: z.ZodBigInt;
3104
+ version: z.ZodOptional<z.ZodBigInt>;
3105
+ }, "strict", z.ZodTypeAny, {
3106
+ owner: Uint8Array<ArrayBufferLike>;
3107
+ data: Uint8Array<ArrayBufferLike>;
3108
+ created_at: bigint;
3109
+ updated_at: bigint;
3110
+ description?: string | undefined;
3111
+ version?: bigint | undefined;
3112
+ }, {
3113
+ owner: Uint8Array<ArrayBufferLike>;
3114
+ data: Uint8Array<ArrayBufferLike>;
3115
+ created_at: bigint;
3116
+ updated_at: bigint;
3117
+ description?: string | undefined;
3118
+ version?: bigint | undefined;
3119
+ }>>;
3120
+ proposed: z.ZodObject<{
3121
+ version: z.ZodOptional<z.ZodBigInt>;
3122
+ }, "strict", z.ZodTypeAny, {
3123
+ version?: bigint | undefined;
3124
+ }, {
3125
+ version?: bigint | undefined;
3126
+ }>;
3127
+ }, "strict", z.ZodTypeAny, {
3128
+ proposed: {
3129
+ version?: bigint | undefined;
3130
+ };
3131
+ current?: {
3132
+ owner: Uint8Array<ArrayBufferLike>;
3133
+ data: Uint8Array<ArrayBufferLike>;
3134
+ created_at: bigint;
3135
+ updated_at: bigint;
3136
+ description?: string | undefined;
3137
+ version?: bigint | undefined;
3138
+ } | undefined;
3139
+ }, {
3140
+ proposed: {
3141
+ version?: bigint | undefined;
3142
+ };
3143
+ current?: {
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
+ } | undefined;
3151
+ }>;
3152
+ }>, z.baseObjectInputType<{
3153
+ collection: z.ZodString;
3154
+ key: z.ZodString;
3155
+ data: z.ZodObject<{
3156
+ current: z.ZodOptional<z.ZodObject<{
3157
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3158
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3159
+ description: z.ZodOptional<z.ZodString>;
3160
+ created_at: z.ZodBigInt;
3161
+ updated_at: z.ZodBigInt;
3162
+ version: z.ZodOptional<z.ZodBigInt>;
3163
+ }, "strict", z.ZodTypeAny, {
3164
+ owner: Uint8Array<ArrayBufferLike>;
3165
+ data: Uint8Array<ArrayBufferLike>;
3166
+ created_at: bigint;
3167
+ updated_at: bigint;
3168
+ description?: string | undefined;
3169
+ version?: bigint | undefined;
3170
+ }, {
3171
+ owner: Uint8Array<ArrayBufferLike>;
3172
+ data: Uint8Array<ArrayBufferLike>;
3173
+ created_at: bigint;
3174
+ updated_at: bigint;
3175
+ description?: string | undefined;
3176
+ version?: bigint | undefined;
3177
+ }>>;
3178
+ proposed: z.ZodObject<{
3179
+ version: z.ZodOptional<z.ZodBigInt>;
3180
+ }, "strict", z.ZodTypeAny, {
3181
+ version?: bigint | undefined;
3182
+ }, {
3183
+ version?: bigint | undefined;
3184
+ }>;
3185
+ }, "strict", z.ZodTypeAny, {
3186
+ proposed: {
3187
+ version?: bigint | undefined;
3188
+ };
3189
+ current?: {
3190
+ owner: Uint8Array<ArrayBufferLike>;
3191
+ data: Uint8Array<ArrayBufferLike>;
3192
+ created_at: bigint;
3193
+ updated_at: bigint;
3194
+ description?: string | undefined;
3195
+ version?: bigint | undefined;
3196
+ } | undefined;
3197
+ }, {
3198
+ proposed: {
3199
+ version?: bigint | undefined;
3200
+ };
3201
+ current?: {
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
+ } | undefined;
3209
+ }>;
3210
+ }>>;
3211
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
3212
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3213
+ data: z.ZodObject<{
3214
+ collection: z.ZodString;
3215
+ key: z.ZodString;
3216
+ data: z.ZodObject<{
3217
+ current: z.ZodOptional<z.ZodObject<{
3218
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3219
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3220
+ description: z.ZodOptional<z.ZodString>;
3221
+ created_at: z.ZodBigInt;
3222
+ updated_at: z.ZodBigInt;
3223
+ version: z.ZodOptional<z.ZodBigInt>;
3224
+ }, "strict", z.ZodTypeAny, {
3225
+ owner: Uint8Array<ArrayBufferLike>;
3226
+ data: Uint8Array<ArrayBufferLike>;
3227
+ created_at: bigint;
3228
+ updated_at: bigint;
3229
+ description?: string | undefined;
3230
+ version?: bigint | undefined;
3231
+ }, {
3232
+ owner: Uint8Array<ArrayBufferLike>;
3233
+ data: Uint8Array<ArrayBufferLike>;
3234
+ created_at: bigint;
3235
+ updated_at: bigint;
3236
+ description?: string | undefined;
3237
+ version?: bigint | undefined;
3238
+ }>>;
3239
+ proposed: z.ZodObject<{
3240
+ version: z.ZodOptional<z.ZodBigInt>;
3241
+ }, "strict", z.ZodTypeAny, {
3242
+ version?: bigint | undefined;
3243
+ }, {
3244
+ version?: bigint | undefined;
3245
+ }>;
3246
+ }, "strict", z.ZodTypeAny, {
3247
+ proposed: {
3248
+ version?: bigint | undefined;
3249
+ };
3250
+ current?: {
3251
+ owner: Uint8Array<ArrayBufferLike>;
3252
+ data: Uint8Array<ArrayBufferLike>;
3253
+ created_at: bigint;
3254
+ updated_at: bigint;
3255
+ description?: string | undefined;
3256
+ version?: bigint | undefined;
3257
+ } | undefined;
3258
+ }, {
3259
+ proposed: {
3260
+ version?: bigint | undefined;
3261
+ };
3262
+ current?: {
3263
+ owner: Uint8Array<ArrayBufferLike>;
3264
+ data: Uint8Array<ArrayBufferLike>;
3265
+ created_at: bigint;
3266
+ updated_at: bigint;
3267
+ description?: string | undefined;
3268
+ version?: bigint | undefined;
3269
+ } | undefined;
3270
+ }>;
3271
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
3272
+ collection: z.ZodString;
3273
+ key: z.ZodString;
3274
+ data: z.ZodObject<{
3275
+ current: z.ZodOptional<z.ZodObject<{
3276
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3277
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3278
+ description: z.ZodOptional<z.ZodString>;
3279
+ created_at: z.ZodBigInt;
3280
+ updated_at: z.ZodBigInt;
3281
+ version: z.ZodOptional<z.ZodBigInt>;
3282
+ }, "strict", z.ZodTypeAny, {
3283
+ owner: Uint8Array<ArrayBufferLike>;
3284
+ data: Uint8Array<ArrayBufferLike>;
3285
+ created_at: bigint;
3286
+ updated_at: bigint;
3287
+ description?: string | undefined;
3288
+ version?: bigint | undefined;
3289
+ }, {
3290
+ owner: Uint8Array<ArrayBufferLike>;
3291
+ data: Uint8Array<ArrayBufferLike>;
3292
+ created_at: bigint;
3293
+ updated_at: bigint;
3294
+ description?: string | undefined;
3295
+ version?: bigint | undefined;
3296
+ }>>;
3297
+ proposed: z.ZodObject<{
3298
+ version: z.ZodOptional<z.ZodBigInt>;
3299
+ }, "strict", z.ZodTypeAny, {
3300
+ version?: bigint | undefined;
3301
+ }, {
3302
+ version?: bigint | undefined;
3303
+ }>;
3304
+ }, "strict", z.ZodTypeAny, {
3305
+ proposed: {
3306
+ version?: bigint | undefined;
3307
+ };
3308
+ current?: {
3309
+ owner: Uint8Array<ArrayBufferLike>;
3310
+ data: Uint8Array<ArrayBufferLike>;
3311
+ created_at: bigint;
3312
+ updated_at: bigint;
3313
+ description?: string | undefined;
3314
+ version?: bigint | undefined;
3315
+ } | undefined;
3316
+ }, {
3317
+ proposed: {
3318
+ version?: bigint | undefined;
3319
+ };
3320
+ current?: {
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
+ } | undefined;
3328
+ }>;
3329
+ }>, z.baseObjectInputType<{
3330
+ collection: z.ZodString;
3331
+ key: z.ZodString;
3332
+ data: z.ZodObject<{
3333
+ current: z.ZodOptional<z.ZodObject<{
3334
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3335
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3336
+ description: z.ZodOptional<z.ZodString>;
3337
+ created_at: z.ZodBigInt;
3338
+ updated_at: z.ZodBigInt;
3339
+ version: z.ZodOptional<z.ZodBigInt>;
3340
+ }, "strict", z.ZodTypeAny, {
3341
+ owner: Uint8Array<ArrayBufferLike>;
3342
+ data: Uint8Array<ArrayBufferLike>;
3343
+ created_at: bigint;
3344
+ updated_at: bigint;
3345
+ description?: string | undefined;
3346
+ version?: bigint | undefined;
3347
+ }, {
3348
+ owner: Uint8Array<ArrayBufferLike>;
3349
+ data: Uint8Array<ArrayBufferLike>;
3350
+ created_at: bigint;
3351
+ updated_at: bigint;
3352
+ description?: string | undefined;
3353
+ version?: bigint | undefined;
3354
+ }>>;
3355
+ proposed: z.ZodObject<{
3356
+ version: z.ZodOptional<z.ZodBigInt>;
3357
+ }, "strict", z.ZodTypeAny, {
3358
+ version?: bigint | undefined;
3359
+ }, {
3360
+ version?: bigint | undefined;
3361
+ }>;
3362
+ }, "strict", z.ZodTypeAny, {
3363
+ proposed: {
3364
+ version?: bigint | undefined;
3365
+ };
3366
+ current?: {
3367
+ owner: Uint8Array<ArrayBufferLike>;
3368
+ data: Uint8Array<ArrayBufferLike>;
3369
+ created_at: bigint;
3370
+ updated_at: bigint;
3371
+ description?: string | undefined;
3372
+ version?: bigint | undefined;
3373
+ } | undefined;
3374
+ }, {
3375
+ proposed: {
3376
+ version?: bigint | undefined;
3377
+ };
3378
+ current?: {
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
+ } | undefined;
3386
+ }>;
3387
+ }>>;
3388
+ }>, z.baseObjectInputType<{
3389
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3390
+ data: z.ZodObject<{
3391
+ collection: z.ZodString;
3392
+ key: z.ZodString;
3393
+ data: z.ZodObject<{
3394
+ current: z.ZodOptional<z.ZodObject<{
3395
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3396
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3397
+ description: z.ZodOptional<z.ZodString>;
3398
+ created_at: z.ZodBigInt;
3399
+ updated_at: z.ZodBigInt;
3400
+ version: z.ZodOptional<z.ZodBigInt>;
3401
+ }, "strict", z.ZodTypeAny, {
3402
+ owner: Uint8Array<ArrayBufferLike>;
3403
+ data: Uint8Array<ArrayBufferLike>;
3404
+ created_at: bigint;
3405
+ updated_at: bigint;
3406
+ description?: string | undefined;
3407
+ version?: bigint | undefined;
3408
+ }, {
3409
+ owner: Uint8Array<ArrayBufferLike>;
3410
+ data: Uint8Array<ArrayBufferLike>;
3411
+ created_at: bigint;
3412
+ updated_at: bigint;
3413
+ description?: string | undefined;
3414
+ version?: bigint | undefined;
3415
+ }>>;
3416
+ proposed: z.ZodObject<{
3417
+ version: z.ZodOptional<z.ZodBigInt>;
3418
+ }, "strict", z.ZodTypeAny, {
3419
+ version?: bigint | undefined;
3420
+ }, {
3421
+ version?: bigint | undefined;
3422
+ }>;
3423
+ }, "strict", z.ZodTypeAny, {
3424
+ proposed: {
3425
+ version?: bigint | undefined;
3426
+ };
3427
+ current?: {
3428
+ owner: Uint8Array<ArrayBufferLike>;
3429
+ data: Uint8Array<ArrayBufferLike>;
3430
+ created_at: bigint;
3431
+ updated_at: bigint;
3432
+ description?: string | undefined;
3433
+ version?: bigint | undefined;
3434
+ } | undefined;
3435
+ }, {
3436
+ proposed: {
3437
+ version?: bigint | undefined;
3438
+ };
3439
+ current?: {
3440
+ owner: Uint8Array<ArrayBufferLike>;
3441
+ data: Uint8Array<ArrayBufferLike>;
3442
+ created_at: bigint;
3443
+ updated_at: bigint;
3444
+ description?: string | undefined;
3445
+ version?: bigint | undefined;
3446
+ } | undefined;
3447
+ }>;
3448
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
3449
+ collection: z.ZodString;
3450
+ key: z.ZodString;
3451
+ data: z.ZodObject<{
3452
+ current: z.ZodOptional<z.ZodObject<{
3453
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3454
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3455
+ description: z.ZodOptional<z.ZodString>;
3456
+ created_at: z.ZodBigInt;
3457
+ updated_at: z.ZodBigInt;
3458
+ version: z.ZodOptional<z.ZodBigInt>;
3459
+ }, "strict", z.ZodTypeAny, {
3460
+ owner: Uint8Array<ArrayBufferLike>;
3461
+ data: Uint8Array<ArrayBufferLike>;
3462
+ created_at: bigint;
3463
+ updated_at: bigint;
3464
+ description?: string | undefined;
3465
+ version?: bigint | undefined;
3466
+ }, {
3467
+ owner: Uint8Array<ArrayBufferLike>;
3468
+ data: Uint8Array<ArrayBufferLike>;
3469
+ created_at: bigint;
3470
+ updated_at: bigint;
3471
+ description?: string | undefined;
3472
+ version?: bigint | undefined;
3473
+ }>>;
3474
+ proposed: z.ZodObject<{
3475
+ version: z.ZodOptional<z.ZodBigInt>;
3476
+ }, "strict", z.ZodTypeAny, {
3477
+ version?: bigint | undefined;
3478
+ }, {
3479
+ version?: bigint | undefined;
3480
+ }>;
3481
+ }, "strict", z.ZodTypeAny, {
3482
+ proposed: {
3483
+ version?: bigint | undefined;
3484
+ };
3485
+ current?: {
3486
+ owner: Uint8Array<ArrayBufferLike>;
3487
+ data: Uint8Array<ArrayBufferLike>;
3488
+ created_at: bigint;
3489
+ updated_at: bigint;
3490
+ description?: string | undefined;
3491
+ version?: bigint | undefined;
3492
+ } | undefined;
3493
+ }, {
3494
+ proposed: {
3495
+ version?: bigint | undefined;
3496
+ };
3497
+ current?: {
3498
+ owner: Uint8Array<ArrayBufferLike>;
3499
+ data: Uint8Array<ArrayBufferLike>;
3500
+ created_at: bigint;
3501
+ updated_at: bigint;
3502
+ description?: string | undefined;
3503
+ version?: bigint | undefined;
3504
+ } | undefined;
3505
+ }>;
3506
+ }>, z.baseObjectInputType<{
3507
+ collection: z.ZodString;
3508
+ key: z.ZodString;
3509
+ data: z.ZodObject<{
3510
+ current: z.ZodOptional<z.ZodObject<{
3511
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3512
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3513
+ description: z.ZodOptional<z.ZodString>;
3514
+ created_at: z.ZodBigInt;
3515
+ updated_at: z.ZodBigInt;
3516
+ version: z.ZodOptional<z.ZodBigInt>;
3517
+ }, "strict", z.ZodTypeAny, {
3518
+ owner: Uint8Array<ArrayBufferLike>;
3519
+ data: Uint8Array<ArrayBufferLike>;
3520
+ created_at: bigint;
3521
+ updated_at: bigint;
3522
+ description?: string | undefined;
3523
+ version?: bigint | undefined;
3524
+ }, {
3525
+ owner: Uint8Array<ArrayBufferLike>;
3526
+ data: Uint8Array<ArrayBufferLike>;
3527
+ created_at: bigint;
3528
+ updated_at: bigint;
3529
+ description?: string | undefined;
3530
+ version?: bigint | undefined;
3531
+ }>>;
3532
+ proposed: z.ZodObject<{
3533
+ version: z.ZodOptional<z.ZodBigInt>;
3534
+ }, "strict", z.ZodTypeAny, {
3535
+ version?: bigint | undefined;
3536
+ }, {
3537
+ version?: bigint | undefined;
3538
+ }>;
3539
+ }, "strict", z.ZodTypeAny, {
3540
+ proposed: {
3541
+ version?: bigint | undefined;
3542
+ };
3543
+ current?: {
3544
+ owner: Uint8Array<ArrayBufferLike>;
3545
+ data: Uint8Array<ArrayBufferLike>;
3546
+ created_at: bigint;
3547
+ updated_at: bigint;
3548
+ description?: string | undefined;
3549
+ version?: bigint | undefined;
3550
+ } | undefined;
3551
+ }, {
3552
+ proposed: {
3553
+ version?: bigint | undefined;
3554
+ };
3555
+ current?: {
3556
+ owner: Uint8Array<ArrayBufferLike>;
3557
+ data: Uint8Array<ArrayBufferLike>;
3558
+ created_at: bigint;
3559
+ updated_at: bigint;
3560
+ description?: string | undefined;
3561
+ version?: bigint | undefined;
3562
+ } | undefined;
3563
+ }>;
3564
+ }>>;
3565
+ }>>], z.ZodUnknown>, z.ZodVoid>;
3566
+ }>, "strict", z.ZodTypeAny, {
3567
+ collections: readonly string[];
3568
+ assert: (args_0: z.baseObjectInputType<{
3569
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3570
+ data: z.ZodObject<{
3571
+ collection: z.ZodString;
3572
+ key: z.ZodString;
3573
+ data: z.ZodObject<{
3574
+ current: z.ZodOptional<z.ZodObject<{
3575
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3576
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3577
+ description: z.ZodOptional<z.ZodString>;
3578
+ created_at: z.ZodBigInt;
3579
+ updated_at: z.ZodBigInt;
3580
+ version: z.ZodOptional<z.ZodBigInt>;
3581
+ }, "strict", z.ZodTypeAny, {
3582
+ owner: Uint8Array<ArrayBufferLike>;
3583
+ data: Uint8Array<ArrayBufferLike>;
3584
+ created_at: bigint;
3585
+ updated_at: bigint;
3586
+ description?: string | undefined;
3587
+ version?: bigint | undefined;
3588
+ }, {
3589
+ owner: Uint8Array<ArrayBufferLike>;
3590
+ data: Uint8Array<ArrayBufferLike>;
3591
+ created_at: bigint;
3592
+ updated_at: bigint;
3593
+ description?: string | undefined;
3594
+ version?: bigint | undefined;
3595
+ }>>;
3596
+ proposed: z.ZodObject<{
3597
+ version: z.ZodOptional<z.ZodBigInt>;
3598
+ }, "strict", z.ZodTypeAny, {
3599
+ version?: bigint | undefined;
3600
+ }, {
3601
+ version?: bigint | undefined;
3602
+ }>;
3603
+ }, "strict", z.ZodTypeAny, {
3604
+ proposed: {
3605
+ version?: bigint | undefined;
3606
+ };
3607
+ current?: {
3608
+ owner: Uint8Array<ArrayBufferLike>;
3609
+ data: Uint8Array<ArrayBufferLike>;
3610
+ created_at: bigint;
3611
+ updated_at: bigint;
3612
+ description?: string | undefined;
3613
+ version?: bigint | undefined;
3614
+ } | undefined;
3615
+ }, {
3616
+ proposed: {
3617
+ version?: bigint | undefined;
3618
+ };
3619
+ current?: {
3620
+ owner: Uint8Array<ArrayBufferLike>;
3621
+ data: Uint8Array<ArrayBufferLike>;
3622
+ created_at: bigint;
3623
+ updated_at: bigint;
3624
+ description?: string | undefined;
3625
+ version?: bigint | undefined;
3626
+ } | undefined;
3627
+ }>;
3628
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
3629
+ collection: z.ZodString;
3630
+ key: z.ZodString;
3631
+ data: z.ZodObject<{
3632
+ current: z.ZodOptional<z.ZodObject<{
3633
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3634
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3635
+ description: z.ZodOptional<z.ZodString>;
3636
+ created_at: z.ZodBigInt;
3637
+ updated_at: z.ZodBigInt;
3638
+ version: z.ZodOptional<z.ZodBigInt>;
3639
+ }, "strict", z.ZodTypeAny, {
3640
+ owner: Uint8Array<ArrayBufferLike>;
3641
+ data: Uint8Array<ArrayBufferLike>;
3642
+ created_at: bigint;
3643
+ updated_at: bigint;
3644
+ description?: string | undefined;
3645
+ version?: bigint | undefined;
3646
+ }, {
3647
+ owner: Uint8Array<ArrayBufferLike>;
3648
+ data: Uint8Array<ArrayBufferLike>;
3649
+ created_at: bigint;
3650
+ updated_at: bigint;
3651
+ description?: string | undefined;
3652
+ version?: bigint | undefined;
3653
+ }>>;
3654
+ proposed: z.ZodObject<{
3655
+ version: z.ZodOptional<z.ZodBigInt>;
3656
+ }, "strict", z.ZodTypeAny, {
3657
+ version?: bigint | undefined;
3658
+ }, {
3659
+ version?: bigint | undefined;
3660
+ }>;
3661
+ }, "strict", z.ZodTypeAny, {
3662
+ proposed: {
3663
+ version?: bigint | undefined;
3664
+ };
3665
+ current?: {
3666
+ owner: Uint8Array<ArrayBufferLike>;
3667
+ data: Uint8Array<ArrayBufferLike>;
3668
+ created_at: bigint;
3669
+ updated_at: bigint;
3670
+ description?: string | undefined;
3671
+ version?: bigint | undefined;
3672
+ } | undefined;
3673
+ }, {
3674
+ proposed: {
3675
+ version?: bigint | undefined;
3676
+ };
3677
+ current?: {
3678
+ owner: Uint8Array<ArrayBufferLike>;
3679
+ data: Uint8Array<ArrayBufferLike>;
3680
+ created_at: bigint;
3681
+ updated_at: bigint;
3682
+ description?: string | undefined;
3683
+ version?: bigint | undefined;
3684
+ } | undefined;
3685
+ }>;
3686
+ }>, z.baseObjectInputType<{
3687
+ collection: z.ZodString;
3688
+ key: z.ZodString;
3689
+ data: z.ZodObject<{
3690
+ current: z.ZodOptional<z.ZodObject<{
3691
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3692
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3693
+ description: z.ZodOptional<z.ZodString>;
3694
+ created_at: z.ZodBigInt;
3695
+ updated_at: z.ZodBigInt;
3696
+ version: z.ZodOptional<z.ZodBigInt>;
3697
+ }, "strict", z.ZodTypeAny, {
3698
+ owner: Uint8Array<ArrayBufferLike>;
3699
+ data: Uint8Array<ArrayBufferLike>;
3700
+ created_at: bigint;
3701
+ updated_at: bigint;
3702
+ description?: string | undefined;
3703
+ version?: bigint | undefined;
3704
+ }, {
3705
+ owner: Uint8Array<ArrayBufferLike>;
3706
+ data: Uint8Array<ArrayBufferLike>;
3707
+ created_at: bigint;
3708
+ updated_at: bigint;
3709
+ description?: string | undefined;
3710
+ version?: bigint | undefined;
3711
+ }>>;
3712
+ proposed: z.ZodObject<{
3713
+ version: z.ZodOptional<z.ZodBigInt>;
3714
+ }, "strict", z.ZodTypeAny, {
3715
+ version?: bigint | undefined;
3716
+ }, {
3717
+ version?: bigint | undefined;
3718
+ }>;
3719
+ }, "strict", z.ZodTypeAny, {
3720
+ proposed: {
3721
+ version?: bigint | undefined;
3722
+ };
3723
+ current?: {
3724
+ owner: Uint8Array<ArrayBufferLike>;
3725
+ data: Uint8Array<ArrayBufferLike>;
3726
+ created_at: bigint;
3727
+ updated_at: bigint;
3728
+ description?: string | undefined;
3729
+ version?: bigint | undefined;
3730
+ } | undefined;
3731
+ }, {
3732
+ proposed: {
3733
+ version?: bigint | undefined;
3734
+ };
3735
+ current?: {
3736
+ owner: Uint8Array<ArrayBufferLike>;
3737
+ data: Uint8Array<ArrayBufferLike>;
3738
+ created_at: bigint;
3739
+ updated_at: bigint;
3740
+ description?: string | undefined;
3741
+ version?: bigint | undefined;
3742
+ } | undefined;
3743
+ }>;
3744
+ }>>;
3745
+ }>, ...args: unknown[]) => void;
3746
+ }, {
3747
+ collections: readonly string[];
3748
+ assert: (args_0: z.baseObjectOutputType<{
3749
+ caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3750
+ data: z.ZodObject<{
3751
+ collection: z.ZodString;
3752
+ key: z.ZodString;
3753
+ data: z.ZodObject<{
3754
+ current: z.ZodOptional<z.ZodObject<{
3755
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3756
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3757
+ description: z.ZodOptional<z.ZodString>;
3758
+ created_at: z.ZodBigInt;
3759
+ updated_at: z.ZodBigInt;
3760
+ version: z.ZodOptional<z.ZodBigInt>;
3761
+ }, "strict", z.ZodTypeAny, {
3762
+ owner: Uint8Array<ArrayBufferLike>;
3763
+ data: Uint8Array<ArrayBufferLike>;
3764
+ created_at: bigint;
3765
+ updated_at: bigint;
3766
+ description?: string | undefined;
3767
+ version?: bigint | undefined;
3768
+ }, {
3769
+ owner: Uint8Array<ArrayBufferLike>;
3770
+ data: Uint8Array<ArrayBufferLike>;
3771
+ created_at: bigint;
3772
+ updated_at: bigint;
3773
+ description?: string | undefined;
3774
+ version?: bigint | undefined;
3775
+ }>>;
3776
+ proposed: z.ZodObject<{
3777
+ version: z.ZodOptional<z.ZodBigInt>;
3778
+ }, "strict", z.ZodTypeAny, {
3779
+ version?: bigint | undefined;
3780
+ }, {
3781
+ version?: bigint | undefined;
3782
+ }>;
3783
+ }, "strict", z.ZodTypeAny, {
3784
+ proposed: {
3785
+ version?: bigint | undefined;
3786
+ };
3787
+ current?: {
3788
+ owner: Uint8Array<ArrayBufferLike>;
3789
+ data: Uint8Array<ArrayBufferLike>;
3790
+ created_at: bigint;
3791
+ updated_at: bigint;
3792
+ description?: string | undefined;
3793
+ version?: bigint | undefined;
3794
+ } | undefined;
3795
+ }, {
3796
+ proposed: {
3797
+ version?: bigint | undefined;
3798
+ };
3799
+ current?: {
3800
+ owner: Uint8Array<ArrayBufferLike>;
3801
+ data: Uint8Array<ArrayBufferLike>;
3802
+ created_at: bigint;
3803
+ updated_at: bigint;
3804
+ description?: string | undefined;
3805
+ version?: bigint | undefined;
3806
+ } | undefined;
3807
+ }>;
3808
+ }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
3809
+ collection: z.ZodString;
3810
+ key: z.ZodString;
3811
+ data: z.ZodObject<{
3812
+ current: z.ZodOptional<z.ZodObject<{
3813
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3814
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3815
+ description: z.ZodOptional<z.ZodString>;
3816
+ created_at: z.ZodBigInt;
3817
+ updated_at: z.ZodBigInt;
3818
+ version: z.ZodOptional<z.ZodBigInt>;
3819
+ }, "strict", z.ZodTypeAny, {
3820
+ owner: Uint8Array<ArrayBufferLike>;
3821
+ data: Uint8Array<ArrayBufferLike>;
3822
+ created_at: bigint;
3823
+ updated_at: bigint;
3824
+ description?: string | undefined;
3825
+ version?: bigint | undefined;
3826
+ }, {
3827
+ owner: Uint8Array<ArrayBufferLike>;
3828
+ data: Uint8Array<ArrayBufferLike>;
3829
+ created_at: bigint;
3830
+ updated_at: bigint;
3831
+ description?: string | undefined;
3832
+ version?: bigint | undefined;
3833
+ }>>;
3834
+ proposed: z.ZodObject<{
3835
+ version: z.ZodOptional<z.ZodBigInt>;
3836
+ }, "strict", z.ZodTypeAny, {
3837
+ version?: bigint | undefined;
3838
+ }, {
3839
+ version?: bigint | undefined;
3840
+ }>;
3841
+ }, "strict", z.ZodTypeAny, {
3842
+ proposed: {
3843
+ version?: bigint | undefined;
3844
+ };
3845
+ current?: {
3846
+ owner: Uint8Array<ArrayBufferLike>;
3847
+ data: Uint8Array<ArrayBufferLike>;
3848
+ created_at: bigint;
3849
+ updated_at: bigint;
3850
+ description?: string | undefined;
3851
+ version?: bigint | undefined;
3852
+ } | undefined;
3853
+ }, {
3854
+ proposed: {
3855
+ version?: bigint | undefined;
3856
+ };
3857
+ current?: {
3858
+ owner: Uint8Array<ArrayBufferLike>;
3859
+ data: Uint8Array<ArrayBufferLike>;
3860
+ created_at: bigint;
3861
+ updated_at: bigint;
3862
+ description?: string | undefined;
3863
+ version?: bigint | undefined;
3864
+ } | undefined;
3865
+ }>;
3866
+ }>, z.baseObjectInputType<{
3867
+ collection: z.ZodString;
3868
+ key: z.ZodString;
3869
+ data: z.ZodObject<{
3870
+ current: z.ZodOptional<z.ZodObject<{
3871
+ owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3872
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
3873
+ description: z.ZodOptional<z.ZodString>;
3874
+ created_at: z.ZodBigInt;
3875
+ updated_at: z.ZodBigInt;
3876
+ version: z.ZodOptional<z.ZodBigInt>;
3877
+ }, "strict", z.ZodTypeAny, {
3878
+ owner: Uint8Array<ArrayBufferLike>;
3879
+ data: Uint8Array<ArrayBufferLike>;
3880
+ created_at: bigint;
3881
+ updated_at: bigint;
3882
+ description?: string | undefined;
3883
+ version?: bigint | undefined;
3884
+ }, {
3885
+ owner: Uint8Array<ArrayBufferLike>;
3886
+ data: Uint8Array<ArrayBufferLike>;
3887
+ created_at: bigint;
3888
+ updated_at: bigint;
3889
+ description?: string | undefined;
3890
+ version?: bigint | undefined;
3891
+ }>>;
3892
+ proposed: z.ZodObject<{
3893
+ version: z.ZodOptional<z.ZodBigInt>;
3894
+ }, "strict", z.ZodTypeAny, {
3895
+ version?: bigint | undefined;
3896
+ }, {
3897
+ version?: bigint | undefined;
3898
+ }>;
3899
+ }, "strict", z.ZodTypeAny, {
3900
+ proposed: {
3901
+ version?: bigint | undefined;
3902
+ };
3903
+ current?: {
3904
+ owner: Uint8Array<ArrayBufferLike>;
3905
+ data: Uint8Array<ArrayBufferLike>;
3906
+ created_at: bigint;
3907
+ updated_at: bigint;
3908
+ description?: string | undefined;
3909
+ version?: bigint | undefined;
3910
+ } | undefined;
3911
+ }, {
3912
+ proposed: {
3913
+ version?: bigint | undefined;
3914
+ };
3915
+ current?: {
3916
+ owner: Uint8Array<ArrayBufferLike>;
3917
+ data: Uint8Array<ArrayBufferLike>;
3918
+ created_at: bigint;
3919
+ updated_at: bigint;
3920
+ description?: string | undefined;
3921
+ version?: bigint | undefined;
3922
+ } | undefined;
3923
+ }>;
3924
+ }>>;
3925
+ }>, ...args: unknown[]) => void;
3926
+ }>]>;
429
3927
  /**
430
3928
  * All assertions definitions.
431
3929
  */