@milaboratories/pl-model-middle-layer 1.21.0 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/block_meta/block_components.cjs +19 -26
  2. package/dist/block_meta/block_components.cjs.map +1 -1
  3. package/dist/block_meta/block_components.d.ts +46 -428
  4. package/dist/block_meta/block_components.d.ts.map +1 -1
  5. package/dist/block_meta/block_components.js +19 -23
  6. package/dist/block_meta/block_components.js.map +1 -1
  7. package/dist/block_meta/block_description.cjs +5 -3
  8. package/dist/block_meta/block_description.cjs.map +1 -1
  9. package/dist/block_meta/block_description.d.ts +240 -752
  10. package/dist/block_meta/block_description.d.ts.map +1 -1
  11. package/dist/block_meta/block_description.js +5 -3
  12. package/dist/block_meta/block_description.js.map +1 -1
  13. package/dist/block_meta/block_id.d.ts +4 -4
  14. package/dist/block_meta/block_manifest.cjs +10 -1
  15. package/dist/block_meta/block_manifest.cjs.map +1 -1
  16. package/dist/block_meta/block_manifest.d.ts +395 -973
  17. package/dist/block_meta/block_manifest.d.ts.map +1 -1
  18. package/dist/block_meta/block_manifest.js +11 -2
  19. package/dist/block_meta/block_manifest.js.map +1 -1
  20. package/dist/block_meta/block_meta.cjs.map +1 -1
  21. package/dist/block_meta/block_meta.d.ts +128 -210
  22. package/dist/block_meta/block_meta.d.ts.map +1 -1
  23. package/dist/block_meta/block_meta.js.map +1 -1
  24. package/dist/block_meta/content_types.cjs +25 -77
  25. package/dist/block_meta/content_types.cjs.map +1 -1
  26. package/dist/block_meta/content_types.d.ts +65 -381
  27. package/dist/block_meta/content_types.d.ts.map +1 -1
  28. package/dist/block_meta/content_types.js +26 -64
  29. package/dist/block_meta/content_types.js.map +1 -1
  30. package/dist/block_meta/index.d.ts +3 -3
  31. package/dist/block_registry/block_pack_spec.d.ts +16 -16
  32. package/dist/block_registry/overview.d.ts +1540 -1540
  33. package/dist/block_registry/registry_spec.d.ts +12 -12
  34. package/dist/index.cjs +1 -18
  35. package/dist/index.d.ts +4 -4
  36. package/dist/index.js +3 -3
  37. package/dist/pframe/internal_api/table.d.ts +1 -5
  38. package/dist/pframe/internal_api/table.d.ts.map +1 -1
  39. package/package.json +4 -4
  40. package/src/block_meta/block_components.ts +67 -42
  41. package/src/block_meta/block_description.ts +18 -3
  42. package/src/block_meta/block_manifest.ts +14 -3
  43. package/src/block_meta/block_meta.ts +40 -6
  44. package/src/block_meta/content_types.ts +149 -207
  45. package/src/pframe/internal_api/table.ts +1 -7
@@ -1,8 +1,46 @@
1
+ import { ContentRelativeBinary, ContentRelativeText } from "./content_types.js";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/block_meta/block_meta.d.ts
4
5
  declare const BlockPlatform: z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>;
5
6
  type BlockPlatform = z.infer<typeof BlockPlatform>;
