@platforma-sdk/block-tools 2.2.0 → 2.3.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 (65) 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-B1U40s2a.js +3 -0
  6. package/dist/config-B1U40s2a.js.map +1 -0
  7. package/dist/config-YukCegnp.mjs +1587 -0
  8. package/dist/config-YukCegnp.mjs.map +1 -0
  9. package/dist/index.js +1 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.mjs +170 -40
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/io/folder_reader.d.ts +24 -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/v2/index.d.ts +1 -0
  25. package/dist/v2/index.d.ts.map +1 -1
  26. package/dist/v2/model/block_components.d.ts +5 -5
  27. package/dist/v2/model/block_description.d.ts +48 -48
  28. package/dist/v2/model/block_meta.d.ts +554 -2
  29. package/dist/v2/model/block_meta.d.ts.map +1 -1
  30. package/dist/v2/model/content_conversion.d.ts +3 -1
  31. package/dist/v2/model/content_conversion.d.ts.map +1 -1
  32. package/dist/v2/registry/index.d.ts +4 -0
  33. package/dist/v2/registry/index.d.ts.map +1 -0
  34. package/dist/v2/registry/registry.d.ts +1 -1
  35. package/dist/v2/registry/registry.d.ts.map +1 -1
  36. package/dist/v2/registry/registry_reader.d.ts +12 -0
  37. package/dist/v2/registry/registry_reader.d.ts.map +1 -0
  38. package/dist/v2/registry/schema_public.d.ts +1925 -254
  39. package/dist/v2/registry/schema_public.d.ts.map +1 -1
  40. package/package.json +7 -4
  41. package/src/cmd/build-meta.ts +2 -2
  42. package/src/cmd/publish.ts +1 -1
  43. package/src/io/folder_reader.test.ts +21 -0
  44. package/src/io/folder_reader.ts +77 -0
  45. package/src/io/index.ts +2 -0
  46. package/src/lib.ts +1 -0
  47. package/src/registry_v1/config.ts +1 -1
  48. package/src/registry_v1/registry.test.ts +1 -1
  49. package/src/registry_v1/registry.ts +1 -1
  50. package/src/registry_v1/v1_repo_schema.ts +1 -1
  51. package/src/v2/index.ts +1 -0
  52. package/src/v2/model/block_meta.ts +23 -5
  53. package/src/v2/model/content_conversion.ts +30 -1
  54. package/src/v2/registry/index.ts +3 -0
  55. package/src/v2/registry/registry.ts +19 -12
  56. package/src/v2/registry/registry_reader.ts +71 -0
  57. package/src/v2/registry/schema_public.ts +31 -9
  58. package/dist/config-DJqN5LSx.js +0 -3
  59. package/dist/config-DJqN5LSx.js.map +0 -1
  60. package/dist/config-rGaQLD-7.mjs +0 -1350
  61. package/dist/config-rGaQLD-7.mjs.map +0 -1
  62. package/dist/lib/storage.d.ts.map +0 -1
  63. /package/dist/{lib → io}/storage.d.ts +0 -0
  64. /package/src/{lib → io}/storage.test.ts +0 -0
  65. /package/src/{lib → io}/storage.ts +0 -0
@@ -1,12 +1,14 @@
1
1
  import { BlockPackId, BlockPackIdNoVersion } from '@milaboratories/pl-model-middle-layer';
2
2
  import { z } from 'zod';
3
3
  import { RelativeContentReader } from '../model';
4
+ export declare const MainPrefix = "v2/";
5
+ export declare const GlobalOverviewFileName = "overview.json";
6
+ export declare const PackageOverviewFileName = "overview.json";
4
7
  export declare const ManifestFileName = "manifest.json";
5
8
  export declare function packageContentPrefix(bp: BlockPackId): string;
6
9
  export declare const ManifestSuffix: string;
