@milaboratories/pl-model-middle-layer 1.29.1 → 1.30.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/block_meta/block_description.d.ts +16 -16
- package/dist/block_registry/block_pack_spec.d.ts +8 -8
- package/dist/block_registry/overview.d.ts +176 -176
- package/dist/pframe/internal_api/api_factory.cjs.map +1 -1
- package/dist/pframe/internal_api/api_factory.d.ts +57 -3
- package/dist/pframe/internal_api/api_factory.d.ts.map +1 -1
- package/dist/pframe/internal_api/api_factory.js.map +1 -1
- package/dist/pframe/internal_api/index.d.ts +3 -3
- package/dist/pframe/internal_api/pframe.d.ts +27 -2
- package/dist/pframe/internal_api/pframe.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/pframe/internal_api/api_factory.ts +70 -2
- package/src/pframe/internal_api/pframe.ts +29 -1
|
@@ -660,24 +660,24 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
|
|
|
660
660
|
}, ZodTypeAny, "passthrough">>;
|
|
661
661
|
}, "strip", ZodTypeAny, {
|
|
662
662
|
meta: {
|
|
663
|
+
title: string;
|
|
663
664
|
organization: {
|
|
664
|
-
name: string;
|
|
665
665
|
url: string;
|
|
666
|
+
name: string;
|
|
666
667
|
logo?: {
|
|
668
|
+
type: "relative";
|
|
669
|
+
path: string;
|
|
670
|
+
} | ContentRelativeBinary | {
|
|
667
671
|
type: "explicit-base64";
|
|
668
672
|
mimeType: string;
|
|
669
673
|
content: string;
|
|
670
674
|
} | {
|
|
671
|
-
type: "relative";
|
|
672
|
-
path: string;
|
|
673
|
-
} | ContentRelativeBinary | {
|
|
674
675
|
type: "absolute-file";
|
|
675
676
|
file: string;
|
|
676
677
|
} | undefined;
|
|
677
678
|
} & {
|
|
678
679
|
[k: string]: unknown;
|
|
679
680
|
};
|
|
680
|
-
title: string;
|
|
681
681
|
description: string;
|
|
682
682
|
url?: string | undefined;
|
|
683
683
|
longDescription?: {
|
|
@@ -701,13 +701,13 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
|
|
|
701
701
|
file: string;
|
|
702
702
|
} | undefined;
|
|
703
703
|
logo?: {
|
|
704
|
+
type: "relative";
|
|
705
|
+
path: string;
|
|
706
|
+
} | ContentRelativeBinary | {
|
|
704
707
|
type: "explicit-base64";
|
|
705
708
|
mimeType: string;
|
|
706
709
|
content: string;
|
|
707
710
|
} | {
|
|
708
|
-
type: "relative";
|
|
709
|
-
path: string;
|
|
710
|
-
} | ContentRelativeBinary | {
|
|
711
711
|
type: "absolute-file";
|
|
712
712
|
file: string;
|
|
713
713
|
} | undefined;
|
|
@@ -732,16 +732,17 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
|
|
|
732
732
|
};
|
|
733
733
|
}, {
|
|
734
734
|
meta: {
|
|
735
|
+
title: string;
|
|
735
736
|
organization: {
|
|
736
|
-
name: string;
|
|
737
737
|
url: string;
|
|
738
|
+
name: string;
|
|
738
739
|
logo?: string | {
|
|
740
|
+
type: "relative";
|
|
741
|
+
path: string;
|
|
742
|
+
} | {
|
|
739
743
|
type: "explicit-base64";
|
|
740
744
|
mimeType: string;
|
|
741
745
|
content: string;
|
|
742
|
-
} | {
|
|
743
|
-
type: "relative";
|
|
744
|
-
path: string;
|
|
745
746
|
} | {
|
|
746
747
|
type: "absolute-file";
|
|
747
748
|
file: string;
|
|
@@ -749,7 +750,6 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
|
|
|
749
750
|
} & {
|
|
750
751
|
[k: string]: unknown;
|
|
751
752
|
};
|
|
752
|
-
title: string;
|
|
753
753
|
description: string;
|
|
754
754
|
url?: string | undefined;
|
|
755
755
|
longDescription?: string | {
|
|
@@ -773,12 +773,12 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
|
|
|
773
773
|
file: string;
|
|
774
774
|
} | undefined;
|
|
775
775
|
logo?: string | {
|
|
776
|
+
type: "relative";
|
|
777
|
+
path: string;
|
|
778
|
+
} | {
|
|
776
779
|
type: "explicit-base64";
|
|
777
780
|
mimeType: string;
|
|
778
781
|
content: string;
|
|
779
|
-
} | {
|
|
780
|
-
type: "relative";
|
|
781
|
-
path: string;
|
|
782
782
|
} | {
|
|
783
783
|
type: "absolute-file";
|
|
784
784
|
file: string;
|
|
@@ -56,20 +56,20 @@ declare const BlockPackFromRegistryV1: z.ZodObject<{
|
|
|
56
56
|
}>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
type: "from-registry-v1";
|
|
59
|
-
registryUrl: string;
|
|
60
59
|
id: {
|
|
61
60
|
organization: string;
|
|
62
61
|
name: string;
|
|
63
62
|
version: string;
|
|
64
63
|
};
|
|
64
|
+
registryUrl: string;
|
|
65
65
|
}, {
|
|
66
66
|
type: "from-registry-v1";
|
|
67
|
-
registryUrl: string;
|
|
68
67
|
id: {
|
|
69
68
|
organization: string;
|
|
70
69
|
name: string;
|
|
71
70
|
version: string;
|
|
72
71
|
};
|
|
72
|
+
registryUrl: string;
|
|
73
73
|
}>;
|
|
74
74
|
/** @deprecated don't use */
|
|
75
75
|
type BlockPackFromRegistryV1 = z.infer<typeof BlockPackFromRegistryV1>;
|
|
@@ -94,21 +94,21 @@ declare const BlockPackFromRegistryV2: z.ZodObject<{
|
|
|
94
94
|
channel: z.ZodOptional<z.ZodString>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
type: "from-registry-v2";
|
|
97
|
-
registryUrl: string;
|
|
98
97
|
id: {
|
|
99
98
|
organization: string;
|
|
100
99
|
name: string;
|
|
101
100
|
version: string;
|
|
102
101
|
};
|
|
102
|
+
registryUrl: string;
|
|
103
103
|
channel?: string | undefined;
|
|
104
104
|
}, {
|
|
105
105
|
type: "from-registry-v2";
|
|
106
|
-
registryUrl: string;
|
|
107
106
|
id: {
|
|
108
107
|
organization: string;
|
|
109
108
|
name: string;
|
|
110
109
|
version: string;
|
|
111
110
|
};
|
|
111
|
+
registryUrl: string;
|
|
112
112
|
channel?: string | undefined;
|
|
113
113
|
}>;
|
|
114
114
|
type BlockPackFromRegistryV2 = z.infer<typeof BlockPackFromRegistryV2>;
|
|
@@ -155,20 +155,20 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
155
155
|
}>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
157
|
type: "from-registry-v1";
|
|
158
|
-
registryUrl: string;
|
|
159
158
|
id: {
|
|
160
159
|
organization: string;
|
|
161
160
|
name: string;
|
|
162
161
|
version: string;
|
|
163
162
|
};
|
|
163
|
+
registryUrl: string;
|
|
164
164
|
}, {
|
|
165
165
|
type: "from-registry-v1";
|
|
166
|
-
registryUrl: string;
|
|
167
166
|
id: {
|
|
168
167
|
organization: string;
|
|
169
168
|
name: string;
|
|
170
169
|
version: string;
|
|
171
170
|
};
|
|
171
|
+
registryUrl: string;
|
|
172
172
|
}>, z.ZodObject<{
|
|
173
173
|
type: z.ZodLiteral<"from-registry-v2">;
|
|
174
174
|
registryUrl: z.ZodString;
|
|
@@ -188,21 +188,21 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
188
188
|
channel: z.ZodOptional<z.ZodString>;
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
190
|
type: "from-registry-v2";
|
|
191
|
-
registryUrl: string;
|
|
192
191
|
id: {
|
|
193
192
|
organization: string;
|
|
194
193
|
name: string;
|
|
195
194
|
version: string;
|
|
196
195
|
};
|
|
196
|
+
registryUrl: string;
|
|
197
197
|
channel?: string | undefined;
|
|
198
198
|
}, {
|
|
199
199
|
type: "from-registry-v2";
|
|
200
|
-
registryUrl: string;
|
|
201
200
|
id: {
|
|
202
201
|
organization: string;
|
|
203
202
|
name: string;
|
|
204
203
|
version: string;
|
|
205
204
|
};
|
|
205
|
+
registryUrl: string;
|
|
206
206
|
channel?: string | undefined;
|
|
207
207
|
}>]>;
|
|
208
208
|
type BlockPackSpec = z.infer<typeof BlockPackSpec>;
|