7
+ /**
8
+ * Static metadata a block author ships: title, descriptions, logos, social
9
+ * links, and capability requirements. Parameterized by the carriers used for
10
+ * long-string fields (`LongString`) and binary fields (`Binary`); the same
11
+ * shape carries `package.json` form (loose strings), manifest form (relative
12
+ * paths), and embedded form (inlined base64 or bytes).
13
+ *
14
+ * Forward-compatibility: the boundary zod schemas (`BlockPackMeta(...)` and
15
+ * `organization`) use `.passthrough()` so that unknown sibling fields survive
16
+ * parse/round-trip verbatim. A registry mutator that predates a new meta
17
+ * field must not silently strip it (otherwise mark-stable / refresh-overview
18
+ * / restore-overview would quietly undo publishes). Code consuming these
19
+ * objects sees only the known fields listed below; the schemas guard the
20
+ * round-trip behavior. Combined with the `require-latest @platforma-sdk/block-tools`
21
+ * CI gate, this future-proofs every subsequent field addition.
22
+ */
23
+ type BlockPackMeta<LongString, Binary> = {
24
+ title: string;
25
+ description: string;
26
+ longDescription?: LongString;
27
+ changelog?: LongString;
28
+ logo?: Binary;
29
+ url?: string;
30
+ docs?: string;
31
+ support?: string;
32
+ tags?: string[];
33
+ organization: {
34
+ name: string;
35
+ url: string;
36
+ logo?: Binary;
37
+ };
38
+ marketplaceRanking?: number;
39
+ deprecated?: boolean;
40
+ termsOfServiceUrl?: string;
41
+ supportedPlatforms?: BlockPlatform[];
42
+ requiredCapabilities?: string[];
43
+ };
6
44
  declare function BlockPackMeta<const LongStringType extends z.ZodTypeAny, const BinaryType extends z.ZodTypeAny>(longString: LongStringType, binary: BinaryType): z.ZodObject<{
7
45
  title: z.ZodString;
8
46
  description: z.ZodString;
@@ -169,13 +207,7 @@ declare function BlockPackMeta<const LongStringType extends z.ZodTypeAny, const
169
207
  declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
170
208
  title: z.ZodString;
171
209
  description: z.ZodString;
172
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
173
- type: "relative";
174
- path: string;
175
- } | {
176
- type: "explicit-string";
177
- content: string;
178
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
210
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
179
211
  type: z.ZodLiteral<"explicit-string">;
180
212
  content: z.ZodString;
181
213
  }, "strict", z.ZodTypeAny, {
@@ -203,13 +235,7 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
203
235
  type: "absolute-file";
204
236
  file: string;
205
237
  }>]>]>>;
206
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
207
- type: "relative";
208
- path: string;
209
- } | {
210
- type: "explicit-string";
211
- content: string;
212
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
238
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
213
239
  type: z.ZodLiteral<"explicit-string">;
214
240
  content: z.ZodString;
215
241
  }, "strict", z.ZodTypeAny, {
@@ -237,25 +263,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
237
263
  type: "absolute-file";
238
264
  file: string;
239
265
  }>]>]>>;