7
- export declare const PackageOverview: z.ZodObject<{
8
- schema: z.ZodLiteral<"v2">;
9
- versions: z.ZodArray<z.ZodObject<{
10
+ export declare const PackageOverviewVersionEntry: z.ZodObject<{
11
+ description: z.ZodObject<{
10
12
  id: z.ZodObject<{
11
13
  organization: z.ZodString;
12
14
  name: z.ZodString;
@@ -82,10 +84,6 @@ export declare const PackageOverview: z.ZodObject<{
82
84
  path: string;
83
85
  }>;
84
86
  }, "strip", z.ZodTypeAny, {
85
- ui: {
86
- type: "relative";
87
- path: string;
88
- };
89
87
  workflow: {
90
88
  type: string;
91
89
  main: any;
@@ -100,11 +98,11 @@ export declare const PackageOverview: z.ZodObject<{
100
98
  type: "relative";
101
99
  path: string;
102
100
  };
103
- }, {
104
101
  ui: {
105
102
  type: "relative";
106
103
  path: string;
107
104
  };
105
+ }, {
108
106
  workflow: {
109
107
  type: "relative";
110
108
  path: string;
@@ -119,6 +117,10 @@ export declare const PackageOverview: z.ZodObject<{
119
117
  type: "relative";
120
118
  path: string;
121
119
  };
120
+ ui: {
121
+ type: "relative";
122
+ path: string;
123
+ };
122
124
  }>;
123
125
  meta: z.ZodObject<{
124
126
  title: z.ZodString;
@@ -287,10 +289,6 @@ export declare const PackageOverview: z.ZodObject<{
287
289
  }>;
288
290
  }, "strip", z.ZodTypeAny, {
289
291
  components: {
290
- ui: {
291
- type: "relative";
292
- path: string;
293
- };
294
292
  workflow: {
295
293
  type: string;
296
294
  main: any;
@@ -305,6 +303,10 @@ export declare const PackageOverview: z.ZodObject<{
305
303
  type: "relative";
306
304
  path: string;
307
305
  };
306
+ ui: {
307
+ type: "relative";
308
+ path: string;
309
+ };
308
310
  };
309
311
  meta: {
310
312
  organization: {
@@ -348,10 +350,6 @@ export declare const PackageOverview: z.ZodObject<{
348
350
  };
349
351
  }, {
350
352
  components: {
351
- ui: {
352
- type: "relative";
353
- path: string;
354
- };
355
353
  workflow: {
356
354
  type: "relative";
357
355
  path: string;
@@ -366,6 +364,10 @@ export declare const PackageOverview: z.ZodObject<{
366
364
  type: "relative";
367
365
  path: string;
368
366
  };
367
+ ui: {
368
+ type: "relative";
369
+ path: string;
370
+ };
369
371
  };
370
372
  meta: {
371
373
  organization: {
@@ -407,15 +409,11 @@ export declare const PackageOverview: z.ZodObject<{
407
409
  name: string;
408
410
  version: string;
409
411
  };
410
- }>, "many">;
412
+ }>;
413
+ manifestSha256: z.ZodString;
411
414
  }, "strip", z.ZodTypeAny, {
412
- schema: "v2";
413
- versions: {
415
+ description: {
414
416
  components: {
415
- ui: {
416
- type: "relative";
417
- path: string;
418
- };
419
417
  workflow: {
420
418
  type: string;
421
419
  main: any;
@@ -430,6 +428,10 @@ export declare const PackageOverview: z.ZodObject<{
430
428
  type: "relative";
431
429
  path: string;
432
430
  };
431
+ ui: {
432
+ type: "relative";
433
+ path: string;
434
+ };
433
435
  };
434
436
  meta: {
435
437
  organization: {
@@ -471,15 +473,11 @@ export declare const PackageOverview: z.ZodObject<{
471
473
  name: string;
472
474
  version: string;
473
475
  };
474
- }[];
476
+ };
477
+ manifestSha256: string;
475
478
  }, {
476
- schema: "v2";
477
- versions: {
479
+ description: {
478
480
  components: {
479
- ui: {
480
- type: "relative";
481
- path: string;
482
- };
483
481
  workflow: {
484
482
  type: "relative";
485
483
  path: string;
@@ -494,6 +492,10 @@ export declare const PackageOverview: z.ZodObject<{
494
492
  type: "relative";
495
493
  path: string;
496
494
  };
495
+ ui: {
496
+ type: "relative";
497
+ path: string;
498
+ };
497
499
  };
498
500
  meta: {
499
501
  organization: {
@@ -535,82 +537,1315 @@ export declare const PackageOverview: z.ZodObject<{
535
537
  name: string;
536
538
  version: string;
537
539
  };
538
- }[];
540
+ };
541
+ manifestSha256: string;
539
542
  }>;
540
- export type PackageOverview = z.infer<typeof PackageOverview>;
541
- export declare function packageOverviewPath(bp: BlockPackIdNoVersion): string;
542
- export declare const GlobalOverviewPath = "v2/overview.json";
543
- export declare function GlobalOverviewEntry<const Description extends z.ZodTypeAny>(descriptionType: Description): z.ZodObject<{
544
- id: z.ZodObject<Omit<{
545
- organization: z.ZodString;
546
- name: z.ZodString;
547
- version: z.ZodString;
548
- }, "version">, "strict", z.ZodTypeAny, {
549
- organization: string;
550
- name: string;
551
- }, {
552
- organization: string;
553
- name: string;
554
- }>;
555
- allVersions: z.ZodArray<z.ZodString, "many">;
556
- latest: Description;
557
- }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
558
- id: z.ZodObject<Omit<{
559
- organization: z.ZodString;
560
- name: z.ZodString;
561
- version: z.ZodString;
562
- }, "version">, "strict", z.ZodTypeAny, {
563
- organization: string;
564
- name: string;
565
- }, {
566
- organization: string;
567
- name: string;
568
- }>;
569
- allVersions: z.ZodArray<z.ZodString, "many">;
570
- latest: Description;
571
- }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
572
- id: z.ZodObject<Omit<{
573
- organization: z.ZodString;
574
- name: z.ZodString;
575
- version: z.ZodString;
576
- }, "version">, "strict", z.ZodTypeAny, {
577
- organization: string;
578
- name: string;
579
- }, {
580
- organization: string;
581
- name: string;
582
- }>;
583
- allVersions: z.ZodArray<z.ZodString, "many">;
584
- latest: Description;
585
- }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
586
- id: z.ZodObject<Omit<{
587
- organization: z.ZodString;
588
- name: z.ZodString;
589
- version: z.ZodString;
590
- }, "version">, "strict", z.ZodTypeAny, {
591
- organization: string;
592
- name: string;
593
- }, {
594
- organization: string;
595
- name: string;
596
- }>;
597
- allVersions: z.ZodArray<z.ZodString, "many">;
598
- latest: Description;
599
- }>]: z.baseObjectInputType<{
600
- id: z.ZodObject<Omit<{
601
- organization: z.ZodString;
602
- name: z.ZodString;
603
- version: z.ZodString;
604
- }, "version">, "strict", z.ZodTypeAny, {
605
- organization: string;
606
- name: string;
607
- }, {
608
- organization: string;
609
- name: string;
610
- }>;
611
- allVersions: z.ZodArray<z.ZodString, "many">;
612
- latest: Description;
613
- }>[k_1]; }>;
543
+ export type PackageOverviewVersionEntry = z.infer<typeof PackageOverviewVersionEntry>;
544
+ export declare const PackageOverview: z.ZodObject<{
545
+ schema: z.ZodLiteral<"v2">;
546
+ versions: z.ZodArray<z.ZodObject<{
547
+ description: z.ZodObject<{
548
+ id: z.ZodObject<{
549
+ organization: z.ZodString;
550
+ name: z.ZodString;
551
+ version: z.ZodString;
552
+ }, "strict", z.ZodTypeAny, {
553
+ organization: string;
554
+ name: string;
555
+ version: string;
556
+ }, {
557
+ organization: string;
558
+ name: string;
559
+ version: string;
560
+ }>;
561
+ components: z.ZodObject<{
562
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
563
+ type: z.ZodLiteral<"relative">;
564
+ path: z.ZodString;
565
+ }, "strict", z.ZodTypeAny, {
566
+ type: "relative";
567
+ path: string;
568
+ }, {
569
+ type: "relative";
570
+ path: string;
571
+ }>, {
572
+ type: string;
573
+ main: any;
574
+ }, {
575
+ type: "relative";
576
+ path: string;
577
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
578
+ type: z.ZodLiteral<"workflow-v1">;
579
+ main: z.ZodObject<{
580
+ type: z.ZodLiteral<"relative">;
581
+ path: z.ZodString;
582
+ }, "strict", z.ZodTypeAny, {
583
+ type: "relative";
584
+ path: string;
585
+ }, {
586
+ type: "relative";
587
+ path: string;
588
+ }>;
589
+ }, "strip", z.ZodTypeAny, {
590
+ type: "workflow-v1";
591
+ main: {
592
+ type: "relative";
593
+ path: string;
594
+ };
595
+ }, {
596
+ type: "workflow-v1";
597
+ main: {
598
+ type: "relative";
599
+ path: string;
600
+ };
601
+ }>]>]>;
602
+ model: z.ZodObject<{
603
+ type: z.ZodLiteral<"relative">;
604
+ path: z.ZodString;
605
+ }, "strict", z.ZodTypeAny, {
606
+ type: "relative";
607
+ path: string;
608
+ }, {
609
+ type: "relative";
610
+ path: string;
611
+ }>;
612
+ ui: z.ZodObject<{
613
+ type: z.ZodLiteral<"relative">;
614
+ path: z.ZodString;
615
+ }, "strict", z.ZodTypeAny, {
616
+ type: "relative";
617
+ path: string;
618
+ }, {
619
+ type: "relative";
620
+ path: string;
621
+ }>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ workflow: {
624
+ type: string;
625
+ main: any;
626
+ } | {
627
+ type: "workflow-v1";
628
+ main: {
629
+ type: "relative";
630
+ path: string;
631
+ };
632
+ };
633
+ model: {
634
+ type: "relative";
635
+ path: string;
636
+ };
637
+ ui: {
638
+ type: "relative";
639
+ path: string;
640
+ };
641
+ }, {
642
+ workflow: {
643
+ type: "relative";
644
+ path: string;
645
+ } | {
646
+ type: "workflow-v1";
647
+ main: {
648
+ type: "relative";
649
+ path: string;
650
+ };
651
+ };
652
+ model: {
653
+ type: "relative";
654
+ path: string;
655
+ };
656
+ ui: {
657
+ type: "relative";
658
+ path: string;
659
+ };
660
+ }>;
661
+ meta: z.ZodObject<{
662
+ title: z.ZodString;
663
+ description: z.ZodString;
664
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
665
+ type: z.ZodLiteral<"explicit-string">;
666
+ content: z.ZodString;
667
+ }, "strict", z.ZodTypeAny, {
668
+ type: "explicit-string";
669
+ content: string;
670
+ }, {
671
+ type: "explicit-string";
672
+ content: string;
673
+ }>, z.ZodObject<{
674
+ type: z.ZodLiteral<"relative">;
675
+ path: z.ZodString;
676
+ }, "strict", z.ZodTypeAny, {
677
+ type: "relative";
678
+ path: string;
679
+ }, {
680
+ type: "relative";
681
+ path: string;
682
+ }>]>>;
683
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
684
+ type: z.ZodLiteral<"explicit-base64">;
685
+ mimeType: z.ZodString;
686
+ content: z.ZodString;
687
+ }, "strict", z.ZodTypeAny, {
688
+ type: "explicit-base64";
689
+ content: string;
690
+ mimeType: string;
691
+ }, {
692
+ type: "explicit-base64";
693
+ content: string;
694
+ mimeType: string;
695
+ }>, z.ZodObject<{
696
+ type: z.ZodLiteral<"relative">;
697
+ path: z.ZodString;
698
+ }, "strict", z.ZodTypeAny, {
699
+ type: "relative";
700
+ path: string;
701
+ }, {
702
+ type: "relative";
703
+ path: string;
704
+ }>]>>;
705
+ url: z.ZodOptional<z.ZodString>;
706
+ docs: z.ZodOptional<z.ZodString>;
707
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
708
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
709
+ organization: z.ZodObject<{
710
+ name: z.ZodString;
711
+ url: z.ZodString;
712
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
713
+ type: z.ZodLiteral<"explicit-base64">;
714
+ mimeType: z.ZodString;
715
+ content: z.ZodString;
716
+ }, "strict", z.ZodTypeAny, {
717
+ type: "explicit-base64";
718
+ content: string;
719
+ mimeType: string;
720
+ }, {
721
+ type: "explicit-base64";
722
+ content: string;
723
+ mimeType: string;
724
+ }>, z.ZodObject<{
725
+ type: z.ZodLiteral<"relative">;
726
+ path: z.ZodString;
727
+ }, "strict", z.ZodTypeAny, {
728
+ type: "relative";
729
+ path: string;
730
+ }, {
731
+ type: "relative";
732
+ path: string;
733
+ }>]>>;
734
+ }, "strip", z.ZodTypeAny, {
735
+ url: string;
736
+ name: string;
737
+ logo?: {
738
+ type: "explicit-base64";
739
+ content: string;
740
+ mimeType: string;
741
+ } | {
742
+ type: "relative";
743
+ path: string;
744
+ } | undefined;
745
+ }, {
746
+ url: string;
747
+ name: string;
748
+ logo?: {
749
+ type: "explicit-base64";
750
+ content: string;
751
+ mimeType: string;
752
+ } | {
753
+ type: "relative";
754
+ path: string;
755
+ } | undefined;
756
+ }>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ organization: {
759
+ url: string;
760
+ name: string;
761
+ logo?: {
762
+ type: "explicit-base64";
763
+ content: string;
764
+ mimeType: string;
765
+ } | {
766
+ type: "relative";
767
+ path: string;
768
+ } | undefined;
769
+ };
770
+ title: string;
771
+ description: string;
772
+ url?: string | undefined;
773
+ longDescription?: {
774
+ type: "explicit-string";
775
+ content: string;
776
+ } | {
777
+ type: "relative";
778
+ path: string;
779
+ } | undefined;
780
+ logo?: {
781
+ type: "explicit-base64";
782
+ content: string;
783
+ mimeType: string;
784
+ } | {
785
+ type: "relative";
786
+ path: string;
787
+ } | undefined;
788
+ docs?: string | undefined;
789
+ support?: string | undefined;
790
+ tags?: string[] | undefined;
791
+ }, {
792
+ organization: {
793
+ url: string;
794
+ name: string;
795
+ logo?: {
796
+ type: "explicit-base64";
797
+ content: string;
798
+ mimeType: string;
799
+ } | {
800
+ type: "relative";
801
+ path: string;
802
+ } | undefined;
803
+ };
804
+ title: string;
805
+ description: string;
806
+ url?: string | undefined;
807
+ longDescription?: {
808
+ type: "explicit-string";
809
+ content: string;
810
+ } | {
811
+ type: "relative";
812
+ path: string;
813
+ } | undefined;
814
+ logo?: {
815
+ type: "explicit-base64";
816
+ content: string;
817
+ mimeType: string;
818
+ } | {
819
+ type: "relative";
820
+ path: string;
821
+ } | undefined;
822
+ docs?: string | undefined;
823
+ support?: string | undefined;
824
+ tags?: string[] | undefined;
825
+ }>;
826
+ }, "strip", z.ZodTypeAny, {
827
+ components: {
828
+ workflow: {
829
+ type: string;
830
+ main: any;
831
+ } | {
832
+ type: "workflow-v1";
833
+ main: {
834
+ type: "relative";
835
+ path: string;
836
+ };
837
+ };
838
+ model: {
839
+ type: "relative";
840
+ path: string;
841
+ };
842
+ ui: {
843
+ type: "relative";
844
+ path: string;
845
+ };
846
+ };
847
+ meta: {
848
+ organization: {
849
+ url: string;
850
+ name: string;
851
+ logo?: {
852
+ type: "explicit-base64";
853
+ content: string;
854
+ mimeType: string;
855
+ } | {
856
+ type: "relative";
857
+ path: string;
858
+ } | undefined;
859
+ };
860
+ title: string;
861
+ description: string;
862
+ url?: string | undefined;
863
+ longDescription?: {
864
+ type: "explicit-string";
865
+ content: string;
866
+ } | {
867
+ type: "relative";
868
+ path: string;
869
+ } | undefined;
870
+ logo?: {
871
+ type: "explicit-base64";
872
+ content: string;
873
+ mimeType: string;
874
+ } | {
875
+ type: "relative";
876
+ path: string;
877
+ } | undefined;
878
+ docs?: string | undefined;
879
+ support?: string | undefined;
880
+ tags?: string[] | undefined;
881
+ };
882
+ id: {
883
+ organization: string;
884
+ name: string;
885
+ version: string;
886
+ };
887
+ }, {
888
+ components: {
889
+ workflow: {
890
+ type: "relative";
891
+ path: string;
892
+ } | {
893
+ type: "workflow-v1";
894
+ main: {
895
+ type: "relative";
896
+ path: string;
897
+ };
898
+ };
899
+ model: {
900
+ type: "relative";
901
+ path: string;
902
+ };
903
+ ui: {
904
+ type: "relative";
905
+ path: string;
906
+ };
907
+ };
908
+ meta: {
909
+ organization: {
910
+ url: string;
911
+ name: string;
912
+ logo?: {
913
+ type: "explicit-base64";
914
+ content: string;
915
+ mimeType: string;
916
+ } | {
917
+ type: "relative";
918
+ path: string;
919
+ } | undefined;
920
+ };
921
+ title: string;
922
+ description: string;
923
+ url?: string | undefined;
924
+ longDescription?: {
925
+ type: "explicit-string";
926
+ content: string;
927
+ } | {
928
+ type: "relative";
929
+ path: string;
930
+ } | undefined;
931
+ logo?: {
932
+ type: "explicit-base64";
933
+ content: string;
934
+ mimeType: string;
935
+ } | {
936
+ type: "relative";
937
+ path: string;
938
+ } | undefined;
939
+ docs?: string | undefined;
940
+ support?: string | undefined;
941
+ tags?: string[] | undefined;
942
+ };
943
+ id: {
944
+ organization: string;
945
+ name: string;
946
+ version: string;
947
+ };
948
+ }>;
949
+ manifestSha256: z.ZodString;
950
+ }, "strip", z.ZodTypeAny, {
951
+ description: {
952
+ components: {
953
+ workflow: {
954
+ type: string;
955
+ main: any;
956
+ } | {
957
+ type: "workflow-v1";
958
+ main: {
959
+ type: "relative";
960
+ path: string;
961
+ };
962
+ };
963
+ model: {
964
+ type: "relative";
965
+ path: string;
966
+ };
967
+ ui: {
968
+ type: "relative";
969
+ path: string;
970
+ };
971
+ };
972
+ meta: {
973
+ organization: {
974
+ url: string;
975
+ name: string;
976
+ logo?: {
977
+ type: "explicit-base64";
978
+ content: string;
979
+ mimeType: string;
980
+ } | {
981
+ type: "relative";
982
+ path: string;
983
+ } | undefined;
984
+ };
985
+ title: string;
986
+ description: string;
987
+ url?: string | undefined;
988
+ longDescription?: {
989
+ type: "explicit-string";
990
+ content: string;
991
+ } | {
992
+ type: "relative";
993
+ path: string;
994
+ } | undefined;
995
+ logo?: {
996
+ type: "explicit-base64";
997
+ content: string;
998
+ mimeType: string;
999
+ } | {
1000
+ type: "relative";
1001
+ path: string;
1002
+ } | undefined;
1003
+ docs?: string | undefined;
1004
+ support?: string | undefined;
1005
+ tags?: string[] | undefined;
1006
+ };
1007
+ id: {
1008
+ organization: string;
1009
+ name: string;
1010
+ version: string;
1011
+ };
1012
+ };
1013
+ manifestSha256: string;
1014
+ }, {
1015
+ description: {
1016
+ components: {
1017
+ workflow: {
1018
+ type: "relative";
1019
+ path: string;
1020
+ } | {
1021
+ type: "workflow-v1";
1022
+ main: {
1023
+ type: "relative";
1024
+ path: string;
1025
+ };
1026
+ };
1027
+ model: {
1028
+ type: "relative";
1029
+ path: string;
1030
+ };
1031
+ ui: {
1032
+ type: "relative";
1033
+ path: string;
1034
+ };
1035
+ };
1036
+ meta: {
1037
+ organization: {
1038
+ url: string;
1039
+ name: string;
1040
+ logo?: {
1041
+ type: "explicit-base64";
1042
+ content: string;
1043
+ mimeType: string;
1044
+ } | {
1045
+ type: "relative";
1046
+ path: string;
1047
+ } | undefined;
1048
+ };
1049
+ title: string;
1050
+ description: string;
1051
+ url?: string | undefined;
1052
+ longDescription?: {
1053
+ type: "explicit-string";
1054
+ content: string;
1055
+ } | {
1056
+ type: "relative";
1057
+ path: string;
1058
+ } | undefined;
1059
+ logo?: {
1060
+ type: "explicit-base64";
1061
+ content: string;
1062
+ mimeType: string;
1063
+ } | {
1064
+ type: "relative";
1065
+ path: string;
1066
+ } | undefined;
1067
+ docs?: string | undefined;
1068
+ support?: string | undefined;
1069
+ tags?: string[] | undefined;
1070
+ };
1071
+ id: {
1072
+ organization: string;
1073
+ name: string;
1074
+ version: string;
1075
+ };
1076
+ };
1077
+ manifestSha256: string;
1078
+ }>, "many">;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ schema: "v2";
1081
+ versions: {
1082
+ description: {
1083
+ components: {
1084
+ workflow: {
1085
+ type: string;
1086
+ main: any;
1087
+ } | {
1088
+ type: "workflow-v1";
1089
+ main: {
1090
+ type: "relative";
1091
+ path: string;
1092
+ };
1093
+ };
1094
+ model: {
1095
+ type: "relative";
1096
+ path: string;
1097
+ };
1098
+ ui: {
1099
+ type: "relative";
1100
+ path: string;
1101
+ };
1102
+ };
1103
+ meta: {
1104
+ organization: {
1105
+ url: string;
1106
+ name: string;
1107
+ logo?: {
1108
+ type: "explicit-base64";
1109
+ content: string;
1110
+ mimeType: string;
1111
+ } | {
1112
+ type: "relative";
1113
+ path: string;
1114
+ } | undefined;
1115
+ };
1116
+ title: string;
1117
+ description: string;
1118
+ url?: string | undefined;
1119
+ longDescription?: {
1120
+ type: "explicit-string";
1121
+ content: string;
1122
+ } | {
1123
+ type: "relative";
1124
+ path: string;
1125
+ } | undefined;
1126
+ logo?: {
1127
+ type: "explicit-base64";
1128
+ content: string;
1129
+ mimeType: string;
1130
+ } | {
1131
+ type: "relative";
1132
+ path: string;
1133
+ } | undefined;
1134
+ docs?: string | undefined;
1135
+ support?: string | undefined;
1136
+ tags?: string[] | undefined;
1137
+ };
1138
+ id: {
1139
+ organization: string;
1140
+ name: string;
1141
+ version: string;
1142
+ };
1143
+ };
1144
+ manifestSha256: string;
1145
+ }[];
1146
+ }, {
1147
+ schema: "v2";
1148
+ versions: {
1149
+ description: {
1150
+ components: {
1151
+ workflow: {
1152
+ type: "relative";
1153
+ path: string;
1154
+ } | {
1155
+ type: "workflow-v1";
1156
+ main: {
1157
+ type: "relative";
1158
+ path: string;
1159
+ };
1160
+ };
1161
+ model: {
1162
+ type: "relative";
1163
+ path: string;
1164
+ };
1165
+ ui: {
1166
+ type: "relative";
1167
+ path: string;
1168
+ };
1169
+ };
1170
+ meta: {
1171
+ organization: {
1172
+ url: string;
1173
+ name: string;
1174
+ logo?: {
1175
+ type: "explicit-base64";
1176
+ content: string;
1177
+ mimeType: string;
1178
+ } | {
1179
+ type: "relative";
1180
+ path: string;
1181
+ } | undefined;
1182
+ };
1183
+ title: string;
1184
+ description: string;
1185
+ url?: string | undefined;
1186
+ longDescription?: {
1187
+ type: "explicit-string";
1188
+ content: string;
1189
+ } | {
1190
+ type: "relative";
1191
+ path: string;
1192
+ } | undefined;
1193
+ logo?: {
1194
+ type: "explicit-base64";
1195
+ content: string;
1196
+ mimeType: string;
1197
+ } | {
1198
+ type: "relative";
1199
+ path: string;
1200
+ } | undefined;
1201
+ docs?: string | undefined;
1202
+ support?: string | undefined;
1203
+ tags?: string[] | undefined;
1204
+ };
1205
+ id: {
1206
+ organization: string;
1207
+ name: string;
1208
+ version: string;
1209
+ };
1210
+ };
1211
+ manifestSha256: string;
1212
+ }[];
1213
+ }>;
1214
+ export type PackageOverview = z.infer<typeof PackageOverview>;
1215
+ export declare function packageOverviewPath(bp: BlockPackIdNoVersion): string;
1216
+ export declare const GlobalOverviewPath = "v2/overview.json";
1217
+ export declare function GlobalOverviewEntry<const Description extends z.ZodTypeAny>(descriptionType: Description): z.ZodObject<{
1218
+ id: z.ZodObject<Omit<{
1219
+ organization: z.ZodString;
1220
+ name: z.ZodString;
1221
+ version: z.ZodString;
1222
+ }, "version">, "strict", z.ZodTypeAny, {
1223
+ organization: string;
1224
+ name: string;
1225
+ }, {
1226
+ organization: string;
1227
+ name: string;
1228
+ }>;
1229
+ allVersions: z.ZodArray<z.ZodString, "many">;
1230
+ latest: Description;
1231
+ latestManifestSha256: z.ZodString;
1232
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
1233
+ id: z.ZodObject<Omit<{
1234
+ organization: z.ZodString;
1235
+ name: z.ZodString;
1236
+ version: z.ZodString;
1237
+ }, "version">, "strict", z.ZodTypeAny, {
1238
+ organization: string;
1239
+ name: string;
1240
+ }, {
1241
+ organization: string;
1242
+ name: string;
1243
+ }>;
1244
+ allVersions: z.ZodArray<z.ZodString, "many">;
1245
+ latest: Description;
1246
+ latestManifestSha256: z.ZodString;
1247
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
1248
+ id: z.ZodObject<Omit<{
1249
+ organization: z.ZodString;
1250
+ name: z.ZodString;
1251
+ version: z.ZodString;
1252
+ }, "version">, "strict", z.ZodTypeAny, {
1253
+ organization: string;
1254
+ name: string;
1255
+ }, {
1256
+ organization: string;
1257
+ name: string;
1258
+ }>;
1259
+ allVersions: z.ZodArray<z.ZodString, "many">;
1260
+ latest: Description;
1261
+ latestManifestSha256: z.ZodString;
1262
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
1263
+ id: z.ZodObject<Omit<{
1264
+ organization: z.ZodString;
1265
+ name: z.ZodString;
1266
+ version: z.ZodString;
1267
+ }, "version">, "strict", z.ZodTypeAny, {
1268
+ organization: string;
1269
+ name: string;
1270
+ }, {
1271
+ organization: string;
1272
+ name: string;
1273
+ }>;
1274
+ allVersions: z.ZodArray<z.ZodString, "many">;
1275
+ latest: Description;
1276
+ latestManifestSha256: z.ZodString;
1277
+ }>]: z.baseObjectInputType<{
1278
+ id: z.ZodObject<Omit<{
1279
+ organization: z.ZodString;
1280
+ name: z.ZodString;
1281
+ version: z.ZodString;
1282
+ }, "version">, "strict", z.ZodTypeAny, {
1283
+ organization: string;
1284
+ name: string;
1285
+ }, {
1286
+ organization: string;
1287
+ name: string;
1288
+ }>;
1289
+ allVersions: z.ZodArray<z.ZodString, "many">;
1290
+ latest: Description;
1291
+ latestManifestSha256: z.ZodString;
1292
+ }>[k_1]; }>;
1293
+ export declare const GlobalOverviewEntryReg: z.ZodObject<{
1294
+ id: z.ZodObject<Omit<{
1295
+ organization: z.ZodString;
1296
+ name: z.ZodString;
1297
+ version: z.ZodString;
1298
+ }, "version">, "strict", z.ZodTypeAny, {
1299
+ organization: string;
1300
+ name: string;
1301
+ }, {
1302
+ organization: string;
1303
+ name: string;
1304
+ }>;
1305
+ allVersions: z.ZodArray<z.ZodString, "many">;
1306
+ latest: z.ZodObject<{
1307
+ id: z.ZodObject<{
1308
+ organization: z.ZodString;
1309
+ name: z.ZodString;
1310
+ version: z.ZodString;
1311
+ }, "strict", z.ZodTypeAny, {
1312
+ organization: string;
1313
+ name: string;
1314
+ version: string;
1315
+ }, {
1316
+ organization: string;
1317
+ name: string;
1318
+ version: string;
1319
+ }>;
1320
+ components: z.ZodObject<{
1321
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1322
+ type: z.ZodLiteral<"relative">;
1323
+ path: z.ZodString;
1324
+ }, "strict", z.ZodTypeAny, {
1325
+ type: "relative";
1326
+ path: string;
1327
+ }, {
1328
+ type: "relative";
1329
+ path: string;
1330
+ }>, {
1331
+ type: string;
1332
+ main: any;
1333
+ }, {
1334
+ type: "relative";
1335
+ path: string;
1336
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1337
+ type: z.ZodLiteral<"workflow-v1">;
1338
+ main: z.ZodObject<{
1339
+ type: z.ZodLiteral<"relative">;
1340
+ path: z.ZodString;
1341
+ }, "strict", z.ZodTypeAny, {
1342
+ type: "relative";
1343
+ path: string;
1344
+ }, {
1345
+ type: "relative";
1346
+ path: string;
1347
+ }>;
1348
+ }, "strip", z.ZodTypeAny, {
1349
+ type: "workflow-v1";
1350
+ main: {
1351
+ type: "relative";
1352
+ path: string;
1353
+ };
1354
+ }, {
1355
+ type: "workflow-v1";
1356
+ main: {
1357
+ type: "relative";
1358
+ path: string;
1359
+ };
1360
+ }>]>]>;
1361
+ model: z.ZodObject<{
1362
+ type: z.ZodLiteral<"relative">;
1363
+ path: z.ZodString;
1364
+ }, "strict", z.ZodTypeAny, {
1365
+ type: "relative";
1366
+ path: string;
1367
+ }, {
1368
+ type: "relative";
1369
+ path: string;
1370
+ }>;
1371
+ ui: z.ZodObject<{
1372
+ type: z.ZodLiteral<"relative">;
1373
+ path: z.ZodString;
1374
+ }, "strict", z.ZodTypeAny, {
1375
+ type: "relative";
1376
+ path: string;
1377
+ }, {
1378
+ type: "relative";
1379
+ path: string;
1380
+ }>;
1381
+ }, "strip", z.ZodTypeAny, {
1382
+ workflow: {
1383
+ type: string;
1384
+ main: any;
1385
+ } | {
1386
+ type: "workflow-v1";
1387
+ main: {
1388
+ type: "relative";
1389
+ path: string;
1390
+ };
1391
+ };
1392
+ model: {
1393
+ type: "relative";
1394
+ path: string;
1395
+ };
1396
+ ui: {
1397
+ type: "relative";
1398
+ path: string;
1399
+ };
1400
+ }, {
1401
+ workflow: {
1402
+ type: "relative";
1403
+ path: string;
1404
+ } | {
1405
+ type: "workflow-v1";
1406
+ main: {
1407
+ type: "relative";
1408
+ path: string;
1409
+ };
1410
+ };
1411
+ model: {
1412
+ type: "relative";
1413
+ path: string;
1414
+ };
1415
+ ui: {
1416
+ type: "relative";
1417
+ path: string;
1418
+ };
1419
+ }>;
1420
+ meta: z.ZodObject<{
1421
+ title: z.ZodString;
1422
+ description: z.ZodString;
1423
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1424
+ type: z.ZodLiteral<"explicit-string">;
1425
+ content: z.ZodString;
1426
+ }, "strict", z.ZodTypeAny, {
1427
+ type: "explicit-string";
1428
+ content: string;
1429
+ }, {
1430
+ type: "explicit-string";
1431
+ content: string;
1432
+ }>, z.ZodObject<{
1433
+ type: z.ZodLiteral<"relative">;
1434
+ path: z.ZodString;
1435
+ }, "strict", z.ZodTypeAny, {
1436
+ type: "relative";
1437
+ path: string;
1438
+ }, {
1439
+ type: "relative";
1440
+ path: string;
1441
+ }>]>>;
1442
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1443
+ type: z.ZodLiteral<"explicit-base64">;
1444
+ mimeType: z.ZodString;
1445
+ content: z.ZodString;
1446
+ }, "strict", z.ZodTypeAny, {
1447
+ type: "explicit-base64";
1448
+ content: string;
1449
+ mimeType: string;
1450
+ }, {
1451
+ type: "explicit-base64";
1452
+ content: string;
1453
+ mimeType: string;
1454
+ }>, z.ZodObject<{
1455
+ type: z.ZodLiteral<"relative">;
1456
+ path: z.ZodString;
1457
+ }, "strict", z.ZodTypeAny, {
1458
+ type: "relative";
1459
+ path: string;
1460
+ }, {
1461
+ type: "relative";
1462
+ path: string;
1463
+ }>]>>;
1464
+ url: z.ZodOptional<z.ZodString>;
1465
+ docs: z.ZodOptional<z.ZodString>;
1466
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1467
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1468
+ organization: z.ZodObject<{
1469
+ name: z.ZodString;
1470
+ url: z.ZodString;
1471
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1472
+ type: z.ZodLiteral<"explicit-base64">;
1473
+ mimeType: z.ZodString;
1474
+ content: z.ZodString;
1475
+ }, "strict", z.ZodTypeAny, {
1476
+ type: "explicit-base64";
1477
+ content: string;
1478
+ mimeType: string;
1479
+ }, {
1480
+ type: "explicit-base64";
1481
+ content: string;
1482
+ mimeType: string;
1483
+ }>, z.ZodObject<{
1484
+ type: z.ZodLiteral<"relative">;
1485
+ path: z.ZodString;
1486
+ }, "strict", z.ZodTypeAny, {
1487
+ type: "relative";
1488
+ path: string;
1489
+ }, {
1490
+ type: "relative";
1491
+ path: string;
1492
+ }>]>>;
1493
+ }, "strip", z.ZodTypeAny, {
1494
+ url: string;
1495
+ name: string;
1496
+ logo?: {
1497
+ type: "explicit-base64";
1498
+ content: string;
1499
+ mimeType: string;
1500
+ } | {
1501
+ type: "relative";
1502
+ path: string;
1503
+ } | undefined;
1504
+ }, {
1505
+ url: string;
1506
+ name: string;
1507
+ logo?: {
1508
+ type: "explicit-base64";
1509
+ content: string;
1510
+ mimeType: string;
1511
+ } | {
1512
+ type: "relative";
1513
+ path: string;
1514
+ } | undefined;
1515
+ }>;
1516
+ }, "strip", z.ZodTypeAny, {
1517
+ organization: {
1518
+ url: string;
1519
+ name: string;
1520
+ logo?: {
1521
+ type: "explicit-base64";
1522
+ content: string;
1523
+ mimeType: string;
1524
+ } | {
1525
+ type: "relative";
1526
+ path: string;
1527
+ } | undefined;
1528
+ };
1529
+ title: string;
1530
+ description: string;
1531
+ url?: string | undefined;
1532
+ longDescription?: {
1533
+ type: "explicit-string";
1534
+ content: string;
1535
+ } | {
1536
+ type: "relative";
1537
+ path: string;
1538
+ } | undefined;
1539
+ logo?: {
1540
+ type: "explicit-base64";
1541
+ content: string;
1542
+ mimeType: string;
1543
+ } | {
1544
+ type: "relative";
1545
+ path: string;
1546
+ } | undefined;
1547
+ docs?: string | undefined;
1548
+ support?: string | undefined;
1549
+ tags?: string[] | undefined;
1550
+ }, {
1551
+ organization: {
1552
+ url: string;
1553
+ name: string;
1554
+ logo?: {
1555
+ type: "explicit-base64";
1556
+ content: string;
1557
+ mimeType: string;
1558
+ } | {
1559
+ type: "relative";
1560
+ path: string;
1561
+ } | undefined;
1562
+ };
1563
+ title: string;
1564
+ description: string;
1565
+ url?: string | undefined;
1566
+ longDescription?: {
1567
+ type: "explicit-string";
1568
+ content: string;
1569
+ } | {
1570
+ type: "relative";
1571
+ path: string;
1572
+ } | undefined;
1573
+ logo?: {
1574
+ type: "explicit-base64";
1575
+ content: string;
1576
+ mimeType: string;
1577
+ } | {
1578
+ type: "relative";
1579
+ path: string;
1580
+ } | undefined;
1581
+ docs?: string | undefined;
1582
+ support?: string | undefined;
1583
+ tags?: string[] | undefined;
1584
+ }>;
1585
+ }, "strip", z.ZodTypeAny, {
1586
+ components: {
1587
+ workflow: {
1588
+ type: string;
1589
+ main: any;
1590
+ } | {
1591
+ type: "workflow-v1";
1592
+ main: {
1593
+ type: "relative";
1594
+ path: string;
1595
+ };
1596
+ };
1597
+ model: {
1598
+ type: "relative";
1599
+ path: string;
1600
+ };
1601
+ ui: {
1602
+ type: "relative";
1603
+ path: string;
1604
+ };
1605
+ };
1606
+ meta: {
1607
+ organization: {
1608
+ url: string;
1609
+ name: string;
1610
+ logo?: {
1611
+ type: "explicit-base64";
1612
+ content: string;
1613
+ mimeType: string;
1614
+ } | {
1615
+ type: "relative";
1616
+ path: string;
1617
+ } | undefined;
1618
+ };
1619
+ title: string;
1620
+ description: string;
1621
+ url?: string | undefined;
1622
+ longDescription?: {
1623
+ type: "explicit-string";
1624
+ content: string;
1625
+ } | {
1626
+ type: "relative";
1627
+ path: string;
1628
+ } | undefined;
1629
+ logo?: {
1630
+ type: "explicit-base64";
1631
+ content: string;
1632
+ mimeType: string;
1633
+ } | {
1634
+ type: "relative";
1635
+ path: string;
1636
+ } | undefined;
1637
+ docs?: string | undefined;
1638
+ support?: string | undefined;
1639
+ tags?: string[] | undefined;
1640
+ };
1641
+ id: {
1642
+ organization: string;
1643
+ name: string;
1644
+ version: string;
1645
+ };
1646
+ }, {
1647
+ components: {
1648
+ workflow: {
1649
+ type: "relative";
1650
+ path: string;
1651
+ } | {
1652
+ type: "workflow-v1";
1653
+ main: {
1654
+ type: "relative";
1655
+ path: string;
1656
+ };
1657
+ };
1658
+ model: {
1659
+ type: "relative";
1660
+ path: string;
1661
+ };
1662
+ ui: {
1663
+ type: "relative";
1664
+ path: string;
1665
+ };
1666
+ };
1667
+ meta: {
1668
+ organization: {
1669
+ url: string;
1670
+ name: string;
1671
+ logo?: {
1672
+ type: "explicit-base64";
1673
+ content: string;
1674
+ mimeType: string;
1675
+ } | {
1676
+ type: "relative";
1677
+ path: string;
1678
+ } | undefined;
1679
+ };
1680
+ title: string;
1681
+ description: string;
1682
+ url?: string | undefined;
1683
+ longDescription?: {
1684
+ type: "explicit-string";
1685
+ content: string;
1686
+ } | {
1687
+ type: "relative";
1688
+ path: string;
1689
+ } | undefined;
1690
+ logo?: {
1691
+ type: "explicit-base64";
1692
+ content: string;
1693
+ mimeType: string;
1694
+ } | {
1695
+ type: "relative";
1696
+ path: string;
1697
+ } | undefined;
1698
+ docs?: string | undefined;
1699
+ support?: string | undefined;
1700
+ tags?: string[] | undefined;
1701
+ };
1702
+ id: {
1703
+ organization: string;
1704
+ name: string;
1705
+ version: string;
1706
+ };
1707
+ }>;
1708
+ latestManifestSha256: z.ZodString;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ id: {
1711
+ organization: string;
1712
+ name: string;
1713
+ };
1714
+ allVersions: string[];
1715
+ latest: {
1716
+ components: {
1717
+ workflow: {
1718
+ type: string;
1719
+ main: any;
1720
+ } | {
1721
+ type: "workflow-v1";
1722
+ main: {
1723
+ type: "relative";
1724
+ path: string;
1725
+ };
1726
+ };
1727
+ model: {
1728
+ type: "relative";
1729
+ path: string;
1730
+ };
1731
+ ui: {
1732
+ type: "relative";
1733
+ path: string;
1734
+ };
1735
+ };
1736
+ meta: {
1737
+ organization: {
1738
+ url: string;
1739
+ name: string;
1740
+ logo?: {
1741
+ type: "explicit-base64";
1742
+ content: string;
1743
+ mimeType: string;
1744
+ } | {
1745
+ type: "relative";
1746
+ path: string;
1747
+ } | undefined;
1748
+ };
1749
+ title: string;
1750
+ description: string;
1751
+ url?: string | undefined;
1752
+ longDescription?: {
1753
+ type: "explicit-string";
1754
+ content: string;
1755
+ } | {
1756
+ type: "relative";
1757
+ path: string;
1758
+ } | undefined;
1759
+ logo?: {
1760
+ type: "explicit-base64";
1761
+ content: string;
1762
+ mimeType: string;
1763
+ } | {
1764
+ type: "relative";
1765
+ path: string;
1766
+ } | undefined;
1767
+ docs?: string | undefined;
1768
+ support?: string | undefined;
1769
+ tags?: string[] | undefined;
1770
+ };
1771
+ id: {
1772
+ organization: string;
1773
+ name: string;
1774
+ version: string;
1775
+ };
1776
+ };
1777
+ latestManifestSha256: string;
1778
+ }, {
1779
+ id: {
1780
+ organization: string;
1781
+ name: string;
1782
+ };
1783
+ allVersions: string[];
1784
+ latest: {
1785
+ components: {
1786
+ workflow: {
1787
+ type: "relative";
1788
+ path: string;
1789
+ } | {
1790
+ type: "workflow-v1";
1791
+ main: {
1792
+ type: "relative";
1793
+ path: string;
1794
+ };
1795
+ };
1796
+ model: {
1797
+ type: "relative";
1798
+ path: string;
1799
+ };
1800
+ ui: {
1801
+ type: "relative";
1802
+ path: string;
1803
+ };
1804
+ };
1805
+ meta: {
1806
+ organization: {
1807
+ url: string;
1808
+ name: string;
1809
+ logo?: {
1810
+ type: "explicit-base64";
1811
+ content: string;
1812
+ mimeType: string;
1813
+ } | {
1814
+ type: "relative";
1815
+ path: string;
1816
+ } | undefined;
1817
+ };
1818
+ title: string;
1819
+ description: string;
1820
+ url?: string | undefined;
1821
+ longDescription?: {
1822
+ type: "explicit-string";
1823
+ content: string;
1824
+ } | {
1825
+ type: "relative";
1826
+ path: string;
1827
+ } | undefined;
1828
+ logo?: {
1829
+ type: "explicit-base64";
1830
+ content: string;
1831
+ mimeType: string;
1832
+ } | {
1833
+ type: "relative";
1834
+ path: string;
1835
+ } | undefined;
1836
+ docs?: string | undefined;
1837
+ support?: string | undefined;
1838
+ tags?: string[] | undefined;
1839
+ };
1840
+ id: {
1841
+ organization: string;
1842
+ name: string;
1843
+ version: string;
1844
+ };
1845
+ };
1846
+ latestManifestSha256: string;
1847
+ }>;
1848
+ export type GlobalOverviewEntryReg = z.infer<typeof GlobalOverviewEntryReg>;
614
1849
  export declare function GlobalOverview<const Description extends z.ZodTypeAny>(descriptionType: Description): z.ZodObject<{
615
1850
  schema: z.ZodLiteral<"v2">;
616
1851
  packages: z.ZodArray<z.ZodObject<{
@@ -627,6 +1862,7 @@ export declare function GlobalOverview<const Description extends z.ZodTypeAny>(d
627
1862
  }>;
628
1863
  allVersions: z.ZodArray<z.ZodString, "many">;
629
1864
  latest: Description;
1865
+ latestManifestSha256: z.ZodString;
630
1866
  }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
631
1867
  id: z.ZodObject<Omit<{
632
1868
  organization: z.ZodString;
@@ -641,6 +1877,7 @@ export declare function GlobalOverview<const Description extends z.ZodTypeAny>(d
641
1877
  }>;
642
1878
  allVersions: z.ZodArray<z.ZodString, "many">;
643
1879
  latest: Description;
1880
+ latestManifestSha256: z.ZodString;
644
1881
  }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
645
1882
  id: z.ZodObject<Omit<{
646
1883
  organization: z.ZodString;
@@ -655,6 +1892,7 @@ export declare function GlobalOverview<const Description extends z.ZodTypeAny>(d
655
1892
  }>;
656
1893
  allVersions: z.ZodArray<z.ZodString, "many">;
657
1894
  latest: Description;
1895
+ latestManifestSha256: z.ZodString;
658
1896
  }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
659
1897
  id: z.ZodObject<Omit<{
660
1898
  organization: z.ZodString;
@@ -669,6 +1907,7 @@ export declare function GlobalOverview<const Description extends z.ZodTypeAny>(d
669
1907
  }>;
670
1908
  allVersions: z.ZodArray<z.ZodString, "many">;
671
1909
  latest: Description;
1910
+ latestManifestSha256: z.ZodString;
672
1911
  }>]: z.baseObjectInputType<{
673
1912
  id: z.ZodObject<Omit<{
674
1913
  organization: z.ZodString;
@@ -683,6 +1922,7 @@ export declare function GlobalOverview<const Description extends z.ZodTypeAny>(d
683
1922
  }>;
684
1923
  allVersions: z.ZodArray<z.ZodString, "many">;
685
1924
  latest: Description;
1925
+ latestManifestSha256: z.ZodString;
686
1926
  }>[k_1]; }>, "many">;
