@platforma-sdk/block-tools 2.2.0 → 2.3.1

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 (73) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/cli.js.map +1 -1
  3. package/dist/cli.mjs +94 -238
  4. package/dist/cli.mjs.map +1 -1
  5. package/dist/config-BbxbO3Iw.mjs +1601 -0
  6. package/dist/config-BbxbO3Iw.mjs.map +1 -0
  7. package/dist/config-BczgUC2N.js +3 -0
  8. package/dist/config-BczgUC2N.js.map +1 -0
  9. package/dist/index.js +1 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +184 -40
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/io/folder_reader.d.ts +10 -0
  14. package/dist/io/folder_reader.d.ts.map +1 -0
  15. package/dist/io/index.d.ts +3 -0
  16. package/dist/io/index.d.ts.map +1 -0
  17. package/dist/io/storage.d.ts.map +1 -0
  18. package/dist/lib.d.ts +1 -0
  19. package/dist/lib.d.ts.map +1 -1
  20. package/dist/registry_v1/registry.d.ts +1 -1
  21. package/dist/registry_v1/registry.d.ts.map +1 -1
  22. package/dist/registry_v1/v1_repo_schema.d.ts +1 -1
  23. package/dist/registry_v1/v1_repo_schema.d.ts.map +1 -1
  24. package/dist/util.d.ts +1 -0
  25. package/dist/util.d.ts.map +1 -1
  26. package/dist/v2/build_dist.d.ts.map +1 -1
  27. package/dist/v2/index.d.ts +1 -0
  28. package/dist/v2/index.d.ts.map +1 -1
  29. package/dist/v2/model/block_components.d.ts +298 -20
  30. package/dist/v2/model/block_components.d.ts.map +1 -1
  31. package/dist/v2/model/block_description.d.ts +329 -110
  32. package/dist/v2/model/block_description.d.ts.map +1 -1
  33. package/dist/v2/model/block_meta.d.ts +554 -2
  34. package/dist/v2/model/block_meta.d.ts.map +1 -1
  35. package/dist/v2/model/content_conversion.d.ts +3 -1
  36. package/dist/v2/model/content_conversion.d.ts.map +1 -1
  37. package/dist/v2/registry/index.d.ts +4 -0
  38. package/dist/v2/registry/index.d.ts.map +1 -0
  39. package/dist/v2/registry/registry.d.ts +1 -1
  40. package/dist/v2/registry/registry.d.ts.map +1 -1
  41. package/dist/v2/registry/registry_reader.d.ts +14 -0
  42. package/dist/v2/registry/registry_reader.d.ts.map +1 -0
  43. package/dist/v2/registry/schema_public.d.ts +2048 -259
  44. package/dist/v2/registry/schema_public.d.ts.map +1 -1
  45. package/package.json +7 -4
  46. package/src/cmd/build-meta.ts +2 -2
  47. package/src/cmd/publish.ts +1 -1
  48. package/src/io/folder_reader.test.ts +21 -0
  49. package/src/io/folder_reader.ts +85 -0
  50. package/src/io/index.ts +2 -0
  51. package/src/lib.ts +1 -0
  52. package/src/registry_v1/config.ts +1 -1
  53. package/src/registry_v1/registry.test.ts +1 -1
  54. package/src/registry_v1/registry.ts +1 -1
  55. package/src/registry_v1/v1_repo_schema.ts +1 -1
  56. package/src/util.ts +6 -0
  57. package/src/v2/build_dist.ts +2 -1
  58. package/src/v2/index.ts +1 -0
  59. package/src/v2/model/block_components.ts +10 -8
  60. package/src/v2/model/block_meta.ts +23 -5
  61. package/src/v2/model/content_conversion.ts +30 -1
  62. package/src/v2/registry/index.ts +3 -0
  63. package/src/v2/registry/registry.ts +19 -15
  64. package/src/v2/registry/registry_reader.ts +81 -0
  65. package/src/v2/registry/schema_public.ts +36 -10
  66. package/dist/config-DJqN5LSx.js +0 -3
  67. package/dist/config-DJqN5LSx.js.map +0 -1
  68. package/dist/config-rGaQLD-7.mjs +0 -1350
  69. package/dist/config-rGaQLD-7.mjs.map +0 -1
  70. package/dist/lib/storage.d.ts.map +0 -1
  71. /package/dist/{lib → io}/storage.d.ts +0 -0
  72. /package/src/{lib → io}/storage.test.ts +0 -0
  73. /package/src/{lib → io}/storage.ts +0 -0
