@platforma-sdk/block-tools 2.5.92 → 2.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.
Files changed (36) hide show
  1. package/README.md +38 -2
  2. package/dist/cli.js +5 -1
  3. package/dist/cli.js.map +1 -1
  4. package/dist/cli.mjs +208 -129
  5. package/dist/cli.mjs.map +1 -1
  6. package/dist/cmd/index.d.ts +14 -10
  7. package/dist/cmd/list-overview-snapshots.d.ts +9 -0
  8. package/dist/cmd/restore-overview-from-snapshot.d.ts +10 -0
  9. package/dist/config-DjpRXRy9.js +3 -0
  10. package/dist/config-DjpRXRy9.js.map +1 -0
  11. package/dist/config-XBQ2O39y.mjs +2020 -0
  12. package/dist/config-XBQ2O39y.mjs.map +1 -0
  13. package/dist/index.js +1 -1
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +2 -2
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/registry_v1/config_schema.d.ts +5 -5
  18. package/dist/v2/model/block_description.d.ts +7329 -1422
  19. package/dist/v2/model/block_meta.d.ts +481 -88
  20. package/dist/v2/registry/registry.d.ts +16 -1
  21. package/dist/v2/registry/registry_reader.d.ts +2 -3
  22. package/dist/v2/registry/schema_internal.d.ts +7 -1
  23. package/package.json +7 -7
  24. package/src/cmd/index.ts +14 -10
  25. package/src/cmd/list-overview-snapshots.ts +46 -0
  26. package/src/cmd/restore-overview-from-snapshot.ts +78 -0
  27. package/src/v2/registry/registry.test.ts +176 -4
  28. package/src/v2/registry/registry.ts +146 -13
  29. package/src/v2/registry/registry_reader.ts +5 -6
  30. package/src/v2/registry/schema_internal.ts +16 -1
  31. package/src/v2/registry/schema_public.ts +5 -5
  32. package/dist/config-VnABe7ki.mjs +0 -1951
  33. package/dist/config-VnABe7ki.mjs.map +0 -1
  34. package/dist/config-t7F2nAAr.js +0 -3
  35. package/dist/config-t7F2nAAr.js.map +0 -1
  36. package/dist/v2/registry/schema_public.d.ts +0 -18475
@@ -244,10 +244,47 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
244
244
  type: "absolute-file";
245
245
  file: string;
246
246
  }>>;