687
1927
  }, "strip", z.ZodTypeAny, {
688
1928
  schema: "v2";
@@ -700,6 +1940,7 @@ export declare function GlobalOverview<const Description extends z.ZodTypeAny>(d
700
1940
  }>;
701
1941
  allVersions: z.ZodArray<z.ZodString, "many">;
702
1942
  latest: Description;
1943
+ latestManifestSha256: z.ZodString;
703
1944
  }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
704
1945
  id: z.ZodObject<Omit<{
705
1946
  organization: z.ZodString;
@@ -714,6 +1955,7 @@ export declare function GlobalOverview<const Description extends z.ZodTypeAny>(d
714
1955
  }>;
715
1956
  allVersions: z.ZodArray<z.ZodString, "many">;
716
1957
  latest: Description;
1958
+ latestManifestSha256: z.ZodString;
717
1959
  }>, any>[k]; }[];
718
1960
  }, {
719
1961
  schema: "v2";
@@ -731,6 +1973,7 @@ export declare function GlobalOverview<const Description extends z.ZodTypeAny>(d
731
1973
  }>;
732
1974
  allVersions: z.ZodArray<z.ZodString, "many">;
733
1975
  latest: Description;
1976
+ latestManifestSha256: z.ZodString;
734
1977
  }>]: z.baseObjectInputType<{
735
1978
  id: z.ZodObject<Omit<{
736
1979
  organization: z.ZodString;
@@ -745,6 +1988,7 @@ export declare function GlobalOverview<const Description extends z.ZodTypeAny>(d
745
1988
  }>;
746
1989
  allVersions: z.ZodArray<z.ZodString, "many">;
747
1990
  latest: Description;
1991
+ latestManifestSha256: z.ZodString;
748
1992
  }>[k_1]; }[];
