@milaboratories/pl-model-middle-layer 1.21.0 → 1.23.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 (45) hide show
  1. package/dist/block_meta/block_components.cjs +19 -26
  2. package/dist/block_meta/block_components.cjs.map +1 -1
  3. package/dist/block_meta/block_components.d.ts +46 -428
  4. package/dist/block_meta/block_components.d.ts.map +1 -1
  5. package/dist/block_meta/block_components.js +19 -23
  6. package/dist/block_meta/block_components.js.map +1 -1
  7. package/dist/block_meta/block_description.cjs +5 -3
  8. package/dist/block_meta/block_description.cjs.map +1 -1
  9. package/dist/block_meta/block_description.d.ts +240 -752
  10. package/dist/block_meta/block_description.d.ts.map +1 -1
  11. package/dist/block_meta/block_description.js +5 -3
  12. package/dist/block_meta/block_description.js.map +1 -1
  13. package/dist/block_meta/block_id.d.ts +4 -4
  14. package/dist/block_meta/block_manifest.cjs +10 -1
  15. package/dist/block_meta/block_manifest.cjs.map +1 -1
  16. package/dist/block_meta/block_manifest.d.ts +395 -973
  17. package/dist/block_meta/block_manifest.d.ts.map +1 -1
  18. package/dist/block_meta/block_manifest.js +11 -2
  19. package/dist/block_meta/block_manifest.js.map +1 -1
  20. package/dist/block_meta/block_meta.cjs.map +1 -1
  21. package/dist/block_meta/block_meta.d.ts +128 -210
  22. package/dist/block_meta/block_meta.d.ts.map +1 -1
  23. package/dist/block_meta/block_meta.js.map +1 -1
  24. package/dist/block_meta/content_types.cjs +25 -77
  25. package/dist/block_meta/content_types.cjs.map +1 -1
  26. package/dist/block_meta/content_types.d.ts +65 -381
  27. package/dist/block_meta/content_types.d.ts.map +1 -1
  28. package/dist/block_meta/content_types.js +26 -64
  29. package/dist/block_meta/content_types.js.map +1 -1
  30. package/dist/block_meta/index.d.ts +3 -3
  31. package/dist/block_registry/block_pack_spec.d.ts +16 -16
  32. package/dist/block_registry/overview.d.ts +1540 -1540
  33. package/dist/block_registry/registry_spec.d.ts +12 -12
  34. package/dist/index.cjs +1 -18
  35. package/dist/index.d.ts +4 -4
  36. package/dist/index.js +3 -3
  37. package/dist/pframe/internal_api/table.d.ts +1 -5
  38. package/dist/pframe/internal_api/table.d.ts.map +1 -1
  39. package/package.json +4 -4
  40. package/src/block_meta/block_components.ts +67 -42
  41. package/src/block_meta/block_description.ts +18 -3
  42. package/src/block_meta/block_manifest.ts +14 -3
  43. package/src/block_meta/block_meta.ts +40 -6
  44. package/src/block_meta/content_types.ts +149 -207
  45. package/src/pframe/internal_api/table.ts +1 -7
@@ -1,39 +1,43 @@
1
+ import { ContentRelativeBinary, ContentRelativeText } from "./content_types.js";
1
2
  import { BlockPackId } from "./block_id.js";
3
+ import { WorkflowV1 } from "./block_components.js";
2
4
  import { ZodTypeAny, z } from "zod";
3
5
  import { BlockCodeKnownFeatureFlags } from "@milaboratories/pl-model-common";
4
6
 
5
7
  //#region src/block_meta/block_description.d.ts
6
- /** Description, as appears in root block package.json file,
7
- * `file:` references are parsed into relative content of corresponding type, depending on the context,
8
- * strings are converted to explicit content type. */
8
+ /**
9
+ * Block-pack description: a `BlockPackId`, the typed `components` and `meta`
10
+ * payloads, and optional `featureFlags`. The two type parameters let the same
11
+ * shape carry every form a description travels in — `package.json` source,
12
+ * relative-path manifest, absolute-path resolved.
13
+ */
14
+ type BlockPackDescription<Components, Meta> = {
15
+ id: BlockPackId;
16
+ components: Components;
17
+ meta: Meta;
18
+ featureFlags?: BlockCodeKnownFeatureFlags;
19
+ };
20
+ /**
21
+ * Description as it appears in the root block `package.json`. `file:`-prefixed
22
+ * strings become `ContentRelative`; bare text strings become
23
+ * `ContentExplicitString`. See `DescriptionContentText`/`DescriptionContentBinary`.
24
+ */
9
25
  declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
10
26
  components: z.ZodObject<{
11
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
12
- type: "workflow-v1";
13
- main: string;
14
- }, string>, z.ZodObject<{
27
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, WorkflowV1<string>, string>, z.ZodObject<{
15
28
  type: z.ZodLiteral<"workflow-v1">;
16
29
  main: z.ZodString;
17
- }, "strip", ZodTypeAny, {
18
- type: "workflow-v1";
19
- main: string;
20
- }, {
21
- type: "workflow-v1";
22
- main: string;
23
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
24
- type: z.ZodLiteral<"workflow-v1">;
25
- main: z.ZodString;
26
- }, "strip", ZodTypeAny, {
30
+ }, "strict", ZodTypeAny, {
27
31
  type: "workflow-v1";
28
32
  main: string;
29
33
  }, {
30
34
  type: "workflow-v1";
31
35
  main: string;
32
- }>]>]>;
36
+ }>]>;
33
37
  model: z.ZodString;
34
38
  ui: z.ZodString;
35
39
  }, "strip", ZodTypeAny, {
36
- workflow: {
40
+ workflow: WorkflowV1<string> | {
37
41
  type: "workflow-v1";
38
42
  main: string;
39
43
  };
@@ -50,13 +54,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
50
54
  meta: z.ZodObject<{
51
55
  title: z.ZodString;
52
56
  description: z.ZodString;
53
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
54
- type: "relative";
55
- path: string;
56
- } | {
57
- type: "explicit-string";
58
- content: string;
59
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
57
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
60
58
  type: z.ZodLiteral<"explicit-string">;
61
59
  content: z.ZodString;
62
60
  }, "strict", ZodTypeAny, {
@@ -84,13 +82,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
84
82
  type: "absolute-file";
85
83
  file: string;
86
84
  }>]>]>>;
87
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
88
- type: "relative";
89
- path: string;
90
- } | {
91
- type: "explicit-string";
92
- content: string;
93
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
94
86
  type: z.ZodLiteral<"explicit-string">;
95
87
  content: z.ZodString;
96
88
  }, "strict", ZodTypeAny, {
@@ -118,25 +110,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
118
110
  type: "absolute-file";
119
111
  file: string;
120
112
  }>]>]>>;
121
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
122
- type: "relative";
123
- path: string;
124
- } | {
125
- type: "explicit-base64";
126
- content: string;
127
- mimeType: string;
128
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
113
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
129
114
  type: z.ZodLiteral<"explicit-base64">;
130
115
  mimeType: z.ZodString;
131
116
  content: z.ZodString;
132
117
  }, "strict", ZodTypeAny, {
133
118
  type: "explicit-base64";
134
- content: string;
135
119
  mimeType: string;
120
+ content: string;
136
121
  }, {
137
122
  type: "explicit-base64";
138
- content: string;
139
123
  mimeType: string;
124
+ content: string;
140
125
  }>, z.ZodObject<{
141
126
  type: z.ZodLiteral<"relative">;
142
127
  path: z.ZodString;
@@ -163,25 +148,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
163
148
  organization: z.ZodObject<{
164
149
  name: z.ZodString;
165
150
  url: z.ZodString;
166
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
167
- type: "relative";
168
- path: string;
169
- } | {
170
- type: "explicit-base64";
171
- content: string;
172
- mimeType: string;
173
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
151
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
174
152
  type: z.ZodLiteral<"explicit-base64">;
175
153
  mimeType: z.ZodString;
176
154
  content: z.ZodString;
177
155
  }, "strict", ZodTypeAny, {
178
156
  type: "explicit-base64";
179
- content: string;
180
157
  mimeType: string;
158
+ content: string;
181
159
  }, {
182
160
  type: "explicit-base64";
183
- content: string;
184
161
  mimeType: string;
162
+ content: string;
185
163
  }>, z.ZodObject<{
186
164
  type: z.ZodLiteral<"relative">;
187
165
  path: z.ZodString;
@@ -204,25 +182,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
204
182
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
205
183
  name: z.ZodString;
206
184
  url: z.ZodString;
207
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
208
- type: "relative";
209
- path: string;
210
- } | {
211
- type: "explicit-base64";
212
- content: string;
213
- mimeType: string;
214
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
185
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
215
186
  type: z.ZodLiteral<"explicit-base64">;
216
187
  mimeType: z.ZodString;
217
188
  content: z.ZodString;
218
189
  }, "strict", ZodTypeAny, {
219
190
  type: "explicit-base64";
220
- content: string;
221
191
  mimeType: string;
192
+ content: string;
222
193
  }, {
223
194
  type: "explicit-base64";
224
- content: string;
225
195
  mimeType: string;
196
+ content: string;
226
197
  }>, z.ZodObject<{
227
198
  type: z.ZodLiteral<"relative">;
228
199
  path: z.ZodString;
@@ -245,25 +216,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
245
216
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
246
217
  name: z.ZodString;
247
218
  url: z.ZodString;
248
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
249
- type: "relative";
250
- path: string;
251
- } | {
252
- type: "explicit-base64";
253
- content: string;
254
- mimeType: string;
255
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
219
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
256
220
  type: z.ZodLiteral<"explicit-base64">;
257
221
  mimeType: z.ZodString;
258
222
  content: z.ZodString;
259
223
  }, "strict", ZodTypeAny, {
260
224
  type: "explicit-base64";
261
- content: string;
262
225
  mimeType: string;
226
+ content: string;
263
227
  }, {
264
228
  type: "explicit-base64";
265
- content: string;
266
229
  mimeType: string;
230
+ content: string;
267
231
  }>, z.ZodObject<{
268
232
  type: z.ZodLiteral<"relative">;
269
233
  path: z.ZodString;
@@ -292,13 +256,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
292
256
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
293
257
  title: z.ZodString;
294
258
  description: z.ZodString;
295
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
296
- type: "relative";
297
- path: string;
298
- } | {
299
- type: "explicit-string";
300
- content: string;
301
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
259
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
302
260
  type: z.ZodLiteral<"explicit-string">;
303
261
  content: z.ZodString;
304
262
  }, "strict", ZodTypeAny, {
@@ -326,13 +284,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
326
284
  type: "absolute-file";
327
285
  file: string;
328
286
  }>]>]>>;
