@milaboratories/pl-model-middle-layer 1.2.20 → 1.4.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 (52) hide show
  1. package/dist/block_meta/block_components.d.ts +221 -85
  2. package/dist/block_meta/block_components.d.ts.map +1 -1
  3. package/dist/block_meta/block_description.d.ts +872 -0
  4. package/dist/block_meta/block_description.d.ts.map +1 -0
  5. package/dist/block_meta/{block_pack_id.d.ts → block_id.d.ts} +1 -1
  6. package/dist/block_meta/block_id.d.ts.map +1 -0
  7. package/dist/block_meta/block_manifest.d.ts +1246 -0
  8. package/dist/block_meta/block_manifest.d.ts.map +1 -0
  9. package/dist/block_meta/{meta.d.ts → block_meta.d.ts} +36 -102
  10. package/dist/block_meta/block_meta.d.ts.map +1 -0
  11. package/dist/block_meta/content_conversion.d.ts +9 -1
  12. package/dist/block_meta/content_conversion.d.ts.map +1 -1
  13. package/dist/block_meta/content_types.d.ts +40 -5
  14. package/dist/block_meta/content_types.d.ts.map +1 -1
  15. package/dist/block_meta/index.d.ts +6 -1665
  16. package/dist/block_meta/index.d.ts.map +1 -1
  17. package/dist/block_registry/block_pack_spec.d.ts +201 -0
  18. package/dist/block_registry/block_pack_spec.d.ts.map +1 -0
  19. package/dist/block_registry/index.d.ts +4 -0
  20. package/dist/block_registry/index.d.ts.map +1 -0
  21. package/dist/block_registry/overview.d.ts +914 -0
  22. package/dist/block_registry/overview.d.ts.map +1 -0
  23. package/dist/block_registry/registry_spec.d.ts +184 -0
  24. package/dist/block_registry/registry_spec.d.ts.map +1 -0
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +202 -125
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/project_overview.d.ts +1 -1
  32. package/dist/project_overview.d.ts.map +1 -1
  33. package/package.json +2 -2
  34. package/src/block_meta/block_components.ts +5 -5
  35. package/src/block_meta/block_description.ts +29 -0
  36. package/src/block_meta/block_manifest.ts +40 -0
  37. package/src/block_meta/{meta.ts → block_meta.ts} +8 -13
  38. package/src/block_meta/content_conversion.ts +24 -4
  39. package/src/block_meta/content_types.ts +14 -3
  40. package/src/block_meta/index.ts +6 -52
  41. package/src/block_registry/block_pack_spec.ts +51 -0
  42. package/src/block_registry/index.ts +3 -0
  43. package/src/block_registry/overview.ts +27 -0
  44. package/src/block_registry/registry_spec.ts +38 -0
  45. package/src/index.ts +1 -1
  46. package/src/project_overview.ts +1 -1
  47. package/dist/block_meta/block_pack_id.d.ts.map +0 -1
  48. package/dist/block_meta/meta.d.ts.map +0 -1
  49. package/dist/block_pack.d.ts +0 -24
  50. package/dist/block_pack.d.ts.map +0 -1
  51. package/src/block_pack.ts +0 -29
  52. /package/src/block_meta/{block_pack_id.ts → block_id.ts} +0 -0