749
1993
  }>;
750
1994
  export declare const GlobalOverviewReg: z.ZodObject<{
@@ -838,10 +2082,6 @@ export declare const GlobalOverviewReg: z.ZodObject<{
838
2082
  path: string;
839
2083
  }>;
840
2084
  }, "strip", z.ZodTypeAny, {
841
- ui: {
842
- type: "relative";
843
- path: string;
844
- };
845
2085
  workflow: {
846
2086
  type: string;
847
2087
  main: any;
@@ -856,11 +2096,11 @@ export declare const GlobalOverviewReg: z.ZodObject<{
856
2096
  type: "relative";
857
2097
  path: string;
858
2098
  };
859
- }, {
860
2099
  ui: {
861
2100
  type: "relative";
862
2101
  path: string;
863
2102
  };
2103
+ }, {
864
2104
  workflow: {
865
2105
  type: "relative";
866
2106
  path: string;
@@ -875,6 +2115,10 @@ export declare const GlobalOverviewReg: z.ZodObject<{
875
2115
  type: "relative";
876
2116
  path: string;
877
2117
  };
2118
+ ui: {
2119
+ type: "relative";
2120
+ path: string;
2121
+ };
878
2122
  }>;
879
2123
  meta: z.ZodObject<{
880
2124
  title: z.ZodString;
@@ -1043,10 +2287,6 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1043
2287
  }>;
1044
2288
  }, "strip", z.ZodTypeAny, {
1045
2289
  components: {
1046
- ui: {
1047
- type: "relative";
1048
- path: string;
1049
- };
1050
2290
  workflow: {
1051
2291
  type: string;
1052
2292
  main: any;
@@ -1061,6 +2301,10 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1061
2301
  type: "relative";
1062
2302
  path: string;
1063
2303
  };
2304
+ ui: {
2305
+ type: "relative";
2306
+ path: string;
2307
+ };
1064
2308
  };
1065
2309
  meta: {
1066
2310
  organization: {
@@ -1104,10 +2348,6 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1104
2348
  };
1105
2349
  }, {
1106
2350
  components: {
1107
- ui: {
1108
- type: "relative";
1109
- path: string;
1110
- };
1111
2351
  workflow: {
1112
2352
  type: "relative";
1113
2353
  path: string;
@@ -1122,6 +2362,10 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1122
2362
  type: "relative";
1123
2363
  path: string;
1124
2364
  };
2365
+ ui: {
2366
+ type: "relative";
2367
+ path: string;
2368
+ };
1125
2369
  };
1126
2370
  meta: {
1127
2371
  organization: {
@@ -1164,6 +2408,7 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1164
2408
  version: string;
1165
2409
  };
1166
2410
  }>;
2411
+ latestManifestSha256: z.ZodString;
1167
2412
  }, "strip", z.ZodTypeAny, {
1168
2413
  id: {
1169
2414
  organization: string;
@@ -1172,10 +2417,6 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1172
2417
  allVersions: string[];
1173
2418
  latest: {
1174
2419
  components: {
1175
- ui: {
1176
- type: "relative";
1177
- path: string;
1178
- };
1179
2420
  workflow: {
1180
2421
  type: string;
1181
2422
  main: any;
@@ -1190,6 +2431,10 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1190
2431
  type: "relative";
1191
2432
  path: string;
1192
2433
  };
2434
+ ui: {
2435
+ type: "relative";
2436
+ path: string;
2437
+ };
1193
2438
  };
1194
2439
  meta: {
1195
2440
  organization: {
@@ -1232,6 +2477,7 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1232
2477
  version: string;
1233
2478
  };
1234
2479
  };
2480
+ latestManifestSha256: string;
1235
2481
  }, {
1236
2482
  id: {
1237
2483
  organization: string;
@@ -1240,10 +2486,6 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1240
2486
  allVersions: string[];
1241
2487
  latest: {
1242
2488
  components: {
1243
- ui: {
1244
- type: "relative";
1245
- path: string;
1246
- };
1247
2489
  workflow: {
1248
2490
  type: "relative";
1249
2491
  path: string;
@@ -1258,6 +2500,10 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1258
2500
  type: "relative";
1259
2501
  path: string;
1260
2502
  };
2503
+ ui: {
2504
+ type: "relative";
2505
+ path: string;
2506
+ };
1261
2507
  };
1262
2508
  meta: {
1263
2509
  organization: {
@@ -1300,6 +2546,7 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1300
2546
  version: string;
1301
2547
  };
1302
2548
  };
2549
+ latestManifestSha256: string;
1303
2550
  }>, "many">;
1304
2551
  }, "strip", z.ZodTypeAny, {
1305
2552
  schema: "v2";
@@ -1311,13 +2558,81 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1311
2558
  allVersions: string[];
1312
2559
  latest: {
1313
2560
  components: {
2561
+ workflow: {
2562
+ type: string;
2563
+ main: any;
2564
+ } | {
2565
+ type: "workflow-v1";
2566
+ main: {
2567
+ type: "relative";
2568
+ path: string;
2569
+ };
2570
+ };
2571
+ model: {
2572
+ type: "relative";
2573
+ path: string;
2574
+ };
1314
2575
  ui: {
1315
2576
  type: "relative";
1316
2577
  path: string;
1317
2578
  };
2579
+ };
2580
+ meta: {
2581
+ organization: {
2582
+ url: string;
2583
+ name: string;
2584
+ logo?: {
2585
+ type: "explicit-base64";
2586
+ content: string;
2587
+ mimeType: string;
2588
+ } | {
2589
+ type: "relative";
2590
+ path: string;
2591
+ } | undefined;
2592
+ };
2593
+ title: string;
2594
+ description: string;
2595
+ url?: string | undefined;
2596
+ longDescription?: {
2597
+ type: "explicit-string";
2598
+ content: string;
2599
+ } | {
2600
+ type: "relative";
2601
+ path: string;
2602
+ } | undefined;
2603
+ logo?: {
2604
+ type: "explicit-base64";
2605
+ content: string;
2606
+ mimeType: string;
2607
+ } | {
2608
+ type: "relative";
2609
+ path: string;
2610
+ } | undefined;
2611
+ docs?: string | undefined;
2612
+ support?: string | undefined;
2613
+ tags?: string[] | undefined;
2614
+ };
2615
+ id: {
2616
+ organization: string;
2617
+ name: string;
2618
+ version: string;
2619
+ };
2620
+ };
2621
+ latestManifestSha256: string;
2622
+ }[];
2623
+ }, {
2624
+ schema: "v2";
2625
+ packages: {
2626
+ id: {
2627
+ organization: string;
2628
+ name: string;
2629
+ };
2630
+ allVersions: string[];
2631
+ latest: {
2632
+ components: {
1318
2633
  workflow: {
1319
- type: string;
1320
- main: any;
2634
+ type: "relative";
2635
+ path: string;
1321
2636
  } | {
1322
2637
  type: "workflow-v1";
1323
2638
  main: {
@@ -1329,6 +2644,10 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1329
2644
  type: "relative";
1330
2645
  path: string;
1331
2646
  };
2647
+ ui: {
2648
+ type: "relative";
2649
+ path: string;
2650
+ };
1332
2651
  };
1333
2652
  meta: {
1334
2653
  organization: {
@@ -1371,80 +2690,422 @@ export declare const GlobalOverviewReg: z.ZodObject<{
1371
2690
  version: string;
1372
2691
  };
1373
2692
  };
1374
- }[];
1375
- }, {
1376
- schema: "v2";
1377
- packages: {
1378
- id: {
1379
- organization: string;
2693
+ latestManifestSha256: string;
2694
+ }[];
2695
+ }>;
2696
+ export type GlobalOverviewReg = z.infer<typeof GlobalOverviewReg>;
2697
+ export declare function BlockDescriptionToExplicitBinaryBytes(reader: RelativeContentReader): z.ZodObject<{
2698
+ id: z.ZodObject<{
2699
+ organization: z.ZodString;
2700
+ name: z.ZodString;
2701
+ version: z.ZodString;
2702
+ }, "strict", z.ZodTypeAny, {
2703
+ organization: string;
2704
+ name: string;
2705
+ version: string;
2706
+ }, {
2707
+ organization: string;
2708
+ name: string;
2709
+ version: string;
2710
+ }>;
2711
+ components: z.ZodObject<{
2712
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2713
+ type: z.ZodLiteral<"relative">;
2714
+ path: z.ZodString;
2715
+ }, "strict", z.ZodTypeAny, {
2716
+ type: "relative";
2717
+ path: string;
2718
+ }, {
2719
+ type: "relative";
2720
+ path: string;
2721
+ }>, {
2722
+ type: string;
2723
+ main: any;
2724
+ }, {
2725
+ type: "relative";
2726
+ path: string;
2727
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2728
+ type: z.ZodLiteral<"workflow-v1">;
2729
+ main: z.ZodObject<{
2730
+ type: z.ZodLiteral<"relative">;
2731
+ path: z.ZodString;
2732
+ }, "strict", z.ZodTypeAny, {
2733
+ type: "relative";
2734
+ path: string;
2735
+ }, {
2736
+ type: "relative";
2737
+ path: string;
2738
+ }>;
2739
+ }, "strip", z.ZodTypeAny, {
2740
+ type: "workflow-v1";
2741
+ main: {
2742
+ type: "relative";
2743
+ path: string;
2744
+ };
2745
+ }, {
2746
+ type: "workflow-v1";
2747
+ main: {
2748
+ type: "relative";
2749
+ path: string;
2750
+ };
2751
+ }>]>]>;
2752
+ model: z.ZodObject<{
2753
+ type: z.ZodLiteral<"relative">;
2754
+ path: z.ZodString;
2755
+ }, "strict", z.ZodTypeAny, {
2756
+ type: "relative";
2757
+ path: string;
2758
+ }, {
2759
+ type: "relative";
2760
+ path: string;
2761
+ }>;
2762
+ ui: z.ZodObject<{
2763
+ type: z.ZodLiteral<"relative">;
2764
+ path: z.ZodString;
2765
+ }, "strict", z.ZodTypeAny, {
2766
+ type: "relative";
2767
+ path: string;
2768
+ }, {
2769
+ type: "relative";
2770
+ path: string;
2771
+ }>;
2772
+ }, "strip", z.ZodTypeAny, {
2773
+ workflow: {
2774
+ type: string;
2775
+ main: any;
2776
+ } | {
2777
+ type: "workflow-v1";
2778
+ main: {
2779
+ type: "relative";
2780
+ path: string;
2781
+ };
2782
+ };
2783
+ model: {
2784
+ type: "relative";
2785
+ path: string;
2786
+ };
2787
+ ui: {
2788
+ type: "relative";
2789
+ path: string;
2790
+ };
2791
+ }, {
2792
+ workflow: {
2793
+ type: "relative";
2794
+ path: string;
2795
+ } | {
2796
+ type: "workflow-v1";
2797
+ main: {
2798
+ type: "relative";
2799
+ path: string;
2800
+ };
2801
+ };
2802
+ model: {
2803
+ type: "relative";
2804
+ path: string;
2805
+ };
2806
+ ui: {
2807
+ type: "relative";
2808
+ path: string;
2809
+ };
2810
+ }>;
2811
+ meta: z.ZodObject<{
2812
+ title: z.ZodString;
2813
+ description: z.ZodString;
2814
+ longDescription: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2815
+ type: z.ZodLiteral<"explicit-string">;
2816
+ content: z.ZodString;
2817
+ }, "strict", z.ZodTypeAny, {
2818
+ type: "explicit-string";
2819
+ content: string;
2820
+ }, {
2821
+ type: "explicit-string";
2822
+ content: string;
2823
+ }>, z.ZodObject<{
2824
+ type: z.ZodLiteral<"relative">;
2825
+ path: z.ZodString;
2826
+ }, "strict", z.ZodTypeAny, {
2827
+ type: "relative";
2828
+ path: string;
2829
+ }, {
2830
+ type: "relative";
2831
+ path: string;
2832
+ }>]>, {
2833
+ type: "explicit-string";
2834
+ content: string;
2835
+ }, {
2836
+ type: "explicit-string";
2837
+ content: string;
2838
+ } | {
2839
+ type: "relative";
2840
+ path: string;
2841
+ }>>;
2842
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2843
+ type: z.ZodLiteral<"explicit-base64">;
2844
+ mimeType: z.ZodString;
2845
+ content: z.ZodString;
2846
+ }, "strict", z.ZodTypeAny, {
2847
+ type: "explicit-base64";
2848
+ content: string;
2849
+ mimeType: string;
2850
+ }, {
2851
+ type: "explicit-base64";
2852
+ content: string;
2853
+ mimeType: string;
2854
+ }>, z.ZodObject<{
2855
+ type: z.ZodLiteral<"relative">;
2856
+ path: z.ZodString;
2857
+ }, "strict", z.ZodTypeAny, {
2858
+ type: "relative";
2859
+ path: string;
2860
+ }, {
2861
+ type: "relative";
2862
+ path: string;
2863
+ }>]>, {
2864
+ type: "explicit-bytes";
2865
+ content: Uint8Array;
2866
+ mimeType: string;
2867
+ }, {
2868
+ type: "explicit-base64";
2869
+ content: string;
2870
+ mimeType: string;
2871
+ } | {
2872
+ type: "relative";
2873
+ path: string;
2874
+ }>>;
2875
+ url: z.ZodOptional<z.ZodString>;
2876
+ docs: z.ZodOptional<z.ZodString>;
2877
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2878
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2879
+ organization: z.ZodObject<{
2880
+ name: z.ZodString;
2881
+ url: z.ZodString;
2882
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2883
+ type: z.ZodLiteral<"explicit-base64">;
2884
+ mimeType: z.ZodString;
2885
+ content: z.ZodString;
2886
+ }, "strict", z.ZodTypeAny, {
2887
+ type: "explicit-base64";
2888
+ content: string;
2889
+ mimeType: string;
2890
+ }, {
2891
+ type: "explicit-base64";
2892
+ content: string;
2893
+ mimeType: string;
2894
+ }>, z.ZodObject<{
2895
+ type: z.ZodLiteral<"relative">;
2896
+ path: z.ZodString;
2897
+ }, "strict", z.ZodTypeAny, {
2898
+ type: "relative";
2899
+ path: string;
2900
+ }, {
2901
+ type: "relative";
2902
+ path: string;
2903
+ }>]>, {
2904
+ type: "explicit-bytes";
2905
+ content: Uint8Array;
2906
+ mimeType: string;
2907
+ }, {
2908
+ type: "explicit-base64";
2909
+ content: string;
2910
+ mimeType: string;
2911
+ } | {
2912
+ type: "relative";
2913
+ path: string;
2914
+ }>>;
2915
+ }, "strip", z.ZodTypeAny, {
2916
+ url: string;
2917
+ name: string;
2918
+ logo?: {
2919
+ type: "explicit-bytes";
2920
+ content: Uint8Array;
2921
+ mimeType: string;
2922
+ } | undefined;
2923
+ }, {
2924
+ url: string;
2925
+ name: string;
2926
+ logo?: {
2927
+ type: "explicit-base64";
2928
+ content: string;
2929
+ mimeType: string;
2930
+ } | {
2931
+ type: "relative";
2932
+ path: string;
2933
+ } | undefined;
2934
+ }>;
2935
+ }, "strip", z.ZodTypeAny, {
2936
+ title: string;
2937
+ description: string;
2938
+ organization: {
2939
+ url: string;
2940
+ name: string;
2941
+ logo?: {
2942
+ type: "explicit-bytes";
2943
+ content: Uint8Array;
2944
+ mimeType: string;
2945
+ } | undefined;
2946
+ };
2947
+ longDescription?: {
2948
+ type: "explicit-string";
2949
+ content: string;
2950
+ } | undefined;
2951
+ logo?: {
2952
+ type: "explicit-bytes";
2953
+ content: Uint8Array;
2954
+ mimeType: string;
2955
+ } | undefined;
2956
+ url?: string | undefined;
2957
+ docs?: string | undefined;
2958
+ support?: string | undefined;
2959
+ tags?: string[] | undefined;
2960
+ }, {
2961
+ title: string;
2962
+ description: string;
2963
+ organization: {
2964
+ url: string;
1380
2965
  name: string;
2966
+ logo?: {
2967
+ type: "explicit-base64";
2968
+ content: string;
2969
+ mimeType: string;
2970
+ } | {
2971
+ type: "relative";
2972
+ path: string;
2973
+ } | undefined;
1381
2974
  };
1382
- allVersions: string[];
1383
- latest: {
1384
- components: {
1385
- ui: {
1386
- type: "relative";
1387
- path: string;
1388
- };
1389
- workflow: {
1390
- type: "relative";
1391
- path: string;
1392
- } | {
1393
- type: "workflow-v1";
1394
- main: {
1395
- type: "relative";
1396
- path: string;
1397
- };
1398
- };
1399
- model: {
1400
- type: "relative";
1401
- path: string;
1402
- };
1403
- };
1404
- meta: {
1405
- organization: {
1406
- url: string;
1407
- name: string;
1408
- logo?: {
1409
- type: "explicit-base64";
1410
- content: string;
1411
- mimeType: string;
1412
- } | {
1413
- type: "relative";
1414
- path: string;
1415
- } | undefined;
1416
- };
1417
- title: string;
1418
- description: string;
1419
- url?: string | undefined;
1420
- longDescription?: {
1421
- type: "explicit-string";
1422
- content: string;
1423
- } | {
1424
- type: "relative";
1425
- path: string;
1426
- } | undefined;
1427
- logo?: {
1428
- type: "explicit-base64";
1429
- content: string;
1430
- mimeType: string;
1431
- } | {
1432
- type: "relative";
1433
- path: string;
1434
- } | undefined;
1435
- docs?: string | undefined;
1436
- support?: string | undefined;
1437
- tags?: string[] | undefined;
2975
+ longDescription?: {
2976
+ type: "explicit-string";
2977
+ content: string;
2978
+ } | {
2979
+ type: "relative";
2980
+ path: string;
2981
+ } | undefined;
2982
+ logo?: {
2983
+ type: "explicit-base64";
2984
+ content: string;
2985
+ mimeType: string;
2986
+ } | {
2987
+ type: "relative";
2988
+ path: string;
2989
+ } | undefined;
2990
+ url?: string | undefined;
2991
+ docs?: string | undefined;
2992
+ support?: string | undefined;
2993
+ tags?: string[] | undefined;
2994
+ }>;
2995
+ }, "strip", z.ZodTypeAny, {
2996
+ id: {
2997
+ organization: string;
2998
+ name: string;
2999
+ version: string;
3000
+ };
3001
+ components: {
3002
+ workflow: {
3003
+ type: string;
3004
+ main: any;
3005
+ } | {
3006
+ type: "workflow-v1";
3007
+ main: {
3008
+ type: "relative";
3009
+ path: string;
1438
3010
  };
1439
- id: {
1440
- organization: string;
1441
- name: string;
1442
- version: string;
3011
+ };
3012
+ model: {
3013
+ type: "relative";
3014
+ path: string;
3015
+ };
3016
+ ui: {
3017
+ type: "relative";
3018
+ path: string;
3019
+ };
3020
+ };
3021
+ meta: {
3022
+ title: string;
3023
+ description: string;
3024
+ organization: {
3025
+ url: string;
3026
+ name: string;
3027
+ logo?: {
3028
+ type: "explicit-bytes";
3029
+ content: Uint8Array;
3030
+ mimeType: string;
3031
+ } | undefined;
3032
+ };
3033
+ longDescription?: {
3034
+ type: "explicit-string";
3035
+ content: string;
3036
+ } | undefined;
3037
+ logo?: {
3038
+ type: "explicit-bytes";
3039
+ content: Uint8Array;
3040
+ mimeType: string;
3041
+ } | undefined;
3042
+ url?: string | undefined;
3043
+ docs?: string | undefined;
3044
+ support?: string | undefined;
3045
+ tags?: string[] | undefined;
3046
+ };
3047
+ }, {
3048
+ id: {
3049
+ organization: string;
3050
+ name: string;
3051
+ version: string;
3052
+ };
3053
+ components: {
3054
+ workflow: {
3055
+ type: "relative";
3056
+ path: string;
3057
+ } | {
3058
+ type: "workflow-v1";
3059
+ main: {
3060
+ type: "relative";
3061
+ path: string;
1443
3062
  };
1444
3063
  };
1445
- }[];
3064
+ model: {
3065
+ type: "relative";
3066
+ path: string;
3067
+ };
3068
+ ui: {
3069
+ type: "relative";
3070
+ path: string;
3071
+ };
3072
+ };
3073
+ meta: {
3074
+ title: string;
3075
+ description: string;
3076
+ organization: {
3077
+ url: string;
3078
+ name: string;
3079
+ logo?: {
3080
+ type: "explicit-base64";
3081
+ content: string;
3082
+ mimeType: string;
3083
+ } | {
3084
+ type: "relative";
3085
+ path: string;
3086
+ } | undefined;
3087
+ };
3088
+ longDescription?: {
3089
+ type: "explicit-string";
3090
+ content: string;
3091
+ } | {
3092
+ type: "relative";
3093
+ path: string;
3094
+ } | undefined;
3095
+ logo?: {
3096
+ type: "explicit-base64";
3097
+ content: string;
3098
+ mimeType: string;
3099
+ } | {
3100
+ type: "relative";
3101
+ path: string;
3102
+ } | undefined;
3103
+ url?: string | undefined;
3104
+ docs?: string | undefined;
3105
+ support?: string | undefined;
3106
+ tags?: string[] | undefined;
3107
+ };
1446
3108
  }>;
1447
- export type GlobalOverviewReg = z.infer<typeof GlobalOverviewReg>;
1448
3109
  export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeContentReader): z.ZodObject<{
1449
3110
  schema: z.ZodLiteral<"v2">;
1450
3111
  packages: z.ZodArray<z.ZodObject<{
@@ -1536,10 +3197,6 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1536
3197
  path: string;
1537
3198
  }>;
1538
3199
  }, "strip", z.ZodTypeAny, {
1539
- ui: {
1540
- type: "relative";
1541
- path: string;
1542
- };
1543
3200
  workflow: {
1544
3201
  type: string;
1545
3202
  main: any;
@@ -1554,11 +3211,11 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1554
3211
  type: "relative";
1555
3212
  path: string;
1556
3213
  };
1557
- }, {
1558
3214
  ui: {
1559
3215
  type: "relative";
1560
3216
  path: string;
1561
3217
  };
3218
+ }, {
1562
3219
  workflow: {
1563
3220
  type: "relative";
1564
3221
  path: string;
@@ -1573,6 +3230,10 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1573
3230
  type: "relative";
1574
3231
  path: string;
1575
3232
  };
3233
+ ui: {
3234
+ type: "relative";
3235
+ path: string;
3236
+ };
1576
3237
  }>;
