@platforma-sdk/block-tools 2.1.11 → 2.2.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 (59) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/cli.js.map +1 -1
  3. package/dist/cli.mjs +266 -80
  4. package/dist/cli.mjs.map +1 -1
  5. package/dist/cmd/index.d.ts +2 -0
  6. package/dist/cmd/index.d.ts.map +1 -1
  7. package/dist/cmd/publish.d.ts +11 -0
  8. package/dist/cmd/publish.d.ts.map +1 -0
  9. package/dist/config-DJqN5LSx.js +3 -0
  10. package/dist/config-DJqN5LSx.js.map +1 -0
  11. package/dist/{config-Br5DwFuM.mjs → config-rGaQLD-7.mjs} +636 -603
  12. package/dist/config-rGaQLD-7.mjs.map +1 -0
  13. package/dist/index.js +1 -1
  14. package/dist/index.mjs +29 -27
  15. package/dist/registry_v1/config_schema.d.ts +13 -13
  16. package/dist/v2/build_dist.d.ts +2 -1
  17. package/dist/v2/build_dist.d.ts.map +1 -1
  18. package/dist/v2/model/block_components.d.ts +169 -177
  19. package/dist/v2/model/block_components.d.ts.map +1 -1
  20. package/dist/v2/model/block_description.d.ts +2873 -0
  21. package/dist/v2/model/block_description.d.ts.map +1 -0
  22. package/dist/v2/model/{meta.d.ts → block_meta.d.ts} +1 -1
  23. package/dist/v2/model/block_meta.d.ts.map +1 -0
  24. package/dist/v2/model/content_conversion.d.ts +5 -2
  25. package/dist/v2/model/content_conversion.d.ts.map +1 -1
  26. package/dist/v2/model/index.d.ts +3 -2079
  27. package/dist/v2/model/index.d.ts.map +1 -1
  28. package/dist/v2/registry/registry.d.ts +16 -0
  29. package/dist/v2/registry/registry.d.ts.map +1 -0
  30. package/dist/v2/registry/schema_internal.d.ts +7 -0
  31. package/dist/v2/registry/schema_internal.d.ts.map +1 -0
  32. package/dist/v2/registry/schema_public.d.ts +2828 -0
  33. package/dist/v2/registry/schema_public.d.ts.map +1 -0
  34. package/package.json +3 -3
  35. package/src/cmd/build-meta.ts +1 -1
  36. package/src/cmd/index.ts +2 -0
  37. package/src/cmd/publish.ts +69 -0
  38. package/src/v2/build_dist.ts +16 -12
  39. package/src/v2/model/block_components.ts +14 -10
  40. package/src/v2/model/block_description.ts +49 -0
  41. package/src/v2/model/{meta.ts → block_meta.ts} +1 -1
  42. package/src/v2/model/content_conversion.ts +49 -10
  43. package/src/v2/model/index.ts +3 -44
  44. package/src/v2/registry/registry.ts +233 -0
  45. package/src/v2/registry/schema_internal.ts +13 -0
  46. package/src/v2/registry/schema_public.ts +90 -0
  47. package/dist/config-Br5DwFuM.mjs.map +0 -1
  48. package/dist/config-DMAm68Pm.js +0 -3
  49. package/dist/config-DMAm68Pm.js.map +0 -1
  50. package/dist/v2/model/common.d.ts +0 -3
  51. package/dist/v2/model/common.d.ts.map +0 -1
  52. package/dist/v2/model/content_types.d.ts +0 -478
  53. package/dist/v2/model/content_types.d.ts.map +0 -1
  54. package/dist/v2/model/meta.d.ts.map +0 -1
  55. package/dist/v2/registry/schema.d.ts +0 -15
  56. package/dist/v2/registry/schema.d.ts.map +0 -1
  57. package/src/v2/model/common.ts +0 -2
  58. package/src/v2/model/content_types.ts +0 -233
  59. package/src/v2/registry/schema.ts +0 -29