329
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
330
- type: "relative";
331
- path: string;
332
- } | {
333
- type: "explicit-string";
334
- content: string;
335
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
287
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
336
288
  type: z.ZodLiteral<"explicit-string">;
337
289
  content: z.ZodString;
338
290
  }, "strict", ZodTypeAny, {
@@ -360,25 +312,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
360
312
  type: "absolute-file";
361
313
  file: string;
362
314
  }>]>]>>;
363
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
364
- type: "relative";
365
- path: string;
366
- } | {
367
- type: "explicit-base64";
368
- content: string;
369
- mimeType: string;
370
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
315
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
371
316
  type: z.ZodLiteral<"explicit-base64">;
372
317
  mimeType: z.ZodString;
373
318
  content: z.ZodString;
374
319
  }, "strict", ZodTypeAny, {
375
320
  type: "explicit-base64";
376
- content: string;
377
321
  mimeType: string;
322
+ content: string;
378
323
  }, {
379
324
  type: "explicit-base64";
380
- content: string;
381
325
  mimeType: string;
326
+ content: string;
382
327
  }>, z.ZodObject<{
383
328
  type: z.ZodLiteral<"relative">;
384
329
  path: z.ZodString;
@@ -405,25 +350,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
405
350
  organization: z.ZodObject<{
406
351
  name: z.ZodString;
407
352
  url: z.ZodString;
408
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
409
- type: "relative";
410
- path: string;
411
- } | {
412
- type: "explicit-base64";
413
- content: string;
414
- mimeType: string;
415
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
353
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
416
354
  type: z.ZodLiteral<"explicit-base64">;
417
355
  mimeType: z.ZodString;
418
356
  content: z.ZodString;
419
357
  }, "strict", ZodTypeAny, {
420
358
  type: "explicit-base64";
421
- content: string;
422
359
  mimeType: string;
360
+ content: string;
423
361
  }, {
424
362
  type: "explicit-base64";
425
- content: string;
426
363
  mimeType: string;
364
+ content: string;
427
365
  }>, z.ZodObject<{
428
366
  type: z.ZodLiteral<"relative">;
429
367
  path: z.ZodString;
@@ -446,25 +384,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
446
384
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
447
385
  name: z.ZodString;
448
386
  url: z.ZodString;
449
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
450
- type: "relative";
451
- path: string;
452
- } | {
453
- type: "explicit-base64";
454
- content: string;
455
- mimeType: string;
456
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
387
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
457
388
  type: z.ZodLiteral<"explicit-base64">;
458
389
  mimeType: z.ZodString;
459
390
  content: z.ZodString;
460
391
  }, "strict", ZodTypeAny, {
461
392
  type: "explicit-base64";
462
- content: string;
463
393
  mimeType: string;
394
+ content: string;
464
395
  }, {
465
396
  type: "explicit-base64";
466
- content: string;
467
397
  mimeType: string;
398
+ content: string;
468
399
  }>, z.ZodObject<{
469
400
  type: z.ZodLiteral<"relative">;
470
401
  path: z.ZodString;
@@ -487,25 +418,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
487
418
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
488
419
  name: z.ZodString;
489
420
  url: z.ZodString;
490
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
491
- type: "relative";
492
- path: string;
493
- } | {
494
- type: "explicit-base64";
495
- content: string;
496
- mimeType: string;
497
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
421
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
498
422
  type: z.ZodLiteral<"explicit-base64">;
499
423
  mimeType: z.ZodString;
500
424
  content: z.ZodString;
501
425
  }, "strict", ZodTypeAny, {
502
426
  type: "explicit-base64";
503
- content: string;
504
427
  mimeType: string;
428
+ content: string;
505
429
  }, {
506
430
  type: "explicit-base64";
507
- content: string;
508
431
  mimeType: string;
432
+ content: string;
509
433
  }>, z.ZodObject<{
510
434
  type: z.ZodLiteral<"relative">;
511
435
  path: z.ZodString;
@@ -534,13 +458,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
534
458
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
535
459
  title: z.ZodString;
536
460
  description: z.ZodString;
537
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
538
- type: "relative";
539
- path: string;
540
- } | {
541
- type: "explicit-string";
542
- content: string;
543
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
461
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
544
462
  type: z.ZodLiteral<"explicit-string">;
545
463
  content: z.ZodString;
546
464
  }, "strict", ZodTypeAny, {
@@ -568,13 +486,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
568
486
  type: "absolute-file";
569
487
  file: string;
570
488
  }>]>]>>;
571
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
572
- type: "relative";
573
- path: string;
574
- } | {
575
- type: "explicit-string";
576
- content: string;
577
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
489
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
578
490
  type: z.ZodLiteral<"explicit-string">;
579
491
  content: z.ZodString;
580
492
  }, "strict", ZodTypeAny, {
@@ -602,25 +514,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
602
514
  type: "absolute-file";
603
515
  file: string;
604
516
  }>]>]>>;