247
- }, "strip", z.ZodTypeAny, {
248
- url: string;
249
- name: string;
250
- logo?: {
247
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
248
+ name: z.ZodString;
249
+ url: z.ZodString;
250
+ logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
251
+ type: "explicit-base64";
252
+ content: string;
253
+ mimeType: string;
254
+ } | {
255
+ type: "relative";
256
+ path: string;
257
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
258
+ type: z.ZodLiteral<"explicit-base64">;
259
+ mimeType: z.ZodString;
260
+ content: z.ZodString;
261
+ }, "strict", z.ZodTypeAny, {
262
+ type: "explicit-base64";
263
+ content: string;
264
+ mimeType: string;
265
+ }, {
266
+ type: "explicit-base64";
267
+ content: string;
268
+ mimeType: string;
269
+ }>, z.ZodObject<{
270
+ type: z.ZodLiteral<"relative">;
271
+ path: z.ZodString;
272
+ }, "strict", z.ZodTypeAny, {
273
+ type: "relative";
274
+ path: string;
275
+ }, {
276
+ type: "relative";
277
+ path: string;
278
+ }>, z.ZodObject<{
279
+ type: z.ZodLiteral<"absolute-file">;
280
+ file: z.ZodString;
281
+ }, "strict", z.ZodTypeAny, {
282
+ type: "absolute-file";
283
+ file: string;
284
+ }, {
285
+ type: "absolute-file";
286
+ file: string;
287
+ }>]>]>, {
251
288
  type: "absolute-file";
252
289
  file: string;
253
290
  } | {
@@ -261,11 +298,7 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
261
298
  } | {
262
299
  type: "absolute-file";
263
300
  file: string;
264
- } | undefined;
265
- }, {
266
- url: string;
267
- name: string;
268
- logo?: string | {
301
+ }, string | {
269
302
  type: "explicit-base64";
270
303
  content: string;
271
304
  mimeType: string;
@@ -275,8 +308,73 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
275
308
  } | {
276
309
  type: "absolute-file";
277
310
  file: string;
278
- } | undefined;
279
- }>;
311
+ }>>;
312
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
313
+ name: z.ZodString;
314
+ url: z.ZodString;
315
+ logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
316
+ type: "explicit-base64";
317
+ content: string;
318
+ mimeType: string;
319
+ } | {
320
+ type: "relative";
321
+ path: string;
322
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
323
+ type: z.ZodLiteral<"explicit-base64">;
324
+ mimeType: z.ZodString;
325
+ content: z.ZodString;
326
+ }, "strict", z.ZodTypeAny, {
327
+ type: "explicit-base64";
328
+ content: string;
329
+ mimeType: string;
330
+ }, {
331
+ type: "explicit-base64";
332
+ content: string;
333
+ mimeType: string;
334
+ }>, z.ZodObject<{
335
+ type: z.ZodLiteral<"relative">;
336
+ path: z.ZodString;
337
+ }, "strict", z.ZodTypeAny, {
338
+ type: "relative";
339
+ path: string;
340
+ }, {
341
+ type: "relative";
342
+ path: string;
343
+ }>, z.ZodObject<{
344
+ type: z.ZodLiteral<"absolute-file">;
345
+ file: z.ZodString;
346
+ }, "strict", z.ZodTypeAny, {
347
+ type: "absolute-file";
348
+ file: string;
349
+ }, {
350
+ type: "absolute-file";
351
+ file: string;
352
+ }>]>]>, {
353
+ type: "absolute-file";
354
+ file: string;
355
+ } | {
356
+ type: "explicit-base64";
357
+ content: string;
358
+ mimeType: string;
359
+ } | {
360
+ type: "explicit-base64";
361
+ content: string;
362
+ mimeType: string;
363
+ } | {
364
+ type: "absolute-file";
365
+ file: string;
366
+ }, string | {
367
+ type: "explicit-base64";
368
+ content: string;
369
+ mimeType: string;
370
+ } | {
371
+ type: "relative";
372
+ path: string;
373
+ } | {
374
+ type: "absolute-file";
375
+ file: string;
376
+ }>>;
377
+ }, z.ZodTypeAny, "passthrough">>;
280
378
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
281
379
  deprecated: z.ZodOptional<z.ZodBoolean>;
282
380
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -301,6 +399,8 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
301
399
  type: "absolute-file";
302
400
  file: string;
303
401
  } | undefined;
402
+ } & {
403
+ [k: string]: unknown;
304
404
  };
305
405
  longDescription?: {
306
406
  type: "absolute-file";
@@ -367,6 +467,8 @@ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
367
467
  type: "absolute-file";
368
468
  file: string;
369
469
  } | undefined;
470
+ } & {
471
+ [k: string]: unknown;
370
472
  };