240
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
241
- type: "relative";
242
- path: string;
243
- } | {
244
- type: "explicit-base64";
245
- content: string;
246
- mimeType: string;
247
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
266
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
248
267
  type: z.ZodLiteral<"explicit-base64">;
249
268
  mimeType: z.ZodString;
250
269
  content: z.ZodString;
251
270
  }, "strict", z.ZodTypeAny, {
252
271
  type: "explicit-base64";
253
- content: string;
254
272
  mimeType: string;
273
+ content: string;
255
274
  }, {
256
275
  type: "explicit-base64";
257
- content: string;
258
276
  mimeType: string;
277
+ content: string;
259
278
  }>, z.ZodObject<{
260
279
  type: z.ZodLiteral<"relative">;
261
280
  path: z.ZodString;
@@ -282,25 +301,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
282
301
  organization: z.ZodObject<{
283
302
  name: z.ZodString;
284
303
  url: z.ZodString;
285
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
286
- type: "relative";
287
- path: string;
288
- } | {
289
- type: "explicit-base64";
290
- content: string;
291
- mimeType: string;
292
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
304
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
293
305
  type: z.ZodLiteral<"explicit-base64">;
294
306
  mimeType: z.ZodString;
295
307
  content: z.ZodString;
296
308
  }, "strict", z.ZodTypeAny, {
297
309
  type: "explicit-base64";
298
- content: string;
299
310
  mimeType: string;
311
+ content: string;
300
312
  }, {
301
313
  type: "explicit-base64";
302
- content: string;
303
314
  mimeType: string;
315
+ content: string;
304
316
  }>, z.ZodObject<{
305
317
  type: z.ZodLiteral<"relative">;
306
318
  path: z.ZodString;
@@ -323,25 +335,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
323
335
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
324
336
  name: z.ZodString;
325
337
  url: z.ZodString;
326
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
327
- type: "relative";
328
- path: string;
329
- } | {
330
- type: "explicit-base64";
331
- content: string;
332
- mimeType: string;
333
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
338
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
334
339
  type: z.ZodLiteral<"explicit-base64">;
335
340
  mimeType: z.ZodString;
336
341
  content: z.ZodString;
337
342
  }, "strict", z.ZodTypeAny, {
338
343
  type: "explicit-base64";
339
- content: string;
340
344
  mimeType: string;
345
+ content: string;
341
346
  }, {
342
347
  type: "explicit-base64";
343
- content: string;
344
348
  mimeType: string;
349
+ content: string;
345
350
  }>, z.ZodObject<{
346
351
  type: z.ZodLiteral<"relative">;
347
352
  path: z.ZodString;
@@ -364,25 +369,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
364
369
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
365
370
  name: z.ZodString;
366
371
  url: z.ZodString;
367
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
368
- type: "relative";
369
- path: string;
370
- } | {
371
- type: "explicit-base64";
372
- content: string;
373
- mimeType: string;
374
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
372
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
375
373
  type: z.ZodLiteral<"explicit-base64">;
376
374
  mimeType: z.ZodString;
377
375
  content: z.ZodString;
378
376
  }, "strict", z.ZodTypeAny, {
379
377
  type: "explicit-base64";
380
- content: string;
381
378
  mimeType: string;
379
+ content: string;
382
380
  }, {
383
381
  type: "explicit-base64";
384
- content: string;
385
382
  mimeType: string;
383
+ content: string;
386
384
  }>, z.ZodObject<{
387
385
  type: z.ZodLiteral<"relative">;
388
386
  path: z.ZodString;
@@ -437,13 +435,7 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
437
435
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
438
436
  title: z.ZodString;
439
437
  description: z.ZodString;
440
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
441
- type: "relative";
442
- path: string;
443
- } | {
444
- type: "explicit-string";
445
- content: string;
446
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
438
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
447
439
  type: z.ZodLiteral<"explicit-string">;
448
440
  content: z.ZodString;
449
441
  }, "strict", z.ZodTypeAny, {
@@ -471,13 +463,7 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
471
463
  type: "absolute-file";
472
464
  file: string;
473
465
  }>]>]>>;
474
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
475
- type: "relative";
476
- path: string;
477
- } | {
478
- type: "explicit-string";
479
- content: string;
480
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
466
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
481
467
  type: z.ZodLiteral<"explicit-string">;
482
468
  content: z.ZodString;
483
469
  }, "strict", z.ZodTypeAny, {
@@ -505,25 +491,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
505
491
  type: "absolute-file";
506
492
  file: string;
507
493
  }>]>]>>;
