@milaboratories/pl-model-middle-layer 1.8.20 → 1.8.22

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 (37) hide show
  1. package/dist/block_meta/block_description.cjs +1 -1
  2. package/dist/block_meta/block_description.cjs.map +1 -1
  3. package/dist/block_meta/block_description.d.ts +876 -110
  4. package/dist/block_meta/block_description.d.ts.map +1 -1
  5. package/dist/block_meta/block_description.js +1 -1
  6. package/dist/block_meta/block_description.js.map +1 -1
  7. package/dist/block_meta/block_manifest.cjs +1 -1
  8. package/dist/block_meta/block_manifest.cjs.map +1 -1
  9. package/dist/block_meta/block_manifest.d.ts +3801 -332
  10. package/dist/block_meta/block_manifest.d.ts.map +1 -1
  11. package/dist/block_meta/block_manifest.js +1 -1
  12. package/dist/block_meta/block_manifest.js.map +1 -1
  13. package/dist/block_meta/block_meta.cjs +1 -1
  14. package/dist/block_meta/block_meta.cjs.map +1 -1
  15. package/dist/block_meta/block_meta.d.ts +151 -93
  16. package/dist/block_meta/block_meta.d.ts.map +1 -1
  17. package/dist/block_meta/block_meta.js +1 -1
  18. package/dist/block_meta/block_meta.js.map +1 -1
  19. package/dist/block_registry/overview.cjs +8 -4
  20. package/dist/block_registry/overview.cjs.map +1 -1
  21. package/dist/block_registry/overview.d.ts +10103 -1144
  22. package/dist/block_registry/overview.d.ts.map +1 -1
  23. package/dist/block_registry/overview.js +7 -5
  24. package/dist/block_registry/overview.js.map +1 -1
  25. package/dist/index.cjs +2 -0
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/pframe/internal_api/http_helpers.cjs.map +1 -1
  29. package/dist/pframe/internal_api/http_helpers.d.ts +4 -1
  30. package/dist/pframe/internal_api/http_helpers.d.ts.map +1 -1
  31. package/dist/pframe/internal_api/http_helpers.js.map +1 -1
  32. package/package.json +4 -4
  33. package/src/block_meta/block_description.ts +1 -1
  34. package/src/block_meta/block_manifest.ts +1 -1
  35. package/src/block_meta/block_meta.ts +1 -1
  36. package/src/block_registry/overview.ts +9 -5
  37. package/src/pframe/internal_api/http_helpers.ts +4 -1
@@ -199,35 +199,89 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
199
199
  type: "absolute-file";
200
200
  file: string;
201
201
  }>]>]>>;
202
- }, "strip", z.ZodTypeAny, {
203
- url: string;
204
- name: string;
205
- logo?: {
202
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
203
+ name: z.ZodString;
204
+ url: z.ZodString;
205
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
206
206
  type: "explicit-base64";
207
207
  content: string;
208
208
  mimeType: string;
209
209
  } | {
210
210
  type: "relative";
211
211
  path: string;
212
- } | {
212
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
213
+ type: z.ZodLiteral<"explicit-base64">;
214
+ mimeType: z.ZodString;
215
+ content: z.ZodString;
216
+ }, "strict", z.ZodTypeAny, {
217
+ type: "explicit-base64";
218
+ content: string;
219
+ mimeType: string;
220
+ }, {
221
+ type: "explicit-base64";
222
+ content: string;
223
+ mimeType: string;
224
+ }>, z.ZodObject<{
225
+ type: z.ZodLiteral<"relative">;
226
+ path: z.ZodString;
227
+ }, "strict", z.ZodTypeAny, {
228
+ type: "relative";
229
+ path: string;
230
+ }, {
231
+ type: "relative";
232
+ path: string;
233
+ }>, z.ZodObject<{
234
+ type: z.ZodLiteral<"absolute-file">;
235
+ file: z.ZodString;
236
+ }, "strict", z.ZodTypeAny, {
213
237
  type: "absolute-file";
214
238
  file: string;
215
- } | undefined;
216
- }, {
217
- url: string;
218
- name: string;
219
- logo?: string | {
239
+ }, {
240
+ type: "absolute-file";
241
+ file: string;
242
+ }>]>]>>;
243
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
244
+ name: z.ZodString;
245
+ url: z.ZodString;
246
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
220
247
  type: "explicit-base64";
221
248
  content: string;
222
249
  mimeType: string;