1577
3238
  meta: z.ZodObject<{
1578
3239
  title: z.ZodString;
@@ -1765,10 +3426,6 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1765
3426
  version: string;
1766
3427
  };
1767
3428
  components: {
1768
- ui: {
1769
- type: "relative";
1770
- path: string;
1771
- };
1772
3429
  workflow: {
1773
3430
  type: string;
1774
3431
  main: any;
@@ -1783,6 +3440,10 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1783
3440
  type: "relative";
1784
3441
  path: string;
1785
3442
  };
3443
+ ui: {
3444
+ type: "relative";
3445
+ path: string;
3446
+ };
1786
3447
  };
1787
3448
  meta: {
1788
3449
  title: string;
@@ -1817,10 +3478,6 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1817
3478
  version: string;
1818
3479
  };
1819
3480
  components: {
1820
- ui: {
1821
- type: "relative";
1822
- path: string;
1823
- };
1824
3481
  workflow: {
1825
3482
  type: "relative";
1826
3483
  path: string;
@@ -1835,6 +3492,10 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1835
3492
  type: "relative";
1836
3493
  path: string;
1837
3494
  };
3495
+ ui: {
3496
+ type: "relative";
3497
+ path: string;
3498
+ };
1838
3499
  };
1839
3500
  meta: {
1840
3501
  title: string;
@@ -1872,6 +3533,7 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1872
3533
  tags?: string[] | undefined;
1873
3534
  };