508
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
509
- type: "relative";
510
- path: string;
511
- } | {
512
- type: "explicit-base64";
513
- content: string;
514
- mimeType: string;
515
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
494
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
516
495
  type: z.ZodLiteral<"explicit-base64">;
517
496
  mimeType: z.ZodString;
518
497
  content: z.ZodString;
519
498
  }, "strict", z.ZodTypeAny, {
520
499
  type: "explicit-base64";
521
- content: string;
522
500
  mimeType: string;
501
+ content: string;
523
502
  }, {
524
503
  type: "explicit-base64";
525
- content: string;
526
504
  mimeType: string;
505
+ content: string;
527
506
  }>, z.ZodObject<{
528
507
  type: z.ZodLiteral<"relative">;
529
508
  path: z.ZodString;
@@ -550,25 +529,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
550
529
  organization: z.ZodObject<{
551
530
  name: z.ZodString;
552
531
  url: z.ZodString;
553
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
554
- type: "relative";
555
- path: string;
556
- } | {
557
- type: "explicit-base64";
558
- content: string;
559
- mimeType: string;
560
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
532
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
561
533
  type: z.ZodLiteral<"explicit-base64">;
562
534
  mimeType: z.ZodString;
563
535
  content: z.ZodString;
564
536
  }, "strict", z.ZodTypeAny, {
565
537
  type: "explicit-base64";
566
- content: string;
567
538
  mimeType: string;
539
+ content: string;
568
540
  }, {
569
541
  type: "explicit-base64";
570
- content: string;
571
542
  mimeType: string;
543
+ content: string;
572
544
  }>, z.ZodObject<{
573
545
  type: z.ZodLiteral<"relative">;
574
546
  path: z.ZodString;
@@ -591,25 +563,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
591
563
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
592
564
  name: z.ZodString;
593
565
  url: z.ZodString;
594
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
595
- type: "relative";
596
- path: string;
597
- } | {
598
- type: "explicit-base64";
599
- content: string;
600
- mimeType: string;
601
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
566
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
602
567
  type: z.ZodLiteral<"explicit-base64">;
603
568
  mimeType: z.ZodString;
604
569
  content: z.ZodString;
605
570
  }, "strict", z.ZodTypeAny, {
606
571
  type: "explicit-base64";
607
- content: string;
608
572
  mimeType: string;
573
+ content: string;
609
574
  }, {
610
575
  type: "explicit-base64";
611
- content: string;
612
576
  mimeType: string;
577
+ content: string;
613
578
  }>, z.ZodObject<{
614
579
  type: z.ZodLiteral<"relative">;
615
580
  path: z.ZodString;
@@ -632,25 +597,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
632
597
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
633
598
  name: z.ZodString;
634
599
  url: z.ZodString;
635
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
636
- type: "relative";
637
- path: string;
638
- } | {
639
- type: "explicit-base64";
640
- content: string;
641
- mimeType: string;
642
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
600
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
643
601
  type: z.ZodLiteral<"explicit-base64">;
644
602
  mimeType: z.ZodString;
645
603
  content: z.ZodString;
646
604
  }, "strict", z.ZodTypeAny, {
647
605
  type: "explicit-base64";
648
- content: string;
649
606
  mimeType: string;
607
+ content: string;
650
608
  }, {
651
609
  type: "explicit-base64";
652
- content: string;
653
610
  mimeType: string;
611
+ content: string;
654
612
  }>, z.ZodObject<{
655
613
  type: z.ZodLiteral<"relative">;
656
614
  path: z.ZodString;
@@ -705,13 +663,7 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
705
663
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
706
664
  title: z.ZodString;
707
665
  description: z.ZodString;
708
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
709
- type: "relative";
710
- path: string;
711
- } | {
712
- type: "explicit-string";
713
- content: string;
714
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
666
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
715
667
  type: z.ZodLiteral<"explicit-string">;
716
668
  content: z.ZodString;
717
669
  }, "strict", z.ZodTypeAny, {
@@ -739,13 +691,7 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
739
691
  type: "absolute-file";
740
692
  file: string;
741
693
  }>]>]>>;
742
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
743
- type: "relative";
744
- path: string;
745
- } | {
746
- type: "explicit-string";
747
- content: string;
748
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
694
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
749
695
  type: z.ZodLiteral<"explicit-string">;
750
696
  content: z.ZodString;
751
697
  }, "strict", z.ZodTypeAny, {
@@ -773,25 +719,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
773
719
  type: "absolute-file";
774
720
  file: string;
775
721
  }>]>]>>;