223
250
  } | {
224
251
  type: "relative";
225
252
  path: string;
226
- } | {
253
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
254
+ type: z.ZodLiteral<"explicit-base64">;
255
+ mimeType: z.ZodString;
256
+ content: z.ZodString;
257
+ }, "strict", z.ZodTypeAny, {
258
+ type: "explicit-base64";
259
+ content: string;
260
+ mimeType: string;
261
+ }, {
262
+ type: "explicit-base64";
263
+ content: string;
264
+ mimeType: string;
265
+ }>, z.ZodObject<{
266
+ type: z.ZodLiteral<"relative">;
267
+ path: z.ZodString;
268
+ }, "strict", z.ZodTypeAny, {
269
+ type: "relative";
270
+ path: string;
271
+ }, {
272
+ type: "relative";
273
+ path: string;
274
+ }>, z.ZodObject<{
275
+ type: z.ZodLiteral<"absolute-file">;
276
+ file: z.ZodString;
277
+ }, "strict", z.ZodTypeAny, {
227
278
  type: "absolute-file";
228
279
  file: string;
229
- } | undefined;
230
- }>;
280
+ }, {
281
+ type: "absolute-file";
282
+ file: string;
283
+ }>]>]>>;
284
+ }, z.ZodTypeAny, "passthrough">>;
231
285
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
232
286
  deprecated: z.ZodOptional<z.ZodBoolean>;
233
287
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -246,6 +300,8 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
246
300
  type: "absolute-file";
247
301
  file: string;
248
302
  } | undefined;
303
+ } & {
304
+ [k: string]: unknown;
249
305
  };
250
306
  title: string;
251
307
  description: string;
@@ -302,6 +358,8 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
302
358
  type: "absolute-file";
303
359
  file: string;
304
360
  } | undefined;
361
+ } & {
362
+ [k: string]: unknown;
305
363
  };
306
364
  title: string;
307
365
  description: string;
@@ -368,6 +426,8 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
368
426
  type: "absolute-file";
369
427
  file: string;
370
428
  } | undefined;
429
+ } & {
430
+ [k: string]: unknown;
371
431
  };
372
432
  title: string;
373
433
  description: string;
@@ -434,6 +494,8 @@ export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
434
494
  type: "absolute-file";
435
495
  file: string;
436
496
  } | undefined;
497
+ } & {
498
+ [k: string]: unknown;
437
499
  };
438
500
  title: string;
439
501
  description: string;
@@ -495,41 +557,7 @@ export declare function CreateBlockPackDescriptionSchema<Components extends ZodT
495
557
  components: Components;
496
558
  meta: Meta;
497
559
  featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
498
- }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
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
- components: Components;
513
- meta: Meta;
514
- featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
515
- }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
516
- id: z.ZodObject<{
517
- organization: z.ZodString;
518
- name: z.ZodString;
519
- version: z.ZodString;
520
- }, "strict", z.ZodTypeAny, {
521
- organization: string;
522
- name: string;
523
- version: string;
524
- }, {
525
- organization: string;
526
- name: string;
527
- version: string;
528
- }>;
529
- components: Components;
530
- meta: Meta;
531
- featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
532
- }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
560
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
533
561
  id: z.ZodObject<{
534
562
  organization: z.ZodString;
535
563
  name: z.ZodString;
@@ -546,7 +574,7 @@ export declare function CreateBlockPackDescriptionSchema<Components extends ZodT
546
574
  components: Components;
547
575
  meta: Meta;
548
576
  featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
549
- }>]: z.baseObjectInputType<{
577
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
550
578
  id: z.ZodObject<{
551
579
  organization: z.ZodString;
552
580
  name: z.ZodString;
@@ -563,7 +591,7 @@ export declare function CreateBlockPackDescriptionSchema<Components extends ZodT
563
591
  components: Components;
564
592
  meta: Meta;
565
593
  featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
566
- }>[k_1]; }>;
594
+ }, z.ZodTypeAny, "passthrough">>;
567
595
  export declare const BlockPackDescriptionRaw: z.ZodObject<{
568
596
  id: z.ZodObject<{
569
597
  organization: z.ZodString;
@@ -772,35 +800,89 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
772
800
  type: "absolute-file";
773
801
  file: string;
774
802
  }>]>]>>;
775
- }, "strip", z.ZodTypeAny, {
776
- url: string;
777
- name: string;
778
- logo?: {
803
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
804
+ name: z.ZodString;
805
+ url: z.ZodString;
806
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
779
807
  type: "explicit-base64";
780
808
  content: string;
781
809
  mimeType: string;
782
810
  } | {
783
811
  type: "relative";
784
812
  path: string;
785
- } | {
813
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
814
+ type: z.ZodLiteral<"explicit-base64">;
815
+ mimeType: z.ZodString;
816
+ content: z.ZodString;
817
+ }, "strict", z.ZodTypeAny, {
818
+ type: "explicit-base64";
819
+ content: string;
820
+ mimeType: string;
821
+ }, {
822
+ type: "explicit-base64";
823
+ content: string;
824
+ mimeType: string;
825
+ }>, z.ZodObject<{
826
+ type: z.ZodLiteral<"relative">;
827
+ path: z.ZodString;
828
+ }, "strict", z.ZodTypeAny, {
829
+ type: "relative";
830
+ path: string;
831
+ }, {
832
+ type: "relative";
833
+ path: string;
834
+ }>, z.ZodObject<{
835
+ type: z.ZodLiteral<"absolute-file">;
836
+ file: z.ZodString;
837
+ }, "strict", z.ZodTypeAny, {
786
838
  type: "absolute-file";
787
839
  file: string;
788
- } | undefined;
789
- }, {
790
- url: string;
791
- name: string;
792
- logo?: string | {
840
+ }, {
841
+ type: "absolute-file";
842
+ file: string;
843
+ }>]>]>>;
844
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
845
+ name: z.ZodString;
846
+ url: z.ZodString;
847
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
793
848
  type: "explicit-base64";