605
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
606
- type: "relative";
607
- path: string;
608
- } | {
609
- type: "explicit-base64";
610
- content: string;
611
- mimeType: string;
612
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
517
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
613
518
  type: z.ZodLiteral<"explicit-base64">;
614
519
  mimeType: z.ZodString;
615
520
  content: z.ZodString;
616
521
  }, "strict", ZodTypeAny, {
617
522
  type: "explicit-base64";
618
- content: string;
619
523
  mimeType: string;
524
+ content: string;
620
525
  }, {
621
526
  type: "explicit-base64";
622
- content: string;
623
527
  mimeType: string;
528
+ content: string;
624
529
  }>, z.ZodObject<{
625
530
  type: z.ZodLiteral<"relative">;
626
531
  path: z.ZodString;
@@ -647,25 +552,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
647
552
  organization: z.ZodObject<{
648
553
  name: z.ZodString;
649
554
  url: z.ZodString;
650
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
651
- type: "relative";
652
- path: string;
653
- } | {
654
- type: "explicit-base64";
655
- content: string;
656
- mimeType: string;
657
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
555
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
658
556
  type: z.ZodLiteral<"explicit-base64">;
659
557
  mimeType: z.ZodString;
660
558
  content: z.ZodString;
661
559
  }, "strict", ZodTypeAny, {
662
560
  type: "explicit-base64";
663
- content: string;
664
561
  mimeType: string;
562
+ content: string;
665
563
  }, {
666
564
  type: "explicit-base64";
667
- content: string;
668
565
  mimeType: string;
566
+ content: string;
669
567
  }>, z.ZodObject<{
670
568
  type: z.ZodLiteral<"relative">;
671
569
  path: z.ZodString;
@@ -688,25 +586,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
688
586
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
689
587
  name: z.ZodString;
690
588
  url: z.ZodString;
691
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
692
- type: "relative";
693
- path: string;
694
- } | {
695
- type: "explicit-base64";
696
- content: string;
697
- mimeType: string;
698
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
589
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
699
590
  type: z.ZodLiteral<"explicit-base64">;
700
591
  mimeType: z.ZodString;
701
592
  content: z.ZodString;
702
593
  }, "strict", ZodTypeAny, {
703
594
  type: "explicit-base64";
704
- content: string;
705
595
  mimeType: string;
596
+ content: string;
706
597
  }, {
707
598
  type: "explicit-base64";
708
- content: string;
709
599
  mimeType: string;
600
+ content: string;
710
601
  }>, z.ZodObject<{
711
602
  type: z.ZodLiteral<"relative">;
712
603
  path: z.ZodString;
@@ -729,25 +620,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
729
620
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
730
621
  name: z.ZodString;
731
622
  url: z.ZodString;
732
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
733
- type: "relative";
734
- path: string;
735
- } | {
736
- type: "explicit-base64";
737
- content: string;
738
- mimeType: string;
739
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
623
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
740
624
  type: z.ZodLiteral<"explicit-base64">;
741
625
  mimeType: z.ZodString;
742
626
  content: z.ZodString;
743
627
  }, "strict", ZodTypeAny, {
744
628
  type: "explicit-base64";
745
- content: string;
746
629
  mimeType: string;
630
+ content: string;
747
631
  }, {
748
632
  type: "explicit-base64";
749
- content: string;
750
633
  mimeType: string;
634
+ content: string;
751
635
  }>, z.ZodObject<{
752
636
  type: z.ZodLiteral<"relative">;
753
637
  path: z.ZodString;
@@ -775,27 +659,18 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
775
659
  requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
776
660
  }, ZodTypeAny, "passthrough">>;
777
661
  }, "strip", ZodTypeAny, {
778
- components: {
779
- workflow: {
780
- type: "workflow-v1";
781
- main: string;
782
- };
783
- model: string;
784
- ui: string;
785
- };
786
662
  meta: {
787
663
  title: string;
788
- description: string;
789
664
  organization: {
790
665
  url: string;
791
666
  name: string;
792
667
  logo?: {
793
668
  type: "relative";
794
669
  path: string;
795
- } | {
670
+ } | ContentRelativeBinary | {
796
671
  type: "explicit-base64";
797
- content: string;
798
672
  mimeType: string;
673
+ content: string;
799
674
  } | {
800
675
  type: "absolute-file";
801
676
  file: string;
@@ -803,10 +678,12 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
803
678
  } & {
804
679
  [k: string]: unknown;
805
680
  };
681
+ description: string;
682
+ url?: string | undefined;
806
683
  longDescription?: {
807
684
  type: "relative";
808
685
  path: string;
809
- } | {
686
+ } | ContentRelativeText | {
810
687
  type: "explicit-string";
811
688
  content: string;
812
689
  } | {
@@ -816,7 +693,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
816
693
  changelog?: {
817
694
  type: "relative";
818
695
  path: string;
819
- } | {
696
+ } | ContentRelativeText | {
820
697
  type: "explicit-string";
821
698
  content: string;
822
699
  } | {
@@ -826,15 +703,14 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
826
703
  logo?: {
827
704
  type: "relative";
828
705
  path: string;
829
- } | {
706
+ } | ContentRelativeBinary | {
830
707
  type: "explicit-base64";
831
- content: string;
832
708
  mimeType: string;
709
+ content: string;
833
710
  } | {
834
711
  type: "absolute-file";
835
712
  file: string;
836
713
  } | undefined;
837
- url?: string | undefined;
838
714
  docs?: string | undefined;
839
715
  support?: string | undefined;
840
716
  tags?: string[] | undefined;
@@ -846,18 +722,17 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
846
722
  } & {
847
723
  [k: string]: unknown;
848
724
  };
849
- }, {
850
725
  components: {
851
- workflow: string | {
726
+ workflow: WorkflowV1<string> | {
852
727
  type: "workflow-v1";
853
728
  main: string;
854
729
  };
855
730
  model: string;
856
731
  ui: string;
857
732
  };
733
+ }, {
858
734
  meta: {
859
735
  title: string;
860
- description: string;
861
736
  organization: {
862
737
  url: string;
863
738
  name: string;
@@ -866,8 +741,8 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
866
741
  path: string;
867
742
  } | {
868
743
  type: "explicit-base64";
869
- content: string;
870
744
  mimeType: string;
745
+ content: string;
871
746
  } | {
872
747
  type: "absolute-file";
873
748
  file: string;
@@ -875,6 +750,8 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
875
750
  } & {
876
751
  [k: string]: unknown;
877
752
  };
753
+ description: string;
754
+ url?: string | undefined;
878
755
  longDescription?: string | {
879
756
  type: "relative";
880
757
  path: string;
@@ -900,13 +777,12 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
900
777
  path: string;
901
778
  } | {
902
779
  type: "explicit-base64";
903
- content: string;
904
780
  mimeType: string;
781
+ content: string;
905
782
  } | {
906
783
  type: "absolute-file";
907
784
  file: string;
908
785
  } | undefined;
909
- url?: string | undefined;
910
786
  docs?: string | undefined;
911
787
  support?: string | undefined;
912
788
  tags?: string[] | undefined;
@@ -918,6 +794,14 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
918
794
  } & {
919
795
  [k: string]: unknown;
920
796
  };
797
+ components: {
798
+ workflow: string | {
799
+ type: "workflow-v1";
800
+ main: string;
801
+ };
802
+ model: string;
803
+ ui: string;
804
+ };
921
805
  }>;
922
806
  declare const FeatureFlags: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>;
923
807
  declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny, Meta extends ZodTypeAny>(components: Components, meta: Meta): z.ZodObject<{
@@ -926,12 +810,12 @@ declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny,
926
810
  name: z.ZodString;
927
811
  version: z.ZodString;
928
812
  }, "strict", ZodTypeAny, {
929
- name: string;
930
813
  organization: string;
814
+ name: string;
931
815
  version: string;
932
816
  }, {
933
- name: string;
934
817
  organization: string;
818
+ name: string;
935
819
  version: string;
936
820
  }>;
937
821
  components: Components;
@@ -943,12 +827,12 @@ declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny,
943
827
  name: z.ZodString;
944
828
  version: z.ZodString;
945
829
  }, "strict", ZodTypeAny, {
946
- name: string;
947
830
  organization: string;
831
+ name: string;
948
832
  version: string;
949
833
  }, {
950
- name: string;
951
834
  organization: string;
835
+ name: string;
952
836
  version: string;
953
837
  }>;
954
838
  components: Components;
@@ -960,12 +844,12 @@ declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny,
960
844
  name: z.ZodString;
961
845
  version: z.ZodString;
962
846
  }, "strict", ZodTypeAny, {
963
- name: string;
964
847
  organization: string;
848
+ name: string;
965
849
  version: string;
966
850
  }, {
967
- name: string;
968
851
  organization: string;
852
+ name: string;
969
853
  version: string;
970
854
  }>;
971
855
  components: Components;
@@ -978,41 +862,29 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
978
862
  name: z.ZodString;
979
863
  version: z.ZodString;
980
864
  }, "strict", ZodTypeAny, {
981
- name: string;
982
865
  organization: string;
866
+ name: string;
983
867
  version: string;
984
868
  }, {
985
- name: string;
986
869
  organization: string;
870
+ name: string;
987
871
  version: string;
988
872
  }>;
989
873
  components: z.ZodObject<{
990
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
991
- type: "workflow-v1";
992
- main: string;
993
- }, string>, z.ZodObject<{
994
- type: z.ZodLiteral<"workflow-v1">;
995
- main: z.ZodString;
996
- }, "strip", ZodTypeAny, {
997
- type: "workflow-v1";
998
- main: string;
999
- }, {
1000
- type: "workflow-v1";
1001
- main: string;
1002
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
874
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, WorkflowV1<string>, string>, z.ZodObject<{
1003
875
  type: z.ZodLiteral<"workflow-v1">;
1004
876
  main: z.ZodString;
1005
- }, "strip", ZodTypeAny, {
877
+ }, "strict", ZodTypeAny, {
1006
878
  type: "workflow-v1";
1007
879
  main: string;
1008
880
  }, {
1009
881
  type: "workflow-v1";
1010
882
  main: string;
1011
- }>]>]>;
883
+ }>]>;
1012
884
  model: z.ZodString;
1013
885
  ui: z.ZodString;
1014
886
  }, "strip", ZodTypeAny, {
1015
- workflow: {
887
+ workflow: WorkflowV1<string> | {
1016
888
  type: "workflow-v1";
1017
889
  main: string;
1018
890
  };
@@ -1029,13 +901,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1029
901
  meta: z.ZodObject<{
1030
902
  title: z.ZodString;
1031
903
  description: z.ZodString;
1032
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1033
- type: "relative";
1034
- path: string;
1035
- } | {
1036
- type: "explicit-string";
1037
- content: string;
1038
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
904
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1039
905
  type: z.ZodLiteral<"explicit-string">;
1040
906
  content: z.ZodString;
1041
907
  }, "strict", ZodTypeAny, {
@@ -1063,13 +929,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1063
929
  type: "absolute-file";
1064
930
  file: string;
1065
931
  }>]>]>>;
1066
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1067
- type: "relative";
1068
- path: string;
1069
- } | {
1070
- type: "explicit-string";
1071
- content: string;
1072
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
932
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1073
933
  type: z.ZodLiteral<"explicit-string">;
1074
934
  content: z.ZodString;
1075
935
  }, "strict", ZodTypeAny, {
@@ -1097,25 +957,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1097
957
  type: "absolute-file";
1098
958
  file: string;
1099
959
  }>]>]>>;
