@platforma-sdk/block-tools 2.1.10 → 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 (60) 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-jteHItEq.mjs → config-rGaQLD-7.mjs} +634 -609
  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 +11 -10
  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/registry_v1/registry.ts +1 -1
  39. package/src/v2/build_dist.ts +16 -12
  40. package/src/v2/model/block_components.ts +14 -10
  41. package/src/v2/model/block_description.ts +49 -0
  42. package/src/v2/model/{meta.ts → block_meta.ts} +1 -1
  43. package/src/v2/model/content_conversion.ts +50 -21
  44. package/src/v2/model/index.ts +3 -44
  45. package/src/v2/registry/registry.ts +233 -0
  46. package/src/v2/registry/schema_internal.ts +13 -0
  47. package/src/v2/registry/schema_public.ts +90 -0
  48. package/dist/config-B8NlJ02C.js +0 -3
  49. package/dist/config-B8NlJ02C.js.map +0 -1
  50. package/dist/config-jteHItEq.mjs.map +0 -1
  51. package/dist/v2/model/common.d.ts +0 -3
  52. package/dist/v2/model/common.d.ts.map +0 -1
  53. package/dist/v2/model/content_types.d.ts +0 -478
  54. package/dist/v2/model/content_types.d.ts.map +0 -1
  55. package/dist/v2/model/meta.d.ts.map +0 -1
  56. package/dist/v2/registry/schema.d.ts +0 -15
  57. package/dist/v2/registry/schema.d.ts.map +0 -1
  58. package/src/v2/model/common.ts +0 -2
  59. package/src/v2/model/content_types.ts +0 -233
  60. package/src/v2/registry/schema.ts +0 -29
@@ -1,2081 +1,5 @@
1
- import { z } from 'zod';
2
- export * from './block_components';
3
1
  export * from './content_conversion';