371
473
  longDescription?: string | {
372
474
  type: "explicit-string";
@@ -552,29 +654,85 @@ export declare function BlockPackMetaConsolidate(dstFolder: string, fileAccumula
552
654
  type: "absolute-file";
553
655
  file: string;
554
656
  }>>;
555
- }, "strip", z.ZodTypeAny, {
556
- url: string;
557
- name: string;
558
- logo?: {
657
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
658
+ name: z.ZodString;
659
+ url: z.ZodString;
660
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
661
+ type: z.ZodLiteral<"explicit-base64">;
662
+ mimeType: z.ZodString;
663
+ content: z.ZodString;
664
+ }, "strict", z.ZodTypeAny, {
665
+ type: "explicit-base64";
666
+ content: string;
667
+ mimeType: string;
668
+ }, {
669
+ type: "explicit-base64";
670
+ content: string;
671
+ mimeType: string;
672
+ }>, z.ZodObject<{
673
+ type: z.ZodLiteral<"absolute-file">;
674
+ file: z.ZodString;
675
+ }, "strict", z.ZodTypeAny, {
676
+ type: "absolute-file";
677
+ file: string;
678
+ }, {
679
+ type: "absolute-file";
680
+ file: string;
681
+ }>]>, {
559
682
  type: "relative";
560
683
  path: string;
561
684
  } | {
562
685
  type: "explicit-base64";
563
686
  content: string;
564
687
  mimeType: string;
565
- } | undefined;
566
- }, {
567
- url: string;
568
- name: string;
569
- logo?: {
688
+ }, {
570
689
  type: "explicit-base64";
571
690
  content: string;
572
691
  mimeType: string;
573
692
  } | {
574
693
  type: "absolute-file";
575
694
  file: string;
576
- } | undefined;
577
- }>;
695
+ }>>;
696
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
697
+ name: z.ZodString;
698
+ url: z.ZodString;
699
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
700
+ type: z.ZodLiteral<"explicit-base64">;
701
+ mimeType: z.ZodString;
702
+ content: z.ZodString;
703
+ }, "strict", z.ZodTypeAny, {
704
+ type: "explicit-base64";
705
+ content: string;
706
+ mimeType: string;
707
+ }, {
708
+ type: "explicit-base64";
709
+ content: string;
710
+ mimeType: string;
711
+ }>, z.ZodObject<{
712
+ type: z.ZodLiteral<"absolute-file">;
713
+ file: z.ZodString;
714
+ }, "strict", z.ZodTypeAny, {
715
+ type: "absolute-file";
716
+ file: string;
717
+ }, {
718
+ type: "absolute-file";
719
+ file: string;
720
+ }>]>, {
721
+ type: "relative";
722
+ path: string;
723
+ } | {
724
+ type: "explicit-base64";
725
+ content: string;
726
+ mimeType: string;
727
+ }, {
728
+ type: "explicit-base64";
729
+ content: string;
730
+ mimeType: string;
731
+ } | {
732
+ type: "absolute-file";
733
+ file: string;
734
+ }>>;
735
+ }, z.ZodTypeAny, "passthrough">>;
578
736
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
579
737
  deprecated: z.ZodOptional<z.ZodBoolean>;
580
738
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -592,6 +750,8 @@ export declare function BlockPackMetaConsolidate(dstFolder: string, fileAccumula
592
750
  content: string;
593
751
  mimeType: string;
594
752
  } | undefined;
753
+ } & {
754
+ [k: string]: unknown;
595
755
  };
596
756
  longDescription?: {
597
757
  type: "relative";
@@ -636,6 +796,8 @@ export declare function BlockPackMetaConsolidate(dstFolder: string, fileAccumula
636
796
  type: "absolute-file";
637
797
  file: string;
638
798
  } | undefined;
799
+ } & {
800
+ [k: string]: unknown;
639
801
  };
640
802
  longDescription?: {
641
803
  type: "explicit-string";
@@ -793,26 +955,79 @@ export declare const BlockPackMetaEmbedAbsoluteBase64: z.ZodPipeline<z.ZodObject
793
955
  type: "absolute-file";
794
956
  file: string;
795
957
  }>>;