794
849
  content: string;
795
850
  mimeType: string;
796
851
  } | {
797
852
  type: "relative";
798
853
  path: string;
799
- } | {
854
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
855
+ type: z.ZodLiteral<"explicit-base64">;
856
+ mimeType: z.ZodString;
857
+ content: z.ZodString;
858
+ }, "strict", z.ZodTypeAny, {
859
+ type: "explicit-base64";
860
+ content: string;
861
+ mimeType: string;
862
+ }, {
863
+ type: "explicit-base64";
864
+ content: string;
865
+ mimeType: string;
866
+ }>, z.ZodObject<{
867
+ type: z.ZodLiteral<"relative">;
868
+ path: z.ZodString;
869
+ }, "strict", z.ZodTypeAny, {
870
+ type: "relative";
871
+ path: string;
872
+ }, {
873
+ type: "relative";
874
+ path: string;
875
+ }>, z.ZodObject<{
876
+ type: z.ZodLiteral<"absolute-file">;
877
+ file: z.ZodString;
878
+ }, "strict", z.ZodTypeAny, {
800
879
  type: "absolute-file";
801
880
  file: string;
802
- } | undefined;
803
- }>;
881
+ }, {
882
+ type: "absolute-file";
883
+ file: string;
884
+ }>]>]>>;
885
+ }, z.ZodTypeAny, "passthrough">>;
804
886
  marketplaceRanking: z.ZodOptional<z.ZodNumber>;
805
887
  deprecated: z.ZodOptional<z.ZodBoolean>;
806
888
  termsOfServiceUrl: z.ZodOptional<z.ZodString>;
@@ -819,6 +901,8 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
819
901
  type: "absolute-file";
820
902
  file: string;
821
903
  } | undefined;
904
+ } & {
905
+ [k: string]: unknown;
822
906
  };
823
907
  title: string;
824
908
  description: string;
@@ -875,6 +959,8 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
875
959
  type: "absolute-file";
876
960
  file: string;
877
961
  } | undefined;
962
+ } & {
963
+ [k: string]: unknown;
878
964
  };
879
965
  title: string;
880
966
  description: string;
@@ -918,35 +1004,734 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
918
1004
  termsOfServiceUrl?: string | undefined;
919
1005
  }>;
920
1006
  featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
