@junobuild/functions 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2127 +0,0 @@
1
- import * as z from 'zod';
2
- import { SatelliteEnvSchema } from '../schemas/satellite.env';
3
- /**
4
- * @see AssertSetDoc
5
- */
6
- export declare const AssertSetDocSchema: z.ZodObject<z.objectUtil.extendShape<{
7
- collections: z.ZodReadonly<z.ZodArray<z.ZodString, "many">>;
8
- }, {
9
- /**
10
- * A function that runs when the assertion is triggered for the specified collections.
11
- *
12
- * @param {T} context - Contains information about the affected document(s).
13
- * @returns {void} Resolves when the assertion completes.
14
- */
15
- assert: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
16
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
17
- data: z.ZodObject<{
18
- collection: z.ZodString;
19
- key: z.ZodString;
20
- data: z.ZodObject<{
21
- current: z.ZodOptional<z.ZodObject<{
22
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
23
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
24
- description: z.ZodOptional<z.ZodString>;
25
- created_at: z.ZodBigInt;
26
- updated_at: z.ZodBigInt;
27
- version: z.ZodOptional<z.ZodBigInt>;
28
- }, "strict", z.ZodTypeAny, {
29
- owner: Uint8Array<ArrayBufferLike>;
30
- data: Uint8Array<ArrayBufferLike>;
31
- created_at: bigint;
32
- updated_at: bigint;
33
- description?: string | undefined;
34
- version?: bigint | undefined;
35
- }, {
36
- owner: Uint8Array<ArrayBufferLike>;
37
- data: Uint8Array<ArrayBufferLike>;
38
- created_at: bigint;
39
- updated_at: bigint;
40
- description?: string | undefined;
41
- version?: bigint | undefined;
42
- }>>;
43
- proposed: z.ZodObject<{
44
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
45
- description: z.ZodOptional<z.ZodString>;
46
- version: z.ZodOptional<z.ZodBigInt>;
47
- }, "strict", z.ZodTypeAny, {
48
- data: Uint8Array<ArrayBufferLike>;
49
- description?: string | undefined;
50
- version?: bigint | undefined;
51
- }, {
52
- data: Uint8Array<ArrayBufferLike>;
53
- description?: string | undefined;
54
- version?: bigint | undefined;
55
- }>;
56
- }, "strict", z.ZodTypeAny, {
57
- proposed: {
58
- data: Uint8Array<ArrayBufferLike>;
59
- description?: string | undefined;
60
- version?: bigint | undefined;
61
- };
62
- current?: {
63
- owner: Uint8Array<ArrayBufferLike>;
64
- data: Uint8Array<ArrayBufferLike>;
65
- created_at: bigint;
66
- updated_at: bigint;
67
- description?: string | undefined;
68
- version?: bigint | undefined;
69
- } | undefined;
70
- }, {
71
- proposed: {
72
- data: Uint8Array<ArrayBufferLike>;
73
- description?: string | undefined;
74
- version?: bigint | undefined;
75
- };
76
- current?: {
77
- owner: Uint8Array<ArrayBufferLike>;
78
- data: Uint8Array<ArrayBufferLike>;
79
- created_at: bigint;
80
- updated_at: bigint;
81
- description?: string | undefined;
82
- version?: bigint | undefined;
83
- } | undefined;
84
- }>;
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>;
98
- data: Uint8Array<ArrayBufferLike>;
99
- created_at: bigint;
100
- updated_at: bigint;
101
- description?: string | undefined;
102
- version?: bigint | undefined;
103
- }, {
104
- owner: Uint8Array<ArrayBufferLike>;
105
- data: Uint8Array<ArrayBufferLike>;
106
- created_at: bigint;
107
- updated_at: bigint;
108
- description?: string | undefined;
109
- version?: bigint | undefined;
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, {
125
- proposed: {
126
- data: Uint8Array<ArrayBufferLike>;
127
- description?: string | undefined;
128
- version?: bigint | undefined;
129
- };
130
- current?: {
131
- owner: Uint8Array<ArrayBufferLike>;
132
- data: Uint8Array<ArrayBufferLike>;
133
- created_at: bigint;
134
- updated_at: bigint;
135
- description?: string | undefined;
136
- version?: bigint | undefined;
137
- } | undefined;
138
- }, {
139
- proposed: {
140
- data: Uint8Array<ArrayBufferLike>;
141
- description?: string | undefined;
142
- version?: bigint | undefined;
143
- };
144
- current?: {
145
- owner: Uint8Array<ArrayBufferLike>;
146
- data: Uint8Array<ArrayBufferLike>;
147
- created_at: bigint;
148
- updated_at: bigint;
149
- description?: string | undefined;
150
- version?: bigint | undefined;
151
- } | undefined;
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>;
166
- data: Uint8Array<ArrayBufferLike>;
167
- created_at: bigint;
168
- updated_at: bigint;
169
- description?: string | undefined;
170
- version?: bigint | undefined;
171
- }, {
172
- owner: Uint8Array<ArrayBufferLike>;
173
- data: Uint8Array<ArrayBufferLike>;
174
- created_at: bigint;
175
- updated_at: bigint;
176
- description?: string | undefined;
177
- version?: bigint | undefined;
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, {
193
- proposed: {
194
- data: Uint8Array<ArrayBufferLike>;
195
- description?: string | undefined;
196
- version?: bigint | undefined;
197
- };
198
- current?: {
199
- owner: Uint8Array<ArrayBufferLike>;
200
- data: Uint8Array<ArrayBufferLike>;
201
- created_at: bigint;
202
- updated_at: bigint;
203
- description?: string | undefined;
204
- version?: bigint | undefined;
205
- } | undefined;
206
- }, {
207
- proposed: {
208
- data: Uint8Array<ArrayBufferLike>;
209
- description?: string | undefined;
210
- version?: bigint | undefined;
211
- };
212
- current?: {
213
- owner: Uint8Array<ArrayBufferLike>;
214
- data: Uint8Array<ArrayBufferLike>;
215
- created_at: bigint;
216
- updated_at: bigint;
217
- description?: string | undefined;
218
- version?: bigint | undefined;
219
- } | undefined;
220
- }>;
221
- }>>;
222
- }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
223
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
224
- data: z.ZodObject<{
225
- collection: z.ZodString;
226
- key: z.ZodString;
227
- data: z.ZodObject<{
228
- current: z.ZodOptional<z.ZodObject<{
229
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
230
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
231
- description: z.ZodOptional<z.ZodString>;
232
- created_at: z.ZodBigInt;
233
- updated_at: z.ZodBigInt;
234
- version: z.ZodOptional<z.ZodBigInt>;
235
- }, "strict", z.ZodTypeAny, {
236
- owner: Uint8Array<ArrayBufferLike>;
237
- data: Uint8Array<ArrayBufferLike>;
238
- created_at: bigint;
239
- updated_at: bigint;
240
- description?: string | undefined;
241
- version?: bigint | undefined;
242
- }, {
243
- owner: Uint8Array<ArrayBufferLike>;
244
- data: Uint8Array<ArrayBufferLike>;
245
- created_at: bigint;
246
- updated_at: bigint;
247
- description?: string | undefined;
248
- version?: bigint | undefined;
249
- }>>;
250
- proposed: z.ZodObject<{
251
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
252
- description: z.ZodOptional<z.ZodString>;
253
- version: z.ZodOptional<z.ZodBigInt>;
254
- }, "strict", z.ZodTypeAny, {
255
- data: Uint8Array<ArrayBufferLike>;
256
- description?: string | undefined;
257
- version?: bigint | undefined;
258
- }, {
259
- data: Uint8Array<ArrayBufferLike>;
260
- description?: string | undefined;
261
- version?: bigint | undefined;
262
- }>;
263
- }, "strict", z.ZodTypeAny, {
264
- proposed: {
265
- data: Uint8Array<ArrayBufferLike>;
266
- description?: string | undefined;
267
- version?: bigint | undefined;
268
- };
269
- current?: {
270
- owner: Uint8Array<ArrayBufferLike>;
271
- data: Uint8Array<ArrayBufferLike>;
272
- created_at: bigint;
273
- updated_at: bigint;
274
- description?: string | undefined;
275
- version?: bigint | undefined;
276
- } | undefined;
277
- }, {
278
- proposed: {
279
- data: Uint8Array<ArrayBufferLike>;
280
- description?: string | undefined;
281
- version?: bigint | undefined;
282
- };
283
- current?: {
284
- owner: Uint8Array<ArrayBufferLike>;
285
- data: Uint8Array<ArrayBufferLike>;
286
- created_at: bigint;
287
- updated_at: bigint;
288
- description?: string | undefined;
289
- version?: bigint | undefined;
290
- } | undefined;
291
- }>;
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, {
332
- proposed: {
333
- data: Uint8Array<ArrayBufferLike>;
334
- description?: string | undefined;
335
- version?: bigint | undefined;
336
- };
337
- current?: {
338
- owner: Uint8Array<ArrayBufferLike>;
339
- data: Uint8Array<ArrayBufferLike>;
340
- created_at: bigint;
341
- updated_at: bigint;
342
- description?: string | undefined;
343
- version?: bigint | undefined;
344
- } | undefined;
345
- }, {
346
- proposed: {
347
- data: Uint8Array<ArrayBufferLike>;
348
- description?: string | undefined;
349
- version?: bigint | undefined;
350
- };
351
- current?: {
352
- owner: Uint8Array<ArrayBufferLike>;
353
- data: Uint8Array<ArrayBufferLike>;
354
- created_at: bigint;
355
- updated_at: bigint;
356
- description?: string | undefined;
357
- version?: bigint | undefined;
358
- } | undefined;
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, {
400
- proposed: {
401
- data: Uint8Array<ArrayBufferLike>;
402
- description?: string | undefined;
403
- version?: bigint | undefined;
404
- };
405
- current?: {
406
- owner: Uint8Array<ArrayBufferLike>;
407
- data: Uint8Array<ArrayBufferLike>;
408
- created_at: bigint;
409
- updated_at: bigint;
410
- description?: string | undefined;
411
- version?: bigint | undefined;
412
- } | undefined;
413
- }, {
414
- proposed: {
415
- data: Uint8Array<ArrayBufferLike>;
416
- description?: string | undefined;
417
- version?: bigint | undefined;
418
- };
419
- current?: {
420
- owner: Uint8Array<ArrayBufferLike>;
421
- data: Uint8Array<ArrayBufferLike>;
422
- created_at: bigint;
423
- updated_at: bigint;
424
- description?: string | undefined;
425
- version?: bigint | undefined;
426
- } | undefined;
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, {
471
- proposed: {
472
- data: Uint8Array<ArrayBufferLike>;
473
- description?: string | undefined;
474
- version?: bigint | undefined;
475
- };
476
- current?: {
477
- owner: Uint8Array<ArrayBufferLike>;
478
- data: Uint8Array<ArrayBufferLike>;
479
- created_at: bigint;
480
- updated_at: bigint;
481
- description?: string | undefined;
482
- version?: bigint | undefined;
483
- } | undefined;
484
- }, {
485
- proposed: {
486
- data: Uint8Array<ArrayBufferLike>;
487
- description?: string | undefined;
488
- version?: bigint | undefined;
489
- };
490
- current?: {
491
- owner: Uint8Array<ArrayBufferLike>;
492
- data: Uint8Array<ArrayBufferLike>;
493
- created_at: bigint;
494
- updated_at: bigint;
495
- description?: string | undefined;
496
- version?: bigint | undefined;
497
- } | undefined;
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 Assert
1064
- */
1065
- export declare const AssertSchema: 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
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1104
- description: z.ZodOptional<z.ZodString>;
1105
- version: z.ZodOptional<z.ZodBigInt>;
1106
- }, "strict", z.ZodTypeAny, {
1107
- data: Uint8Array<ArrayBufferLike>;
1108
- description?: string | undefined;
1109
- version?: bigint | undefined;
1110
- }, {
1111
- data: Uint8Array<ArrayBufferLike>;
1112
- description?: string | undefined;
1113
- version?: bigint | undefined;
1114
- }>;
1115
- }, "strict", z.ZodTypeAny, {
1116
- proposed: {
1117
- data: Uint8Array<ArrayBufferLike>;
1118
- description?: string | undefined;
1119
- version?: bigint | undefined;
1120
- };
1121
- current?: {
1122
- owner: Uint8Array<ArrayBufferLike>;
1123
- data: Uint8Array<ArrayBufferLike>;
1124
- created_at: bigint;
1125
- updated_at: bigint;
1126
- description?: string | undefined;
1127
- version?: bigint | undefined;
1128
- } | undefined;
1129
- }, {
1130
- proposed: {
1131
- data: Uint8Array<ArrayBufferLike>;
1132
- description?: string | undefined;
1133
- version?: bigint | undefined;
1134
- };
1135
- current?: {
1136
- owner: Uint8Array<ArrayBufferLike>;
1137
- data: Uint8Array<ArrayBufferLike>;
1138
- created_at: bigint;
1139
- updated_at: bigint;
1140
- description?: string | undefined;
1141
- version?: bigint | undefined;
1142
- } | undefined;
1143
- }>;
1144
- }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1145
- collection: z.ZodString;
1146
- key: z.ZodString;
1147
- data: z.ZodObject<{
1148
- current: z.ZodOptional<z.ZodObject<{
1149
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1150
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1151
- description: z.ZodOptional<z.ZodString>;
1152
- created_at: z.ZodBigInt;
1153
- updated_at: z.ZodBigInt;
1154
- version: z.ZodOptional<z.ZodBigInt>;
1155
- }, "strict", z.ZodTypeAny, {
1156
- owner: Uint8Array<ArrayBufferLike>;
1157
- data: Uint8Array<ArrayBufferLike>;
1158
- created_at: bigint;
1159
- updated_at: bigint;
1160
- description?: string | undefined;
1161
- version?: bigint | undefined;
1162
- }, {
1163
- owner: Uint8Array<ArrayBufferLike>;
1164
- data: Uint8Array<ArrayBufferLike>;
1165
- created_at: bigint;
1166
- updated_at: bigint;
1167
- description?: string | undefined;
1168
- version?: bigint | undefined;
1169
- }>>;
1170
- proposed: z.ZodObject<{
1171
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1172
- description: z.ZodOptional<z.ZodString>;
1173
- version: z.ZodOptional<z.ZodBigInt>;
1174
- }, "strict", z.ZodTypeAny, {
1175
- data: Uint8Array<ArrayBufferLike>;
1176
- description?: string | undefined;
1177
- version?: bigint | undefined;
1178
- }, {
1179
- data: Uint8Array<ArrayBufferLike>;
1180
- description?: string | undefined;
1181
- version?: bigint | undefined;
1182
- }>;
1183
- }, "strict", z.ZodTypeAny, {
1184
- proposed: {
1185
- data: Uint8Array<ArrayBufferLike>;
1186
- description?: string | undefined;
1187
- version?: bigint | undefined;
1188
- };
1189
- current?: {
1190
- owner: Uint8Array<ArrayBufferLike>;
1191
- data: Uint8Array<ArrayBufferLike>;
1192
- created_at: bigint;
1193
- updated_at: bigint;
1194
- description?: string | undefined;
1195
- version?: bigint | undefined;
1196
- } | undefined;
1197
- }, {
1198
- proposed: {
1199
- data: Uint8Array<ArrayBufferLike>;
1200
- description?: string | undefined;
1201
- version?: bigint | undefined;
1202
- };
1203
- current?: {
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
- } | undefined;
1211
- }>;
1212
- }>, z.baseObjectInputType<{
1213
- collection: z.ZodString;
1214
- key: z.ZodString;
1215
- data: z.ZodObject<{
1216
- current: z.ZodOptional<z.ZodObject<{
1217
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1218
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1219
- description: z.ZodOptional<z.ZodString>;
1220
- created_at: z.ZodBigInt;
1221
- updated_at: z.ZodBigInt;
1222
- version: z.ZodOptional<z.ZodBigInt>;
1223
- }, "strict", z.ZodTypeAny, {
1224
- owner: Uint8Array<ArrayBufferLike>;
1225
- data: Uint8Array<ArrayBufferLike>;
1226
- created_at: bigint;
1227
- updated_at: bigint;
1228
- description?: string | undefined;
1229
- version?: bigint | undefined;
1230
- }, {
1231
- owner: Uint8Array<ArrayBufferLike>;
1232
- data: Uint8Array<ArrayBufferLike>;
1233
- created_at: bigint;
1234
- updated_at: bigint;
1235
- description?: string | undefined;
1236
- version?: bigint | undefined;
1237
- }>>;
1238
- proposed: z.ZodObject<{
1239
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1240
- description: z.ZodOptional<z.ZodString>;
1241
- version: z.ZodOptional<z.ZodBigInt>;
1242
- }, "strict", z.ZodTypeAny, {
1243
- data: Uint8Array<ArrayBufferLike>;
1244
- description?: string | undefined;
1245
- version?: bigint | undefined;
1246
- }, {
1247
- data: Uint8Array<ArrayBufferLike>;
1248
- description?: string | undefined;
1249
- version?: bigint | undefined;
1250
- }>;
1251
- }, "strict", z.ZodTypeAny, {
1252
- proposed: {
1253
- data: Uint8Array<ArrayBufferLike>;
1254
- description?: string | undefined;
1255
- version?: bigint | undefined;
1256
- };
1257
- current?: {
1258
- owner: Uint8Array<ArrayBufferLike>;
1259
- data: Uint8Array<ArrayBufferLike>;
1260
- created_at: bigint;
1261
- updated_at: bigint;
1262
- description?: string | undefined;
1263
- version?: bigint | undefined;
1264
- } | undefined;
1265
- }, {
1266
- proposed: {
1267
- data: Uint8Array<ArrayBufferLike>;
1268
- description?: string | undefined;
1269
- version?: bigint | undefined;
1270
- };
1271
- current?: {
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
- } | undefined;
1279
- }>;
1280
- }>>;
1281
- }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1282
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1283
- data: z.ZodObject<{
1284
- collection: z.ZodString;
1285
- key: z.ZodString;
1286
- data: z.ZodObject<{
1287
- current: z.ZodOptional<z.ZodObject<{
1288
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1289
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1290
- description: z.ZodOptional<z.ZodString>;
1291
- created_at: z.ZodBigInt;
1292
- updated_at: z.ZodBigInt;
1293
- version: z.ZodOptional<z.ZodBigInt>;
1294
- }, "strict", z.ZodTypeAny, {
1295
- owner: Uint8Array<ArrayBufferLike>;
1296
- data: Uint8Array<ArrayBufferLike>;
1297
- created_at: bigint;
1298
- updated_at: bigint;
1299
- description?: string | undefined;
1300
- version?: bigint | undefined;
1301
- }, {
1302
- owner: Uint8Array<ArrayBufferLike>;
1303
- data: Uint8Array<ArrayBufferLike>;
1304
- created_at: bigint;
1305
- updated_at: bigint;
1306
- description?: string | undefined;
1307
- version?: bigint | undefined;
1308
- }>>;
1309
- proposed: z.ZodObject<{
1310
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1311
- description: z.ZodOptional<z.ZodString>;
1312
- version: z.ZodOptional<z.ZodBigInt>;
1313
- }, "strict", z.ZodTypeAny, {
1314
- data: Uint8Array<ArrayBufferLike>;
1315
- description?: string | undefined;
1316
- version?: bigint | undefined;
1317
- }, {
1318
- data: Uint8Array<ArrayBufferLike>;
1319
- description?: string | undefined;
1320
- version?: bigint | undefined;
1321
- }>;
1322
- }, "strict", z.ZodTypeAny, {
1323
- proposed: {
1324
- data: Uint8Array<ArrayBufferLike>;
1325
- description?: string | undefined;
1326
- version?: bigint | undefined;
1327
- };
1328
- current?: {
1329
- owner: Uint8Array<ArrayBufferLike>;
1330
- data: Uint8Array<ArrayBufferLike>;
1331
- created_at: bigint;
1332
- updated_at: bigint;
1333
- description?: string | undefined;
1334
- version?: bigint | undefined;
1335
- } | undefined;
1336
- }, {
1337
- proposed: {
1338
- data: Uint8Array<ArrayBufferLike>;
1339
- description?: string | undefined;
1340
- version?: bigint | undefined;
1341
- };
1342
- current?: {
1343
- owner: Uint8Array<ArrayBufferLike>;
1344
- data: Uint8Array<ArrayBufferLike>;
1345
- created_at: bigint;
1346
- updated_at: bigint;
1347
- description?: string | undefined;
1348
- version?: bigint | undefined;
1349
- } | undefined;
1350
- }>;
1351
- }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1352
- collection: z.ZodString;
1353
- key: z.ZodString;
1354
- data: z.ZodObject<{
1355
- current: z.ZodOptional<z.ZodObject<{
1356
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1357
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1358
- description: z.ZodOptional<z.ZodString>;
1359
- created_at: z.ZodBigInt;
1360
- updated_at: z.ZodBigInt;
1361
- version: z.ZodOptional<z.ZodBigInt>;
1362
- }, "strict", z.ZodTypeAny, {
1363
- owner: Uint8Array<ArrayBufferLike>;
1364
- data: Uint8Array<ArrayBufferLike>;
1365
- created_at: bigint;
1366
- updated_at: bigint;
1367
- description?: string | undefined;
1368
- version?: bigint | undefined;
1369
- }, {
1370
- owner: Uint8Array<ArrayBufferLike>;
1371
- data: Uint8Array<ArrayBufferLike>;
1372
- created_at: bigint;
1373
- updated_at: bigint;
1374
- description?: string | undefined;
1375
- version?: bigint | undefined;
1376
- }>>;
1377
- proposed: z.ZodObject<{
1378
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1379
- description: z.ZodOptional<z.ZodString>;
1380
- version: z.ZodOptional<z.ZodBigInt>;
1381
- }, "strict", z.ZodTypeAny, {
1382
- data: Uint8Array<ArrayBufferLike>;
1383
- description?: string | undefined;
1384
- version?: bigint | undefined;
1385
- }, {
1386
- data: Uint8Array<ArrayBufferLike>;
1387
- description?: string | undefined;
1388
- version?: bigint | undefined;
1389
- }>;
1390
- }, "strict", z.ZodTypeAny, {
1391
- proposed: {
1392
- data: Uint8Array<ArrayBufferLike>;
1393
- description?: string | undefined;
1394
- version?: bigint | undefined;
1395
- };
1396
- current?: {
1397
- owner: Uint8Array<ArrayBufferLike>;
1398
- data: Uint8Array<ArrayBufferLike>;
1399
- created_at: bigint;
1400
- updated_at: bigint;
1401
- description?: string | undefined;
1402
- version?: bigint | undefined;
1403
- } | undefined;
1404
- }, {
1405
- proposed: {
1406
- data: Uint8Array<ArrayBufferLike>;
1407
- description?: string | undefined;
1408
- version?: bigint | undefined;
1409
- };
1410
- current?: {
1411
- owner: Uint8Array<ArrayBufferLike>;
1412
- data: Uint8Array<ArrayBufferLike>;
1413
- created_at: bigint;
1414
- updated_at: bigint;
1415
- description?: string | undefined;
1416
- version?: bigint | undefined;
1417
- } | undefined;
1418
- }>;
1419
- }>, z.baseObjectInputType<{
1420
- collection: z.ZodString;
1421
- key: z.ZodString;
1422
- data: z.ZodObject<{
1423
- current: z.ZodOptional<z.ZodObject<{
1424
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1425
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1426
- description: z.ZodOptional<z.ZodString>;
1427
- created_at: z.ZodBigInt;
1428
- updated_at: z.ZodBigInt;
1429
- version: z.ZodOptional<z.ZodBigInt>;
1430
- }, "strict", z.ZodTypeAny, {
1431
- owner: Uint8Array<ArrayBufferLike>;
1432
- data: Uint8Array<ArrayBufferLike>;
1433
- created_at: bigint;
1434
- updated_at: bigint;
1435
- description?: string | undefined;
1436
- version?: bigint | undefined;
1437
- }, {
1438
- owner: Uint8Array<ArrayBufferLike>;
1439
- data: Uint8Array<ArrayBufferLike>;
1440
- created_at: bigint;
1441
- updated_at: bigint;
1442
- description?: string | undefined;
1443
- version?: bigint | undefined;
1444
- }>>;
1445
- proposed: z.ZodObject<{
1446
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1447
- description: z.ZodOptional<z.ZodString>;
1448
- version: z.ZodOptional<z.ZodBigInt>;
1449
- }, "strict", z.ZodTypeAny, {
1450
- data: Uint8Array<ArrayBufferLike>;
1451
- description?: string | undefined;
1452
- version?: bigint | undefined;
1453
- }, {
1454
- data: Uint8Array<ArrayBufferLike>;
1455
- description?: string | undefined;
1456
- version?: bigint | undefined;
1457
- }>;
1458
- }, "strict", z.ZodTypeAny, {
1459
- proposed: {
1460
- data: Uint8Array<ArrayBufferLike>;
1461
- description?: string | undefined;
1462
- version?: bigint | undefined;
1463
- };
1464
- current?: {
1465
- owner: Uint8Array<ArrayBufferLike>;
1466
- data: Uint8Array<ArrayBufferLike>;
1467
- created_at: bigint;
1468
- updated_at: bigint;
1469
- description?: string | undefined;
1470
- version?: bigint | undefined;
1471
- } | undefined;
1472
- }, {
1473
- proposed: {
1474
- data: Uint8Array<ArrayBufferLike>;
1475
- description?: string | undefined;
1476
- version?: bigint | undefined;
1477
- };
1478
- current?: {
1479
- owner: Uint8Array<ArrayBufferLike>;
1480
- data: Uint8Array<ArrayBufferLike>;
1481
- created_at: bigint;
1482
- updated_at: bigint;
1483
- description?: string | undefined;
1484
- version?: bigint | undefined;
1485
- } | undefined;
1486
- }>;
1487
- }>>;
1488
- }>, z.baseObjectInputType<{
1489
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1490
- data: z.ZodObject<{
1491
- collection: z.ZodString;
1492
- key: z.ZodString;
1493
- data: z.ZodObject<{
1494
- current: z.ZodOptional<z.ZodObject<{
1495
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1496
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1497
- description: z.ZodOptional<z.ZodString>;
1498
- created_at: z.ZodBigInt;
1499
- updated_at: z.ZodBigInt;
1500
- version: z.ZodOptional<z.ZodBigInt>;
1501
- }, "strict", z.ZodTypeAny, {
1502
- owner: Uint8Array<ArrayBufferLike>;
1503
- data: Uint8Array<ArrayBufferLike>;
1504
- created_at: bigint;
1505
- updated_at: bigint;
1506
- description?: string | undefined;
1507
- version?: bigint | undefined;
1508
- }, {
1509
- owner: Uint8Array<ArrayBufferLike>;
1510
- data: Uint8Array<ArrayBufferLike>;
1511
- created_at: bigint;
1512
- updated_at: bigint;
1513
- description?: string | undefined;
1514
- version?: bigint | undefined;
1515
- }>>;
1516
- proposed: z.ZodObject<{
1517
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1518
- description: z.ZodOptional<z.ZodString>;
1519
- version: z.ZodOptional<z.ZodBigInt>;
1520
- }, "strict", z.ZodTypeAny, {
1521
- data: Uint8Array<ArrayBufferLike>;
1522
- description?: string | undefined;
1523
- version?: bigint | undefined;
1524
- }, {
1525
- data: Uint8Array<ArrayBufferLike>;
1526
- description?: string | undefined;
1527
- version?: bigint | undefined;
1528
- }>;
1529
- }, "strict", z.ZodTypeAny, {
1530
- proposed: {
1531
- data: Uint8Array<ArrayBufferLike>;
1532
- description?: string | undefined;
1533
- version?: bigint | undefined;
1534
- };
1535
- current?: {
1536
- owner: Uint8Array<ArrayBufferLike>;
1537
- data: Uint8Array<ArrayBufferLike>;
1538
- created_at: bigint;
1539
- updated_at: bigint;
1540
- description?: string | undefined;
1541
- version?: bigint | undefined;
1542
- } | undefined;
1543
- }, {
1544
- proposed: {
1545
- data: Uint8Array<ArrayBufferLike>;
1546
- description?: string | undefined;
1547
- version?: bigint | undefined;
1548
- };
1549
- current?: {
1550
- owner: Uint8Array<ArrayBufferLike>;
1551
- data: Uint8Array<ArrayBufferLike>;
1552
- created_at: bigint;
1553
- updated_at: bigint;
1554
- description?: string | undefined;
1555
- version?: bigint | undefined;
1556
- } | undefined;
1557
- }>;
1558
- }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1559
- collection: z.ZodString;
1560
- key: z.ZodString;
1561
- data: z.ZodObject<{
1562
- current: z.ZodOptional<z.ZodObject<{
1563
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1564
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1565
- description: z.ZodOptional<z.ZodString>;
1566
- created_at: z.ZodBigInt;
1567
- updated_at: z.ZodBigInt;
1568
- version: z.ZodOptional<z.ZodBigInt>;
1569
- }, "strict", z.ZodTypeAny, {
1570
- owner: Uint8Array<ArrayBufferLike>;
1571
- data: Uint8Array<ArrayBufferLike>;
1572
- created_at: bigint;
1573
- updated_at: bigint;
1574
- description?: string | undefined;
1575
- version?: bigint | undefined;
1576
- }, {
1577
- owner: Uint8Array<ArrayBufferLike>;
1578
- data: Uint8Array<ArrayBufferLike>;
1579
- created_at: bigint;
1580
- updated_at: bigint;
1581
- description?: string | undefined;
1582
- version?: bigint | undefined;
1583
- }>>;
1584
- proposed: z.ZodObject<{
1585
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1586
- description: z.ZodOptional<z.ZodString>;
1587
- version: z.ZodOptional<z.ZodBigInt>;
1588
- }, "strict", z.ZodTypeAny, {
1589
- data: Uint8Array<ArrayBufferLike>;
1590
- description?: string | undefined;
1591
- version?: bigint | undefined;
1592
- }, {
1593
- data: Uint8Array<ArrayBufferLike>;
1594
- description?: string | undefined;
1595
- version?: bigint | undefined;
1596
- }>;
1597
- }, "strict", z.ZodTypeAny, {
1598
- proposed: {
1599
- data: Uint8Array<ArrayBufferLike>;
1600
- description?: string | undefined;
1601
- version?: bigint | undefined;
1602
- };
1603
- current?: {
1604
- owner: Uint8Array<ArrayBufferLike>;
1605
- data: Uint8Array<ArrayBufferLike>;
1606
- created_at: bigint;
1607
- updated_at: bigint;
1608
- description?: string | undefined;
1609
- version?: bigint | undefined;
1610
- } | undefined;
1611
- }, {
1612
- proposed: {
1613
- data: Uint8Array<ArrayBufferLike>;
1614
- description?: string | undefined;
1615
- version?: bigint | undefined;
1616
- };
1617
- current?: {
1618
- owner: Uint8Array<ArrayBufferLike>;
1619
- data: Uint8Array<ArrayBufferLike>;
1620
- created_at: bigint;
1621
- updated_at: bigint;
1622
- description?: string | undefined;
1623
- version?: bigint | undefined;
1624
- } | undefined;
1625
- }>;
1626
- }>, z.baseObjectInputType<{
1627
- collection: z.ZodString;
1628
- key: z.ZodString;
1629
- data: z.ZodObject<{
1630
- current: z.ZodOptional<z.ZodObject<{
1631
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1632
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1633
- description: z.ZodOptional<z.ZodString>;
1634
- created_at: z.ZodBigInt;
1635
- updated_at: z.ZodBigInt;
1636
- version: z.ZodOptional<z.ZodBigInt>;
1637
- }, "strict", z.ZodTypeAny, {
1638
- owner: Uint8Array<ArrayBufferLike>;
1639
- data: Uint8Array<ArrayBufferLike>;
1640
- created_at: bigint;
1641
- updated_at: bigint;
1642
- description?: string | undefined;
1643
- version?: bigint | undefined;
1644
- }, {
1645
- owner: Uint8Array<ArrayBufferLike>;
1646
- data: Uint8Array<ArrayBufferLike>;
1647
- created_at: bigint;
1648
- updated_at: bigint;
1649
- description?: string | undefined;
1650
- version?: bigint | undefined;
1651
- }>>;
1652
- proposed: z.ZodObject<{
1653
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1654
- description: z.ZodOptional<z.ZodString>;
1655
- version: z.ZodOptional<z.ZodBigInt>;
1656
- }, "strict", z.ZodTypeAny, {
1657
- data: Uint8Array<ArrayBufferLike>;
1658
- description?: string | undefined;
1659
- version?: bigint | undefined;
1660
- }, {
1661
- data: Uint8Array<ArrayBufferLike>;
1662
- description?: string | undefined;
1663
- version?: bigint | undefined;
1664
- }>;
1665
- }, "strict", z.ZodTypeAny, {
1666
- proposed: {
1667
- data: Uint8Array<ArrayBufferLike>;
1668
- description?: string | undefined;
1669
- version?: bigint | undefined;
1670
- };
1671
- current?: {
1672
- owner: Uint8Array<ArrayBufferLike>;
1673
- data: Uint8Array<ArrayBufferLike>;
1674
- created_at: bigint;
1675
- updated_at: bigint;
1676
- description?: string | undefined;
1677
- version?: bigint | undefined;
1678
- } | undefined;
1679
- }, {
1680
- proposed: {
1681
- data: Uint8Array<ArrayBufferLike>;
1682
- description?: string | undefined;
1683
- version?: bigint | undefined;
1684
- };
1685
- current?: {
1686
- owner: Uint8Array<ArrayBufferLike>;
1687
- data: Uint8Array<ArrayBufferLike>;
1688
- created_at: bigint;
1689
- updated_at: bigint;
1690
- description?: string | undefined;
1691
- version?: bigint | undefined;
1692
- } | undefined;
1693
- }>;
1694
- }>>;
1695
- }>>], z.ZodUnknown>, z.ZodVoid>;
1696
- }>, "strict", z.ZodTypeAny, {
1697
- collections: readonly string[];
1698
- assert: (args_0: z.baseObjectInputType<{
1699
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1700
- data: z.ZodObject<{
1701
- collection: z.ZodString;
1702
- key: z.ZodString;
1703
- data: z.ZodObject<{
1704
- current: z.ZodOptional<z.ZodObject<{
1705
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1706
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1707
- description: z.ZodOptional<z.ZodString>;
1708
- created_at: z.ZodBigInt;
1709
- updated_at: z.ZodBigInt;
1710
- version: z.ZodOptional<z.ZodBigInt>;
1711
- }, "strict", z.ZodTypeAny, {
1712
- owner: Uint8Array<ArrayBufferLike>;
1713
- data: Uint8Array<ArrayBufferLike>;
1714
- created_at: bigint;
1715
- updated_at: bigint;
1716
- description?: string | undefined;
1717
- version?: bigint | undefined;
1718
- }, {
1719
- owner: Uint8Array<ArrayBufferLike>;
1720
- data: Uint8Array<ArrayBufferLike>;
1721
- created_at: bigint;
1722
- updated_at: bigint;
1723
- description?: string | undefined;
1724
- version?: bigint | undefined;
1725
- }>>;
1726
- proposed: z.ZodObject<{
1727
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1728
- description: z.ZodOptional<z.ZodString>;
1729
- version: z.ZodOptional<z.ZodBigInt>;
1730
- }, "strict", z.ZodTypeAny, {
1731
- data: Uint8Array<ArrayBufferLike>;
1732
- description?: string | undefined;
1733
- version?: bigint | undefined;
1734
- }, {
1735
- data: Uint8Array<ArrayBufferLike>;
1736
- description?: string | undefined;
1737
- version?: bigint | undefined;
1738
- }>;
1739
- }, "strict", z.ZodTypeAny, {
1740
- proposed: {
1741
- data: Uint8Array<ArrayBufferLike>;
1742
- description?: string | undefined;
1743
- version?: bigint | undefined;
1744
- };
1745
- current?: {
1746
- owner: Uint8Array<ArrayBufferLike>;
1747
- data: Uint8Array<ArrayBufferLike>;
1748
- created_at: bigint;
1749
- updated_at: bigint;
1750
- description?: string | undefined;
1751
- version?: bigint | undefined;
1752
- } | undefined;
1753
- }, {
1754
- proposed: {
1755
- data: Uint8Array<ArrayBufferLike>;
1756
- description?: string | undefined;
1757
- version?: bigint | undefined;
1758
- };
1759
- current?: {
1760
- owner: Uint8Array<ArrayBufferLike>;
1761
- data: Uint8Array<ArrayBufferLike>;
1762
- created_at: bigint;
1763
- updated_at: bigint;
1764
- description?: string | undefined;
1765
- version?: bigint | undefined;
1766
- } | undefined;
1767
- }>;
1768
- }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1769
- collection: z.ZodString;
1770
- key: z.ZodString;
1771
- data: z.ZodObject<{
1772
- current: z.ZodOptional<z.ZodObject<{
1773
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1774
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1775
- description: z.ZodOptional<z.ZodString>;
1776
- created_at: z.ZodBigInt;
1777
- updated_at: z.ZodBigInt;
1778
- version: z.ZodOptional<z.ZodBigInt>;
1779
- }, "strict", z.ZodTypeAny, {
1780
- owner: Uint8Array<ArrayBufferLike>;
1781
- data: Uint8Array<ArrayBufferLike>;
1782
- created_at: bigint;
1783
- updated_at: bigint;
1784
- description?: string | undefined;
1785
- version?: bigint | undefined;
1786
- }, {
1787
- owner: Uint8Array<ArrayBufferLike>;
1788
- data: Uint8Array<ArrayBufferLike>;
1789
- created_at: bigint;
1790
- updated_at: bigint;
1791
- description?: string | undefined;
1792
- version?: bigint | undefined;
1793
- }>>;
1794
- proposed: z.ZodObject<{
1795
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1796
- description: z.ZodOptional<z.ZodString>;
1797
- version: z.ZodOptional<z.ZodBigInt>;
1798
- }, "strict", z.ZodTypeAny, {
1799
- data: Uint8Array<ArrayBufferLike>;
1800
- description?: string | undefined;
1801
- version?: bigint | undefined;
1802
- }, {
1803
- data: Uint8Array<ArrayBufferLike>;
1804
- description?: string | undefined;
1805
- version?: bigint | undefined;
1806
- }>;
1807
- }, "strict", z.ZodTypeAny, {
1808
- proposed: {
1809
- data: Uint8Array<ArrayBufferLike>;
1810
- description?: string | undefined;
1811
- version?: bigint | undefined;
1812
- };
1813
- current?: {
1814
- owner: Uint8Array<ArrayBufferLike>;
1815
- data: Uint8Array<ArrayBufferLike>;
1816
- created_at: bigint;
1817
- updated_at: bigint;
1818
- description?: string | undefined;
1819
- version?: bigint | undefined;
1820
- } | undefined;
1821
- }, {
1822
- proposed: {
1823
- data: Uint8Array<ArrayBufferLike>;
1824
- description?: string | undefined;
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
- }>, z.baseObjectInputType<{
1837
- collection: z.ZodString;
1838
- key: z.ZodString;
1839
- data: z.ZodObject<{
1840
- current: z.ZodOptional<z.ZodObject<{
1841
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1842
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1843
- description: z.ZodOptional<z.ZodString>;
1844
- created_at: z.ZodBigInt;
1845
- updated_at: z.ZodBigInt;
1846
- version: z.ZodOptional<z.ZodBigInt>;
1847
- }, "strict", z.ZodTypeAny, {
1848
- owner: Uint8Array<ArrayBufferLike>;
1849
- data: Uint8Array<ArrayBufferLike>;
1850
- created_at: bigint;
1851
- updated_at: bigint;
1852
- description?: string | undefined;
1853
- version?: bigint | undefined;
1854
- }, {
1855
- owner: Uint8Array<ArrayBufferLike>;
1856
- data: Uint8Array<ArrayBufferLike>;
1857
- created_at: bigint;
1858
- updated_at: bigint;
1859
- description?: string | undefined;
1860
- version?: bigint | undefined;
1861
- }>>;
1862
- proposed: z.ZodObject<{
1863
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1864
- description: z.ZodOptional<z.ZodString>;
1865
- version: z.ZodOptional<z.ZodBigInt>;
1866
- }, "strict", z.ZodTypeAny, {
1867
- data: Uint8Array<ArrayBufferLike>;
1868
- description?: string | undefined;
1869
- version?: bigint | undefined;
1870
- }, {
1871
- data: Uint8Array<ArrayBufferLike>;
1872
- description?: string | undefined;
1873
- version?: bigint | undefined;
1874
- }>;
1875
- }, "strict", z.ZodTypeAny, {
1876
- proposed: {
1877
- data: Uint8Array<ArrayBufferLike>;
1878
- description?: string | undefined;
1879
- version?: bigint | undefined;
1880
- };
1881
- current?: {
1882
- owner: Uint8Array<ArrayBufferLike>;
1883
- data: Uint8Array<ArrayBufferLike>;
1884
- created_at: bigint;
1885
- updated_at: bigint;
1886
- description?: string | undefined;
1887
- version?: bigint | undefined;
1888
- } | undefined;
1889
- }, {
1890
- proposed: {
1891
- data: Uint8Array<ArrayBufferLike>;
1892
- description?: string | undefined;
1893
- version?: bigint | undefined;
1894
- };
1895
- current?: {
1896
- owner: Uint8Array<ArrayBufferLike>;
1897
- data: Uint8Array<ArrayBufferLike>;
1898
- created_at: bigint;
1899
- updated_at: bigint;
1900
- description?: string | undefined;
1901
- version?: bigint | undefined;
1902
- } | undefined;
1903
- }>;
1904
- }>>;
1905
- }>, ...args: unknown[]) => void;
1906
- }, {
1907
- collections: readonly string[];
1908
- assert: (args_0: z.baseObjectOutputType<{
1909
- caller: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1910
- data: z.ZodObject<{
1911
- collection: z.ZodString;
1912
- key: z.ZodString;
1913
- data: z.ZodObject<{
1914
- current: z.ZodOptional<z.ZodObject<{
1915
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1916
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1917
- description: z.ZodOptional<z.ZodString>;
1918
- created_at: z.ZodBigInt;
1919
- updated_at: z.ZodBigInt;
1920
- version: z.ZodOptional<z.ZodBigInt>;
1921
- }, "strict", z.ZodTypeAny, {
1922
- owner: Uint8Array<ArrayBufferLike>;
1923
- data: Uint8Array<ArrayBufferLike>;
1924
- created_at: bigint;
1925
- updated_at: bigint;
1926
- description?: string | undefined;
1927
- version?: bigint | undefined;
1928
- }, {
1929
- owner: Uint8Array<ArrayBufferLike>;
1930
- data: Uint8Array<ArrayBufferLike>;
1931
- created_at: bigint;
1932
- updated_at: bigint;
1933
- description?: string | undefined;
1934
- version?: bigint | undefined;
1935
- }>>;
1936
- proposed: z.ZodObject<{
1937
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1938
- description: z.ZodOptional<z.ZodString>;
1939
- version: z.ZodOptional<z.ZodBigInt>;
1940
- }, "strict", z.ZodTypeAny, {
1941
- data: Uint8Array<ArrayBufferLike>;
1942
- description?: string | undefined;
1943
- version?: bigint | undefined;
1944
- }, {
1945
- data: Uint8Array<ArrayBufferLike>;
1946
- description?: string | undefined;
1947
- version?: bigint | undefined;
1948
- }>;
1949
- }, "strict", z.ZodTypeAny, {
1950
- proposed: {
1951
- data: Uint8Array<ArrayBufferLike>;
1952
- description?: string | undefined;
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
- proposed: {
1965
- data: Uint8Array<ArrayBufferLike>;
1966
- description?: string | undefined;
1967
- version?: bigint | undefined;
1968
- };
1969
- current?: {
1970
- owner: Uint8Array<ArrayBufferLike>;
1971
- data: Uint8Array<ArrayBufferLike>;
1972
- created_at: bigint;
1973
- updated_at: bigint;
1974
- description?: string | undefined;
1975
- version?: bigint | undefined;
1976
- } | undefined;
1977
- }>;
1978
- }, "strict", z.ZodTypeAny, z.baseObjectOutputType<{
1979
- collection: z.ZodString;
1980
- key: z.ZodString;
1981
- data: z.ZodObject<{
1982
- current: z.ZodOptional<z.ZodObject<{
1983
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1984
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
1985
- description: z.ZodOptional<z.ZodString>;
1986
- created_at: z.ZodBigInt;
1987
- updated_at: z.ZodBigInt;
1988
- version: z.ZodOptional<z.ZodBigInt>;
1989
- }, "strict", z.ZodTypeAny, {
1990
- owner: Uint8Array<ArrayBufferLike>;
1991
- data: Uint8Array<ArrayBufferLike>;
1992
- created_at: bigint;
1993
- updated_at: bigint;
1994
- description?: string | undefined;
1995
- version?: bigint | undefined;
1996
- }, {
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
- proposed: z.ZodObject<{
2005
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2006
- description: z.ZodOptional<z.ZodString>;
2007
- version: z.ZodOptional<z.ZodBigInt>;
2008
- }, "strict", z.ZodTypeAny, {
2009
- data: Uint8Array<ArrayBufferLike>;
2010
- description?: string | undefined;
2011
- version?: bigint | undefined;
2012
- }, {
2013
- data: Uint8Array<ArrayBufferLike>;
2014
- description?: string | undefined;
2015
- version?: bigint | undefined;
2016
- }>;
2017
- }, "strict", z.ZodTypeAny, {
2018
- proposed: {
2019
- data: Uint8Array<ArrayBufferLike>;
2020
- description?: string | undefined;
2021
- version?: bigint | undefined;
2022
- };
2023
- current?: {
2024
- owner: Uint8Array<ArrayBufferLike>;
2025
- data: Uint8Array<ArrayBufferLike>;
2026
- created_at: bigint;
2027
- updated_at: bigint;
2028
- description?: string | undefined;
2029
- version?: bigint | undefined;
2030
- } | undefined;
2031
- }, {
2032
- proposed: {
2033
- data: Uint8Array<ArrayBufferLike>;
2034
- description?: string | undefined;
2035
- version?: bigint | undefined;
2036
- };
2037
- current?: {
2038
- owner: Uint8Array<ArrayBufferLike>;
2039
- data: Uint8Array<ArrayBufferLike>;
2040
- created_at: bigint;
2041
- updated_at: bigint;
2042
- description?: string | undefined;
2043
- version?: bigint | undefined;
2044
- } | undefined;
2045
- }>;
2046
- }>, z.baseObjectInputType<{
2047
- collection: z.ZodString;
2048
- key: z.ZodString;
2049
- data: z.ZodObject<{
2050
- current: z.ZodOptional<z.ZodObject<{
2051
- owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2052
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2053
- description: z.ZodOptional<z.ZodString>;
2054
- created_at: z.ZodBigInt;
2055
- updated_at: z.ZodBigInt;
2056
- version: z.ZodOptional<z.ZodBigInt>;
2057
- }, "strict", z.ZodTypeAny, {
2058
- owner: Uint8Array<ArrayBufferLike>;
2059
- data: Uint8Array<ArrayBufferLike>;
2060
- created_at: bigint;
2061
- updated_at: bigint;
2062
- description?: string | undefined;
2063
- version?: bigint | undefined;
2064
- }, {
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
- proposed: z.ZodObject<{
2073
- data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
2074
- description: z.ZodOptional<z.ZodString>;
2075
- version: z.ZodOptional<z.ZodBigInt>;
2076
- }, "strict", z.ZodTypeAny, {
2077
- data: Uint8Array<ArrayBufferLike>;
2078
- description?: string | undefined;
2079
- version?: bigint | undefined;
2080
- }, {
2081
- data: Uint8Array<ArrayBufferLike>;
2082
- description?: string | undefined;
2083
- version?: bigint | undefined;
2084
- }>;
2085
- }, "strict", z.ZodTypeAny, {
2086
- proposed: {
2087
- data: Uint8Array<ArrayBufferLike>;
2088
- description?: string | undefined;
2089
- version?: bigint | undefined;
2090
- };
2091
- current?: {
2092
- owner: Uint8Array<ArrayBufferLike>;
2093
- data: Uint8Array<ArrayBufferLike>;
2094
- created_at: bigint;
2095
- updated_at: bigint;
2096
- description?: string | undefined;
2097
- version?: bigint | undefined;
2098
- } | undefined;
2099
- }, {
2100
- proposed: {
2101
- data: Uint8Array<ArrayBufferLike>;
2102
- description?: string | undefined;
2103
- version?: bigint | undefined;
2104
- };
2105
- current?: {
2106
- owner: Uint8Array<ArrayBufferLike>;
2107
- data: Uint8Array<ArrayBufferLike>;
2108
- created_at: bigint;
2109
- updated_at: bigint;
2110
- description?: string | undefined;
2111
- version?: bigint | undefined;
2112
- } | undefined;
2113
- }>;
2114
- }>>;
2115
- }>, ...args: unknown[]) => void;
2116
- }>;
2117
- /**
2118
- * All assertions definitions.
2119
- */
2120
- export type Assert = z.infer<typeof AssertSchema>;
2121
- export declare const AssertFnSchema: <T extends z.ZodTypeAny>(assertSchema: T) => z.ZodFunction<z.ZodTuple<[z.ZodRecord<z.ZodString, z.ZodUnknown>], z.ZodUnknown>, T>;
2122
- export type AssertFn<T extends Assert> = (assert: z.infer<typeof SatelliteEnvSchema>) => T;
2123
- export declare const AssertFnOrObjectSchema: <T extends z.ZodTypeAny>(assertSchema: T) => z.ZodUnion<[T, z.ZodFunction<z.ZodTuple<[z.ZodRecord<z.ZodString, z.ZodUnknown>], z.ZodUnknown>, T>]>;
2124
- export type AssertFnOrObject<T extends Assert> = T | AssertFn<T>;
2125
- export declare function defineAssert<T extends Assert>(assert: T): T;
2126
- export declare function defineAssert<T extends Assert>(assert: AssertFn<T>): AssertFn<T>;
2127
- export declare function defineAssert<T extends Assert>(assert: AssertFnOrObject<T>): AssertFnOrObject<T>;