796
- }, "strip", z.ZodTypeAny, {
797
- url: string;
798
- name: string;
799
- logo?: {
958
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
959
+ name: z.ZodString;
960
+ url: z.ZodString;
961
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
962
+ type: z.ZodLiteral<"explicit-base64">;
963
+ mimeType: z.ZodString;
964
+ content: z.ZodString;
965
+ }, "strict", z.ZodTypeAny, {
800
966
  type: "explicit-base64";
801
967
  content: string;
802
968
  mimeType: string;
803
- } | undefined;
804
- }, {
805
- url: string;
806
- name: string;
807
- logo?: {
969
+ }, {
970
+ type: "explicit-base64";
971
+ content: string;
972
+ mimeType: string;
973
+ }>, z.ZodObject<{
974
+ type: z.ZodLiteral<"absolute-file">;
975
+ file: z.ZodString;
976
+ }, "strict", z.ZodTypeAny, {
977
+ type: "absolute-file";
978
+ file: string;
979
+ }, {
980
+ type: "absolute-file";
981
+ file: string;
982
+ }>]>, {
983
+ type: "explicit-base64";
984
+ content: string;
985
+ mimeType: string;
986
+ }, {
808
987
  type: "explicit-base64";
809
988
  content: string;
810
989
  mimeType: string;
811
990
  } | {
812
991
  type: "absolute-file";
813
992
  file: string;
814
- } | undefined;
815
- }>;
993
+ }>>;
994
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
995
+ name: z.ZodString;
996
+ url: z.ZodString;
997
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
998
+ type: z.ZodLiteral<"explicit-base64">;
999
+ mimeType: z.ZodString;
1000
+ content: z.ZodString;
1001
+ }, "strict", z.ZodTypeAny, {
1002
+ type: "explicit-base64";
1003
+ content: string;
1004
+ mimeType: string;
1005
+ }, {
1006
+ type: "explicit-base64";
1007
+ content: string;
1008
+ mimeType: string;
1009
+ }>, z.ZodObject<{
1010
+ type: z.ZodLiteral<"absolute-file">;
1011
+ file: z.ZodString;
1012
+ }, "strict", z.ZodTypeAny, {
1013
+ type: "absolute-file";
1014
+ file: string;
1015
+ }, {
1016
+ type: "absolute-file";
1017
+ file: string;
1018
+ }>]>, {
1019
+ type: "explicit-base64";
1020
+ content: string;
1021
+ mimeType: string;
1022
+ }, {
1023
+ type: "explicit-base64";
1024
+ content: string;
1025
+ mimeType: string;
1026
+ } | {
1027
+ type: "absolute-file";
1028
+ file: string;
1029
+ }>>;
1030
+ }, z.ZodTypeAny, "passthrough">>;
816
1031
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
817
1032
  deprecated: z.ZodOptional<z.ZodBoolean>;
818
1033
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -827,6 +1042,8 @@ export declare const BlockPackMetaEmbedAbsoluteBase64: z.ZodPipeline<z.ZodObject
827
1042
  content: string;
828
1043
  mimeType: string;
829
1044
  } | undefined;
1045
+ } & {
1046
+ [k: string]: unknown;
830
1047
  };
831
1048
  longDescription?: string | undefined;
832
1049
  changelog?: string | undefined;
@@ -856,6 +1073,8 @@ export declare const BlockPackMetaEmbedAbsoluteBase64: z.ZodPipeline<z.ZodObject
856
1073
  type: "absolute-file";
857
1074
  file: string;
858
1075
  } | undefined;
1076
+ } & {
1077
+ [k: string]: unknown;
859
1078
  };
860
1079
  longDescription?: {
861
1080
  type: "explicit-string";
@@ -924,23 +1143,39 @@ export declare const BlockPackMetaEmbedAbsoluteBase64: z.ZodPipeline<z.ZodObject
924
1143
  content: string;
925
1144
  mimeType: string;
926
1145
  }>>;