1100
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1101
- type: "relative";
1102
- path: string;
1103
- } | {
1104
- type: "explicit-base64";
1105
- content: string;
1106
- mimeType: string;
1107
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
960
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1108
961
  type: z.ZodLiteral<"explicit-base64">;
1109
962
  mimeType: z.ZodString;
1110
963
  content: z.ZodString;
1111
964
  }, "strict", ZodTypeAny, {
1112
965
  type: "explicit-base64";
1113
- content: string;
1114
966
  mimeType: string;
967
+ content: string;
1115
968
  }, {
1116
969
  type: "explicit-base64";
1117
- content: string;
1118
970
  mimeType: string;
971
+ content: string;
1119
972
  }>, z.ZodObject<{
1120
973
  type: z.ZodLiteral<"relative">;
1121
974
  path: z.ZodString;
@@ -1142,25 +995,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1142
995
  organization: z.ZodObject<{
1143
996
  name: z.ZodString;
1144
997
  url: z.ZodString;
1145
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1146
- type: "relative";
1147
- path: string;
1148
- } | {
1149
- type: "explicit-base64";
1150
- content: string;
1151
- mimeType: string;
1152
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
998
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1153
999
  type: z.ZodLiteral<"explicit-base64">;
1154
1000
  mimeType: z.ZodString;
1155
1001
  content: z.ZodString;
1156
1002
  }, "strict", ZodTypeAny, {
1157
1003
  type: "explicit-base64";
1158
- content: string;
1159
1004
  mimeType: string;
1005
+ content: string;
1160
1006
  }, {
1161
1007
  type: "explicit-base64";
1162
- content: string;
1163
1008
  mimeType: string;
1009
+ content: string;
1164
1010
  }>, z.ZodObject<{
1165
1011
  type: z.ZodLiteral<"relative">;
1166
1012
  path: z.ZodString;
@@ -1183,25 +1029,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1183
1029
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1184
1030
  name: z.ZodString;
1185
1031
  url: z.ZodString;
1186
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1187
- type: "relative";
1188
- path: string;
1189
- } | {
1190
- type: "explicit-base64";
1191
- content: string;
1192
- mimeType: string;
1193
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1032
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1194
1033
  type: z.ZodLiteral<"explicit-base64">;
1195
1034
  mimeType: z.ZodString;
1196
1035
  content: z.ZodString;
1197
1036
  }, "strict", ZodTypeAny, {
1198
1037
  type: "explicit-base64";
1199
- content: string;
1200
1038
  mimeType: string;
1039
+ content: string;
1201
1040
  }, {
1202
1041
  type: "explicit-base64";
1203
- content: string;
1204
1042
  mimeType: string;
1043
+ content: string;
1205
1044
  }>, z.ZodObject<{
1206
1045
  type: z.ZodLiteral<"relative">;
1207
1046
  path: z.ZodString;
@@ -1224,25 +1063,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1224
1063
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
1225
1064
  name: z.ZodString;
1226
1065
  url: z.ZodString;
1227
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1228
- type: "relative";
1229
- path: string;
1230
- } | {
1231
- type: "explicit-base64";
1232
- content: string;
1233
- mimeType: string;
1234
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1066
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1235
1067
  type: z.ZodLiteral<"explicit-base64">;
1236
1068
  mimeType: z.ZodString;
1237
1069
  content: z.ZodString;
1238
1070
  }, "strict", ZodTypeAny, {
1239
1071
  type: "explicit-base64";
1240
- content: string;
1241
1072
  mimeType: string;
1073
+ content: string;
1242
1074
  }, {
1243
1075
  type: "explicit-base64";
1244
- content: string;
1245
1076
  mimeType: string;
1077
+ content: string;
1246
1078
  }>, z.ZodObject<{
1247
1079
  type: z.ZodLiteral<"relative">;
1248
1080
  path: z.ZodString;
@@ -1271,13 +1103,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1271
1103
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1272
1104
  title: z.ZodString;
1273
1105
  description: z.ZodString;
1274
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1275
- type: "relative";
1276
- path: string;
1277
- } | {
1278
- type: "explicit-string";
1279
- content: string;
1280
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1106
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1281
1107
  type: z.ZodLiteral<"explicit-string">;
1282
1108
  content: z.ZodString;
1283
1109
  }, "strict", ZodTypeAny, {
@@ -1305,13 +1131,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1305
1131
  type: "absolute-file";
1306
1132
  file: string;
1307
1133
  }>]>]>>;
1308
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1309
- type: "relative";
1310
- path: string;
1311
- } | {
1312
- type: "explicit-string";
1313
- content: string;
1314
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1134
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1315
1135
  type: z.ZodLiteral<"explicit-string">;
1316
1136
  content: z.ZodString;
1317
1137
  }, "strict", ZodTypeAny, {
@@ -1339,25 +1159,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1339
1159
  type: "absolute-file";
1340
1160
  file: string;
1341
1161
  }>]>]>>;
1342
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1343
- type: "relative";
1344
- path: string;
1345
- } | {
1346
- type: "explicit-base64";
1347
- content: string;
1348
- mimeType: string;
1349
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1162
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1350
1163
  type: z.ZodLiteral<"explicit-base64">;
1351
1164
  mimeType: z.ZodString;
1352
1165
  content: z.ZodString;
1353
1166
  }, "strict", ZodTypeAny, {
1354
1167
  type: "explicit-base64";
1355
- content: string;
1356
1168
  mimeType: string;
1169
+ content: string;
1357
1170
  }, {
1358
1171
  type: "explicit-base64";
1359
- content: string;
1360
1172
  mimeType: string;
1173
+ content: string;
1361
1174
  }>, z.ZodObject<{
1362
1175
  type: z.ZodLiteral<"relative">;
1363
1176
  path: z.ZodString;
@@ -1384,25 +1197,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1384
1197
  organization: z.ZodObject<{
1385
1198
  name: z.ZodString;
1386
1199
  url: z.ZodString;
1387
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1388
- type: "relative";
1389
- path: string;
1390
- } | {
1391
- type: "explicit-base64";
1392
- content: string;
1393
- mimeType: string;
1394
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1200
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1395
1201
  type: z.ZodLiteral<"explicit-base64">;
1396
1202
  mimeType: z.ZodString;
1397
1203
  content: z.ZodString;
1398
1204
  }, "strict", ZodTypeAny, {
1399
1205
  type: "explicit-base64";
1400
- content: string;
1401
1206
  mimeType: string;
1207
+ content: string;
1402
1208
  }, {
1403
1209
  type: "explicit-base64";
1404
- content: string;
1405
1210
  mimeType: string;
1211
+ content: string;
1406
1212
  }>, z.ZodObject<{
1407
1213
  type: z.ZodLiteral<"relative">;
1408
1214
  path: z.ZodString;
@@ -1425,25 +1231,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1425
1231
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1426
1232
  name: z.ZodString;
1427
1233
  url: z.ZodString;
1428
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1429
- type: "relative";
1430
- path: string;
1431
- } | {
1432
- type: "explicit-base64";
1433
- content: string;
1434
- mimeType: string;
1435
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1234
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1436
1235
  type: z.ZodLiteral<"explicit-base64">;
1437
1236
  mimeType: z.ZodString;
1438
1237
  content: z.ZodString;
1439
1238
  }, "strict", ZodTypeAny, {
1440
1239
  type: "explicit-base64";
1441
- content: string;
1442
1240
  mimeType: string;
1241
+ content: string;
1443
1242
  }, {
1444
1243
  type: "explicit-base64";
1445
- content: string;
1446
1244
  mimeType: string;
1245
+ content: string;
1447
1246
  }>, z.ZodObject<{
1448
1247
  type: z.ZodLiteral<"relative">;
1449
1248
  path: z.ZodString;
@@ -1466,25 +1265,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1466
1265
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
1467
1266
  name: z.ZodString;
1468
1267
  url: z.ZodString;
1469
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1470
- type: "relative";
1471
- path: string;
1472
- } | {
1473
- type: "explicit-base64";
1474
- content: string;
1475
- mimeType: string;
1476
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1268
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1477
1269
  type: z.ZodLiteral<"explicit-base64">;
1478
1270
  mimeType: z.ZodString;
1479
1271
  content: z.ZodString;
1480
1272
  }, "strict", ZodTypeAny, {
1481
1273
  type: "explicit-base64";
1482
- content: string;
1483
1274
  mimeType: string;
1275
+ content: string;
1484
1276
  }, {
1485
1277
  type: "explicit-base64";
1486
- content: string;
1487
1278
  mimeType: string;
1279
+ content: string;
1488
1280
  }>, z.ZodObject<{
1489
1281
  type: z.ZodLiteral<"relative">;
1490
1282
  path: z.ZodString;
@@ -1513,13 +1305,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1513
1305
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
1514
1306
  title: z.ZodString;
1515
1307
  description: z.ZodString;
1516
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1517
- type: "relative";
1518
- path: string;
1519
- } | {
1520
- type: "explicit-string";
1521
- content: string;
1522
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1308
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1523
1309
  type: z.ZodLiteral<"explicit-string">;
1524
1310
  content: z.ZodString;
1525
1311
  }, "strict", ZodTypeAny, {
@@ -1547,13 +1333,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1547
1333
  type: "absolute-file";
1548
1334
  file: string;
1549
1335
  }>]>]>>;
1550
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1551
- type: "relative";
1552
- path: string;
1553
- } | {
1554
- type: "explicit-string";
1555
- content: string;
1556
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1336
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1557
1337
  type: z.ZodLiteral<"explicit-string">;
1558
1338
  content: z.ZodString;
1559
1339
  }, "strict", ZodTypeAny, {
@@ -1581,25 +1361,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1581
1361
  type: "absolute-file";
1582
1362
  file: string;
1583
1363
  }>]>]>>;
