@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.
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +94 -238
- package/dist/cli.mjs.map +1 -1
- package/dist/config-B1U40s2a.js +3 -0
- package/dist/config-B1U40s2a.js.map +1 -0
- package/dist/config-YukCegnp.mjs +1587 -0
- package/dist/config-YukCegnp.mjs.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +170 -40
- package/dist/index.mjs.map +1 -1
- package/dist/io/folder_reader.d.ts +24 -0
- package/dist/io/folder_reader.d.ts.map +1 -0
- package/dist/io/index.d.ts +3 -0
- package/dist/io/index.d.ts.map +1 -0
- package/dist/io/storage.d.ts.map +1 -0
- package/dist/lib.d.ts +1 -0
- package/dist/lib.d.ts.map +1 -1
- package/dist/registry_v1/registry.d.ts +1 -1
- package/dist/registry_v1/registry.d.ts.map +1 -1
- package/dist/registry_v1/v1_repo_schema.d.ts +1 -1
- package/dist/registry_v1/v1_repo_schema.d.ts.map +1 -1
- package/dist/v2/index.d.ts +1 -0
- package/dist/v2/index.d.ts.map +1 -1
- package/dist/v2/model/block_components.d.ts +5 -5
- package/dist/v2/model/block_description.d.ts +48 -48
- package/dist/v2/model/block_meta.d.ts +554 -2
- package/dist/v2/model/block_meta.d.ts.map +1 -1
- package/dist/v2/model/content_conversion.d.ts +3 -1
- package/dist/v2/model/content_conversion.d.ts.map +1 -1
- package/dist/v2/registry/index.d.ts +4 -0
- package/dist/v2/registry/index.d.ts.map +1 -0
- package/dist/v2/registry/registry.d.ts +1 -1
- package/dist/v2/registry/registry.d.ts.map +1 -1
- package/dist/v2/registry/registry_reader.d.ts +12 -0
- package/dist/v2/registry/registry_reader.d.ts.map +1 -0
- package/dist/v2/registry/schema_public.d.ts +1925 -254
- package/dist/v2/registry/schema_public.d.ts.map +1 -1
- package/package.json +7 -4
- package/src/cmd/build-meta.ts +2 -2
- package/src/cmd/publish.ts +1 -1
- package/src/io/folder_reader.test.ts +21 -0
- package/src/io/folder_reader.ts +77 -0
- package/src/io/index.ts +2 -0
- package/src/lib.ts +1 -0
- package/src/registry_v1/config.ts +1 -1
- package/src/registry_v1/registry.test.ts +1 -1
- package/src/registry_v1/registry.ts +1 -1
- package/src/registry_v1/v1_repo_schema.ts +1 -1
- package/src/v2/index.ts +1 -0
- package/src/v2/model/block_meta.ts +23 -5
- package/src/v2/model/content_conversion.ts +30 -1
- package/src/v2/registry/index.ts +3 -0
- package/src/v2/registry/registry.ts +19 -12
- package/src/v2/registry/registry_reader.ts +71 -0
- package/src/v2/registry/schema_public.ts +31 -9
- package/dist/config-DJqN5LSx.js +0 -3
- package/dist/config-DJqN5LSx.js.map +0 -1
- package/dist/config-rGaQLD-7.mjs +0 -1350
- package/dist/config-rGaQLD-7.mjs.map +0 -1
- package/dist/lib/storage.d.ts.map +0 -1
- /package/dist/{lib → io}/storage.d.ts +0 -0
- /package/src/{lib → io}/storage.test.ts +0 -0
- /package/src/{lib → io}/storage.ts +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RelativeContentReader } from './content_conversion';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
|
|
3
4
|
title: z.ZodString;
|
|
@@ -525,7 +526,7 @@ export declare function BlockPackMetaConsolidate(dstFolder: string, fileAccumula
|
|
|
525
526
|
support?: string | undefined;
|
|
526
527
|
tags?: string[] | undefined;
|
|
527
528
|
}>;
|
|
528
|
-
export declare const
|
|
529
|
+
export declare const BlockPackMetaEmbedAbsoluteBase64: z.ZodPipeline<z.ZodObject<{
|
|
529
530
|
title: z.ZodString;
|
|
530
531
|
description: z.ZodString;
|
|
531
532
|
longDescription: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -801,5 +802,556 @@ export declare const BlockPackMetaEmbed: z.ZodPipeline<z.ZodObject<{
|
|
|
801
802
|
support?: string | undefined;
|
|
802
803
|
tags?: string[] | undefined;
|
|
803
804
|
}>>;
|
|
804
|
-
export
|
|
805
|
+
export declare const BlockPackMetaEmbedAbsoluteBytes: z.ZodPipeline<z.ZodObject<{
|
|
806
|
+
title: z.ZodString;
|
|
807
|
+
description: z.ZodString;
|
|
808
|
+
longDescription: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
809
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
810
|
+
content: z.ZodString;
|
|
811
|
+
}, "strict", z.ZodTypeAny, {
|
|
812
|
+
type: "explicit-string";
|
|
813
|
+
content: string;
|
|
814
|
+
}, {
|
|
815
|
+
type: "explicit-string";
|
|
816
|
+
content: string;
|
|
817
|
+
}>, z.ZodObject<{
|
|
818
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
819
|
+
file: z.ZodString;
|
|
820
|
+
}, "strict", z.ZodTypeAny, {
|
|
821
|
+
type: "absolute-file";
|
|
822
|
+
file: string;
|
|
823
|
+
}, {
|
|
824
|
+
type: "absolute-file";
|
|
825
|
+
file: string;
|
|
826
|
+
}>]>, string, {
|
|
827
|
+
type: "explicit-string";
|
|
828
|
+
content: string;
|
|
829
|
+
} | {
|
|
830
|
+
type: "absolute-file";
|
|
831
|
+
file: string;
|
|
832
|
+
}>>;
|
|
833
|
+
logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
834
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
835
|
+
mimeType: z.ZodString;
|
|
836
|
+
content: z.ZodString;
|
|
837
|
+
}, "strict", z.ZodTypeAny, {
|
|
838
|
+
type: "explicit-base64";
|
|
839
|
+
content: string;
|
|
840
|
+
mimeType: string;
|
|
841
|
+
}, {
|
|
842
|
+
type: "explicit-base64";
|
|
843
|
+
content: string;
|
|
844
|
+
mimeType: string;
|
|
845
|
+
}>, z.ZodObject<{
|
|
846
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
847
|
+
file: z.ZodString;
|
|
848
|
+
}, "strict", z.ZodTypeAny, {
|
|
849
|
+
type: "absolute-file";
|
|
850
|
+
file: string;
|
|
851
|
+
}, {
|
|
852
|
+
type: "absolute-file";
|
|
853
|
+
file: string;
|
|
854
|
+
}>]>, {
|
|
855
|
+
type: "explicit-bytes";
|
|
856
|
+
content: Uint8Array;
|
|
857
|
+
mimeType: string;
|
|
858
|
+
}, {
|
|
859
|
+
type: "explicit-base64";
|
|
860
|
+
content: string;
|
|
861
|
+
mimeType: string;
|
|
862
|
+
} | {
|
|
863
|
+
type: "absolute-file";
|
|
864
|
+
file: string;
|
|
865
|
+
}>>;
|
|
866
|
+
url: z.ZodOptional<z.ZodString>;
|
|
867
|
+
docs: z.ZodOptional<z.ZodString>;
|
|
868
|
+
support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
869
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
870
|
+
organization: z.ZodObject<{
|
|
871
|
+
name: z.ZodString;
|
|
872
|
+
url: z.ZodString;
|
|
873
|
+
logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
874
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
875
|
+
mimeType: z.ZodString;
|
|
876
|
+
content: z.ZodString;
|
|
877
|
+
}, "strict", z.ZodTypeAny, {
|
|
878
|
+
type: "explicit-base64";
|
|
879
|
+
content: string;
|
|
880
|
+
mimeType: string;
|
|
881
|
+
}, {
|
|
882
|
+
type: "explicit-base64";
|
|
883
|
+
content: string;
|
|
884
|
+
mimeType: string;
|
|
885
|
+
}>, z.ZodObject<{
|
|
886
|
+
type: z.ZodLiteral<"absolute-file">;
|
|
887
|
+
file: z.ZodString;
|
|
888
|
+
}, "strict", z.ZodTypeAny, {
|
|
889
|
+
type: "absolute-file";
|
|
890
|
+
file: string;
|
|
891
|
+
}, {
|
|
892
|
+
type: "absolute-file";
|
|
893
|
+
file: string;
|
|
894
|
+
}>]>, {
|
|
895
|
+
type: "explicit-bytes";
|
|
896
|
+
content: Uint8Array;
|
|
897
|
+
mimeType: string;
|
|
898
|
+
}, {
|
|
899
|
+
type: "explicit-base64";
|
|
900
|
+
content: string;
|
|
901
|
+
mimeType: string;
|
|
902
|
+
} | {
|
|
903
|
+
type: "absolute-file";
|
|
904
|
+
file: string;
|
|
905
|
+
}>>;
|
|
906
|
+
}, "strip", z.ZodTypeAny, {
|
|
907
|
+
url: string;
|
|
908
|
+
name: string;
|
|
909
|
+
logo?: {
|
|
910
|
+
type: "explicit-bytes";
|
|
911
|
+
content: Uint8Array;
|
|
912
|
+
mimeType: string;
|
|
913
|
+
} | undefined;
|
|
914
|
+
}, {
|
|
915
|
+
url: string;
|
|
916
|
+
name: string;
|
|
917
|
+
logo?: {
|
|
918
|
+
type: "explicit-base64";
|
|
919
|
+
content: string;
|
|
920
|
+
mimeType: string;
|
|
921
|
+
} | {
|
|
922
|
+
type: "absolute-file";
|
|
923
|
+
file: string;
|
|
924
|
+
} | undefined;
|
|
925
|
+
}>;
|
|
926
|
+
}, "strip", z.ZodTypeAny, {
|
|
927
|
+
title: string;
|
|
928
|
+
description: string;
|
|
929
|
+
organization: {
|
|
930
|
+
url: string;
|
|
931
|
+
name: string;
|
|
932
|
+
logo?: {
|
|
933
|
+
type: "explicit-bytes";
|
|
934
|
+
content: Uint8Array;
|
|
935
|
+
mimeType: string;
|
|
936
|
+
} | undefined;
|
|
937
|
+
};
|
|
938
|
+
longDescription?: string | undefined;
|
|
939
|
+
logo?: {
|
|
940
|
+
type: "explicit-bytes";
|
|
941
|
+
content: Uint8Array;
|
|
942
|
+
mimeType: string;
|
|
943
|
+
} | undefined;
|
|
944
|
+
url?: string | undefined;
|
|
945
|
+
docs?: string | undefined;
|
|
946
|
+
support?: string | undefined;
|
|
947
|
+
tags?: string[] | undefined;
|
|
948
|
+
}, {
|
|
949
|
+
title: string;
|
|
950
|
+
description: string;
|
|
951
|
+
organization: {
|
|
952
|
+
url: string;
|
|
953
|
+
name: string;
|
|
954
|
+
logo?: {
|
|
955
|
+
type: "explicit-base64";
|
|
956
|
+
content: string;
|
|
957
|
+
mimeType: string;
|
|
958
|
+
} | {
|
|
959
|
+
type: "absolute-file";
|
|
960
|
+
file: string;
|
|
961
|
+
} | undefined;
|
|
962
|
+
};
|
|
963
|
+
longDescription?: {
|
|
964
|
+
type: "explicit-string";
|
|
965
|
+
content: string;
|
|
966
|
+
} | {
|
|
967
|
+
type: "absolute-file";
|
|
968
|
+
file: string;
|
|
969
|
+
} | undefined;
|
|
970
|
+
logo?: {
|
|
971
|
+
type: "explicit-base64";
|
|
972
|
+
content: string;
|
|
973
|
+
mimeType: string;
|
|
974
|
+
} | {
|
|
975
|
+
type: "absolute-file";
|
|
976
|
+
file: string;
|
|
977
|
+
} | undefined;
|
|
978
|
+
url?: string | undefined;
|
|
979
|
+
docs?: string | undefined;
|
|
980
|
+
support?: string | undefined;
|
|
981
|
+
tags?: string[] | undefined;
|
|
982
|
+
}>, z.ZodObject<{
|
|
983
|
+
title: z.ZodString;
|
|
984
|
+
description: z.ZodString;
|
|
985
|
+
longDescription: z.ZodOptional<z.ZodString>;
|
|
986
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
987
|
+
type: z.ZodLiteral<"explicit-bytes">;
|
|
988
|
+
mimeType: z.ZodString;
|
|
989
|
+
content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
|
|
990
|
+
}, "strict", z.ZodTypeAny, {
|
|
991
|
+
type: "explicit-bytes";
|
|
992
|
+
content: Uint8Array;
|
|
993
|
+
mimeType: string;
|
|
994
|
+
}, {
|
|
995
|
+
type: "explicit-bytes";
|
|
996
|
+
content: Uint8Array;
|
|
997
|
+
mimeType: string;
|
|
998
|
+
}>>;
|
|
999
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
docs: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
1002
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1003
|
+
organization: z.ZodObject<{
|
|
1004
|
+
name: z.ZodString;
|
|
1005
|
+
url: z.ZodString;
|
|
1006
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
1007
|
+
type: z.ZodLiteral<"explicit-bytes">;
|
|
1008
|
+
mimeType: z.ZodString;
|
|
1009
|
+
content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
|
|
1010
|
+
}, "strict", z.ZodTypeAny, {
|
|
1011
|
+
type: "explicit-bytes";
|
|
1012
|
+
content: Uint8Array;
|
|
1013
|
+
mimeType: string;
|
|
1014
|
+
}, {
|
|
1015
|
+
type: "explicit-bytes";
|
|
1016
|
+
content: Uint8Array;
|
|
1017
|
+
mimeType: string;
|
|
1018
|
+
}>>;
|
|
1019
|
+
}, "strip", z.ZodTypeAny, {
|
|
1020
|
+
url: string;
|
|
1021
|
+
name: string;
|
|
1022
|
+
logo?: {
|
|
1023
|
+
type: "explicit-bytes";
|
|
1024
|
+
content: Uint8Array;
|
|
1025
|
+
mimeType: string;
|
|
1026
|
+
} | undefined;
|
|
1027
|
+
}, {
|
|
1028
|
+
url: string;
|
|
1029
|
+
name: string;
|
|
1030
|
+
logo?: {
|
|
1031
|
+
type: "explicit-bytes";
|
|
1032
|
+
content: Uint8Array;
|
|
1033
|
+
mimeType: string;
|
|
1034
|
+
} | undefined;
|
|
1035
|
+
}>;
|
|
1036
|
+
}, "strip", z.ZodTypeAny, {
|
|
1037
|
+
organization: {
|
|
1038
|
+
url: string;
|
|
1039
|
+
name: string;
|
|
1040
|
+
logo?: {
|
|
1041
|
+
type: "explicit-bytes";
|
|
1042
|
+
content: Uint8Array;
|
|
1043
|
+
mimeType: string;
|
|
1044
|
+
} | undefined;
|
|
1045
|
+
};
|
|
1046
|
+
title: string;
|
|
1047
|
+
description: string;
|
|
1048
|
+
url?: string | undefined;
|
|
1049
|
+
longDescription?: string | undefined;
|
|
1050
|
+
logo?: {
|
|
1051
|
+
type: "explicit-bytes";
|
|
1052
|
+
content: Uint8Array;
|
|
1053
|
+
mimeType: string;
|
|
1054
|
+
} | undefined;
|
|
1055
|
+
docs?: string | undefined;
|
|
1056
|
+
support?: string | undefined;
|
|
1057
|
+
tags?: string[] | undefined;
|
|
1058
|
+
}, {
|
|
1059
|
+
organization: {
|
|
1060
|
+
url: string;
|
|
1061
|
+
name: string;
|
|
1062
|
+
logo?: {
|
|
1063
|
+
type: "explicit-bytes";
|
|
1064
|
+
content: Uint8Array;
|
|
1065
|
+
mimeType: string;
|
|
1066
|
+
} | undefined;
|
|
1067
|
+
};
|
|
1068
|
+
title: string;
|
|
1069
|
+
description: string;
|
|
1070
|
+
url?: string | undefined;
|
|
1071
|
+
longDescription?: string | undefined;
|
|
1072
|
+
logo?: {
|
|
1073
|
+
type: "explicit-bytes";
|
|
1074
|
+
content: Uint8Array;
|
|
1075
|
+
mimeType: string;
|
|
1076
|
+
} | undefined;
|
|
1077
|
+
docs?: string | undefined;
|
|
1078
|
+
support?: string | undefined;
|
|
1079
|
+
tags?: string[] | undefined;
|
|
1080
|
+
}>>;
|
|
1081
|
+
export declare function BlockPackMetaEmbedBytes(reader: RelativeContentReader): z.ZodPipeline<z.ZodObject<{
|
|
1082
|
+
title: z.ZodString;
|
|
1083
|
+
description: z.ZodString;
|
|
1084
|
+
longDescription: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1085
|
+
type: z.ZodLiteral<"explicit-string">;
|
|
1086
|
+
content: z.ZodString;
|
|
1087
|
+
}, "strict", z.ZodTypeAny, {
|
|
1088
|
+
type: "explicit-string";
|
|
1089
|
+
content: string;
|
|
1090
|
+
}, {
|
|
1091
|
+
type: "explicit-string";
|
|
1092
|
+
content: string;
|
|
1093
|
+
}>, z.ZodObject<{
|
|
1094
|
+
type: z.ZodLiteral<"relative">;
|
|
1095
|
+
path: z.ZodString;
|
|
1096
|
+
}, "strict", z.ZodTypeAny, {
|
|
1097
|
+
type: "relative";
|
|
1098
|
+
path: string;
|
|
1099
|
+
}, {
|
|
1100
|
+
type: "relative";
|
|
1101
|
+
path: string;
|
|
1102
|
+
}>]>, string, {
|
|
1103
|
+
type: "explicit-string";
|
|
1104
|
+
content: string;
|
|
1105
|
+
} | {
|
|
1106
|
+
type: "relative";
|
|
1107
|
+
path: string;
|
|
1108
|
+
}>>;
|
|
1109
|
+
logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1110
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
1111
|
+
mimeType: z.ZodString;
|
|
1112
|
+
content: z.ZodString;
|
|
1113
|
+
}, "strict", z.ZodTypeAny, {
|
|
1114
|
+
type: "explicit-base64";
|
|
1115
|
+
content: string;
|
|
1116
|
+
mimeType: string;
|
|
1117
|
+
}, {
|
|
1118
|
+
type: "explicit-base64";
|
|
1119
|
+
content: string;
|
|
1120
|
+
mimeType: string;
|
|
1121
|
+
}>, z.ZodObject<{
|
|
1122
|
+
type: z.ZodLiteral<"relative">;
|
|
1123
|
+
path: z.ZodString;
|
|
1124
|
+
}, "strict", z.ZodTypeAny, {
|
|
1125
|
+
type: "relative";
|
|
1126
|
+
path: string;
|
|
1127
|
+
}, {
|
|
1128
|
+
type: "relative";
|
|
1129
|
+
path: string;
|
|
1130
|
+
}>]>, {
|
|
1131
|
+
type: "explicit-bytes";
|
|
1132
|
+
content: Uint8Array;
|
|
1133
|
+
mimeType: string;
|
|
1134
|
+
}, {
|
|
1135
|
+
type: "explicit-base64";
|
|
1136
|
+
content: string;
|
|
1137
|
+
mimeType: string;
|
|
1138
|
+
} | {
|
|
1139
|
+
type: "relative";
|
|
1140
|
+
path: string;
|
|
1141
|
+
}>>;
|
|
1142
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
docs: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
1145
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1146
|
+
organization: z.ZodObject<{
|
|
1147
|
+
name: z.ZodString;
|
|
1148
|
+
url: z.ZodString;
|
|
1149
|
+
logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1150
|
+
type: z.ZodLiteral<"explicit-base64">;
|
|
1151
|
+
mimeType: z.ZodString;
|
|
1152
|
+
content: z.ZodString;
|
|
1153
|
+
}, "strict", z.ZodTypeAny, {
|
|
1154
|
+
type: "explicit-base64";
|
|
1155
|
+
content: string;
|
|
1156
|
+
mimeType: string;
|
|
1157
|
+
}, {
|
|
1158
|
+
type: "explicit-base64";
|
|
1159
|
+
content: string;
|
|
1160
|
+
mimeType: string;
|
|
1161
|
+
}>, z.ZodObject<{
|
|
1162
|
+
type: z.ZodLiteral<"relative">;
|
|
1163
|
+
path: z.ZodString;
|
|
1164
|
+
}, "strict", z.ZodTypeAny, {
|
|
1165
|
+
type: "relative";
|
|
1166
|
+
path: string;
|
|
1167
|
+
}, {
|
|
1168
|
+
type: "relative";
|
|
1169
|
+
path: string;
|
|
1170
|
+
}>]>, {
|
|
1171
|
+
type: "explicit-bytes";
|
|
1172
|
+
content: Uint8Array;
|
|
1173
|
+
mimeType: string;
|
|
1174
|
+
}, {
|
|
1175
|
+
type: "explicit-base64";
|
|
1176
|
+
content: string;
|
|
1177
|
+
mimeType: string;
|
|
1178
|
+
} | {
|
|
1179
|
+
type: "relative";
|
|
1180
|
+
path: string;
|
|
1181
|
+
}>>;
|
|
1182
|
+
}, "strip", z.ZodTypeAny, {
|
|
1183
|
+
url: string;
|
|
1184
|
+
name: string;
|
|
1185
|
+
logo?: {
|
|
1186
|
+
type: "explicit-bytes";
|
|
1187
|
+
content: Uint8Array;
|
|
1188
|
+
mimeType: string;
|
|
1189
|
+
} | undefined;
|
|
1190
|
+
}, {
|
|
1191
|
+
url: string;
|
|
1192
|
+
name: string;
|
|
1193
|
+
logo?: {
|
|
1194
|
+
type: "explicit-base64";
|
|
1195
|
+
content: string;
|
|
1196
|
+
mimeType: string;
|
|
1197
|
+
} | {
|
|
1198
|
+
type: "relative";
|
|
1199
|
+
path: string;
|
|
1200
|
+
} | undefined;
|
|
1201
|
+
}>;
|
|
1202
|
+
}, "strip", z.ZodTypeAny, {
|
|
1203
|
+
title: string;
|
|
1204
|
+
description: string;
|
|
1205
|
+
organization: {
|
|
1206
|
+
url: string;
|
|
1207
|
+
name: string;
|
|
1208
|
+
logo?: {
|
|
1209
|
+
type: "explicit-bytes";
|
|
1210
|
+
content: Uint8Array;
|
|
1211
|
+
mimeType: string;
|
|
1212
|
+
} | undefined;
|
|
1213
|
+
};
|
|
1214
|
+
longDescription?: string | undefined;
|
|
1215
|
+
logo?: {
|
|
1216
|
+
type: "explicit-bytes";
|
|
1217
|
+
content: Uint8Array;
|
|
1218
|
+
mimeType: string;
|
|
1219
|
+
} | undefined;
|
|
1220
|
+
url?: string | undefined;
|
|
1221
|
+
docs?: string | undefined;
|
|
1222
|
+
support?: string | undefined;
|
|
1223
|
+
tags?: string[] | undefined;
|
|
1224
|
+
}, {
|
|
1225
|
+
title: string;
|
|
1226
|
+
description: string;
|
|
1227
|
+
organization: {
|
|
1228
|
+
url: string;
|
|
1229
|
+
name: string;
|
|
1230
|
+
logo?: {
|
|
1231
|
+
type: "explicit-base64";
|
|
1232
|
+
content: string;
|
|
1233
|
+
mimeType: string;
|
|
1234
|
+
} | {
|
|
1235
|
+
type: "relative";
|
|
1236
|
+
path: string;
|
|
1237
|
+
} | undefined;
|
|
1238
|
+
};
|
|
1239
|
+
longDescription?: {
|
|
1240
|
+
type: "explicit-string";
|
|
1241
|
+
content: string;
|
|
1242
|
+
} | {
|
|
1243
|
+
type: "relative";
|
|
1244
|
+
path: string;
|
|
1245
|
+
} | undefined;
|
|
1246
|
+
logo?: {
|
|
1247
|
+
type: "explicit-base64";
|
|
1248
|
+
content: string;
|
|
1249
|
+
mimeType: string;
|
|
1250
|
+
} | {
|
|
1251
|
+
type: "relative";
|
|
1252
|
+
path: string;
|
|
1253
|
+
} | undefined;
|
|
1254
|
+
url?: string | undefined;
|
|
1255
|
+
docs?: string | undefined;
|
|
1256
|
+
support?: string | undefined;
|
|
1257
|
+
tags?: string[] | undefined;
|
|
1258
|
+
}>, z.ZodObject<{
|
|
1259
|
+
title: z.ZodString;
|
|
1260
|
+
description: z.ZodString;
|
|
1261
|
+
longDescription: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
1263
|
+
type: z.ZodLiteral<"explicit-bytes">;
|
|
1264
|
+
mimeType: z.ZodString;
|
|
1265
|
+
content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
|
|
1266
|
+
}, "strict", z.ZodTypeAny, {
|
|
1267
|
+
type: "explicit-bytes";
|
|
1268
|
+
content: Uint8Array;
|
|
1269
|
+
mimeType: string;
|
|
1270
|
+
}, {
|
|
1271
|
+
type: "explicit-bytes";
|
|
1272
|
+
content: Uint8Array;
|
|
1273
|
+
mimeType: string;
|
|
1274
|
+
}>>;
|
|
1275
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
docs: z.ZodOptional<z.ZodString>;
|
|
1277
|
+
support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
1278
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1279
|
+
organization: z.ZodObject<{
|
|
1280
|
+
name: z.ZodString;
|
|
1281
|
+
url: z.ZodString;
|
|
1282
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
1283
|
+
type: z.ZodLiteral<"explicit-bytes">;
|
|
1284
|
+
mimeType: z.ZodString;
|
|
1285
|
+
content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
|
|
1286
|
+
}, "strict", z.ZodTypeAny, {
|
|
1287
|
+
type: "explicit-bytes";
|
|
1288
|
+
content: Uint8Array;
|
|
1289
|
+
mimeType: string;
|
|
1290
|
+
}, {
|
|
1291
|
+
type: "explicit-bytes";
|
|
1292
|
+
content: Uint8Array;
|
|
1293
|
+
mimeType: string;
|
|
1294
|
+
}>>;
|
|
1295
|
+
}, "strip", z.ZodTypeAny, {
|
|
1296
|
+
url: string;
|
|
1297
|
+
name: string;
|
|
1298
|
+
logo?: {
|
|
1299
|
+
type: "explicit-bytes";
|
|
1300
|
+
content: Uint8Array;
|
|
1301
|
+
mimeType: string;
|
|
1302
|
+
} | undefined;
|
|
1303
|
+
}, {
|
|
1304
|
+
url: string;
|
|
1305
|
+
name: string;
|
|
1306
|
+
logo?: {
|
|
1307
|
+
type: "explicit-bytes";
|
|
1308
|
+
content: Uint8Array;
|
|
1309
|
+
mimeType: string;
|
|
1310
|
+
} | undefined;
|
|
1311
|
+
}>;
|
|
1312
|
+
}, "strip", z.ZodTypeAny, {
|
|
1313
|
+
organization: {
|
|
1314
|
+
url: string;
|
|
1315
|
+
name: string;
|
|
1316
|
+
logo?: {
|
|
1317
|
+
type: "explicit-bytes";
|
|
1318
|
+
content: Uint8Array;
|
|
1319
|
+
mimeType: string;
|
|
1320
|
+
} | undefined;
|
|
1321
|
+
};
|
|
1322
|
+
title: string;
|
|
1323
|
+
description: string;
|
|
1324
|
+
url?: string | undefined;
|
|
1325
|
+
longDescription?: string | undefined;
|
|
1326
|
+
logo?: {
|
|
1327
|
+
type: "explicit-bytes";
|
|
1328
|
+
content: Uint8Array;
|
|
1329
|
+
mimeType: string;
|
|
1330
|
+
} | undefined;
|
|
1331
|
+
docs?: string | undefined;
|
|
1332
|
+
support?: string | undefined;
|
|
1333
|
+
tags?: string[] | undefined;
|
|
1334
|
+
}, {
|
|
1335
|
+
organization: {
|
|
1336
|
+
url: string;
|
|
1337
|
+
name: string;
|
|
1338
|
+
logo?: {
|
|
1339
|
+
type: "explicit-bytes";
|
|
1340
|
+
content: Uint8Array;
|
|
1341
|
+
mimeType: string;
|
|
1342
|
+
} | undefined;
|
|
1343
|
+
};
|
|
1344
|
+
title: string;
|
|
1345
|
+
description: string;
|
|
1346
|
+
url?: string | undefined;
|
|
1347
|
+
longDescription?: string | undefined;
|
|
1348
|
+
logo?: {
|
|
1349
|
+
type: "explicit-bytes";
|
|
1350
|
+
content: Uint8Array;
|
|
1351
|
+
mimeType: string;
|
|
1352
|
+
} | undefined;
|
|
1353
|
+
docs?: string | undefined;
|
|
1354
|
+
support?: string | undefined;
|
|
1355
|
+
tags?: string[] | undefined;
|
|
1356
|
+
}>>;
|
|
805
1357
|
//# sourceMappingURL=block_meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block_meta.d.ts","sourceRoot":"","sources":["../../../src/v2/model/block_meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"block_meta.d.ts","sourceRoot":"","sources":["../../../src/v2/model/block_meta.ts"],"names":[],"mappings":"AAWA,OAAO,EAML,qBAAqB,EAGtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKpD;AACD,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC;AAE5F,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKrF;AAED,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAgB+tX,CAAC;;;;;;;;YAA2L,CAAC;;;;;;;;;;YAA0O,CAAC;;;;;;;;;;;;;;;;;;;;;;YAA4hB,CAAC;;;;;;;;;;;;;;;;;;GAb9qZ,CAAC;AAEpC,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAWukd,CAAC;;;;;;;;YAA8L,CAAC;;;;;;;;;;YAA6O,CAAC;;;;;;;;;;;;;;;;;;;;;;YAAkiB,CAAC;;;;;;;;;;;;;;;;;;GARlif,CAAC;AAEnC,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAM8id,CAAC;;;;;;;;YAA8L,CAAC;;;;;;;;;;YAA6O,CAAC;;;;;;;;;;;;;;;;;;;;;;YAAkiB,CAAC;;;;;;;;;;;;;;;;;;IADnkf"}
|
|
@@ -28,10 +28,12 @@ export declare function ResolvedModuleFolder(moduleRoot: string, ...indexFilesTo
|
|
|
28
28
|
export declare function mapLocalToAbsolute(root: string): <T extends ContentAnyLocal>(value: T) => Exclude<T, ContentRelative> | ContentAbsoluteFile;
|
|
29
29
|
export declare function absoluteToString(): (value: ContentAbsoluteTextLocal) => Promise<string>;
|
|
30
30
|
export declare function absoluteToBase64(): (value: ContentAbsoluteBinaryLocal) => Promise<ContentExplicitBase64>;
|
|
31
|
+
export declare function absoluteToBytes(): (value: ContentAbsoluteBinaryLocal) => Promise<ContentExplicitBytes>;
|
|
31
32
|
export declare function cpAbsoluteToRelative(dstFolder: string, fileAccumulator?: string[]): <T extends Exclude<ContentAnyLocal, ContentRelative>>(value: T) => Promise<Exclude<T, ContentAbsoluteFile> | ContentRelative>;
|
|
32
33
|
export declare function packFolderToRelativeTgz(dstFolder: string, tgzName: string, fileAccumulator?: string[]): (value: ContentAbsoluteFolder) => Promise<ContentRelative>;
|
|
33
34
|
export type RelativeContentReader = (relativePath: string) => Promise<Buffer>;
|
|
34
|
-
export declare function
|
|
35
|
+
export declare function relativeToExplicitString(reader: RelativeContentReader): (value: ContentRelativeText) => Promise<ContentExplicitString>;
|
|
36
|
+
export declare function relativeToContentString(reader: RelativeContentReader): (value: ContentRelativeText) => Promise<string>;
|
|
35
37
|
export declare function relativeToExplicitBinary64(reader: RelativeContentReader): (value: ContentRelativeBinary) => Promise<ContentExplicitBase64>;
|
|
36
38
|
export declare function relativeToExplicitBytes(reader: RelativeContentReader): (value: ContentRelativeBinary) => Promise<ContentExplicitBytes>;
|
|
37
39
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content_conversion.d.ts","sourceRoot":"","sources":["../../../src/v2/model/content_conversion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,uCAAuC,CAAC;AAG/C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,QAAQ,CAAC;IACf,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,uFAAuF;AACvF,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,aAAa,CAAC;AAQtD,uEAAuE;AACvE,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM;;;WAepD;AAED;;;KAGK;AACL,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,EAClB,GAAG,mBAAmB,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;;;WAuB9C;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,GACX,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,EAAE,eAAe,CAAC,GAAG,mBAAmB,CAK5F;AAED,wBAAgB,gBAAgB,IAAI,CAAC,KAAK,EAAE,wBAAwB,KAAK,OAAO,CAAC,MAAM,CAAC,CAMvF;AAGD,wBAAgB,gBAAgB,IAAI,CAClC,KAAK,EAAE,0BAA0B,KAC9B,OAAO,CAAC,qBAAqB,CAAC,CAYlC;AAED,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,EACjB,eAAe,CAAC,EAAE,MAAM,EAAE,GACzB,CAAC,CAAC,SAAS,OAAO,CAAC,eAAe,EAAE,eAAe,CAAC,EACrD,KAAK,EAAE,CAAC,KACL,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,mBAAmB,CAAC,GAAG,eAAe,CAAC,CAU9D;AAED,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,eAAe,CAAC,EAAE,MAAM,EAAE,GACzB,CAAC,KAAK,EAAE,qBAAqB,KAAK,OAAO,CAAC,eAAe,CAAC,CAe5D;AAED,MAAM,MAAM,qBAAqB,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAE9E,wBAAgB,
|
|
1
|
+
{"version":3,"file":"content_conversion.d.ts","sourceRoot":"","sources":["../../../src/v2/model/content_conversion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EACL,0BAA0B,EAC1B,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,uCAAuC,CAAC;AAG/C,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,QAAQ,CAAC;IACf,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,uFAAuF;AACvF,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,aAAa,CAAC;AAQtD,uEAAuE;AACvE,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM;;;WAepD;AAED;;;KAGK;AACL,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,EAClB,GAAG,mBAAmB,EAAE,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;;;WAuB9C;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,GACX,CAAC,CAAC,SAAS,eAAe,EAAE,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,EAAE,eAAe,CAAC,GAAG,mBAAmB,CAK5F;AAED,wBAAgB,gBAAgB,IAAI,CAAC,KAAK,EAAE,wBAAwB,KAAK,OAAO,CAAC,MAAM,CAAC,CAMvF;AAGD,wBAAgB,gBAAgB,IAAI,CAClC,KAAK,EAAE,0BAA0B,KAC9B,OAAO,CAAC,qBAAqB,CAAC,CAYlC;AAED,wBAAgB,eAAe,IAAI,CACjC,KAAK,EAAE,0BAA0B,KAC9B,OAAO,CAAC,oBAAoB,CAAC,CAkBjC;AAED,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,EACjB,eAAe,CAAC,EAAE,MAAM,EAAE,GACzB,CAAC,CAAC,SAAS,OAAO,CAAC,eAAe,EAAE,eAAe,CAAC,EACrD,KAAK,EAAE,CAAC,KACL,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE,mBAAmB,CAAC,GAAG,eAAe,CAAC,CAU9D;AAED,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,EACf,eAAe,CAAC,EAAE,MAAM,EAAE,GACzB,CAAC,KAAK,EAAE,qBAAqB,KAAK,OAAO,CAAC,eAAe,CAAC,CAe5D;AAED,MAAM,MAAM,qBAAqB,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAE9E,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,qBAAqB,GAC5B,CAAC,KAAK,EAAE,mBAAmB,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAKhE;AAED,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,qBAAqB,GAC5B,CAAC,KAAK,EAAE,mBAAmB,KAAK,OAAO,CAAC,MAAM,CAAC,CAGjD;AAED,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,qBAAqB,GAC5B,CAAC,KAAK,EAAE,qBAAqB,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAWlE;AAED,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,qBAAqB,GAC5B,CAAC,KAAK,EAAE,qBAAqB,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAgBjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/registry/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MiLogger } from '@milaboratories/ts-helpers';
|
|
2
|
-
import { RegistryStorage } from '../../
|
|
2
|
+
import { RegistryStorage } from '../../io/storage';
|
|
3
3
|
import { BlockPackIdNoVersion, BlockPackManifest } from '@milaboratories/pl-model-middle-layer';
|
|
4
4
|
import { GlobalOverviewReg, PackageOverview } from './schema_public';
|
|
5
5
|
import { RelativeContentReader } from '../model';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/v2/registry/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/v2/registry/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAQhG,OAAO,EACL,iBAAiB,EAIjB,eAAe,EAGhB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAqD,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAQpG,qBAAa,eAAe;IAExB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;gBADP,OAAO,EAAE,eAAe,EACxB,MAAM,CAAC,EAAE,QAAQ,YAAA;YAGtB,cAAc;IA4Hf,cAAc,CAAC,KAAK,GAAE,OAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAuBrD,kBAAkB,CAC7B,IAAI,EAAE,oBAAoB,GACzB,OAAO,CAAC,SAAS,GAAG,eAAe,CAAC;IAM1B,iBAAiB,IAAI,OAAO,CAAC,SAAS,GAAG,iBAAiB,CAAC;IAY3D,cAAc,CACzB,QAAQ,EAAE,iBAAiB,EAC3B,UAAU,EAAE,qBAAqB,GAChC,OAAO,CAAC,IAAI,CAAC;CAmCjB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BlockPackOverview } from '@milaboratories/pl-model-middle-layer';
|
|
2
|
+
import { FolderReader } from '../../io';
|
|
3
|
+
export type BlockPackOverviewNoRegLabel = Omit<BlockPackOverview, 'registryId'>;
|
|
4
|
+
export declare class RegistryV2Reader {
|
|
5
|
+
private readonly url;
|
|
6
|
+
private readonly metaCache;
|
|
7
|
+
private readonly rootFolderReader;
|
|
8
|
+
constructor(url: string, reader: FolderReader);
|
|
9
|
+
private embedMetaContent;
|
|
10
|
+
listBlockPacks(): Promise<BlockPackOverviewNoRegLabel[]>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=registry_reader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry_reader.d.ts","sourceRoot":"","sources":["../../../src/v2/registry/registry_reader.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EAClB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAYxC,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;AAEhF,qBAAa,gBAAgB;IASzB,OAAO,CAAC,QAAQ,CAAC,GAAG;IARtB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAGtB;IAEJ,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAe;gBAG7B,GAAG,EAAE,MAAM,EAC5B,MAAM,EAAE,YAAY;YAKR,gBAAgB;IAYjB,cAAc,IAAI,OAAO,CAAC,2BAA2B,EAAE,CAAC;CAuBtE"}
|