927
- }, "strip", z.ZodTypeAny, {
928
- url: string;
929
- name: string;
930
- logo?: {
1146
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1147
+ name: z.ZodString;
1148
+ url: z.ZodString;
1149
+ logo: z.ZodOptional<z.ZodObject<{
1150
+ type: z.ZodLiteral<"explicit-base64">;
1151
+ mimeType: z.ZodString;
1152
+ content: z.ZodString;
1153
+ }, "strict", z.ZodTypeAny, {
931
1154
  type: "explicit-base64";
932
1155
  content: string;
933
1156
  mimeType: string;
934
- } | undefined;
935
- }, {
936
- url: string;
937
- name: string;
938
- logo?: {
1157
+ }, {
939
1158
  type: "explicit-base64";
940
1159
  content: string;
941
1160
  mimeType: string;
942
- } | undefined;
943
- }>;
1161
+ }>>;
1162
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1163
+ name: z.ZodString;
1164
+ url: z.ZodString;
1165
+ logo: z.ZodOptional<z.ZodObject<{
1166
+ type: z.ZodLiteral<"explicit-base64">;
1167
+ mimeType: z.ZodString;
1168
+ content: z.ZodString;
1169
+ }, "strict", z.ZodTypeAny, {
1170
+ type: "explicit-base64";
1171
+ content: string;
1172
+ mimeType: string;
1173
+ }, {
1174
+ type: "explicit-base64";
1175
+ content: string;
1176
+ mimeType: string;
1177
+ }>>;
1178
+ }, z.ZodTypeAny, "passthrough">>;
944
1179
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
945
1180
  deprecated: z.ZodOptional<z.ZodBoolean>;
946
1181
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -953,6 +1188,8 @@ export declare const BlockPackMetaEmbedAbsoluteBase64: z.ZodPipeline<z.ZodObject
953
1188
  content: string;
954
1189
  mimeType: string;
955
1190
  } | undefined;
1191
+ } & {
1192
+ [k: string]: unknown;
956
1193
  };
957
1194
  title: string;
958
1195
  description: string;
@@ -979,6 +1216,8 @@ export declare const BlockPackMetaEmbedAbsoluteBase64: z.ZodPipeline<z.ZodObject
979
1216
  content: string;
980
1217
  mimeType: string;
981
1218
  } | undefined;
1219
+ } & {
1220
+ [k: string]: unknown;
982
1221
  };
983
1222
  title: string;
984
1223
  description: string;
@@ -1123,26 +1362,79 @@ export declare const BlockPackMetaEmbedAbsoluteBytes: z.ZodPipeline<z.ZodObject<
1123
1362
  type: "absolute-file";
1124
1363
  file: string;
1125
1364
  }>>;
1126
- }, "strip", z.ZodTypeAny, {
1127
- url: string;
1128
- name: string;
1129
- logo?: {
1365
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1366
+ name: z.ZodString;
1367
+ url: z.ZodString;
1368
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1369
+ type: z.ZodLiteral<"explicit-base64">;
1370
+ mimeType: z.ZodString;
1371
+ content: z.ZodString;
1372
+ }, "strict", z.ZodTypeAny, {
1373
+ type: "explicit-base64";
1374
+ content: string;
1375
+ mimeType: string;
1376
+ }, {
1377
+ type: "explicit-base64";
1378
+ content: string;
1379
+ mimeType: string;
1380
+ }>, z.ZodObject<{
1381
+ type: z.ZodLiteral<"absolute-file">;
1382
+ file: z.ZodString;
1383
+ }, "strict", z.ZodTypeAny, {
1384
+ type: "absolute-file";
1385
+ file: string;
1386
+ }, {
1387
+ type: "absolute-file";
1388
+ file: string;
1389
+ }>]>, {
1130
1390
  type: "explicit-bytes";
1131
1391
  content: Uint8Array;
1132
1392
  mimeType: string;
1133
- } | undefined;
1134
- }, {
1135
- url: string;
1136
- name: string;
1137
- logo?: {
1393
+ }, {
1138
1394
  type: "explicit-base64";
1139
1395
  content: string;
1140
1396
  mimeType: string;
1141
1397
  } | {
1142
1398
  type: "absolute-file";
1143
1399
  file: string;
1144
- } | undefined;
1145
- }>;
1400
+ }>>;
1401
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1402
+ name: z.ZodString;
1403
+ url: z.ZodString;
1404
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1405
+ type: z.ZodLiteral<"explicit-base64">;
1406
+ mimeType: z.ZodString;
1407
+ content: z.ZodString;
1408
+ }, "strict", z.ZodTypeAny, {
1409
+ type: "explicit-base64";
1410
+ content: string;
1411
+ mimeType: string;
1412
+ }, {
1413
+ type: "explicit-base64";
1414
+ content: string;
1415
+ mimeType: string;
1416
+ }>, z.ZodObject<{
1417
+ type: z.ZodLiteral<"absolute-file">;
1418
+ file: z.ZodString;
1419
+ }, "strict", z.ZodTypeAny, {
1420
+ type: "absolute-file";
1421
+ file: string;
1422
+ }, {
1423
+ type: "absolute-file";
1424
+ file: string;
1425
+ }>]>, {
1426
+ type: "explicit-bytes";
1427
+ content: Uint8Array;
1428
+ mimeType: string;
1429
+ }, {
1430
+ type: "explicit-base64";
1431
+ content: string;
1432
+ mimeType: string;
1433
+ } | {
1434
+ type: "absolute-file";
1435
+ file: string;
1436
+ }>>;
1437
+ }, z.ZodTypeAny, "passthrough">>;
1146
1438
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1147
1439
  deprecated: z.ZodOptional<z.ZodBoolean>;
