@milaboratories/pl-model-middle-layer 1.19.4 → 1.21.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_components.d.ts +55 -55
- package/dist/block_meta/block_description.d.ts +2308 -834
- package/dist/block_meta/block_description.d.ts.map +1 -1
- package/dist/block_meta/block_id.d.ts +4 -4
- package/dist/block_meta/block_manifest.d.ts +5127 -2488
- package/dist/block_meta/block_manifest.d.ts.map +1 -1
- package/dist/block_meta/block_meta.cjs +3 -2
- package/dist/block_meta/block_meta.cjs.map +1 -1
- package/dist/block_meta/block_meta.d.ts +1065 -277
- package/dist/block_meta/block_meta.d.ts.map +1 -1
- package/dist/block_meta/block_meta.js +3 -2
- package/dist/block_meta/block_meta.js.map +1 -1
- package/dist/block_meta/content_types.d.ts +49 -49
- package/dist/block_registry/block_pack_spec.d.ts +16 -16
- package/dist/block_registry/overview.d.ts +9794 -5614
- package/dist/block_registry/overview.d.ts.map +1 -1
- package/dist/block_registry/registry_spec.d.ts +12 -12
- package/dist/pframe/internal_api/api_factory.cjs.map +1 -1
- package/dist/pframe/internal_api/api_factory.d.ts +36 -2
- 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/api_read.d.ts +40 -3
- package/dist/pframe/internal_api/api_read.d.ts.map +1 -1
- package/dist/pframe/internal_api/index.d.ts +5 -5
- package/dist/pframe/internal_api/pframe.d.ts +21 -3
- package/dist/pframe/internal_api/pframe.d.ts.map +1 -1
- package/dist/pframe/internal_api/table.d.ts +51 -1
- package/dist/pframe/internal_api/table.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/block_meta/block_meta.test.ts +44 -0
- package/src/block_meta/block_meta.ts +57 -36
- package/src/pframe/internal_api/api_factory.ts +44 -0
- package/src/pframe/internal_api/api_read.ts +48 -1
- package/src/pframe/internal_api/pframe.ts +23 -2
- package/src/pframe/internal_api/table.ts +54 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block_meta.d.ts","names":[],"sources":["../../src/block_meta/block_meta.ts"],"mappings":";;;cAQa,aAAA,EAAa,CAAA,CAAA,OAAA;AAAA,KAQd,aAAA,GAAgB,CAAA,CAAE,KAAA,QAAa,aAAA;AAAA,iBAE3B,aAAA,8BACe,CAAA,CAAE,UAAA,2BACN,CAAA,CAAE,UAAA,CAAA,CAC3B,UAAA,EAAY,cAAA,EAAgB,MAAA,EAAQ,UAAA,GAAU,CAAA,CAAA,SAAA
|
|
1
|
+
{"version":3,"file":"block_meta.d.ts","names":[],"sources":["../../src/block_meta/block_meta.ts"],"mappings":"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"}
|
|
@@ -28,8 +28,9 @@ function BlockPackMeta(longString, binary) {
|
|
|
28
28
|
marketplaceRanking: z.number().optional(),
|
|
29
29
|
deprecated: z.boolean().optional(),
|
|
30
30
|
termsOfServiceUrl: z.string().url().optional(),
|
|
31
|
-
supportedPlatforms: z.array(BlockPlatform).optional()
|
|
32
|
-
|
|
31
|
+
supportedPlatforms: z.array(BlockPlatform).optional(),
|
|
32
|
+
requiredCapabilities: z.array(z.string()).optional()
|
|
33
|
+
}).passthrough();
|
|
33
34
|
}
|
|
34
35
|
const BlockPackMetaDescriptionRaw = BlockPackMeta(DescriptionContentText, DescriptionContentBinary);
|
|
35
36
|
const BlockPackMetaEmbeddedBase64 = BlockPackMeta(z.string(), ContentExplicitBase64);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block_meta.js","names":[],"sources":["../../src/block_meta/block_meta.ts"],"sourcesContent":["import { z } from \"zod\";\nimport {\n ContentExplicitBase64,\n ContentExplicitBytes,\n DescriptionContentBinary,\n DescriptionContentText,\n} from \"./content_types\";\n\nexport const BlockPlatform = z.enum([\n \"windows-x64\",\n \"windows-aarch64\",\n \"macosx-x64\",\n \"macosx-aarch64\",\n \"linux-x64\",\n \"linux-aarch64\",\n]);\nexport type BlockPlatform = z.infer<typeof BlockPlatform>;\n\nexport function BlockPackMeta<\n const LongStringType extends z.ZodTypeAny,\n const BinaryType extends z.ZodTypeAny,\n>(longString: LongStringType, binary: BinaryType) {\n return z.object({\n
|
|
1
|
+
{"version":3,"file":"block_meta.js","names":[],"sources":["../../src/block_meta/block_meta.ts"],"sourcesContent":["import { z } from \"zod\";\nimport {\n ContentExplicitBase64,\n ContentExplicitBytes,\n DescriptionContentBinary,\n DescriptionContentText,\n} from \"./content_types\";\n\nexport const BlockPlatform = z.enum([\n \"windows-x64\",\n \"windows-aarch64\",\n \"macosx-x64\",\n \"macosx-aarch64\",\n \"linux-x64\",\n \"linux-aarch64\",\n]);\nexport type BlockPlatform = z.infer<typeof BlockPlatform>;\n\nexport function BlockPackMeta<\n const LongStringType extends z.ZodTypeAny,\n const BinaryType extends z.ZodTypeAny,\n>(longString: LongStringType, binary: BinaryType) {\n return z\n .object({\n title: z.string(),\n description: z.string(),\n longDescription: longString.optional(),\n changelog: longString.optional(),\n logo: binary.optional(),\n url: z.string().url().optional(),\n docs: z.string().url().optional(),\n support: z.union([z.string().url(), z.string().email()]).optional(),\n tags: z.array(z.string()).optional(),\n organization: z\n .object({\n name: z.string(),\n url: z.string().url(),\n logo: binary.optional(),\n })\n .passthrough(),\n /**\n * The order of blocks on the \"marketplace\" (higher values push block higher to the top of the list).\n * `undefined` value or absent field is treated exactly the same as number `0`.\n */\n marketplaceRanking: z.number().optional(),\n /**\n * If true, the block is deprecated and should not be used.\n */\n deprecated: z.boolean().optional(),\n /**\n * The URL to the Terms of Service for the block. If provided checkbox with link to this URL should be shown in order to add block.\n */\n termsOfServiceUrl: z.string().url().optional(),\n /**\n * Supported operating systems.\n * If not provided, the block is supported on all operating systems.\n */\n supportedPlatforms: z.array(BlockPlatform).optional(),\n /**\n * Runtime capabilities the block needs from the backend (e.g.\n * \"wasm:v1\"). Desktop refuses to install if any listed token is\n * missing from the backend's `serverInfo.capabilities`.\n *\n * Tokens follow the backend's `<feature>:<version>` format defined in\n * `core/pl/platform/api/plapiserver/server_capabilities.go`. The\n * schema itself accepts loose strings (not an enum) so future\n * capabilities don't break Desktops that ship before each token is\n * added — the same forward-compat property `BlockPackMeta` itself\n * enjoys at the field level, applied recursively at the token level.\n */\n requiredCapabilities: z.array(z.string()).optional(),\n })\n .passthrough();\n // `.passthrough()` preserves unknown sibling keys through `parse`/round-trip.\n // Without it, a block-tools version that predates a newly-added meta field\n // would strip that field on every registry-mutating command (mark-stable,\n // refresh-registry, restore-overview-from-snapshot) — silently undoing\n // publishes. Combined with the `require-latest @platforma-sdk/block-tools`\n // CI gate, this future-proofs the schema for all subsequent field additions.\n}\n\nexport const BlockPackMetaDescriptionRaw = BlockPackMeta(\n DescriptionContentText,\n DescriptionContentBinary,\n);\nexport type BlockPackMetaDescriptionRaw = z.infer<typeof BlockPackMetaDescriptionRaw>;\n\nexport const BlockPackMetaEmbeddedBase64 = BlockPackMeta(z.string(), ContentExplicitBase64);\nexport type BlockPackMetaEmbeddedBase64 = z.infer<typeof BlockPackMetaEmbeddedBase64>;\n\nexport const BlockPackMetaEmbeddedBytes = BlockPackMeta(z.string(), ContentExplicitBytes);\nexport type BlockPackMetaEmbeddedBytes = z.infer<typeof BlockPackMetaEmbeddedBytes>;\n"],"mappings":";;;AAQA,MAAa,gBAAgB,EAAE,KAAK;CAClC;CACA;CACA;CACA;CACA;CACA;CACD,CAAC;AAGF,SAAgB,cAGd,YAA4B,QAAoB;AAChD,QAAO,EACJ,OAAO;EACN,OAAO,EAAE,QAAQ;EACjB,aAAa,EAAE,QAAQ;EACvB,iBAAiB,WAAW,UAAU;EACtC,WAAW,WAAW,UAAU;EAChC,MAAM,OAAO,UAAU;EACvB,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,UAAU;EAChC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,UAAU;EACjC,SAAS,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,KAAK,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU;EACnE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,UAAU;EACpC,cAAc,EACX,OAAO;GACN,MAAM,EAAE,QAAQ;GAChB,KAAK,EAAE,QAAQ,CAAC,KAAK;GACrB,MAAM,OAAO,UAAU;GACxB,CAAC,CACD,aAAa;EAKhB,oBAAoB,EAAE,QAAQ,CAAC,UAAU;EAIzC,YAAY,EAAE,SAAS,CAAC,UAAU;EAIlC,mBAAmB,EAAE,QAAQ,CAAC,KAAK,CAAC,UAAU;EAK9C,oBAAoB,EAAE,MAAM,cAAc,CAAC,UAAU;EAarD,sBAAsB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,UAAU;EACrD,CAAC,CACD,aAAa;;AASlB,MAAa,8BAA8B,cACzC,wBACA,yBACD;AAGD,MAAa,8BAA8B,cAAc,EAAE,QAAQ,EAAE,sBAAsB;AAG3F,MAAa,6BAA6B,cAAc,EAAE,QAAQ,EAAE,qBAAqB"}
|
|
@@ -18,23 +18,23 @@ declare const ContentExplicitBase64: z.ZodObject<{
|
|
|
18
18
|
content: z.ZodString;
|
|
19
19
|
}, "strict", z.ZodTypeAny, {
|
|
20
20
|
type: "explicit-base64";
|
|
21
|
-
mimeType: string;
|
|
22
21
|
content: string;
|
|
22
|
+
mimeType: string;
|
|
23
23
|
}, {
|
|
24
24
|
type: "explicit-base64";
|
|
25
|
-
mimeType: string;
|
|
26
25
|
content: string;
|
|
26
|
+
mimeType: string;
|
|
27
27
|
}>;
|
|
28
28
|
type ContentExplicitBase64 = z.infer<typeof ContentExplicitBase64>;
|
|
29
29
|
declare const ContentRelative: z.ZodObject<{
|
|
30
30
|
type: z.ZodLiteral<"relative">;
|
|
31
31
|
path: z.ZodString;
|
|
32
32
|
}, "strict", z.ZodTypeAny, {
|
|
33
|
-
path: string;
|
|
34
33
|
type: "relative";
|
|
35
|
-
}, {
|
|
36
34
|
path: string;
|
|
35
|
+
}, {
|
|
37
36
|
type: "relative";
|
|
37
|
+
path: string;
|
|
38
38
|
}>;
|
|
39
39
|
type ContentRelative = z.infer<typeof ContentRelative>;
|
|
40
40
|
declare const ContentAbsoluteFile: z.ZodObject<{
|
|
@@ -65,12 +65,12 @@ declare const ContentExplicitBytes: z.ZodObject<{
|
|
|
65
65
|
content: z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>;
|
|
66
66
|
}, "strict", z.ZodTypeAny, {
|
|
67
67
|
type: "explicit-bytes";
|
|
68
|
-
mimeType: string;
|
|
69
68
|
content: Uint8Array<ArrayBuffer>;
|
|
69
|
+
mimeType: string;
|
|
70
70
|
}, {
|
|
71
71
|
type: "explicit-bytes";
|
|
72
|
-
mimeType: string;
|
|
73
72
|
content: Uint8Array<ArrayBuffer>;
|
|
73
|
+
mimeType: string;
|
|
74
74
|
}>;
|
|
75
75
|
type ContentExplicitBytes = z.infer<typeof ContentExplicitBytes>;
|
|
76
76
|
declare const ContentAbsoluteFolder: z.ZodObject<{
|
|
@@ -99,21 +99,21 @@ declare const ContentAny: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
99
99
|
content: z.ZodString;
|
|
100
100
|
}, "strict", z.ZodTypeAny, {
|
|
101
101
|
type: "explicit-base64";
|
|
102
|
-
mimeType: string;
|
|
103
102
|
content: string;
|
|
103
|
+
mimeType: string;
|
|
104
104
|
}, {
|
|
105
105
|
type: "explicit-base64";
|
|
106
|
-
mimeType: string;
|
|
107
106
|
content: string;
|
|
107
|
+
mimeType: string;
|
|
108
108
|
}>, z.ZodObject<{
|
|
109
109
|
type: z.ZodLiteral<"relative">;
|
|
110
110
|
path: z.ZodString;
|
|
111
111
|
}, "strict", z.ZodTypeAny, {
|
|
112
|
-
path: string;
|
|
113
112
|
type: "relative";
|
|
114
|
-
}, {
|
|
115
113
|
path: string;
|
|
114
|
+
}, {
|
|
116
115
|
type: "relative";
|
|
116
|
+
path: string;
|
|
117
117
|
}>, z.ZodObject<{
|
|
118
118
|
type: z.ZodLiteral<"absolute-file">;
|
|
119
119
|
file: z.ZodString;
|
|
@@ -149,21 +149,21 @@ declare const ContentExplicitOrRelative: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
149
149
|
content: z.ZodString;
|
|
150
150
|
}, "strict", z.ZodTypeAny, {
|
|
151
151
|
type: "explicit-base64";
|
|
152
|
-
mimeType: string;
|
|
153
152
|
content: string;
|
|
153
|
+
mimeType: string;
|
|
154
154
|
}, {
|
|
155
155
|
type: "explicit-base64";
|
|
156
|
-
mimeType: string;
|
|
157
156
|
content: string;
|
|
157
|
+
mimeType: string;
|
|
158
158
|
}>, z.ZodObject<{
|
|
159
159
|
type: z.ZodLiteral<"relative">;
|
|
160
160
|
path: z.ZodString;
|
|
161
161
|
}, "strict", z.ZodTypeAny, {
|
|
162
|
-
path: string;
|
|
163
162
|
type: "relative";
|
|
164
|
-
}, {
|
|
165
163
|
path: string;
|
|
164
|
+
}, {
|
|
166
165
|
type: "relative";
|
|
166
|
+
path: string;
|
|
167
167
|
}>]>;
|
|
168
168
|
type ContentExplicitOrRelative = z.infer<typeof ContentExplicitOrRelative>;
|
|
169
169
|
declare const ContentAnyLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -181,21 +181,21 @@ declare const ContentAnyLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
181
181
|
content: z.ZodString;
|
|
182
182
|
}, "strict", z.ZodTypeAny, {
|
|
183
183
|
type: "explicit-base64";
|
|
184
|
-
mimeType: string;
|
|
185
184
|
content: string;
|
|
185
|
+
mimeType: string;
|
|
186
186
|
}, {
|
|
187
187
|
type: "explicit-base64";
|
|
188
|
-
mimeType: string;
|
|
189
188
|
content: string;
|
|
189
|
+
mimeType: string;
|
|
190
190
|
}>, z.ZodObject<{
|
|
191
191
|
type: z.ZodLiteral<"relative">;
|
|
192
192
|
path: z.ZodString;
|
|
193
193
|
}, "strict", z.ZodTypeAny, {
|
|
194
|
-
path: string;
|
|
195
194
|
type: "relative";
|
|
196
|
-
}, {
|
|
197
195
|
path: string;
|
|
196
|
+
}, {
|
|
198
197
|
type: "relative";
|
|
198
|
+
path: string;
|
|
199
199
|
}>, z.ZodObject<{
|
|
200
200
|
type: z.ZodLiteral<"absolute-file">;
|
|
201
201
|
file: z.ZodString;
|
|
@@ -222,21 +222,21 @@ declare const ContentAnyRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
222
222
|
content: z.ZodString;
|
|
223
223
|
}, "strict", z.ZodTypeAny, {
|
|
224
224
|
type: "explicit-base64";
|
|
225
|
-
mimeType: string;
|
|
226
225
|
content: string;
|
|
226
|
+
mimeType: string;
|
|
227
227
|
}, {
|
|
228
228
|
type: "explicit-base64";
|
|
229
|
-
mimeType: string;
|
|
230
229
|
content: string;
|
|
230
|
+
mimeType: string;
|
|
231
231
|
}>, z.ZodObject<{
|
|
232
232
|
type: z.ZodLiteral<"relative">;
|
|
233
233
|
path: z.ZodString;
|
|
234
234
|
}, "strict", z.ZodTypeAny, {
|
|
235
|
-
path: string;
|
|
236
235
|
type: "relative";
|
|
237
|
-
}, {
|
|
238
236
|
path: string;
|
|
237
|
+
}, {
|
|
239
238
|
type: "relative";
|
|
239
|
+
path: string;
|
|
240
240
|
}>, z.ZodObject<{
|
|
241
241
|
type: z.ZodLiteral<"absolute-url">;
|
|
242
242
|
url: z.ZodString;
|
|
@@ -254,21 +254,21 @@ declare const ContentAnyBinaryLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
254
254
|
content: z.ZodString;
|
|
255
255
|
}, "strict", z.ZodTypeAny, {
|
|
256
256
|
type: "explicit-base64";
|
|
257
|
-
mimeType: string;
|
|
258
257
|
content: string;
|
|
258
|
+
mimeType: string;
|
|
259
259
|
}, {
|
|
260
260
|
type: "explicit-base64";
|
|
261
|
-
mimeType: string;
|
|
262
261
|
content: string;
|
|
262
|
+
mimeType: string;
|
|
263
263
|
}>, z.ZodObject<{
|
|
264
264
|
type: z.ZodLiteral<"relative">;
|
|
265
265
|
path: z.ZodString;
|
|
266
266
|
}, "strict", z.ZodTypeAny, {
|
|
267
|
-
path: string;
|
|
268
267
|
type: "relative";
|
|
269
|
-
}, {
|
|
270
268
|
path: string;
|
|
269
|
+
}, {
|
|
271
270
|
type: "relative";
|
|
271
|
+
path: string;
|
|
272
272
|
}>, z.ZodObject<{
|
|
273
273
|
type: z.ZodLiteral<"absolute-file">;
|
|
274
274
|
file: z.ZodString;
|
|
@@ -293,11 +293,11 @@ declare const ContentAnyTextLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
293
293
|
type: z.ZodLiteral<"relative">;
|
|
294
294
|
path: z.ZodString;
|
|
295
295
|
}, "strict", z.ZodTypeAny, {
|
|
296
|
-
path: string;
|
|
297
296
|
type: "relative";
|
|
298
|
-
}, {
|
|
299
297
|
path: string;
|
|
298
|
+
}, {
|
|
300
299
|
type: "relative";
|
|
300
|
+
path: string;
|
|
301
301
|
}>, z.ZodObject<{
|
|
302
302
|
type: z.ZodLiteral<"absolute-file">;
|
|
303
303
|
file: z.ZodString;
|
|
@@ -315,12 +315,12 @@ declare const ContentAbsoluteBinaryRemote: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
315
315
|
content: z.ZodString;
|
|
316
316
|
}, "strict", z.ZodTypeAny, {
|
|
317
317
|
type: "explicit-base64";
|
|
318
|
-
mimeType: string;
|
|
319
318
|
content: string;
|
|
319
|
+
mimeType: string;
|
|
320
320
|
}, {
|
|
321
321
|
type: "explicit-base64";
|
|
322
|
-
mimeType: string;
|
|
323
322
|
content: string;
|
|
323
|
+
mimeType: string;
|
|
324
324
|
}>, z.ZodObject<{
|
|
325
325
|
type: z.ZodLiteral<"absolute-url">;
|
|
326
326
|
url: z.ZodString;
|
|
@@ -338,12 +338,12 @@ declare const ContentAbsoluteBinaryLocal: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
338
338
|
content: z.ZodString;
|
|
339
339
|
}, "strict", z.ZodTypeAny, {
|
|
340
340
|
type: "explicit-base64";
|
|
341
|
-
mimeType: string;
|
|
342
341
|
content: string;
|
|
342
|
+
mimeType: string;
|
|
343
343
|
}, {
|
|
344
344
|
type: "explicit-base64";
|
|
345
|
-
mimeType: string;
|
|
346
345
|
content: string;
|
|
346
|
+
mimeType: string;
|
|
347
347
|
}>, z.ZodObject<{
|
|
348
348
|
type: z.ZodLiteral<"absolute-file">;
|
|
349
349
|
file: z.ZodString;
|
|
@@ -401,21 +401,21 @@ declare const ContentRelativeBinary: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
401
401
|
content: z.ZodString;
|
|
402
402
|
}, "strict", z.ZodTypeAny, {
|
|
403
403
|
type: "explicit-base64";
|
|
404
|
-
mimeType: string;
|
|
405
404
|
content: string;
|
|
405
|
+
mimeType: string;
|
|
406
406
|
}, {
|
|
407
407
|
type: "explicit-base64";
|
|
408
|
-
mimeType: string;
|
|
409
408
|
content: string;
|
|
409
|
+
mimeType: string;
|
|
410
410
|
}>, z.ZodObject<{
|
|
411
411
|
type: z.ZodLiteral<"relative">;
|
|
412
412
|
path: z.ZodString;
|
|
413
413
|
}, "strict", z.ZodTypeAny, {
|
|
414
|
-
path: string;
|
|
415
414
|
type: "relative";
|
|
416
|
-
}, {
|
|
417
415
|
path: string;
|
|
416
|
+
}, {
|
|
418
417
|
type: "relative";
|
|
418
|
+
path: string;
|
|
419
419
|
}>]>;
|
|
420
420
|
type ContentRelativeBinary = z.infer<typeof ContentRelativeBinary>;
|
|
421
421
|
declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -431,41 +431,41 @@ declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
431
431
|
type: z.ZodLiteral<"relative">;
|
|
432
432
|
path: z.ZodString;
|
|
433
433
|
}, "strict", z.ZodTypeAny, {
|
|
434
|
-
path: string;
|
|
435
434
|
type: "relative";
|
|
436
|
-
}, {
|
|
437
435
|
path: string;
|
|
436
|
+
}, {
|
|
438
437
|
type: "relative";
|
|
438
|
+
path: string;
|
|
439
439
|
}>]>;
|
|
440
440
|
type ContentRelativeText = z.infer<typeof ContentRelativeText>;
|
|
441
441
|
declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
442
|
-
path: string;
|
|
443
442
|
type: "relative";
|
|
443
|
+
path: string;
|
|
444
444
|
} | {
|
|
445
445
|
type: "explicit-base64";
|
|
446
|
-
mimeType: string;
|
|
447
446
|
content: string;
|
|
447
|
+
mimeType: string;
|
|
448
448
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
449
449
|
type: z.ZodLiteral<"explicit-base64">;
|
|
450
450
|
mimeType: z.ZodString;
|
|
451
451
|
content: z.ZodString;
|
|
452
452
|
}, "strict", z.ZodTypeAny, {
|
|
453
453
|
type: "explicit-base64";
|
|
454
|
-
mimeType: string;
|
|
455
454
|
content: string;
|
|
455
|
+
mimeType: string;
|
|
456
456
|
}, {
|
|
457
457
|
type: "explicit-base64";
|
|
458
|
-
mimeType: string;
|
|
459
458
|
content: string;
|
|
459
|
+
mimeType: string;
|
|
460
460
|
}>, z.ZodObject<{
|
|
461
461
|
type: z.ZodLiteral<"relative">;
|
|
462
462
|
path: z.ZodString;
|
|
463
463
|
}, "strict", z.ZodTypeAny, {
|
|
464
|
-
path: string;
|
|
465
464
|
type: "relative";
|
|
466
|
-
}, {
|
|
467
465
|
path: string;
|
|
466
|
+
}, {
|
|
468
467
|
type: "relative";
|
|
468
|
+
path: string;
|
|
469
469
|
}>, z.ZodObject<{
|
|
470
470
|
type: z.ZodLiteral<"absolute-file">;
|
|
471
471
|
file: z.ZodString;
|
|
@@ -478,11 +478,11 @@ declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
|
478
478
|
}>]>]>;
|
|
479
479
|
type DescriptionContentBinary = z.infer<typeof DescriptionContentBinary>;
|
|
480
480
|
declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
481
|
+
type: "relative";
|
|
482
|
+
path: string;
|
|
483
|
+
} | {
|
|
481
484
|
type: "explicit-string";
|
|
482
485
|
content: string;
|
|
483
|
-
} | {
|
|
484
|
-
path: string;
|
|
485
|
-
type: "relative";
|
|
486
486
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
487
487
|
type: z.ZodLiteral<"explicit-string">;
|
|
488
488
|
content: z.ZodString;
|
|
@@ -496,11 +496,11 @@ declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
|
496
496
|
type: z.ZodLiteral<"relative">;
|
|
497
497
|
path: z.ZodString;
|
|
498
498
|
}, "strict", z.ZodTypeAny, {
|
|
499
|
-
path: string;
|
|
500
499
|
type: "relative";
|
|
501
|
-
}, {
|
|
502
500
|
path: string;
|
|
501
|
+
}, {
|
|
503
502
|
type: "relative";
|
|
503
|
+
path: string;
|
|
504
504
|
}>, z.ZodObject<{
|
|
505
505
|
type: z.ZodLiteral<"absolute-file">;
|
|
506
506
|
file: z.ZodString;
|
|
@@ -46,27 +46,27 @@ declare const BlockPackFromRegistryV1: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodString;
|
|
47
47
|
version: z.ZodString;
|
|
48
48
|
}, "strict", z.ZodTypeAny, {
|
|
49
|
-
organization: string;
|
|
50
49
|
name: string;
|
|
50
|
+
organization: string;
|
|
51
51
|
version: string;
|
|
52
52
|
}, {
|
|
53
|
-
organization: string;
|
|
54
53
|
name: string;
|
|
54
|
+
organization: string;
|
|
55
55
|
version: string;
|
|
56
56
|
}>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
type: "from-registry-v1";
|
|
59
59
|
id: {
|
|
60
|
-
organization: string;
|
|
61
60
|
name: string;
|
|
61
|
+
organization: string;
|
|
62
62
|
version: string;
|
|
63
63
|
};
|
|
64
64
|
registryUrl: string;
|
|
65
65
|
}, {
|
|
66
66
|
type: "from-registry-v1";
|
|
67
67
|
id: {
|
|
68
|
-
organization: string;
|
|
69
68
|
name: string;
|
|
69
|
+
organization: string;
|
|
70
70
|
version: string;
|
|
71
71
|
};
|
|
72
72
|
registryUrl: string;
|
|
@@ -83,20 +83,20 @@ declare const BlockPackFromRegistryV2: z.ZodObject<{
|
|
|
83
83
|
name: z.ZodString;
|
|
84
84
|
version: z.ZodString;
|
|
85
85
|
}, "strict", z.ZodTypeAny, {
|
|
86
|
-
organization: string;
|
|
87
86
|
name: string;
|
|
87
|
+
organization: string;
|
|
88
88
|
version: string;
|
|
89
89
|
}, {
|
|
90
|
-
organization: string;
|
|
91
90
|
name: string;
|
|
91
|
+
organization: string;
|
|
92
92
|
version: string;
|
|
93
93
|
}>;
|
|
94
94
|
channel: z.ZodOptional<z.ZodString>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
type: "from-registry-v2";
|
|
97
97
|
id: {
|
|
98
|
-
organization: string;
|
|
99
98
|
name: string;
|
|
99
|
+
organization: string;
|
|
100
100
|
version: string;
|
|
101
101
|
};
|
|
102
102
|
registryUrl: string;
|
|
@@ -104,8 +104,8 @@ declare const BlockPackFromRegistryV2: z.ZodObject<{
|
|
|
104
104
|
}, {
|
|
105
105
|
type: "from-registry-v2";
|
|
106
106
|
id: {
|
|
107
|
-
organization: string;
|
|
108
107
|
name: string;
|
|
108
|
+
organization: string;
|
|
109
109
|
version: string;
|
|
110
110
|
};
|
|
111
111
|
registryUrl: string;
|
|
@@ -145,27 +145,27 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
145
145
|
name: z.ZodString;
|
|
146
146
|
version: z.ZodString;
|
|
147
147
|
}, "strict", z.ZodTypeAny, {
|
|
148
|
-
organization: string;
|
|
149
148
|
name: string;
|
|
149
|
+
organization: string;
|
|
150
150
|
version: string;
|
|
151
151
|
}, {
|
|
152
|
-
organization: string;
|
|
153
152
|
name: string;
|
|
153
|
+
organization: string;
|
|
154
154
|
version: string;
|
|
155
155
|
}>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
157
|
type: "from-registry-v1";
|
|
158
158
|
id: {
|
|
159
|
-
organization: string;
|
|
160
159
|
name: string;
|
|
160
|
+
organization: string;
|
|
161
161
|
version: string;
|
|
162
162
|
};
|
|
163
163
|
registryUrl: string;
|
|
164
164
|
}, {
|
|
165
165
|
type: "from-registry-v1";
|
|
166
166
|
id: {
|
|
167
|
-
organization: string;
|
|
168
167
|
name: string;
|
|
168
|
+
organization: string;
|
|
169
169
|
version: string;
|
|
170
170
|
};
|
|
171
171
|
registryUrl: string;
|
|
@@ -177,20 +177,20 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
177
177
|
name: z.ZodString;
|
|
178
178
|
version: z.ZodString;
|
|
179
179
|
}, "strict", z.ZodTypeAny, {
|
|
180
|
-
organization: string;
|
|
181
180
|
name: string;
|
|
181
|
+
organization: string;
|
|
182
182
|
version: string;
|
|
183
183
|
}, {
|
|
184
|
-
organization: string;
|
|
185
184
|
name: string;
|
|
185
|
+
organization: string;
|
|
186
186
|
version: string;
|
|
187
187
|
}>;
|
|
188
188
|
channel: z.ZodOptional<z.ZodString>;
|
|
189
189
|
}, "strip", z.ZodTypeAny, {
|
|
190
190
|
type: "from-registry-v2";
|
|
191
191
|
id: {
|
|
192
|
-
organization: string;
|
|
193
192
|
name: string;
|
|
193
|
+
organization: string;
|
|
194
194
|
version: string;
|
|
195
195
|
};
|
|
196
196
|
registryUrl: string;
|
|
@@ -198,8 +198,8 @@ declare const BlockPackSpec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
198
198
|
}, {
|
|
199
199
|
type: "from-registry-v2";
|
|
200
200
|
id: {
|
|
201
|
-
organization: string;
|
|
202
201
|
name: string;
|
|
202
|
+
organization: string;
|
|
203
203
|
version: string;
|
|
204
204
|
};
|
|
205
205
|
registryUrl: string;
|