1874
3535
  }>;
3536
+ latestManifestSha256: z.ZodString;
1875
3537
  }, "strip", z.ZodTypeAny, {
1876
3538
  id: {
1877
3539
  organization: string;
@@ -1885,10 +3547,6 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1885
3547
  version: string;
1886
3548
  };
1887
3549
  components: {
1888
- ui: {
1889
- type: "relative";
1890
- path: string;
1891
- };
1892
3550
  workflow: {
1893
3551
  type: string;
1894
3552
  main: any;
@@ -1903,6 +3561,10 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1903
3561
  type: "relative";
1904
3562
  path: string;
1905
3563
  };
3564
+ ui: {
3565
+ type: "relative";
3566
+ path: string;
3567
+ };
1906
3568
  };
1907
3569
  meta: {
1908
3570
  title: string;
@@ -1931,6 +3593,7 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1931
3593
  tags?: string[] | undefined;
1932
3594
  };
1933
3595
  };
3596
+ latestManifestSha256: string;
1934
3597
  }, {
1935
3598
  id: {
1936
3599
  organization: string;
@@ -1944,10 +3607,6 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1944
3607
  version: string;
1945
3608
  };
1946
3609
  components: {
1947
- ui: {
1948
- type: "relative";
1949
- path: string;
1950
- };
1951
3610
  workflow: {
1952
3611
  type: "relative";
1953
3612
  path: string;
@@ -1962,6 +3621,10 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1962
3621
  type: "relative";
1963
3622
  path: string;
1964
3623
  };
3624
+ ui: {
3625
+ type: "relative";
3626
+ path: string;
3627
+ };
1965
3628
  };
1966
3629
  meta: {
1967
3630
  title: string;
@@ -1999,6 +3662,7 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
1999
3662
  tags?: string[] | undefined;
2000
3663
  };
2001
3664
  };
