@milaboratories/pl-model-middle-layer 1.2.20 → 1.3.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 (31) hide show
  1. package/dist/block_meta/block_components.d.ts +213 -77
  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 +1245 -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} +1 -167
  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/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +114 -104
  20. package/dist/index.mjs.map +1 -1
  21. package/package.json +2 -2
  22. package/src/block_meta/block_components.ts +2 -5
  23. package/src/block_meta/block_description.ts +29 -0
  24. package/src/block_meta/block_manifest.ts +38 -0
  25. package/src/block_meta/{meta.ts → block_meta.ts} +0 -13
  26. package/src/block_meta/content_conversion.ts +24 -4
  27. package/src/block_meta/content_types.ts +14 -3
  28. package/src/block_meta/index.ts +6 -52
  29. package/dist/block_meta/block_pack_id.d.ts.map +0 -1
  30. package/dist/block_meta/meta.d.ts.map +0 -1
  31. /package/src/block_meta/{block_pack_id.ts → block_id.ts} +0 -0
@@ -0,0 +1,1245 @@
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
+ ui: {
65
+ type: "relative";
66
+ path: string;
67
+ };
68
+ workflow: {
69
+ type: string;
70
+ main: any;
71
+ } | {
72
+ type: "workflow-v1";
73
+ main: {
74
+ type: "relative";
75
+ path: string;
76
+ };
77
+ };
78
+ model: {
79
+ type: "relative";
80
+ path: string;
81
+ };
82
+ }, {
83
+ ui: {
84
+ type: "relative";
85
+ path: string;
86
+ };
87
+ workflow: {
88
+ type: "relative";
89
+ path: string;
90
+ } | {
91
+ type: "workflow-v1";
92
+ main: {
93
+ type: "relative";
94
+ path: string;
95
+ };
96
+ };
97
+ model: {
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
+ ui: {
347
+ type: "relative";
348
+ path: string;
349
+ };
350
+ workflow: {
351
+ type: string;
352
+ main: any;
353
+ } | {
354
+ type: "workflow-v1";
355
+ main: {
356
+ type: "relative";
357
+ path: string;
358
+ };
359
+ };
360
+ model: {
361
+ type: "relative";
362
+ path: string;
363
+ };
364
+ }, {
365
+ ui: {
366
+ type: "relative";
367
+ path: string;
368
+ };
369
+ workflow: {
370
+ type: "relative";
371
+ path: string;
372
+ } | {
373
+ type: "workflow-v1";
374
+ main: {
375
+ type: "relative";
376
+ path: string;
377
+ };
378
+ };
379
+ model: {
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
+ ui: {
552
+ type: "relative";
553
+ path: string;
554
+ };
555
+ workflow: {
556
+ type: string;
557
+ main: any;
558
+ } | {
559
+ type: "workflow-v1";
560
+ main: {
561
+ type: "relative";
562
+ path: string;
563
+ };
564
+ };
565
+ model: {
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
+ ui: {
613
+ type: "relative";
614
+ path: string;
615
+ };
616
+ workflow: {
617
+ type: "relative";
618
+ path: string;
619
+ } | {
620
+ type: "workflow-v1";
621
+ main: {
622
+ type: "relative";
623
+ path: string;
624
+ };
625
+ };
626
+ model: {
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 ManifestFileInfo: z.ZodObject<{
674
+ name: z.ZodString;
675
+ size: z.ZodNumber;
676
+ sha256: z.ZodString;
677
+ }, "strip", z.ZodTypeAny, {
678
+ name: string;
679
+ size: number;
680
+ sha256: string;
681
+ }, {
682
+ name: string;
683
+ size: number;
684
+ sha256: string;
685
+ }>;
686
+ export type ManifestFileInfo = z.infer<typeof ManifestFileInfo>;
687
+ export declare const BlockPackManifest: z.ZodObject<{
688
+ schema: z.ZodLiteral<"v2">;
689
+ description: z.ZodObject<{
690
+ id: z.ZodObject<{
691
+ organization: z.ZodString;
692
+ name: z.ZodString;
693
+ version: z.ZodString;
694
+ }, "strict", z.ZodTypeAny, {
695
+ organization: string;
696
+ name: string;
697
+ version: string;
698
+ }, {
699
+ organization: string;
700
+ name: string;
701
+ version: string;
702
+ }>;
703
+ components: z.ZodObject<{
704
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
705
+ type: z.ZodLiteral<"relative">;
706
+ path: z.ZodString;
707
+ }, "strict", z.ZodTypeAny, {
708
+ type: "relative";
709
+ path: string;
710
+ }, {
711
+ type: "relative";
712
+ path: string;
713
+ }>, {
714
+ type: string;
715
+ main: any;
716
+ }, {
717
+ type: "relative";
718
+ path: string;
719
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
720
+ type: z.ZodLiteral<"workflow-v1">;
721
+ main: z.ZodObject<{
722
+ type: z.ZodLiteral<"relative">;
723
+ path: z.ZodString;
724
+ }, "strict", z.ZodTypeAny, {
725
+ type: "relative";
726
+ path: string;
727
+ }, {
728
+ type: "relative";
729
+ path: string;
730
+ }>;
731
+ }, "strip", z.ZodTypeAny, {
732
+ type: "workflow-v1";
733
+ main: {
734
+ type: "relative";
735
+ path: string;
736
+ };
737
+ }, {
738
+ type: "workflow-v1";
739
+ main: {
740
+ type: "relative";
741
+ path: string;
742
+ };
743
+ }>]>]>;
744
+ model: z.ZodObject<{
745
+ type: z.ZodLiteral<"relative">;
746
+ path: z.ZodString;
747
+ }, "strict", z.ZodTypeAny, {
748
+ type: "relative";
749
+ path: string;
750
+ }, {
751
+ type: "relative";
752
+ path: string;
753
+ }>;
754
+ ui: z.ZodObject<{
755
+ type: z.ZodLiteral<"relative">;
756
+ path: z.ZodString;
757
+ }, "strict", z.ZodTypeAny, {
758
+ type: "relative";
759
+ path: string;
760
+ }, {
761
+ type: "relative";
762
+ path: string;
763
+ }>;
764
+ }, "strip", z.ZodTypeAny, {
765
+ ui: {
766
+ type: "relative";
767
+ path: string;
768
+ };
769
+ workflow: {
770
+ type: string;
771
+ main: any;
772
+ } | {
773
+ type: "workflow-v1";
774
+ main: {
775
+ type: "relative";
776
+ path: string;
777
+ };
778
+ };
779
+ model: {
780
+ type: "relative";
781
+ path: string;
782
+ };
783
+ }, {
784
+ ui: {
785
+ type: "relative";
786
+ path: string;
787
+ };
788
+ workflow: {
789
+ type: "relative";
790
+ path: string;
791
+ } | {
792
+ type: "workflow-v1";
793
+ main: {
794
+ type: "relative";
795
+ path: string;
796
+ };
797
+ };
798
+ model: {
799
+ type: "relative";
800
+ path: string;
801
+ };
802
+ }>;
803
+ meta: z.ZodObject<{
804
+ title: z.ZodString;
805
+ description: z.ZodString;
806
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
807
+ type: z.ZodLiteral<"explicit-string">;
808
+ content: z.ZodString;
809
+ }, "strict", z.ZodTypeAny, {
810
+ type: "explicit-string";
811
+ content: string;
812
+ }, {
813
+ type: "explicit-string";
814
+ content: string;
815
+ }>, 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
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
826
+ type: z.ZodLiteral<"explicit-base64">;
827
+ mimeType: z.ZodString;
828
+ content: z.ZodString;
829
+ }, "strict", z.ZodTypeAny, {
830
+ type: "explicit-base64";
831
+ content: string;
832
+ mimeType: string;
833
+ }, {
834
+ type: "explicit-base64";
835
+ content: string;
836
+ mimeType: string;
837
+ }>, z.ZodObject<{
838
+ type: z.ZodLiteral<"relative">;
839
+ path: z.ZodString;
840
+ }, "strict", z.ZodTypeAny, {
841
+ type: "relative";
842
+ path: string;
843
+ }, {
844
+ type: "relative";
845
+ path: string;
846
+ }>]>>;
847
+ url: z.ZodOptional<z.ZodString>;
848
+ docs: z.ZodOptional<z.ZodString>;
849
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
850
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
851
+ organization: z.ZodObject<{
852
+ name: z.ZodString;
853
+ url: z.ZodString;
854
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
855
+ type: z.ZodLiteral<"explicit-base64">;
856
+ mimeType: z.ZodString;
857
+ content: z.ZodString;
858
+ }, "strict", z.ZodTypeAny, {
859
+ type: "explicit-base64";
860
+ content: string;
861
+ mimeType: string;
862
+ }, {
863
+ type: "explicit-base64";
864
+ content: string;
865
+ mimeType: string;
866
+ }>, z.ZodObject<{
867
+ type: z.ZodLiteral<"relative">;
868
+ path: z.ZodString;
869
+ }, "strict", z.ZodTypeAny, {
870
+ type: "relative";
871
+ path: string;
872
+ }, {
873
+ type: "relative";
874
+ path: string;
875
+ }>]>>;
876
+ }, "strip", z.ZodTypeAny, {
877
+ url: string;
878
+ name: string;
879
+ logo?: {
880
+ type: "explicit-base64";
881
+ content: string;
882
+ mimeType: string;
883
+ } | {
884
+ type: "relative";
885
+ path: string;
886
+ } | undefined;
887
+ }, {
888
+ url: string;
889
+ name: string;
890
+ logo?: {
891
+ type: "explicit-base64";
892
+ content: string;
893
+ mimeType: string;
894
+ } | {
895
+ type: "relative";
896
+ path: string;
897
+ } | undefined;
898
+ }>;
899
+ }, "strip", z.ZodTypeAny, {
900
+ organization: {
901
+ url: string;
902
+ name: string;
903
+ logo?: {
904
+ type: "explicit-base64";
905
+ content: string;
906
+ mimeType: string;
907
+ } | {
908
+ type: "relative";
909
+ path: string;
910
+ } | undefined;
911
+ };
912
+ title: string;
913
+ description: string;
914
+ url?: string | undefined;
915
+ longDescription?: {
916
+ type: "explicit-string";
917
+ content: string;
918
+ } | {
919
+ type: "relative";
920
+ path: string;
921
+ } | undefined;
922
+ logo?: {
923
+ type: "explicit-base64";
924
+ content: string;
925
+ mimeType: string;
926
+ } | {
927
+ type: "relative";
928
+ path: string;
929
+ } | undefined;
930
+ docs?: string | undefined;
931
+ support?: string | undefined;
932
+ tags?: string[] | undefined;
933
+ }, {
934
+ organization: {
935
+ url: string;
936
+ name: string;
937
+ logo?: {
938
+ type: "explicit-base64";
939
+ content: string;
940
+ mimeType: string;
941
+ } | {
942
+ type: "relative";
943
+ path: string;
944
+ } | undefined;
945
+ };
946
+ title: string;
947
+ description: string;
948
+ url?: string | undefined;
949
+ longDescription?: {
950
+ type: "explicit-string";
951
+ content: string;
952
+ } | {
953
+ type: "relative";
954
+ path: string;
955
+ } | undefined;
956
+ logo?: {
957
+ type: "explicit-base64";
958
+ content: string;
959
+ mimeType: string;
960
+ } | {
961
+ type: "relative";
962
+ path: string;
963
+ } | undefined;
964
+ docs?: string | undefined;
965
+ support?: string | undefined;
966
+ tags?: string[] | undefined;
967
+ }>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ components: {
970
+ ui: {
971
+ type: "relative";
972
+ path: string;
973
+ };
974
+ workflow: {
975
+ type: string;
976
+ main: any;
977
+ } | {
978
+ type: "workflow-v1";
979
+ main: {
980
+ type: "relative";
981
+ path: string;
982
+ };
983
+ };
984
+ model: {
985
+ type: "relative";
986
+ path: string;
987
+ };
988
+ };
989
+ meta: {
990
+ organization: {
991
+ url: string;
992
+ name: string;
993
+ logo?: {
994
+ type: "explicit-base64";
995
+ content: string;
996
+ mimeType: string;
997
+ } | {
998
+ type: "relative";
999
+ path: string;
1000
+ } | undefined;
1001
+ };
1002
+ title: string;
1003
+ description: string;
1004
+ url?: string | undefined;
1005
+ longDescription?: {
1006
+ type: "explicit-string";
1007
+ content: string;
1008
+ } | {
1009
+ type: "relative";
1010
+ path: string;
1011
+ } | undefined;
1012
+ logo?: {
1013
+ type: "explicit-base64";
1014
+ content: string;
1015
+ mimeType: string;
1016
+ } | {
1017
+ type: "relative";
1018
+ path: string;
1019
+ } | undefined;
1020
+ docs?: string | undefined;
1021
+ support?: string | undefined;
1022
+ tags?: string[] | undefined;
1023
+ };
1024
+ id: {
1025
+ organization: string;
1026
+ name: string;
1027
+ version: string;
1028
+ };
1029
+ }, {
1030
+ components: {
1031
+ ui: {
1032
+ type: "relative";
1033
+ path: string;
1034
+ };
1035
+ workflow: {
1036
+ type: "relative";
1037
+ path: string;
1038
+ } | {
1039
+ type: "workflow-v1";
1040
+ main: {
1041
+ type: "relative";
1042
+ path: string;
1043
+ };
1044
+ };
1045
+ model: {
1046
+ type: "relative";
1047
+ path: string;
1048
+ };
1049
+ };
1050
+ meta: {
1051
+ organization: {
1052
+ url: string;
1053
+ name: string;
1054
+ logo?: {
1055
+ type: "explicit-base64";
1056
+ content: string;
1057
+ mimeType: string;
1058
+ } | {
1059
+ type: "relative";
1060
+ path: string;
1061
+ } | undefined;
1062
+ };
1063
+ title: string;
1064
+ description: string;
1065
+ url?: string | undefined;
1066
+ longDescription?: {
1067
+ type: "explicit-string";
1068
+ content: string;
1069
+ } | {
1070
+ type: "relative";
1071
+ path: string;
1072
+ } | undefined;
1073
+ logo?: {
1074
+ type: "explicit-base64";
1075
+ content: string;
1076
+ mimeType: string;
1077
+ } | {
1078
+ type: "relative";
1079
+ path: string;
1080
+ } | undefined;
1081
+ docs?: string | undefined;
1082
+ support?: string | undefined;
1083
+ tags?: string[] | undefined;
1084
+ };
1085
+ id: {
1086
+ organization: string;
1087
+ name: string;
1088
+ version: string;
1089
+ };
1090
+ }>;
1091
+ files: z.ZodArray<z.ZodObject<{
1092
+ name: z.ZodString;
1093
+ size: z.ZodNumber;
1094
+ sha256: z.ZodString;
1095
+ }, "strip", z.ZodTypeAny, {
1096
+ name: string;
1097
+ size: number;
1098
+ sha256: string;
1099
+ }, {
1100
+ name: string;
1101
+ size: number;
1102
+ sha256: string;
1103
+ }>, "many">;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ description: {
1106
+ components: {
1107
+ ui: {
1108
+ type: "relative";
1109
+ path: string;
1110
+ };
1111
+ workflow: {
1112
+ type: string;
1113
+ main: any;
1114
+ } | {
1115
+ type: "workflow-v1";
1116
+ main: {
1117
+ type: "relative";
1118
+ path: string;
1119
+ };
1120
+ };
1121
+ model: {
1122
+ type: "relative";
1123
+ path: string;
1124
+ };
1125
+ };
1126
+ meta: {
1127
+ organization: {
1128
+ url: string;
1129
+ name: string;
1130
+ logo?: {
1131
+ type: "explicit-base64";
1132
+ content: string;
1133
+ mimeType: string;
1134
+ } | {
1135
+ type: "relative";
1136
+ path: string;
1137
+ } | undefined;
1138
+ };
1139
+ title: string;
1140
+ description: string;
1141
+ url?: string | undefined;
1142
+ longDescription?: {
1143
+ type: "explicit-string";
1144
+ content: string;
1145
+ } | {
1146
+ type: "relative";
1147
+ path: string;
1148
+ } | undefined;
1149
+ logo?: {
1150
+ type: "explicit-base64";
1151
+ content: string;
1152
+ mimeType: string;
1153
+ } | {
1154
+ type: "relative";
1155
+ path: string;
1156
+ } | undefined;
1157
+ docs?: string | undefined;
1158
+ support?: string | undefined;
1159
+ tags?: string[] | undefined;
1160
+ };
1161
+ id: {
1162
+ organization: string;
1163
+ name: string;
1164
+ version: string;
1165
+ };
1166
+ };
1167
+ schema: "v2";
1168
+ files: {
1169
+ name: string;
1170
+ size: number;
1171
+ sha256: string;
1172
+ }[];
1173
+ }, {
1174
+ description: {
1175
+ components: {
1176
+ ui: {
1177
+ type: "relative";
1178
+ path: string;
1179
+ };
1180
+ workflow: {
1181
+ type: "relative";
1182
+ path: string;
1183
+ } | {
1184
+ type: "workflow-v1";
1185
+ main: {
1186
+ type: "relative";
1187
+ path: string;
1188
+ };
1189
+ };
1190
+ model: {
1191
+ type: "relative";
1192
+ path: string;
1193
+ };
1194
+ };
1195
+ meta: {
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
+ id: {
1231
+ organization: string;
1232
+ name: string;
1233
+ version: string;
1234
+ };
1235
+ };
1236
+ schema: "v2";
1237
+ files: {
1238
+ name: string;
1239
+ size: number;
1240
+ sha256: string;
1241
+ }[];
1242
+ }>;
1243
+ export type BlockPackManifest = z.infer<typeof BlockPackManifest>;
1244
+ export declare const BlockPackManifestFile = "manifest.json";
1245
+ //# sourceMappingURL=block_manifest.d.ts.map