@milaboratories/pl-model-middle-layer 1.5.13 → 1.6.1

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.
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  /**
3
3
  * Latest information about specific block pack. Contain information about latest version of the package.
4
4
  * */
5
- export declare const BlockPackOverview: z.ZodObject<{
5
+ export declare const BlockPackOverviewLegacy: z.ZodObject<{
6
6
  registryId: z.ZodString;
7
7
  id: z.ZodObject<{
8
8
  organization: z.ZodString;
@@ -194,6 +194,7 @@ export declare const BlockPackOverview: z.ZodObject<{
194
194
  name: string;
195
195
  version: string;
196
196
  }>;
197
+ channel: z.ZodOptional<z.ZodString>;
197
198
  }, "strip", z.ZodTypeAny, {
198
199
  type: "from-registry-v2";
199
200
  id: {
@@ -202,6 +203,7 @@ export declare const BlockPackOverview: z.ZodObject<{
202
203
  version: string;
203
204
  };
204
205
  registryUrl: string;
206
+ channel?: string | undefined;
205
207
  }, {
206
208
  type: "from-registry-v2";
207
209
  id: {
@@ -210,6 +212,7 @@ export declare const BlockPackOverview: z.ZodObject<{
210
212
  version: string;
211
213
  };
212
214
  registryUrl: string;
215
+ channel?: string | undefined;
213
216
  }>]>;
214
217
  otherVersions: z.ZodArray<z.ZodString, "many">;
215
218
  }, "strip", z.ZodTypeAny, {
@@ -267,6 +270,7 @@ export declare const BlockPackOverview: z.ZodObject<{
267
270
  version: string;
268
271
  };
269
272
  registryUrl: string;
273
+ channel?: string | undefined;
270
274
  };
271
275
  registryId: string;
272
276
  otherVersions: string[];
@@ -325,157 +329,66 @@ export declare const BlockPackOverview: z.ZodObject<{
325
329
  version: string;
326
330
  };
327
331
  registryUrl: string;
332
+ channel?: string | undefined;
328
333
  };
329
334
  registryId: string;
330
335
  otherVersions: string[];
331
336
  }>;