1584
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1585
- type: "relative";
1586
- path: string;
1587
- } | {
1588
- type: "explicit-base64";
1589
- content: string;
1590
- mimeType: string;
1591
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1364
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1592
1365
  type: z.ZodLiteral<"explicit-base64">;
1593
1366
  mimeType: z.ZodString;
1594
1367
  content: z.ZodString;
1595
1368
  }, "strict", ZodTypeAny, {
1596
1369
  type: "explicit-base64";
1597
- content: string;
1598
1370
  mimeType: string;
1371
+ content: string;
1599
1372
  }, {
1600
1373
  type: "explicit-base64";
1601
- content: string;
1602
1374
  mimeType: string;
1375
+ content: string;
1603
1376
  }>, z.ZodObject<{
1604
1377
  type: z.ZodLiteral<"relative">;
1605
1378
  path: z.ZodString;
@@ -1626,25 +1399,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1626
1399
  organization: z.ZodObject<{
1627
1400
  name: z.ZodString;
1628
1401
  url: z.ZodString;
1629
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1630
- type: "relative";
1631
- path: string;
1632
- } | {
1633
- type: "explicit-base64";
1634
- content: string;
1635
- mimeType: string;
1636
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1402
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1637
1403
  type: z.ZodLiteral<"explicit-base64">;
1638
1404
  mimeType: z.ZodString;
1639
1405
  content: z.ZodString;
1640
1406
  }, "strict", ZodTypeAny, {
1641
1407
  type: "explicit-base64";
1642
- content: string;
1643
1408
  mimeType: string;
1409
+ content: string;
1644
1410
  }, {
1645
1411
  type: "explicit-base64";
1646
- content: string;
1647
1412
  mimeType: string;
1413
+ content: string;
1648
1414
  }>, z.ZodObject<{
1649
1415
  type: z.ZodLiteral<"relative">;
1650
1416
  path: z.ZodString;
@@ -1667,25 +1433,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1667
1433
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1668
1434
  name: z.ZodString;
1669
1435
  url: z.ZodString;
1670
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1671
- type: "relative";
1672
- path: string;
1673
- } | {
1674
- type: "explicit-base64";
1675
- content: string;
1676
- mimeType: string;
1677
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1436
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1678
1437
  type: z.ZodLiteral<"explicit-base64">;
1679
1438
  mimeType: z.ZodString;
1680
1439
  content: z.ZodString;
1681
1440
  }, "strict", ZodTypeAny, {
1682
1441
  type: "explicit-base64";
1683
- content: string;
1684
1442
  mimeType: string;
1443
+ content: string;
1685
1444
  }, {
1686
1445
  type: "explicit-base64";
1687
- content: string;
1688
1446
  mimeType: string;
1447
+ content: string;
1689
1448
  }>, z.ZodObject<{
1690
1449
  type: z.ZodLiteral<"relative">;
1691
1450
  path: z.ZodString;
@@ -1708,25 +1467,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1708
1467
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
1709
1468
  name: z.ZodString;
1710
1469
  url: z.ZodString;
1711
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1712
- type: "relative";
1713
- path: string;
1714
- } | {
1715
- type: "explicit-base64";
1716
- content: string;
1717
- mimeType: string;
1718
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1470
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1719
1471
  type: z.ZodLiteral<"explicit-base64">;
1720
1472
  mimeType: z.ZodString;
1721
1473
  content: z.ZodString;
1722
1474
  }, "strict", ZodTypeAny, {
1723
1475
  type: "explicit-base64";
1724
- content: string;
1725
1476
  mimeType: string;
1477
+ content: string;
1726
1478
  }, {
1727
1479
  type: "explicit-base64";
1728
- content: string;
1729
1480
  mimeType: string;
1481
+ content: string;
1730
1482
  }>, z.ZodObject<{
1731
1483
  type: z.ZodLiteral<"relative">;
1732
1484
  path: z.ZodString;
@@ -1760,41 +1512,29 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1760
1512
  name: z.ZodString;
1761
1513
  version: z.ZodString;
1762
1514
  }, "strict", ZodTypeAny, {
1763
- name: string;
1764
1515
  organization: string;
1516
+ name: string;
1765
1517
  version: string;
1766
1518
  }, {
1767
- name: string;
1768
1519
  organization: string;
1520
+ name: string;
1769
1521
  version: string;
1770
1522
  }>;
1771
1523
  components: z.ZodObject<{
1772
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
1773
- type: "workflow-v1";
1774
- main: string;
1775
- }, string>, z.ZodObject<{
1524
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, WorkflowV1<string>, string>, z.ZodObject<{
1776
1525
  type: z.ZodLiteral<"workflow-v1">;
1777
1526
  main: z.ZodString;
1778
- }, "strip", ZodTypeAny, {
1779
- type: "workflow-v1";
1780
- main: string;
1781
- }, {
1782
- type: "workflow-v1";
1783
- main: string;
1784
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1785
- type: z.ZodLiteral<"workflow-v1">;
1786
- main: z.ZodString;
1787
- }, "strip", ZodTypeAny, {
1527
+ }, "strict", ZodTypeAny, {
1788
1528
  type: "workflow-v1";
1789
1529
  main: string;
1790
1530
  }, {
1791
1531
  type: "workflow-v1";
1792
1532
  main: string;
1793
- }>]>]>;
1533
+ }>]>;
1794
1534
  model: z.ZodString;
1795
1535
  ui: z.ZodString;
1796
1536
  }, "strip", ZodTypeAny, {
1797
- workflow: {
1537
+ workflow: WorkflowV1<string> | {
1798
1538
  type: "workflow-v1";
1799
1539
  main: string;
1800
1540
  };
@@ -1811,13 +1551,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1811
1551
  meta: z.ZodObject<{
1812
1552
  title: z.ZodString;
1813
1553
  description: z.ZodString;
1814
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1815
- type: "relative";
1816
- path: string;
1817
- } | {
1818
- type: "explicit-string";
1819
- content: string;
1820
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1554
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1821
1555
  type: z.ZodLiteral<"explicit-string">;
1822
1556
  content: z.ZodString;
1823
1557
  }, "strict", ZodTypeAny, {
@@ -1845,13 +1579,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1845
1579
  type: "absolute-file";
1846
1580
  file: string;
1847
1581
  }>]>]>>;
1848
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1849
- type: "relative";
1850
- path: string;
1851
- } | {
1852
- type: "explicit-string";
1853
- content: string;
1854
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1582
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1855
1583
  type: z.ZodLiteral<"explicit-string">;
1856
1584
  content: z.ZodString;
1857
1585
  }, "strict", ZodTypeAny, {
@@ -1879,25 +1607,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1879
1607
  type: "absolute-file";
1880
1608
  file: string;
1881
1609
  }>]>]>>;
1882
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1883
- type: "relative";
1884
- path: string;
1885
- } | {
1886
- type: "explicit-base64";
1887
- content: string;
1888
- mimeType: string;
1889
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1610
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1890
1611
  type: z.ZodLiteral<"explicit-base64">;
1891
1612
  mimeType: z.ZodString;
1892
1613
  content: z.ZodString;
1893
1614
  }, "strict", ZodTypeAny, {
1894
1615
  type: "explicit-base64";
1895
- content: string;
1896
1616
  mimeType: string;
1617
+ content: string;
1897
1618
  }, {
1898
1619
  type: "explicit-base64";
1899
- content: string;
1900
1620
  mimeType: string;
1621
+ content: string;
1901
1622
  }>, z.ZodObject<{
1902
1623
  type: z.ZodLiteral<"relative">;
1903
1624
  path: z.ZodString;
@@ -1924,25 +1645,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1924
1645
  organization: z.ZodObject<{
1925
1646
  name: z.ZodString;
1926
1647
  url: z.ZodString;
1927
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1928
- type: "relative";
1929
- path: string;
1930
- } | {
1931
- type: "explicit-base64";
1932
- content: string;
1933
- mimeType: string;
1934
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1648
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1935
1649
  type: z.ZodLiteral<"explicit-base64">;
1936
1650
  mimeType: z.ZodString;
1937
1651
  content: z.ZodString;
1938
1652
  }, "strict", ZodTypeAny, {
1939
1653
  type: "explicit-base64";
1940
- content: string;
1941
1654
  mimeType: string;
1655
+ content: string;
1942
1656
  }, {
1943
1657
  type: "explicit-base64";
1944
- content: string;
1945
1658
  mimeType: string;
1659
+ content: string;
1946
1660
  }>, z.ZodObject<{
1947
1661
  type: z.ZodLiteral<"relative">;
1948
1662
  path: z.ZodString;
@@ -1965,25 +1679,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1965
1679
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1966
1680
  name: z.ZodString;
1967
1681
  url: z.ZodString;
1968
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1969
- type: "relative";
1970
- path: string;
1971
- } | {
1972
- type: "explicit-base64";
1973
- content: string;
1974
- mimeType: string;
1975
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1682
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1976
1683
  type: z.ZodLiteral<"explicit-base64">;
1977
1684
  mimeType: z.ZodString;
1978
1685
  content: z.ZodString;
1979
1686
  }, "strict", ZodTypeAny, {
1980
1687
  type: "explicit-base64";
1981
- content: string;
1982
1688
  mimeType: string;
1689
+ content: string;
1983
1690
  }, {
1984
1691
  type: "explicit-base64";
1985
- content: string;
1986
1692
  mimeType: string;
1693
+ content: string;
1987
1694
  }>, z.ZodObject<{
1988
1695
  type: z.ZodLiteral<"relative">;
1989
1696
  path: z.ZodString;
@@ -2006,25 +1713,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2006
1713
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2007
1714
  name: z.ZodString;
2008
1715
  url: z.ZodString;
2009
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2010
- type: "relative";
2011
- path: string;
2012
- } | {
2013
- type: "explicit-base64";
2014
- content: string;
2015
- mimeType: string;
2016
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1716
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2017
1717
  type: z.ZodLiteral<"explicit-base64">;
2018
1718
  mimeType: z.ZodString;
2019
1719
  content: z.ZodString;
2020
1720
  }, "strict", ZodTypeAny, {
2021
1721
  type: "explicit-base64";
2022
- content: string;
2023
1722
  mimeType: string;
1723
+ content: string;
2024
1724
  }, {
2025
1725
  type: "explicit-base64";
2026
- content: string;
2027
1726
  mimeType: string;
1727
+ content: string;
2028
1728
  }>, z.ZodObject<{
2029
1729
  type: z.ZodLiteral<"relative">;
2030
1730
  path: z.ZodString;
@@ -2053,13 +1753,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2053
1753
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2054
1754
  title: z.ZodString;
2055
1755
  description: z.ZodString;
2056
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2057
- type: "relative";
2058
- path: string;
2059
- } | {
2060
- type: "explicit-string";
2061
- content: string;
2062
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1756
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2063
1757
  type: z.ZodLiteral<"explicit-string">;
2064
1758
  content: z.ZodString;
2065
1759
  }, "strict", ZodTypeAny, {
@@ -2085,15 +1779,9 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2085
1779
  file: string;
2086
1780
  }, {
2087
1781
  type: "absolute-file";
2088
- file: string;
2089
- }>]>]>>;
2090
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2091
- type: "relative";
2092
- path: string;
2093
- } | {
2094
- type: "explicit-string";
2095
- content: string;
2096
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1782
+ file: string;
1783
+ }>]>]>>;
1784
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2097
1785
  type: z.ZodLiteral<"explicit-string">;
