@milaboratories/pl-model-middle-layer 1.2.19 → 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 +3 -3
  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,872 @@
1
+ import { z, ZodTypeAny } from 'zod';
2
+ /** Description, as appears in root block package.json file,
3
+ * `file:` references are parsed into relative content of corresponding type, depending on the context,
4
+ * strings are converted to explicit content type. */
5
+ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
6
+ components: z.ZodObject<{
7
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, {
8
+ type: string;
9
+ main: any;
10
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11
+ type: z.ZodLiteral<"workflow-v1">;
12
+ main: z.ZodString;
13
+ }, "strip", z.ZodTypeAny, {
14
+ type: "workflow-v1";
15
+ main: string;
16
+ }, {
17
+ type: "workflow-v1";
18
+ main: string;
19
+ }>]>]>;
20
+ model: z.ZodString;
21
+ ui: z.ZodString;
22
+ }, "strip", z.ZodTypeAny, {
23
+ ui: string;
24
+ workflow: {
25
+ type: string;
26
+ main: any;
27
+ } | {
28
+ type: "workflow-v1";
29
+ main: string;
30
+ };
31
+ model: string;
32
+ }, {
33
+ ui: string;
34
+ workflow: string | {
35
+ type: "workflow-v1";
36
+ main: string;
37
+ };
38
+ model: string;
39
+ }>;
40
+ meta: z.ZodObject<{
41
+ title: z.ZodString;
42
+ description: z.ZodString;
43
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
44
+ type: "explicit-string";
45
+ content: string;
46
+ } | {
47
+ type: "relative";
48
+ path: string;
49
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
50
+ type: z.ZodLiteral<"explicit-string">;
51
+ content: z.ZodString;
52
+ }, "strict", z.ZodTypeAny, {
53
+ type: "explicit-string";
54
+ content: string;
55
+ }, {
56
+ type: "explicit-string";
57
+ content: string;
58
+ }>, z.ZodObject<{
59
+ type: z.ZodLiteral<"relative">;
60
+ path: z.ZodString;
61
+ }, "strict", z.ZodTypeAny, {
62
+ type: "relative";
63
+ path: string;
64
+ }, {
65
+ type: "relative";
66
+ path: string;
67
+ }>, z.ZodObject<{
68
+ type: z.ZodLiteral<"absolute-file">;
69
+ file: z.ZodString;
70
+ }, "strict", z.ZodTypeAny, {
71
+ type: "absolute-file";
72
+ file: string;
73
+ }, {
74
+ type: "absolute-file";
75
+ file: string;
76
+ }>]>]>>;
77
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
78
+ type: "explicit-base64";
79
+ content: string;
80
+ mimeType: string;
81
+ } | {
82
+ type: "relative";
83
+ path: string;
84
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85
+ type: z.ZodLiteral<"explicit-base64">;
86
+ mimeType: z.ZodString;
87
+ content: z.ZodString;
88
+ }, "strict", z.ZodTypeAny, {
89
+ type: "explicit-base64";
90
+ content: string;
91
+ mimeType: string;
92
+ }, {
93
+ type: "explicit-base64";
94
+ content: string;
95
+ mimeType: string;
96
+ }>, z.ZodObject<{
97
+ type: z.ZodLiteral<"relative">;
98
+ path: z.ZodString;
99
+ }, "strict", z.ZodTypeAny, {
100
+ type: "relative";
101
+ path: string;
102
+ }, {
103
+ type: "relative";
104
+ path: string;
105
+ }>, z.ZodObject<{
106
+ type: z.ZodLiteral<"absolute-file">;
107
+ file: z.ZodString;
108
+ }, "strict", z.ZodTypeAny, {
109
+ type: "absolute-file";
110
+ file: string;
111
+ }, {
112
+ type: "absolute-file";
113
+ file: string;
114
+ }>]>]>>;
115
+ url: z.ZodOptional<z.ZodString>;
116
+ docs: z.ZodOptional<z.ZodString>;
117
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
118
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
119
+ organization: z.ZodObject<{
120
+ name: z.ZodString;
121
+ url: z.ZodString;
122
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
123
+ type: "explicit-base64";
124
+ content: string;
125
+ mimeType: string;
126
+ } | {
127
+ type: "relative";
128
+ path: string;
129
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
130
+ type: z.ZodLiteral<"explicit-base64">;
131
+ mimeType: z.ZodString;
132
+ content: z.ZodString;
133
+ }, "strict", z.ZodTypeAny, {
134
+ type: "explicit-base64";
135
+ content: string;
136
+ mimeType: string;
137
+ }, {
138
+ type: "explicit-base64";
139
+ content: string;
140
+ mimeType: string;
141
+ }>, z.ZodObject<{
142
+ type: z.ZodLiteral<"relative">;
143
+ path: z.ZodString;
144
+ }, "strict", z.ZodTypeAny, {
145
+ type: "relative";
146
+ path: string;
147
+ }, {
148
+ type: "relative";
149
+ path: string;
150
+ }>, z.ZodObject<{
151
+ type: z.ZodLiteral<"absolute-file">;
152
+ file: z.ZodString;
153
+ }, "strict", z.ZodTypeAny, {
154
+ type: "absolute-file";
155
+ file: string;
156
+ }, {
157
+ type: "absolute-file";
158
+ file: string;
159
+ }>]>]>>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ url: string;
162
+ name: string;
163
+ logo?: {
164
+ type: "explicit-base64";
165
+ content: string;
166
+ mimeType: string;
167
+ } | {
168
+ type: "relative";
169
+ path: string;
170
+ } | {
171
+ type: "absolute-file";
172
+ file: string;
173
+ } | undefined;
174
+ }, {
175
+ url: string;
176
+ name: string;
177
+ logo?: string | {
178
+ type: "explicit-base64";
179
+ content: string;
180
+ mimeType: string;
181
+ } | {
182
+ type: "relative";
183
+ path: string;
184
+ } | {
185
+ type: "absolute-file";
186
+ file: string;
187
+ } | undefined;
188
+ }>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ organization: {
191
+ url: string;
192
+ name: string;
193
+ logo?: {
194
+ type: "explicit-base64";
195
+ content: string;
196
+ mimeType: string;
197
+ } | {
198
+ type: "relative";
199
+ path: string;
200
+ } | {
201
+ type: "absolute-file";
202
+ file: string;
203
+ } | undefined;
204
+ };
205
+ title: string;
206
+ description: string;
207
+ url?: string | undefined;
208
+ longDescription?: {
209
+ type: "explicit-string";
210
+ content: string;
211
+ } | {
212
+ type: "relative";
213
+ path: string;
214
+ } | {
215
+ type: "absolute-file";
216
+ file: string;
217
+ } | undefined;
218
+ logo?: {
219
+ type: "explicit-base64";
220
+ content: string;
221
+ mimeType: string;
222
+ } | {
223
+ type: "relative";
224
+ path: string;
225
+ } | {
226
+ type: "absolute-file";
227
+ file: string;
228
+ } | undefined;
229
+ docs?: string | undefined;
230
+ support?: string | undefined;
231
+ tags?: string[] | undefined;
232
+ }, {
233
+ organization: {
234
+ url: string;
235
+ name: string;
236
+ logo?: string | {
237
+ type: "explicit-base64";
238
+ content: string;
239
+ mimeType: string;
240
+ } | {
241
+ type: "relative";
242
+ path: string;
243
+ } | {
244
+ type: "absolute-file";
245
+ file: string;
246
+ } | undefined;
247
+ };
248
+ title: string;
249
+ description: string;
250
+ url?: string | undefined;
251
+ longDescription?: string | {
252
+ type: "explicit-string";
253
+ content: string;
254
+ } | {
255
+ type: "relative";
256
+ path: string;
257
+ } | {
258
+ type: "absolute-file";
259
+ file: string;
260
+ } | undefined;
261
+ logo?: string | {
262
+ type: "explicit-base64";
263
+ content: string;
264
+ mimeType: string;
265
+ } | {
266
+ type: "relative";
267
+ path: string;
268
+ } | {
269
+ type: "absolute-file";
270
+ file: string;
271
+ } | undefined;
272
+ docs?: string | undefined;
273
+ support?: string | undefined;
274
+ tags?: string[] | undefined;
275
+ }>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ components: {
278
+ ui: string;
279
+ workflow: {
280
+ type: string;
281
+ main: any;
282
+ } | {
283
+ type: "workflow-v1";
284
+ main: string;
285
+ };
286
+ model: string;
287
+ };
288
+ meta: {
289
+ organization: {
290
+ url: string;
291
+ name: string;
292
+ logo?: {
293
+ type: "explicit-base64";
294
+ content: string;
295
+ mimeType: string;
296
+ } | {
297
+ type: "relative";
298
+ path: string;
299
+ } | {
300
+ type: "absolute-file";
301
+ file: string;
302
+ } | undefined;
303
+ };
304
+ title: string;
305
+ description: string;
306
+ url?: string | undefined;
307
+ longDescription?: {
308
+ type: "explicit-string";
309
+ content: string;
310
+ } | {
311
+ type: "relative";
312
+ path: string;
313
+ } | {
314
+ type: "absolute-file";
315
+ file: string;
316
+ } | undefined;
317
+ logo?: {
318
+ type: "explicit-base64";
319
+ content: string;
320
+ mimeType: string;
321
+ } | {
322
+ type: "relative";
323
+ path: string;
324
+ } | {
325
+ type: "absolute-file";
326
+ file: string;
327
+ } | undefined;
328
+ docs?: string | undefined;
329
+ support?: string | undefined;
330
+ tags?: string[] | undefined;
331
+ };
332
+ }, {
333
+ components: {
334
+ ui: string;
335
+ workflow: string | {
336
+ type: "workflow-v1";
337
+ main: string;
338
+ };
339
+ model: string;
340
+ };
341
+ meta: {
342
+ organization: {
343
+ url: string;
344
+ name: string;
345
+ logo?: string | {
346
+ type: "explicit-base64";
347
+ content: string;
348
+ mimeType: string;
349
+ } | {
350
+ type: "relative";
351
+ path: string;
352
+ } | {
353
+ type: "absolute-file";
354
+ file: string;
355
+ } | undefined;
356
+ };
357
+ title: string;
358
+ description: string;
359
+ url?: string | undefined;
360
+ longDescription?: string | {
361
+ type: "explicit-string";
362
+ content: string;
363
+ } | {
364
+ type: "relative";
365
+ path: string;
366
+ } | {
367
+ type: "absolute-file";
368
+ file: string;
369
+ } | undefined;
370
+ logo?: string | {
371
+ type: "explicit-base64";
372
+ content: string;
373
+ mimeType: string;
374
+ } | {
375
+ type: "relative";
376
+ path: string;
377
+ } | {
378
+ type: "absolute-file";
379
+ file: string;
380
+ } | undefined;
381
+ docs?: string | undefined;
382
+ support?: string | undefined;
383
+ tags?: string[] | undefined;
384
+ };
385
+ }>;
386
+ export declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny, Meta extends ZodTypeAny>(components: Components, meta: Meta): z.ZodObject<{
387
+ id: z.ZodObject<{
388
+ organization: z.ZodString;
389
+ name: z.ZodString;
390
+ version: z.ZodString;
391
+ }, "strict", z.ZodTypeAny, {
392
+ organization: string;
393
+ name: string;
394
+ version: string;
395
+ }, {
396
+ organization: string;
397
+ name: string;
398
+ version: string;
399
+ }>;
400
+ components: Components;
401
+ meta: Meta;
402
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
403
+ id: z.ZodObject<{
404
+ organization: z.ZodString;
405
+ name: z.ZodString;
406
+ version: z.ZodString;
407
+ }, "strict", z.ZodTypeAny, {
408
+ organization: string;
409
+ name: string;
410
+ version: string;
411
+ }, {
412
+ organization: string;
413
+ name: string;
414
+ version: string;
415
+ }>;
416
+ components: Components;
417
+ meta: Meta;
418
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
419
+ id: z.ZodObject<{
420
+ organization: z.ZodString;
421
+ name: z.ZodString;
422
+ version: z.ZodString;
423
+ }, "strict", z.ZodTypeAny, {
424
+ organization: string;
425
+ name: string;
426
+ version: string;
427
+ }, {
428
+ organization: string;
429
+ name: string;
430
+ version: string;
431
+ }>;
432
+ components: Components;
433
+ meta: Meta;
434
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
435
+ id: z.ZodObject<{
436
+ organization: z.ZodString;
437
+ name: z.ZodString;
438
+ version: z.ZodString;
439
+ }, "strict", z.ZodTypeAny, {
440
+ organization: string;
441
+ name: string;
442
+ version: string;
443
+ }, {
444
+ organization: string;
445
+ name: string;
446
+ version: string;
447
+ }>;
448
+ components: Components;
449
+ meta: Meta;
450
+ }>]: z.baseObjectInputType<{
451
+ id: z.ZodObject<{
452
+ organization: z.ZodString;
453
+ name: z.ZodString;
454
+ version: z.ZodString;
455
+ }, "strict", z.ZodTypeAny, {
456
+ organization: string;
457
+ name: string;
458
+ version: string;
459
+ }, {
460
+ organization: string;
461
+ name: string;
462
+ version: string;
463
+ }>;
464
+ components: Components;
465
+ meta: Meta;
466
+ }>[k_1]; }>;
467
+ export declare const BlockPackDescriptionRaw: z.ZodObject<{
468
+ id: z.ZodObject<{
469
+ organization: z.ZodString;
470
+ name: z.ZodString;
471
+ version: z.ZodString;
472
+ }, "strict", z.ZodTypeAny, {
473
+ organization: string;
474
+ name: string;
475
+ version: string;
476
+ }, {
477
+ organization: string;
478
+ name: string;
479
+ version: string;
480
+ }>;
481
+ components: z.ZodObject<{
482
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, {
483
+ type: string;
484
+ main: any;
485
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
486
+ type: z.ZodLiteral<"workflow-v1">;
487
+ main: z.ZodString;
488
+ }, "strip", z.ZodTypeAny, {
489
+ type: "workflow-v1";
490
+ main: string;
491
+ }, {
492
+ type: "workflow-v1";
493
+ main: string;
494
+ }>]>]>;
495
+ model: z.ZodString;
496
+ ui: z.ZodString;
497
+ }, "strip", z.ZodTypeAny, {
498
+ ui: string;
499
+ workflow: {
500
+ type: string;
501
+ main: any;
502
+ } | {
503
+ type: "workflow-v1";
504
+ main: string;
505
+ };
506
+ model: string;
507
+ }, {
508
+ ui: string;
509
+ workflow: string | {
510
+ type: "workflow-v1";
511
+ main: string;
512
+ };
513
+ model: string;
514
+ }>;
515
+ meta: z.ZodObject<{
516
+ title: z.ZodString;
517
+ description: z.ZodString;
518
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
519
+ type: "explicit-string";
520
+ content: string;
521
+ } | {
522
+ type: "relative";
523
+ path: string;
524
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
525
+ type: z.ZodLiteral<"explicit-string">;
526
+ content: z.ZodString;
527
+ }, "strict", z.ZodTypeAny, {
528
+ type: "explicit-string";
529
+ content: string;
530
+ }, {
531
+ type: "explicit-string";
532
+ content: string;
533
+ }>, z.ZodObject<{
534
+ type: z.ZodLiteral<"relative">;
535
+ path: z.ZodString;
536
+ }, "strict", z.ZodTypeAny, {
537
+ type: "relative";
538
+ path: string;
539
+ }, {
540
+ type: "relative";
541
+ path: string;
542
+ }>, z.ZodObject<{
543
+ type: z.ZodLiteral<"absolute-file">;
544
+ file: z.ZodString;
545
+ }, "strict", z.ZodTypeAny, {
546
+ type: "absolute-file";
547
+ file: string;
548
+ }, {
549
+ type: "absolute-file";
550
+ file: string;
551
+ }>]>]>>;
552
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
553
+ type: "explicit-base64";
554
+ content: string;
555
+ mimeType: string;
556
+ } | {
557
+ type: "relative";
558
+ path: string;
559
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
560
+ type: z.ZodLiteral<"explicit-base64">;
561
+ mimeType: z.ZodString;
562
+ content: z.ZodString;
563
+ }, "strict", z.ZodTypeAny, {
564
+ type: "explicit-base64";
565
+ content: string;
566
+ mimeType: string;
567
+ }, {
568
+ type: "explicit-base64";
569
+ content: string;
570
+ mimeType: string;
571
+ }>, z.ZodObject<{
572
+ type: z.ZodLiteral<"relative">;
573
+ path: z.ZodString;
574
+ }, "strict", z.ZodTypeAny, {
575
+ type: "relative";
576
+ path: string;
577
+ }, {
578
+ type: "relative";
579
+ path: string;
580
+ }>, z.ZodObject<{
581
+ type: z.ZodLiteral<"absolute-file">;
582
+ file: z.ZodString;
583
+ }, "strict", z.ZodTypeAny, {
584
+ type: "absolute-file";
585
+ file: string;
586
+ }, {
587
+ type: "absolute-file";
588
+ file: string;
589
+ }>]>]>>;
590
+ url: z.ZodOptional<z.ZodString>;
591
+ docs: z.ZodOptional<z.ZodString>;
592
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
593
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
594
+ organization: z.ZodObject<{
595
+ name: z.ZodString;
596
+ url: z.ZodString;
597
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
598
+ type: "explicit-base64";
599
+ content: string;
600
+ mimeType: string;
601
+ } | {
602
+ type: "relative";
603
+ path: string;
604
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
605
+ type: z.ZodLiteral<"explicit-base64">;
606
+ mimeType: z.ZodString;
607
+ content: z.ZodString;
608
+ }, "strict", z.ZodTypeAny, {
609
+ type: "explicit-base64";
610
+ content: string;
611
+ mimeType: string;
612
+ }, {
613
+ type: "explicit-base64";
614
+ content: string;
615
+ mimeType: string;
616
+ }>, z.ZodObject<{
617
+ type: z.ZodLiteral<"relative">;
618
+ path: z.ZodString;
619
+ }, "strict", z.ZodTypeAny, {
620
+ type: "relative";
621
+ path: string;
622
+ }, {
623
+ type: "relative";
624
+ path: string;
625
+ }>, z.ZodObject<{
626
+ type: z.ZodLiteral<"absolute-file">;
627
+ file: z.ZodString;
628
+ }, "strict", z.ZodTypeAny, {
629
+ type: "absolute-file";
630
+ file: string;
631
+ }, {
632
+ type: "absolute-file";
633
+ file: string;
634
+ }>]>]>>;
635
+ }, "strip", z.ZodTypeAny, {
636
+ url: string;
637
+ name: string;
638
+ logo?: {
639
+ type: "explicit-base64";
640
+ content: string;
641
+ mimeType: string;
642
+ } | {
643
+ type: "relative";
644
+ path: string;
645
+ } | {
646
+ type: "absolute-file";
647
+ file: string;
648
+ } | undefined;
649
+ }, {
650
+ url: string;
651
+ name: string;
652
+ logo?: string | {
653
+ type: "explicit-base64";
654
+ content: string;
655
+ mimeType: string;
656
+ } | {
657
+ type: "relative";
658
+ path: string;
659
+ } | {
660
+ type: "absolute-file";
661
+ file: string;
662
+ } | undefined;
663
+ }>;
664
+ }, "strip", z.ZodTypeAny, {
665
+ organization: {
666
+ url: string;
667
+ name: string;
668
+ logo?: {
669
+ type: "explicit-base64";
670
+ content: string;
671
+ mimeType: string;
672
+ } | {
673
+ type: "relative";
674
+ path: string;
675
+ } | {
676
+ type: "absolute-file";
677
+ file: string;
678
+ } | undefined;
679
+ };
680
+ title: string;
681
+ description: string;
682
+ url?: string | undefined;
683
+ longDescription?: {
684
+ type: "explicit-string";
685
+ content: string;
686
+ } | {
687
+ type: "relative";
688
+ path: string;
689
+ } | {
690
+ type: "absolute-file";
691
+ file: string;
692
+ } | undefined;
693
+ logo?: {
694
+ type: "explicit-base64";
695
+ content: string;
696
+ mimeType: string;
697
+ } | {
698
+ type: "relative";
699
+ path: string;
700
+ } | {
701
+ type: "absolute-file";
702
+ file: string;
703
+ } | undefined;
704
+ docs?: string | undefined;
705
+ support?: string | undefined;
706
+ tags?: string[] | undefined;
707
+ }, {
708
+ organization: {
709
+ url: string;
710
+ name: string;
711
+ logo?: string | {
712
+ type: "explicit-base64";
713
+ content: string;
714
+ mimeType: string;
715
+ } | {
716
+ type: "relative";
717
+ path: string;
718
+ } | {
719
+ type: "absolute-file";
720
+ file: string;
721
+ } | undefined;
722
+ };
723
+ title: string;
724
+ description: string;
725
+ url?: string | undefined;
726
+ longDescription?: string | {
727
+ type: "explicit-string";
728
+ content: string;
729
+ } | {
730
+ type: "relative";
731
+ path: string;
732
+ } | {
733
+ type: "absolute-file";
734
+ file: string;
735
+ } | undefined;
736
+ logo?: string | {
737
+ type: "explicit-base64";
738
+ content: string;
739
+ mimeType: string;
740
+ } | {
741
+ type: "relative";
742
+ path: string;
743
+ } | {
744
+ type: "absolute-file";
745
+ file: string;
746
+ } | undefined;
747
+ docs?: string | undefined;
748
+ support?: string | undefined;
749
+ tags?: string[] | undefined;
750
+ }>;
751
+ }, "strip", z.ZodTypeAny, {
752
+ components: {
753
+ ui: string;
754
+ workflow: {
755
+ type: string;
756
+ main: any;
757
+ } | {
758
+ type: "workflow-v1";
759
+ main: string;
760
+ };
761
+ model: string;
762
+ };
763
+ meta: {
764
+ organization: {
765
+ url: string;
766
+ name: string;
767
+ logo?: {
768
+ type: "explicit-base64";
769
+ content: string;
770
+ mimeType: string;
771
+ } | {
772
+ type: "relative";
773
+ path: string;
774
+ } | {
775
+ type: "absolute-file";
776
+ file: string;
777
+ } | undefined;
778
+ };
779
+ title: string;
780
+ description: string;
781
+ url?: string | undefined;
782
+ longDescription?: {
783
+ type: "explicit-string";
784
+ content: string;
785
+ } | {
786
+ type: "relative";
787
+ path: string;
788
+ } | {
789
+ type: "absolute-file";
790
+ file: string;
791
+ } | undefined;
792
+ logo?: {
793
+ type: "explicit-base64";
794
+ content: string;
795
+ mimeType: string;
796
+ } | {
797
+ type: "relative";
798
+ path: string;
799
+ } | {
800
+ type: "absolute-file";
801
+ file: string;
802
+ } | undefined;
803
+ docs?: string | undefined;
804
+ support?: string | undefined;
805
+ tags?: string[] | undefined;
806
+ };
807
+ id: {
808
+ organization: string;
809
+ name: string;
810
+ version: string;
811
+ };
812
+ }, {
813
+ components: {
814
+ ui: string;
815
+ workflow: string | {
816
+ type: "workflow-v1";
817
+ main: string;
818
+ };
819
+ model: string;
820
+ };
821
+ meta: {
822
+ organization: {
823
+ url: string;
824
+ name: string;
825
+ logo?: string | {
826
+ type: "explicit-base64";
827
+ content: string;
828
+ mimeType: string;
829
+ } | {
830
+ type: "relative";
831
+ path: string;
832
+ } | {
833
+ type: "absolute-file";
834
+ file: string;
835
+ } | undefined;
836
+ };
837
+ title: string;
838
+ description: string;
839
+ url?: string | undefined;
840
+ longDescription?: string | {
841
+ type: "explicit-string";
842
+ content: string;
843
+ } | {
844
+ type: "relative";
845
+ path: string;
846
+ } | {
847
+ type: "absolute-file";
848
+ file: string;
849
+ } | undefined;
850
+ logo?: string | {
851
+ type: "explicit-base64";
852
+ content: string;
853
+ mimeType: string;
854
+ } | {
855
+ type: "relative";
856
+ path: string;
857
+ } | {
858
+ type: "absolute-file";
859
+ file: string;
860
+ } | undefined;
861
+ docs?: string | undefined;
862
+ support?: string | undefined;
863
+ tags?: string[] | undefined;
864
+ };
865
+ id: {
866
+ organization: string;
867
+ name: string;
868
+ version: string;
869
+ };
870
+ }>;
871
+ export type BlockPackDescriptionRaw = z.infer<typeof BlockPackDescriptionRaw>;
872
+ //# sourceMappingURL=block_description.d.ts.map