@@ -0,0 +1,2873 @@
1
+ import { z } from 'zod';
2
+ export declare function ResolvedBlockPackDescriptionFromPackageJson(root: string): z.ZodObject<{
3
+ id: z.ZodObject<{
4
+ organization: z.ZodString;
5
+ name: z.ZodString;
6
+ version: z.ZodString;
7
+ }, "strict", z.ZodTypeAny, {
8
+ organization: string;
9
+ name: string;
10
+ version: string;
11
+ }, {
12
+ organization: string;
13
+ name: string;
14
+ version: string;
15
+ }>;
16
+ components: z.ZodObject<{
17
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, {
18
+ type: "absolute-file";
19
+ file: string;
20
+ }, string>, {
21
+ type: string;
22
+ main: any;
23
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
24
+ type: z.ZodLiteral<"workflow-v1">;
25
+ main: z.ZodEffects<z.ZodString, {
26
+ type: "absolute-file";
27
+ file: string;
28
+ }, string>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ type: "workflow-v1";
31
+ main: {
32
+ type: "absolute-file";
33
+ file: string;
34
+ };
35
+ }, {
36
+ type: "workflow-v1";
37
+ main: string;
38
+ }>]>]>;
39
+ model: z.ZodEffects<z.ZodString, {
40
+ type: "absolute-file";
41
+ file: string;
42
+ }, string>;
43
+ ui: z.ZodEffects<z.ZodString, {
44
+ type: "absolute-folder";
45
+ folder: string;
46
+ }, string>;
47
+ }, "strip", z.ZodTypeAny, {
48
+ workflow: {
49
+ type: string;
50
+ main: any;
51
+ } | {
52
+ type: "workflow-v1";
53
+ main: {
54
+ type: "absolute-file";
55
+ file: string;
56
+ };
57
+ };
58
+ model: {
59
+ type: "absolute-file";
60
+ file: string;
61
+ };
62
+ ui: {
63
+ type: "absolute-folder";
64
+ folder: string;
65
+ };
66
+ }, {
67
+ workflow: string | {
68
+ type: "workflow-v1";
69
+ main: string;
70
+ };
71
+ model: string;
72
+ ui: string;
73
+ }>;
74
+ meta: z.ZodObject<{
75
+ title: z.ZodString;
76
+ description: z.ZodString;
77
+ longDescription: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
78
+ type: "explicit-string";
79
+ content: string;
80
+ } | {
81
+ type: "relative";
82
+ path: string;
83
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
84
+ type: z.ZodLiteral<"explicit-string">;
85
+ content: z.ZodString;
86
+ }, "strict", z.ZodTypeAny, {
87
+ type: "explicit-string";
88
+ content: string;
89
+ }, {
90
+ type: "explicit-string";
91
+ content: string;
92
+ }>, z.ZodObject<{
93
+ type: z.ZodLiteral<"relative">;
94
+ path: z.ZodString;
95
+ }, "strict", z.ZodTypeAny, {
96
+ type: "relative";
97
+ path: string;
98
+ }, {
99
+ type: "relative";
100
+ path: string;
101
+ }>, z.ZodObject<{
102
+ type: z.ZodLiteral<"absolute-file">;
103
+ file: z.ZodString;
104
+ }, "strict", z.ZodTypeAny, {
105
+ type: "absolute-file";
106
+ file: string;
107
+ }, {
108
+ type: "absolute-file";
109
+ file: string;
110
+ }>]>]>, {
111
+ type: "absolute-file";
112
+ file: string;
113
+ } | {
114
+ type: "explicit-string";
115
+ content: string;
116
+ } | {
117
+ type: "explicit-string";
118
+ content: string;
119
+ } | {
120
+ type: "absolute-file";
121
+ file: string;
122
+ }, string | {
123
+ type: "explicit-string";
124
+ content: string;
125
+ } | {
126
+ type: "relative";
127
+ path: string;
128
+ } | {
129
+ type: "absolute-file";
130
+ file: string;
131
+ }>>;
132
+ logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
133
+ type: "explicit-base64";
134
+ content: string;
135
+ mimeType: string;
136
+ } | {
137
+ type: "relative";
138
+ path: string;
139
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
140
+ type: z.ZodLiteral<"explicit-base64">;
141
+ mimeType: z.ZodString;
142
+ content: z.ZodString;
143
+ }, "strict", z.ZodTypeAny, {
144
+ type: "explicit-base64";
145
+ content: string;
146
+ mimeType: string;
147
+ }, {
148
+ type: "explicit-base64";
149
+ content: string;
150
+ mimeType: string;
151
+ }>, z.ZodObject<{
152
+ type: z.ZodLiteral<"relative">;
153
+ path: z.ZodString;
154
+ }, "strict", z.ZodTypeAny, {
155
+ type: "relative";
156
+ path: string;
157
+ }, {
158
+ type: "relative";
159
+ path: string;
160
+ }>, z.ZodObject<{
161
+ type: z.ZodLiteral<"absolute-file">;
162
+ file: z.ZodString;
163
+ }, "strict", z.ZodTypeAny, {
164
+ type: "absolute-file";
165
+ file: string;
166
+ }, {
167
+ type: "absolute-file";
168
+ file: string;
169
+ }>]>]>, {
170
+ type: "absolute-file";
171
+ file: string;
172
+ } | {
173
+ type: "explicit-base64";
174
+ content: string;
175
+ mimeType: string;
176
+ } | {
177
+ type: "explicit-base64";
178
+ content: string;
179
+ mimeType: string;
180
+ } | {
181
+ type: "absolute-file";
182
+ file: string;
183
+ }, string | {
184
+ type: "explicit-base64";
185
+ content: string;
186
+ mimeType: string;
187
+ } | {
188
+ type: "relative";
189
+ path: string;
190
+ } | {
191
+ type: "absolute-file";
192
+ file: string;
193
+ }>>;
194
+ url: z.ZodOptional<z.ZodString>;
195
+ docs: z.ZodOptional<z.ZodString>;
196
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
197
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
198
+ organization: z.ZodObject<{
199
+ name: z.ZodString;
200
+ url: z.ZodString;
201
+ logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
202
+ type: "explicit-base64";
203
+ content: string;
204
+ mimeType: string;
205
+ } | {
206
+ type: "relative";
207
+ path: string;
208
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
209
+ type: z.ZodLiteral<"explicit-base64">;
210
+ mimeType: z.ZodString;
211
+ content: z.ZodString;
212
+ }, "strict", z.ZodTypeAny, {
213
+ type: "explicit-base64";
214
+ content: string;
215
+ mimeType: string;
216
+ }, {
217
+ type: "explicit-base64";
218
+ content: string;
219
+ mimeType: string;
220
+ }>, z.ZodObject<{
221
+ type: z.ZodLiteral<"relative">;
222
+ path: z.ZodString;
223
+ }, "strict", z.ZodTypeAny, {
224
+ type: "relative";
225
+ path: string;
226
+ }, {
227
+ type: "relative";
228
+ path: string;
229
+ }>, z.ZodObject<{
230
+ type: z.ZodLiteral<"absolute-file">;
231
+ file: z.ZodString;
232
+ }, "strict", z.ZodTypeAny, {
233
+ type: "absolute-file";
234
+ file: string;
235
+ }, {
236
+ type: "absolute-file";
237
+ file: string;
238
+ }>]>]>, {
239
+ type: "absolute-file";
240
+ file: string;
241
+ } | {
242
+ type: "explicit-base64";
243
+ content: string;
244
+ mimeType: string;
245
+ } | {
246
+ type: "explicit-base64";
247
+ content: string;
248
+ mimeType: string;
249
+ } | {
250
+ type: "absolute-file";
251
+ file: string;
252
+ }, string | {
253
+ type: "explicit-base64";
254
+ content: string;
255
+ mimeType: string;
256
+ } | {
257
+ type: "relative";
258
+ path: string;
259
+ } | {
260
+ type: "absolute-file";
261
+ file: string;
262
+ }>>;
263
+ }, "strip", z.ZodTypeAny, {
264
+ url: string;
265
+ name: string;
266
+ logo?: {
267
+ type: "absolute-file";
268
+ file: string;
269
+ } | {
270
+ type: "explicit-base64";
271
+ content: string;
272
+ mimeType: string;
273
+ } | {
274
+ type: "explicit-base64";
275
+ content: string;
276
+ mimeType: string;
277
+ } | {
278
+ type: "absolute-file";
279
+ file: string;
280
+ } | undefined;
281
+ }, {
282
+ url: string;
283
+ name: string;
284
+ logo?: string | {
285
+ type: "explicit-base64";
286
+ content: string;
287
+ mimeType: string;
288
+ } | {
289
+ type: "relative";
290
+ path: string;
291
+ } | {
292
+ type: "absolute-file";
293
+ file: string;
294
+ } | undefined;
295
+ }>;
296
+ }, "strip", z.ZodTypeAny, {
297
+ title: string;
298
+ description: string;
299
+ organization: {
300
+ url: string;
301
+ name: string;
302
+ logo?: {
303
+ type: "absolute-file";
304
+ file: string;
305
+ } | {
306
+ type: "explicit-base64";
307
+ content: string;
308
+ mimeType: string;
309
+ } | {
310
+ type: "explicit-base64";
311
+ content: string;
312
+ mimeType: string;
313
+ } | {
314
+ type: "absolute-file";
315
+ file: string;
316
+ } | undefined;
317
+ };
318
+ longDescription?: {
319
+ type: "absolute-file";
320
+ file: string;
321
+ } | {
322
+ type: "explicit-string";
323
+ content: string;
324
+ } | {
325
+ type: "explicit-string";
326
+ content: string;
327
+ } | {
328
+ type: "absolute-file";
329
+ file: string;
330
+ } | undefined;
331
+ logo?: {
332
+ type: "absolute-file";
333
+ file: string;
334
+ } | {
335
+ type: "explicit-base64";
336
+ content: string;
337
+ mimeType: string;
338
+ } | {
339
+ type: "explicit-base64";
340
+ content: string;
341
+ mimeType: string;
342
+ } | {
343
+ type: "absolute-file";
344
+ file: string;
345
+ } | undefined;
346
+ url?: string | undefined;
347
+ docs?: string | undefined;
348
+ support?: string | undefined;
349
+ tags?: string[] | undefined;
350
+ }, {
351
+ title: string;
352
+ description: string;
353
+ organization: {
354
+ url: string;
355
+ name: string;
356
+ logo?: string | {
357
+ type: "explicit-base64";
358
+ content: string;
359
+ mimeType: string;
360
+ } | {
361
+ type: "relative";
362
+ path: string;
363
+ } | {
364
+ type: "absolute-file";
365
+ file: string;
366
+ } | undefined;
367
+ };
368
+ longDescription?: string | {
369
+ type: "explicit-string";
370
+ content: string;
371
+ } | {
372
+ type: "relative";
373
+ path: string;
374
+ } | {
375
+ type: "absolute-file";
376
+ file: string;
377
+ } | undefined;
378
+ logo?: string | {
379
+ type: "explicit-base64";
380
+ content: string;
381
+ mimeType: string;
382
+ } | {
383
+ type: "relative";
384
+ path: string;
385
+ } | {
386
+ type: "absolute-file";
387
+ file: string;
388
+ } | undefined;
389
+ url?: string | undefined;
390
+ docs?: string | undefined;
391
+ support?: string | undefined;
392
+ tags?: string[] | undefined;
393
+ }>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ id: {
396
+ organization: string;
397
+ name: string;
398
+ version: string;
399
+ };
400
+ components: {
401
+ workflow: {
402
+ type: string;
403
+ main: any;
404
+ } | {
405
+ type: "workflow-v1";
406
+ main: {
407
+ type: "absolute-file";
408
+ file: string;
409
+ };
410
+ };
411
+ model: {
412
+ type: "absolute-file";
413
+ file: string;
414
+ };
415
+ ui: {
416
+ type: "absolute-folder";
417
+ folder: string;
418
+ };
419
+ };
420
+ meta: {
421
+ title: string;
422
+ description: string;
423
+ organization: {
424
+ url: string;
425
+ name: string;
426
+ logo?: {
427
+ type: "absolute-file";
428
+ file: string;
429
+ } | {
430
+ type: "explicit-base64";
431
+ content: string;
432
+ mimeType: string;
433
+ } | {
434
+ type: "explicit-base64";
435
+ content: string;
436
+ mimeType: string;
437
+ } | {
438
+ type: "absolute-file";
439
+ file: string;
440
+ } | undefined;
441
+ };
442
+ longDescription?: {
443
+ type: "absolute-file";
444
+ file: string;
445
+ } | {
446
+ type: "explicit-string";
447
+ content: string;
448
+ } | {
449
+ type: "explicit-string";
450
+ content: string;
451
+ } | {
452
+ type: "absolute-file";
453
+ file: string;
454
+ } | undefined;
455
+ logo?: {
456
+ type: "absolute-file";
457
+ file: string;
458
+ } | {
459
+ type: "explicit-base64";
460
+ content: string;
461
+ mimeType: string;
462
+ } | {
463
+ type: "explicit-base64";
464
+ content: string;
465
+ mimeType: string;
466
+ } | {
467
+ type: "absolute-file";
468
+ file: string;
469
+ } | undefined;
470
+ url?: string | undefined;
471
+ docs?: string | undefined;
472
+ support?: string | undefined;
473
+ tags?: string[] | undefined;
474
+ };
475
+ }, {
476
+ id: {
477
+ organization: string;
478
+ name: string;
479
+ version: string;
480
+ };
481
+ components: {
482
+ workflow: string | {
483
+ type: "workflow-v1";
484
+ main: string;
485
+ };
486
+ model: string;
487
+ ui: string;
488
+ };
489
+ meta: {
490
+ title: string;
491
+ description: string;
492
+ organization: {
493
+ url: string;
494
+ name: string;
495
+ logo?: string | {
496
+ type: "explicit-base64";
497
+ content: string;
498
+ mimeType: string;
499
+ } | {
500
+ type: "relative";
501
+ path: string;
502
+ } | {
503
+ type: "absolute-file";
504
+ file: string;
505
+ } | undefined;
506
+ };
507
+ longDescription?: string | {
508
+ type: "explicit-string";
509
+ content: string;
510
+ } | {
511
+ type: "relative";
512
+ path: string;
513
+ } | {
514
+ type: "absolute-file";
515
+ file: string;
516
+ } | undefined;
517
+ logo?: string | {
518
+ type: "explicit-base64";
519
+ content: string;
520
+ mimeType: string;
521
+ } | {
522
+ type: "relative";
523
+ path: string;
524
+ } | {
525
+ type: "absolute-file";
526
+ file: string;
527
+ } | undefined;
528
+ url?: string | undefined;
529
+ docs?: string | undefined;
530
+ support?: string | undefined;
531
+ tags?: string[] | undefined;
532
+ };
533
+ }>;
534
+ export type BlockPackDescriptionAbsolute = z.infer<ReturnType<typeof ResolvedBlockPackDescriptionFromPackageJson>>;
535
+ export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, fileAccumulator?: string[]): z.ZodPipeline<z.ZodObject<{
536
+ id: z.ZodObject<{
537
+ organization: z.ZodString;
538
+ name: z.ZodString;
539
+ version: z.ZodString;
540
+ }, "strict", z.ZodTypeAny, {
541
+ organization: string;
542
+ name: string;
543
+ version: string;
544
+ }, {
545
+ organization: string;
546
+ name: string;
547
+ version: string;
548
+ }>;
549
+ components: z.ZodPipeline<z.ZodObject<{
550
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
551
+ type: z.ZodLiteral<"explicit-base64">;
552
+ mimeType: z.ZodString;
553
+ content: z.ZodString;
554
+ }, "strict", z.ZodTypeAny, {
555
+ type: "explicit-base64";
556
+ content: string;
557
+ mimeType: string;
558
+ }, {
559
+ type: "explicit-base64";
560
+ content: string;
561
+ mimeType: string;
562
+ }>, z.ZodObject<{
563
+ type: z.ZodLiteral<"absolute-file">;
564
+ file: z.ZodString;
565
+ }, "strict", z.ZodTypeAny, {
566
+ type: "absolute-file";
567
+ file: string;
568
+ }, {
569
+ type: "absolute-file";
570
+ file: string;
571
+ }>]>, {
572
+ type: "relative";
573
+ path: string;
574
+ } | {
575
+ type: "explicit-base64";
576
+ content: string;
577
+ mimeType: string;
578
+ }, {
579
+ type: "explicit-base64";
580
+ content: string;
581
+ mimeType: string;
582
+ } | {
583
+ type: "absolute-file";
584
+ file: string;
585
+ }>, {
586
+ type: string;
587
+ main: any;
588
+ }, {
589
+ type: "explicit-base64";
590
+ content: string;
591
+ mimeType: string;
592
+ } | {
593
+ type: "absolute-file";
594
+ file: string;
595
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
596
+ type: z.ZodLiteral<"workflow-v1">;
597
+ main: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
598
+ type: z.ZodLiteral<"explicit-base64">;
599
+ mimeType: z.ZodString;
600
+ content: z.ZodString;
601
+ }, "strict", z.ZodTypeAny, {
602
+ type: "explicit-base64";
603
+ content: string;
604
+ mimeType: string;
605
+ }, {
606
+ type: "explicit-base64";
607
+ content: string;
608
+ mimeType: string;
609
+ }>, z.ZodObject<{
610
+ type: z.ZodLiteral<"absolute-file">;
611
+ file: z.ZodString;
612
+ }, "strict", z.ZodTypeAny, {
613
+ type: "absolute-file";
614
+ file: string;
615
+ }, {
616
+ type: "absolute-file";
617
+ file: string;
618
+ }>]>, {
619
+ type: "relative";
620
+ path: string;
621
+ } | {
622
+ type: "explicit-base64";
623
+ content: string;
624
+ mimeType: string;
625
+ }, {
626
+ type: "explicit-base64";
627
+ content: string;
628
+ mimeType: string;
629
+ } | {
630
+ type: "absolute-file";
631
+ file: string;
632
+ }>;
633
+ }, "strip", z.ZodTypeAny, {
634
+ type: "workflow-v1";
635
+ main: {
636
+ type: "relative";
637
+ path: string;
638
+ } | {
639
+ type: "explicit-base64";
640
+ content: string;
641
+ mimeType: string;
642
+ };
643
+ }, {
644
+ type: "workflow-v1";
645
+ main: {
646
+ type: "explicit-base64";
647
+ content: string;
648
+ mimeType: string;
649
+ } | {
650
+ type: "absolute-file";
651
+ file: string;
652
+ };
653
+ }>]>]>;
654
+ model: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
655
+ type: z.ZodLiteral<"explicit-base64">;
656
+ mimeType: z.ZodString;
657
+ content: z.ZodString;
658
+ }, "strict", z.ZodTypeAny, {
659
+ type: "explicit-base64";
660
+ content: string;
661
+ mimeType: string;
662
+ }, {
663
+ type: "explicit-base64";
664
+ content: string;
665
+ mimeType: string;
666
+ }>, z.ZodObject<{
667
+ type: z.ZodLiteral<"absolute-file">;
668
+ file: z.ZodString;
669
+ }, "strict", z.ZodTypeAny, {
670
+ type: "absolute-file";
671
+ file: string;
672
+ }, {
673
+ type: "absolute-file";
674
+ file: string;
675
+ }>]>, {
676
+ type: "relative";
677
+ path: string;
678
+ } | {
679
+ type: "explicit-base64";
680
+ content: string;
681
+ mimeType: string;
682
+ }, {
683
+ type: "explicit-base64";
684
+ content: string;
685
+ mimeType: string;
686
+ } | {
687
+ type: "absolute-file";
688
+ file: string;
689
+ }>;
690
+ ui: z.ZodEffects<z.ZodObject<{
691
+ type: z.ZodLiteral<"absolute-folder">;
692
+ folder: z.ZodString;
693
+ }, "strict", z.ZodTypeAny, {
694
+ type: "absolute-folder";
695
+ folder: string;
696
+ }, {
697
+ type: "absolute-folder";
698
+ folder: string;
699
+ }>, {
700
+ type: "relative";
701
+ path: string;
702
+ }, {
703
+ type: "absolute-folder";
704
+ folder: string;
705
+ }>;
706
+ }, "strip", z.ZodTypeAny, {
707
+ workflow: {
708
+ type: string;
709
+ main: any;
710
+ } | {
711
+ type: "workflow-v1";
712
+ main: {
713
+ type: "relative";
714
+ path: string;
715
+ } | {
716
+ type: "explicit-base64";
717
+ content: string;
718
+ mimeType: string;
719
+ };
720
+ };
721
+ model: {
722
+ type: "relative";
723
+ path: string;
724
+ } | {
725
+ type: "explicit-base64";
726
+ content: string;
727
+ mimeType: string;
728
+ };
729
+ ui: {
730
+ type: "relative";
731
+ path: string;
732
+ };
733
+ }, {
734
+ workflow: {
735
+ type: "explicit-base64";
736
+ content: string;
737
+ mimeType: string;
738
+ } | {
739
+ type: "absolute-file";
740
+ file: string;
741
+ } | {
742
+ type: "workflow-v1";
743
+ main: {
744
+ type: "explicit-base64";
745
+ content: string;
746
+ mimeType: string;
747
+ } | {
748
+ type: "absolute-file";
749
+ file: string;
750
+ };
751
+ };
752
+ model: {
753
+ type: "explicit-base64";
754
+ content: string;
755
+ mimeType: string;
756
+ } | {
757
+ type: "absolute-file";
758
+ file: string;
759
+ };
760
+ ui: {
761
+ type: "absolute-folder";
762
+ folder: string;
763
+ };
764
+ }>, z.ZodObject<{
765
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
766
+ type: z.ZodLiteral<"relative">;
767
+ path: z.ZodString;
768
+ }, "strict", z.ZodTypeAny, {
769
+ type: "relative";
770
+ path: string;
771
+ }, {
772
+ type: "relative";
773
+ path: string;
774
+ }>, {
775
+ type: string;
776
+ main: any;
777
+ }, {
778
+ type: "relative";
779
+ path: string;
780
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
781
+ type: z.ZodLiteral<"workflow-v1">;
782
+ main: z.ZodObject<{
783
+ type: z.ZodLiteral<"relative">;
784
+ path: z.ZodString;
785
+ }, "strict", z.ZodTypeAny, {
786
+ type: "relative";
787
+ path: string;
788
+ }, {
789
+ type: "relative";
790
+ path: string;
791
+ }>;
792
+ }, "strip", z.ZodTypeAny, {
793
+ type: "workflow-v1";
794
+ main: {
795
+ type: "relative";
796
+ path: string;
797
+ };
798
+ }, {
799
+ type: "workflow-v1";
800
+ main: {
801
+ type: "relative";
802
+ path: string;
803
+ };
804
+ }>]>]>;
805
+ model: z.ZodObject<{
806
+ type: z.ZodLiteral<"relative">;
807
+ path: z.ZodString;
808
+ }, "strict", z.ZodTypeAny, {
809
+ type: "relative";
810
+ path: string;
811
+ }, {
812
+ type: "relative";
813
+ path: string;
814
+ }>;
815
+ ui: z.ZodObject<{
816
+ type: z.ZodLiteral<"relative">;
817
+ path: z.ZodString;
818
+ }, "strict", z.ZodTypeAny, {
819
+ type: "relative";
820
+ path: string;
821
+ }, {
822
+ type: "relative";
823
+ path: string;
824
+ }>;
825
+ }, "strip", z.ZodTypeAny, {
826
+ ui: {
827
+ type: "relative";
828
+ path: string;
829
+ };
830
+ workflow: {
831
+ type: string;
832
+ main: any;
833
+ } | {
834
+ type: "workflow-v1";
835
+ main: {
836
+ type: "relative";
837
+ path: string;
838
+ };
839
+ };
840
+ model: {
841
+ type: "relative";
842
+ path: string;
843
+ };
844
+ }, {
845
+ ui: {
846
+ type: "relative";
847
+ path: string;
848
+ };
849
+ workflow: {
850
+ type: "relative";
851
+ path: string;
852
+ } | {
853
+ type: "workflow-v1";
854
+ main: {
855
+ type: "relative";
856
+ path: string;
857
+ };
858
+ };
859
+ model: {
860
+ type: "relative";
861
+ path: string;
862
+ };
863
+ }>>;
864
+ meta: z.ZodObject<{
865
+ title: z.ZodString;
866
+ description: z.ZodString;
867
+ longDescription: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
868
+ type: z.ZodLiteral<"explicit-string">;
869
+ content: z.ZodString;
870
+ }, "strict", z.ZodTypeAny, {
871
+ type: "explicit-string";
872
+ content: string;
873
+ }, {
874
+ type: "explicit-string";
875
+ content: string;
876
+ }>, z.ZodObject<{
877
+ type: z.ZodLiteral<"absolute-file">;
878
+ file: z.ZodString;
879
+ }, "strict", z.ZodTypeAny, {
880
+ type: "absolute-file";
881
+ file: string;
882
+ }, {
883
+ type: "absolute-file";
884
+ file: string;
885
+ }>]>, {
886
+ type: "relative";
887
+ path: string;
888
+ } | {
889
+ type: "explicit-string";
890
+ content: string;
891
+ }, {
892
+ type: "explicit-string";
893
+ content: string;
894
+ } | {
895
+ type: "absolute-file";
896
+ file: string;
897
+ }>>;
898
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
899
+ type: z.ZodLiteral<"explicit-base64">;
900
+ mimeType: z.ZodString;
901
+ content: z.ZodString;
902
+ }, "strict", z.ZodTypeAny, {
903
+ type: "explicit-base64";
904
+ content: string;
905
+ mimeType: string;
906
+ }, {
907
+ type: "explicit-base64";
908
+ content: string;
909
+ mimeType: string;
910
+ }>, z.ZodObject<{
911
+ type: z.ZodLiteral<"absolute-file">;
912
+ file: z.ZodString;
913
+ }, "strict", z.ZodTypeAny, {
914
+ type: "absolute-file";
915
+ file: string;
916
+ }, {
917
+ type: "absolute-file";
918
+ file: string;
919
+ }>]>, {
920
+ type: "relative";
921
+ path: string;
922
+ } | {
923
+ type: "explicit-base64";
924
+ content: string;
925
+ mimeType: string;
926
+ }, {
927
+ type: "explicit-base64";
928
+ content: string;
929
+ mimeType: string;
930
+ } | {
931
+ type: "absolute-file";
932
+ file: string;
933
+ }>>;
934
+ url: z.ZodOptional<z.ZodString>;
935
+ docs: z.ZodOptional<z.ZodString>;
936
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
937
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
938
+ organization: z.ZodObject<{
939
+ name: z.ZodString;
940
+ url: z.ZodString;
941
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
942
+ type: z.ZodLiteral<"explicit-base64">;
943
+ mimeType: z.ZodString;
944
+ content: z.ZodString;
945
+ }, "strict", z.ZodTypeAny, {
946
+ type: "explicit-base64";
947
+ content: string;
948
+ mimeType: string;
949
+ }, {
950
+ type: "explicit-base64";
951
+ content: string;
952
+ mimeType: string;
953
+ }>, z.ZodObject<{
954
+ type: z.ZodLiteral<"absolute-file">;
955
+ file: z.ZodString;
956
+ }, "strict", z.ZodTypeAny, {
957
+ type: "absolute-file";
958
+ file: string;
959
+ }, {
960
+ type: "absolute-file";
961
+ file: string;
962
+ }>]>, {
963
+ type: "relative";
964
+ path: string;
965
+ } | {
966
+ type: "explicit-base64";
967
+ content: string;
968
+ mimeType: string;
969
+ }, {
970
+ type: "explicit-base64";
971
+ content: string;
972
+ mimeType: string;
973
+ } | {
974
+ type: "absolute-file";
975
+ file: string;
976
+ }>>;
977
+ }, "strip", z.ZodTypeAny, {
978
+ url: string;
979
+ name: string;
980
+ logo?: {
981
+ type: "relative";
982
+ path: string;
983
+ } | {
984
+ type: "explicit-base64";
985
+ content: string;
986
+ mimeType: string;
987
+ } | undefined;
988
+ }, {
989
+ url: string;
990
+ name: string;
991
+ logo?: {
992
+ type: "explicit-base64";
993
+ content: string;
994
+ mimeType: string;
995
+ } | {
996
+ type: "absolute-file";
997
+ file: string;
998
+ } | undefined;
999
+ }>;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ title: string;
1002
+ description: string;
1003
+ organization: {
1004
+ url: string;
1005
+ name: string;
1006
+ logo?: {
1007
+ type: "relative";
1008
+ path: string;
1009
+ } | {
1010
+ type: "explicit-base64";
1011
+ content: string;
1012
+ mimeType: string;
1013
+ } | undefined;
1014
+ };
1015
+ longDescription?: {
1016
+ type: "relative";
1017
+ path: string;
1018
+ } | {
1019
+ type: "explicit-string";
1020
+ content: string;
1021
+ } | undefined;
1022
+ logo?: {
1023
+ type: "relative";
1024
+ path: string;
1025
+ } | {
1026
+ type: "explicit-base64";
1027
+ content: string;
1028
+ mimeType: string;
1029
+ } | undefined;
1030
+ url?: string | undefined;
1031
+ docs?: string | undefined;
1032
+ support?: string | undefined;
1033
+ tags?: string[] | undefined;
1034
+ }, {
1035
+ title: string;
1036
+ description: string;
1037
+ organization: {
1038
+ url: string;
1039
+ name: string;
1040
+ logo?: {
1041
+ type: "explicit-base64";
1042
+ content: string;
1043
+ mimeType: string;
1044
+ } | {
1045
+ type: "absolute-file";
1046
+ file: string;
1047
+ } | undefined;
1048
+ };
1049
+ longDescription?: {
1050
+ type: "explicit-string";
1051
+ content: string;
1052
+ } | {
1053
+ type: "absolute-file";
1054
+ file: string;
1055
+ } | undefined;
1056
+ logo?: {
1057
+ type: "explicit-base64";
1058
+ content: string;
1059
+ mimeType: string;
1060
+ } | {
1061
+ type: "absolute-file";
1062
+ file: string;
1063
+ } | undefined;
1064
+ url?: string | undefined;
1065
+ docs?: string | undefined;
1066
+ support?: string | undefined;
1067
+ tags?: string[] | undefined;
1068
+ }>;
1069
+ }, "strip", z.ZodTypeAny, {
1070
+ id: {
1071
+ organization: string;
1072
+ name: string;
1073
+ version: string;
1074
+ };
1075
+ components: {
1076
+ ui: {
1077
+ type: "relative";
1078
+ path: string;
1079
+ };
1080
+ workflow: {
1081
+ type: string;
1082
+ main: any;
1083
+ } | {
1084
+ type: "workflow-v1";
1085
+ main: {
1086
+ type: "relative";
1087
+ path: string;
1088
+ };
1089
+ };
1090
+ model: {
1091
+ type: "relative";
1092
+ path: string;
1093
+ };
1094
+ };
1095
+ meta: {
1096
+ title: string;
1097
+ description: string;
1098
+ organization: {
1099
+ url: string;
1100
+ name: string;
1101
+ logo?: {
1102
+ type: "relative";
1103
+ path: string;
1104
+ } | {
1105
+ type: "explicit-base64";
1106
+ content: string;
1107
+ mimeType: string;
1108
+ } | undefined;
1109
+ };
1110
+ longDescription?: {
1111
+ type: "relative";
1112
+ path: string;
1113
+ } | {
1114
+ type: "explicit-string";
1115
+ content: string;
1116
+ } | undefined;
1117
+ logo?: {
1118
+ type: "relative";
1119
+ path: string;
1120
+ } | {
1121
+ type: "explicit-base64";
1122
+ content: string;
1123
+ mimeType: string;
1124
+ } | undefined;
1125
+ url?: string | undefined;
1126
+ docs?: string | undefined;
1127
+ support?: string | undefined;
1128
+ tags?: string[] | undefined;
1129
+ };
1130
+ }, {
1131
+ id: {
1132
+ organization: string;
1133
+ name: string;
1134
+ version: string;
1135
+ };
1136
+ components: {
1137
+ workflow: {
1138
+ type: "explicit-base64";
1139
+ content: string;
1140
+ mimeType: string;
1141
+ } | {
1142
+ type: "absolute-file";
1143
+ file: string;
1144
+ } | {
1145
+ type: "workflow-v1";
1146
+ main: {
1147
+ type: "explicit-base64";
1148
+ content: string;
1149
+ mimeType: string;
1150
+ } | {
1151
+ type: "absolute-file";
1152
+ file: string;
1153
+ };
1154
+ };
1155
+ model: {
1156
+ type: "explicit-base64";
1157
+ content: string;
1158
+ mimeType: string;
1159
+ } | {
1160
+ type: "absolute-file";
1161
+ file: string;
1162
+ };
1163
+ ui: {
1164
+ type: "absolute-folder";
1165
+ folder: string;
1166
+ };
1167
+ };
1168
+ meta: {
1169
+ title: string;
1170
+ description: string;
1171
+ organization: {
1172
+ url: string;
1173
+ name: string;
1174
+ logo?: {
1175
+ type: "explicit-base64";
1176
+ content: string;
1177
+ mimeType: string;
1178
+ } | {
1179
+ type: "absolute-file";
1180
+ file: string;
1181
+ } | undefined;
1182
+ };
1183
+ longDescription?: {
1184
+ type: "explicit-string";
1185
+ content: string;
1186
+ } | {
1187
+ type: "absolute-file";
1188
+ file: string;
1189
+ } | undefined;
1190
+ logo?: {
1191
+ type: "explicit-base64";
1192
+ content: string;
1193
+ mimeType: string;
1194
+ } | {
1195
+ type: "absolute-file";
1196
+ file: string;
1197
+ } | undefined;
1198
+ url?: string | undefined;
1199
+ docs?: string | undefined;
1200
+ support?: string | undefined;
1201
+ tags?: string[] | undefined;
1202
+ };
1203
+ }>, z.ZodObject<{
1204
+ id: z.ZodObject<{
1205
+ organization: z.ZodString;
1206
+ name: z.ZodString;
1207
+ version: z.ZodString;
1208
+ }, "strict", z.ZodTypeAny, {
1209
+ organization: string;
1210
+ name: string;
1211
+ version: string;
1212
+ }, {
1213
+ organization: string;
1214
+ name: string;
1215
+ version: string;
1216
+ }>;
1217
+ components: z.ZodObject<{
1218
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1219
+ type: z.ZodLiteral<"relative">;
1220
+ path: z.ZodString;
1221
+ }, "strict", z.ZodTypeAny, {
1222
+ type: "relative";
1223
+ path: string;
1224
+ }, {
1225
+ type: "relative";
1226
+ path: string;
1227
+ }>, {
1228
+ type: string;
1229
+ main: any;
1230
+ }, {
1231
+ type: "relative";
1232
+ path: string;
1233
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1234
+ type: z.ZodLiteral<"workflow-v1">;
1235
+ main: z.ZodObject<{
1236
+ type: z.ZodLiteral<"relative">;
1237
+ path: z.ZodString;
1238
+ }, "strict", z.ZodTypeAny, {
1239
+ type: "relative";
1240
+ path: string;
1241
+ }, {
1242
+ type: "relative";
1243
+ path: string;
1244
+ }>;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ type: "workflow-v1";
1247
+ main: {
1248
+ type: "relative";
1249
+ path: string;
1250
+ };
1251
+ }, {
1252
+ type: "workflow-v1";
1253
+ main: {
1254
+ type: "relative";
1255
+ path: string;
1256
+ };
1257
+ }>]>]>;
1258
+ model: z.ZodObject<{
1259
+ type: z.ZodLiteral<"relative">;
1260
+ path: z.ZodString;
1261
+ }, "strict", z.ZodTypeAny, {
1262
+ type: "relative";
1263
+ path: string;
1264
+ }, {
1265
+ type: "relative";
1266
+ path: string;
1267
+ }>;
1268
+ ui: z.ZodObject<{
1269
+ type: z.ZodLiteral<"relative">;
1270
+ path: z.ZodString;
1271
+ }, "strict", z.ZodTypeAny, {
1272
+ type: "relative";
1273
+ path: string;
1274
+ }, {
1275
+ type: "relative";
1276
+ path: string;
1277
+ }>;
1278
+ }, "strip", z.ZodTypeAny, {
1279
+ ui: {
1280
+ type: "relative";
1281
+ path: string;
1282
+ };
1283
+ workflow: {
1284
+ type: string;
1285
+ main: any;
1286
+ } | {
1287
+ type: "workflow-v1";
1288
+ main: {
1289
+ type: "relative";
1290
+ path: string;
1291
+ };
1292
+ };
1293
+ model: {
1294
+ type: "relative";
1295
+ path: string;
1296
+ };
1297
+ }, {
1298
+ ui: {
1299
+ type: "relative";
1300
+ path: string;
1301
+ };
1302
+ workflow: {
1303
+ type: "relative";
1304
+ path: string;
1305
+ } | {
1306
+ type: "workflow-v1";
1307
+ main: {
1308
+ type: "relative";
1309
+ path: string;
1310
+ };
1311
+ };
1312
+ model: {
1313
+ type: "relative";
1314
+ path: string;
1315
+ };
1316
+ }>;
1317
+ meta: z.ZodObject<{
1318
+ title: z.ZodString;
1319
+ description: z.ZodString;
1320
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1321
+ type: z.ZodLiteral<"explicit-string">;
1322
+ content: z.ZodString;
1323
+ }, "strict", z.ZodTypeAny, {
1324
+ type: "explicit-string";
1325
+ content: string;
1326
+ }, {
1327
+ type: "explicit-string";
1328
+ content: string;
1329
+ }>, z.ZodObject<{
1330
+ type: z.ZodLiteral<"relative">;
1331
+ path: z.ZodString;
1332
+ }, "strict", z.ZodTypeAny, {
1333
+ type: "relative";
1334
+ path: string;
1335
+ }, {
1336
+ type: "relative";
1337
+ path: string;
1338
+ }>]>>;
1339
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1340
+ type: z.ZodLiteral<"explicit-base64">;
1341
+ mimeType: z.ZodString;
1342
+ content: z.ZodString;
1343
+ }, "strict", z.ZodTypeAny, {
1344
+ type: "explicit-base64";
1345
+ content: string;
1346
+ mimeType: string;
1347
+ }, {
1348
+ type: "explicit-base64";
1349
+ content: string;
1350
+ mimeType: string;
1351
+ }>, z.ZodObject<{
1352
+ type: z.ZodLiteral<"relative">;
1353
+ path: z.ZodString;
1354
+ }, "strict", z.ZodTypeAny, {
1355
+ type: "relative";
1356
+ path: string;
1357
+ }, {
1358
+ type: "relative";
1359
+ path: string;
1360
+ }>]>>;
1361
+ url: z.ZodOptional<z.ZodString>;
1362
+ docs: z.ZodOptional<z.ZodString>;
1363
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1364
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1365
+ organization: z.ZodObject<{
1366
+ name: z.ZodString;
1367
+ url: z.ZodString;
1368
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1369
+ type: z.ZodLiteral<"explicit-base64">;
1370
+ mimeType: z.ZodString;
1371
+ content: z.ZodString;
1372
+ }, "strict", z.ZodTypeAny, {
1373
+ type: "explicit-base64";
1374
+ content: string;
1375
+ mimeType: string;
1376
+ }, {
1377
+ type: "explicit-base64";
1378
+ content: string;
1379
+ mimeType: string;
1380
+ }>, z.ZodObject<{
1381
+ type: z.ZodLiteral<"relative">;
1382
+ path: z.ZodString;
1383
+ }, "strict", z.ZodTypeAny, {
1384
+ type: "relative";
1385
+ path: string;
1386
+ }, {
1387
+ type: "relative";
1388
+ path: string;
1389
+ }>]>>;
1390
+ }, "strip", z.ZodTypeAny, {
1391
+ url: string;
1392
+ name: string;
1393
+ logo?: {
1394
+ type: "explicit-base64";
1395
+ content: string;
1396
+ mimeType: string;
1397
+ } | {
1398
+ type: "relative";
1399
+ path: string;
1400
+ } | undefined;
1401
+ }, {
1402
+ url: string;
1403
+ name: string;
1404
+ logo?: {
1405
+ type: "explicit-base64";
1406
+ content: string;
1407
+ mimeType: string;
1408
+ } | {
1409
+ type: "relative";
1410
+ path: string;
1411
+ } | undefined;
1412
+ }>;
1413
+ }, "strip", z.ZodTypeAny, {
1414
+ organization: {
1415
+ url: string;
1416
+ name: string;
1417
+ logo?: {
1418
+ type: "explicit-base64";
1419
+ content: string;
1420
+ mimeType: string;
1421
+ } | {
1422
+ type: "relative";
1423
+ path: string;
1424
+ } | undefined;
1425
+ };
1426
+ title: string;
1427
+ description: string;
1428
+ url?: string | undefined;
1429
+ longDescription?: {
1430
+ type: "explicit-string";
1431
+ content: string;
1432
+ } | {
1433
+ type: "relative";
1434
+ path: string;
1435
+ } | undefined;
1436
+ logo?: {
1437
+ type: "explicit-base64";
1438
+ content: string;
1439
+ mimeType: string;
1440
+ } | {
1441
+ type: "relative";
1442
+ path: string;
1443
+ } | undefined;
1444
+ docs?: string | undefined;
1445
+ support?: string | undefined;
1446
+ tags?: string[] | undefined;
1447
+ }, {
1448
+ organization: {
1449
+ url: string;
1450
+ name: string;
1451
+ logo?: {
1452
+ type: "explicit-base64";
1453
+ content: string;
1454
+ mimeType: string;
1455
+ } | {
1456
+ type: "relative";
1457
+ path: string;
1458
+ } | undefined;
1459
+ };
1460
+ title: string;
1461
+ description: string;
1462
+ url?: string | undefined;
1463
+ longDescription?: {
1464
+ type: "explicit-string";
1465
+ content: string;
1466
+ } | {
1467
+ type: "relative";
1468
+ path: string;
1469
+ } | undefined;
1470
+ logo?: {
1471
+ type: "explicit-base64";
1472
+ content: string;
1473
+ mimeType: string;
1474
+ } | {
1475
+ type: "relative";
1476
+ path: string;
1477
+ } | undefined;
1478
+ docs?: string | undefined;
1479
+ support?: string | undefined;
1480
+ tags?: string[] | undefined;
1481
+ }>;
1482
+ }, "strip", z.ZodTypeAny, {
1483
+ components: {
1484
+ ui: {
1485
+ type: "relative";
1486
+ path: string;
1487
+ };
1488
+ workflow: {
1489
+ type: string;
1490
+ main: any;
1491
+ } | {
1492
+ type: "workflow-v1";
1493
+ main: {
1494
+ type: "relative";
1495
+ path: string;
1496
+ };
1497
+ };
1498
+ model: {
1499
+ type: "relative";
1500
+ path: string;
1501
+ };
1502
+ };
1503
+ meta: {
1504
+ organization: {
1505
+ url: string;
1506
+ name: string;
1507
+ logo?: {
1508
+ type: "explicit-base64";
1509
+ content: string;
1510
+ mimeType: string;
1511
+ } | {
1512
+ type: "relative";
1513
+ path: string;
1514
+ } | undefined;
1515
+ };
1516
+ title: string;
1517
+ description: string;
1518
+ url?: string | undefined;
1519
+ longDescription?: {
1520
+ type: "explicit-string";
1521
+ content: string;
1522
+ } | {
1523
+ type: "relative";
1524
+ path: string;
1525
+ } | undefined;
1526
+ logo?: {
1527
+ type: "explicit-base64";
1528
+ content: string;
1529
+ mimeType: string;
1530
+ } | {
1531
+ type: "relative";
1532
+ path: string;
1533
+ } | undefined;
1534
+ docs?: string | undefined;
1535
+ support?: string | undefined;
1536
+ tags?: string[] | undefined;
1537
+ };
1538
+ id: {
1539
+ organization: string;
1540
+ name: string;
1541
+ version: string;
1542
+ };
1543
+ }, {
1544
+ components: {
1545
+ ui: {
1546
+ type: "relative";
1547
+ path: string;
1548
+ };
1549
+ workflow: {
1550
+ type: "relative";
1551
+ path: string;
1552
+ } | {
1553
+ type: "workflow-v1";
1554
+ main: {
1555
+ type: "relative";
1556
+ path: string;
1557
+ };
1558
+ };
1559
+ model: {
1560
+ type: "relative";
1561
+ path: string;
1562
+ };
1563
+ };
1564
+ meta: {
1565
+ organization: {
1566
+ url: string;
1567
+ name: string;
1568
+ logo?: {
1569
+ type: "explicit-base64";
1570
+ content: string;
1571
+ mimeType: string;
1572
+ } | {
1573
+ type: "relative";
1574
+ path: string;
1575
+ } | undefined;
1576
+ };
1577
+ title: string;
1578
+ description: string;
1579
+ url?: string | undefined;
1580
+ longDescription?: {
1581
+ type: "explicit-string";
1582
+ content: string;
1583
+ } | {
1584
+ type: "relative";
1585
+ path: string;
1586
+ } | undefined;
1587
+ logo?: {
1588
+ type: "explicit-base64";
1589
+ content: string;
1590
+ mimeType: string;
1591
+ } | {
1592
+ type: "relative";
1593
+ path: string;
1594
+ } | undefined;
1595
+ docs?: string | undefined;
1596
+ support?: string | undefined;
1597
+ tags?: string[] | undefined;
1598
+ };
1599
+ id: {
1600
+ organization: string;
1601
+ name: string;
1602
+ version: string;
1603
+ };
1604
+ }>>;
1605
+ export declare function BlockPackDescriptionManifestAddRelativePathPrefix(prefix: string): z.ZodPipeline<z.ZodPipeline<z.ZodObject<{
1606
+ id: z.ZodObject<{
1607
+ organization: z.ZodString;
1608
+ name: z.ZodString;
1609
+ version: z.ZodString;
1610
+ }, "strict", z.ZodTypeAny, {
1611
+ organization: string;
1612
+ name: string;
1613
+ version: string;
1614
+ }, {
1615
+ organization: string;
1616
+ name: string;
1617
+ version: string;
1618
+ }>;
1619
+ components: z.ZodObject<{
1620
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
1621
+ type: z.ZodLiteral<"relative">;
1622
+ path: z.ZodString;
1623
+ }, "strict", z.ZodTypeAny, {
1624
+ type: "relative";
1625
+ path: string;
1626
+ }, {
1627
+ type: "relative";
1628
+ path: string;
1629
+ }>, {
1630
+ type: string;
1631
+ main: any;
1632
+ }, {
1633
+ type: "relative";
1634
+ path: string;
1635
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1636
+ type: z.ZodLiteral<"workflow-v1">;
1637
+ main: z.ZodObject<{
1638
+ type: z.ZodLiteral<"relative">;
1639
+ path: z.ZodString;
1640
+ }, "strict", z.ZodTypeAny, {
1641
+ type: "relative";
1642
+ path: string;
1643
+ }, {
1644
+ type: "relative";
1645
+ path: string;
1646
+ }>;
1647
+ }, "strip", z.ZodTypeAny, {
1648
+ type: "workflow-v1";
1649
+ main: {
1650
+ type: "relative";
1651
+ path: string;
1652
+ };
1653
+ }, {
1654
+ type: "workflow-v1";
1655
+ main: {
1656
+ type: "relative";
1657
+ path: string;
1658
+ };
1659
+ }>]>]>;
1660
+ model: z.ZodObject<{
1661
+ type: z.ZodLiteral<"relative">;
1662
+ path: z.ZodString;
1663
+ }, "strict", z.ZodTypeAny, {
1664
+ type: "relative";
1665
+ path: string;
1666
+ }, {
1667
+ type: "relative";
1668
+ path: string;
1669
+ }>;
1670
+ ui: z.ZodObject<{
1671
+ type: z.ZodLiteral<"relative">;
1672
+ path: z.ZodString;
1673
+ }, "strict", z.ZodTypeAny, {
1674
+ type: "relative";
1675
+ path: string;
1676
+ }, {
1677
+ type: "relative";
1678
+ path: string;
1679
+ }>;
1680
+ }, "strip", z.ZodTypeAny, {
1681
+ ui: {
1682
+ type: "relative";
1683
+ path: string;
1684
+ };
1685
+ workflow: {
1686
+ type: string;
1687
+ main: any;
1688
+ } | {
1689
+ type: "workflow-v1";
1690
+ main: {
1691
+ type: "relative";
1692
+ path: string;
1693
+ };
1694
+ };
1695
+ model: {
1696
+ type: "relative";
1697
+ path: string;
1698
+ };
1699
+ }, {
1700
+ ui: {
1701
+ type: "relative";
1702
+ path: string;
1703
+ };
1704
+ workflow: {
1705
+ type: "relative";
1706
+ path: string;
1707
+ } | {
1708
+ type: "workflow-v1";
1709
+ main: {
1710
+ type: "relative";
1711
+ path: string;
1712
+ };
1713
+ };
1714
+ model: {
1715
+ type: "relative";
1716
+ path: string;
1717
+ };
1718
+ }>;
1719
+ meta: z.ZodObject<{
1720
+ title: z.ZodString;
1721
+ description: z.ZodString;
1722
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1723
+ type: z.ZodLiteral<"explicit-string">;
1724
+ content: z.ZodString;
1725
+ }, "strict", z.ZodTypeAny, {
1726
+ type: "explicit-string";
1727
+ content: string;
1728
+ }, {
1729
+ type: "explicit-string";
1730
+ content: string;
1731
+ }>, z.ZodObject<{
1732
+ type: z.ZodLiteral<"relative">;
1733
+ path: z.ZodString;
1734
+ }, "strict", z.ZodTypeAny, {
1735
+ type: "relative";
1736
+ path: string;
1737
+ }, {
1738
+ type: "relative";
1739
+ path: string;
1740
+ }>]>>;
1741
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1742
+ type: z.ZodLiteral<"explicit-base64">;
1743
+ mimeType: z.ZodString;
1744
+ content: z.ZodString;
1745
+ }, "strict", z.ZodTypeAny, {
1746
+ type: "explicit-base64";
1747
+ content: string;
1748
+ mimeType: string;
1749
+ }, {
1750
+ type: "explicit-base64";
1751
+ content: string;
1752
+ mimeType: string;
1753
+ }>, z.ZodObject<{
1754
+ type: z.ZodLiteral<"relative">;
1755
+ path: z.ZodString;
1756
+ }, "strict", z.ZodTypeAny, {
1757
+ type: "relative";
1758
+ path: string;
1759
+ }, {
1760
+ type: "relative";
1761
+ path: string;
1762
+ }>]>>;
1763
+ url: z.ZodOptional<z.ZodString>;
1764
+ docs: z.ZodOptional<z.ZodString>;
1765
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1766
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1767
+ organization: z.ZodObject<{
1768
+ name: z.ZodString;
1769
+ url: z.ZodString;
1770
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1771
+ type: z.ZodLiteral<"explicit-base64">;
1772
+ mimeType: z.ZodString;
1773
+ content: z.ZodString;
1774
+ }, "strict", z.ZodTypeAny, {
1775
+ type: "explicit-base64";
1776
+ content: string;
1777
+ mimeType: string;
1778
+ }, {
1779
+ type: "explicit-base64";
1780
+ content: string;
1781
+ mimeType: string;
1782
+ }>, z.ZodObject<{
1783
+ type: z.ZodLiteral<"relative">;
1784
+ path: z.ZodString;
1785
+ }, "strict", z.ZodTypeAny, {
1786
+ type: "relative";
1787
+ path: string;
1788
+ }, {
1789
+ type: "relative";
1790
+ path: string;
1791
+ }>]>>;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ url: string;
1794
+ name: string;
1795
+ logo?: {
1796
+ type: "explicit-base64";
1797
+ content: string;
1798
+ mimeType: string;
1799
+ } | {
1800
+ type: "relative";
1801
+ path: string;
1802
+ } | undefined;
1803
+ }, {
1804
+ url: string;
1805
+ name: string;
1806
+ logo?: {
1807
+ type: "explicit-base64";
1808
+ content: string;
1809
+ mimeType: string;
1810
+ } | {
1811
+ type: "relative";
1812
+ path: string;
1813
+ } | undefined;
1814
+ }>;
1815
+ }, "strip", z.ZodTypeAny, {
1816
+ organization: {
1817
+ url: string;
1818
+ name: string;
1819
+ logo?: {
1820
+ type: "explicit-base64";
1821
+ content: string;
1822
+ mimeType: string;
1823
+ } | {
1824
+ type: "relative";
1825
+ path: string;
1826
+ } | undefined;
1827
+ };
1828
+ title: string;
1829
+ description: string;
1830
+ url?: string | undefined;
1831
+ longDescription?: {
1832
+ type: "explicit-string";
1833
+ content: string;
1834
+ } | {
1835
+ type: "relative";
1836
+ path: string;
1837
+ } | undefined;
1838
+ logo?: {
1839
+ type: "explicit-base64";
1840
+ content: string;
1841
+ mimeType: string;
1842
+ } | {
1843
+ type: "relative";
1844
+ path: string;
1845
+ } | undefined;
1846
+ docs?: string | undefined;
1847
+ support?: string | undefined;
1848
+ tags?: string[] | undefined;
1849
+ }, {
1850
+ organization: {
1851
+ url: string;
1852
+ name: string;
1853
+ logo?: {
1854
+ type: "explicit-base64";
1855
+ content: string;
1856
+ mimeType: string;
1857
+ } | {
1858
+ type: "relative";
1859
+ path: string;
1860
+ } | undefined;
1861
+ };
1862
+ title: string;
1863
+ description: string;
1864
+ url?: string | undefined;
1865
+ longDescription?: {
1866
+ type: "explicit-string";
1867
+ content: string;
1868
+ } | {
1869
+ type: "relative";
1870
+ path: string;
1871
+ } | undefined;
1872
+ logo?: {
1873
+ type: "explicit-base64";
1874
+ content: string;
1875
+ mimeType: string;
1876
+ } | {
1877
+ type: "relative";
1878
+ path: string;
1879
+ } | undefined;
1880
+ docs?: string | undefined;
1881
+ support?: string | undefined;
1882
+ tags?: string[] | undefined;
1883
+ }>;
1884
+ }, "strip", z.ZodTypeAny, {
1885
+ components: {
1886
+ ui: {
1887
+ type: "relative";
1888
+ path: string;
1889
+ };
1890
+ workflow: {
1891
+ type: string;
1892
+ main: any;
1893
+ } | {
1894
+ type: "workflow-v1";
1895
+ main: {
1896
+ type: "relative";
1897
+ path: string;
1898
+ };
1899
+ };
1900
+ model: {
1901
+ type: "relative";
1902
+ path: string;
1903
+ };
1904
+ };
1905
+ meta: {
1906
+ organization: {
1907
+ url: string;
1908
+ name: string;
1909
+ logo?: {
1910
+ type: "explicit-base64";
1911
+ content: string;
1912
+ mimeType: string;
1913
+ } | {
1914
+ type: "relative";
1915
+ path: string;
1916
+ } | undefined;
1917
+ };
1918
+ title: string;
1919
+ description: string;
1920
+ url?: string | undefined;
1921
+ longDescription?: {
1922
+ type: "explicit-string";
1923
+ content: string;
1924
+ } | {
1925
+ type: "relative";
1926
+ path: string;
1927
+ } | undefined;
1928
+ logo?: {
1929
+ type: "explicit-base64";
1930
+ content: string;
1931
+ mimeType: string;
1932
+ } | {
1933
+ type: "relative";
1934
+ path: string;
1935
+ } | undefined;
1936
+ docs?: string | undefined;
1937
+ support?: string | undefined;
1938
+ tags?: string[] | undefined;
1939
+ };
1940
+ id: {
1941
+ organization: string;
1942
+ name: string;
1943
+ version: string;
1944
+ };
1945
+ }, {
1946
+ components: {
1947
+ ui: {
1948
+ type: "relative";
1949
+ path: string;
1950
+ };
1951
+ workflow: {
1952
+ type: "relative";
1953
+ path: string;
1954
+ } | {
1955
+ type: "workflow-v1";
1956
+ main: {
1957
+ type: "relative";
1958
+ path: string;
1959
+ };
1960
+ };
1961
+ model: {
1962
+ type: "relative";
1963
+ path: string;
1964
+ };
1965
+ };
1966
+ meta: {
1967
+ organization: {
1968
+ url: string;
1969
+ name: string;
1970
+ logo?: {
1971
+ type: "explicit-base64";
1972
+ content: string;
1973
+ mimeType: string;
1974
+ } | {
1975
+ type: "relative";
1976
+ path: string;
1977
+ } | undefined;
1978
+ };
1979
+ title: string;
1980
+ description: string;
1981
+ url?: string | undefined;
1982
+ longDescription?: {
1983
+ type: "explicit-string";
1984
+ content: string;
1985
+ } | {
1986
+ type: "relative";
1987
+ path: string;
1988
+ } | undefined;
1989
+ logo?: {
1990
+ type: "explicit-base64";
1991
+ content: string;
1992
+ mimeType: string;
1993
+ } | {
1994
+ type: "relative";
1995
+ path: string;
1996
+ } | undefined;
1997
+ docs?: string | undefined;
1998
+ support?: string | undefined;
1999
+ tags?: string[] | undefined;
2000
+ };
2001
+ id: {
2002
+ organization: string;
2003
+ name: string;
2004
+ version: string;
2005
+ };
2006
+ }>, z.ZodObject<{
2007
+ id: z.ZodObject<{
2008
+ organization: z.ZodString;
2009
+ name: z.ZodString;
2010
+ version: z.ZodString;
2011
+ }, "strict", z.ZodTypeAny, {
2012
+ organization: string;
2013
+ name: string;
2014
+ version: string;
2015
+ }, {
2016
+ organization: string;
2017
+ name: string;
2018
+ version: string;
2019
+ }>;
2020
+ components: z.ZodObject<{
2021
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObject<{
2022
+ type: z.ZodLiteral<"relative">;
2023
+ path: z.ZodString;
2024
+ }, "strict", z.ZodTypeAny, {
2025
+ type: "relative";
2026
+ path: string;
2027
+ }, {
2028
+ type: "relative";
2029
+ path: string;
2030
+ }>, {
2031
+ type: "relative";
2032
+ path: string;
2033
+ }, {
2034
+ type: "relative";
2035
+ path: string;
2036
+ }>, {
2037
+ type: string;
2038
+ main: any;
2039
+ }, {
2040
+ type: "relative";
2041
+ path: string;
2042
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2043
+ type: z.ZodLiteral<"workflow-v1">;
2044
+ main: z.ZodEffects<z.ZodObject<{
2045
+ type: z.ZodLiteral<"relative">;
2046
+ path: z.ZodString;
2047
+ }, "strict", z.ZodTypeAny, {
2048
+ type: "relative";
2049
+ path: string;
2050
+ }, {
2051
+ type: "relative";
2052
+ path: string;
2053
+ }>, {
2054
+ type: "relative";
2055
+ path: string;
2056
+ }, {
2057
+ type: "relative";
2058
+ path: string;
2059
+ }>;
2060
+ }, "strip", z.ZodTypeAny, {
2061
+ type: "workflow-v1";
2062
+ main: {
2063
+ type: "relative";
2064
+ path: string;
2065
+ };
2066
+ }, {
2067
+ type: "workflow-v1";
2068
+ main: {
2069
+ type: "relative";
2070
+ path: string;
2071
+ };
2072
+ }>]>]>;
2073
+ model: z.ZodEffects<z.ZodObject<{
2074
+ type: z.ZodLiteral<"relative">;
2075
+ path: z.ZodString;
2076
+ }, "strict", z.ZodTypeAny, {
2077
+ type: "relative";
2078
+ path: string;
2079
+ }, {
2080
+ type: "relative";
2081
+ path: string;
2082
+ }>, {
2083
+ type: "relative";
2084
+ path: string;
2085
+ }, {
2086
+ type: "relative";
2087
+ path: string;
2088
+ }>;
2089
+ ui: z.ZodEffects<z.ZodObject<{
2090
+ type: z.ZodLiteral<"relative">;
2091
+ path: z.ZodString;
2092
+ }, "strict", z.ZodTypeAny, {
2093
+ type: "relative";
2094
+ path: string;
2095
+ }, {
2096
+ type: "relative";
2097
+ path: string;
2098
+ }>, {
2099
+ type: "relative";
2100
+ path: string;
2101
+ }, {
2102
+ type: "relative";
2103
+ path: string;
2104
+ }>;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ workflow: {
2107
+ type: string;
2108
+ main: any;
2109
+ } | {
2110
+ type: "workflow-v1";
2111
+ main: {
2112
+ type: "relative";
2113
+ path: string;
2114
+ };
2115
+ };
2116
+ model: {
2117
+ type: "relative";
2118
+ path: string;
2119
+ };
2120
+ ui: {
2121
+ type: "relative";
2122
+ path: string;
2123
+ };
2124
+ }, {
2125
+ workflow: {
2126
+ type: "relative";
2127
+ path: string;
2128
+ } | {
2129
+ type: "workflow-v1";
2130
+ main: {
2131
+ type: "relative";
2132
+ path: string;
2133
+ };
2134
+ };
2135
+ model: {
2136
+ type: "relative";
2137
+ path: string;
2138
+ };
2139
+ ui: {
2140
+ type: "relative";
2141
+ path: string;
2142
+ };
2143
+ }>;
2144
+ meta: z.ZodObject<{
2145
+ title: z.ZodString;
2146
+ description: z.ZodString;
2147
+ longDescription: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2148
+ type: z.ZodLiteral<"explicit-string">;
2149
+ content: z.ZodString;
2150
+ }, "strict", z.ZodTypeAny, {
2151
+ type: "explicit-string";
2152
+ content: string;
2153
+ }, {
2154
+ type: "explicit-string";
2155
+ content: string;
2156
+ }>, z.ZodObject<{
2157
+ type: z.ZodLiteral<"relative">;
2158
+ path: z.ZodString;
2159
+ }, "strict", z.ZodTypeAny, {
2160
+ type: "relative";
2161
+ path: string;
2162
+ }, {
2163
+ type: "relative";
2164
+ path: string;
2165
+ }>]>, {
2166
+ type: "explicit-string";
2167
+ content: string;
2168
+ } | {
2169
+ type: "relative";
2170
+ path: string;
2171
+ }, {
2172
+ type: "explicit-string";
2173
+ content: string;
2174
+ } | {
2175
+ type: "relative";
2176
+ path: string;
2177
+ }>>;
2178
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2179
+ type: z.ZodLiteral<"explicit-base64">;
2180
+ mimeType: z.ZodString;
2181
+ content: z.ZodString;
2182
+ }, "strict", z.ZodTypeAny, {
2183
+ type: "explicit-base64";
2184
+ content: string;
2185
+ mimeType: string;
2186
+ }, {
2187
+ type: "explicit-base64";
2188
+ content: string;
2189
+ mimeType: string;
2190
+ }>, z.ZodObject<{
2191
+ type: z.ZodLiteral<"relative">;
2192
+ path: z.ZodString;
2193
+ }, "strict", z.ZodTypeAny, {
2194
+ type: "relative";
2195
+ path: string;
2196
+ }, {
2197
+ type: "relative";
2198
+ path: string;
2199
+ }>]>, {
2200
+ type: "explicit-base64";
2201
+ content: string;
2202
+ mimeType: string;
2203
+ } | {
2204
+ type: "relative";
2205
+ path: string;
2206
+ }, {
2207
+ type: "explicit-base64";
2208
+ content: string;
2209
+ mimeType: string;
2210
+ } | {
2211
+ type: "relative";
2212
+ path: string;
2213
+ }>>;
2214
+ url: z.ZodOptional<z.ZodString>;
2215
+ docs: z.ZodOptional<z.ZodString>;
2216
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2217
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2218
+ organization: z.ZodObject<{
2219
+ name: z.ZodString;
2220
+ url: z.ZodString;
2221
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2222
+ type: z.ZodLiteral<"explicit-base64">;
2223
+ mimeType: z.ZodString;
2224
+ content: z.ZodString;
2225
+ }, "strict", z.ZodTypeAny, {
2226
+ type: "explicit-base64";
2227
+ content: string;
2228
+ mimeType: string;
2229
+ }, {
2230
+ type: "explicit-base64";
2231
+ content: string;
2232
+ mimeType: string;
2233
+ }>, z.ZodObject<{
2234
+ type: z.ZodLiteral<"relative">;
2235
+ path: z.ZodString;
2236
+ }, "strict", z.ZodTypeAny, {
2237
+ type: "relative";
2238
+ path: string;
2239
+ }, {
2240
+ type: "relative";
2241
+ path: string;
2242
+ }>]>, {
2243
+ type: "explicit-base64";
2244
+ content: string;
2245
+ mimeType: string;
2246
+ } | {
2247
+ type: "relative";
2248
+ path: string;
2249
+ }, {
2250
+ type: "explicit-base64";
2251
+ content: string;
2252
+ mimeType: string;
2253
+ } | {
2254
+ type: "relative";
2255
+ path: string;
2256
+ }>>;
2257
+ }, "strip", z.ZodTypeAny, {
2258
+ url: string;
2259
+ name: string;
2260
+ logo?: {
2261
+ type: "explicit-base64";
2262
+ content: string;
2263
+ mimeType: string;
2264
+ } | {
2265
+ type: "relative";
2266
+ path: string;
2267
+ } | undefined;
2268
+ }, {
2269
+ url: string;
2270
+ name: string;
2271
+ logo?: {
2272
+ type: "explicit-base64";
2273
+ content: string;
2274
+ mimeType: string;
2275
+ } | {
2276
+ type: "relative";
2277
+ path: string;
2278
+ } | undefined;
2279
+ }>;
2280
+ }, "strip", z.ZodTypeAny, {
2281
+ title: string;
2282
+ description: string;
2283
+ organization: {
2284
+ url: string;
2285
+ name: string;
2286
+ logo?: {
2287
+ type: "explicit-base64";
2288
+ content: string;
2289
+ mimeType: string;
2290
+ } | {
2291
+ type: "relative";
2292
+ path: string;
2293
+ } | undefined;
2294
+ };
2295
+ longDescription?: {
2296
+ type: "explicit-string";
2297
+ content: string;
2298
+ } | {
2299
+ type: "relative";
2300
+ path: string;
2301
+ } | undefined;
2302
+ logo?: {
2303
+ type: "explicit-base64";
2304
+ content: string;
2305
+ mimeType: string;
2306
+ } | {
2307
+ type: "relative";
2308
+ path: string;
2309
+ } | undefined;
2310
+ url?: string | undefined;
2311
+ docs?: string | undefined;
2312
+ support?: string | undefined;
2313
+ tags?: string[] | undefined;
2314
+ }, {
2315
+ title: string;
2316
+ description: string;
2317
+ organization: {
2318
+ url: string;
2319
+ name: string;
2320
+ logo?: {
2321
+ type: "explicit-base64";
2322
+ content: string;
2323
+ mimeType: string;
2324
+ } | {
2325
+ type: "relative";
2326
+ path: string;
2327
+ } | undefined;
2328
+ };
2329
+ longDescription?: {
2330
+ type: "explicit-string";
2331
+ content: string;
2332
+ } | {
2333
+ type: "relative";
2334
+ path: string;
2335
+ } | undefined;
2336
+ logo?: {
2337
+ type: "explicit-base64";
2338
+ content: string;
2339
+ mimeType: string;
2340
+ } | {
2341
+ type: "relative";
2342
+ path: string;
2343
+ } | undefined;
2344
+ url?: string | undefined;
2345
+ docs?: string | undefined;
2346
+ support?: string | undefined;
2347
+ tags?: string[] | undefined;
2348
+ }>;
2349
+ }, "strip", z.ZodTypeAny, {
2350
+ id: {
2351
+ organization: string;
2352
+ name: string;
2353
+ version: string;
2354
+ };
2355
+ components: {
2356
+ workflow: {
2357
+ type: string;
2358
+ main: any;
2359
+ } | {
2360
+ type: "workflow-v1";
2361
+ main: {
2362
+ type: "relative";
2363
+ path: string;
2364
+ };
2365
+ };
2366
+ model: {
2367
+ type: "relative";
2368
+ path: string;
2369
+ };
2370
+ ui: {
2371
+ type: "relative";
2372
+ path: string;
2373
+ };
2374
+ };
2375
+ meta: {
2376
+ title: string;
2377
+ description: string;
2378
+ organization: {
2379
+ url: string;
2380
+ name: string;
2381
+ logo?: {
2382
+ type: "explicit-base64";
2383
+ content: string;
2384
+ mimeType: string;
2385
+ } | {
2386
+ type: "relative";
2387
+ path: string;
2388
+ } | undefined;
2389
+ };
2390
+ longDescription?: {
2391
+ type: "explicit-string";
2392
+ content: string;
2393
+ } | {
2394
+ type: "relative";
2395
+ path: string;
2396
+ } | undefined;
2397
+ logo?: {
2398
+ type: "explicit-base64";
2399
+ content: string;
2400
+ mimeType: string;
2401
+ } | {
2402
+ type: "relative";
2403
+ path: string;
2404
+ } | undefined;
2405
+ url?: string | undefined;
2406
+ docs?: string | undefined;
2407
+ support?: string | undefined;
2408
+ tags?: string[] | undefined;
2409
+ };
2410
+ }, {
2411
+ id: {
2412
+ organization: string;
2413
+ name: string;
2414
+ version: string;
2415
+ };
2416
+ components: {
2417
+ workflow: {
2418
+ type: "relative";
2419
+ path: string;
2420
+ } | {
2421
+ type: "workflow-v1";
2422
+ main: {
2423
+ type: "relative";
2424
+ path: string;
2425
+ };
2426
+ };
2427
+ model: {
2428
+ type: "relative";
2429
+ path: string;
2430
+ };
2431
+ ui: {
2432
+ type: "relative";
2433
+ path: string;
2434
+ };
2435
+ };
2436
+ meta: {
2437
+ title: string;
2438
+ description: string;
2439
+ organization: {
2440
+ url: string;
2441
+ name: string;
2442
+ logo?: {
2443
+ type: "explicit-base64";
2444
+ content: string;
2445
+ mimeType: string;
2446
+ } | {
2447
+ type: "relative";
2448
+ path: string;
2449
+ } | undefined;
2450
+ };
2451
+ longDescription?: {
2452
+ type: "explicit-string";
2453
+ content: string;
2454
+ } | {
2455
+ type: "relative";
2456
+ path: string;
2457
+ } | undefined;
2458
+ logo?: {
2459
+ type: "explicit-base64";
2460
+ content: string;
2461
+ mimeType: string;
2462
+ } | {
2463
+ type: "relative";
2464
+ path: string;
2465
+ } | undefined;
2466
+ url?: string | undefined;
2467
+ docs?: string | undefined;
2468
+ support?: string | undefined;
2469
+ tags?: string[] | undefined;
2470
+ };
2471
+ }>>, z.ZodObject<{
2472
+ id: z.ZodObject<{
2473
+ organization: z.ZodString;
2474
+ name: z.ZodString;
2475
+ version: z.ZodString;
2476
+ }, "strict", z.ZodTypeAny, {
2477
+ organization: string;
2478
+ name: string;
2479
+ version: string;
2480
+ }, {
2481
+ organization: string;
2482
+ name: string;
2483
+ version: string;
2484
+ }>;
2485
+ components: z.ZodObject<{
2486
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
2487
+ type: z.ZodLiteral<"relative">;
2488
+ path: z.ZodString;
2489
+ }, "strict", z.ZodTypeAny, {
2490
+ type: "relative";
2491
+ path: string;
2492
+ }, {
2493
+ type: "relative";
2494
+ path: string;
2495
+ }>, {
2496
+ type: string;
2497
+ main: any;
2498
+ }, {
2499
+ type: "relative";
2500
+ path: string;
2501
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2502
+ type: z.ZodLiteral<"workflow-v1">;
2503
+ main: z.ZodObject<{
2504
+ type: z.ZodLiteral<"relative">;
2505
+ path: z.ZodString;
2506
+ }, "strict", z.ZodTypeAny, {
2507
+ type: "relative";
2508
+ path: string;
2509
+ }, {
2510
+ type: "relative";
2511
+ path: string;
2512
+ }>;
2513
+ }, "strip", z.ZodTypeAny, {
2514
+ type: "workflow-v1";
2515
+ main: {
2516
+ type: "relative";
2517
+ path: string;
2518
+ };
2519
+ }, {
2520
+ type: "workflow-v1";
2521
+ main: {
2522
+ type: "relative";
2523
+ path: string;
2524
+ };
2525
+ }>]>]>;
2526
+ model: z.ZodObject<{
2527
+ type: z.ZodLiteral<"relative">;
2528
+ path: z.ZodString;
2529
+ }, "strict", z.ZodTypeAny, {
2530
+ type: "relative";
2531
+ path: string;
2532
+ }, {
2533
+ type: "relative";
2534
+ path: string;
2535
+ }>;
2536
+ ui: z.ZodObject<{
2537
+ type: z.ZodLiteral<"relative">;
2538
+ path: z.ZodString;
2539
+ }, "strict", z.ZodTypeAny, {
2540
+ type: "relative";
2541
+ path: string;
2542
+ }, {
2543
+ type: "relative";
2544
+ path: string;
2545
+ }>;
2546
+ }, "strip", z.ZodTypeAny, {
2547
+ ui: {
2548
+ type: "relative";
2549
+ path: string;
2550
+ };
2551
+ workflow: {
2552
+ type: string;
2553
+ main: any;
2554
+ } | {
2555
+ type: "workflow-v1";
2556
+ main: {
2557
+ type: "relative";
2558
+ path: string;
2559
+ };
2560
+ };
2561
+ model: {
2562
+ type: "relative";
2563
+ path: string;
2564
+ };
2565
+ }, {
2566
+ ui: {
2567
+ type: "relative";
2568
+ path: string;
2569
+ };
2570
+ workflow: {
2571
+ type: "relative";
2572
+ path: string;
2573
+ } | {
2574
+ type: "workflow-v1";
2575
+ main: {
2576
+ type: "relative";
2577
+ path: string;
2578
+ };
2579
+ };
2580
+ model: {
2581
+ type: "relative";
2582
+ path: string;
2583
+ };
2584
+ }>;
2585
+ meta: z.ZodObject<{
2586
+ title: z.ZodString;
2587
+ description: z.ZodString;
2588
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2589
+ type: z.ZodLiteral<"explicit-string">;
2590
+ content: z.ZodString;
2591
+ }, "strict", z.ZodTypeAny, {
2592
+ type: "explicit-string";
2593
+ content: string;
2594
+ }, {
2595
+ type: "explicit-string";
2596
+ content: string;
2597
+ }>, z.ZodObject<{
2598
+ type: z.ZodLiteral<"relative">;
2599
+ path: z.ZodString;
2600
+ }, "strict", z.ZodTypeAny, {
2601
+ type: "relative";
2602
+ path: string;
2603
+ }, {
2604
+ type: "relative";
2605
+ path: string;
2606
+ }>]>>;
2607
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2608
+ type: z.ZodLiteral<"explicit-base64">;
2609
+ mimeType: z.ZodString;
2610
+ content: z.ZodString;
2611
+ }, "strict", z.ZodTypeAny, {
2612
+ type: "explicit-base64";
2613
+ content: string;
2614
+ mimeType: string;
2615
+ }, {
2616
+ type: "explicit-base64";
2617
+ content: string;
2618
+ mimeType: string;
2619
+ }>, z.ZodObject<{
2620
+ type: z.ZodLiteral<"relative">;
2621
+ path: z.ZodString;
2622
+ }, "strict", z.ZodTypeAny, {
2623
+ type: "relative";
2624
+ path: string;
2625
+ }, {
2626
+ type: "relative";
2627
+ path: string;
2628
+ }>]>>;
2629
+ url: z.ZodOptional<z.ZodString>;
2630
+ docs: z.ZodOptional<z.ZodString>;
2631
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
2632
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2633
+ organization: z.ZodObject<{
2634
+ name: z.ZodString;
2635
+ url: z.ZodString;
2636
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2637
+ type: z.ZodLiteral<"explicit-base64">;
2638
+ mimeType: z.ZodString;
2639
+ content: z.ZodString;
2640
+ }, "strict", z.ZodTypeAny, {
2641
+ type: "explicit-base64";
2642
+ content: string;
2643
+ mimeType: string;
2644
+ }, {
2645
+ type: "explicit-base64";
2646
+ content: string;
2647
+ mimeType: string;
2648
+ }>, z.ZodObject<{
2649
+ type: z.ZodLiteral<"relative">;
2650
+ path: z.ZodString;
2651
+ }, "strict", z.ZodTypeAny, {
2652
+ type: "relative";
2653
+ path: string;
2654
+ }, {
2655
+ type: "relative";
2656
+ path: string;
2657
+ }>]>>;
2658
+ }, "strip", z.ZodTypeAny, {
2659
+ url: string;
2660
+ name: string;
2661
+ logo?: {
2662
+ type: "explicit-base64";
2663
+ content: string;
2664
+ mimeType: string;
2665
+ } | {
2666
+ type: "relative";
2667
+ path: string;
2668
+ } | undefined;
2669
+ }, {
2670
+ url: string;
2671
+ name: string;
2672
+ logo?: {
2673
+ type: "explicit-base64";
2674
+ content: string;
2675
+ mimeType: string;
2676
+ } | {
2677
+ type: "relative";
2678
+ path: string;
2679
+ } | undefined;
2680
+ }>;
2681
+ }, "strip", z.ZodTypeAny, {
2682
+ organization: {
2683
+ url: string;
2684
+ name: string;
2685
+ logo?: {
2686
+ type: "explicit-base64";
2687
+ content: string;
2688
+ mimeType: string;
2689
+ } | {
2690
+ type: "relative";
2691
+ path: string;
2692
+ } | undefined;
2693
+ };
2694
+ title: string;
2695
+ description: string;
2696
+ url?: string | undefined;
2697
+ longDescription?: {
2698
+ type: "explicit-string";
2699
+ content: string;
2700
+ } | {
2701
+ type: "relative";
2702
+ path: string;
2703
+ } | undefined;
2704
+ logo?: {
2705
+ type: "explicit-base64";
2706
+ content: string;
2707
+ mimeType: string;
2708
+ } | {
2709
+ type: "relative";
2710
+ path: string;
2711
+ } | undefined;
2712
+ docs?: string | undefined;
2713
+ support?: string | undefined;
2714
+ tags?: string[] | undefined;
2715
+ }, {
2716
+ organization: {
2717
+ url: string;
2718
+ name: string;
2719
+ logo?: {
2720
+ type: "explicit-base64";
2721
+ content: string;
2722
+ mimeType: string;
2723
+ } | {
2724
+ type: "relative";
2725
+ path: string;
2726
+ } | undefined;
2727
+ };
2728
+ title: string;
2729
+ description: string;
2730
+ url?: string | undefined;
2731
+ longDescription?: {
2732
+ type: "explicit-string";
2733
+ content: string;
2734
+ } | {
2735
+ type: "relative";
2736
+ path: string;
2737
+ } | undefined;
2738
+ logo?: {
2739
+ type: "explicit-base64";
2740
+ content: string;
2741
+ mimeType: string;
2742
+ } | {
2743
+ type: "relative";
2744
+ path: string;
2745
+ } | undefined;
2746
+ docs?: string | undefined;
2747
+ support?: string | undefined;
2748
+ tags?: string[] | undefined;
2749
+ }>;
2750
+ }, "strip", z.ZodTypeAny, {
2751
+ components: {
2752
+ ui: {
2753
+ type: "relative";
2754
+ path: string;
2755
+ };
2756
+ workflow: {
2757
+ type: string;
2758
+ main: any;
2759
+ } | {
2760
+ type: "workflow-v1";
2761
+ main: {
2762
+ type: "relative";
2763
+ path: string;
2764
+ };
2765
+ };
2766
+ model: {
2767
+ type: "relative";
2768
+ path: string;
2769
+ };
2770
+ };
2771
+ meta: {
2772
+ organization: {
2773
+ url: string;
2774
+ name: string;
2775
+ logo?: {
2776
+ type: "explicit-base64";
2777
+ content: string;
2778
+ mimeType: string;
2779
+ } | {
2780
+ type: "relative";
2781
+ path: string;
2782
+ } | undefined;
2783
+ };
2784
+ title: string;
2785
+ description: string;
2786
+ url?: string | undefined;
2787
+ longDescription?: {
2788
+ type: "explicit-string";
2789
+ content: string;
2790
+ } | {
2791
+ type: "relative";
2792
+ path: string;
2793
+ } | undefined;
2794
+ logo?: {
2795
+ type: "explicit-base64";
2796
+ content: string;
2797
+ mimeType: string;
2798
+ } | {
2799
+ type: "relative";
2800
+ path: string;
2801
+ } | undefined;
2802
+ docs?: string | undefined;
2803
+ support?: string | undefined;
2804
+ tags?: string[] | undefined;
2805
+ };
2806
+ id: {
2807
+ organization: string;
2808
+ name: string;
2809
+ version: string;
2810
+ };
2811
+ }, {
2812
+ components: {
2813
+ ui: {
2814
+ type: "relative";
2815
+ path: string;
2816
+ };
2817
+ workflow: {
2818
+ type: "relative";
2819
+ path: string;
2820
+ } | {
2821
+ type: "workflow-v1";
2822
+ main: {
2823
+ type: "relative";
2824
+ path: string;
2825
+ };
2826
+ };
2827
+ model: {
2828
+ type: "relative";
2829
+ path: string;
2830
+ };
2831
+ };
2832
+ meta: {
2833
+ organization: {
2834
+ url: string;
2835
+ name: string;
2836
+ logo?: {
2837
+ type: "explicit-base64";
2838
+ content: string;
2839
+ mimeType: string;
2840
+ } | {
2841
+ type: "relative";
2842
+ path: string;
2843
+ } | undefined;
2844
+ };
2845
+ title: string;
2846
+ description: string;
2847
+ url?: string | undefined;
2848
+ longDescription?: {
2849
+ type: "explicit-string";
2850
+ content: string;
2851
+ } | {
2852
+ type: "relative";
2853
+ path: string;
2854
+ } | undefined;
2855
+ logo?: {
2856
+ type: "explicit-base64";
2857
+ content: string;
2858
+ mimeType: string;
2859
+ } | {
2860
+ type: "relative";
2861
+ path: string;
2862
+ } | undefined;
2863
+ docs?: string | undefined;
2864
+ support?: string | undefined;
2865
+ tags?: string[] | undefined;
2866
+ };
2867
+ id: {
2868
+ organization: string;
2869
+ name: string;
2870
+ version: string;
2871
+ };
2872
+ }>>;
2873
+ //# sourceMappingURL=block_description.d.ts.map