2098
1786
  content: z.ZodString;
2099
1787
  }, "strict", ZodTypeAny, {
@@ -2121,25 +1809,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2121
1809
  type: "absolute-file";
2122
1810
  file: string;
2123
1811
  }>]>]>>;
2124
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2125
- type: "relative";
2126
- path: string;
2127
- } | {
2128
- type: "explicit-base64";
2129
- content: string;
2130
- mimeType: string;
2131
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1812
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2132
1813
  type: z.ZodLiteral<"explicit-base64">;
2133
1814
  mimeType: z.ZodString;
2134
1815
  content: z.ZodString;
2135
1816
  }, "strict", ZodTypeAny, {
2136
1817
  type: "explicit-base64";
2137
- content: string;
2138
1818
  mimeType: string;
1819
+ content: string;
2139
1820
  }, {
2140
1821
  type: "explicit-base64";
2141
- content: string;
2142
1822
  mimeType: string;
1823
+ content: string;
2143
1824
  }>, z.ZodObject<{
2144
1825
  type: z.ZodLiteral<"relative">;
2145
1826
  path: z.ZodString;
@@ -2166,25 +1847,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2166
1847
  organization: z.ZodObject<{
2167
1848
  name: z.ZodString;
2168
1849
  url: z.ZodString;
2169
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2170
- type: "relative";
2171
- path: string;
2172
- } | {
2173
- type: "explicit-base64";
2174
- content: string;
2175
- mimeType: string;
2176
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1850
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2177
1851
  type: z.ZodLiteral<"explicit-base64">;
2178
1852
  mimeType: z.ZodString;
2179
1853
  content: z.ZodString;
2180
1854
  }, "strict", ZodTypeAny, {
2181
1855
  type: "explicit-base64";
2182
- content: string;
2183
1856
  mimeType: string;
1857
+ content: string;
2184
1858
  }, {
2185
1859
  type: "explicit-base64";
2186
- content: string;
2187
1860
  mimeType: string;
1861
+ content: string;
2188
1862
  }>, z.ZodObject<{
2189
1863
  type: z.ZodLiteral<"relative">;
2190
1864
  path: z.ZodString;
@@ -2207,25 +1881,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2207
1881
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2208
1882
  name: z.ZodString;
2209
1883
  url: z.ZodString;
2210
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2211
- type: "relative";
2212
- path: string;
2213
- } | {
2214
- type: "explicit-base64";
2215
- content: string;
2216
- mimeType: string;
2217
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1884
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2218
1885
  type: z.ZodLiteral<"explicit-base64">;
2219
1886
  mimeType: z.ZodString;
2220
1887
  content: z.ZodString;
2221
1888
  }, "strict", ZodTypeAny, {
2222
1889
  type: "explicit-base64";
2223
- content: string;
2224
1890
  mimeType: string;
1891
+ content: string;
2225
1892
  }, {
2226
1893
  type: "explicit-base64";
2227
- content: string;
2228
1894
  mimeType: string;
1895
+ content: string;
2229
1896
  }>, z.ZodObject<{
2230
1897
  type: z.ZodLiteral<"relative">;
2231
1898
  path: z.ZodString;
@@ -2248,25 +1915,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2248
1915
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2249
1916
  name: z.ZodString;
2250
1917
  url: z.ZodString;
2251
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2252
- type: "relative";
2253
- path: string;
2254
- } | {
2255
- type: "explicit-base64";
2256
- content: string;
2257
- mimeType: string;
2258
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1918
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2259
1919
  type: z.ZodLiteral<"explicit-base64">;
2260
1920
  mimeType: z.ZodString;
2261
1921
  content: z.ZodString;
2262
1922
  }, "strict", ZodTypeAny, {
2263
1923
  type: "explicit-base64";
2264
- content: string;
2265
1924
  mimeType: string;
1925
+ content: string;
2266
1926
  }, {
2267
1927
  type: "explicit-base64";
2268
- content: string;
2269
1928
  mimeType: string;
1929
+ content: string;
2270
1930
  }>, z.ZodObject<{
2271
1931
  type: z.ZodLiteral<"relative">;
2272
1932
  path: z.ZodString;
@@ -2295,13 +1955,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2295
1955
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2296
1956
  title: z.ZodString;
2297
1957
  description: z.ZodString;
2298
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2299
- type: "relative";
2300
- path: string;
2301
- } | {
2302
- type: "explicit-string";
2303
- content: string;
2304
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1958
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2305
1959
  type: z.ZodLiteral<"explicit-string">;
2306
1960
  content: z.ZodString;
2307
1961
  }, "strict", ZodTypeAny, {
@@ -2329,13 +1983,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2329
1983
  type: "absolute-file";
2330
1984
  file: string;
2331
1985
  }>]>]>>;
2332
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2333
- type: "relative";
2334
- path: string;
2335
- } | {
2336
- type: "explicit-string";
2337
- content: string;
2338
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1986
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2339
1987
  type: z.ZodLiteral<"explicit-string">;
2340
1988
  content: z.ZodString;
2341
1989
  }, "strict", ZodTypeAny, {
@@ -2363,25 +2011,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2363
2011
  type: "absolute-file";
2364
2012
  file: string;
2365
2013
  }>]>]>>;
