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