332
- export type BlockPackOverview = z.infer<typeof BlockPackOverview>;
333
- export declare const RegistryStatus: z.ZodObject<z.objectUtil.extendShape<{
334
- id: z.ZodString;
335
- title: z.ZodOptional<z.ZodString>;
336
- spec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
337
- type: z.ZodLiteral<"remote-v1">;
338
- url: z.ZodString;
339
- }, "strip", z.ZodTypeAny, {
340
- type: "remote-v1";
341
- url: string;
342
- }, {
343
- type: "remote-v1";
344
- url: string;
345
- }>, z.ZodObject<{
346
- type: z.ZodLiteral<"remote-v2">;
347
- url: z.ZodString;
348
- }, "strip", z.ZodTypeAny, {
349
- type: "remote-v2";
350
- url: string;
351
- }, {
352
- type: "remote-v2";
353
- url: string;
354
- }>, z.ZodObject<{
355
- type: z.ZodLiteral<"local-dev">;
356
- path: z.ZodString;
357
- }, "strip", z.ZodTypeAny, {
358
- type: "local-dev";
359
- path: string;
360
- }, {
361
- type: "local-dev";
362
- path: string;
363
- }>]>;
364
- }, {
365
- status: z.ZodUnion<[z.ZodLiteral<"online">, z.ZodLiteral<"offline">]>;
366
- }>, "strip", z.ZodTypeAny, {
367
- status: "online" | "offline";
368
- id: string;
369
- spec: {
370
- type: "local-dev";
371
- path: string;
372
- } | {
373
- type: "remote-v1";
374
- url: string;
375
- } | {
376
- type: "remote-v2";
377
- url: string;
378
- };
379
- title?: string | undefined;
337
+ export type BlockPackOverviewLegacy = z.infer<typeof BlockPackOverviewLegacy>;
338
+ export declare const AnyChannel = "any";
339
+ export declare const StableChannel = "stable";
340
+ export declare const VersionWithChannels: z.ZodObject<{
341
+ version: z.ZodString;
342
+ channels: z.ZodArray<z.ZodString, "many">;
343
+ }, "strip", z.ZodTypeAny, {
344
+ version: string;
345
+ channels: string[];
380
346
  }, {
381
- status: "online" | "offline";
382
- id: string;
383
- spec: {
384
- type: "local-dev";
385
- path: string;
386
- } | {
387
- type: "remote-v1";
388
- url: string;
389
- } | {
390
- type: "remote-v2";
391
- url: string;
392
- };
393
- title?: string | undefined;
347
+ version: string;
348
+ channels: string[];
394
349
  }>;
395
- export type RegistryStatus = z.infer<typeof RegistryStatus>;
396
- export declare const BlockPackListing: z.ZodObject<{
397
- registries: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
398
- id: z.ZodString;
399
- title: z.ZodOptional<z.ZodString>;
400
- spec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
401
- type: z.ZodLiteral<"remote-v1">;
402
- url: z.ZodString;
403
- }, "strip", z.ZodTypeAny, {
404
- type: "remote-v1";
405
- url: string;
406
- }, {
407
- type: "remote-v1";
408
- url: string;
409
- }>, z.ZodObject<{
410
- type: z.ZodLiteral<"remote-v2">;
411
- url: z.ZodString;
412
- }, "strip", z.ZodTypeAny, {
413
- type: "remote-v2";
414
- url: string;
415
- }, {
416
- type: "remote-v2";
417
- url: string;
418
- }>, z.ZodObject<{
419
- type: z.ZodLiteral<"local-dev">;
420
- path: z.ZodString;
421
- }, "strip", z.ZodTypeAny, {
422
- type: "local-dev";
423
- path: string;
424
- }, {
425
- type: "local-dev";
426
- path: string;
427
- }>]>;
428
- }, {
429
- status: z.ZodUnion<[z.ZodLiteral<"online">, z.ZodLiteral<"offline">]>;
430
- }>, "strip", z.ZodTypeAny, {
431
- status: "online" | "offline";
432
- id: string;
433
- spec: {
434
- type: "local-dev";
435
- path: string;
436
- } | {
437
- type: "remote-v1";
438
- url: string;
439
- } | {
440
- type: "remote-v2";
441
- url: string;
442
- };
443
- title?: string | undefined;
350
+ /**
351
+ * Information about specific block pack version.
352
+ * */
353
+ export declare const SingleBlockPackOverview: z.ZodObject<{
354
+ id: z.ZodObject<{
355
+ organization: z.ZodString;
356
+ name: z.ZodString;
357
+ version: z.ZodString;
358
+ }, "strict", z.ZodTypeAny, {
359
+ organization: string;
360
+ name: string;
361
+ version: string;
444
362
  }, {
445
- status: "online" | "offline";
446
- id: string;
447
- spec: {
448
- type: "local-dev";
449
- path: string;
450
- } | {
451
- type: "remote-v1";
452
- url: string;
453
- } | {
454
- type: "remote-v2";
455
- url: string;
456
- };
457
- title?: string | undefined;
458
- }>, "many">;
459
- blockPacks: z.ZodArray<z.ZodObject<{
460
- registryId: z.ZodString;
461
- id: z.ZodObject<{
462
- organization: z.ZodString;
463
- name: z.ZodString;
464
- version: z.ZodString;
363
+ organization: string;
364
+ name: string;
365
+ version: string;
366
+ }>;
367
+ meta: z.ZodObject<{
368
+ title: z.ZodString;
369
+ description: z.ZodString;
370
+ longDescription: z.ZodOptional<z.ZodString>;
371
+ changelog: z.ZodOptional<z.ZodString>;
372
+ logo: z.ZodOptional<z.ZodObject<{
373
+ type: z.ZodLiteral<"explicit-bytes">;
374
+ mimeType: z.ZodString;
375
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
465
376
  }, "strict", z.ZodTypeAny, {
466
- organization: string;
467
- name: string;
468
- version: string;
377
+ type: "explicit-bytes";
378
+ content: Uint8Array;
379
+ mimeType: string;
469
380
  }, {
470
- organization: string;
471
- name: string;
472
- version: string;
473
- }>;
474
- meta: z.ZodObject<{
475
- title: z.ZodString;
476
- description: z.ZodString;
477
- longDescription: z.ZodOptional<z.ZodString>;
478
- changelog: z.ZodOptional<z.ZodString>;
381
+ type: "explicit-bytes";
382
+ content: Uint8Array;
383
+ mimeType: string;
384
+ }>>;
385
+ url: z.ZodOptional<z.ZodString>;
386
+ docs: z.ZodOptional<z.ZodString>;
387
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
388
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
389
+ organization: z.ZodObject<{
390
+ name: z.ZodString;
391
+ url: z.ZodString;
479
392
  logo: z.ZodOptional<z.ZodObject<{
480
393
  type: z.ZodLiteral<"explicit-bytes">;
481
394
  mimeType: z.ZodString;
@@ -489,89 +402,411 @@ export declare const BlockPackListing: z.ZodObject<{
489
402
  content: Uint8Array;
490
403
  mimeType: string;
491
404
  }>>;
492
- url: z.ZodOptional<z.ZodString>;
493
- docs: z.ZodOptional<z.ZodString>;
494
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
495
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
496
- organization: z.ZodObject<{
497
- name: z.ZodString;
498
- url: z.ZodString;
499
- logo: z.ZodOptional<z.ZodObject<{
500
- type: z.ZodLiteral<"explicit-bytes">;
501
- mimeType: z.ZodString;
502
- content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
503
- }, "strict", z.ZodTypeAny, {
504
- type: "explicit-bytes";
505
- content: Uint8Array;
506
- mimeType: string;
507
- }, {
508
- type: "explicit-bytes";
509
- content: Uint8Array;
510
- mimeType: string;
511
- }>>;
512
- }, "strip", z.ZodTypeAny, {
513
- url: string;
514
- name: string;
515
- logo?: {
516
- type: "explicit-bytes";
517
- content: Uint8Array;
518
- mimeType: string;
519
- } | undefined;
520
- }, {
521
- url: string;
522
- name: string;
523
- logo?: {
524
- type: "explicit-bytes";
525
- content: Uint8Array;
526
- mimeType: string;
527
- } | undefined;
528
- }>;
529
- marketplaceRanking: z.ZodOptional<z.ZodNumber>;
530
405
  }, "strip", z.ZodTypeAny, {
531
- organization: {
532
- url: string;
533
- name: string;
534
- logo?: {
535
- type: "explicit-bytes";
536
- content: Uint8Array;
537
- mimeType: string;
538
- } | undefined;
539
- };
540
- title: string;
541
- description: string;
542
- url?: string | undefined;
543
- longDescription?: string | undefined;
544
- changelog?: string | undefined;
406
+ url: string;
407
+ name: string;
545
408
  logo?: {
546
409
  type: "explicit-bytes";
547
410
  content: Uint8Array;
548
411
  mimeType: string;
549
412
  } | undefined;
550
- docs?: string | undefined;
551
- support?: string | undefined;
552
- tags?: string[] | undefined;
553
- marketplaceRanking?: number | undefined;
554
413
  }, {
555
- organization: {
556
- url: string;
557
- name: string;
558
- logo?: {
559
- type: "explicit-bytes";
560
- content: Uint8Array;
561
- mimeType: string;
562
- } | undefined;
563
- };
564
- title: string;
565
- description: string;
566
- url?: string | undefined;
567
- longDescription?: string | undefined;
568
- changelog?: string | undefined;
414
+ url: string;
415
+ name: string;
569
416
  logo?: {
570
417
  type: "explicit-bytes";
571
418
  content: Uint8Array;
572
419
  mimeType: string;
573
420
  } | undefined;
574
- docs?: string | undefined;
421
+ }>;
422
+ marketplaceRanking: z.ZodOptional<z.ZodNumber>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ organization: {
425
+ url: string;
426
+ name: string;
427
+ logo?: {
428
+ type: "explicit-bytes";
429
+ content: Uint8Array;
430
+ mimeType: string;
431
+ } | undefined;
432
+ };
433
+ title: string;
434
+ description: string;
435
+ url?: string | undefined;
436
+ longDescription?: string | undefined;
437
+ changelog?: string | undefined;
438
+ logo?: {
439
+ type: "explicit-bytes";
440
+ content: Uint8Array;
441
+ mimeType: string;
442
+ } | undefined;
443
+ docs?: string | undefined;
444
+ support?: string | undefined;
445
+ tags?: string[] | undefined;
446
+ marketplaceRanking?: number | undefined;
447
+ }, {
448
+ organization: {
449
+ url: string;
450
+ name: string;
451
+ logo?: {
452
+ type: "explicit-bytes";
453
+ content: Uint8Array;
454
+ mimeType: string;
455
+ } | undefined;
456
+ };
457
+ title: string;
458
+ description: string;
459
+ url?: string | undefined;
460
+ longDescription?: string | undefined;
461
+ changelog?: string | undefined;
462
+ logo?: {
463
+ type: "explicit-bytes";
464
+ content: Uint8Array;
465
+ mimeType: string;
466
+ } | undefined;
467
+ docs?: string | undefined;
468
+ support?: string | undefined;
469
+ tags?: string[] | undefined;
470
+ marketplaceRanking?: number | undefined;
471
+ }>;
472
+ spec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
473
+ type: z.ZodLiteral<"dev-v1">;
474
+ folder: z.ZodString;
475
+ mtime: z.ZodOptional<z.ZodString>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ type: "dev-v1";
478
+ folder: string;
479
+ mtime?: string | undefined;
480
+ }, {
481
+ type: "dev-v1";
482
+ folder: string;
483
+ mtime?: string | undefined;
484
+ }>, z.ZodObject<{
485
+ type: z.ZodLiteral<"dev-v2">;
486
+ folder: z.ZodString;
487
+ mtime: z.ZodOptional<z.ZodString>;
488
+ }, "strip", z.ZodTypeAny, {
489
+ type: "dev-v2";
490
+ folder: string;
491
+ mtime?: string | undefined;
492
+ }, {
493
+ type: "dev-v2";
494
+ folder: string;
495
+ mtime?: string | undefined;
496
+ }>, z.ZodObject<{
497
+ type: z.ZodLiteral<"from-registry-v1">;
498
+ registryUrl: z.ZodString;
499
+ id: z.ZodObject<{
500
+ organization: z.ZodString;
501
+ name: z.ZodString;
502
+ version: z.ZodString;
503
+ }, "strict", z.ZodTypeAny, {
504
+ organization: string;
505
+ name: string;
506
+ version: string;
507
+ }, {
508
+ organization: string;
509
+ name: string;
510
+ version: string;
511
+ }>;
512
+ }, "strip", z.ZodTypeAny, {
513
+ type: "from-registry-v1";
514
+ id: {
515
+ organization: string;
516
+ name: string;
517
+ version: string;
518
+ };
519
+ registryUrl: string;
520
+ }, {
521
+ type: "from-registry-v1";
522
+ id: {
523
+ organization: string;
524
+ name: string;
525
+ version: string;
526
+ };
527
+ registryUrl: string;
528
+ }>, z.ZodObject<{
529
+ type: z.ZodLiteral<"from-registry-v2">;
530
+ registryUrl: z.ZodString;
531
+ id: z.ZodObject<{
532
+ organization: z.ZodString;
533
+ name: z.ZodString;
534
+ version: z.ZodString;
535
+ }, "strict", z.ZodTypeAny, {
536
+ organization: string;
537
+ name: string;
538
+ version: string;
539
+ }, {
540
+ organization: string;
541
+ name: string;
542
+ version: string;
543
+ }>;
544
+ channel: z.ZodOptional<z.ZodString>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ type: "from-registry-v2";
547
+ id: {
548
+ organization: string;
549
+ name: string;
550
+ version: string;
551
+ };
552
+ registryUrl: string;
553
+ channel?: string | undefined;
554
+ }, {
555
+ type: "from-registry-v2";
556
+ id: {
557
+ organization: string;
558
+ name: string;
559
+ version: string;
560
+ };
561
+ registryUrl: string;
562
+ channel?: string | undefined;
563
+ }>]>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ meta: {
566
+ organization: {
567
+ url: string;
568
+ name: string;
569
+ logo?: {
570
+ type: "explicit-bytes";
571
+ content: Uint8Array;
572
+ mimeType: string;
573
+ } | undefined;
574
+ };
575
+ title: string;
576
+ description: string;
577
+ url?: string | undefined;
578
+ longDescription?: string | undefined;
579
+ changelog?: string | undefined;
580
+ logo?: {
581
+ type: "explicit-bytes";
582
+ content: Uint8Array;
583
+ mimeType: string;
584
+ } | undefined;
585
+ docs?: string | undefined;
586
+ support?: string | undefined;
587
+ tags?: string[] | undefined;
588
+ marketplaceRanking?: number | undefined;
589
+ };
590
+ id: {
591
+ organization: string;
592
+ name: string;
593
+ version: string;
594
+ };
595
+ spec: {
596
+ type: "dev-v1";
597
+ folder: string;
598
+ mtime?: string | undefined;
599
+ } | {
600
+ type: "dev-v2";
601
+ folder: string;
602
+ mtime?: string | undefined;
603
+ } | {
604
+ type: "from-registry-v1";
605
+ id: {
606
+ organization: string;
607
+ name: string;
608
+ version: string;
609
+ };
610
+ registryUrl: string;
611
+ } | {
612
+ type: "from-registry-v2";
613
+ id: {
614
+ organization: string;
615
+ name: string;
616
+ version: string;
617
+ };
618
+ registryUrl: string;
619
+ channel?: string | undefined;
620
+ };
621
+ }, {
622
+ meta: {
623
+ organization: {
624
+ url: string;
625
+ name: string;
626
+ logo?: {
627
+ type: "explicit-bytes";
628
+ content: Uint8Array;
629
+ mimeType: string;
630
+ } | undefined;
631
+ };
632
+ title: string;
633
+ description: string;
634
+ url?: string | undefined;
635
+ longDescription?: string | undefined;
636
+ changelog?: string | undefined;
637
+ logo?: {
638
+ type: "explicit-bytes";
639
+ content: Uint8Array;
640
+ mimeType: string;
641
+ } | undefined;
642
+ docs?: string | undefined;
643
+ support?: string | undefined;
644
+ tags?: string[] | undefined;
645
+ marketplaceRanking?: number | undefined;
646
+ };
647
+ id: {
648
+ organization: string;
649
+ name: string;
650
+ version: string;
651
+ };
652
+ spec: {
653
+ type: "dev-v1";
654
+ folder: string;
655
+ mtime?: string | undefined;
656
+ } | {
657
+ type: "dev-v2";
658
+ folder: string;
659
+ mtime?: string | undefined;
660
+ } | {
661
+ type: "from-registry-v1";
662
+ id: {
663
+ organization: string;
664
+ name: string;
665
+ version: string;
666
+ };
667
+ registryUrl: string;
668
+ } | {
669
+ type: "from-registry-v2";
670
+ id: {
671
+ organization: string;
672
+ name: string;
673
+ version: string;
674
+ };
675
+ registryUrl: string;
676
+ channel?: string | undefined;
677
+ };
678
+ }>;
679
+ export type SingleBlockPackOverview = z.infer<typeof SingleBlockPackOverview>;
680
+ /**
681
+ * Latest information about specific block pack. Contain information about latest version of the package.
682
+ * */
683
+ export declare const BlockPackOverview: z.ZodObject<{
684
+ id: z.ZodObject<Omit<{
685
+ organization: z.ZodString;
686
+ name: z.ZodString;
687
+ version: z.ZodString;
688
+ }, "version">, "strict", z.ZodTypeAny, {
689
+ organization: string;
690
+ name: string;
691
+ }, {
692
+ organization: string;
693
+ name: string;
694
+ }>;
695
+ latestByChannel: z.ZodRecord<z.ZodString, z.ZodObject<{
696
+ id: z.ZodObject<{
697
+ organization: z.ZodString;
698
+ name: z.ZodString;
699
+ version: z.ZodString;
700
+ }, "strict", z.ZodTypeAny, {
701
+ organization: string;
702
+ name: string;
703
+ version: string;
704
+ }, {
705
+ organization: string;
706
+ name: string;
707
+ version: string;
708
+ }>;
709
+ meta: z.ZodObject<{
710
+ title: z.ZodString;
711
+ description: z.ZodString;
712
+ longDescription: z.ZodOptional<z.ZodString>;
713
+ changelog: z.ZodOptional<z.ZodString>;
714
+ logo: z.ZodOptional<z.ZodObject<{
715
+ type: z.ZodLiteral<"explicit-bytes">;
716
+ mimeType: z.ZodString;
717
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
718
+ }, "strict", z.ZodTypeAny, {
719
+ type: "explicit-bytes";
720
+ content: Uint8Array;
721
+ mimeType: string;
722
+ }, {
723
+ type: "explicit-bytes";
724
+ content: Uint8Array;
725
+ mimeType: string;
726
+ }>>;
727
+ url: z.ZodOptional<z.ZodString>;
728
+ docs: z.ZodOptional<z.ZodString>;
729
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
730
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
731
+ organization: z.ZodObject<{
732
+ name: z.ZodString;
733
+ url: z.ZodString;
734
+ logo: z.ZodOptional<z.ZodObject<{
735
+ type: z.ZodLiteral<"explicit-bytes">;
736
+ mimeType: z.ZodString;
737
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
738
+ }, "strict", z.ZodTypeAny, {
739
+ type: "explicit-bytes";
740
+ content: Uint8Array;
741
+ mimeType: string;
742
+ }, {
743
+ type: "explicit-bytes";
744
+ content: Uint8Array;
745
+ mimeType: string;
746
+ }>>;
747
+ }, "strip", z.ZodTypeAny, {
748
+ url: string;
749
+ name: string;
750
+ logo?: {
751
+ type: "explicit-bytes";
752
+ content: Uint8Array;
753
+ mimeType: string;
754
+ } | undefined;
755
+ }, {
756
+ url: string;
757
+ name: string;
758
+ logo?: {
759
+ type: "explicit-bytes";
760
+ content: Uint8Array;
761
+ mimeType: string;
762
+ } | undefined;
763
+ }>;
764
+ marketplaceRanking: z.ZodOptional<z.ZodNumber>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ organization: {
767
+ url: string;
768
+ name: string;
769
+ logo?: {
770
+ type: "explicit-bytes";
771
+ content: Uint8Array;
772
+ mimeType: string;
773
+ } | undefined;
774
+ };
775
+ title: string;
776
+ description: string;
777
+ url?: string | undefined;
778
+ longDescription?: string | undefined;
779
+ changelog?: string | undefined;
780
+ logo?: {
781
+ type: "explicit-bytes";
782
+ content: Uint8Array;
783
+ mimeType: string;
784
+ } | undefined;
785
+ docs?: string | undefined;
786
+ support?: string | undefined;
787
+ tags?: string[] | undefined;
788
+ marketplaceRanking?: number | undefined;
789
+ }, {
790
+ organization: {
791
+ url: string;
792
+ name: string;
793
+ logo?: {
794
+ type: "explicit-bytes";
795
+ content: Uint8Array;
796
+ mimeType: string;
797
+ } | undefined;
798
+ };
799
+ title: string;
800
+ description: string;
801
+ url?: string | undefined;
802
+ longDescription?: string | undefined;
803
+ changelog?: string | undefined;
804
+ logo?: {
805
+ type: "explicit-bytes";
806
+ content: Uint8Array;
807
+ mimeType: string;
808
+ } | undefined;
809
+ docs?: string | undefined;
575
810
  support?: string | undefined;
576
811
  tags?: string[] | undefined;
577
812
  marketplaceRanking?: number | undefined;
@@ -588,35 +823,326 @@ export declare const BlockPackListing: z.ZodObject<{
588
823
  type: "dev-v1";
589
824
  folder: string;
590
825
  mtime?: string | undefined;
591
- }>, z.ZodObject<{
592
- type: z.ZodLiteral<"dev-v2">;
593
- folder: z.ZodString;
594
- mtime: z.ZodOptional<z.ZodString>;
595
- }, "strip", z.ZodTypeAny, {
596
- type: "dev-v2";
597
- folder: string;
598
- mtime?: string | undefined;
599
- }, {
826
+ }>, z.ZodObject<{
827
+ type: z.ZodLiteral<"dev-v2">;
828
+ folder: z.ZodString;
829
+ mtime: z.ZodOptional<z.ZodString>;
830
+ }, "strip", z.ZodTypeAny, {
831
+ type: "dev-v2";
832
+ folder: string;
833
+ mtime?: string | undefined;
834
+ }, {
835
+ type: "dev-v2";
836
+ folder: string;
837
+ mtime?: string | undefined;
838
+ }>, z.ZodObject<{
839
+ type: z.ZodLiteral<"from-registry-v1">;
840
+ registryUrl: z.ZodString;
841
+ id: z.ZodObject<{
842
+ organization: z.ZodString;
843
+ name: z.ZodString;
844
+ version: z.ZodString;
845
+ }, "strict", z.ZodTypeAny, {
846
+ organization: string;
847
+ name: string;
848
+ version: string;
849
+ }, {
850
+ organization: string;
851
+ name: string;
852
+ version: string;
853
+ }>;
854
+ }, "strip", z.ZodTypeAny, {
855
+ type: "from-registry-v1";
856
+ id: {
857
+ organization: string;
858
+ name: string;
859
+ version: string;
860
+ };
861
+ registryUrl: string;
862
+ }, {
863
+ type: "from-registry-v1";
864
+ id: {
865
+ organization: string;
866
+ name: string;
867
+ version: string;
868
+ };
869
+ registryUrl: string;
870
+ }>, z.ZodObject<{
871
+ type: z.ZodLiteral<"from-registry-v2">;
872
+ registryUrl: z.ZodString;
873
+ id: z.ZodObject<{
874
+ organization: z.ZodString;
875
+ name: z.ZodString;
876
+ version: z.ZodString;
877
+ }, "strict", z.ZodTypeAny, {
878
+ organization: string;
879
+ name: string;
880
+ version: string;
881
+ }, {
882
+ organization: string;
883
+ name: string;
884
+ version: string;
885
+ }>;
886
+ channel: z.ZodOptional<z.ZodString>;
887
+ }, "strip", z.ZodTypeAny, {
888
+ type: "from-registry-v2";
889
+ id: {
890
+ organization: string;
891
+ name: string;
892
+ version: string;
893
+ };
894
+ registryUrl: string;
895
+ channel?: string | undefined;
896
+ }, {
897
+ type: "from-registry-v2";
898
+ id: {
899
+ organization: string;
900
+ name: string;
901
+ version: string;
902
+ };
903
+ registryUrl: string;
904
+ channel?: string | undefined;
905
+ }>]>;
906
+ }, "strip", z.ZodTypeAny, {
907
+ meta: {
908
+ organization: {
909
+ url: string;
910
+ name: string;
911
+ logo?: {
912
+ type: "explicit-bytes";
913
+ content: Uint8Array;
914
+ mimeType: string;
915
+ } | undefined;
916
+ };
917
+ title: string;
918
+ description: string;
919
+ url?: string | undefined;
920
+ longDescription?: string | undefined;
921
+ changelog?: string | undefined;
922
+ logo?: {
923
+ type: "explicit-bytes";
924
+ content: Uint8Array;
925
+ mimeType: string;
926
+ } | undefined;
927
+ docs?: string | undefined;
928
+ support?: string | undefined;
929
+ tags?: string[] | undefined;
930
+ marketplaceRanking?: number | undefined;
931
+ };
932
+ id: {
933
+ organization: string;
934
+ name: string;
935
+ version: string;
936
+ };
937
+ spec: {
938
+ type: "dev-v1";
939
+ folder: string;
940
+ mtime?: string | undefined;
941
+ } | {
942
+ type: "dev-v2";
943
+ folder: string;
944
+ mtime?: string | undefined;
945
+ } | {
946
+ type: "from-registry-v1";
947
+ id: {
948
+ organization: string;
949
+ name: string;
950
+ version: string;
951
+ };
952
+ registryUrl: string;
953
+ } | {
954
+ type: "from-registry-v2";
955
+ id: {
956
+ organization: string;
957
+ name: string;
958
+ version: string;
959
+ };
960
+ registryUrl: string;
961
+ channel?: string | undefined;
962
+ };
963
+ }, {
964
+ meta: {
965
+ organization: {
966
+ url: string;
967
+ name: string;
968
+ logo?: {
969
+ type: "explicit-bytes";
970
+ content: Uint8Array;
971
+ mimeType: string;
972
+ } | undefined;
973
+ };
974
+ title: string;
975
+ description: string;
976
+ url?: string | undefined;
977
+ longDescription?: string | undefined;
978
+ changelog?: string | undefined;
979
+ logo?: {
980
+ type: "explicit-bytes";
981
+ content: Uint8Array;
982
+ mimeType: string;
983
+ } | undefined;
984
+ docs?: string | undefined;
985
+ support?: string | undefined;
986
+ tags?: string[] | undefined;
987
+ marketplaceRanking?: number | undefined;
988
+ };
989
+ id: {
990
+ organization: string;
991
+ name: string;
992
+ version: string;
993
+ };
994
+ spec: {
995
+ type: "dev-v1";
996
+ folder: string;
997
+ mtime?: string | undefined;
998
+ } | {
999
+ type: "dev-v2";
1000
+ folder: string;
1001
+ mtime?: string | undefined;
1002
+ } | {
1003
+ type: "from-registry-v1";
1004
+ id: {
1005
+ organization: string;
1006
+ name: string;
1007
+ version: string;
1008
+ };
1009
+ registryUrl: string;
1010
+ } | {
1011
+ type: "from-registry-v2";
1012
+ id: {
1013
+ organization: string;
1014
+ name: string;
1015
+ version: string;
1016
+ };
1017
+ registryUrl: string;
1018
+ channel?: string | undefined;
1019
+ };
1020
+ }>>;
1021
+ allVersions: z.ZodArray<z.ZodObject<{
1022
+ version: z.ZodString;
1023
+ channels: z.ZodArray<z.ZodString, "many">;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ version: string;
1026
+ channels: string[];
1027
+ }, {
1028
+ version: string;
1029
+ channels: string[];
1030
+ }>, "many">;
1031
+ registryId: z.ZodString;
1032
+ }, "strip", z.ZodTypeAny, {
1033
+ id: {
1034
+ organization: string;
1035
+ name: string;
1036
+ };
1037
+ registryId: string;
1038
+ latestByChannel: Record<string, {
1039
+ meta: {
1040
+ organization: {
1041
+ url: string;
1042
+ name: string;
1043
+ logo?: {
1044
+ type: "explicit-bytes";
1045
+ content: Uint8Array;
1046
+ mimeType: string;
1047
+ } | undefined;
1048
+ };
1049
+ title: string;
1050
+ description: string;
1051
+ url?: string | undefined;
1052
+ longDescription?: string | undefined;
1053
+ changelog?: string | undefined;
1054
+ logo?: {
1055
+ type: "explicit-bytes";
1056
+ content: Uint8Array;
1057
+ mimeType: string;
1058
+ } | undefined;
1059
+ docs?: string | undefined;
1060
+ support?: string | undefined;
1061
+ tags?: string[] | undefined;
1062
+ marketplaceRanking?: number | undefined;
1063
+ };
1064
+ id: {
1065
+ organization: string;
1066
+ name: string;
1067
+ version: string;
1068
+ };
1069
+ spec: {
1070
+ type: "dev-v1";
1071
+ folder: string;
1072
+ mtime?: string | undefined;
1073
+ } | {
600
1074
  type: "dev-v2";
601
1075
  folder: string;
602
1076
  mtime?: string | undefined;
603
- }>, z.ZodObject<{
604
- type: z.ZodLiteral<"from-registry-v1">;
605
- registryUrl: z.ZodString;
606
- id: z.ZodObject<{
607
- organization: z.ZodString;
608
- name: z.ZodString;
609
- version: z.ZodString;
610
- }, "strict", z.ZodTypeAny, {
1077
+ } | {
1078
+ type: "from-registry-v1";
1079
+ id: {
611
1080
  organization: string;
612
1081
  name: string;
613
1082
  version: string;
614
- }, {
1083
+ };
1084
+ registryUrl: string;
1085
+ } | {
1086
+ type: "from-registry-v2";
1087
+ id: {
615
1088
  organization: string;
616
1089
  name: string;
617
1090
  version: string;
618
- }>;
619
- }, "strip", z.ZodTypeAny, {
1091
+ };
1092
+ registryUrl: string;
1093
+ channel?: string | undefined;
1094
+ };
1095
+ }>;
1096
+ allVersions: {
1097
+ version: string;
1098
+ channels: string[];
1099
+ }[];
1100
+ }, {
1101
+ id: {
1102
+ organization: string;
1103
+ name: string;
1104
+ };
1105
+ registryId: string;
1106
+ latestByChannel: Record<string, {
1107
+ meta: {
1108
+ organization: {
1109
+ url: string;
1110
+ name: string;
1111
+ logo?: {
1112
+ type: "explicit-bytes";
1113
+ content: Uint8Array;
1114
+ mimeType: string;
1115
+ } | undefined;
1116
+ };
1117
+ title: string;
1118
+ description: string;
1119
+ url?: string | undefined;
1120
+ longDescription?: string | undefined;
1121
+ changelog?: string | undefined;
1122
+ logo?: {
1123
+ type: "explicit-bytes";
1124
+ content: Uint8Array;
1125
+ mimeType: string;
1126
+ } | undefined;
1127
+ docs?: string | undefined;
1128
+ support?: string | undefined;
1129
+ tags?: string[] | undefined;
1130
+ marketplaceRanking?: number | undefined;
1131
+ };
1132
+ id: {
1133
+ organization: string;
1134
+ name: string;
1135
+ version: string;
1136
+ };
1137
+ spec: {
1138
+ type: "dev-v1";
1139
+ folder: string;
1140
+ mtime?: string | undefined;
1141
+ } | {
1142
+ type: "dev-v2";
1143
+ folder: string;
1144
+ mtime?: string | undefined;
1145
+ } | {
620
1146
  type: "from-registry-v1";
621
1147
  id: {
622
1148
  organization: string;
@@ -624,17 +1150,162 @@ export declare const BlockPackListing: z.ZodObject<{
624
1150
  version: string;
625
1151
  };
626
1152
  registryUrl: string;
627
- }, {
628
- type: "from-registry-v1";
1153
+ } | {
1154
+ type: "from-registry-v2";
629
1155
  id: {
630
1156
  organization: string;
631
1157
  name: string;
632
1158
  version: string;
633
1159
  };
634
1160
  registryUrl: string;
1161
+ channel?: string | undefined;
1162
+ };
1163
+ }>;
1164
+ allVersions: {
1165
+ version: string;
1166
+ channels: string[];
1167
+ }[];
1168
+ }>;
1169
+ export type BlockPackOverview = z.infer<typeof BlockPackOverview>;
1170
+ export declare const RegistryStatus: z.ZodObject<z.objectUtil.extendShape<{
1171
+ id: z.ZodString;
1172
+ title: z.ZodOptional<z.ZodString>;
1173
+ spec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1174
+ type: z.ZodLiteral<"remote-v1">;
1175
+ url: z.ZodString;
1176
+ }, "strip", z.ZodTypeAny, {
1177
+ type: "remote-v1";
1178
+ url: string;
1179
+ }, {
1180
+ type: "remote-v1";
1181
+ url: string;
1182
+ }>, z.ZodObject<{
1183
+ type: z.ZodLiteral<"remote-v2">;
1184
+ url: z.ZodString;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ type: "remote-v2";
1187
+ url: string;
1188
+ }, {
1189
+ type: "remote-v2";
1190
+ url: string;
1191
+ }>, z.ZodObject<{
1192
+ type: z.ZodLiteral<"local-dev">;
1193
+ path: z.ZodString;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ type: "local-dev";
1196
+ path: string;
1197
+ }, {
1198
+ type: "local-dev";
1199
+ path: string;
1200
+ }>]>;
1201
+ }, {
1202
+ status: z.ZodUnion<[z.ZodLiteral<"online">, z.ZodLiteral<"offline">]>;
1203
+ }>, "strip", z.ZodTypeAny, {
1204
+ status: "online" | "offline";
1205
+ id: string;
1206
+ spec: {
1207
+ type: "local-dev";
1208
+ path: string;
1209
+ } | {
1210
+ type: "remote-v1";
1211
+ url: string;
1212
+ } | {
1213
+ type: "remote-v2";
1214
+ url: string;
1215
+ };
1216
+ title?: string | undefined;
1217
+ }, {
1218
+ status: "online" | "offline";
1219
+ id: string;
1220
+ spec: {
1221
+ type: "local-dev";
1222
+ path: string;
1223
+ } | {
1224
+ type: "remote-v1";
1225
+ url: string;
1226
+ } | {
1227
+ type: "remote-v2";
1228
+ url: string;
1229
+ };
1230
+ title?: string | undefined;
1231
+ }>;
1232
+ export type RegistryStatus = z.infer<typeof RegistryStatus>;
1233
+ export declare const BlockPackListing: z.ZodObject<{
1234
+ registries: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1235
+ id: z.ZodString;
1236
+ title: z.ZodOptional<z.ZodString>;
1237
+ spec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1238
+ type: z.ZodLiteral<"remote-v1">;
1239
+ url: z.ZodString;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ type: "remote-v1";
1242
+ url: string;
1243
+ }, {
1244
+ type: "remote-v1";
1245
+ url: string;
635
1246
  }>, z.ZodObject<{
636
- type: z.ZodLiteral<"from-registry-v2">;
637
- registryUrl: z.ZodString;
1247
+ type: z.ZodLiteral<"remote-v2">;
1248
+ url: z.ZodString;
1249
+ }, "strip", z.ZodTypeAny, {
1250
+ type: "remote-v2";
1251
+ url: string;
1252
+ }, {
1253
+ type: "remote-v2";
1254
+ url: string;
1255
+ }>, z.ZodObject<{
1256
+ type: z.ZodLiteral<"local-dev">;
1257
+ path: z.ZodString;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ type: "local-dev";
1260
+ path: string;
1261
+ }, {
1262
+ type: "local-dev";
1263
+ path: string;
1264
+ }>]>;
1265
+ }, {
1266
+ status: z.ZodUnion<[z.ZodLiteral<"online">, z.ZodLiteral<"offline">]>;
1267
+ }>, "strip", z.ZodTypeAny, {
1268
+ status: "online" | "offline";
1269
+ id: string;
1270
+ spec: {
1271
+ type: "local-dev";
1272
+ path: string;
1273
+ } | {
1274
+ type: "remote-v1";
1275
+ url: string;
1276
+ } | {
1277
+ type: "remote-v2";
1278
+ url: string;
1279
+ };
1280
+ title?: string | undefined;
1281
+ }, {
1282
+ status: "online" | "offline";
1283
+ id: string;
1284
+ spec: {
1285
+ type: "local-dev";
1286
+ path: string;
1287
+ } | {
1288
+ type: "remote-v1";
1289
+ url: string;
1290
+ } | {
1291
+ type: "remote-v2";
1292
+ url: string;
1293
+ };
1294
+ title?: string | undefined;
1295
+ }>, "many">;
1296
+ blockPacks: z.ZodArray<z.ZodObject<{
1297
+ id: z.ZodObject<Omit<{
1298
+ organization: z.ZodString;
1299
+ name: z.ZodString;
1300
+ version: z.ZodString;
1301
+ }, "version">, "strict", z.ZodTypeAny, {
1302
+ organization: string;
1303
+ name: string;
1304
+ }, {
1305
+ organization: string;
1306
+ name: string;
1307
+ }>;
1308
+ latestByChannel: z.ZodRecord<z.ZodString, z.ZodObject<{
638
1309
  id: z.ZodObject<{
639
1310
  organization: z.ZodString;
640
1311
  name: z.ZodString;
@@ -644,144 +1315,469 @@ export declare const BlockPackListing: z.ZodObject<{
644
1315
  name: string;
645
1316
  version: string;
646
1317
  }, {
647
- organization: string;
648
- name: string;
649
- version: string;
1318
+ organization: string;
1319
+ name: string;
1320
+ version: string;
1321
+ }>;
1322
+ meta: z.ZodObject<{
1323
+ title: z.ZodString;
1324
+ description: z.ZodString;
1325
+ longDescription: z.ZodOptional<z.ZodString>;
1326
+ changelog: z.ZodOptional<z.ZodString>;
1327
+ logo: z.ZodOptional<z.ZodObject<{
1328
+ type: z.ZodLiteral<"explicit-bytes">;
1329
+ mimeType: z.ZodString;
1330
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
1331
+ }, "strict", z.ZodTypeAny, {
1332
+ type: "explicit-bytes";
1333
+ content: Uint8Array;
1334
+ mimeType: string;
1335
+ }, {
1336
+ type: "explicit-bytes";
1337
+ content: Uint8Array;
1338
+ mimeType: string;
1339
+ }>>;
1340
+ url: z.ZodOptional<z.ZodString>;
1341
+ docs: z.ZodOptional<z.ZodString>;
1342
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1343
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1344
+ organization: z.ZodObject<{
1345
+ name: z.ZodString;
1346
+ url: z.ZodString;
1347
+ logo: z.ZodOptional<z.ZodObject<{
1348
+ type: z.ZodLiteral<"explicit-bytes">;
1349
+ mimeType: z.ZodString;
1350
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
1351
+ }, "strict", z.ZodTypeAny, {
1352
+ type: "explicit-bytes";
1353
+ content: Uint8Array;
1354
+ mimeType: string;
1355
+ }, {
1356
+ type: "explicit-bytes";
1357
+ content: Uint8Array;
1358
+ mimeType: string;
1359
+ }>>;
1360
+ }, "strip", z.ZodTypeAny, {
1361
+ url: string;
1362
+ name: string;
1363
+ logo?: {
1364
+ type: "explicit-bytes";
1365
+ content: Uint8Array;
1366
+ mimeType: string;
1367
+ } | undefined;
1368
+ }, {
1369
+ url: string;
1370
+ name: string;
1371
+ logo?: {
1372
+ type: "explicit-bytes";
1373
+ content: Uint8Array;
1374
+ mimeType: string;
1375
+ } | undefined;
1376
+ }>;
1377
+ marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1378
+ }, "strip", z.ZodTypeAny, {
1379
+ organization: {
1380
+ url: string;
1381
+ name: string;
1382
+ logo?: {
1383
+ type: "explicit-bytes";
1384
+ content: Uint8Array;
1385
+ mimeType: string;
1386
+ } | undefined;
1387
+ };
1388
+ title: string;
1389
+ description: string;
1390
+ url?: string | undefined;
1391
+ longDescription?: string | undefined;
1392
+ changelog?: string | undefined;
1393
+ logo?: {
1394
+ type: "explicit-bytes";
1395
+ content: Uint8Array;
1396
+ mimeType: string;
1397
+ } | undefined;
1398
+ docs?: string | undefined;
1399
+ support?: string | undefined;
1400
+ tags?: string[] | undefined;
1401
+ marketplaceRanking?: number | undefined;
1402
+ }, {
1403
+ organization: {
1404
+ url: string;
1405
+ name: string;
1406
+ logo?: {
1407
+ type: "explicit-bytes";
1408
+ content: Uint8Array;
1409
+ mimeType: string;
1410
+ } | undefined;
1411
+ };
1412
+ title: string;
1413
+ description: string;
1414
+ url?: string | undefined;
1415
+ longDescription?: string | undefined;
1416
+ changelog?: string | undefined;
1417
+ logo?: {
1418
+ type: "explicit-bytes";
1419
+ content: Uint8Array;
1420
+ mimeType: string;
1421
+ } | undefined;
1422
+ docs?: string | undefined;
1423
+ support?: string | undefined;
1424
+ tags?: string[] | undefined;
1425
+ marketplaceRanking?: number | undefined;
650
1426
  }>;
1427
+ spec: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1428
+ type: z.ZodLiteral<"dev-v1">;
1429
+ folder: z.ZodString;
1430
+ mtime: z.ZodOptional<z.ZodString>;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ type: "dev-v1";
1433
+ folder: string;
1434
+ mtime?: string | undefined;
1435
+ }, {
1436
+ type: "dev-v1";
1437
+ folder: string;
1438
+ mtime?: string | undefined;
1439
+ }>, z.ZodObject<{
1440
+ type: z.ZodLiteral<"dev-v2">;
1441
+ folder: z.ZodString;
1442
+ mtime: z.ZodOptional<z.ZodString>;
1443
+ }, "strip", z.ZodTypeAny, {
1444
+ type: "dev-v2";
1445
+ folder: string;
1446
+ mtime?: string | undefined;
1447
+ }, {
1448
+ type: "dev-v2";
1449
+ folder: string;
1450
+ mtime?: string | undefined;
1451
+ }>, z.ZodObject<{
1452
+ type: z.ZodLiteral<"from-registry-v1">;
1453
+ registryUrl: z.ZodString;
1454
+ id: z.ZodObject<{
1455
+ organization: z.ZodString;
1456
+ name: z.ZodString;
1457
+ version: z.ZodString;
1458
+ }, "strict", z.ZodTypeAny, {
1459
+ organization: string;
1460
+ name: string;
1461
+ version: string;
1462
+ }, {
1463
+ organization: string;
1464
+ name: string;
1465
+ version: string;
1466
+ }>;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ type: "from-registry-v1";
1469
+ id: {
1470
+ organization: string;
1471
+ name: string;
1472
+ version: string;
1473
+ };
1474
+ registryUrl: string;
1475
+ }, {
1476
+ type: "from-registry-v1";
1477
+ id: {
1478
+ organization: string;
1479
+ name: string;
1480
+ version: string;
1481
+ };
1482
+ registryUrl: string;
1483
+ }>, z.ZodObject<{
1484
+ type: z.ZodLiteral<"from-registry-v2">;
1485
+ registryUrl: z.ZodString;
1486
+ id: z.ZodObject<{
1487
+ organization: z.ZodString;
1488
+ name: z.ZodString;
1489
+ version: z.ZodString;
1490
+ }, "strict", z.ZodTypeAny, {
1491
+ organization: string;
1492
+ name: string;
1493
+ version: string;
1494
+ }, {
1495
+ organization: string;
1496
+ name: string;
1497
+ version: string;
1498
+ }>;
1499
+ channel: z.ZodOptional<z.ZodString>;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ type: "from-registry-v2";
1502
+ id: {
1503
+ organization: string;
1504
+ name: string;
1505
+ version: string;
1506
+ };
1507
+ registryUrl: string;
1508
+ channel?: string | undefined;
1509
+ }, {
1510
+ type: "from-registry-v2";
1511
+ id: {
1512
+ organization: string;
1513
+ name: string;
1514
+ version: string;
1515
+ };
1516
+ registryUrl: string;
1517
+ channel?: string | undefined;
1518
+ }>]>;
651
1519
  }, "strip", z.ZodTypeAny, {
652
- type: "from-registry-v2";
1520
+ meta: {
1521
+ organization: {
1522
+ url: string;
1523
+ name: string;
1524
+ logo?: {
1525
+ type: "explicit-bytes";
1526
+ content: Uint8Array;
1527
+ mimeType: string;
1528
+ } | undefined;
1529
+ };
1530
+ title: string;
1531
+ description: string;
1532
+ url?: string | undefined;
1533
+ longDescription?: string | undefined;
1534
+ changelog?: string | undefined;
1535
+ logo?: {
1536
+ type: "explicit-bytes";
1537
+ content: Uint8Array;
1538
+ mimeType: string;
1539
+ } | undefined;
1540
+ docs?: string | undefined;
1541
+ support?: string | undefined;
1542
+ tags?: string[] | undefined;
1543
+ marketplaceRanking?: number | undefined;
1544
+ };
653
1545
  id: {
654
1546
  organization: string;
655
1547
  name: string;
656
1548
  version: string;
657
1549
  };
658
- registryUrl: string;
1550
+ spec: {
1551
+ type: "dev-v1";
1552
+ folder: string;
1553
+ mtime?: string | undefined;
1554
+ } | {
1555
+ type: "dev-v2";
1556
+ folder: string;
1557
+ mtime?: string | undefined;
1558
+ } | {
1559
+ type: "from-registry-v1";
1560
+ id: {
1561
+ organization: string;
1562
+ name: string;
1563
+ version: string;
1564
+ };
1565
+ registryUrl: string;
1566
+ } | {
1567
+ type: "from-registry-v2";
1568
+ id: {
1569
+ organization: string;
1570
+ name: string;
1571
+ version: string;
1572
+ };
1573
+ registryUrl: string;
1574
+ channel?: string | undefined;
1575
+ };
659
1576
  }, {
660
- type: "from-registry-v2";
1577
+ meta: {
1578
+ organization: {
1579
+ url: string;
1580
+ name: string;
1581
+ logo?: {
1582
+ type: "explicit-bytes";
1583
+ content: Uint8Array;
1584
+ mimeType: string;
1585
+ } | undefined;
1586
+ };
1587
+ title: string;
1588
+ description: string;
1589
+ url?: string | undefined;
1590
+ longDescription?: string | undefined;
1591
+ changelog?: string | undefined;
1592
+ logo?: {
1593
+ type: "explicit-bytes";
1594
+ content: Uint8Array;
1595
+ mimeType: string;
1596
+ } | undefined;
1597
+ docs?: string | undefined;
1598
+ support?: string | undefined;
1599
+ tags?: string[] | undefined;
1600
+ marketplaceRanking?: number | undefined;
1601
+ };
661
1602
  id: {
662
1603
  organization: string;
663
1604
  name: string;
664
1605
  version: string;
665
1606
  };
666
- registryUrl: string;
667
- }>]>;
668
- otherVersions: z.ZodArray<z.ZodString, "many">;
1607
+ spec: {
1608
+ type: "dev-v1";
1609
+ folder: string;
1610
+ mtime?: string | undefined;
1611
+ } | {
1612
+ type: "dev-v2";
1613
+ folder: string;
1614
+ mtime?: string | undefined;
1615
+ } | {
1616
+ type: "from-registry-v1";
1617
+ id: {
1618
+ organization: string;
1619
+ name: string;
1620
+ version: string;
1621
+ };
1622
+ registryUrl: string;
1623
+ } | {
1624
+ type: "from-registry-v2";
1625
+ id: {
1626
+ organization: string;
1627
+ name: string;
1628
+ version: string;
1629
+ };
1630
+ registryUrl: string;
1631
+ channel?: string | undefined;
1632
+ };
1633
+ }>>;
1634
+ allVersions: z.ZodArray<z.ZodObject<{
1635
+ version: z.ZodString;
1636
+ channels: z.ZodArray<z.ZodString, "many">;
1637
+ }, "strip", z.ZodTypeAny, {
1638
+ version: string;
1639
+ channels: string[];
1640
+ }, {
1641
+ version: string;
1642
+ channels: string[];
1643
+ }>, "many">;
1644
+ registryId: z.ZodString;
669
1645
  }, "strip", z.ZodTypeAny, {
670
- meta: {
671
- organization: {
672
- url: string;
673
- name: string;
1646
+ id: {
1647
+ organization: string;
1648
+ name: string;
1649
+ };
1650
+ registryId: string;
1651
+ latestByChannel: Record<string, {
1652
+ meta: {
1653
+ organization: {
1654
+ url: string;
1655
+ name: string;
1656
+ logo?: {
1657
+ type: "explicit-bytes";
1658
+ content: Uint8Array;
1659
+ mimeType: string;
1660
+ } | undefined;
1661
+ };
1662
+ title: string;
1663
+ description: string;
1664
+ url?: string | undefined;
1665
+ longDescription?: string | undefined;
1666
+ changelog?: string | undefined;
674
1667
  logo?: {
675
1668
  type: "explicit-bytes";
676
1669
  content: Uint8Array;
677
1670
  mimeType: string;
678
1671
  } | undefined;
1672
+ docs?: string | undefined;
1673
+ support?: string | undefined;
1674
+ tags?: string[] | undefined;
1675
+ marketplaceRanking?: number | undefined;
679
1676
  };
680
- title: string;
681
- description: string;
682
- url?: string | undefined;
683
- longDescription?: string | undefined;
684
- changelog?: string | undefined;
685
- logo?: {
686
- type: "explicit-bytes";
687
- content: Uint8Array;
688
- mimeType: string;
689
- } | undefined;
690
- docs?: string | undefined;
691
- support?: string | undefined;
692
- tags?: string[] | undefined;
693
- marketplaceRanking?: number | undefined;
694
- };
695
- id: {
696
- organization: string;
697
- name: string;
698
- version: string;
699
- };
700
- spec: {
701
- type: "dev-v1";
702
- folder: string;
703
- mtime?: string | undefined;
704
- } | {
705
- type: "dev-v2";
706
- folder: string;
707
- mtime?: string | undefined;
708
- } | {
709
- type: "from-registry-v1";
710
1677
  id: {
711
1678
  organization: string;
712
1679
  name: string;
713
1680
  version: string;
714
1681
  };
715
- registryUrl: string;
716
- } | {
717
- type: "from-registry-v2";
718
- id: {
719
- organization: string;
720
- name: string;
721
- version: string;
1682
+ spec: {
1683
+ type: "dev-v1";
1684
+ folder: string;
1685
+ mtime?: string | undefined;
1686
+ } | {
1687
+ type: "dev-v2";
1688
+ folder: string;
1689
+ mtime?: string | undefined;
1690
+ } | {
1691
+ type: "from-registry-v1";
1692
+ id: {
1693
+ organization: string;
1694
+ name: string;
1695
+ version: string;
1696
+ };
1697
+ registryUrl: string;
1698
+ } | {
1699
+ type: "from-registry-v2";
1700
+ id: {
1701
+ organization: string;
1702
+ name: string;
1703
+ version: string;
1704
+ };
1705
+ registryUrl: string;
1706
+ channel?: string | undefined;
722
1707
  };
723
- registryUrl: string;
1708
+ }>;
1709
+ allVersions: {
1710
+ version: string;
1711
+ channels: string[];
1712
+ }[];
1713
+ }, {
1714
+ id: {
1715
+ organization: string;
1716
+ name: string;
724
1717
  };
725
1718
  registryId: string;
726
- otherVersions: string[];
727
- }, {
728
- meta: {
729
- organization: {
730
- url: string;
731
- name: string;
1719
+ latestByChannel: Record<string, {
1720
+ meta: {
1721
+ organization: {
1722
+ url: string;
1723
+ name: string;
1724
+ logo?: {
1725
+ type: "explicit-bytes";
1726
+ content: Uint8Array;
1727
+ mimeType: string;
1728
+ } | undefined;
1729
+ };
1730
+ title: string;
1731
+ description: string;
1732
+ url?: string | undefined;
1733
+ longDescription?: string | undefined;
1734
+ changelog?: string | undefined;
732
1735
  logo?: {
733
1736
  type: "explicit-bytes";
734
1737
  content: Uint8Array;
735
1738
  mimeType: string;
736
1739
  } | undefined;
1740
+ docs?: string | undefined;
1741
+ support?: string | undefined;
1742
+ tags?: string[] | undefined;
1743
+ marketplaceRanking?: number | undefined;
737
1744
  };
738
- title: string;
739
- description: string;
740
- url?: string | undefined;
741
- longDescription?: string | undefined;
742
- changelog?: string | undefined;
743
- logo?: {
744
- type: "explicit-bytes";
745
- content: Uint8Array;
746
- mimeType: string;
747
- } | undefined;
748
- docs?: string | undefined;
749
- support?: string | undefined;
750
- tags?: string[] | undefined;
751
- marketplaceRanking?: number | undefined;
752
- };
753
- id: {
754
- organization: string;
755
- name: string;
756
- version: string;
757
- };
758
- spec: {
759
- type: "dev-v1";
760
- folder: string;
761
- mtime?: string | undefined;
762
- } | {
763
- type: "dev-v2";
764
- folder: string;
765
- mtime?: string | undefined;
766
- } | {
767
- type: "from-registry-v1";
768
1745
  id: {
769
1746
  organization: string;
770
1747
  name: string;
771
1748
  version: string;
772
1749
  };
773
- registryUrl: string;
774
- } | {
775
- type: "from-registry-v2";
776
- id: {
777
- organization: string;
778
- name: string;
779
- version: string;
1750
+ spec: {
1751
+ type: "dev-v1";
1752
+ folder: string;
1753
+ mtime?: string | undefined;
1754
+ } | {
1755
+ type: "dev-v2";
1756
+ folder: string;
1757
+ mtime?: string | undefined;
1758
+ } | {
1759
+ type: "from-registry-v1";
1760
+ id: {
1761
+ organization: string;
1762
+ name: string;
1763
+ version: string;
1764
+ };
1765
+ registryUrl: string;
1766
+ } | {
1767
+ type: "from-registry-v2";
1768
+ id: {
1769
+ organization: string;
1770
+ name: string;
1771
+ version: string;
1772
+ };
1773
+ registryUrl: string;
1774
+ channel?: string | undefined;
780
1775
  };
781
- registryUrl: string;
782
- };
783
- registryId: string;
784
- otherVersions: string[];
1776
+ }>;
1777
+ allVersions: {
1778
+ version: string;
1779
+ channels: string[];
1780
+ }[];
785
1781
  }>, "many">;
786
1782
  }, "strip", z.ZodTypeAny, {
787
1783
  registries: {
@@ -800,63 +1796,73 @@ export declare const BlockPackListing: z.ZodObject<{
800
1796
  title?: string | undefined;
801
1797
  }[];
802
1798
  blockPacks: {
803
- meta: {
804
- organization: {
805
- url: string;
806
- name: string;
1799
+ id: {
1800
+ organization: string;
1801
+ name: string;
1802
+ };
1803
+ registryId: string;
1804
+ latestByChannel: Record<string, {
1805
+ meta: {
1806
+ organization: {
1807
+ url: string;
1808
+ name: string;
1809
+ logo?: {
1810
+ type: "explicit-bytes";
1811
+ content: Uint8Array;
1812
+ mimeType: string;
1813
+ } | undefined;
1814
+ };
1815
+ title: string;
1816
+ description: string;
1817
+ url?: string | undefined;
1818
+ longDescription?: string | undefined;
1819
+ changelog?: string | undefined;
807
1820
  logo?: {
808
1821
  type: "explicit-bytes";
809
1822
  content: Uint8Array;
810
1823
  mimeType: string;
811
1824
  } | undefined;
1825
+ docs?: string | undefined;
1826
+ support?: string | undefined;
1827
+ tags?: string[] | undefined;
1828
+ marketplaceRanking?: number | undefined;
812
1829
  };
813
- title: string;
814
- description: string;
815
- url?: string | undefined;
816
- longDescription?: string | undefined;
817
- changelog?: string | undefined;
818
- logo?: {
819
- type: "explicit-bytes";
820
- content: Uint8Array;
821
- mimeType: string;
822
- } | undefined;
823
- docs?: string | undefined;
824
- support?: string | undefined;
825
- tags?: string[] | undefined;
826
- marketplaceRanking?: number | undefined;
827
- };
828
- id: {
829
- organization: string;
830
- name: string;
831
- version: string;
832
- };
833
- spec: {
834
- type: "dev-v1";
835
- folder: string;
836
- mtime?: string | undefined;
837
- } | {
838
- type: "dev-v2";
839
- folder: string;
840
- mtime?: string | undefined;
841
- } | {
842
- type: "from-registry-v1";
843
1830
  id: {
844
1831
  organization: string;
845
1832
  name: string;
846
1833
  version: string;
847
1834
  };
848
- registryUrl: string;
849
- } | {
850
- type: "from-registry-v2";
851
- id: {
852
- organization: string;
853
- name: string;
854
- version: string;
1835
+ spec: {
1836
+ type: "dev-v1";
1837
+ folder: string;
1838
+ mtime?: string | undefined;
1839
+ } | {
1840
+ type: "dev-v2";
1841
+ folder: string;
1842
+ mtime?: string | undefined;
1843
+ } | {
1844
+ type: "from-registry-v1";
1845
+ id: {
1846
+ organization: string;
1847
+ name: string;
1848
+ version: string;
1849
+ };
1850
+ registryUrl: string;
1851
+ } | {
1852
+ type: "from-registry-v2";
1853
+ id: {
1854
+ organization: string;
1855
+ name: string;
1856
+ version: string;
1857
+ };
1858
+ registryUrl: string;
1859
+ channel?: string | undefined;
855
1860
  };
856
- registryUrl: string;
857
- };
858
- registryId: string;
859
- otherVersions: string[];
1861
+ }>;
1862
+ allVersions: {
1863
+ version: string;
1864
+ channels: string[];
1865
+ }[];
860
1866
  }[];
861
1867
  }, {
862
1868
  registries: {
@@ -875,64 +1881,75 @@ export declare const BlockPackListing: z.ZodObject<{
875
1881
  title?: string | undefined;
876
1882
  }[];
877
1883
  blockPacks: {
878
- meta: {
879
- organization: {
880
- url: string;
881
- name: string;
1884
+ id: {
1885
+ organization: string;
1886
+ name: string;
1887
+ };
1888
+ registryId: string;
1889
+ latestByChannel: Record<string, {
1890
+ meta: {
1891
+ organization: {
1892
+ url: string;
1893
+ name: string;
1894
+ logo?: {
1895
+ type: "explicit-bytes";
1896
+ content: Uint8Array;
1897
+ mimeType: string;
1898
+ } | undefined;
1899
+ };
1900
+ title: string;
1901
+ description: string;
1902
+ url?: string | undefined;
1903
+ longDescription?: string | undefined;
1904
+ changelog?: string | undefined;
882
1905
  logo?: {
883
1906
  type: "explicit-bytes";
884
1907
  content: Uint8Array;
885
1908
  mimeType: string;
886
1909
  } | undefined;
1910
+ docs?: string | undefined;
1911
+ support?: string | undefined;
1912
+ tags?: string[] | undefined;
1913
+ marketplaceRanking?: number | undefined;
887
1914
  };
888
- title: string;
889
- description: string;
890
- url?: string | undefined;
891
- longDescription?: string | undefined;
892
- changelog?: string | undefined;
893
- logo?: {
894
- type: "explicit-bytes";
895
- content: Uint8Array;
896
- mimeType: string;
897
- } | undefined;
898
- docs?: string | undefined;
899
- support?: string | undefined;
900
- tags?: string[] | undefined;
901
- marketplaceRanking?: number | undefined;
902
- };
903
- id: {
904
- organization: string;
905
- name: string;
906
- version: string;
907
- };
908
- spec: {
909
- type: "dev-v1";
910
- folder: string;
911
- mtime?: string | undefined;
912
- } | {
913
- type: "dev-v2";
914
- folder: string;
915
- mtime?: string | undefined;
916
- } | {
917
- type: "from-registry-v1";
918
1915
  id: {
919
1916
  organization: string;
920
1917
  name: string;
921
1918
  version: string;
922
1919
  };
923
- registryUrl: string;
924
- } | {
925
- type: "from-registry-v2";
926
- id: {
927
- organization: string;
928
- name: string;
929
- version: string;
1920
+ spec: {
1921
+ type: "dev-v1";
1922
+ folder: string;
1923
+ mtime?: string | undefined;
1924
+ } | {
1925
+ type: "dev-v2";
1926
+ folder: string;
1927
+ mtime?: string | undefined;
1928
+ } | {
1929
+ type: "from-registry-v1";
1930
+ id: {
1931
+ organization: string;
1932
+ name: string;
1933
+ version: string;
1934
+ };
1935
+ registryUrl: string;
1936
+ } | {
1937
+ type: "from-registry-v2";
1938
+ id: {
1939
+ organization: string;
1940
+ name: string;
1941
+ version: string;
1942
+ };
1943
+ registryUrl: string;
1944
+ channel?: string | undefined;
930
1945
  };
931
- registryUrl: string;
932
- };
933
- registryId: string;
934
- otherVersions: string[];
1946
+ }>;
1947
+ allVersions: {
1948
+ version: string;
1949
+ channels: string[];
1950
+ }[];
935
1951
  }[];
936
1952
  }>;
937
1953
  export type BlockPackListing = z.infer<typeof BlockPackListing>;
1954
+ export declare function blockPackOverviewToLegacy(bpo: BlockPackOverview): BlockPackOverviewLegacy;
938
1955
  //# sourceMappingURL=overview.d.ts.map