776
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
777
- type: "relative";
778
- path: string;
779
- } | {
780
- type: "explicit-base64";
781
- content: string;
782
- mimeType: string;
783
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
722
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
784
723
  type: z.ZodLiteral<"explicit-base64">;
785
724
  mimeType: z.ZodString;
786
725
  content: z.ZodString;
787
726
  }, "strict", z.ZodTypeAny, {
788
727
  type: "explicit-base64";
789
- content: string;
790
728
  mimeType: string;
729
+ content: string;
791
730
  }, {
792
731
  type: "explicit-base64";
793
- content: string;
794
732
  mimeType: string;
733
+ content: string;
795
734
  }>, z.ZodObject<{
796
735
  type: z.ZodLiteral<"relative">;
797
736
  path: z.ZodString;
@@ -818,25 +757,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
818
757
  organization: z.ZodObject<{
819
758
  name: z.ZodString;
820
759
  url: z.ZodString;
821
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
822
- type: "relative";
823
- path: string;
824
- } | {
825
- type: "explicit-base64";
826
- content: string;
827
- mimeType: string;
828
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
760
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
829
761
  type: z.ZodLiteral<"explicit-base64">;
830
762
  mimeType: z.ZodString;
831
763
  content: z.ZodString;
832
764
  }, "strict", z.ZodTypeAny, {
833
765
  type: "explicit-base64";
834
- content: string;
835
766
  mimeType: string;
767
+ content: string;
836
768
  }, {
837
769
  type: "explicit-base64";
838
- content: string;
839
770
  mimeType: string;
771
+ content: string;
840
772
  }>, z.ZodObject<{
841
773
  type: z.ZodLiteral<"relative">;
842
774
  path: z.ZodString;
@@ -859,25 +791,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
859
791
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
860
792
  name: z.ZodString;
861
793
  url: z.ZodString;
862
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
863
- type: "relative";
864
- path: string;
865
- } | {
866
- type: "explicit-base64";
867
- content: string;
868
- mimeType: string;
869
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
794
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
870
795
  type: z.ZodLiteral<"explicit-base64">;
871
796
  mimeType: z.ZodString;
872
797
  content: z.ZodString;
873
798
  }, "strict", z.ZodTypeAny, {
874
799
  type: "explicit-base64";
875
- content: string;
876
800
  mimeType: string;
801
+ content: string;
877
802
  }, {
878
803
  type: "explicit-base64";
879
- content: string;
880
804
  mimeType: string;
805
+ content: string;
881
806
  }>, z.ZodObject<{
882
807
  type: z.ZodLiteral<"relative">;
883
808
  path: z.ZodString;
@@ -900,25 +825,18 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
900
825
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
901
826
  name: z.ZodString;
902
827
  url: z.ZodString;
903
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
904
- type: "relative";
905
- path: string;
906
- } | {
907
- type: "explicit-base64";
908
- content: string;
909
- mimeType: string;
910
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
828
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
911
829
  type: z.ZodLiteral<"explicit-base64">;
912
830
  mimeType: z.ZodString;
913
831
  content: z.ZodString;
914
832
  }, "strict", z.ZodTypeAny, {
915
833
  type: "explicit-base64";
916
- content: string;
917
834
  mimeType: string;
835
+ content: string;
918
836
  }, {
919
837
  type: "explicit-base64";
920
- content: string;
921
838
  mimeType: string;
839
+ content: string;
922
840
  }>, z.ZodObject<{
923
841
  type: z.ZodLiteral<"relative">;
924
842
  path: z.ZodString;
@@ -983,12 +901,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
983
901
  content: z.ZodString;
984
902
  }, "strict", z.ZodTypeAny, {
985
903
  type: "explicit-base64";
986
- content: string;
987
904
  mimeType: string;
905
+ content: string;
988
906
  }, {
989
907
  type: "explicit-base64";
990
- content: string;
991
908
  mimeType: string;
909
+ content: string;
992
910
  }>>;
993
911
  url: z.ZodOptional<z.ZodString>;
994
912
  docs: z.ZodOptional<z.ZodString>;
@@ -1003,12 +921,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1003
921
  content: z.ZodString;
1004
922
  }, "strict", z.ZodTypeAny, {
1005
923
  type: "explicit-base64";
1006
- content: string;
1007
924
  mimeType: string;
925
+ content: string;
1008
926
  }, {
1009
927
  type: "explicit-base64";
1010
- content: string;
1011
928
  mimeType: string;
929
+ content: string;
1012
930
  }>>;
1013
931
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1014
932
  name: z.ZodString;
@@ -1019,12 +937,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1019
937
  content: z.ZodString;
1020
938
  }, "strict", z.ZodTypeAny, {
1021
939
  type: "explicit-base64";
1022
- content: string;
1023
940
  mimeType: string;
941
+ content: string;
1024
942
  }, {
1025
943
  type: "explicit-base64";
1026
- content: string;
1027
944
  mimeType: string;
945
+ content: string;
1028
946
  }>>;
1029
947
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1030
948
  name: z.ZodString;
@@ -1035,12 +953,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1035
953
  content: z.ZodString;
1036
954
  }, "strict", z.ZodTypeAny, {
1037
955
  type: "explicit-base64";
1038
- content: string;
1039
956
  mimeType: string;
957
+ content: string;
1040
958
  }, {
1041
959
  type: "explicit-base64";
1042
- content: string;
1043
960
  mimeType: string;
961
+ content: string;
1044
962
  }>>;
1045
963
  }, z.ZodTypeAny, "passthrough">>;