2366
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2367
- type: "relative";
2368
- path: string;
2369
- } | {
2370
- type: "explicit-base64";
2371
- content: string;
2372
- mimeType: string;
2373
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2014
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2374
2015
  type: z.ZodLiteral<"explicit-base64">;
2375
2016
  mimeType: z.ZodString;
2376
2017
  content: z.ZodString;
2377
2018
  }, "strict", ZodTypeAny, {
2378
2019
  type: "explicit-base64";
2379
- content: string;
2380
2020
  mimeType: string;
2021
+ content: string;
2381
2022
  }, {
2382
2023
  type: "explicit-base64";
2383
- content: string;
2384
2024
  mimeType: string;
2025
+ content: string;
2385
2026
  }>, z.ZodObject<{
2386
2027
  type: z.ZodLiteral<"relative">;
2387
2028
  path: z.ZodString;
@@ -2408,25 +2049,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2408
2049
  organization: z.ZodObject<{
2409
2050
  name: z.ZodString;
2410
2051
  url: z.ZodString;
2411
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2412
- type: "relative";
2413
- path: string;
2414
- } | {
2415
- type: "explicit-base64";
2416
- content: string;
2417
- mimeType: string;
2418
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2052
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2419
2053
  type: z.ZodLiteral<"explicit-base64">;
2420
2054
  mimeType: z.ZodString;
2421
2055
  content: z.ZodString;
2422
2056
  }, "strict", ZodTypeAny, {
2423
2057
  type: "explicit-base64";
2424
- content: string;
2425
2058
  mimeType: string;
2059
+ content: string;
2426
2060
  }, {
2427
2061
  type: "explicit-base64";
2428
- content: string;
2429
2062
  mimeType: string;
2063
+ content: string;
2430
2064
  }>, z.ZodObject<{
2431
2065
  type: z.ZodLiteral<"relative">;
2432
2066
  path: z.ZodString;
@@ -2449,25 +2083,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2449
2083
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2450
2084
  name: z.ZodString;
2451
2085
  url: z.ZodString;
2452
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2453
- type: "relative";
2454
- path: string;
2455
- } | {
2456
- type: "explicit-base64";
2457
- content: string;
2458
- mimeType: string;
2459
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2086
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2460
2087
  type: z.ZodLiteral<"explicit-base64">;
2461
2088
  mimeType: z.ZodString;
2462
2089
  content: z.ZodString;
2463
2090
  }, "strict", ZodTypeAny, {
2464
2091
  type: "explicit-base64";
2465
- content: string;
2466
2092
  mimeType: string;
2093
+ content: string;
2467
2094
  }, {
2468
2095
  type: "explicit-base64";
2469
- content: string;
2470
2096
  mimeType: string;
2097
+ content: string;
2471
2098
  }>, z.ZodObject<{
2472
2099
  type: z.ZodLiteral<"relative">;
2473
2100
  path: z.ZodString;
@@ -2490,25 +2117,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2490
2117
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2491
2118
  name: z.ZodString;
2492
2119
  url: z.ZodString;
2493
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2494
- type: "relative";
2495
- path: string;
2496
- } | {
2497
- type: "explicit-base64";
2498
- content: string;
2499
- mimeType: string;
2500
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2120
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2501
2121
  type: z.ZodLiteral<"explicit-base64">;
2502
2122
  mimeType: z.ZodString;
2503
2123
  content: z.ZodString;
2504
2124
  }, "strict", ZodTypeAny, {
2505
2125
  type: "explicit-base64";
2506
- content: string;
2507
2126
  mimeType: string;
2127
+ content: string;
2508
2128
  }, {
2509
2129
  type: "explicit-base64";
2510
- content: string;
2511
2130
  mimeType: string;
2131
+ content: string;
2512
2132
  }>, z.ZodObject<{
2513
2133
  type: z.ZodLiteral<"relative">;
2514
2134
  path: z.ZodString;
@@ -2542,41 +2162,29 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2542
2162
  name: z.ZodString;
2543
2163
  version: z.ZodString;
2544
2164
  }, "strict", ZodTypeAny, {
2545
- name: string;
2546
2165
  organization: string;
2166
+ name: string;
2547
2167
  version: string;
2548
2168
  }, {
2549
- name: string;
2550
2169
  organization: string;
2170
+ name: string;
2551
2171
  version: string;
2552
2172
  }>;
2553
2173
  components: z.ZodObject<{
2554
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
2555
- type: "workflow-v1";
2556
- main: string;
2557
- }, string>, z.ZodObject<{
2558
- type: z.ZodLiteral<"workflow-v1">;
2559
- main: z.ZodString;
2560
- }, "strip", ZodTypeAny, {
2561
- type: "workflow-v1";
2562
- main: string;
2563
- }, {
2564
- type: "workflow-v1";
2565
- main: string;
2566
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2174
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, WorkflowV1<string>, string>, z.ZodObject<{
2567
2175
  type: z.ZodLiteral<"workflow-v1">;
2568
2176
  main: z.ZodString;
2569
- }, "strip", ZodTypeAny, {
2177
+ }, "strict", ZodTypeAny, {
2570
2178
  type: "workflow-v1";
2571
2179
  main: string;
2572
2180
  }, {
2573
2181
  type: "workflow-v1";
2574
2182
  main: string;
2575
- }>]>]>;
2183
+ }>]>;
2576
2184
  model: z.ZodString;
2577
2185
  ui: z.ZodString;
2578
2186
  }, "strip", ZodTypeAny, {
2579
- workflow: {
2187
+ workflow: WorkflowV1<string> | {
2580
2188
  type: "workflow-v1";
2581
2189
  main: string;
2582
2190
  };
@@ -2593,13 +2201,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2593
2201
  meta: z.ZodObject<{
2594
2202
  title: z.ZodString;
2595
2203
  description: z.ZodString;
2596
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2597
- type: "relative";
2598
- path: string;
2599
- } | {
2600
- type: "explicit-string";
2601
- content: string;
2602
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2204
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2603
2205
  type: z.ZodLiteral<"explicit-string">;
2604
2206
  content: z.ZodString;
2605
2207
  }, "strict", ZodTypeAny, {
@@ -2627,13 +2229,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2627
2229
  type: "absolute-file";
2628
2230
  file: string;
2629
2231
  }>]>]>>;
2630
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2631
- type: "relative";
2632
- path: string;
2633
- } | {
2634
- type: "explicit-string";
2635
- content: string;
2636
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2232
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2637
2233
  type: z.ZodLiteral<"explicit-string">;
2638
2234
  content: z.ZodString;
2639
2235
  }, "strict", ZodTypeAny, {
@@ -2661,25 +2257,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2661
2257
  type: "absolute-file";
2662
2258
  file: string;
2663
2259
  }>]>]>>;
2664
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2665
- type: "relative";
2666
- path: string;
2667
- } | {
2668
- type: "explicit-base64";
2669
- content: string;
2670
- mimeType: string;
2671
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2260
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2672
2261
  type: z.ZodLiteral<"explicit-base64">;
2673
2262
  mimeType: z.ZodString;
2674
2263
  content: z.ZodString;
2675
2264
  }, "strict", ZodTypeAny, {
2676
2265
  type: "explicit-base64";
2677
- content: string;
2678
2266
  mimeType: string;
2267
+ content: string;
2679
2268
  }, {
2680
2269
  type: "explicit-base64";
2681
- content: string;
2682
2270
  mimeType: string;
2271
+ content: string;
2683
2272
  }>, z.ZodObject<{
2684
2273
  type: z.ZodLiteral<"relative">;
2685
2274
  path: z.ZodString;
@@ -2706,25 +2295,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2706
2295
  organization: z.ZodObject<{
2707
2296
  name: z.ZodString;
2708
2297
  url: z.ZodString;
2709
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2710
- type: "relative";
2711
- path: string;
2712
- } | {
2713
- type: "explicit-base64";
2714
- content: string;
2715
- mimeType: string;
2716
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2298
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2717
2299
  type: z.ZodLiteral<"explicit-base64">;
2718
2300
  mimeType: z.ZodString;
2719
2301
  content: z.ZodString;
2720
2302
  }, "strict", ZodTypeAny, {
2721
2303
  type: "explicit-base64";
2722
- content: string;
2723
2304
  mimeType: string;
2305
+ content: string;
2724
2306
  }, {
2725
2307
  type: "explicit-base64";
2726
- content: string;
2727
2308
  mimeType: string;
2309
+ content: string;
2728
2310
  }>, z.ZodObject<{
2729
2311
  type: z.ZodLiteral<"relative">;
2730
2312
  path: z.ZodString;
@@ -2747,25 +2329,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2747
2329
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2748
2330
  name: z.ZodString;
2749
2331
  url: z.ZodString;
2750
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2751
- type: "relative";
2752
- path: string;
2753
- } | {
2754
- type: "explicit-base64";
2755
- content: string;
2756
- mimeType: string;
2757
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2332
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2758
2333
  type: z.ZodLiteral<"explicit-base64">;
2759
2334
  mimeType: z.ZodString;
2760
2335
  content: z.ZodString;
2761
2336
  }, "strict", ZodTypeAny, {
2762
2337
  type: "explicit-base64";
2763
- content: string;
2764
2338
  mimeType: string;
2339
+ content: string;
2765
2340
  }, {
2766
2341
  type: "explicit-base64";
2767
- content: string;
2768
2342
  mimeType: string;
2343
+ content: string;
2769
2344
  }>, z.ZodObject<{
2770
2345
  type: z.ZodLiteral<"relative">;
2771
2346
  path: z.ZodString;
@@ -2788,25 +2363,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2788
2363
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2789
2364
  name: z.ZodString;
2790
2365
  url: z.ZodString;
2791
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2792
- type: "relative";
2793
- path: string;
2794
- } | {
2795
- type: "explicit-base64";
2796
- content: string;
2797
- mimeType: string;
2798
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2366
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2799
2367
  type: z.ZodLiteral<"explicit-base64">;
2800
2368
  mimeType: z.ZodString;
2801
2369
  content: z.ZodString;
2802
2370
  }, "strict", ZodTypeAny, {
2803
2371
  type: "explicit-base64";
2804
- content: string;
2805
2372
  mimeType: string;
2373
+ content: string;
2806
2374
  }, {
2807
2375
  type: "explicit-base64";
2808
- content: string;
2809
2376
  mimeType: string;
2377
+ content: string;
2810
2378
  }>, z.ZodObject<{
2811
2379
  type: z.ZodLiteral<"relative">;
2812
2380
  path: z.ZodString;
@@ -2835,13 +2403,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2835
2403
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2836
2404
  title: z.ZodString;
2837
2405
  description: z.ZodString;
2838
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2839
- type: "relative";
2840
- path: string;
2841
- } | {
2842
- type: "explicit-string";
2843
- content: string;
2844
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2406
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2845
2407
  type: z.ZodLiteral<"explicit-string">;
2846
2408
  content: z.ZodString;
2847
2409
  }, "strict", ZodTypeAny, {
@@ -2869,13 +2431,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2869
2431
  type: "absolute-file";
2870
2432
  file: string;
2871
2433
  }>]>]>>;
2872
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2873
- type: "relative";
2874
- path: string;
2875
- } | {
2876
- type: "explicit-string";
2877
- content: string;
2878
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2434
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2879
2435
  type: z.ZodLiteral<"explicit-string">;
2880
2436
  content: z.ZodString;
2881
2437
  }, "strict", ZodTypeAny, {
@@ -2903,25 +2459,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2903
2459
  type: "absolute-file";
2904
2460
  file: string;
2905
2461
  }>]>]>>;
