@milaboratories/pl-model-middle-layer 1.19.4 → 1.20.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.
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuCnC,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAI5B,2BAAA,GAA8B,CAAA,CAAE,KAAA,QAAa,2BAAA;AAAA,cAE5C,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAA,CAAE,KAAA,QAAa,2BAAA;AAAA,cAE5C,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAC3B,0BAAA,GAA6B,CAAA,CAAE,KAAA,QAAa,0BAAA"}
@@ -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 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}\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,EAAE,OAAO;EACd,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;EACtD,CAAC;;AAGJ,MAAa,8BAA8B,cACzC,wBACA,yBACD;AAGD,MAAa,8BAA8B,cAAc,EAAE,QAAQ,EAAE,sBAAsB;AAG3F,MAAa,6BAA6B,cAAc,EAAE,QAAQ,EAAE,qBAAqB"}
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"}
@@ -30,11 +30,11 @@ 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<{
@@ -109,11 +109,11 @@ declare const ContentAny: z.ZodDiscriminatedUnion<"type", [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;
@@ -159,11 +159,11 @@ declare const ContentExplicitOrRelative: z.ZodDiscriminatedUnion<"type", [z.ZodO
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<{
@@ -191,11 +191,11 @@ declare const ContentAnyLocal: z.ZodDiscriminatedUnion<"type", [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;
@@ -232,11 +232,11 @@ declare const ContentAnyRemote: z.ZodDiscriminatedUnion<"type", [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;
@@ -264,11 +264,11 @@ declare const ContentAnyBinaryLocal: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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;
@@ -411,11 +411,11 @@ declare const ContentRelativeBinary: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
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,20 +431,20 @@ 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
- type: "relative";
444
- } | {
445
442
  type: "explicit-base64";
446
443
  mimeType: string;
447
444
  content: string;
445
+ } | {
446
+ type: "relative";
447
+ path: string;
448
448
  }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
449
449
  type: z.ZodLiteral<"explicit-base64">;
450
450
  mimeType: z.ZodString;
@@ -461,11 +461,11 @@ declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, {
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;
@@ -481,8 +481,8 @@ declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, {
481
481
  type: "explicit-string";
482
482
  content: string;
483
483
  } | {
484
- path: string;
485
484
  type: "relative";
485
+ path: string;
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;
@@ -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;
59
60
  id: {
60
61
  organization: string;
61
62
  name: string;
62
63
  version: string;
63
64
  };
64
- registryUrl: string;
65
65
  }, {
66
66
  type: "from-registry-v1";
67
+ registryUrl: string;
67
68
  id: {
68
69
  organization: string;
69
70
  name: string;
70
71
  version: string;
71
72
  };
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;
97
98
  id: {
98
99
  organization: string;
99
100
  name: string;
100
101
  version: string;
101
102
  };
102
- registryUrl: string;
103
103
  channel?: string | undefined;
104
104
  }, {
105
105
  type: "from-registry-v2";
106
+ registryUrl: string;
106
107
  id: {
107
108
  organization: string;
108
109
  name: string;
109
110
  version: string;
110
111
  };
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;
158
159
  id: {
159
160
  organization: string;
160
161
  name: string;
161
162
  version: string;
162
163
  };
163
- registryUrl: string;
164
164
  }, {
165
165
  type: "from-registry-v1";
166
+ registryUrl: string;
166
167
  id: {
167
168
  organization: string;
168
169
  name: string;
169
170
  version: string;
170
171
  };
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;
191
192
  id: {
192
193
  organization: string;
193
194
  name: string;
194
195
  version: string;
195
196
  };
196
- registryUrl: string;
197
197
  channel?: string | undefined;
198
198
  }, {
199
199
  type: "from-registry-v2";
200
+ registryUrl: string;
200
201
  id: {
201
202
  organization: string;
202
203
  name: string;
203
204
  version: string;
204
205
  };
205
- registryUrl: string;
206
206
  channel?: string | undefined;
207
207
  }>]>;
208
208
  type BlockPackSpec = z.infer<typeof BlockPackSpec>;