4
- export declare function ResolvedBlockPackDescriptionFromPackageJson(root: string): z.ZodObject<{
5
- id: z.ZodObject<{
6
- organization: z.ZodString;
7
- name: z.ZodString;
8
- version: z.ZodString;
9
- }, "strict", z.ZodTypeAny, {
10
- organization: string;
11
- name: string;
12
- version: string;
13
- }, {
14
- organization: string;
15
- name: string;
16
- version: string;
17
- }>;
18
- components: z.ZodObject<{
19
- workflow: z.ZodEffects<z.ZodString, {
20
- type: "absolute-file";
21
- file: string;
22
- }, string>;
23
- model: z.ZodEffects<z.ZodString, {
24
- type: "absolute-file";
25
- file: string;
26
- }, string>;
27
- ui: z.ZodEffects<z.ZodString, {
28
- type: "absolute-folder";
29
- folder: string;
30
- }, string>;
31
- }, "strip", z.ZodTypeAny, {
32
- workflow: {
33
- type: "absolute-file";
34
- file: string;
35
- };
36
- model: {
37
- type: "absolute-file";
38
- file: string;
39
- };
40
- ui: {
41
- type: "absolute-folder";
42
- folder: string;
43
- };
44
- }, {
45
- workflow: string;
46
- model: string;
47
- ui: string;
48
- }>;
49
- meta: z.ZodObject<{
50
- title: z.ZodString;
51
- description: z.ZodString;
52
- longDescription: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
53
- type: "explicit-string";
54
- content: string;
55
- } | {
56
- type: "relative";
57
- path: string;
58
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
59
- type: z.ZodLiteral<"explicit-string">;
60
- content: z.ZodString;
61
- }, "strict", z.ZodTypeAny, {
62
- type: "explicit-string";
63
- content: string;
64
- }, {
65
- type: "explicit-string";
66
- content: string;
67
- }>, z.ZodObject<{
68
- type: z.ZodLiteral<"relative">;
69
- path: z.ZodString;
70
- }, "strict", z.ZodTypeAny, {
71
- type: "relative";
72
- path: string;
73
- }, {
74
- type: "relative";
75
- path: string;
76
- }>, z.ZodObject<{
77
- type: z.ZodLiteral<"absolute-file">;
78
- file: z.ZodString;
79
- }, "strict", z.ZodTypeAny, {
80
- type: "absolute-file";
81
- file: string;
82
- }, {
83
- type: "absolute-file";
84
- file: string;
85
- }>]>]>, {
86
- type: "absolute-file";
87
- file: string;
88
- } | {
89
- type: "explicit-string";
90
- content: string;
91
- } | {
92
- type: "explicit-string";
93
- content: string;
94
- } | {
95
- type: "absolute-file";
96
- file: string;
97
- }, string | {
98
- type: "explicit-string";
99
- content: string;
100
- } | {
101
- type: "relative";
102
- path: string;
103
- } | {
104
- type: "absolute-file";
105
- file: string;
106
- }>>;
107
- logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
108
- type: "explicit-base64";
109
- content: string;
110
- mimeType: string;
111
- } | {
112
- type: "relative";
113
- path: string;
114
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
115
- type: z.ZodLiteral<"explicit-base64">;
116
- mimeType: z.ZodString;
117
- content: z.ZodString;
118
- }, "strict", z.ZodTypeAny, {
119
- type: "explicit-base64";
120
- content: string;
121
- mimeType: string;
122
- }, {
123
- type: "explicit-base64";
124
- content: string;
125
- mimeType: string;
126
- }>, z.ZodObject<{
127
- type: z.ZodLiteral<"relative">;
128
- path: z.ZodString;
129
- }, "strict", z.ZodTypeAny, {
130
- type: "relative";
131
- path: string;
132
- }, {
133
- type: "relative";
134
- path: string;
135
- }>, z.ZodObject<{
136
- type: z.ZodLiteral<"absolute-file">;
137
- file: z.ZodString;
138
- }, "strict", z.ZodTypeAny, {
139
- type: "absolute-file";
140
- file: string;
141
- }, {
142
- type: "absolute-file";
143
- file: string;
144
- }>]>]>, {
145
- type: "absolute-file";
146
- file: string;
147
- } | {
148
- type: "explicit-base64";
149
- content: string;
150
- mimeType: string;
151
- } | {
152
- type: "explicit-base64";
153
- content: string;
154
- mimeType: string;
155
- } | {
156
- type: "absolute-file";
157
- file: string;
158
- }, string | {
159
- type: "explicit-base64";
160
- content: string;
161
- mimeType: string;
162
- } | {
163
- type: "relative";
164
- path: string;
165
- } | {
166
- type: "absolute-file";
167
- file: string;
168
- }>>;
169
- url: z.ZodOptional<z.ZodString>;
170
- docs: z.ZodOptional<z.ZodString>;
171
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
172
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
173
- organization: z.ZodObject<{
174
- name: z.ZodString;
175
- url: z.ZodString;
176
- logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
177
- type: "explicit-base64";
178
- content: string;
179
- mimeType: string;
180
- } | {
181
- type: "relative";
182
- path: string;
183
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
184
- type: z.ZodLiteral<"explicit-base64">;
185
- mimeType: z.ZodString;
186
- content: z.ZodString;
187
- }, "strict", z.ZodTypeAny, {
188
- type: "explicit-base64";
189
- content: string;
190
- mimeType: string;
191
- }, {
192
- type: "explicit-base64";
193
- content: string;
194
- mimeType: string;
195
- }>, z.ZodObject<{
196
- type: z.ZodLiteral<"relative">;
197
- path: z.ZodString;
198
- }, "strict", z.ZodTypeAny, {
199
- type: "relative";
200
- path: string;
201
- }, {
202
- type: "relative";
203
- path: string;
204
- }>, z.ZodObject<{
205
- type: z.ZodLiteral<"absolute-file">;
206
- file: z.ZodString;
207
- }, "strict", z.ZodTypeAny, {
208
- type: "absolute-file";
209
- file: string;
210
- }, {
211
- type: "absolute-file";
212
- file: string;
213
- }>]>]>, {
214
- type: "absolute-file";
215
- file: string;
216
- } | {
217
- type: "explicit-base64";
218
- content: string;
219
- mimeType: string;
220
- } | {
221
- type: "explicit-base64";
222
- content: string;
223
- mimeType: string;
224
- } | {
225
- type: "absolute-file";
226
- file: string;
227
- }, string | {
228
- type: "explicit-base64";
229
- content: string;
230
- mimeType: string;
231
- } | {
232
- type: "relative";
233
- path: string;
234
- } | {
235
- type: "absolute-file";
236
- file: string;
237
- }>>;
238
- }, "strip", z.ZodTypeAny, {
239
- url: string;
240
- name: string;
241
- logo?: {
242
- type: "absolute-file";
243
- file: string;
244
- } | {
245
- type: "explicit-base64";
246
- content: string;
247
- mimeType: string;
248
- } | {
249
- type: "explicit-base64";
250
- content: string;
251
- mimeType: string;
252
- } | {
253
- type: "absolute-file";
254
- file: string;
255
- } | undefined;
256
- }, {
257
- url: string;
258
- name: string;
259
- logo?: string | {
260
- type: "explicit-base64";
261
- content: string;
262
- mimeType: string;
263
- } | {
264
- type: "relative";
265
- path: string;
266
- } | {
267
- type: "absolute-file";
268
- file: string;
269
- } | undefined;
270
- }>;
271
- }, "strip", z.ZodTypeAny, {
272
- title: string;
273
- description: string;
274
- organization: {
275
- url: string;
276
- name: string;
277
- logo?: {
278
- type: "absolute-file";
279
- file: string;
280
- } | {
281
- type: "explicit-base64";
282
- content: string;
283
- mimeType: string;
284
- } | {
285
- type: "explicit-base64";
286
- content: string;
287
- mimeType: string;
288
- } | {
289
- type: "absolute-file";
290
- file: string;
291
- } | undefined;
292
- };
293
- longDescription?: {
294
- type: "absolute-file";
295
- file: string;
296
- } | {
297
- type: "explicit-string";
298
- content: string;
299
- } | {
300
- type: "explicit-string";
301
- content: string;
302
- } | {
303
- type: "absolute-file";
304
- file: string;
305
- } | undefined;
306
- logo?: {
307
- type: "absolute-file";
308
- file: string;
309
- } | {
310
- type: "explicit-base64";
311
- content: string;
312
- mimeType: string;
313
- } | {
314
- type: "explicit-base64";
315
- content: string;
316
- mimeType: string;
317
- } | {
318
- type: "absolute-file";
319
- file: string;
320
- } | undefined;
321
- url?: string | undefined;
322
- docs?: string | undefined;
323
- support?: string | undefined;
324
- tags?: string[] | undefined;
325
- }, {
326
- title: string;
327
- description: string;
328
- organization: {
329
- url: string;
330
- name: string;
331
- logo?: string | {
332
- type: "explicit-base64";
333
- content: string;
334
- mimeType: string;
335
- } | {
336
- type: "relative";
337
- path: string;
338
- } | {
339
- type: "absolute-file";
340
- file: string;
341
- } | undefined;
342
- };
343
- longDescription?: string | {
344
- type: "explicit-string";
345
- content: string;
346
- } | {
347
- type: "relative";
348
- path: string;
349
- } | {
350
- type: "absolute-file";
351
- file: string;
352
- } | undefined;
353
- logo?: string | {
354
- type: "explicit-base64";
355
- content: string;
356
- mimeType: string;
357
- } | {
358
- type: "relative";
359
- path: string;
360
- } | {
361
- type: "absolute-file";
362
- file: string;
363
- } | undefined;
364
- url?: string | undefined;
365
- docs?: string | undefined;
366
- support?: string | undefined;
367
- tags?: string[] | undefined;
368
- }>;
369
- }, "strip", z.ZodTypeAny, {
370
- id: {
371
- organization: string;
372
- name: string;
373
- version: string;
374
- };
375
- components: {
376
- workflow: {
377
- type: "absolute-file";
378
- file: string;
379
- };
380
- model: {
381
- type: "absolute-file";
382
- file: string;
383
- };
384
- ui: {
385
- type: "absolute-folder";
386
- folder: string;
387
- };
388
- };
389
- meta: {
390
- title: string;
391
- description: string;
392
- organization: {
393
- url: string;
394
- name: string;
395
- logo?: {
396
- type: "absolute-file";
397
- file: string;
398
- } | {
399
- type: "explicit-base64";
400
- content: string;
401
- mimeType: string;
402
- } | {
403
- type: "explicit-base64";
404
- content: string;
405
- mimeType: string;
406
- } | {
407
- type: "absolute-file";
408
- file: string;
409
- } | undefined;
410
- };
411
- longDescription?: {
412
- type: "absolute-file";
413
- file: string;
414
- } | {
415
- type: "explicit-string";
416
- content: string;
417
- } | {
418
- type: "explicit-string";
419
- content: string;
420
- } | {
421
- type: "absolute-file";
422
- file: string;
423
- } | undefined;
424
- logo?: {
425
- type: "absolute-file";
426
- file: string;
427
- } | {
428
- type: "explicit-base64";
429
- content: string;
430
- mimeType: string;
431
- } | {
432
- type: "explicit-base64";
433
- content: string;
434
- mimeType: string;
435
- } | {
436
- type: "absolute-file";
437
- file: string;
438
- } | undefined;
439
- url?: string | undefined;
440
- docs?: string | undefined;
441
- support?: string | undefined;
442
- tags?: string[] | undefined;
443
- };
444
- }, {
445
- id: {
446
- organization: string;
447
- name: string;
448
- version: string;
449
- };
450
- components: {
451
- workflow: string;
452
- model: string;
453
- ui: string;
454
- };
455
- meta: {
456
- title: string;
457
- description: string;
458
- organization: {
459
- url: string;
460
- name: string;
461
- logo?: string | {
462
- type: "explicit-base64";
463
- content: string;
464
- mimeType: string;
465
- } | {
466
- type: "relative";
467
- path: string;
468
- } | {
469
- type: "absolute-file";
470
- file: string;
471
- } | undefined;
472
- };
473
- longDescription?: string | {
474
- type: "explicit-string";
475
- content: string;
476
- } | {
477
- type: "relative";
478
- path: string;
479
- } | {
480
- type: "absolute-file";
481
- file: string;
482
- } | undefined;
483
- logo?: string | {
484
- type: "explicit-base64";
485
- content: string;
486
- mimeType: string;
487
- } | {
488
- type: "relative";
489
- path: string;
490
- } | {
491
- type: "absolute-file";
492
- file: string;
493
- } | undefined;
494
- url?: string | undefined;
495
- docs?: string | undefined;
496
- support?: string | undefined;
497
- tags?: string[] | undefined;
498
- };
499
- }>;
500
- export type BlockPackDescriptionAbsolute = z.infer<ReturnType<typeof ResolvedBlockPackDescriptionFromPackageJson>>;
501
- export declare function BlockPackDescriptionConsolidateToFolder(dstFolder: string, fileAccumulator?: string[]): z.ZodPipeline<z.ZodObject<{
502
- id: z.ZodObject<{
503
- organization: z.ZodString;
504
- name: z.ZodString;
505
- version: z.ZodString;
506
- }, "strict", z.ZodTypeAny, {
507
- organization: string;
508
- name: string;
509
- version: string;
510
- }, {
511
- organization: string;
512
- name: string;
513
- version: string;
514
- }>;
515
- components: z.ZodPipeline<z.ZodObject<{
516
- workflow: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
517
- type: z.ZodLiteral<"explicit-base64">;
518
- mimeType: z.ZodString;
519
- content: z.ZodString;
520
- }, "strict", z.ZodTypeAny, {
521
- type: "explicit-base64";
522
- content: string;
523
- mimeType: string;
524
- }, {
525
- type: "explicit-base64";
526
- content: string;
527
- mimeType: string;
528
- }>, z.ZodObject<{
529
- type: z.ZodLiteral<"absolute-file">;
530
- file: z.ZodString;
531
- }, "strict", z.ZodTypeAny, {
532
- type: "absolute-file";
533
- file: string;
534
- }, {
535
- type: "absolute-file";
536
- file: string;
537
- }>]>, {
538
- type: "relative";
539
- path: string;
540
- } | {
541
- type: "explicit-base64";
542
- content: string;
543
- mimeType: string;
544
- }, {
545
- type: "explicit-base64";
546
- content: string;
547
- mimeType: string;
548
- } | {
549
- type: "absolute-file";
550
- file: string;
551
- }>;
552
- model: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
553
- type: z.ZodLiteral<"explicit-base64">;
554
- mimeType: z.ZodString;
555
- content: z.ZodString;
556
- }, "strict", z.ZodTypeAny, {
557
- type: "explicit-base64";
558
- content: string;
559
- mimeType: string;
560
- }, {
561
- type: "explicit-base64";
562
- content: string;
563
- mimeType: string;
564
- }>, z.ZodObject<{
565
- type: z.ZodLiteral<"absolute-file">;
566
- file: z.ZodString;
567
- }, "strict", z.ZodTypeAny, {
568
- type: "absolute-file";
569
- file: string;
570
- }, {
571
- type: "absolute-file";
572
- file: string;
573
- }>]>, {
574
- type: "relative";
575
- path: string;
576
- } | {
577
- type: "explicit-base64";
578
- content: string;
579
- mimeType: string;
580
- }, {
581
- type: "explicit-base64";
582
- content: string;
583
- mimeType: string;
584
- } | {
585
- type: "absolute-file";
586
- file: string;
587
- }>;
588
- ui: z.ZodEffects<z.ZodObject<{
589
- type: z.ZodLiteral<"absolute-folder">;
590
- folder: z.ZodString;
591
- }, "strict", z.ZodTypeAny, {
592
- type: "absolute-folder";
593
- folder: string;
594
- }, {
595
- type: "absolute-folder";
596
- folder: string;
597
- }>, {
598
- type: "relative";
599
- path: string;
600
- }, {
601
- type: "absolute-folder";
602
- folder: string;
603
- }>;
604
- }, "strip", z.ZodTypeAny, {
605
- workflow: {
606
- type: "relative";
607
- path: string;
608
- } | {
609
- type: "explicit-base64";
610
- content: string;
611
- mimeType: string;
612
- };
613
- model: {
614
- type: "relative";
615
- path: string;
616
- } | {
617
- type: "explicit-base64";
618
- content: string;
619
- mimeType: string;
620
- };
621
- ui: {
622
- type: "relative";
623
- path: string;
624
- };
625
- }, {
626
- workflow: {
627
- type: "explicit-base64";
628
- content: string;
629
- mimeType: string;
630
- } | {
631
- type: "absolute-file";
632
- file: string;
633
- };
634
- model: {
635
- type: "explicit-base64";
636
- content: string;
637
- mimeType: string;
638
- } | {
639
- type: "absolute-file";
640
- file: string;
641
- };
642
- ui: {
643
- type: "absolute-folder";
644
- folder: string;
645
- };
646
- }>, z.ZodObject<{
647
- workflow: z.ZodObject<{
648
- type: z.ZodLiteral<"relative">;
649
- path: z.ZodString;
650
- }, "strict", z.ZodTypeAny, {
651
- type: "relative";
652
- path: string;
653
- }, {
654
- type: "relative";
655
- path: string;
656
- }>;
657
- model: z.ZodObject<{
658
- type: z.ZodLiteral<"relative">;
659
- path: z.ZodString;
660
- }, "strict", z.ZodTypeAny, {
661
- type: "relative";
662
- path: string;
663
- }, {
664
- type: "relative";
665
- path: string;
666
- }>;
667
- ui: z.ZodObject<{
668
- type: z.ZodLiteral<"relative">;
669
- path: z.ZodString;
670
- }, "strict", z.ZodTypeAny, {
671
- type: "relative";
672
- path: string;
673
- }, {
674
- type: "relative";
675
- path: string;
676
- }>;
677
- }, "strip", z.ZodTypeAny, {
678
- ui: {
679
- type: "relative";
680
- path: string;
681
- };
682
- workflow: {
683
- type: "relative";
684
- path: string;
685
- };
686
- model: {
687
- type: "relative";
688
- path: string;
689
- };
690
- }, {
691
- ui: {
692
- type: "relative";
693
- path: string;
694
- };
695
- workflow: {
696
- type: "relative";
697
- path: string;
698
- };
699
- model: {
700
- type: "relative";
701
- path: string;
702
- };
703
- }>>;
704
- meta: z.ZodObject<{
705
- title: z.ZodString;
706
- description: z.ZodString;
707
- longDescription: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
708
- type: z.ZodLiteral<"explicit-string">;
709
- content: z.ZodString;
710
- }, "strict", z.ZodTypeAny, {
711
- type: "explicit-string";
712
- content: string;
713
- }, {
714
- type: "explicit-string";
715
- content: string;
716
- }>, z.ZodObject<{
717
- type: z.ZodLiteral<"absolute-file">;
718
- file: z.ZodString;
719
- }, "strict", z.ZodTypeAny, {
720
- type: "absolute-file";
721
- file: string;
722
- }, {
723
- type: "absolute-file";
724
- file: string;
725
- }>]>, {
726
- type: "relative";
727
- path: string;
728
- } | {
729
- type: "explicit-string";
730
- content: string;
731
- }, {
732
- type: "explicit-string";
733
- content: string;
734
- } | {
735
- type: "absolute-file";
736
- file: string;
737
- }>>;
738
- logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
739
- type: z.ZodLiteral<"explicit-base64">;
740
- mimeType: z.ZodString;
741
- content: z.ZodString;
742
- }, "strict", z.ZodTypeAny, {
743
- type: "explicit-base64";
744
- content: string;
745
- mimeType: string;
746
- }, {
747
- type: "explicit-base64";
748
- content: string;
749
- mimeType: string;
750
- }>, z.ZodObject<{
751
- type: z.ZodLiteral<"absolute-file">;
752
- file: z.ZodString;
753
- }, "strict", z.ZodTypeAny, {
754
- type: "absolute-file";
755
- file: string;
756
- }, {
757
- type: "absolute-file";
758
- file: string;
759
- }>]>, {
760
- type: "relative";
761
- path: string;
762
- } | {
763
- type: "explicit-base64";
764
- content: string;
765
- mimeType: string;
766
- }, {
767
- type: "explicit-base64";
768
- content: string;
769
- mimeType: string;
770
- } | {
771
- type: "absolute-file";
772
- file: string;
773
- }>>;
774
- url: z.ZodOptional<z.ZodString>;
775
- docs: z.ZodOptional<z.ZodString>;
776
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
777
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
778
- organization: z.ZodObject<{
779
- name: z.ZodString;
780
- url: z.ZodString;
781
- logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
782
- type: z.ZodLiteral<"explicit-base64">;
783
- mimeType: z.ZodString;
784
- content: z.ZodString;
785
- }, "strict", z.ZodTypeAny, {
786
- type: "explicit-base64";
787
- content: string;
788
- mimeType: string;
789
- }, {
790
- type: "explicit-base64";
791
- content: string;
792
- mimeType: string;
793
- }>, z.ZodObject<{
794
- type: z.ZodLiteral<"absolute-file">;
795
- file: z.ZodString;
796
- }, "strict", z.ZodTypeAny, {
797
- type: "absolute-file";
798
- file: string;
799
- }, {
800
- type: "absolute-file";
801
- file: string;
802
- }>]>, {
803
- type: "relative";
804
- path: string;
805
- } | {
806
- type: "explicit-base64";
807
- content: string;
808
- mimeType: string;
809
- }, {
810
- type: "explicit-base64";
811
- content: string;
812
- mimeType: string;
813
- } | {
814
- type: "absolute-file";
815
- file: string;
816
- }>>;
817
- }, "strip", z.ZodTypeAny, {
818
- url: string;
819
- name: string;
820
- logo?: {
821
- type: "relative";
822
- path: string;
823
- } | {
824
- type: "explicit-base64";
825
- content: string;
826
- mimeType: string;
827
- } | undefined;
828
- }, {
829
- url: string;
830
- name: string;
831
- logo?: {
832
- type: "explicit-base64";
833
- content: string;
834
- mimeType: string;
835
- } | {
836
- type: "absolute-file";
837
- file: string;
838
- } | undefined;
839
- }>;
840
- }, "strip", z.ZodTypeAny, {
841
- title: string;
842
- description: string;
843
- organization: {
844
- url: string;
845
- name: string;
846
- logo?: {
847
- type: "relative";
848
- path: string;
849
- } | {
850
- type: "explicit-base64";
851
- content: string;
852
- mimeType: string;
853
- } | undefined;
854
- };
855
- longDescription?: {
856
- type: "relative";
857
- path: string;
858
- } | {
859
- type: "explicit-string";
860
- content: string;
861
- } | undefined;
862
- logo?: {
863
- type: "relative";
864
- path: string;
865
- } | {
866
- type: "explicit-base64";
867
- content: string;
868
- mimeType: string;
869
- } | undefined;
870
- url?: string | undefined;
871
- docs?: string | undefined;
872
- support?: string | undefined;
873
- tags?: string[] | undefined;
874
- }, {
875
- title: string;
876
- description: string;
877
- organization: {
878
- url: string;
879
- name: string;
880
- logo?: {
881
- type: "explicit-base64";
882
- content: string;
883
- mimeType: string;
884
- } | {
885
- type: "absolute-file";
886
- file: string;
887
- } | undefined;
888
- };
889
- longDescription?: {
890
- type: "explicit-string";
891
- content: string;
892
- } | {
893
- type: "absolute-file";
894
- file: string;
895
- } | undefined;
896
- logo?: {
897
- type: "explicit-base64";
898
- content: string;
899
- mimeType: string;
900
- } | {
901
- type: "absolute-file";
902
- file: string;
903
- } | undefined;
904
- url?: string | undefined;
905
- docs?: string | undefined;
906
- support?: string | undefined;
907
- tags?: string[] | undefined;
908
- }>;
909
- }, "strip", z.ZodTypeAny, {
910
- id: {
911
- organization: string;
912
- name: string;
913
- version: string;
914
- };
915
- components: {
916
- ui: {
917
- type: "relative";
918
- path: string;
919
- };
920
- workflow: {
921
- type: "relative";
922
- path: string;
923
- };
924
- model: {
925
- type: "relative";
926
- path: string;
927
- };
928
- };
929
- meta: {
930
- title: string;
931
- description: string;
932
- organization: {
933
- url: string;
934
- name: string;
935
- logo?: {
936
- type: "relative";
937
- path: string;
938
- } | {
939
- type: "explicit-base64";
940
- content: string;
941
- mimeType: string;
942
- } | undefined;
943
- };
944
- longDescription?: {
945
- type: "relative";
946
- path: string;
947
- } | {
948
- type: "explicit-string";
949
- content: string;
950
- } | undefined;
951
- logo?: {
952
- type: "relative";
953
- path: string;
954
- } | {
955
- type: "explicit-base64";
956
- content: string;
957
- mimeType: string;
958
- } | undefined;
959
- url?: string | undefined;
960
- docs?: string | undefined;
961
- support?: string | undefined;
962
- tags?: string[] | undefined;
963
- };
964
- }, {
965
- id: {
966
- organization: string;
967
- name: string;
968
- version: string;
969
- };
970
- components: {
971
- workflow: {
972
- type: "explicit-base64";
973
- content: string;
974
- mimeType: string;
975
- } | {
976
- type: "absolute-file";
977
- file: string;
978
- };
979
- model: {
980
- type: "explicit-base64";
981
- content: string;
982
- mimeType: string;
983
- } | {
984
- type: "absolute-file";
985
- file: string;
986
- };
987
- ui: {
988
- type: "absolute-folder";
989
- folder: string;
990
- };
991
- };
992
- meta: {
993
- title: string;
994
- description: string;
995
- organization: {
996
- url: string;
997
- name: string;
998
- logo?: {
999
- type: "explicit-base64";
1000
- content: string;
1001
- mimeType: string;
1002
- } | {
1003
- type: "absolute-file";
1004
- file: string;
1005
- } | undefined;
1006
- };
1007
- longDescription?: {
1008
- type: "explicit-string";
1009
- content: string;
1010
- } | {
1011
- type: "absolute-file";
1012
- file: string;
1013
- } | undefined;
1014
- logo?: {
1015
- type: "explicit-base64";
1016
- content: string;
1017
- mimeType: string;
1018
- } | {
1019
- type: "absolute-file";
1020
- file: string;
1021
- } | undefined;
1022
- url?: string | undefined;
1023
- docs?: string | undefined;
1024
- support?: string | undefined;
1025
- tags?: string[] | undefined;
1026
- };
1027
- }>, z.ZodObject<{
1028
- id: z.ZodObject<{
1029
- organization: z.ZodString;
1030
- name: z.ZodString;
1031
- version: z.ZodString;
1032
- }, "strict", z.ZodTypeAny, {
1033
- organization: string;
1034
- name: string;
1035
- version: string;
1036
- }, {
1037
- organization: string;
1038
- name: string;
1039
- version: string;
1040
- }>;
1041
- components: z.ZodObject<{
1042
- workflow: z.ZodObject<{
1043
- type: z.ZodLiteral<"relative">;
1044
- path: z.ZodString;
1045
- }, "strict", z.ZodTypeAny, {
1046
- type: "relative";
1047
- path: string;
1048
- }, {
1049
- type: "relative";
1050
- path: string;
1051
- }>;
1052
- model: z.ZodObject<{
1053
- type: z.ZodLiteral<"relative">;
1054
- path: z.ZodString;
1055
- }, "strict", z.ZodTypeAny, {
1056
- type: "relative";
1057
- path: string;
1058
- }, {
1059
- type: "relative";
1060
- path: string;
1061
- }>;
1062
- ui: z.ZodObject<{
1063
- type: z.ZodLiteral<"relative">;
1064
- path: z.ZodString;
1065
- }, "strict", z.ZodTypeAny, {
1066
- type: "relative";
1067
- path: string;
1068
- }, {
1069
- type: "relative";
1070
- path: string;
1071
- }>;
1072
- }, "strip", z.ZodTypeAny, {
1073
- ui: {
1074
- type: "relative";
1075
- path: string;
1076
- };
1077
- workflow: {
1078
- type: "relative";
1079
- path: string;
1080
- };
1081
- model: {
1082
- type: "relative";
1083
- path: string;
1084
- };
1085
- }, {
1086
- ui: {
1087
- type: "relative";
1088
- path: string;
1089
- };
1090
- workflow: {
1091
- type: "relative";
1092
- path: string;
1093
- };
1094
- model: {
1095
- type: "relative";
1096
- path: string;
1097
- };
1098
- }>;
1099
- meta: z.ZodObject<{
1100
- title: z.ZodString;
1101
- description: z.ZodString;
1102
- longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1103
- type: z.ZodLiteral<"explicit-string">;
1104
- content: z.ZodString;
1105
- }, "strict", z.ZodTypeAny, {
1106
- type: "explicit-string";
1107
- content: string;
1108
- }, {
1109
- type: "explicit-string";
1110
- content: string;
1111
- }>, z.ZodObject<{
1112
- type: z.ZodLiteral<"relative">;
1113
- path: z.ZodString;
1114
- }, "strict", z.ZodTypeAny, {
1115
- type: "relative";
1116
- path: string;
1117
- }, {
1118
- type: "relative";
1119
- path: string;
1120
- }>]>>;
1121
- logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1122
- type: z.ZodLiteral<"explicit-base64">;
1123
- mimeType: z.ZodString;
1124
- content: z.ZodString;
1125
- }, "strict", z.ZodTypeAny, {
1126
- type: "explicit-base64";
1127
- content: string;
1128
- mimeType: string;
1129
- }, {
1130
- type: "explicit-base64";
1131
- content: string;
1132
- mimeType: string;
1133
- }>, z.ZodObject<{
1134
- type: z.ZodLiteral<"relative">;
1135
- path: z.ZodString;
1136
- }, "strict", z.ZodTypeAny, {
1137
- type: "relative";
1138
- path: string;
1139
- }, {
1140
- type: "relative";
1141
- path: string;
1142
- }>]>>;
1143
- url: z.ZodOptional<z.ZodString>;
1144
- docs: z.ZodOptional<z.ZodString>;
1145
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1146
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1147
- organization: z.ZodObject<{
1148
- name: z.ZodString;
1149
- url: z.ZodString;
1150
- logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1151
- type: z.ZodLiteral<"explicit-base64">;
1152
- mimeType: z.ZodString;
1153
- content: z.ZodString;
1154
- }, "strict", z.ZodTypeAny, {
1155
- type: "explicit-base64";
1156
- content: string;
1157
- mimeType: string;
1158
- }, {
1159
- type: "explicit-base64";
1160
- content: string;
1161
- mimeType: string;
1162
- }>, z.ZodObject<{
1163
- type: z.ZodLiteral<"relative">;
1164
- path: z.ZodString;
1165
- }, "strict", z.ZodTypeAny, {
1166
- type: "relative";
1167
- path: string;
1168
- }, {
1169
- type: "relative";
1170
- path: string;
1171
- }>]>>;
1172
- }, "strip", z.ZodTypeAny, {
1173
- url: string;
1174
- name: string;
1175
- logo?: {
1176
- type: "explicit-base64";
1177
- content: string;
1178
- mimeType: string;
1179
- } | {
1180
- type: "relative";
1181
- path: string;
1182
- } | undefined;
1183
- }, {
1184
- url: string;
1185
- name: string;
1186
- logo?: {
1187
- type: "explicit-base64";
1188
- content: string;
1189
- mimeType: string;
1190
- } | {
1191
- type: "relative";
1192
- path: string;
1193
- } | undefined;
1194
- }>;
1195
- }, "strip", z.ZodTypeAny, {
1196
- organization: {
1197
- url: string;
1198
- name: string;
1199
- logo?: {
1200
- type: "explicit-base64";
1201
- content: string;
1202
- mimeType: string;
1203
- } | {
1204
- type: "relative";
1205
- path: string;
1206
- } | undefined;
1207
- };
1208
- title: string;
1209
- description: string;
1210
- url?: string | undefined;
1211
- longDescription?: {
1212
- type: "explicit-string";
1213
- content: string;
1214
- } | {
1215
- type: "relative";
1216
- path: string;
1217
- } | undefined;
1218
- logo?: {
1219
- type: "explicit-base64";
1220
- content: string;
1221
- mimeType: string;
1222
- } | {
1223
- type: "relative";
1224
- path: string;
1225
- } | undefined;
1226
- docs?: string | undefined;
1227
- support?: string | undefined;
1228
- tags?: string[] | undefined;
1229
- }, {
1230
- organization: {
1231
- url: string;
1232
- name: string;
1233
- logo?: {
1234
- type: "explicit-base64";
1235
- content: string;
1236
- mimeType: string;
1237
- } | {
1238
- type: "relative";
1239
- path: string;
1240
- } | undefined;
1241
- };
1242
- title: string;
1243
- description: string;
1244
- url?: string | undefined;
1245
- longDescription?: {
1246
- type: "explicit-string";
1247
- content: string;
1248
- } | {
1249
- type: "relative";
1250
- path: string;
1251
- } | undefined;
1252
- logo?: {
1253
- type: "explicit-base64";
1254
- content: string;
1255
- mimeType: string;
1256
- } | {
1257
- type: "relative";
1258
- path: string;
1259
- } | undefined;
1260
- docs?: string | undefined;
1261
- support?: string | undefined;
1262
- tags?: string[] | undefined;
1263
- }>;
1264
- }, "strip", z.ZodTypeAny, {
1265
- id: {
1266
- organization: string;
1267
- name: string;
1268
- version: string;
1269
- };
1270
- components: {
1271
- ui: {
1272
- type: "relative";
1273
- path: string;
1274
- };
1275
- workflow: {
1276
- type: "relative";
1277
- path: string;
1278
- };
1279
- model: {
1280
- type: "relative";
1281
- path: string;
1282
- };
1283
- };
1284
- meta: {
1285
- organization: {
1286
- url: string;
1287
- name: string;
1288
- logo?: {
1289
- type: "explicit-base64";
1290
- content: string;
1291
- mimeType: string;
1292
- } | {
1293
- type: "relative";
1294
- path: string;
1295
- } | undefined;
1296
- };
1297
- title: string;
1298
- description: string;
1299
- url?: string | undefined;
1300
- longDescription?: {
1301
- type: "explicit-string";
1302
- content: string;
1303
- } | {
1304
- type: "relative";
1305
- path: string;
1306
- } | undefined;
1307
- logo?: {
1308
- type: "explicit-base64";
1309
- content: string;
1310
- mimeType: string;
1311
- } | {
1312
- type: "relative";
1313
- path: string;
1314
- } | undefined;
1315
- docs?: string | undefined;
1316
- support?: string | undefined;
1317
- tags?: string[] | undefined;
1318
- };
1319
- }, {
1320
- id: {
1321
- organization: string;
1322
- name: string;
1323
- version: string;
1324
- };
1325
- components: {
1326
- ui: {
1327
- type: "relative";
1328
- path: string;
1329
- };
1330
- workflow: {
1331
- type: "relative";
1332
- path: string;
1333
- };
1334
- model: {
1335
- type: "relative";
1336
- path: string;
1337
- };
1338
- };
1339
- meta: {
1340
- organization: {
1341
- url: string;
1342
- name: string;
1343
- logo?: {
1344
- type: "explicit-base64";
1345
- content: string;
1346
- mimeType: string;
1347
- } | {
1348
- type: "relative";
1349
- path: string;
1350
- } | undefined;
1351
- };
1352
- title: string;
1353
- description: string;
1354
- url?: string | undefined;
1355
- longDescription?: {
1356
- type: "explicit-string";
1357
- content: string;
1358
- } | {
1359
- type: "relative";
1360
- path: string;
1361
- } | undefined;
1362
- logo?: {
1363
- type: "explicit-base64";
1364
- content: string;
1365
- mimeType: string;
1366
- } | {
1367
- type: "relative";
1368
- path: string;
1369
- } | undefined;
1370
- docs?: string | undefined;
1371
- support?: string | undefined;
1372
- tags?: string[] | undefined;
1373
- };
1374
- }>>;
1375
- export declare const BlockPackDescriptionManifest: z.ZodObject<{
1376
- id: z.ZodObject<{
1377
- organization: z.ZodString;
1378
- name: z.ZodString;
1379
- version: z.ZodString;
1380
- }, "strict", z.ZodTypeAny, {
1381
- organization: string;
1382
- name: string;
1383
- version: string;
1384
- }, {
1385
- organization: string;
1386
- name: string;
1387
- version: string;
1388
- }>;
1389
- components: z.ZodObject<{
1390
- workflow: z.ZodObject<{
1391
- type: z.ZodLiteral<"relative">;
1392
- path: z.ZodString;
1393
- }, "strict", z.ZodTypeAny, {
1394
- type: "relative";
1395
- path: string;
1396
- }, {
1397
- type: "relative";
1398
- path: string;
1399
- }>;
1400
- model: z.ZodObject<{
1401
- type: z.ZodLiteral<"relative">;
1402
- path: z.ZodString;
1403
- }, "strict", z.ZodTypeAny, {
1404
- type: "relative";
1405
- path: string;
1406
- }, {
1407
- type: "relative";
1408
- path: string;
1409
- }>;
1410
- ui: z.ZodObject<{
1411
- type: z.ZodLiteral<"relative">;
1412
- path: z.ZodString;
1413
- }, "strict", z.ZodTypeAny, {
1414
- type: "relative";
1415
- path: string;
1416
- }, {
1417
- type: "relative";
1418
- path: string;
1419
- }>;
1420
- }, "strip", z.ZodTypeAny, {
1421
- ui: {
1422
- type: "relative";
1423
- path: string;
1424
- };
1425
- workflow: {
1426
- type: "relative";
1427
- path: string;
1428
- };
1429
- model: {
1430
- type: "relative";
1431
- path: string;
1432
- };
1433
- }, {
1434
- ui: {
1435
- type: "relative";
1436
- path: string;
1437
- };
1438
- workflow: {
1439
- type: "relative";
1440
- path: string;
1441
- };
1442
- model: {
1443
- type: "relative";
1444
- path: string;
1445
- };
1446
- }>;
1447
- meta: z.ZodObject<{
1448
- title: z.ZodString;
1449
- description: z.ZodString;
1450
- longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1451
- type: z.ZodLiteral<"explicit-string">;
1452
- content: z.ZodString;
1453
- }, "strict", z.ZodTypeAny, {
1454
- type: "explicit-string";
1455
- content: string;
1456
- }, {
1457
- type: "explicit-string";
1458
- content: string;
1459
- }>, z.ZodObject<{
1460
- type: z.ZodLiteral<"relative">;
1461
- path: z.ZodString;
1462
- }, "strict", z.ZodTypeAny, {
1463
- type: "relative";
1464
- path: string;
1465
- }, {
1466
- type: "relative";
1467
- path: string;
1468
- }>]>>;
1469
- logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1470
- type: z.ZodLiteral<"explicit-base64">;
1471
- mimeType: z.ZodString;
1472
- content: z.ZodString;
1473
- }, "strict", z.ZodTypeAny, {
1474
- type: "explicit-base64";
1475
- content: string;
1476
- mimeType: string;
1477
- }, {
1478
- type: "explicit-base64";
1479
- content: string;
1480
- mimeType: string;
1481
- }>, z.ZodObject<{
1482
- type: z.ZodLiteral<"relative">;
1483
- path: z.ZodString;
1484
- }, "strict", z.ZodTypeAny, {
1485
- type: "relative";
1486
- path: string;
1487
- }, {
1488
- type: "relative";
1489
- path: string;
1490
- }>]>>;
1491
- url: z.ZodOptional<z.ZodString>;
1492
- docs: z.ZodOptional<z.ZodString>;
1493
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1494
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1495
- organization: z.ZodObject<{
1496
- name: z.ZodString;
1497
- url: z.ZodString;
1498
- logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1499
- type: z.ZodLiteral<"explicit-base64">;
1500
- mimeType: z.ZodString;
1501
- content: z.ZodString;
1502
- }, "strict", z.ZodTypeAny, {
1503
- type: "explicit-base64";
1504
- content: string;
1505
- mimeType: string;
1506
- }, {
1507
- type: "explicit-base64";
1508
- content: string;
1509
- mimeType: string;
1510
- }>, z.ZodObject<{
1511
- type: z.ZodLiteral<"relative">;
1512
- path: z.ZodString;
1513
- }, "strict", z.ZodTypeAny, {
1514
- type: "relative";
1515
- path: string;
1516
- }, {
1517
- type: "relative";
1518
- path: string;
1519
- }>]>>;
1520
- }, "strip", z.ZodTypeAny, {
1521
- url: string;
1522
- name: string;
1523
- logo?: {
1524
- type: "explicit-base64";
1525
- content: string;
1526
- mimeType: string;
1527
- } | {
1528
- type: "relative";
1529
- path: string;
1530
- } | undefined;
1531
- }, {
1532
- url: string;
1533
- name: string;
1534
- logo?: {
1535
- type: "explicit-base64";
1536
- content: string;
1537
- mimeType: string;
1538
- } | {
1539
- type: "relative";
1540
- path: string;
1541
- } | undefined;
1542
- }>;
1543
- }, "strip", z.ZodTypeAny, {
1544
- organization: {
1545
- url: string;
1546
- name: string;
1547
- logo?: {
1548
- type: "explicit-base64";
1549
- content: string;
1550
- mimeType: string;
1551
- } | {
1552
- type: "relative";
1553
- path: string;
1554
- } | undefined;
1555
- };
1556
- title: string;
1557
- description: string;
1558
- url?: string | undefined;
1559
- longDescription?: {
1560
- type: "explicit-string";
1561
- content: string;
1562
- } | {
1563
- type: "relative";
1564
- path: string;
1565
- } | undefined;
1566
- logo?: {
1567
- type: "explicit-base64";
1568
- content: string;
1569
- mimeType: string;
1570
- } | {
1571
- type: "relative";
1572
- path: string;
1573
- } | undefined;
1574
- docs?: string | undefined;
1575
- support?: string | undefined;
1576
- tags?: string[] | undefined;
1577
- }, {
1578
- organization: {
1579
- url: string;
1580
- name: string;
1581
- logo?: {
1582
- type: "explicit-base64";
1583
- content: string;
1584
- mimeType: string;
1585
- } | {
1586
- type: "relative";
1587
- path: string;
1588
- } | undefined;
1589
- };
1590
- title: string;
1591
- description: string;
1592
- url?: string | undefined;
1593
- longDescription?: {
1594
- type: "explicit-string";
1595
- content: string;
1596
- } | {
1597
- type: "relative";
1598
- path: string;
1599
- } | undefined;
1600
- logo?: {
1601
- type: "explicit-base64";
1602
- content: string;
1603
- mimeType: string;
1604
- } | {
1605
- type: "relative";
1606
- path: string;
1607
- } | undefined;
1608
- docs?: string | undefined;
1609
- support?: string | undefined;
1610
- tags?: string[] | undefined;
1611
- }>;
1612
- }, "strip", z.ZodTypeAny, {
1613
- id: {
1614
- organization: string;
1615
- name: string;
1616
- version: string;
1617
- };
1618
- components: {
1619
- ui: {
1620
- type: "relative";
1621
- path: string;
1622
- };
1623
- workflow: {
1624
- type: "relative";
1625
- path: string;
1626
- };
1627
- model: {
1628
- type: "relative";
1629
- path: string;
1630
- };
1631
- };
1632
- meta: {
1633
- organization: {
1634
- url: string;
1635
- name: string;
1636
- logo?: {
1637
- type: "explicit-base64";
1638
- content: string;
1639
- mimeType: string;
1640
- } | {
1641
- type: "relative";
1642
- path: string;
1643
- } | undefined;
1644
- };
1645
- title: string;
1646
- description: string;
1647
- url?: string | undefined;
1648
- longDescription?: {
1649
- type: "explicit-string";
1650
- content: string;
1651
- } | {
1652
- type: "relative";
1653
- path: string;
1654
- } | undefined;
1655
- logo?: {
1656
- type: "explicit-base64";
1657
- content: string;
1658
- mimeType: string;
1659
- } | {
1660
- type: "relative";
1661
- path: string;
1662
- } | undefined;
1663
- docs?: string | undefined;
1664
- support?: string | undefined;
1665
- tags?: string[] | undefined;
1666
- };
1667
- }, {
1668
- id: {
1669
- organization: string;
1670
- name: string;
1671
- version: string;
1672
- };
1673
- components: {
1674
- ui: {
1675
- type: "relative";
1676
- path: string;
1677
- };
1678
- workflow: {
1679
- type: "relative";
1680
- path: string;
1681
- };
1682
- model: {
1683
- type: "relative";
1684
- path: string;
1685
- };
1686
- };
1687
- meta: {
1688
- organization: {
1689
- url: string;
1690
- name: string;
1691
- logo?: {
1692
- type: "explicit-base64";
1693
- content: string;
1694
- mimeType: string;
1695
- } | {
1696
- type: "relative";
1697
- path: string;
1698
- } | undefined;
1699
- };
1700
- title: string;
1701
- description: string;
1702
- url?: string | undefined;
1703
- longDescription?: {
1704
- type: "explicit-string";
1705
- content: string;
1706
- } | {
1707
- type: "relative";
1708
- path: string;
1709
- } | undefined;
1710
- logo?: {
1711
- type: "explicit-base64";
1712
- content: string;
1713
- mimeType: string;
1714
- } | {
1715
- type: "relative";
1716
- path: string;
1717
- } | undefined;
1718
- docs?: string | undefined;
1719
- support?: string | undefined;
1720
- tags?: string[] | undefined;
1721
- };
1722
- }>;
1723
- export type BlockPackDescriptionManifest = z.infer<typeof BlockPackDescriptionManifest>;
1724
- export declare const BlockPackManifest: z.ZodObject<z.objectUtil.extendShape<{
1725
- id: z.ZodObject<{
1726
- organization: z.ZodString;
1727
- name: z.ZodString;
1728
- version: z.ZodString;
1729
- }, "strict", z.ZodTypeAny, {
1730
- organization: string;
1731
- name: string;
1732
- version: string;
1733
- }, {
1734
- organization: string;
1735
- name: string;
1736
- version: string;
1737
- }>;
1738
- components: z.ZodObject<{
1739
- workflow: z.ZodObject<{
1740
- type: z.ZodLiteral<"relative">;
1741
- path: z.ZodString;
1742
- }, "strict", z.ZodTypeAny, {
1743
- type: "relative";
1744
- path: string;
1745
- }, {
1746
- type: "relative";
1747
- path: string;
1748
- }>;
1749
- model: z.ZodObject<{
1750
- type: z.ZodLiteral<"relative">;
1751
- path: z.ZodString;
1752
- }, "strict", z.ZodTypeAny, {
1753
- type: "relative";
1754
- path: string;
1755
- }, {
1756
- type: "relative";
1757
- path: string;
1758
- }>;
1759
- ui: z.ZodObject<{
1760
- type: z.ZodLiteral<"relative">;
1761
- path: z.ZodString;
1762
- }, "strict", z.ZodTypeAny, {
1763
- type: "relative";
1764
- path: string;
1765
- }, {
1766
- type: "relative";
1767
- path: string;
1768
- }>;
1769
- }, "strip", z.ZodTypeAny, {
1770
- ui: {
1771
- type: "relative";
1772
- path: string;
1773
- };
1774
- workflow: {
1775
- type: "relative";
1776
- path: string;
1777
- };
1778
- model: {
1779
- type: "relative";
1780
- path: string;
1781
- };
1782
- }, {
1783
- ui: {
1784
- type: "relative";
1785
- path: string;
1786
- };
1787
- workflow: {
1788
- type: "relative";
1789
- path: string;
1790
- };
1791
- model: {
1792
- type: "relative";
1793
- path: string;
1794
- };
1795
- }>;
1796
- meta: z.ZodObject<{
1797
- title: z.ZodString;
1798
- description: z.ZodString;
1799
- longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1800
- type: z.ZodLiteral<"explicit-string">;
1801
- content: z.ZodString;
1802
- }, "strict", z.ZodTypeAny, {
1803
- type: "explicit-string";
1804
- content: string;
1805
- }, {
1806
- type: "explicit-string";
1807
- content: string;
1808
- }>, z.ZodObject<{
1809
- type: z.ZodLiteral<"relative">;
1810
- path: z.ZodString;
1811
- }, "strict", z.ZodTypeAny, {
1812
- type: "relative";
1813
- path: string;
1814
- }, {
1815
- type: "relative";
1816
- path: string;
1817
- }>]>>;
1818
- logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1819
- type: z.ZodLiteral<"explicit-base64">;
1820
- mimeType: z.ZodString;
1821
- content: z.ZodString;
1822
- }, "strict", z.ZodTypeAny, {
1823
- type: "explicit-base64";
1824
- content: string;
1825
- mimeType: string;
1826
- }, {
1827
- type: "explicit-base64";
1828
- content: string;
1829
- mimeType: string;
1830
- }>, z.ZodObject<{
1831
- type: z.ZodLiteral<"relative">;
1832
- path: z.ZodString;
1833
- }, "strict", z.ZodTypeAny, {
1834
- type: "relative";
1835
- path: string;
1836
- }, {
1837
- type: "relative";
1838
- path: string;
1839
- }>]>>;
1840
- url: z.ZodOptional<z.ZodString>;
1841
- docs: z.ZodOptional<z.ZodString>;
1842
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1843
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1844
- organization: z.ZodObject<{
1845
- name: z.ZodString;
1846
- url: z.ZodString;
1847
- logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1848
- type: z.ZodLiteral<"explicit-base64">;
1849
- mimeType: z.ZodString;
1850
- content: z.ZodString;
1851
- }, "strict", z.ZodTypeAny, {
1852
- type: "explicit-base64";
1853
- content: string;
1854
- mimeType: string;
1855
- }, {
1856
- type: "explicit-base64";
1857
- content: string;
1858
- mimeType: string;
1859
- }>, z.ZodObject<{
1860
- type: z.ZodLiteral<"relative">;
1861
- path: z.ZodString;
1862
- }, "strict", z.ZodTypeAny, {
1863
- type: "relative";
1864
- path: string;
1865
- }, {
1866
- type: "relative";
1867
- path: string;
1868
- }>]>>;
1869
- }, "strip", z.ZodTypeAny, {
1870
- url: string;
1871
- name: string;
1872
- logo?: {
1873
- type: "explicit-base64";
1874
- content: string;
1875
- mimeType: string;
1876
- } | {
1877
- type: "relative";
1878
- path: string;
1879
- } | undefined;
1880
- }, {
1881
- url: string;
1882
- name: string;
1883
- logo?: {
1884
- type: "explicit-base64";
1885
- content: string;
1886
- mimeType: string;
1887
- } | {
1888
- type: "relative";
1889
- path: string;
1890
- } | undefined;
1891
- }>;
1892
- }, "strip", z.ZodTypeAny, {
1893
- organization: {
1894
- url: string;
1895
- name: string;
1896
- logo?: {
1897
- type: "explicit-base64";
1898
- content: string;
1899
- mimeType: string;
1900
- } | {
1901
- type: "relative";
1902
- path: string;
1903
- } | undefined;
1904
- };
1905
- title: string;
1906
- description: string;
1907
- url?: string | undefined;
1908
- longDescription?: {
1909
- type: "explicit-string";
1910
- content: string;
1911
- } | {
1912
- type: "relative";
1913
- path: string;
1914
- } | undefined;
1915
- logo?: {
1916
- type: "explicit-base64";
1917
- content: string;
1918
- mimeType: string;
1919
- } | {
1920
- type: "relative";
1921
- path: string;
1922
- } | undefined;
1923
- docs?: string | undefined;
1924
- support?: string | undefined;
1925
- tags?: string[] | undefined;
1926
- }, {
1927
- organization: {
1928
- url: string;
1929
- name: string;
1930
- logo?: {
1931
- type: "explicit-base64";
1932
- content: string;
1933
- mimeType: string;
1934
- } | {
1935
- type: "relative";
1936
- path: string;
1937
- } | undefined;
1938
- };
1939
- title: string;
1940
- description: string;
1941
- url?: string | undefined;
1942
- longDescription?: {
1943
- type: "explicit-string";
1944
- content: string;
1945
- } | {
1946
- type: "relative";
1947
- path: string;
1948
- } | undefined;
1949
- logo?: {
1950
- type: "explicit-base64";
1951
- content: string;
1952
- mimeType: string;
1953
- } | {
1954
- type: "relative";
1955
- path: string;
1956
- } | undefined;
1957
- docs?: string | undefined;
1958
- support?: string | undefined;
1959
- tags?: string[] | undefined;
1960
- }>;
1961
- }, {
1962
- schema: z.ZodLiteral<"v1">;
1963
- files: z.ZodArray<z.ZodString, "many">;
1964
- }>, "strip", z.ZodTypeAny, {
1965
- id: {
1966
- organization: string;
1967
- name: string;
1968
- version: string;
1969
- };
1970
- components: {
1971
- ui: {
1972
- type: "relative";
1973
- path: string;
1974
- };
1975
- workflow: {
1976
- type: "relative";
1977
- path: string;
1978
- };
1979
- model: {
1980
- type: "relative";
1981
- path: string;
1982
- };
1983
- };
1984
- meta: {
1985
- organization: {
1986
- url: string;
1987
- name: string;
1988
- logo?: {
1989
- type: "explicit-base64";
1990
- content: string;
1991
- mimeType: string;
1992
- } | {
1993
- type: "relative";
1994
- path: string;
1995
- } | undefined;
1996
- };
1997
- title: string;
1998
- description: string;
1999
- url?: string | undefined;
2000
- longDescription?: {
2001
- type: "explicit-string";
2002
- content: string;
2003
- } | {
2004
- type: "relative";
2005
- path: string;
2006
- } | undefined;
2007
- logo?: {
2008
- type: "explicit-base64";
2009
- content: string;
2010
- mimeType: string;
2011
- } | {
2012
- type: "relative";
2013
- path: string;
2014
- } | undefined;
2015
- docs?: string | undefined;
2016
- support?: string | undefined;
2017
- tags?: string[] | undefined;
2018
- };
2019
- schema: "v1";
2020
- files: string[];
2021
- }, {
2022
- id: {
2023
- organization: string;
2024
- name: string;
2025
- version: string;
2026
- };
2027
- components: {
2028
- ui: {
2029
- type: "relative";
2030
- path: string;
2031
- };
2032
- workflow: {
2033
- type: "relative";
2034
- path: string;
2035
- };
2036
- model: {
2037
- type: "relative";
2038
- path: string;
2039
- };
2040
- };
2041
- meta: {
2042
- organization: {
2043
- url: string;
2044
- name: string;
2045
- logo?: {
2046
- type: "explicit-base64";
2047
- content: string;
2048
- mimeType: string;
2049
- } | {
2050
- type: "relative";
2051
- path: string;
2052
- } | undefined;
2053
- };
2054
- title: string;
2055
- description: string;
2056
- url?: string | undefined;
2057
- longDescription?: {
2058
- type: "explicit-string";
2059
- content: string;
2060
- } | {
2061
- type: "relative";
2062
- path: string;
2063
- } | undefined;
2064
- logo?: {
2065
- type: "explicit-base64";
2066
- content: string;
2067
- mimeType: string;
2068
- } | {
2069
- type: "relative";
2070
- path: string;
2071
- } | undefined;
2072
- docs?: string | undefined;
2073
- support?: string | undefined;
2074
- tags?: string[] | undefined;
2075
- };
2076
- schema: "v1";
2077
- files: string[];
2078
- }>;
2079
- export type BlockPackManifest = z.infer<typeof BlockPackManifest>;
2080
- export declare const BlockPackManifestFile = "manifest.json";
2
+ export * from './block_meta';
3
+ export * from './block_components';
4
+ export * from './block_description';
2081
5
  //# sourceMappingURL=index.d.ts.map