@@ -0,0 +1,1246 @@
1
+ import { z } from 'zod';
2
+ export declare const BlockComponentsManifest: z.ZodObject<{
3
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
4
+ type: z.ZodLiteral<"relative">;
5
+ path: z.ZodString;
6
+ }, "strict", z.ZodTypeAny, {
7
+ type: "relative";
8
+ path: string;
9
+ }, {
10
+ type: "relative";
11
+ path: string;
12
+ }>, {
13
+ type: string;
14
+ main: any;
15
+ }, {
16
+ type: "relative";
17
+ path: string;
18
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
19
+ type: z.ZodLiteral<"workflow-v1">;
20
+ main: z.ZodObject<{
21
+ type: z.ZodLiteral<"relative">;
22
+ path: z.ZodString;
23
+ }, "strict", z.ZodTypeAny, {
24
+ type: "relative";
25
+ path: string;
26
+ }, {
27
+ type: "relative";
28
+ path: string;
29
+ }>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ type: "workflow-v1";
32
+ main: {
33
+ type: "relative";
34
+ path: string;
35
+ };
36
+ }, {
37
+ type: "workflow-v1";
38
+ main: {
39
+ type: "relative";
40
+ path: string;
41
+ };
42
+ }>]>]>;
43
+ model: z.ZodObject<{
44
+ type: z.ZodLiteral<"relative">;
45
+ path: z.ZodString;
46
+ }, "strict", z.ZodTypeAny, {
47
+ type: "relative";
48
+ path: string;
49
+ }, {
50
+ type: "relative";
51
+ path: string;
52
+ }>;
53
+ ui: z.ZodObject<{
54
+ type: z.ZodLiteral<"relative">;
55
+ path: z.ZodString;
56
+ }, "strict", z.ZodTypeAny, {
57
+ type: "relative";
58
+ path: string;
59
+ }, {
60
+ type: "relative";
61
+ path: string;
62
+ }>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ workflow: {
65
+ type: string;
66
+ main: any;
67
+ } | {
68
+ type: "workflow-v1";
69
+ main: {
70
+ type: "relative";
71
+ path: string;
72
+ };
73
+ };
74
+ model: {
75
+ type: "relative";
76
+ path: string;
77
+ };
78
+ ui: {
79
+ type: "relative";
80
+ path: string;
81
+ };
82
+ }, {
83
+ workflow: {
84
+ type: "relative";
85
+ path: string;
86
+ } | {
87
+ type: "workflow-v1";
88
+ main: {
89
+ type: "relative";
90
+ path: string;
91
+ };
92
+ };
93
+ model: {
94
+ type: "relative";
95
+ path: string;
96
+ };
97
+ ui: {
98
+ type: "relative";
99
+ path: string;
100
+ };
101
+ }>;
102
+ export type BlockComponentsManifest = z.infer<typeof BlockComponentsManifest>;
103
+ export declare const BlockPackMetaManifest: z.ZodObject<{
104
+ title: z.ZodString;
105
+ description: z.ZodString;
106
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
107
+ type: z.ZodLiteral<"explicit-string">;
108
+ content: z.ZodString;
109
+ }, "strict", z.ZodTypeAny, {
110
+ type: "explicit-string";
111
+ content: string;
112
+ }, {
113
+ type: "explicit-string";
114
+ content: string;
115
+ }>, z.ZodObject<{
116
+ type: z.ZodLiteral<"relative">;
117
+ path: z.ZodString;
118
+ }, "strict", z.ZodTypeAny, {
119
+ type: "relative";
120
+ path: string;
121
+ }, {
122
+ type: "relative";
123
+ path: string;
124
+ }>]>>;
125
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
126
+ type: z.ZodLiteral<"explicit-base64">;
127
+ mimeType: z.ZodString;
128
+ content: z.ZodString;
129
+ }, "strict", z.ZodTypeAny, {
130
+ type: "explicit-base64";
131
+ content: string;
132
+ mimeType: string;
133
+ }, {
134
+ type: "explicit-base64";
135
+ content: string;
136
+ mimeType: string;
137
+ }>, z.ZodObject<{
138
+ type: z.ZodLiteral<"relative">;
139
+ path: z.ZodString;
140
+ }, "strict", z.ZodTypeAny, {
141
+ type: "relative";
142
+ path: string;
143
+ }, {
144
+ type: "relative";
145
+ path: string;
146
+ }>]>>;
147
+ url: z.ZodOptional<z.ZodString>;
148
+ docs: z.ZodOptional<z.ZodString>;
149
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
150
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
151
+ organization: z.ZodObject<{
152
+ name: z.ZodString;
153
+ url: z.ZodString;
154
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
155
+ type: z.ZodLiteral<"explicit-base64">;
156
+ mimeType: z.ZodString;
157
+ content: z.ZodString;
158
+ }, "strict", z.ZodTypeAny, {
159
+ type: "explicit-base64";
160
+ content: string;
161
+ mimeType: string;
162
+ }, {
163
+ type: "explicit-base64";
164
+ content: string;
165
+ mimeType: string;
166
+ }>, z.ZodObject<{
167
+ type: z.ZodLiteral<"relative">;
168
+ path: z.ZodString;
169
+ }, "strict", z.ZodTypeAny, {
170
+ type: "relative";
171
+ path: string;
172
+ }, {
173
+ type: "relative";
174
+ path: string;
175
+ }>]>>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ url: string;
178
+ name: string;
179
+ logo?: {
180
+ type: "explicit-base64";
181
+ content: string;
182
+ mimeType: string;
183
+ } | {
184
+ type: "relative";
185
+ path: string;
186
+ } | undefined;
187
+ }, {
188
+ url: string;
189
+ name: string;
190
+ logo?: {
191
+ type: "explicit-base64";
192
+ content: string;
193
+ mimeType: string;
194
+ } | {
195
+ type: "relative";
196
+ path: string;
197
+ } | undefined;
198
+ }>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ organization: {
201
+ url: string;
202
+ name: string;
203
+ logo?: {
204
+ type: "explicit-base64";
205
+ content: string;
206
+ mimeType: string;
207
+ } | {
208
+ type: "relative";
209
+ path: string;
210
+ } | undefined;
211
+ };
212
+ title: string;
213
+ description: string;
214
+ url?: string | undefined;
215
+ longDescription?: {
216
+ type: "explicit-string";
217
+ content: string;
218
+ } | {
219
+ type: "relative";
220
+ path: string;
221
+ } | undefined;
222
+ logo?: {
223
+ type: "explicit-base64";
224
+ content: string;
225
+ mimeType: string;
226
+ } | {
227
+ type: "relative";
228
+ path: string;
229
+ } | undefined;
230
+ docs?: string | undefined;
231
+ support?: string | undefined;
232
+ tags?: string[] | undefined;
233
+ }, {
234
+ organization: {
235
+ url: string;
236
+ name: string;
237
+ logo?: {
238
+ type: "explicit-base64";
239
+ content: string;
240
+ mimeType: string;
241
+ } | {
242
+ type: "relative";
243
+ path: string;
244
+ } | undefined;
245
+ };
246
+ title: string;
247
+ description: string;
248
+ url?: string | undefined;
249
+ longDescription?: {
250
+ type: "explicit-string";
251
+ content: string;
252
+ } | {
253
+ type: "relative";
254
+ path: string;
255
+ } | undefined;
256
+ logo?: {
257
+ type: "explicit-base64";
258
+ content: string;
259
+ mimeType: string;
260
+ } | {
261
+ type: "relative";
262
+ path: string;
263
+ } | undefined;
264
+ docs?: string | undefined;
265
+ support?: string | undefined;
266
+ tags?: string[] | undefined;
267
+ }>;
268
+ export type BlockPackMetaManifest = z.infer<typeof BlockPackMetaManifest>;
269
+ /** Block description to be used in block manifest */
270
+ export declare const BlockPackDescriptionManifest: z.ZodObject<{
271
+ id: z.ZodObject<{
272
+ organization: z.ZodString;
273
+ name: z.ZodString;
274
+ version: z.ZodString;
275
+ }, "strict", z.ZodTypeAny, {
276
+ organization: string;
277
+ name: string;
278
+ version: string;
279
+ }, {
280
+ organization: string;
281
+ name: string;
282
+ version: string;
283
+ }>;
284
+ components: z.ZodObject<{
285
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
286
+ type: z.ZodLiteral<"relative">;
287
+ path: z.ZodString;
288
+ }, "strict", z.ZodTypeAny, {
289
+ type: "relative";
290
+ path: string;
291
+ }, {
292
+ type: "relative";
293
+ path: string;
294
+ }>, {
295
+ type: string;
296
+ main: any;
297
+ }, {
298
+ type: "relative";
299
+ path: string;
300
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
301
+ type: z.ZodLiteral<"workflow-v1">;
302
+ main: z.ZodObject<{
303
+ type: z.ZodLiteral<"relative">;
304
+ path: z.ZodString;
305
+ }, "strict", z.ZodTypeAny, {
306
+ type: "relative";
307
+ path: string;
308
+ }, {
309
+ type: "relative";
310
+ path: string;
311
+ }>;
312
+ }, "strip", z.ZodTypeAny, {
313
+ type: "workflow-v1";
314
+ main: {
315
+ type: "relative";
316
+ path: string;
317
+ };
318
+ }, {
319
+ type: "workflow-v1";
320
+ main: {
321
+ type: "relative";
322
+ path: string;
323
+ };
324
+ }>]>]>;
325
+ model: z.ZodObject<{
326
+ type: z.ZodLiteral<"relative">;
327
+ path: z.ZodString;
328
+ }, "strict", z.ZodTypeAny, {
329
+ type: "relative";
330
+ path: string;
331
+ }, {
332
+ type: "relative";
333
+ path: string;
334
+ }>;
335
+ ui: z.ZodObject<{
336
+ type: z.ZodLiteral<"relative">;
337
+ path: z.ZodString;
338
+ }, "strict", z.ZodTypeAny, {
339
+ type: "relative";
340
+ path: string;
341
+ }, {
342
+ type: "relative";
343
+ path: string;
344
+ }>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ workflow: {
347
+ type: string;
348
+ main: any;
349
+ } | {
350
+ type: "workflow-v1";
351
+ main: {
352
+ type: "relative";
353
+ path: string;
354
+ };
355
+ };
356
+ model: {
357
+ type: "relative";
358
+ path: string;
359
+ };
360
+ ui: {
361
+ type: "relative";
362
+ path: string;
363
+ };
364
+ }, {
365
+ workflow: {
366
+ type: "relative";
367
+ path: string;
368
+ } | {
369
+ type: "workflow-v1";
370
+ main: {
371
+ type: "relative";
372
+ path: string;
373
+ };
374
+ };
375
+ model: {
376
+ type: "relative";
377
+ path: string;
378
+ };
379
+ ui: {
380
+ type: "relative";
381
+ path: string;
382
+ };
383
+ }>;
384
+ meta: z.ZodObject<{
385
+ title: z.ZodString;
386
+ description: z.ZodString;
387
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
388
+ type: z.ZodLiteral<"explicit-string">;
389
+ content: z.ZodString;
390
+ }, "strict", z.ZodTypeAny, {
391
+ type: "explicit-string";
392
+ content: string;
393
+ }, {
394
+ type: "explicit-string";
395
+ content: string;
396
+ }>, z.ZodObject<{
397
+ type: z.ZodLiteral<"relative">;
398
+ path: z.ZodString;
399
+ }, "strict", z.ZodTypeAny, {
400
+ type: "relative";
401
+ path: string;
402
+ }, {
403
+ type: "relative";
404
+ path: string;
405
+ }>]>>;
406
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
407
+ type: z.ZodLiteral<"explicit-base64">;
408
+ mimeType: z.ZodString;
409
+ content: z.ZodString;
410
+ }, "strict", z.ZodTypeAny, {
411
+ type: "explicit-base64";
412
+ content: string;
413
+ mimeType: string;
414
+ }, {
415
+ type: "explicit-base64";
416
+ content: string;
417
+ mimeType: string;
418
+ }>, z.ZodObject<{
419
+ type: z.ZodLiteral<"relative">;
420
+ path: z.ZodString;
421
+ }, "strict", z.ZodTypeAny, {
422
+ type: "relative";
423
+ path: string;
424
+ }, {
425
+ type: "relative";
426
+ path: string;
427
+ }>]>>;
428
+ url: z.ZodOptional<z.ZodString>;
429
+ docs: z.ZodOptional<z.ZodString>;
430
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
431
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
432
+ organization: z.ZodObject<{
433
+ name: z.ZodString;
434
+ url: z.ZodString;
435
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
436
+ type: z.ZodLiteral<"explicit-base64">;
437
+ mimeType: z.ZodString;
438
+ content: z.ZodString;
439
+ }, "strict", z.ZodTypeAny, {
440
+ type: "explicit-base64";
441
+ content: string;
442
+ mimeType: string;
443
+ }, {
444
+ type: "explicit-base64";
445
+ content: string;
446
+ mimeType: string;
447
+ }>, z.ZodObject<{
448
+ type: z.ZodLiteral<"relative">;
449
+ path: z.ZodString;
450
+ }, "strict", z.ZodTypeAny, {
451
+ type: "relative";
452
+ path: string;
453
+ }, {
454
+ type: "relative";
455
+ path: string;
456
+ }>]>>;
457
+ }, "strip", z.ZodTypeAny, {
458
+ url: string;
459
+ name: string;
460
+ logo?: {
461
+ type: "explicit-base64";
462
+ content: string;
463
+ mimeType: string;
464
+ } | {
465
+ type: "relative";
466
+ path: string;
467
+ } | undefined;
468
+ }, {
469
+ url: string;
470
+ name: string;
471
+ logo?: {
472
+ type: "explicit-base64";
473
+ content: string;
474
+ mimeType: string;
475
+ } | {
476
+ type: "relative";
477
+ path: string;
478
+ } | undefined;
479
+ }>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ organization: {
482
+ url: string;
483
+ name: string;
484
+ logo?: {
485
+ type: "explicit-base64";
486
+ content: string;
487
+ mimeType: string;
488
+ } | {
489
+ type: "relative";
490
+ path: string;
491
+ } | undefined;
492
+ };
493
+ title: string;
494
+ description: string;
495
+ url?: string | undefined;
496
+ longDescription?: {
497
+ type: "explicit-string";
498
+ content: string;
499
+ } | {
500
+ type: "relative";
501
+ path: string;
502
+ } | undefined;
503
+ logo?: {
504
+ type: "explicit-base64";
505
+ content: string;
506
+ mimeType: string;
507
+ } | {
508
+ type: "relative";
509
+ path: string;
510
+ } | undefined;
511
+ docs?: string | undefined;
512
+ support?: string | undefined;
513
+ tags?: string[] | undefined;
514
+ }, {
515
+ organization: {
516
+ url: string;
517
+ name: string;
518
+ logo?: {
519
+ type: "explicit-base64";
520
+ content: string;
521
+ mimeType: string;
522
+ } | {
523
+ type: "relative";
524
+ path: string;
525
+ } | undefined;
526
+ };
527
+ title: string;
528
+ description: string;
529
+ url?: string | undefined;
530
+ longDescription?: {
531
+ type: "explicit-string";
532
+ content: string;
533
+ } | {
534
+ type: "relative";
535
+ path: string;
536
+ } | undefined;
537
+ logo?: {
538
+ type: "explicit-base64";
539
+ content: string;
540
+ mimeType: string;
541
+ } | {
542
+ type: "relative";
543
+ path: string;
544
+ } | undefined;
545
+ docs?: string | undefined;
546
+ support?: string | undefined;
547
+ tags?: string[] | undefined;
548
+ }>;
549
+ }, "strip", z.ZodTypeAny, {
550
+ components: {
551
+ workflow: {
552
+ type: string;
553
+ main: any;
554
+ } | {
555
+ type: "workflow-v1";
556
+ main: {
557
+ type: "relative";
558
+ path: string;
559
+ };
560
+ };
561
+ model: {
562
+ type: "relative";
563
+ path: string;
564
+ };
565
+ ui: {
566
+ type: "relative";
567
+ path: string;
568
+ };
569
+ };
570
+ meta: {
571
+ organization: {
572
+ url: string;
573
+ name: string;
574
+ logo?: {
575
+ type: "explicit-base64";
576
+ content: string;
577
+ mimeType: string;
578
+ } | {
579
+ type: "relative";
580
+ path: string;
581
+ } | undefined;
582
+ };
583
+ title: string;
584
+ description: string;
585
+ url?: string | undefined;
586
+ longDescription?: {
587
+ type: "explicit-string";
588
+ content: string;
589
+ } | {
590
+ type: "relative";
591
+ path: string;
592
+ } | undefined;
593
+ logo?: {
594
+ type: "explicit-base64";
595
+ content: string;
596
+ mimeType: string;
597
+ } | {
598
+ type: "relative";
599
+ path: string;
600
+ } | undefined;
601
+ docs?: string | undefined;
602
+ support?: string | undefined;
603
+ tags?: string[] | undefined;
604
+ };
605
+ id: {
606
+ organization: string;
607
+ name: string;
608
+ version: string;
609
+ };
610
+ }, {
611
+ components: {
612
+ workflow: {
613
+ type: "relative";
614
+ path: string;
615
+ } | {
616
+ type: "workflow-v1";
617
+ main: {
618
+ type: "relative";
619
+ path: string;
620
+ };
621
+ };
622
+ model: {
623
+ type: "relative";
624
+ path: string;
625
+ };
626
+ ui: {
627
+ type: "relative";
628
+ path: string;
629
+ };
630
+ };
631
+ meta: {
632
+ organization: {
633
+ url: string;
634
+ name: string;
635
+ logo?: {
636
+ type: "explicit-base64";
637
+ content: string;
638
+ mimeType: string;
639
+ } | {
640
+ type: "relative";
641
+ path: string;
642
+ } | undefined;
643
+ };
644
+ title: string;
645
+ description: string;
646
+ url?: string | undefined;
647
+ longDescription?: {
648
+ type: "explicit-string";
649
+ content: string;
650
+ } | {
651
+ type: "relative";
652
+ path: string;
653
+ } | undefined;
654
+ logo?: {
655
+ type: "explicit-base64";
656
+ content: string;
657
+ mimeType: string;
658
+ } | {
659
+ type: "relative";
660
+ path: string;
661
+ } | undefined;
662
+ docs?: string | undefined;
663
+ support?: string | undefined;
664
+ tags?: string[] | undefined;
665
+ };
666
+ id: {
667
+ organization: string;
668
+ name: string;
669
+ version: string;
670
+ };
671
+ }>;
672
+ export type BlockPackDescriptionManifest = z.infer<typeof BlockPackDescriptionManifest>;
673
+ export declare const Sha256Schema: z.ZodString;
674
+ export declare const ManifestFileInfo: z.ZodObject<{
675
+ name: z.ZodString;
676
+ size: z.ZodNumber;
677
+ sha256: z.ZodString;
678
+ }, "strip", z.ZodTypeAny, {
679
+ name: string;
680
+ size: number;
681
+ sha256: string;
682
+ }, {
683
+ name: string;
684
+ size: number;
685
+ sha256: string;
686
+ }>;
687
+ export type ManifestFileInfo = z.infer<typeof ManifestFileInfo>;
688
+ export declare const BlockPackManifest: z.ZodObject<{
689
+ schema: z.ZodLiteral<"v2">;
690
+ description: z.ZodObject<{
691
+ id: z.ZodObject<{
692
+ organization: z.ZodString;
693
+ name: z.ZodString;
694
+ version: z.ZodString;
695
+ }, "strict", z.ZodTypeAny, {
696
+ organization: string;
697
+ name: string;
698
+ version: string;
699
+ }, {
700
+ organization: string;
701
+ name: string;
702
+ version: string;
703
+ }>;
704
+ components: z.ZodObject<{
705
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
706
+ type: z.ZodLiteral<"relative">;
707
+ path: z.ZodString;
708
+ }, "strict", z.ZodTypeAny, {
709
+ type: "relative";
710
+ path: string;
711
+ }, {
712
+ type: "relative";
713
+ path: string;
714
+ }>, {
715
+ type: string;
716
+ main: any;
717
+ }, {
718
+ type: "relative";
719
+ path: string;
720
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
721
+ type: z.ZodLiteral<"workflow-v1">;
722
+ main: z.ZodObject<{
723
+ type: z.ZodLiteral<"relative">;
724
+ path: z.ZodString;
725
+ }, "strict", z.ZodTypeAny, {
726
+ type: "relative";
727
+ path: string;
728
+ }, {
729
+ type: "relative";
730
+ path: string;
731
+ }>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ type: "workflow-v1";
734
+ main: {
735
+ type: "relative";
736
+ path: string;
737
+ };
738
+ }, {
739
+ type: "workflow-v1";
740
+ main: {
741
+ type: "relative";
742
+ path: string;
743
+ };
744
+ }>]>]>;
745
+ model: z.ZodObject<{
746
+ type: z.ZodLiteral<"relative">;
747
+ path: z.ZodString;
748
+ }, "strict", z.ZodTypeAny, {
749
+ type: "relative";
750
+ path: string;
751
+ }, {
752
+ type: "relative";
753
+ path: string;
754
+ }>;
755
+ ui: z.ZodObject<{
756
+ type: z.ZodLiteral<"relative">;
757
+ path: z.ZodString;
758
+ }, "strict", z.ZodTypeAny, {
759
+ type: "relative";
760
+ path: string;
761
+ }, {
762
+ type: "relative";
763
+ path: string;
764
+ }>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ workflow: {
767
+ type: string;
768
+ main: any;
769
+ } | {
770
+ type: "workflow-v1";
771
+ main: {
772
+ type: "relative";
773
+ path: string;
774
+ };
775
+ };
776
+ model: {
777
+ type: "relative";
778
+ path: string;
779
+ };
780
+ ui: {
781
+ type: "relative";
782
+ path: string;
783
+ };
784
+ }, {
785
+ workflow: {
786
+ type: "relative";
787
+ path: string;
788
+ } | {
789
+ type: "workflow-v1";
790
+ main: {
791
+ type: "relative";
792
+ path: string;
793
+ };
794
+ };
795
+ model: {
796
+ type: "relative";
797
+ path: string;
798
+ };
799
+ ui: {
800
+ type: "relative";
801
+ path: string;
802
+ };
803
+ }>;
804
+ meta: z.ZodObject<{
805
+ title: z.ZodString;
806
+ description: z.ZodString;
807
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
808
+ type: z.ZodLiteral<"explicit-string">;
809
+ content: z.ZodString;
810
+ }, "strict", z.ZodTypeAny, {
811
+ type: "explicit-string";
812
+ content: string;
813
+ }, {
814
+ type: "explicit-string";
815
+ content: string;
816
+ }>, z.ZodObject<{
817
+ type: z.ZodLiteral<"relative">;
818
+ path: z.ZodString;
819
+ }, "strict", z.ZodTypeAny, {
820
+ type: "relative";
821
+ path: string;
822
+ }, {
823
+ type: "relative";
824
+ path: string;
825
+ }>]>>;
826
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
827
+ type: z.ZodLiteral<"explicit-base64">;
828
+ mimeType: z.ZodString;
829
+ content: z.ZodString;
830
+ }, "strict", z.ZodTypeAny, {
831
+ type: "explicit-base64";
832
+ content: string;
833
+ mimeType: string;
834
+ }, {
835
+ type: "explicit-base64";
836
+ content: string;
837
+ mimeType: string;
838
+ }>, z.ZodObject<{
839
+ type: z.ZodLiteral<"relative">;
840
+ path: z.ZodString;
841
+ }, "strict", z.ZodTypeAny, {
842
+ type: "relative";
843
+ path: string;
844
+ }, {
845
+ type: "relative";
846
+ path: string;
847
+ }>]>>;
848
+ url: z.ZodOptional<z.ZodString>;
849
+ docs: z.ZodOptional<z.ZodString>;
850
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
851
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
852
+ organization: z.ZodObject<{
853
+ name: z.ZodString;
854
+ url: z.ZodString;
855
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
856
+ type: z.ZodLiteral<"explicit-base64">;
857
+ mimeType: z.ZodString;
858
+ content: z.ZodString;
859
+ }, "strict", z.ZodTypeAny, {
860
+ type: "explicit-base64";
861
+ content: string;
862
+ mimeType: string;
863
+ }, {
864
+ type: "explicit-base64";
865
+ content: string;
866
+ mimeType: string;
867
+ }>, z.ZodObject<{
868
+ type: z.ZodLiteral<"relative">;
869
+ path: z.ZodString;
870
+ }, "strict", z.ZodTypeAny, {
871
+ type: "relative";
872
+ path: string;
873
+ }, {
874
+ type: "relative";
875
+ path: string;
876
+ }>]>>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ url: string;
879
+ name: string;
880
+ logo?: {
881
+ type: "explicit-base64";
882
+ content: string;
883
+ mimeType: string;
884
+ } | {
885
+ type: "relative";
886
+ path: string;
887
+ } | undefined;
888
+ }, {
889
+ url: string;
890
+ name: string;
891
+ logo?: {
892
+ type: "explicit-base64";
893
+ content: string;
894
+ mimeType: string;
895
+ } | {
896
+ type: "relative";
897
+ path: string;
898
+ } | undefined;
899
+ }>;
900
+ }, "strip", z.ZodTypeAny, {
901
+ organization: {
902
+ url: string;
903
+ name: string;
904
+ logo?: {
905
+ type: "explicit-base64";
906
+ content: string;
907
+ mimeType: string;
908
+ } | {
909
+ type: "relative";
910
+ path: string;
911
+ } | undefined;
912
+ };
913
+ title: string;
914
+ description: string;
915
+ url?: string | undefined;
916
+ longDescription?: {
917
+ type: "explicit-string";
918
+ content: string;
919
+ } | {
920
+ type: "relative";
921
+ path: string;
922
+ } | undefined;
923
+ logo?: {
924
+ type: "explicit-base64";
925
+ content: string;
926
+ mimeType: string;
927
+ } | {
928
+ type: "relative";
929
+ path: string;
930
+ } | undefined;
931
+ docs?: string | undefined;
932
+ support?: string | undefined;
933
+ tags?: string[] | undefined;
934
+ }, {
935
+ organization: {
936
+ url: string;
937
+ name: string;
938
+ logo?: {
939
+ type: "explicit-base64";
940
+ content: string;
941
+ mimeType: string;
942
+ } | {
943
+ type: "relative";
944
+ path: string;
945
+ } | undefined;
946
+ };
947
+ title: string;
948
+ description: string;
949
+ url?: string | undefined;
950
+ longDescription?: {
951
+ type: "explicit-string";
952
+ content: string;
953
+ } | {
954
+ type: "relative";
955
+ path: string;
956
+ } | undefined;
957
+ logo?: {
958
+ type: "explicit-base64";
959
+ content: string;
960
+ mimeType: string;
961
+ } | {
962
+ type: "relative";
963
+ path: string;
964
+ } | undefined;
965
+ docs?: string | undefined;
966
+ support?: string | undefined;
967
+ tags?: string[] | undefined;
968
+ }>;
969
+ }, "strip", z.ZodTypeAny, {
970
+ components: {
971
+ workflow: {
972
+ type: string;
973
+ main: any;
974
+ } | {
975
+ type: "workflow-v1";
976
+ main: {
977
+ type: "relative";
978
+ path: string;
979
+ };
980
+ };
981
+ model: {
982
+ type: "relative";
983
+ path: string;
984
+ };
985
+ ui: {
986
+ type: "relative";
987
+ path: string;
988
+ };
989
+ };
990
+ meta: {
991
+ organization: {
992
+ url: string;
993
+ name: string;
994
+ logo?: {
995
+ type: "explicit-base64";
996
+ content: string;
997
+ mimeType: string;
998
+ } | {
999
+ type: "relative";
1000
+ path: string;
1001
+ } | undefined;
1002
+ };
1003
+ title: string;
1004
+ description: string;
1005
+ url?: string | undefined;
1006
+ longDescription?: {
1007
+ type: "explicit-string";
1008
+ content: string;
1009
+ } | {
1010
+ type: "relative";
1011
+ path: string;
1012
+ } | undefined;
1013
+ logo?: {
1014
+ type: "explicit-base64";
1015
+ content: string;
1016
+ mimeType: string;
1017
+ } | {
1018
+ type: "relative";
1019
+ path: string;
1020
+ } | undefined;
1021
+ docs?: string | undefined;
1022
+ support?: string | undefined;
1023
+ tags?: string[] | undefined;
1024
+ };
1025
+ id: {
1026
+ organization: string;
1027
+ name: string;
1028
+ version: string;
1029
+ };
1030
+ }, {
1031
+ components: {
1032
+ workflow: {
1033
+ type: "relative";
1034
+ path: string;
1035
+ } | {
1036
+ type: "workflow-v1";
1037
+ main: {
1038
+ type: "relative";
1039
+ path: string;
1040
+ };
1041
+ };
1042
+ model: {
1043
+ type: "relative";
1044
+ path: string;
1045
+ };
1046
+ ui: {
1047
+ type: "relative";
1048
+ path: string;
1049
+ };
1050
+ };
1051
+ meta: {
1052
+ organization: {
1053
+ url: string;
1054
+ name: string;
1055
+ logo?: {
1056
+ type: "explicit-base64";
1057
+ content: string;
1058
+ mimeType: string;
1059
+ } | {
1060
+ type: "relative";
1061
+ path: string;
1062
+ } | undefined;
1063
+ };
1064
+ title: string;
1065
+ description: string;
1066
+ url?: string | undefined;
1067
+ longDescription?: {
1068
+ type: "explicit-string";
1069
+ content: string;
1070
+ } | {
1071
+ type: "relative";
1072
+ path: string;
1073
+ } | undefined;
1074
+ logo?: {
1075
+ type: "explicit-base64";
1076
+ content: string;
1077
+ mimeType: string;
1078
+ } | {
1079
+ type: "relative";
1080
+ path: string;
1081
+ } | undefined;
1082
+ docs?: string | undefined;
1083
+ support?: string | undefined;
1084
+ tags?: string[] | undefined;
1085
+ };
1086
+ id: {
1087
+ organization: string;
1088
+ name: string;
1089
+ version: string;
1090
+ };
1091
+ }>;
1092
+ files: z.ZodArray<z.ZodObject<{
1093
+ name: z.ZodString;
1094
+ size: z.ZodNumber;
1095
+ sha256: z.ZodString;
1096
+ }, "strip", z.ZodTypeAny, {
1097
+ name: string;
1098
+ size: number;
1099
+ sha256: string;
1100
+ }, {
1101
+ name: string;
1102
+ size: number;
1103
+ sha256: string;
1104
+ }>, "many">;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ description: {
1107
+ components: {
1108
+ workflow: {
1109
+ type: string;
1110
+ main: any;
1111
+ } | {
1112
+ type: "workflow-v1";
1113
+ main: {
1114
+ type: "relative";
1115
+ path: string;
1116
+ };
1117
+ };
1118
+ model: {
1119
+ type: "relative";
1120
+ path: string;
1121
+ };
1122
+ ui: {
1123
+ type: "relative";
1124
+ path: string;
1125
+ };
1126
+ };
1127
+ meta: {
1128
+ organization: {
1129
+ url: string;
1130
+ name: string;
1131
+ logo?: {
1132
+ type: "explicit-base64";
1133
+ content: string;
1134
+ mimeType: string;
1135
+ } | {
1136
+ type: "relative";
1137
+ path: string;
1138
+ } | undefined;
1139
+ };
1140
+ title: string;
1141
+ description: string;
1142
+ url?: string | undefined;
1143
+ longDescription?: {
1144
+ type: "explicit-string";
1145
+ content: string;
1146
+ } | {
1147
+ type: "relative";
1148
+ path: string;
1149
+ } | undefined;
1150
+ logo?: {
1151
+ type: "explicit-base64";
1152
+ content: string;
1153
+ mimeType: string;
1154
+ } | {
1155
+ type: "relative";
1156
+ path: string;
1157
+ } | undefined;
1158
+ docs?: string | undefined;
1159
+ support?: string | undefined;
1160
+ tags?: string[] | undefined;
1161
+ };
1162
+ id: {
1163
+ organization: string;
1164
+ name: string;
1165
+ version: string;
1166
+ };
1167
+ };
1168
+ schema: "v2";
1169
+ files: {
1170
+ name: string;
1171
+ size: number;
1172
+ sha256: string;
1173
+ }[];
1174
+ }, {
1175
+ description: {
1176
+ components: {
1177
+ workflow: {
1178
+ type: "relative";
1179
+ path: string;
1180
+ } | {
1181
+ type: "workflow-v1";
1182
+ main: {
1183
+ type: "relative";
1184
+ path: string;
1185
+ };
1186
+ };
1187
+ model: {
1188
+ type: "relative";
1189
+ path: string;
1190
+ };
1191
+ ui: {
1192
+ type: "relative";
1193
+ path: string;
1194
+ };
1195
+ };
1196
+ meta: {
1197
+ organization: {
1198
+ url: string;
1199
+ name: string;
1200
+ logo?: {
1201
+ type: "explicit-base64";
1202
+ content: string;
1203
+ mimeType: string;
1204
+ } | {
1205
+ type: "relative";
1206
+ path: string;
1207
+ } | undefined;
1208
+ };
1209
+ title: string;
1210
+ description: string;
1211
+ url?: string | undefined;
1212
+ longDescription?: {
1213
+ type: "explicit-string";
1214
+ content: string;
1215
+ } | {
1216
+ type: "relative";
1217
+ path: string;
1218
+ } | undefined;
1219
+ logo?: {
1220
+ type: "explicit-base64";
1221
+ content: string;
1222
+ mimeType: string;
1223
+ } | {
1224
+ type: "relative";
1225
+ path: string;
1226
+ } | undefined;
1227
+ docs?: string | undefined;
1228
+ support?: string | undefined;
1229
+ tags?: string[] | undefined;
1230
+ };
1231
+ id: {
1232
+ organization: string;
1233
+ name: string;
1234
+ version: string;
1235
+ };
1236
+ };
1237
+ schema: "v2";
1238
+ files: {
1239
+ name: string;
1240
+ size: number;
1241
+ sha256: string;
1242
+ }[];
1243
+ }>;
1244
+ export type BlockPackManifest = z.infer<typeof BlockPackManifest>;
1245
+ export declare const BlockPackManifestFile = "manifest.json";
1246
+ //# sourceMappingURL=block_manifest.d.ts.map