921
- }, "strip", z.ZodTypeAny, {
922
- components: {
1007
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1008
+ id: z.ZodObject<{
1009
+ organization: z.ZodString;
1010
+ name: z.ZodString;
1011
+ version: z.ZodString;
1012
+ }, "strict", z.ZodTypeAny, {
1013
+ organization: string;
1014
+ name: string;
1015
+ version: string;
1016
+ }, {
1017
+ organization: string;
1018
+ name: string;
1019
+ version: string;
1020
+ }>;
1021
+ components: z.ZodObject<{
1022
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
1023
+ type: "workflow-v1";
1024
+ main: string;
1025
+ }, string>, z.ZodObject<{
1026
+ type: z.ZodLiteral<"workflow-v1">;
1027
+ main: z.ZodString;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ type: "workflow-v1";
1030
+ main: string;
1031
+ }, {
1032
+ type: "workflow-v1";
1033
+ main: string;
1034
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1035
+ type: z.ZodLiteral<"workflow-v1">;
1036
+ main: z.ZodString;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ type: "workflow-v1";
1039
+ main: string;
1040
+ }, {
1041
+ type: "workflow-v1";
1042
+ main: string;
1043
+ }>]>]>;
1044
+ model: z.ZodString;
1045
+ ui: z.ZodString;
1046
+ }, "strip", z.ZodTypeAny, {
923
1047
  ui: string;
924
1048
  workflow: {
925
1049
  type: "workflow-v1";
926
1050
  main: string;
927
1051
  };
928
1052
  model: string;
929
- };
930
- meta: {
931
- organization: {
932
- url: string;
933
- name: string;
934
- logo?: {
935
- type: "explicit-base64";
936
- content: string;
937
- mimeType: string;
938
- } | {
939
- type: "relative";
940
- path: string;
941
- } | {
942
- type: "absolute-file";
943
- file: string;
944
- } | undefined;
1053
+ }, {
1054
+ ui: string;
1055
+ workflow: string | {
1056
+ type: "workflow-v1";
1057
+ main: string;
945
1058
  };
946
- title: string;
947
- description: string;
948
- url?: string | undefined;
949
- longDescription?: {
1059
+ model: string;
1060
+ }>;
1061
+ meta: z.ZodObject<{
1062
+ title: z.ZodString;
1063
+ description: z.ZodString;
1064
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1065
+ type: "explicit-string";
1066
+ content: string;
1067
+ } | {
1068
+ type: "relative";
1069
+ path: string;
1070
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1071
+ type: z.ZodLiteral<"explicit-string">;
1072
+ content: z.ZodString;
1073
+ }, "strict", z.ZodTypeAny, {
1074
+ type: "explicit-string";
1075
+ content: string;
1076
+ }, {
1077
+ type: "explicit-string";
1078
+ content: string;
1079
+ }>, z.ZodObject<{
1080
+ type: z.ZodLiteral<"relative">;
1081
+ path: z.ZodString;
1082
+ }, "strict", z.ZodTypeAny, {
1083
+ type: "relative";
1084
+ path: string;
1085
+ }, {
1086
+ type: "relative";
1087
+ path: string;
1088
+ }>, z.ZodObject<{
1089
+ type: z.ZodLiteral<"absolute-file">;
1090
+ file: z.ZodString;
1091
+ }, "strict", z.ZodTypeAny, {
1092
+ type: "absolute-file";
1093
+ file: string;
1094
+ }, {
1095
+ type: "absolute-file";
1096
+ file: string;
1097
+ }>]>]>>;
1098
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1099
+ type: "explicit-string";
1100
+ content: string;
1101
+ } | {
1102
+ type: "relative";
1103
+ path: string;
1104
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1105
+ type: z.ZodLiteral<"explicit-string">;
1106
+ content: z.ZodString;
1107
+ }, "strict", z.ZodTypeAny, {
1108
+ type: "explicit-string";
1109
+ content: string;
1110
+ }, {
1111
+ type: "explicit-string";
1112
+ content: string;
1113
+ }>, z.ZodObject<{
1114
+ type: z.ZodLiteral<"relative">;
1115
+ path: z.ZodString;
1116
+ }, "strict", z.ZodTypeAny, {
1117
+ type: "relative";
1118
+ path: string;
1119
+ }, {
1120
+ type: "relative";
1121
+ path: string;
1122
+ }>, z.ZodObject<{
1123
+ type: z.ZodLiteral<"absolute-file">;
1124
+ file: z.ZodString;
1125
+ }, "strict", z.ZodTypeAny, {
1126
+ type: "absolute-file";
1127
+ file: string;
1128
+ }, {
1129
+ type: "absolute-file";
1130
+ file: string;
1131
+ }>]>]>>;
1132
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1133
+ type: "explicit-base64";
1134
+ content: string;
1135
+ mimeType: string;
1136
+ } | {
1137
+ type: "relative";
1138
+ path: string;
1139
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1140
+ type: z.ZodLiteral<"explicit-base64">;
1141
+ mimeType: z.ZodString;
1142
+ content: z.ZodString;
1143
+ }, "strict", z.ZodTypeAny, {
1144
+ type: "explicit-base64";
1145
+ content: string;
1146
+ mimeType: string;
1147
+ }, {
1148
+ type: "explicit-base64";
1149
+ content: string;
1150
+ mimeType: string;
1151
+ }>, z.ZodObject<{
1152
+ type: z.ZodLiteral<"relative">;
1153
+ path: z.ZodString;
1154
+ }, "strict", z.ZodTypeAny, {
1155
+ type: "relative";
1156
+ path: string;
1157
+ }, {
1158
+ type: "relative";
1159
+ path: string;
1160
+ }>, z.ZodObject<{
1161
+ type: z.ZodLiteral<"absolute-file">;
1162
+ file: z.ZodString;
1163
+ }, "strict", z.ZodTypeAny, {
1164
+ type: "absolute-file";
1165
+ file: string;
1166
+ }, {
1167
+ type: "absolute-file";
1168
+ file: string;
1169
+ }>]>]>>;
1170
+ url: z.ZodOptional<z.ZodString>;
1171
+ docs: z.ZodOptional<z.ZodString>;
1172
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1173
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1174
+ organization: z.ZodObject<{
1175
+ name: z.ZodString;
1176
+ url: z.ZodString;
1177
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1178
+ type: "explicit-base64";
1179
+ content: string;
1180
+ mimeType: string;
1181
+ } | {
1182
+ type: "relative";
1183
+ path: string;
1184
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1185
+ type: z.ZodLiteral<"explicit-base64">;
1186
+ mimeType: z.ZodString;
1187
+ content: z.ZodString;
1188
+ }, "strict", z.ZodTypeAny, {
1189
+ type: "explicit-base64";
1190
+ content: string;
1191
+ mimeType: string;
1192
+ }, {
1193
+ type: "explicit-base64";
1194
+ content: string;
1195
+ mimeType: string;
1196
+ }>, z.ZodObject<{
1197
+ type: z.ZodLiteral<"relative">;
1198
+ path: z.ZodString;
1199
+ }, "strict", z.ZodTypeAny, {
1200
+ type: "relative";
1201
+ path: string;
1202
+ }, {
1203
+ type: "relative";
1204
+ path: string;
1205
+ }>, z.ZodObject<{
1206
+ type: z.ZodLiteral<"absolute-file">;
1207
+ file: z.ZodString;
1208
+ }, "strict", z.ZodTypeAny, {
1209
+ type: "absolute-file";
1210
+ file: string;
1211
+ }, {
1212
+ type: "absolute-file";
1213
+ file: string;
1214
+ }>]>]>>;
1215
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1216
+ name: z.ZodString;
1217
+ url: z.ZodString;
1218
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1219
+ type: "explicit-base64";
1220
+ content: string;
1221
+ mimeType: string;
1222
+ } | {
1223
+ type: "relative";
1224
+ path: string;
1225
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1226
+ type: z.ZodLiteral<"explicit-base64">;
1227
+ mimeType: z.ZodString;
1228
+ content: z.ZodString;
1229
+ }, "strict", z.ZodTypeAny, {
1230
+ type: "explicit-base64";
1231
+ content: string;
1232
+ mimeType: string;
1233
+ }, {
1234
+ type: "explicit-base64";
1235
+ content: string;
1236
+ mimeType: string;
1237
+ }>, z.ZodObject<{
1238
+ type: z.ZodLiteral<"relative">;
1239
+ path: z.ZodString;
1240
+ }, "strict", z.ZodTypeAny, {
1241
+ type: "relative";
1242
+ path: string;
1243
+ }, {
1244
+ type: "relative";
1245
+ path: string;
1246
+ }>, z.ZodObject<{
1247
+ type: z.ZodLiteral<"absolute-file">;
1248
+ file: z.ZodString;
1249
+ }, "strict", z.ZodTypeAny, {
1250
+ type: "absolute-file";
1251
+ file: string;
1252
+ }, {
1253
+ type: "absolute-file";
1254
+ file: string;
1255
+ }>]>]>>;
1256
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1257
+ name: z.ZodString;
1258
+ url: z.ZodString;
1259
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1260
+ type: "explicit-base64";
1261
+ content: string;
1262
+ mimeType: string;
1263
+ } | {
1264
+ type: "relative";
1265
+ path: string;
1266
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1267
+ type: z.ZodLiteral<"explicit-base64">;
1268
+ mimeType: z.ZodString;
1269
+ content: z.ZodString;
1270
+ }, "strict", z.ZodTypeAny, {
1271
+ type: "explicit-base64";
1272
+ content: string;
1273
+ mimeType: string;
1274
+ }, {
1275
+ type: "explicit-base64";
1276
+ content: string;
1277
+ mimeType: string;
1278
+ }>, z.ZodObject<{
1279
+ type: z.ZodLiteral<"relative">;
1280
+ path: z.ZodString;
1281
+ }, "strict", z.ZodTypeAny, {
1282
+ type: "relative";
1283
+ path: string;
1284
+ }, {
1285
+ type: "relative";
1286
+ path: string;
1287
+ }>, z.ZodObject<{
1288
+ type: z.ZodLiteral<"absolute-file">;
1289
+ file: z.ZodString;
1290
+ }, "strict", z.ZodTypeAny, {
1291
+ type: "absolute-file";
1292
+ file: string;
1293
+ }, {
1294
+ type: "absolute-file";
1295
+ file: string;
1296
+ }>]>]>>;
1297
+ }, z.ZodTypeAny, "passthrough">>;
1298
+ marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1299
+ deprecated: z.ZodOptional<z.ZodBoolean>;
1300
+ termsOfServiceUrl: z.ZodOptional<z.ZodString>;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ organization: {
1303
+ url: string;
1304
+ name: string;
1305
+ logo?: {
1306
+ type: "explicit-base64";
1307
+ content: string;
1308
+ mimeType: string;
1309
+ } | {
1310
+ type: "relative";
1311
+ path: string;
1312
+ } | {
1313
+ type: "absolute-file";
1314
+ file: string;
1315
+ } | undefined;
1316
+ } & {
1317
+ [k: string]: unknown;
1318
+ };
1319
+ title: string;
1320
+ description: string;
1321
+ url?: string | undefined;
1322
+ longDescription?: {
1323
+ type: "explicit-string";
1324
+ content: string;
1325
+ } | {
1326
+ type: "relative";
1327
+ path: string;
1328
+ } | {
1329
+ type: "absolute-file";
1330
+ file: string;
1331
+ } | undefined;
1332
+ changelog?: {
1333
+ type: "explicit-string";
1334
+ content: string;
1335
+ } | {
1336
+ type: "relative";
1337
+ path: string;
1338
+ } | {
1339
+ type: "absolute-file";
1340
+ file: string;
1341
+ } | undefined;
1342
+ logo?: {
1343
+ type: "explicit-base64";
1344
+ content: string;
1345
+ mimeType: string;
1346
+ } | {
1347
+ type: "relative";
1348
+ path: string;
1349
+ } | {
1350
+ type: "absolute-file";
1351
+ file: string;
1352
+ } | undefined;
1353
+ docs?: string | undefined;
1354
+ support?: string | undefined;
1355
+ tags?: string[] | undefined;
1356
+ marketplaceRanking?: number | undefined;
1357
+ deprecated?: boolean | undefined;
1358
+ termsOfServiceUrl?: string | undefined;
1359
+ }, {
1360
+ organization: {
1361
+ url: string;
1362
+ name: string;
1363
+ logo?: string | {
1364
+ type: "explicit-base64";
1365
+ content: string;
1366
+ mimeType: string;
1367
+ } | {
1368
+ type: "relative";
1369
+ path: string;
1370
+ } | {
1371
+ type: "absolute-file";
1372
+ file: string;
1373
+ } | undefined;
1374
+ } & {
1375
+ [k: string]: unknown;
1376
+ };
1377
+ title: string;
1378
+ description: string;
1379
+ url?: string | undefined;
1380
+ longDescription?: string | {
1381
+ type: "explicit-string";
1382
+ content: string;
1383
+ } | {
1384
+ type: "relative";
1385
+ path: string;
1386
+ } | {
1387
+ type: "absolute-file";
1388
+ file: string;
1389
+ } | undefined;
1390
+ changelog?: string | {
1391
+ type: "explicit-string";
1392
+ content: string;
1393
+ } | {
1394
+ type: "relative";
1395
+ path: string;
1396
+ } | {
1397
+ type: "absolute-file";
1398
+ file: string;
1399
+ } | undefined;
1400
+ logo?: string | {
1401
+ type: "explicit-base64";
1402
+ content: string;
1403
+ mimeType: string;
1404
+ } | {
1405
+ type: "relative";
1406
+ path: string;
1407
+ } | {
1408
+ type: "absolute-file";
1409
+ file: string;
1410
+ } | undefined;
1411
+ docs?: string | undefined;
1412
+ support?: string | undefined;
1413
+ tags?: string[] | undefined;
1414
+ marketplaceRanking?: number | undefined;
1415
+ deprecated?: boolean | undefined;
1416
+ termsOfServiceUrl?: string | undefined;
1417
+ }>;
1418
+ featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
1419
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1420
+ id: z.ZodObject<{
1421
+ organization: z.ZodString;
1422
+ name: z.ZodString;
1423
+ version: z.ZodString;
1424
+ }, "strict", z.ZodTypeAny, {
1425
+ organization: string;
1426
+ name: string;
1427
+ version: string;
1428
+ }, {
1429
+ organization: string;
1430
+ name: string;
1431
+ version: string;
1432
+ }>;
1433
+ components: z.ZodObject<{
1434
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
1435
+ type: "workflow-v1";
1436
+ main: string;
1437
+ }, string>, z.ZodObject<{
1438
+ type: z.ZodLiteral<"workflow-v1">;
1439
+ main: z.ZodString;
1440
+ }, "strip", z.ZodTypeAny, {
1441
+ type: "workflow-v1";
1442
+ main: string;
1443
+ }, {
1444
+ type: "workflow-v1";
1445
+ main: string;
1446
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1447
+ type: z.ZodLiteral<"workflow-v1">;
1448
+ main: z.ZodString;
1449
+ }, "strip", z.ZodTypeAny, {
1450
+ type: "workflow-v1";
1451
+ main: string;
1452
+ }, {
1453
+ type: "workflow-v1";
1454
+ main: string;
1455
+ }>]>]>;
1456
+ model: z.ZodString;
1457
+ ui: z.ZodString;
1458
+ }, "strip", z.ZodTypeAny, {
1459
+ ui: string;
1460
+ workflow: {
1461
+ type: "workflow-v1";
1462
+ main: string;
1463
+ };
1464
+ model: string;
1465
+ }, {
1466
+ ui: string;
1467
+ workflow: string | {
1468
+ type: "workflow-v1";
1469
+ main: string;
1470
+ };
1471
+ model: string;
1472
+ }>;
1473
+ meta: z.ZodObject<{
1474
+ title: z.ZodString;
1475
+ description: z.ZodString;
1476
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1477
+ type: "explicit-string";
1478
+ content: string;
1479
+ } | {
1480
+ type: "relative";
1481
+ path: string;
1482
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1483
+ type: z.ZodLiteral<"explicit-string">;
1484
+ content: z.ZodString;
1485
+ }, "strict", z.ZodTypeAny, {
1486
+ type: "explicit-string";
1487
+ content: string;
1488
+ }, {
1489
+ type: "explicit-string";
1490
+ content: string;
1491
+ }>, z.ZodObject<{
1492
+ type: z.ZodLiteral<"relative">;
1493
+ path: z.ZodString;
1494
+ }, "strict", z.ZodTypeAny, {
1495
+ type: "relative";
1496
+ path: string;
1497
+ }, {
1498
+ type: "relative";
1499
+ path: string;
1500
+ }>, z.ZodObject<{
1501
+ type: z.ZodLiteral<"absolute-file">;
1502
+ file: z.ZodString;
1503
+ }, "strict", z.ZodTypeAny, {
1504
+ type: "absolute-file";
1505
+ file: string;
1506
+ }, {
1507
+ type: "absolute-file";
1508
+ file: string;
1509
+ }>]>]>>;
1510
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1511
+ type: "explicit-string";
1512
+ content: string;
1513
+ } | {
1514
+ type: "relative";
1515
+ path: string;
1516
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1517
+ type: z.ZodLiteral<"explicit-string">;
1518
+ content: z.ZodString;
1519
+ }, "strict", z.ZodTypeAny, {
1520
+ type: "explicit-string";
1521
+ content: string;
1522
+ }, {
1523
+ type: "explicit-string";
1524
+ content: string;
1525
+ }>, z.ZodObject<{
1526
+ type: z.ZodLiteral<"relative">;
1527
+ path: z.ZodString;
1528
+ }, "strict", z.ZodTypeAny, {
1529
+ type: "relative";
1530
+ path: string;
1531
+ }, {
1532
+ type: "relative";
1533
+ path: string;
1534
+ }>, z.ZodObject<{
1535
+ type: z.ZodLiteral<"absolute-file">;
1536
+ file: z.ZodString;
1537
+ }, "strict", z.ZodTypeAny, {
1538
+ type: "absolute-file";
1539
+ file: string;
1540
+ }, {
1541
+ type: "absolute-file";
1542
+ file: string;
1543
+ }>]>]>>;
1544
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1545
+ type: "explicit-base64";
1546
+ content: string;
1547
+ mimeType: string;
1548
+ } | {
1549
+ type: "relative";
1550
+ path: string;
1551
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1552
+ type: z.ZodLiteral<"explicit-base64">;
1553
+ mimeType: z.ZodString;
1554
+ content: z.ZodString;
1555
+ }, "strict", z.ZodTypeAny, {
1556
+ type: "explicit-base64";
1557
+ content: string;
1558
+ mimeType: string;
1559
+ }, {
1560
+ type: "explicit-base64";
1561
+ content: string;
1562
+ mimeType: string;
1563
+ }>, z.ZodObject<{
1564
+ type: z.ZodLiteral<"relative">;
1565
+ path: z.ZodString;
1566
+ }, "strict", z.ZodTypeAny, {
1567
+ type: "relative";
1568
+ path: string;
1569
+ }, {
1570
+ type: "relative";
1571
+ path: string;
1572
+ }>, z.ZodObject<{
1573
+ type: z.ZodLiteral<"absolute-file">;
1574
+ file: z.ZodString;
1575
+ }, "strict", z.ZodTypeAny, {
1576
+ type: "absolute-file";
1577
+ file: string;
1578
+ }, {
1579
+ type: "absolute-file";
1580
+ file: string;
1581
+ }>]>]>>;
1582
+ url: z.ZodOptional<z.ZodString>;
1583
+ docs: z.ZodOptional<z.ZodString>;
1584
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1585
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1586
+ organization: z.ZodObject<{
1587
+ name: z.ZodString;
1588
+ url: z.ZodString;
1589
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1590
+ type: "explicit-base64";
1591
+ content: string;
1592
+ mimeType: string;
1593
+ } | {
1594
+ type: "relative";
1595
+ path: string;
1596
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1597
+ type: z.ZodLiteral<"explicit-base64">;
1598
+ mimeType: z.ZodString;
1599
+ content: z.ZodString;
1600
+ }, "strict", z.ZodTypeAny, {
1601
+ type: "explicit-base64";
1602
+ content: string;
1603
+ mimeType: string;
1604
+ }, {
1605
+ type: "explicit-base64";
1606
+ content: string;
1607
+ mimeType: string;
1608
+ }>, z.ZodObject<{
1609
+ type: z.ZodLiteral<"relative">;
1610
+ path: z.ZodString;
1611
+ }, "strict", z.ZodTypeAny, {
1612
+ type: "relative";
1613
+ path: string;
1614
+ }, {
1615
+ type: "relative";
1616
+ path: string;
1617
+ }>, z.ZodObject<{
1618
+ type: z.ZodLiteral<"absolute-file">;
1619
+ file: z.ZodString;
1620
+ }, "strict", z.ZodTypeAny, {
1621
+ type: "absolute-file";
1622
+ file: string;
1623
+ }, {
1624
+ type: "absolute-file";
1625
+ file: string;
1626
+ }>]>]>>;
1627
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1628
+ name: z.ZodString;
1629
+ url: z.ZodString;
1630
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1631
+ type: "explicit-base64";
1632
+ content: string;
1633
+ mimeType: string;
1634
+ } | {
1635
+ type: "relative";
1636
+ path: string;
1637
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1638
+ type: z.ZodLiteral<"explicit-base64">;
1639
+ mimeType: z.ZodString;
1640
+ content: z.ZodString;
1641
+ }, "strict", z.ZodTypeAny, {
1642
+ type: "explicit-base64";
1643
+ content: string;
1644
+ mimeType: string;
1645
+ }, {
1646
+ type: "explicit-base64";
1647
+ content: string;
1648
+ mimeType: string;
1649
+ }>, z.ZodObject<{
1650
+ type: z.ZodLiteral<"relative">;
1651
+ path: z.ZodString;
1652
+ }, "strict", z.ZodTypeAny, {
1653
+ type: "relative";
1654
+ path: string;
1655
+ }, {
1656
+ type: "relative";
1657
+ path: string;
1658
+ }>, z.ZodObject<{
1659
+ type: z.ZodLiteral<"absolute-file">;
1660
+ file: z.ZodString;
1661
+ }, "strict", z.ZodTypeAny, {
1662
+ type: "absolute-file";
1663
+ file: string;
1664
+ }, {
1665
+ type: "absolute-file";
1666
+ file: string;
1667
+ }>]>]>>;
1668
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1669
+ name: z.ZodString;
1670
+ url: z.ZodString;
1671
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1672
+ type: "explicit-base64";
1673
+ content: string;
1674
+ mimeType: string;
1675
+ } | {
1676
+ type: "relative";
1677
+ path: string;
1678
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1679
+ type: z.ZodLiteral<"explicit-base64">;
1680
+ mimeType: z.ZodString;
1681
+ content: z.ZodString;
1682
+ }, "strict", z.ZodTypeAny, {
1683
+ type: "explicit-base64";
1684
+ content: string;
1685
+ mimeType: string;
1686
+ }, {
1687
+ type: "explicit-base64";
1688
+ content: string;
1689
+ mimeType: string;
1690
+ }>, z.ZodObject<{
1691
+ type: z.ZodLiteral<"relative">;
1692
+ path: z.ZodString;
1693
+ }, "strict", z.ZodTypeAny, {
1694
+ type: "relative";
1695
+ path: string;
1696
+ }, {
1697
+ type: "relative";
1698
+ path: string;
1699
+ }>, z.ZodObject<{
1700
+ type: z.ZodLiteral<"absolute-file">;
1701
+ file: z.ZodString;
1702
+ }, "strict", z.ZodTypeAny, {
1703
+ type: "absolute-file";
1704
+ file: string;
1705
+ }, {
1706
+ type: "absolute-file";
1707
+ file: string;
1708
+ }>]>]>>;
1709
+ }, z.ZodTypeAny, "passthrough">>;
1710
+ marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1711
+ deprecated: z.ZodOptional<z.ZodBoolean>;
1712
+ termsOfServiceUrl: z.ZodOptional<z.ZodString>;
1713
+ }, "strip", z.ZodTypeAny, {
1714
+ organization: {
1715
+ url: string;
1716
+ name: string;
1717
+ logo?: {
1718
+ type: "explicit-base64";
1719
+ content: string;
1720
+ mimeType: string;
1721
+ } | {
1722
+ type: "relative";
1723
+ path: string;
1724
+ } | {
1725
+ type: "absolute-file";
1726
+ file: string;
1727
+ } | undefined;
1728
+ } & {
1729
+ [k: string]: unknown;
1730
+ };
1731
+ title: string;
1732
+ description: string;
1733
+ url?: string | undefined;
1734
+ longDescription?: {
950
1735
  type: "explicit-string";
951
1736
  content: string;
952
1737
  } | {
@@ -983,23 +1768,7 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
983
1768
  marketplaceRanking?: number | undefined;
984
1769
  deprecated?: boolean | undefined;
985
1770
  termsOfServiceUrl?: string | undefined;
986
- };
987
- id: {
988
- organization: string;
989
- name: string;
990
- version: string;
991
- };
992
- featureFlags?: BlockCodeKnownFeatureFlags | undefined;
993
- }, {
994
- components: {
995
- ui: string;
996
- workflow: string | {
997
- type: "workflow-v1";
998
- main: string;
999
- };
1000
- model: string;
1001
- };
1002
- meta: {
1771
+ }, {
1003
1772
  organization: {
1004
1773
  url: string;
1005
1774
  name: string;
@@ -1014,6 +1783,8 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
1014
1783
  type: "absolute-file";
1015
1784
  file: string;
1016
1785
  } | undefined;
1786
+ } & {
1787
+ [k: string]: unknown;
1017
1788
  };
1018
1789
  title: string;
1019
1790
  description: string;
@@ -1055,14 +1826,9 @@ export declare const BlockPackDescriptionRaw: z.ZodObject<{
1055
1826
  marketplaceRanking?: number | undefined;
1056
1827
  deprecated?: boolean | undefined;
1057
1828
  termsOfServiceUrl?: string | undefined;
1058
- };
1059
- id: {
1060
- organization: string;
1061
- name: string;
1062
- version: string;
1063
- };
1064
- featureFlags?: Record<string, number | boolean> | undefined;
1065
- }>;
1829
+ }>;
1830
+ featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
1831
+ }, z.ZodTypeAny, "passthrough">>;
1066
1832
  export type BlockPackDescriptionRaw = z.infer<typeof BlockPackDescriptionRaw>;
1067
1833
  export declare function overrideDescriptionVersion<T extends {
1068
1834
  id: BlockPackId;