3665
+ latestManifestSha256: string;
2002
3666
  }>, "many">;
2003
3667
  }, "strip", z.ZodTypeAny, {
2004
3668
  schema: "v2";
@@ -2015,10 +3679,6 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
2015
3679
  version: string;
2016
3680
  };
2017
3681
  components: {
2018
- ui: {
2019
- type: "relative";
2020
- path: string;
2021
- };
2022
3682
  workflow: {
2023
3683
  type: string;
2024
3684
  main: any;
@@ -2033,6 +3693,10 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
2033
3693
  type: "relative";
2034
3694
  path: string;
2035
3695
  };
3696
+ ui: {
3697
+ type: "relative";
3698
+ path: string;
3699
+ };
2036
3700
  };
2037
3701
  meta: {
2038
3702
  title: string;
@@ -2061,6 +3725,7 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
2061
3725
  tags?: string[] | undefined;
2062
3726
  };
2063
3727
  };
3728
+ latestManifestSha256: string;
2064
3729
  }[];
2065
3730
  }, {
2066
3731
  schema: "v2";
@@ -2077,10 +3742,6 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
2077
3742
  version: string;
2078
3743
  };
2079
3744
  components: {
2080
- ui: {
2081
- type: "relative";
2082
- path: string;
2083
- };
2084
3745
  workflow: {
2085
3746
  type: "relative";
2086
3747
  path: string;
@@ -2095,6 +3756,10 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
2095
3756
  type: "relative";
2096
3757
  path: string;
2097
3758
  };
3759
+ ui: {
3760
+ type: "relative";
3761
+ path: string;
3762
+ };
2098
3763
  };