1148
1440
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -1157,6 +1449,8 @@ export declare const BlockPackMetaEmbedAbsoluteBytes: z.ZodPipeline<z.ZodObject<
1157
1449
  content: Uint8Array;
1158
1450
  mimeType: string;
1159
1451
  } | undefined;
1452
+ } & {
1453
+ [k: string]: unknown;
1160
1454
  };
1161
1455
  longDescription?: string | undefined;
1162
1456
  changelog?: string | undefined;
@@ -1186,6 +1480,8 @@ export declare const BlockPackMetaEmbedAbsoluteBytes: z.ZodPipeline<z.ZodObject<
1186
1480
  type: "absolute-file";
1187
1481
  file: string;
1188
1482
  } | undefined;
1483
+ } & {
1484
+ [k: string]: unknown;
1189
1485
  };
1190
1486
  longDescription?: {
1191
1487
  type: "explicit-string";
@@ -1254,23 +1550,39 @@ export declare const BlockPackMetaEmbedAbsoluteBytes: z.ZodPipeline<z.ZodObject<
1254
1550
  content: Uint8Array;
1255
1551
  mimeType: string;
1256
1552
  }>>;
1257
- }, "strip", z.ZodTypeAny, {
1258
- url: string;
1259
- name: string;
1260
- logo?: {
1553
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1554
+ name: z.ZodString;
1555
+ url: z.ZodString;
1556
+ logo: z.ZodOptional<z.ZodObject<{
1557
+ type: z.ZodLiteral<"explicit-bytes">;
1558
+ mimeType: z.ZodString;
1559
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
1560
+ }, "strict", z.ZodTypeAny, {
1261
1561
  type: "explicit-bytes";
1262
1562
  content: Uint8Array;
1263
1563
  mimeType: string;
1264
- } | undefined;
1265
- }, {
1266
- url: string;
1267
- name: string;
1268
- logo?: {
1564
+ }, {
1269
1565
  type: "explicit-bytes";
1270
1566
  content: Uint8Array;
1271
1567
  mimeType: string;
1272
- } | undefined;
1273
- }>;
1568
+ }>>;
1569
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1570
+ name: z.ZodString;
1571
+ url: z.ZodString;
1572
+ logo: z.ZodOptional<z.ZodObject<{
1573
+ type: z.ZodLiteral<"explicit-bytes">;
1574
+ mimeType: z.ZodString;
1575
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
1576
+ }, "strict", z.ZodTypeAny, {
1577
+ type: "explicit-bytes";
1578
+ content: Uint8Array;
1579
+ mimeType: string;
1580
+ }, {
1581
+ type: "explicit-bytes";
1582
+ content: Uint8Array;
1583
+ mimeType: string;
1584
+ }>>;
1585
+ }, z.ZodTypeAny, "passthrough">>;
1274
1586
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1275
1587
  deprecated: z.ZodOptional<z.ZodBoolean>;