@@ -14,13 +14,31 @@ export declare function ResolvedBlockPackDescriptionFromPackageJson(root: string
14
14
  version: string;
15
15
  }>;
16
16
  components: z.ZodObject<{
17
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, {
17
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodEffects<z.ZodString, {
18
18
  type: "absolute-file";
19
19
  file: string;
20
20
  }, string>, {
21
- type: string;
22
- main: any;
23
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
21
+ type: "workflow-v1";
22
+ main: {
23
+ type: "absolute-file";
24
+ file: string;
25
+ };
26
+ }, string>, z.ZodObject<{
27
+ type: z.ZodLiteral<"workflow-v1">;
28
+ main: z.ZodEffects<z.ZodString, {
29
+ type: "absolute-file";
30
+ file: string;
31
+ }, string>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ type: "workflow-v1";
34
+ main: {
35
+ type: "absolute-file";
36
+ file: string;
37
+ };
38
+ }, {
39
+ type: "workflow-v1";
40
+ main: string;
41
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
24
42
  type: z.ZodLiteral<"workflow-v1">;
25
43
  main: z.ZodEffects<z.ZodString, {
26
44
  type: "absolute-file";
@@ -46,8 +64,11 @@ export declare function ResolvedBlockPackDescriptionFromPackageJson(root: string
46
64
  }, string>;
47
65
  }, "strip", z.ZodTypeAny, {
48
66
  workflow: {
49
- type: string;
50
- main: any;
67
+ type: "workflow-v1";
68
+ main: {
69
+ type: "absolute-file";
70
+ file: string;
71
+ };
51
72
  } | {
52
73
  type: "workflow-v1";
53
74
  main: {
@@ -399,8 +420,11 @@ export declare function ResolvedBlockPackDescriptionFromPackageJson(root: string
399
420
  };
400
421
  components: {
401
422
  workflow: {
402
- type: string;
403
- main: any;
423
+ type: "workflow-v1";
424
+ main: {
425
+ type: "absolute-file";
426
+ file: string;
427
+ };
404
428
  } | {
405
429
  type: "workflow-v1";
406
430
  main: {
@@ -547,7 +571,7 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
547
571
  version: string;
548
572
  }>;
549
573
  components: z.ZodPipeline<z.ZodObject<{
550
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
574
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
551
575
  type: z.ZodLiteral<"explicit-base64">;
552
576
  mimeType: z.ZodString;
553
577
  content: z.ZodString;
@@ -583,8 +607,15 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
583
607
  type: "absolute-file";
584
608
  file: string;
585
609
  }>, {
586
- type: string;
587
- main: any;
610
+ type: "workflow-v1";
611
+ main: {
612
+ type: "relative";
613
+ path: string;
614
+ } | {
615
+ type: "explicit-base64";
616
+ content: string;
617
+ mimeType: string;
618
+ };
588
619
  }, {
589
620
  type: "explicit-base64";
590
621
  content: string;
@@ -592,7 +623,65 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
592
623
  } | {
593
624
  type: "absolute-file";
594
625
  file: string;
595
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
626
+ }>, z.ZodObject<{
627
+ type: z.ZodLiteral<"workflow-v1">;
628
+ main: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
629
+ type: z.ZodLiteral<"explicit-base64">;
630
+ mimeType: z.ZodString;
631
+ content: z.ZodString;
632
+ }, "strict", z.ZodTypeAny, {
633
+ type: "explicit-base64";
634
+ content: string;
635
+ mimeType: string;
636
+ }, {
637
+ type: "explicit-base64";
638
+ content: string;
639
+ mimeType: string;
640
+ }>, z.ZodObject<{
641
+ type: z.ZodLiteral<"absolute-file">;
642
+ file: z.ZodString;
643
+ }, "strict", z.ZodTypeAny, {
644
+ type: "absolute-file";
645
+ file: string;
646
+ }, {
647
+ type: "absolute-file";
648
+ file: string;
649
+ }>]>, {
650
+ type: "relative";
651
+ path: string;
652
+ } | {
653
+ type: "explicit-base64";
654
+ content: string;
655
+ mimeType: string;
656
+ }, {
657
+ type: "explicit-base64";
658
+ content: string;
659
+ mimeType: string;
660
+ } | {
661
+ type: "absolute-file";
662
+ file: string;
663
+ }>;
664
+ }, "strip", z.ZodTypeAny, {
665
+ type: "workflow-v1";
666
+ main: {
667
+ type: "relative";
668
+ path: string;
669
+ } | {
670
+ type: "explicit-base64";
671
+ content: string;
672
+ mimeType: string;
673
+ };
674
+ }, {
675
+ type: "workflow-v1";
676
+ main: {
677
+ type: "explicit-base64";
678
+ content: string;
679
+ mimeType: string;
680
+ } | {
681
+ type: "absolute-file";
682
+ file: string;
683
+ };
684
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
596
685
  type: z.ZodLiteral<"workflow-v1">;
597
686
  main: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
598
687
  type: z.ZodLiteral<"explicit-base64">;
@@ -705,8 +794,15 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
705
794
  }>;
706
795
  }, "strip", z.ZodTypeAny, {
707
796
  workflow: {
708
- type: string;
709
- main: any;
797
+ type: "workflow-v1";
798
+ main: {
799
+ type: "relative";
800
+ path: string;
801
+ } | {
802
+ type: "explicit-base64";
803
+ content: string;
804
+ mimeType: string;
805
+ };
710
806
  } | {
711
807
  type: "workflow-v1";
712
808
  main: {
@@ -762,7 +858,7 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
762
858
  folder: string;
763
859
  };
764
860
  }>, z.ZodObject<{
765
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
861
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodObject<{
766
862
  type: z.ZodLiteral<"relative">;
767
863
  path: z.ZodString;
768
864
  }, "strict", z.ZodTypeAny, {
@@ -772,12 +868,39 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
772
868
  type: "relative";
773
869
  path: string;
774
870
  }>, {
775
- type: string;
776
- main: any;
871
+ type: "workflow-v1";
872
+ main: {
873
+ type: "relative";
874
+ path: string;
875
+ };
777
876
  }, {
778
877
  type: "relative";
779
878
  path: string;
780
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
879
+ }>, z.ZodObject<{
880
+ type: z.ZodLiteral<"workflow-v1">;
881
+ main: z.ZodObject<{
882
+ type: z.ZodLiteral<"relative">;
883
+ path: z.ZodString;
884
+ }, "strict", z.ZodTypeAny, {
885
+ type: "relative";
886
+ path: string;
887
+ }, {
888
+ type: "relative";
889
+ path: string;
890
+ }>;
891
+ }, "strip", z.ZodTypeAny, {
892
+ type: "workflow-v1";
893
+ main: {
894
+ type: "relative";
895
+ path: string;
896
+ };
897
+ }, {
898
+ type: "workflow-v1";
899
+ main: {
900
+ type: "relative";
901
+ path: string;
902
+ };
903
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
781
904
  type: z.ZodLiteral<"workflow-v1">;
782
905
  main: z.ZodObject<{
783
906
  type: z.ZodLiteral<"relative">;
@@ -823,14 +946,7 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
823
946
  path: string;
824
947
  }>;
825
948
  }, "strip", z.ZodTypeAny, {
826
- ui: {
827
- type: "relative";
828
- path: string;
829
- };
830
949
  workflow: {
831
- type: string;
832
- main: any;
833
- } | {
834
950
  type: "workflow-v1";
835
951
  main: {
836
952
  type: "relative";
@@ -841,11 +957,11 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
841
957
  type: "relative";
842
958
  path: string;
843
959
  };
844
- }, {
845
960
  ui: {
846
961
  type: "relative";
847
962
  path: string;
848
963
  };
964
+ }, {
849
965
  workflow: {
850
966
  type: "relative";
851
967
  path: string;
@@ -860,6 +976,10 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
860
976
  type: "relative";
861
977
  path: string;
862
978
  };
979
+ ui: {
980
+ type: "relative";
981
+ path: string;
982
+ };
863
983
  }>>;
864
984
  meta: z.ZodObject<{
865
985
  title: z.ZodString;
@@ -1073,14 +1193,7 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1073
1193
  version: string;
1074
1194
  };
1075
1195
  components: {
1076
- ui: {
1077
- type: "relative";
1078
- path: string;
1079
- };
1080
1196
  workflow: {
1081
- type: string;
1082
- main: any;
1083
- } | {
1084
1197
  type: "workflow-v1";
1085
1198
  main: {
1086
1199
  type: "relative";
@@ -1091,6 +1204,10 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1091
1204
  type: "relative";
1092
1205
  path: string;
1093
1206
  };
1207
+ ui: {
1208
+ type: "relative";
1209
+ path: string;
1210
+ };
1094
1211
  };
1095
1212
  meta: {
1096
1213
  title: string;
@@ -1215,7 +1332,7 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1215
1332
  version: string;
1216
1333
  }>;
1217
1334
  components: z.ZodObject<{
1218
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1335
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1219
1336
  type: z.ZodLiteral<"relative">;
1220
1337
  path: z.ZodString;
1221
1338
  }, "strict", z.ZodTypeAny, {
@@ -1225,12 +1342,39 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1225
1342
  type: "relative";
1226
1343
  path: string;
1227
1344
  }>, {
1228
- type: string;
1229
- main: any;
1345
+ type: "workflow-v1";
1346
+ main: {
1347
+ type: "relative";
1348
+ path: string;
1349
+ };
1230
1350
  }, {
1231
1351
  type: "relative";
1232
1352
  path: string;
1233
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1353
+ }>, z.ZodObject<{
1354
+ type: z.ZodLiteral<"workflow-v1">;
1355
+ main: z.ZodObject<{
1356
+ type: z.ZodLiteral<"relative">;
1357
+ path: z.ZodString;
1358
+ }, "strict", z.ZodTypeAny, {
1359
+ type: "relative";
1360
+ path: string;
1361
+ }, {
1362
+ type: "relative";
1363
+ path: string;
1364
+ }>;
1365
+ }, "strip", z.ZodTypeAny, {
1366
+ type: "workflow-v1";
1367
+ main: {
1368
+ type: "relative";
1369
+ path: string;
1370
+ };
1371
+ }, {
1372
+ type: "workflow-v1";
1373
+ main: {
1374
+ type: "relative";
1375
+ path: string;
1376
+ };
1377
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1234
1378
  type: z.ZodLiteral<"workflow-v1">;
1235
1379
  main: z.ZodObject<{
1236
1380
  type: z.ZodLiteral<"relative">;
@@ -1276,14 +1420,7 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1276
1420
  path: string;
1277
1421
  }>;
1278
1422
  }, "strip", z.ZodTypeAny, {
1279
- ui: {
1280
- type: "relative";
1281
- path: string;
1282
- };
1283
1423
  workflow: {
1284
- type: string;
1285
- main: any;
1286
- } | {
1287
1424
  type: "workflow-v1";
1288
1425
  main: {
1289
1426
  type: "relative";
@@ -1294,11 +1431,11 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1294
1431
  type: "relative";
1295
1432
  path: string;
1296
1433
  };
1297
- }, {
1298
1434
  ui: {
1299
1435
  type: "relative";
1300
1436
  path: string;
1301
1437
  };
1438
+ }, {
1302
1439
  workflow: {
1303
1440
  type: "relative";
1304
1441
  path: string;
@@ -1313,6 +1450,10 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1313
1450
  type: "relative";
1314
1451
  path: string;
1315
1452
  };
1453
+ ui: {
1454
+ type: "relative";
1455
+ path: string;
1456
+ };
1316
1457
  }>;
1317
1458
  meta: z.ZodObject<{
1318
1459
  title: z.ZodString;
@@ -1481,14 +1622,7 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1481
1622
  }>;
1482
1623
  }, "strip", z.ZodTypeAny, {
1483
1624
  components: {
1484
- ui: {
1485
- type: "relative";
1486
- path: string;
1487
- };
1488
1625
  workflow: {
1489
- type: string;
1490
- main: any;
1491
- } | {
1492
1626
  type: "workflow-v1";
1493
1627
  main: {
1494
1628
  type: "relative";
@@ -1499,6 +1633,10 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1499
1633
  type: "relative";
1500
1634
  path: string;
1501
1635
  };
1636
+ ui: {
1637
+ type: "relative";
1638
+ path: string;
1639
+ };
1502
1640
  };
1503
1641
  meta: {
1504
1642
  organization: {
@@ -1542,10 +1680,6 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1542
1680
  };
1543
1681
  }, {
1544
1682
  components: {
1545
- ui: {
1546
- type: "relative";
1547
- path: string;
1548
- };
1549
1683
  workflow: {
1550
1684
  type: "relative";
1551
1685
  path: string;
@@ -1560,6 +1694,10 @@ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: strin
1560
1694
  type: "relative";
1561
1695
  path: string;
1562
1696
  };
1697
+ ui: {
1698
+ type: "relative";
1699
+ path: string;
1700
+ };
1563
1701
  };
1564
1702
  meta: {
1565
1703
  organization: {
@@ -1617,7 +1755,7 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
1617
1755
  version: string;
1618
1756
  }>;
1619
1757
  components: z.ZodObject<{
1620
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1758
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodObject<{
1621
1759
  type: z.ZodLiteral<"relative">;
1622
1760
  path: z.ZodString;
1623
1761
  }, "strict", z.ZodTypeAny, {
@@ -1627,12 +1765,39 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
1627
1765
  type: "relative";
1628
1766
  path: string;
1629
1767
  }>, {
1630
- type: string;
1631
- main: any;
1768
+ type: "workflow-v1";
1769
+ main: {
1770
+ type: "relative";
1771
+ path: string;
1772
+ };
1632
1773
  }, {
1633
1774
  type: "relative";
1634
1775
  path: string;
1635
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1776
+ }>, z.ZodObject<{
1777
+ type: z.ZodLiteral<"workflow-v1">;
1778
+ main: z.ZodObject<{
1779
+ type: z.ZodLiteral<"relative">;
1780
+ path: z.ZodString;
1781
+ }, "strict", z.ZodTypeAny, {
1782
+ type: "relative";
1783
+ path: string;
1784
+ }, {
1785
+ type: "relative";
1786
+ path: string;
1787
+ }>;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ type: "workflow-v1";
1790
+ main: {
1791
+ type: "relative";
1792
+ path: string;
1793
+ };
1794
+ }, {
1795
+ type: "workflow-v1";
1796
+ main: {
1797
+ type: "relative";
1798
+ path: string;
1799
+ };
1800
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1636
1801
  type: z.ZodLiteral<"workflow-v1">;
1637
1802
  main: z.ZodObject<{
1638
1803
  type: z.ZodLiteral<"relative">;
@@ -1678,14 +1843,7 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
1678
1843
  path: string;
1679
1844
  }>;
1680
1845
  }, "strip", z.ZodTypeAny, {
1681
- ui: {
1682
- type: "relative";
1683
- path: string;
1684
- };
1685
1846
  workflow: {
1686
- type: string;
1687
- main: any;
1688
- } | {
1689
1847
  type: "workflow-v1";
1690
1848
  main: {
1691
1849
  type: "relative";
@@ -1696,11 +1854,11 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
1696
1854
  type: "relative";
1697
1855
  path: string;
1698
1856
  };
1699
- }, {
1700
1857
  ui: {
1701
1858
  type: "relative";
1702
1859
  path: string;
1703
1860
  };
1861
+ }, {
1704
1862
  workflow: {
1705
1863
  type: "relative";
1706
1864
  path: string;
@@ -1715,6 +1873,10 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
1715
1873
  type: "relative";
1716
1874
  path: string;
1717
1875
  };
1876
+ ui: {
1877
+ type: "relative";
1878
+ path: string;
1879
+ };
1718
1880
  }>;
1719
1881
  meta: z.ZodObject<{
1720
1882
  title: z.ZodString;
@@ -1883,14 +2045,7 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
1883
2045
  }>;
1884
2046
  }, "strip", z.ZodTypeAny, {
1885
2047
  components: {
1886
- ui: {
1887
- type: "relative";
1888
- path: string;
1889
- };
1890
2048
  workflow: {
1891
- type: string;
1892
- main: any;
1893
- } | {
1894
2049
  type: "workflow-v1";
1895
2050
  main: {
1896
2051
  type: "relative";
@@ -1901,6 +2056,10 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
1901
2056
  type: "relative";
1902
2057
  path: string;
1903
2058
  };
2059
+ ui: {
2060
+ type: "relative";
2061
+ path: string;
2062
+ };
1904
2063
  };
1905
2064
  meta: {
1906
2065
  organization: {
@@ -1944,10 +2103,6 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
1944
2103
  };
1945
2104
  }, {
1946
2105
  components: {
1947
- ui: {
1948
- type: "relative";
1949
- path: string;
1950
- };
1951
2106
  workflow: {
1952
2107
  type: "relative";
1953
2108
  path: string;
@@ -1962,6 +2117,10 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
1962
2117
  type: "relative";
1963
2118
  path: string;
1964
2119
  };
2120
+ ui: {
2121
+ type: "relative";
2122
+ path: string;
2123
+ };
1965
2124
  };
1966
2125
  meta: {
1967
2126
  organization: {
@@ -2018,7 +2177,7 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2018
2177
  version: string;
2019
2178
  }>;
2020
2179
  components: z.ZodObject<{
2021
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
2180
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodEffects<z.ZodObject<{
2022
2181
  type: z.ZodLiteral<"relative">;
2023
2182
  path: z.ZodString;
2024
2183
  }, "strict", z.ZodTypeAny, {
@@ -2034,12 +2193,45 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2034
2193
  type: "relative";
2035
2194
  path: string;
2036
2195
  }>, {
2037
- type: string;
2038
- main: any;
2196
+ type: "workflow-v1";
2197
+ main: {
2198
+ type: "relative";
2199
+ path: string;
2200
+ };
2039
2201
  }, {
2040
2202
  type: "relative";
2041
2203
  path: string;
2042
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2204
+ }>, z.ZodObject<{
2205
+ type: z.ZodLiteral<"workflow-v1">;
2206
+ main: z.ZodEffects<z.ZodObject<{
2207
+ type: z.ZodLiteral<"relative">;
2208
+ path: z.ZodString;
2209
+ }, "strict", z.ZodTypeAny, {
2210
+ type: "relative";
2211
+ path: string;
2212
+ }, {
2213
+ type: "relative";
2214
+ path: string;
2215
+ }>, {
2216
+ type: "relative";
2217
+ path: string;
2218
+ }, {
2219
+ type: "relative";
2220
+ path: string;
2221
+ }>;
2222
+ }, "strip", z.ZodTypeAny, {
2223
+ type: "workflow-v1";
2224
+ main: {
2225
+ type: "relative";
2226
+ path: string;
2227
+ };
2228
+ }, {
2229
+ type: "workflow-v1";
2230
+ main: {
2231
+ type: "relative";
2232
+ path: string;
2233
+ };
2234
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2043
2235
  type: z.ZodLiteral<"workflow-v1">;
2044
2236
  main: z.ZodEffects<z.ZodObject<{
2045
2237
  type: z.ZodLiteral<"relative">;
@@ -2104,8 +2296,11 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2104
2296
  }>;
2105
2297
  }, "strip", z.ZodTypeAny, {
2106
2298
  workflow: {
2107
- type: string;
2108
- main: any;
2299
+ type: "workflow-v1";
2300
+ main: {
2301
+ type: "relative";
2302
+ path: string;
2303
+ };
2109
2304
  } | {
2110
2305
  type: "workflow-v1";
2111
2306
  main: {
@@ -2354,8 +2549,11 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2354
2549
  };
2355
2550
  components: {
2356
2551
  workflow: {
2357
- type: string;
2358
- main: any;
2552
+ type: "workflow-v1";
2553
+ main: {
2554
+ type: "relative";
2555
+ path: string;
2556
+ };
2359
2557
  } | {
2360
2558
  type: "workflow-v1";
2361
2559
  main: {
@@ -2483,7 +2681,7 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2483
2681
  version: string;
2484
2682
  }>;
2485
2683
  components: z.ZodObject<{
2486
- workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2684
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodObject<{
2487
2685
  type: z.ZodLiteral<"relative">;
2488
2686
  path: z.ZodString;
2489
2687
  }, "strict", z.ZodTypeAny, {
@@ -2493,12 +2691,39 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2493
2691
  type: "relative";
2494
2692
  path: string;
2495
2693
  }>, {
2496
- type: string;
2497
- main: any;
2694
+ type: "workflow-v1";
2695
+ main: {
2696
+ type: "relative";
2697
+ path: string;
2698
+ };
2498
2699
  }, {
2499
2700
  type: "relative";
2500
2701
  path: string;
2501
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2702
+ }>, z.ZodObject<{
2703
+ type: z.ZodLiteral<"workflow-v1">;
2704
+ main: z.ZodObject<{
2705
+ type: z.ZodLiteral<"relative">;
2706
+ path: z.ZodString;
2707
+ }, "strict", z.ZodTypeAny, {
2708
+ type: "relative";
2709
+ path: string;
2710
+ }, {
2711
+ type: "relative";
2712
+ path: string;
2713
+ }>;
2714
+ }, "strip", z.ZodTypeAny, {
2715
+ type: "workflow-v1";
2716
+ main: {
2717
+ type: "relative";
2718
+ path: string;
2719
+ };
2720
+ }, {
2721
+ type: "workflow-v1";
2722
+ main: {
2723
+ type: "relative";
2724
+ path: string;
2725
+ };
2726
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2502
2727
  type: z.ZodLiteral<"workflow-v1">;
2503
2728
  main: z.ZodObject<{
2504
2729
  type: z.ZodLiteral<"relative">;
@@ -2544,14 +2769,7 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2544
2769
  path: string;
2545
2770
  }>;
2546
2771
  }, "strip", z.ZodTypeAny, {
2547
- ui: {
2548
- type: "relative";
2549
- path: string;
2550
- };
2551
2772
  workflow: {
2552
- type: string;
2553
- main: any;
2554
- } | {
2555
2773
  type: "workflow-v1";
2556
2774
  main: {
2557
2775
  type: "relative";
@@ -2562,11 +2780,11 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2562
2780
  type: "relative";
2563
2781
  path: string;
2564
2782
  };
2565
- }, {
2566
2783
  ui: {
2567
2784
  type: "relative";
2568
2785
  path: string;
2569
2786
  };
2787
+ }, {
2570
2788
  workflow: {
2571
2789
  type: "relative";
2572
2790
  path: string;
@@ -2581,6 +2799,10 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2581
2799
  type: "relative";
2582
2800
  path: string;
2583
2801
  };
2802
+ ui: {
2803
+ type: "relative";
2804
+ path: string;
2805
+ };
2584
2806
  }>;
2585
2807
  meta: z.ZodObject<{
2586
2808
  title: z.ZodString;
@@ -2749,14 +2971,7 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2749
2971
  }>;
2750
2972
  }, "strip", z.ZodTypeAny, {
2751
2973
  components: {
2752
- ui: {
2753
- type: "relative";
2754
- path: string;
2755
- };
2756
2974
  workflow: {
2757
- type: string;
2758
- main: any;
2759
- } | {
2760
2975
  type: "workflow-v1";
2761
2976
  main: {
2762
2977
  type: "relative";
@@ -2767,6 +2982,10 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2767
2982
  type: "relative";
2768
2983
  path: string;
2769
2984
  };
2985
+ ui: {
2986
+ type: "relative";
2987
+ path: string;
2988
+ };
2770
2989
  };
2771
2990
  meta: {
2772
2991
  organization: {
@@ -2810,10 +3029,6 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2810
3029
  };
2811
3030
  }, {
2812
3031
  components: {
2813
- ui: {
2814
- type: "relative";
2815
- path: string;
2816
- };
2817
3032
  workflow: {
2818
3033
  type: "relative";
2819
3034
  path: string;
@@ -2828,6 +3043,10 @@ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix
2828
3043
  type: "relative";
2829
3044
  path: string;
2830
3045
  };
3046
+ ui: {
3047
+ type: "relative";
3048
+ path: string;
3049
+ };
2831
3050
  };
2832
3051
  meta: {
2833
3052
  organization: {