1046
964
  /**
@@ -1085,12 +1003,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1085
1003
  content: z.ZodString;
1086
1004
  }, "strict", z.ZodTypeAny, {
1087
1005
  type: "explicit-base64";
1088
- content: string;
1089
1006
  mimeType: string;
1007
+ content: string;
1090
1008
  }, {
1091
1009
  type: "explicit-base64";
1092
- content: string;
1093
1010
  mimeType: string;
1011
+ content: string;
1094
1012
  }>>;
1095
1013
  url: z.ZodOptional<z.ZodString>;
1096
1014
  docs: z.ZodOptional<z.ZodString>;
@@ -1105,12 +1023,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1105
1023
  content: z.ZodString;
1106
1024
  }, "strict", z.ZodTypeAny, {
1107
1025
  type: "explicit-base64";
1108
- content: string;
1109
1026
  mimeType: string;
1027
+ content: string;
1110
1028
  }, {
1111
1029
  type: "explicit-base64";
1112
- content: string;
1113
1030
  mimeType: string;
1031
+ content: string;
1114
1032
  }>>;
1115
1033
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1116
1034
  name: z.ZodString;
@@ -1121,12 +1039,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1121
1039
  content: z.ZodString;
1122
1040
  }, "strict", z.ZodTypeAny, {
1123
1041
  type: "explicit-base64";
1124
- content: string;
1125
1042
  mimeType: string;
1043
+ content: string;
1126
1044
  }, {
1127
1045
  type: "explicit-base64";
1128
- content: string;
1129
1046
  mimeType: string;
1047
+ content: string;
1130
1048
  }>>;
1131
1049
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1132
1050
  name: z.ZodString;
@@ -1137,12 +1055,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1137
1055
  content: z.ZodString;
1138
1056
  }, "strict", z.ZodTypeAny, {
1139
1057
  type: "explicit-base64";
1140
- content: string;
1141
1058
  mimeType: string;
1059
+ content: string;
1142
1060
  }, {
1143
1061
  type: "explicit-base64";
1144
- content: string;
1145
1062
  mimeType: string;
1063
+ content: string;
1146
1064
  }>>;
1147
1065
  }, z.ZodTypeAny, "passthrough">>;
1148
1066
  /**
@@ -1187,12 +1105,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1187
1105
  content: z.ZodString;
1188
1106
  }, "strict", z.ZodTypeAny, {
1189
1107
  type: "explicit-base64";
1190
- content: string;
1191
1108
  mimeType: string;
1109
+ content: string;
1192
1110
  }, {
1193
1111
  type: "explicit-base64";
1194
- content: string;
1195
1112
  mimeType: string;
1113
+ content: string;
1196
1114
  }>>;
1197
1115
  url: z.ZodOptional<z.ZodString>;
1198
1116
  docs: z.ZodOptional<z.ZodString>;
@@ -1207,12 +1125,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1207
1125
  content: z.ZodString;
1208
1126
  }, "strict", z.ZodTypeAny, {
1209
1127
  type: "explicit-base64";
1210
- content: string;
1211
1128
  mimeType: string;
1129
+ content: string;
1212
1130
  }, {
1213
1131
  type: "explicit-base64";
1214
- content: string;
1215
1132
  mimeType: string;
1133
+ content: string;
1216
1134
  }>>;
1217
1135
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1218
1136
  name: z.ZodString;
@@ -1223,12 +1141,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1223
1141
  content: z.ZodString;
1224
1142
  }, "strict", z.ZodTypeAny, {
1225
1143
  type: "explicit-base64";
1226
- content: string;
1227
1144
  mimeType: string;
1145
+ content: string;
1228
1146
  }, {
1229
1147
  type: "explicit-base64";
1230
- content: string;
1231
1148
  mimeType: string;
1149
+ content: string;
1232
1150
  }>>;
1233
1151
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1234
1152
  name: z.ZodString;
@@ -1239,12 +1157,12 @@ declare const BlockPackMetaEmbeddedBase64: z.ZodObject<{
1239
1157
  content: z.ZodString;
1240
1158
  }, "strict", z.ZodTypeAny, {
1241
1159
  type: "explicit-base64";
1242
- content: string;
1243
1160
  mimeType: string;
1161
+ content: string;
1244
1162
  }, {
1245
1163
  type: "explicit-base64";
1246
- content: string;
1247
1164
  mimeType: string;
1165
+ content: string;
1248
1166
  }>>;
1249
1167
  }, z.ZodTypeAny, "passthrough">>;
1250
1168
  /**
@@ -1291,12 +1209,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1291
1209
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1292
1210
  }, "strict", z.ZodTypeAny, {
1293
1211
  type: "explicit-bytes";
1294
- content: Uint8Array<ArrayBuffer>;
1295
1212
  mimeType: string;
1213
+ content: Uint8Array<ArrayBuffer>;
1296
1214
  }, {
1297
1215
  type: "explicit-bytes";
1298
- content: Uint8Array<ArrayBuffer>;
1299
1216
  mimeType: string;
1217
+ content: Uint8Array<ArrayBuffer>;
1300
1218
  }>>;
1301
1219
  url: z.ZodOptional<z.ZodString>;
1302
1220
  docs: z.ZodOptional<z.ZodString>;
@@ -1311,12 +1229,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1311
1229
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1312
1230
  }, "strict", z.ZodTypeAny, {
1313
1231
  type: "explicit-bytes";
1314
- content: Uint8Array<ArrayBuffer>;
1315
1232
  mimeType: string;
1233
+ content: Uint8Array<ArrayBuffer>;
1316
1234
  }, {
1317
1235
  type: "explicit-bytes";
1318
- content: Uint8Array<ArrayBuffer>;
1319
1236
  mimeType: string;
1237
+ content: Uint8Array<ArrayBuffer>;
1320
1238
  }>>;
1321
1239
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1322
1240
  name: z.ZodString;
@@ -1327,12 +1245,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1327
1245
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1328
1246
  }, "strict", z.ZodTypeAny, {
1329
1247
  type: "explicit-bytes";
1330
- content: Uint8Array<ArrayBuffer>;
1331
1248
  mimeType: string;
1249
+ content: Uint8Array<ArrayBuffer>;
1332
1250
  }, {
1333
1251
  type: "explicit-bytes";
1334
- content: Uint8Array<ArrayBuffer>;
1335
1252
  mimeType: string;
1253
+ content: Uint8Array<ArrayBuffer>;
1336
1254
  }>>;
1337
1255
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1338
1256
  name: z.ZodString;
@@ -1343,12 +1261,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1343
1261
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1344
1262
  }, "strict", z.ZodTypeAny, {
1345
1263
  type: "explicit-bytes";
1346
- content: Uint8Array<ArrayBuffer>;
1347
1264
  mimeType: string;
1265
+ content: Uint8Array<ArrayBuffer>;
1348
1266
  }, {
1349
1267
  type: "explicit-bytes";
1350
- content: Uint8Array<ArrayBuffer>;
1351
1268
  mimeType: string;
1269
+ content: Uint8Array<ArrayBuffer>;
1352
1270
  }>>;
1353
1271
  }, z.ZodTypeAny, "passthrough">>;
1354
1272
  /**
@@ -1393,12 +1311,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1393
1311
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1394
1312
  }, "strict", z.ZodTypeAny, {
1395
1313
  type: "explicit-bytes";
1396
- content: Uint8Array<ArrayBuffer>;
1397
1314
  mimeType: string;
1315
+ content: Uint8Array<ArrayBuffer>;
1398
1316
  }, {
1399
1317
  type: "explicit-bytes";
1400
- content: Uint8Array<ArrayBuffer>;
1401
1318
  mimeType: string;
1319
+ content: Uint8Array<ArrayBuffer>;
1402
1320
  }>>;
1403
1321
  url: z.ZodOptional<z.ZodString>;
1404
1322
  docs: z.ZodOptional<z.ZodString>;
@@ -1413,12 +1331,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1413
1331
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1414
1332
  }, "strict", z.ZodTypeAny, {
1415
1333
  type: "explicit-bytes";
1416
- content: Uint8Array<ArrayBuffer>;
1417
1334
  mimeType: string;
1335
+ content: Uint8Array<ArrayBuffer>;
1418
1336
  }, {
1419
1337
  type: "explicit-bytes";
1420
- content: Uint8Array<ArrayBuffer>;
1421
1338
  mimeType: string;
1339
+ content: Uint8Array<ArrayBuffer>;
1422
1340
  }>>;
1423
1341
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1424
1342
  name: z.ZodString;
@@ -1429,12 +1347,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1429
1347
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1430
1348
  }, "strict", z.ZodTypeAny, {
1431
1349
  type: "explicit-bytes";
1432
- content: Uint8Array<ArrayBuffer>;
1433
1350
  mimeType: string;
1351
+ content: Uint8Array<ArrayBuffer>;
1434
1352
  }, {
1435
1353
  type: "explicit-bytes";
1436
- content: Uint8Array<ArrayBuffer>;
1437
1354
  mimeType: string;
1355
+ content: Uint8Array<ArrayBuffer>;
1438
1356
  }>>;
1439
1357
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1440
1358
  name: z.ZodString;
@@ -1445,12 +1363,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1445
1363
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1446
1364
  }, "strict", z.ZodTypeAny, {
1447
1365
  type: "explicit-bytes";
1448
- content: Uint8Array<ArrayBuffer>;
1449
1366
  mimeType: string;
1367
+ content: Uint8Array<ArrayBuffer>;
1450
1368
  }, {
1451
1369
  type: "explicit-bytes";
1452
- content: Uint8Array<ArrayBuffer>;
1453
1370
  mimeType: string;
1371
+ content: Uint8Array<ArrayBuffer>;
1454
1372
  }>>;
1455
1373
  }, z.ZodTypeAny, "passthrough">>;
1456
1374
  /**
@@ -1495,12 +1413,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1495
1413
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1496
1414
  }, "strict", z.ZodTypeAny, {
1497
1415
  type: "explicit-bytes";
1498
- content: Uint8Array<ArrayBuffer>;
1499
1416
  mimeType: string;
1417
+ content: Uint8Array<ArrayBuffer>;
1500
1418
  }, {
1501
1419
  type: "explicit-bytes";
1502
- content: Uint8Array<ArrayBuffer>;
1503
1420
  mimeType: string;
1421
+ content: Uint8Array<ArrayBuffer>;
1504
1422
  }>>;
1505
1423
  url: z.ZodOptional<z.ZodString>;
1506
1424
  docs: z.ZodOptional<z.ZodString>;
@@ -1515,12 +1433,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1515
1433
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1516
1434
  }, "strict", z.ZodTypeAny, {
1517
1435
  type: "explicit-bytes";
1518
- content: Uint8Array<ArrayBuffer>;
1519
1436
  mimeType: string;
1437
+ content: Uint8Array<ArrayBuffer>;
1520
1438
  }, {
1521
1439
  type: "explicit-bytes";
1522
- content: Uint8Array<ArrayBuffer>;
1523
1440
  mimeType: string;
1441
+ content: Uint8Array<ArrayBuffer>;
1524
1442
  }>>;
1525
1443
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1526
1444
  name: z.ZodString;
@@ -1531,12 +1449,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1531
1449
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1532
1450
  }, "strict", z.ZodTypeAny, {
1533
1451
  type: "explicit-bytes";
1534
- content: Uint8Array<ArrayBuffer>;
1535
1452
  mimeType: string;
1453
+ content: Uint8Array<ArrayBuffer>;
1536
1454
  }, {
1537
1455
  type: "explicit-bytes";
1538
- content: Uint8Array<ArrayBuffer>;
1539
1456
  mimeType: string;
1457
+ content: Uint8Array<ArrayBuffer>;
1540
1458
  }>>;
1541
1459
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1542
1460
  name: z.ZodString;
@@ -1547,12 +1465,12 @@ declare const BlockPackMetaEmbeddedBytes: z.ZodObject<{
1547
1465
  content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
1548
1466
  }, "strict", z.ZodTypeAny, {
1549
1467
  type: "explicit-bytes";
1550
- content: Uint8Array<ArrayBuffer>;
1551
1468
  mimeType: string;
1469
+ content: Uint8Array<ArrayBuffer>;
1552
1470
  }, {
1553
1471
  type: "explicit-bytes";
1554
- content: Uint8Array<ArrayBuffer>;
1555
1472
  mimeType: string;
1473
+ content: Uint8Array<ArrayBuffer>;
1556
1474
  }>>;
1557
1475
  }, z.ZodTypeAny, "passthrough">>;
1558
1476
  /**