1276
1588
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -1283,6 +1595,8 @@ export declare const BlockPackMetaEmbedAbsoluteBytes: z.ZodPipeline<z.ZodObject<
1283
1595
  content: Uint8Array;
1284
1596
  mimeType: string;
1285
1597
  } | undefined;
1598
+ } & {
1599
+ [k: string]: unknown;
1286
1600
  };
1287
1601
  title: string;
1288
1602
  description: string;
@@ -1309,6 +1623,8 @@ export declare const BlockPackMetaEmbedAbsoluteBytes: z.ZodPipeline<z.ZodObject<
1309
1623
  content: Uint8Array;
1310
1624
  mimeType: string;
1311
1625
  } | undefined;
1626
+ } & {
1627
+ [k: string]: unknown;
1312
1628
  };
1313
1629
  title: string;
1314
1630
  description: string;
@@ -1453,26 +1769,79 @@ export declare function BlockPackMetaEmbedBytes(reader: RelativeContentReader):
1453
1769
  type: "relative";
1454
1770
  path: string;
1455
1771
  }>>;
1456
- }, "strip", z.ZodTypeAny, {
1457
- url: string;
1458
- name: string;
1459
- logo?: {
1772
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1773
+ name: z.ZodString;
1774
+ url: z.ZodString;
1775
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1776
+ type: z.ZodLiteral<"explicit-base64">;
1777
+ mimeType: z.ZodString;
1778
+ content: z.ZodString;
1779
+ }, "strict", z.ZodTypeAny, {
1780
+ type: "explicit-base64";
1781
+ content: string;
1782
+ mimeType: string;
1783
+ }, {
1784
+ type: "explicit-base64";
1785
+ content: string;
1786
+ mimeType: string;
1787
+ }>, z.ZodObject<{
1788
+ type: z.ZodLiteral<"relative">;
1789
+ path: z.ZodString;
1790
+ }, "strict", z.ZodTypeAny, {
1791
+ type: "relative";
1792
+ path: string;
1793
+ }, {
1794
+ type: "relative";
1795
+ path: string;
1796
+ }>]>, {
1460
1797
  type: "explicit-bytes";
1461
1798
  content: Uint8Array;
1462
1799
  mimeType: string;
1463
- } | undefined;
1464
- }, {
1465
- url: string;
1466
- name: string;
1467
- logo?: {
1800
+ }, {
1468
1801
  type: "explicit-base64";
1469
1802
  content: string;
1470
1803
  mimeType: string;
1471
1804
  } | {
1472
1805
  type: "relative";
1473
1806
  path: string;
1474
- } | undefined;
1475
- }>;
1807
+ }>>;
1808
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1809
+ name: z.ZodString;
1810
+ url: z.ZodString;
1811
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1812
+ type: z.ZodLiteral<"explicit-base64">;
1813
+ mimeType: z.ZodString;
1814
+ content: z.ZodString;
1815
+ }, "strict", z.ZodTypeAny, {
1816
+ type: "explicit-base64";
1817
+ content: string;
1818
+ mimeType: string;
1819
+ }, {
1820
+ type: "explicit-base64";
1821
+ content: string;
1822
+ mimeType: string;
1823
+ }>, z.ZodObject<{
1824
+ type: z.ZodLiteral<"relative">;
1825
+ path: z.ZodString;
1826
+ }, "strict", z.ZodTypeAny, {
1827
+ type: "relative";
1828
+ path: string;
1829
+ }, {
1830
+ type: "relative";
1831
+ path: string;
1832
+ }>]>, {
1833
+ type: "explicit-bytes";
1834
+ content: Uint8Array;
1835
+ mimeType: string;
1836
+ }, {
1837
+ type: "explicit-base64";
1838
+ content: string;
1839
+ mimeType: string;
1840
+ } | {
1841
+ type: "relative";
1842
+ path: string;
1843
+ }>>;
1844
+ }, z.ZodTypeAny, "passthrough">>;
1476
1845
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1477
1846
  deprecated: z.ZodOptional<z.ZodBoolean>;
