@junobuild/functions 0.0.4 → 0.0.5

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.
@@ -155,21 +155,21 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
155
155
  data: z.ZodObject<{
156
156
  before: z.ZodOptional<z.ZodObject<{
157
157
  owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
158
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
158
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
159
159
  description: z.ZodOptional<z.ZodString>;
160
160
  created_at: z.ZodBigInt;
161
161
  updated_at: z.ZodBigInt;
162
162
  version: z.ZodOptional<z.ZodBigInt>;
163
163
  }, "strict", z.ZodTypeAny, {
164
164
  owner: Uint8Array<ArrayBufferLike>;
165
- data: Uint8Array<ArrayBuffer>;
165
+ data: Uint8Array<ArrayBufferLike>;
166
166
  created_at: bigint;
167
167
  updated_at: bigint;
168
168
  description?: string | undefined;
169
169
  version?: bigint | undefined;
170
170
  }, {
171
171
  owner: Uint8Array<ArrayBufferLike>;
172
- data: Uint8Array<ArrayBuffer>;
172
+ data: Uint8Array<ArrayBufferLike>;
173
173
  created_at: bigint;
174
174
  updated_at: bigint;
175
175
  description?: string | undefined;
@@ -177,21 +177,21 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
177
177
  }>>;
178
178
  after: z.ZodObject<{
179
179
  owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
180
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
180
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
181
181
  description: z.ZodOptional<z.ZodString>;
182
182
  created_at: z.ZodBigInt;
183
183
  updated_at: z.ZodBigInt;
184
184
  version: z.ZodOptional<z.ZodBigInt>;
185
185
  }, "strict", z.ZodTypeAny, {
186
186
  owner: Uint8Array<ArrayBufferLike>;
187
- data: Uint8Array<ArrayBuffer>;
187
+ data: Uint8Array<ArrayBufferLike>;
188
188
  created_at: bigint;
189
189
  updated_at: bigint;
190
190
  description?: string | undefined;
191
191
  version?: bigint | undefined;
192
192
  }, {
193
193
  owner: Uint8Array<ArrayBufferLike>;
194
- data: Uint8Array<ArrayBuffer>;
194
+ data: Uint8Array<ArrayBufferLike>;
195
195
  created_at: bigint;
196
196
  updated_at: bigint;
197
197
  description?: string | undefined;
@@ -200,7 +200,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
200
200
  }, "strict", z.ZodTypeAny, {
201
201
  after: {
202
202
  owner: Uint8Array<ArrayBufferLike>;
203
- data: Uint8Array<ArrayBuffer>;
203
+ data: Uint8Array<ArrayBufferLike>;
204
204
  created_at: bigint;
205
205
  updated_at: bigint;
206
206
  description?: string | undefined;
@@ -208,7 +208,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
208
208
  };
209
209
  before?: {
210
210
  owner: Uint8Array<ArrayBufferLike>;
211
- data: Uint8Array<ArrayBuffer>;
211
+ data: Uint8Array<ArrayBufferLike>;
212
212
  created_at: bigint;
213
213
  updated_at: bigint;
214
214
  description?: string | undefined;
@@ -217,7 +217,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
217
217
  }, {
218
218
  after: {
219
219
  owner: Uint8Array<ArrayBufferLike>;
220
- data: Uint8Array<ArrayBuffer>;
220
+ data: Uint8Array<ArrayBufferLike>;
221
221
  created_at: bigint;
222
222
  updated_at: bigint;
223
223
  description?: string | undefined;
@@ -225,7 +225,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
225
225
  };
226
226
  before?: {
227
227
  owner: Uint8Array<ArrayBufferLike>;
228
- data: Uint8Array<ArrayBuffer>;
228
+ data: Uint8Array<ArrayBufferLike>;
229
229
  created_at: bigint;
230
230
  updated_at: bigint;
231
231
  description?: string | undefined;
@@ -236,7 +236,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
236
236
  data: {
237
237
  after: {
238
238
  owner: Uint8Array<ArrayBufferLike>;
239
- data: Uint8Array<ArrayBuffer>;
239
+ data: Uint8Array<ArrayBufferLike>;
240
240
  created_at: bigint;
241
241
  updated_at: bigint;
242
242
  description?: string | undefined;
@@ -244,7 +244,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
244
244
  };
245
245
  before?: {
246
246
  owner: Uint8Array<ArrayBufferLike>;
247
- data: Uint8Array<ArrayBuffer>;
247
+ data: Uint8Array<ArrayBufferLike>;
248
248
  created_at: bigint;
249
249
  updated_at: bigint;
250
250
  description?: string | undefined;
@@ -257,7 +257,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
257
257
  data: {
258
258
  after: {
259
259
  owner: Uint8Array<ArrayBufferLike>;
260
- data: Uint8Array<ArrayBuffer>;
260
+ data: Uint8Array<ArrayBufferLike>;
261
261
  created_at: bigint;
262
262
  updated_at: bigint;
263
263
  description?: string | undefined;
@@ -265,7 +265,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
265
265
  };
266
266
  before?: {
267
267
  owner: Uint8Array<ArrayBufferLike>;
268
- data: Uint8Array<ArrayBuffer>;
268
+ data: Uint8Array<ArrayBufferLike>;
269
269
  created_at: bigint;
270
270
  updated_at: bigint;
271
271
  description?: string | undefined;
@@ -280,7 +280,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
280
280
  data: {
281
281
  after: {
282
282
  owner: Uint8Array<ArrayBufferLike>;
283
- data: Uint8Array<ArrayBuffer>;
283
+ data: Uint8Array<ArrayBufferLike>;
284
284
  created_at: bigint;
285
285
  updated_at: bigint;
286
286
  description?: string | undefined;
@@ -288,7 +288,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
288
288
  };
289
289
  before?: {
290
290
  owner: Uint8Array<ArrayBufferLike>;
291
- data: Uint8Array<ArrayBuffer>;
291
+ data: Uint8Array<ArrayBufferLike>;
292
292
  created_at: bigint;
293
293
  updated_at: bigint;
294
294
  description?: string | undefined;
@@ -304,7 +304,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
304
304
  data: {
305
305
  after: {
306
306
  owner: Uint8Array<ArrayBufferLike>;
307
- data: Uint8Array<ArrayBuffer>;
307
+ data: Uint8Array<ArrayBufferLike>;
308
308
  created_at: bigint;
309
309
  updated_at: bigint;
310
310
  description?: string | undefined;
@@ -312,7 +312,7 @@ export declare const OnSetDocContextSchema: z.ZodObject<{
312
312
  };
313
313
  before?: {
314
314
  owner: Uint8Array<ArrayBufferLike>;
315
- data: Uint8Array<ArrayBuffer>;
315
+ data: Uint8Array<ArrayBufferLike>;
316
316
  created_at: bigint;
317
317
  updated_at: bigint;
318
318
  description?: string | undefined;
@@ -357,48 +357,48 @@ export declare const AssertSetDocContextSchema: z.ZodObject<{
357
357
  data: z.ZodObject<{
358
358
  current: z.ZodOptional<z.ZodObject<{
359
359
  owner: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
360
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
360
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
361
361
  description: z.ZodOptional<z.ZodString>;
362
362
  created_at: z.ZodBigInt;
363
363
  updated_at: z.ZodBigInt;
364
364
  version: z.ZodOptional<z.ZodBigInt>;
365
365
  }, "strict", z.ZodTypeAny, {
366
366
  owner: Uint8Array<ArrayBufferLike>;
367
- data: Uint8Array<ArrayBuffer>;
367
+ data: Uint8Array<ArrayBufferLike>;
368
368
  created_at: bigint;
369
369
  updated_at: bigint;
370
370
  description?: string | undefined;
371
371
  version?: bigint | undefined;
372
372
  }, {
373
373
  owner: Uint8Array<ArrayBufferLike>;
374
- data: Uint8Array<ArrayBuffer>;
374
+ data: Uint8Array<ArrayBufferLike>;
375
375
  created_at: bigint;
376
376
  updated_at: bigint;
377
377
  description?: string | undefined;
378
378
  version?: bigint | undefined;
379
379
  }>>;
380
380
  proposed: z.ZodObject<{
381
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
381
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
382
382
  description: z.ZodOptional<z.ZodString>;
383
383
  version: z.ZodOptional<z.ZodBigInt>;
384
384
  }, "strict", z.ZodTypeAny, {
385
- data: Uint8Array<ArrayBuffer>;
385
+ data: Uint8Array<ArrayBufferLike>;
386
386
  description?: string | undefined;
387
387
  version?: bigint | undefined;
388
388
  }, {
389
- data: Uint8Array<ArrayBuffer>;
389
+ data: Uint8Array<ArrayBufferLike>;
390
390
  description?: string | undefined;
391
391
  version?: bigint | undefined;
392
392
  }>;
393
393
  }, "strict", z.ZodTypeAny, {
394
394
  proposed: {
395
- data: Uint8Array<ArrayBuffer>;
395
+ data: Uint8Array<ArrayBufferLike>;
396
396
  description?: string | undefined;
397
397
  version?: bigint | undefined;
398
398
  };
399
399
  current?: {
400
400
  owner: Uint8Array<ArrayBufferLike>;
401
- data: Uint8Array<ArrayBuffer>;
401
+ data: Uint8Array<ArrayBufferLike>;
402
402
  created_at: bigint;
403
403
  updated_at: bigint;
404
404
  description?: string | undefined;
@@ -406,13 +406,13 @@ export declare const AssertSetDocContextSchema: z.ZodObject<{
406
406
  } | undefined;
407
407
  }, {
408
408
  proposed: {
409
- data: Uint8Array<ArrayBuffer>;
409
+ data: Uint8Array<ArrayBufferLike>;
410
410
  description?: string | undefined;
411
411
  version?: bigint | undefined;
412
412
  };
413
413
  current?: {
414
414
  owner: Uint8Array<ArrayBufferLike>;
415
- data: Uint8Array<ArrayBuffer>;
415
+ data: Uint8Array<ArrayBufferLike>;
416
416
  created_at: bigint;
417
417
  updated_at: bigint;
418
418
  description?: string | undefined;
@@ -422,13 +422,13 @@ export declare const AssertSetDocContextSchema: z.ZodObject<{
422
422
  }, "strict", z.ZodTypeAny, {
423
423
  data: {
424
424
  proposed: {
425
- data: Uint8Array<ArrayBuffer>;
425
+ data: Uint8Array<ArrayBufferLike>;
426
426
  description?: string | undefined;
427
427
  version?: bigint | undefined;
428
428
  };
429
429
  current?: {
430
430
  owner: Uint8Array<ArrayBufferLike>;
431
- data: Uint8Array<ArrayBuffer>;
431
+ data: Uint8Array<ArrayBufferLike>;
432
432
  created_at: bigint;
433
433
  updated_at: bigint;
434
434
  description?: string | undefined;
@@ -440,13 +440,13 @@ export declare const AssertSetDocContextSchema: z.ZodObject<{
440
440
  }, {
441
441
  data: {
442
442
  proposed: {
443
- data: Uint8Array<ArrayBuffer>;
443
+ data: Uint8Array<ArrayBufferLike>;
444
444
  description?: string | undefined;
445
445
  version?: bigint | undefined;
446
446
  };
447
447
  current?: {
448
448
  owner: Uint8Array<ArrayBufferLike>;
449
- data: Uint8Array<ArrayBuffer>;
449
+ data: Uint8Array<ArrayBufferLike>;
450
450
  created_at: bigint;
451
451
  updated_at: bigint;
452
452
  description?: string | undefined;
@@ -460,13 +460,13 @@ export declare const AssertSetDocContextSchema: z.ZodObject<{
460
460
  data: {
461
461
  data: {
462
462
  proposed: {
463
- data: Uint8Array<ArrayBuffer>;
463
+ data: Uint8Array<ArrayBufferLike>;
464
464
  description?: string | undefined;
465
465
  version?: bigint | undefined;
466
466
  };
467
467
  current?: {
468
468
  owner: Uint8Array<ArrayBufferLike>;
469
- data: Uint8Array<ArrayBuffer>;
469
+ data: Uint8Array<ArrayBufferLike>;
470
470
  created_at: bigint;
471
471
  updated_at: bigint;
472
472
  description?: string | undefined;
@@ -481,13 +481,13 @@ export declare const AssertSetDocContextSchema: z.ZodObject<{
481
481
  data: {
482
482
  data: {
483
483
  proposed: {
484
- data: Uint8Array<ArrayBuffer>;
484
+ data: Uint8Array<ArrayBufferLike>;
485
485
  description?: string | undefined;
486
486
  version?: bigint | undefined;
487
487
  };
488
488
  current?: {
489
489
  owner: Uint8Array<ArrayBufferLike>;
490
- data: Uint8Array<ArrayBuffer>;
490
+ data: Uint8Array<ArrayBufferLike>;
491
491
  created_at: bigint;
492
492
  updated_at: bigint;
493
493
  description?: string | undefined;
@@ -22,7 +22,7 @@ export type Version = z.infer<typeof VersionSchema>;
22
22
  /**
23
23
  * @see RawData
24
24
  */
25
- export declare const RawDataSchema: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
25
+ export declare const RawDataSchema: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
26
26
  /**
27
27
  * Represents raw binary data.
28
28
  *
@@ -18,7 +18,7 @@ export declare const DocSchema: z.ZodObject<{
18
18
  /**
19
19
  * The raw data of the document.
20
20
  */
21
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
21
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
22
22
  /**
23
23
  * An optional description of the document.
24
24
  */
@@ -38,14 +38,14 @@ export declare const DocSchema: z.ZodObject<{
38
38
  version: z.ZodOptional<z.ZodBigInt>;
39
39
  }, "strict", z.ZodTypeAny, {
40
40
  owner: Uint8Array<ArrayBufferLike>;
41
- data: Uint8Array<ArrayBuffer>;
41
+ data: Uint8Array<ArrayBufferLike>;
42
42
  created_at: bigint;
43
43
  updated_at: bigint;
44
44
  description?: string | undefined;
45
45
  version?: bigint | undefined;
46
46
  }, {
47
47
  owner: Uint8Array<ArrayBufferLike>;
48
- data: Uint8Array<ArrayBuffer>;
48
+ data: Uint8Array<ArrayBufferLike>;
49
49
  created_at: bigint;
50
50
  updated_at: bigint;
51
51
  description?: string | undefined;
@@ -71,7 +71,7 @@ export declare const DocUpsertSchema: z.ZodObject<{
71
71
  /**
72
72
  * The raw data of the document.
73
73
  */
74
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
74
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
75
75
  /**
76
76
  * An optional description of the document.
77
77
  */
@@ -91,14 +91,14 @@ export declare const DocUpsertSchema: z.ZodObject<{
91
91
  version: z.ZodOptional<z.ZodBigInt>;
92
92
  }, "strict", z.ZodTypeAny, {
93
93
  owner: Uint8Array<ArrayBufferLike>;
94
- data: Uint8Array<ArrayBuffer>;
94
+ data: Uint8Array<ArrayBufferLike>;
95
95
  created_at: bigint;
96
96
  updated_at: bigint;
97
97
  description?: string | undefined;
98
98
  version?: bigint | undefined;
99
99
  }, {
100
100
  owner: Uint8Array<ArrayBufferLike>;
101
- data: Uint8Array<ArrayBuffer>;
101
+ data: Uint8Array<ArrayBufferLike>;
102
102
  created_at: bigint;
103
103
  updated_at: bigint;
104
104
  description?: string | undefined;
@@ -115,7 +115,7 @@ export declare const DocUpsertSchema: z.ZodObject<{
115
115
  /**
116
116
  * The raw data of the document.
117
117
  */
118
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
118
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
119
119
  /**
120
120
  * An optional description of the document.
121
121
  */
@@ -135,14 +135,14 @@ export declare const DocUpsertSchema: z.ZodObject<{
135
135
  version: z.ZodOptional<z.ZodBigInt>;
136
136
  }, "strict", z.ZodTypeAny, {
137
137
  owner: Uint8Array<ArrayBufferLike>;
138
- data: Uint8Array<ArrayBuffer>;
138
+ data: Uint8Array<ArrayBufferLike>;
139
139
  created_at: bigint;
140
140
  updated_at: bigint;
141
141
  description?: string | undefined;
142
142
  version?: bigint | undefined;
143
143
  }, {
144
144
  owner: Uint8Array<ArrayBufferLike>;
145
- data: Uint8Array<ArrayBuffer>;
145
+ data: Uint8Array<ArrayBufferLike>;
146
146
  created_at: bigint;
147
147
  updated_at: bigint;
148
148
  description?: string | undefined;
@@ -151,7 +151,7 @@ export declare const DocUpsertSchema: z.ZodObject<{
151
151
  }, "strict", z.ZodTypeAny, {
152
152
  after: {
153
153
  owner: Uint8Array<ArrayBufferLike>;
154
- data: Uint8Array<ArrayBuffer>;
154
+ data: Uint8Array<ArrayBufferLike>;
155
155
  created_at: bigint;
156
156
  updated_at: bigint;
157
157
  description?: string | undefined;
@@ -159,7 +159,7 @@ export declare const DocUpsertSchema: z.ZodObject<{
159
159
  };
160
160
  before?: {
161
161
  owner: Uint8Array<ArrayBufferLike>;
162
- data: Uint8Array<ArrayBuffer>;
162
+ data: Uint8Array<ArrayBufferLike>;
163
163
  created_at: bigint;
164
164
  updated_at: bigint;
165
165
  description?: string | undefined;
@@ -168,7 +168,7 @@ export declare const DocUpsertSchema: z.ZodObject<{
168
168
  }, {
169
169
  after: {
170
170
  owner: Uint8Array<ArrayBufferLike>;
171
- data: Uint8Array<ArrayBuffer>;
171
+ data: Uint8Array<ArrayBufferLike>;
172
172
  created_at: bigint;
173
173
  updated_at: bigint;
174
174
  description?: string | undefined;
@@ -176,7 +176,7 @@ export declare const DocUpsertSchema: z.ZodObject<{
176
176
  };
177
177
  before?: {
178
178
  owner: Uint8Array<ArrayBufferLike>;
179
- data: Uint8Array<ArrayBuffer>;
179
+ data: Uint8Array<ArrayBufferLike>;
180
180
  created_at: bigint;
181
181
  updated_at: bigint;
182
182
  description?: string | undefined;
@@ -196,7 +196,7 @@ export declare const ProposedDocSchema: z.ZodObject<{
196
196
  /**
197
197
  * The raw data of the document.
198
198
  */
199
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
199
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
200
200
  /**
201
201
  * An optional description of the document.
202
202
  */
@@ -206,11 +206,11 @@ export declare const ProposedDocSchema: z.ZodObject<{
206
206
  */
207
207
  version: z.ZodOptional<z.ZodBigInt>;
208
208
  }, "strict", z.ZodTypeAny, {
209
- data: Uint8Array<ArrayBuffer>;
209
+ data: Uint8Array<ArrayBufferLike>;
210
210
  description?: string | undefined;
211
211
  version?: bigint | undefined;
212
212
  }, {
213
- data: Uint8Array<ArrayBuffer>;
213
+ data: Uint8Array<ArrayBufferLike>;
214
214
  description?: string | undefined;
215
215
  version?: bigint | undefined;
216
216
  }>;
@@ -235,7 +235,7 @@ export declare const DocAssertSetSchema: z.ZodObject<{
235
235
  /**
236
236
  * The raw data of the document.
237
237
  */
238
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
238
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
239
239
  /**
240
240
  * An optional description of the document.
241
241
  */
@@ -255,14 +255,14 @@ export declare const DocAssertSetSchema: z.ZodObject<{
255
255
  version: z.ZodOptional<z.ZodBigInt>;
256
256
  }, "strict", z.ZodTypeAny, {
257
257
  owner: Uint8Array<ArrayBufferLike>;
258
- data: Uint8Array<ArrayBuffer>;
258
+ data: Uint8Array<ArrayBufferLike>;
259
259
  created_at: bigint;
260
260
  updated_at: bigint;
261
261
  description?: string | undefined;
262
262
  version?: bigint | undefined;
263
263
  }, {
264
264
  owner: Uint8Array<ArrayBufferLike>;
265
- data: Uint8Array<ArrayBuffer>;
265
+ data: Uint8Array<ArrayBufferLike>;
266
266
  created_at: bigint;
267
267
  updated_at: bigint;
268
268
  description?: string | undefined;
@@ -276,7 +276,7 @@ export declare const DocAssertSetSchema: z.ZodObject<{
276
276
  /**
277
277
  * The raw data of the document.
278
278
  */
279
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
279
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
280
280
  /**
281
281
  * An optional description of the document.
282
282
  */
@@ -286,23 +286,23 @@ export declare const DocAssertSetSchema: z.ZodObject<{
286
286
  */
287
287
  version: z.ZodOptional<z.ZodBigInt>;
288
288
  }, "strict", z.ZodTypeAny, {
289
- data: Uint8Array<ArrayBuffer>;
289
+ data: Uint8Array<ArrayBufferLike>;
290
290
  description?: string | undefined;
291
291
  version?: bigint | undefined;
292
292
  }, {
293
- data: Uint8Array<ArrayBuffer>;
293
+ data: Uint8Array<ArrayBufferLike>;
294
294
  description?: string | undefined;
295
295
  version?: bigint | undefined;
296
296
  }>;
297
297
  }, "strict", z.ZodTypeAny, {
298
298
  proposed: {
299
- data: Uint8Array<ArrayBuffer>;
299
+ data: Uint8Array<ArrayBufferLike>;
300
300
  description?: string | undefined;
301
301
  version?: bigint | undefined;
302
302
  };
303
303
  current?: {
304
304
  owner: Uint8Array<ArrayBufferLike>;
305
- data: Uint8Array<ArrayBuffer>;
305
+ data: Uint8Array<ArrayBufferLike>;
306
306
  created_at: bigint;
307
307
  updated_at: bigint;
308
308
  description?: string | undefined;
@@ -310,13 +310,13 @@ export declare const DocAssertSetSchema: z.ZodObject<{
310
310
  } | undefined;
311
311
  }, {
312
312
  proposed: {
313
- data: Uint8Array<ArrayBuffer>;
313
+ data: Uint8Array<ArrayBufferLike>;
314
314
  description?: string | undefined;
315
315
  version?: bigint | undefined;
316
316
  };
317
317
  current?: {
318
318
  owner: Uint8Array<ArrayBufferLike>;
319
- data: Uint8Array<ArrayBuffer>;
319
+ data: Uint8Array<ArrayBufferLike>;
320
320
  created_at: bigint;
321
321
  updated_at: bigint;
322
322
  description?: string | undefined;
@@ -337,7 +337,7 @@ export declare const SetDocSchema: z.ZodObject<{
337
337
  /**
338
338
  * The raw data of the document.
339
339
  */
340
- data: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
340
+ data: z.ZodType<Uint8Array<ArrayBufferLike>, z.ZodTypeDef, Uint8Array<ArrayBufferLike>>;
341
341
  /**
342
342
  * An optional description of the document.
343
343
  */
@@ -348,11 +348,11 @@ export declare const SetDocSchema: z.ZodObject<{
348
348
  */
349
349
  version: z.ZodOptional<z.ZodBigInt>;
350
350
  }, "strict", z.ZodTypeAny, {
351
- data: Uint8Array<ArrayBuffer>;
351
+ data: Uint8Array<ArrayBufferLike>;
352
352
  description?: string | undefined;
353
353
  version?: bigint | undefined;
354
354
  }, {
355
- data: Uint8Array<ArrayBuffer>;
355
+ data: Uint8Array<ArrayBufferLike>;
356
356
  description?: string | undefined;
357
357
  version?: bigint | undefined;
358
358
  }>;
@@ -1,7 +1,7 @@
1
- export * from './configs/assert.config';
1
+ export * from './configs/assertions';
2
2
  export * from './configs/collections.config';
3
- export * from './configs/hook.config';
4
- export * from './configs/satellite.config';
3
+ export * from './configs/hooks';
4
+ export * from './configs/satellite.env';
5
5
  export * from './hooks/context';
6
6
  export * from './hooks/core';
7
7
  export * from './hooks/datastore';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junobuild/functions",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "JavaScript and TypeScript utilities for Juno Serverless Functions",
5
5
  "author": "David Dal Busco (https://daviddalbusco.com)",
6
6
  "license": "MIT",