2099
3764
  meta: {
2100
3765
  title: string;
@@ -2132,6 +3797,7 @@ export declare function GlobalOverviewToExplicitBinaryBytes(reader: RelativeCont
2132
3797
  tags?: string[] | undefined;
2133
3798
  };
2134
3799
  };
3800
+ latestManifestSha256: string;
2135
3801
  }[];
2136
3802
  }>;
2137
3803
  export type GlobalOverviewExplicitBinaryBytes = z.infer<ReturnType<typeof GlobalOverviewToExplicitBinaryBytes>>;
@@ -2226,10 +3892,6 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2226
3892
  path: string;
2227
3893
  }>;
2228
3894
  }, "strip", z.ZodTypeAny, {
2229
- ui: {
2230
- type: "relative";
2231
- path: string;
2232
- };
2233
3895
  workflow: {
2234
3896
  type: string;
2235
3897
  main: any;
@@ -2244,11 +3906,11 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2244
3906
  type: "relative";
2245
3907
  path: string;
2246
3908
  };
2247
- }, {
2248
3909
  ui: {
2249
3910
  type: "relative";
2250
3911
  path: string;
2251
3912
  };
3913
+ }, {
2252
3914
  workflow: {
2253
3915
  type: "relative";
2254
3916
  path: string;
@@ -2263,6 +3925,10 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2263
3925
  type: "relative";
2264
3926
  path: string;
2265
3927
  };
3928
+ ui: {
3929
+ type: "relative";
3930
+ path: string;
3931
+ };
2266
3932
  }>;
2267
3933
  meta: z.ZodObject<{
2268
3934
  title: z.ZodString;
@@ -2455,10 +4121,6 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2455
4121
  version: string;
2456
4122
  };
2457
4123
  components: {
2458
- ui: {
2459
- type: "relative";
2460
- path: string;
2461
- };
2462
4124
  workflow: {
2463
4125
  type: string;
2464
4126
  main: any;
@@ -2473,6 +4135,10 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2473
4135
  type: "relative";
2474
4136
  path: string;
2475
4137
  };
4138
+ ui: {
4139
+ type: "relative";
4140
+ path: string;
4141
+ };
2476
4142
  };
2477
4143
  meta: {
2478
4144
  title: string;
@@ -2507,10 +4173,6 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2507
4173
  version: string;
2508
4174
  };
2509
4175
  components: {
2510
- ui: {
2511
- type: "relative";
2512
- path: string;
2513
- };
2514
4176
  workflow: {
2515
4177
  type: "relative";
2516
4178
  path: string;
@@ -2525,6 +4187,10 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2525
4187
  type: "relative";
2526
4188
  path: string;
2527
4189
  };
4190
+ ui: {
4191
+ type: "relative";
4192
+ path: string;
4193
+ };
2528
4194
  };
2529
4195
  meta: {
2530
4196
  title: string;
@@ -2562,6 +4228,7 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2562
4228
  tags?: string[] | undefined;
2563
4229
  };
2564
4230
  }>;
4231
+ latestManifestSha256: z.ZodString;
2565
4232
  }, "strip", z.ZodTypeAny, {
2566
4233
  id: {
2567
4234
  organization: string;
@@ -2575,10 +4242,6 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2575
4242
  version: string;
2576
4243
  };
2577
4244
  components: {
2578
- ui: {
2579
- type: "relative";
2580
- path: string;
2581
- };
2582
4245
  workflow: {
2583
4246
  type: string;
2584
4247
  main: any;
@@ -2593,6 +4256,10 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2593
4256
  type: "relative";
2594
4257
  path: string;
2595
4258
  };
4259
+ ui: {
4260
+ type: "relative";
4261
+ path: string;
4262
+ };
2596
4263
  };
2597
4264
  meta: {
2598
4265
  title: string;
@@ -2621,6 +4288,7 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2621
4288
  tags?: string[] | undefined;
2622
4289
  };
2623
4290
  };
4291
+ latestManifestSha256: string;
2624
4292
  }, {
2625
4293
  id: {
2626
4294
  organization: string;
@@ -2634,10 +4302,6 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2634
4302
  version: string;
2635
4303
  };
2636
4304
  components: {
2637
- ui: {
2638
- type: "relative";
2639
- path: string;
2640
- };
2641
4305
  workflow: {
2642
4306
  type: "relative";
2643
4307
  path: string;
@@ -2652,6 +4316,10 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2652
4316
  type: "relative";
2653
4317
  path: string;
2654
4318
  };
4319
+ ui: {
4320
+ type: "relative";
4321
+ path: string;
4322
+ };
2655
4323
  };
2656
4324
  meta: {
2657
4325
  title: string;
@@ -2689,6 +4357,7 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2689
4357
  tags?: string[] | undefined;
2690
4358
  };
2691
4359
  };
4360
+ latestManifestSha256: string;
2692
4361
  }>, "many">;
2693
4362
  }, "strip", z.ZodTypeAny, {
2694
4363
  schema: "v2";
@@ -2705,10 +4374,6 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2705
4374
  version: string;
2706
4375
  };
2707
4376
  components: {
2708
- ui: {
2709
- type: "relative";
2710
- path: string;
2711
- };
2712
4377
  workflow: {
2713
4378
  type: string;
2714
4379
  main: any;
@@ -2723,6 +4388,10 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2723
4388
  type: "relative";
2724
4389
  path: string;
2725
4390
  };
4391
+ ui: {
4392
+ type: "relative";
4393
+ path: string;
4394
+ };
2726
4395
  };
2727
4396
  meta: {
2728
4397
  title: string;
@@ -2751,6 +4420,7 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2751
4420
  tags?: string[] | undefined;
2752
4421
  };
2753
4422
  };
4423
+ latestManifestSha256: string;
2754
4424
  }[];
2755
4425
  }, {
2756
4426
  schema: "v2";
@@ -2767,10 +4437,6 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2767
4437
  version: string;
2768
4438
  };
2769
4439
  components: {
2770
- ui: {
2771
- type: "relative";
2772
- path: string;
2773
- };
2774
4440
  workflow: {
2775
4441
  type: "relative";
2776
4442
  path: string;
@@ -2785,6 +4451,10 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2785
4451
  type: "relative";
2786
4452
  path: string;
2787
4453
  };
4454
+ ui: {
4455
+ type: "relative";
4456
+ path: string;
4457
+ };
2788
4458
  };
2789
4459
  meta: {
2790
4460
  title: string;
@@ -2822,6 +4492,7 @@ export declare function GlobalOverviewToExplicitBinaryBase64(reader: RelativeCon
2822
4492
  tags?: string[] | undefined;
2823
4493
  };
2824
4494
  };
4495
+ latestManifestSha256: string;
2825
4496
  }[];
2826
4497
  }>;
2827
4498
  export type GlobalOverviewExplicitBinaryBase64 = z.infer<ReturnType<typeof GlobalOverviewToExplicitBinaryBase64>>;