1478
1847
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -1487,6 +1856,8 @@ export declare function BlockPackMetaEmbedBytes(reader: RelativeContentReader):
1487
1856
  content: Uint8Array;
1488
1857
  mimeType: string;
1489
1858
  } | undefined;
1859
+ } & {
1860
+ [k: string]: unknown;
1490
1861
  };
1491
1862
  longDescription?: string | undefined;
1492
1863
  changelog?: string | undefined;
@@ -1516,6 +1887,8 @@ export declare function BlockPackMetaEmbedBytes(reader: RelativeContentReader):
1516
1887
  type: "relative";
1517
1888
  path: string;
1518
1889
  } | undefined;
1890
+ } & {
1891
+ [k: string]: unknown;
1519
1892
  };
1520
1893
  longDescription?: {
1521
1894
  type: "explicit-string";
@@ -1584,23 +1957,39 @@ export declare function BlockPackMetaEmbedBytes(reader: RelativeContentReader):
1584
1957
  content: Uint8Array;
1585
1958
  mimeType: string;
1586
1959
  }>>;
1587
- }, "strip", z.ZodTypeAny, {
1588
- url: string;
1589
- name: string;
1590
- logo?: {
1960
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1961
+ name: z.ZodString;
1962
+ url: z.ZodString;
1963
+ logo: z.ZodOptional<z.ZodObject<{
1964
+ type: z.ZodLiteral<"explicit-bytes">;
1965
+ mimeType: z.ZodString;
1966
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
1967
+ }, "strict", z.ZodTypeAny, {
1591
1968
  type: "explicit-bytes";
1592
1969
  content: Uint8Array;
1593
1970
  mimeType: string;
1594
- } | undefined;
1595
- }, {
1596
- url: string;
1597
- name: string;
1598
- logo?: {
1971
+ }, {
1599
1972
  type: "explicit-bytes";
1600
1973
  content: Uint8Array;
1601
1974
  mimeType: string;
1602
- } | undefined;
1603
- }>;
1975
+ }>>;
1976
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1977
+ name: z.ZodString;
1978
+ url: z.ZodString;
1979
+ logo: z.ZodOptional<z.ZodObject<{
1980
+ type: z.ZodLiteral<"explicit-bytes">;
1981
+ mimeType: z.ZodString;
1982
+ content: z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>;
1983
+ }, "strict", z.ZodTypeAny, {
1984
+ type: "explicit-bytes";
1985
+ content: Uint8Array;
1986
+ mimeType: string;
1987
+ }, {
1988
+ type: "explicit-bytes";
1989
+ content: Uint8Array;
1990
+ mimeType: string;
1991
+ }>>;
1992
+ }, z.ZodTypeAny, "passthrough">>;
1604
1993
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1605
1994
  deprecated: z.ZodOptional<z.ZodBoolean>;
1606
1995
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -1613,6 +2002,8 @@ export declare function BlockPackMetaEmbedBytes(reader: RelativeContentReader):
1613
2002
  content: Uint8Array;
1614
2003
  mimeType: string;
1615
2004
  } | undefined;
2005
+ } & {
2006
+ [k: string]: unknown;
1616
2007
  };
1617
2008
  title: string;
1618
2009
  description: string;
@@ -1639,6 +2030,8 @@ export declare function BlockPackMetaEmbedBytes(reader: RelativeContentReader):
1639
2030
  content: Uint8Array;
1640
2031
  mimeType: string;
1641
2032
  } | undefined;
2033
+ } & {
2034
+ [k: string]: unknown;
1642
2035
  };
1643
2036
  title: string;
1644
2037
  description: string;