2906
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2907
- type: "relative";
2908
- path: string;
2909
- } | {
2910
- type: "explicit-base64";
2911
- content: string;
2912
- mimeType: string;
2913
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2462
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2914
2463
  type: z.ZodLiteral<"explicit-base64">;
2915
2464
  mimeType: z.ZodString;
2916
2465
  content: z.ZodString;
2917
2466
  }, "strict", ZodTypeAny, {
2918
2467
  type: "explicit-base64";
2919
- content: string;
2920
2468
  mimeType: string;
2469
+ content: string;
2921
2470
  }, {
2922
2471
  type: "explicit-base64";
2923
- content: string;
2924
2472
  mimeType: string;
2473
+ content: string;
2925
2474
  }>, z.ZodObject<{
2926
2475
  type: z.ZodLiteral<"relative">;
2927
2476
  path: z.ZodString;
@@ -2948,25 +2497,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2948
2497
  organization: z.ZodObject<{
2949
2498
  name: z.ZodString;
2950
2499
  url: z.ZodString;
2951
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2952
- type: "relative";
2953
- path: string;
2954
- } | {
2955
- type: "explicit-base64";
2956
- content: string;
2957
- mimeType: string;
2958
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2500
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2959
2501
  type: z.ZodLiteral<"explicit-base64">;
2960
2502
  mimeType: z.ZodString;
2961
2503
  content: z.ZodString;
2962
2504
  }, "strict", ZodTypeAny, {
2963
2505
  type: "explicit-base64";
2964
- content: string;
2965
2506
  mimeType: string;
2507
+ content: string;
2966
2508
  }, {
2967
2509
  type: "explicit-base64";
2968
- content: string;
2969
2510
  mimeType: string;
2511
+ content: string;
2970
2512
  }>, z.ZodObject<{
2971
2513
  type: z.ZodLiteral<"relative">;
2972
2514
  path: z.ZodString;
@@ -2989,25 +2531,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2989
2531
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2990
2532
  name: z.ZodString;
2991
2533
  url: z.ZodString;
2992
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2993
- type: "relative";
2994
- path: string;
2995
- } | {
2996
- type: "explicit-base64";
2997
- content: string;
2998
- mimeType: string;
2999
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2534
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3000
2535
  type: z.ZodLiteral<"explicit-base64">;
3001
2536
  mimeType: z.ZodString;
3002
2537
  content: z.ZodString;
3003
2538
  }, "strict", ZodTypeAny, {
3004
2539
  type: "explicit-base64";
3005
- content: string;
3006
2540
  mimeType: string;
2541
+ content: string;
3007
2542
  }, {
3008
2543
  type: "explicit-base64";
3009
- content: string;
3010
2544
  mimeType: string;
2545
+ content: string;
3011
2546
  }>, z.ZodObject<{
3012
2547
  type: z.ZodLiteral<"relative">;
3013
2548
  path: z.ZodString;
@@ -3030,25 +2565,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3030
2565
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
3031
2566
  name: z.ZodString;
3032
2567
  url: z.ZodString;
3033
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3034
- type: "relative";
3035
- path: string;
3036
- } | {
3037
- type: "explicit-base64";
3038
- content: string;
3039
- mimeType: string;
3040
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2568
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3041
2569
  type: z.ZodLiteral<"explicit-base64">;
3042
2570
  mimeType: z.ZodString;
3043
2571
  content: z.ZodString;
3044
2572
  }, "strict", ZodTypeAny, {
3045
2573
  type: "explicit-base64";
3046
- content: string;
3047
2574
  mimeType: string;
2575
+ content: string;
3048
2576
  }, {
3049
2577
  type: "explicit-base64";
3050
- content: string;
3051
2578
  mimeType: string;
2579
+ content: string;
3052
2580
  }>, z.ZodObject<{
3053
2581
  type: z.ZodLiteral<"relative">;
3054
2582
  path: z.ZodString;
@@ -3077,13 +2605,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3077
2605
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
3078
2606
  title: z.ZodString;
3079
2607
  description: z.ZodString;
3080
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3081
- type: "relative";
3082
- path: string;
3083
- } | {
3084
- type: "explicit-string";
3085
- content: string;
3086
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2608
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3087
2609
  type: z.ZodLiteral<"explicit-string">;
3088
2610
  content: z.ZodString;
3089
2611
  }, "strict", ZodTypeAny, {
@@ -3111,13 +2633,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3111
2633
  type: "absolute-file";
3112
2634
  file: string;
3113
2635
  }>]>]>>;
3114
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3115
- type: "relative";
3116
- path: string;
3117
- } | {
3118
- type: "explicit-string";
3119
- content: string;
3120
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2636
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3121
2637
  type: z.ZodLiteral<"explicit-string">;
3122
2638
  content: z.ZodString;
3123
2639
  }, "strict", ZodTypeAny, {
@@ -3145,25 +2661,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3145
2661
  type: "absolute-file";
3146
2662
  file: string;
3147
2663
  }>]>]>>;
3148
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3149
- type: "relative";
3150
- path: string;
3151
- } | {
3152
- type: "explicit-base64";
3153
- content: string;
3154
- mimeType: string;
3155
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2664
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3156
2665
  type: z.ZodLiteral<"explicit-base64">;
3157
2666
  mimeType: z.ZodString;
3158
2667
  content: z.ZodString;
3159
2668
  }, "strict", ZodTypeAny, {
3160
2669
  type: "explicit-base64";
3161
- content: string;
3162
2670
  mimeType: string;
2671
+ content: string;
3163
2672
  }, {
3164
2673
  type: "explicit-base64";
3165
- content: string;
3166
2674
  mimeType: string;
2675
+ content: string;
3167
2676
  }>, z.ZodObject<{
3168
2677
  type: z.ZodLiteral<"relative">;
3169
2678
  path: z.ZodString;
@@ -3190,25 +2699,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3190
2699
  organization: z.ZodObject<{
3191
2700
  name: z.ZodString;
3192
2701
  url: z.ZodString;
3193
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3194
- type: "relative";
3195
- path: string;
3196
- } | {
3197
- type: "explicit-base64";
3198
- content: string;
3199
- mimeType: string;
3200
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2702
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3201
2703
  type: z.ZodLiteral<"explicit-base64">;
3202
2704
  mimeType: z.ZodString;
3203
2705
  content: z.ZodString;
3204
2706
  }, "strict", ZodTypeAny, {
3205
2707
  type: "explicit-base64";
3206
- content: string;
3207
2708
  mimeType: string;
2709
+ content: string;
3208
2710
  }, {
3209
2711
  type: "explicit-base64";
3210
- content: string;
3211
2712
  mimeType: string;
2713
+ content: string;
3212
2714
  }>, z.ZodObject<{
3213
2715
  type: z.ZodLiteral<"relative">;
3214
2716
  path: z.ZodString;
@@ -3231,25 +2733,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3231
2733
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
3232
2734
  name: z.ZodString;
3233
2735
  url: z.ZodString;
3234
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3235
- type: "relative";
3236
- path: string;
3237
- } | {
3238
- type: "explicit-base64";
3239
- content: string;
3240
- mimeType: string;
3241
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2736
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3242
2737
  type: z.ZodLiteral<"explicit-base64">;
3243
2738
  mimeType: z.ZodString;
3244
2739
  content: z.ZodString;
3245
2740
  }, "strict", ZodTypeAny, {
3246
2741
  type: "explicit-base64";
3247
- content: string;
3248
2742
  mimeType: string;
2743
+ content: string;
3249
2744
  }, {
3250
2745
  type: "explicit-base64";
3251
- content: string;
3252
2746
  mimeType: string;
2747
+ content: string;
3253
2748
  }>, z.ZodObject<{
3254
2749
  type: z.ZodLiteral<"relative">;
3255
2750
  path: z.ZodString;
@@ -3272,25 +2767,18 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3272
2767
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
3273
2768
  name: z.ZodString;
3274
2769
  url: z.ZodString;
3275
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3276
- type: "relative";
3277
- path: string;
3278
- } | {
3279
- type: "explicit-base64";
3280
- content: string;
3281
- mimeType: string;
3282
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2770
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3283
2771
  type: z.ZodLiteral<"explicit-base64">;
3284
2772
  mimeType: z.ZodString;
3285
2773
  content: z.ZodString;
3286
2774
  }, "strict", ZodTypeAny, {
3287
2775
  type: "explicit-base64";
3288
- content: string;
3289
2776
  mimeType: string;
2777
+ content: string;
3290
2778
  }, {
3291
2779
  type: "explicit-base64";
3292
- content: string;
3293
2780
  mimeType: string;
2781
+ content: string;
3294
2782
  }>, z.ZodObject<{
3295
2783
  type: z.ZodLiteral<"relative">;
3296
2784
  path: z.ZodString;
@@ -3324,5 +2812,5 @@ declare function overrideDescriptionVersion<T extends {
3324
2812
  id: BlockPackId;
3325
2813
  }>(manifest: T, newVersion: string): T;
3326
2814
  //#endregion
3327
- export { BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionRaw, CreateBlockPackDescriptionSchema, FeatureFlags, overrideDescriptionVersion };
2815
+ export { BlockPackDescription, BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionRaw, CreateBlockPackDescriptionSchema, FeatureFlags, overrideDescriptionVersion };
3328
2816
  //# sourceMappingURL=block_description.d.ts.map