@milaboratories/pl-model-middle-layer 1.12.7 → 1.12.9

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 (145) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +43 -0
  2. package/dist/_virtual/_rolldown/runtime.js +18 -0
  3. package/dist/author_marker.d.ts +2 -5
  4. package/dist/block_meta/block_components.cjs +21 -29
  5. package/dist/block_meta/block_components.cjs.map +1 -1
  6. package/dist/block_meta/block_components.d.ts +537 -533
  7. package/dist/block_meta/block_components.js +20 -27
  8. package/dist/block_meta/block_components.js.map +1 -1
  9. package/dist/block_meta/block_description.cjs +22 -25
  10. package/dist/block_meta/block_description.cjs.map +1 -1
  11. package/dist/block_meta/block_description.d.ts +1815 -1812
  12. package/dist/block_meta/block_description.js +20 -22
  13. package/dist/block_meta/block_description.js.map +1 -1
  14. package/dist/block_meta/block_id.cjs +21 -28
  15. package/dist/block_meta/block_id.cjs.map +1 -1
  16. package/dist/block_meta/block_id.d.ts +30 -26
  17. package/dist/block_meta/block_id.js +20 -26
  18. package/dist/block_meta/block_id.js.map +1 -1
  19. package/dist/block_meta/block_manifest.cjs +24 -29
  20. package/dist/block_meta/block_manifest.cjs.map +1 -1
  21. package/dist/block_meta/block_manifest.d.ts +4778 -4773
  22. package/dist/block_meta/block_manifest.js +20 -24
  23. package/dist/block_meta/block_manifest.js.map +1 -1
  24. package/dist/block_meta/block_meta.cjs +35 -50
  25. package/dist/block_meta/block_meta.cjs.map +1 -1
  26. package/dist/block_meta/block_meta.d.ts +810 -806
  27. package/dist/block_meta/block_meta.js +31 -45
  28. package/dist/block_meta/block_meta.js.map +1 -1
  29. package/dist/block_meta/common.d.ts +5 -2
  30. package/dist/block_meta/content_conversion.cjs +19 -16
  31. package/dist/block_meta/content_conversion.cjs.map +1 -1
  32. package/dist/block_meta/content_conversion.d.ts +7 -3
  33. package/dist/block_meta/content_conversion.js +19 -15
  34. package/dist/block_meta/content_conversion.js.map +1 -1
  35. package/dist/block_meta/content_types.cjs +77 -187
  36. package/dist/block_meta/content_types.cjs.map +1 -1
  37. package/dist/block_meta/content_types.d.ts +382 -378
  38. package/dist/block_meta/content_types.js +76 -185
  39. package/dist/block_meta/content_types.js.map +1 -1
  40. package/dist/block_meta/index.cjs +8 -0
  41. package/dist/block_meta/index.d.ts +9 -10
  42. package/dist/block_meta/index.js +8 -0
  43. package/dist/block_meta/semver.cjs +6 -9
  44. package/dist/block_meta/semver.cjs.map +1 -1
  45. package/dist/block_meta/semver.d.ts +5 -1
  46. package/dist/block_meta/semver.js +5 -7
  47. package/dist/block_meta/semver.js.map +1 -1
  48. package/dist/block_registry/block_pack_spec.cjs +30 -34
  49. package/dist/block_registry/block_pack_spec.cjs.map +1 -1
  50. package/dist/block_registry/block_pack_spec.d.ts +172 -168
  51. package/dist/block_registry/block_pack_spec.js +29 -32
  52. package/dist/block_registry/block_pack_spec.js.map +1 -1
  53. package/dist/block_registry/index.cjs +3 -0
  54. package/dist/block_registry/index.d.ts +3 -4
  55. package/dist/block_registry/index.js +3 -0
  56. package/dist/block_registry/overview.cjs +55 -66
  57. package/dist/block_registry/overview.cjs.map +1 -1
  58. package/dist/block_registry/overview.d.ts +10345 -10340
  59. package/dist/block_registry/overview.js +54 -64
  60. package/dist/block_registry/overview.js.map +1 -1
  61. package/dist/block_registry/registry_spec.cjs +17 -16
  62. package/dist/block_registry/registry_spec.cjs.map +1 -1
  63. package/dist/block_registry/registry_spec.d.ts +147 -143
  64. package/dist/block_registry/registry_spec.js +16 -14
  65. package/dist/block_registry/registry_spec.js.map +1 -1
  66. package/dist/block_settings.cjs +3 -2
  67. package/dist/block_settings.cjs.map +1 -1
  68. package/dist/block_settings.d.ts +12 -10
  69. package/dist/block_settings.js +3 -1
  70. package/dist/block_settings.js.map +1 -1
  71. package/dist/block_state.d.ts +14 -14
  72. package/dist/index.cjs +102 -99
  73. package/dist/index.d.ts +25 -12
  74. package/dist/index.js +18 -16
  75. package/dist/json.cjs +16 -13
  76. package/dist/json.cjs.map +1 -1
  77. package/dist/json.d.ts +11 -7
  78. package/dist/json.js +14 -11
  79. package/dist/json.js.map +1 -1
  80. package/dist/pframe/index.d.ts +1 -2
  81. package/dist/pframe/internal_api/api_factory.cjs +3 -2
  82. package/dist/pframe/internal_api/api_factory.cjs.map +1 -1
  83. package/dist/pframe/internal_api/api_factory.d.ts +40 -36
  84. package/dist/pframe/internal_api/api_factory.js +3 -1
  85. package/dist/pframe/internal_api/api_factory.js.map +1 -1
  86. package/dist/pframe/internal_api/api_read.d.ts +40 -36
  87. package/dist/pframe/internal_api/api_wasm.d.ts +71 -70
  88. package/dist/pframe/internal_api/common.d.ts +18 -14
  89. package/dist/pframe/internal_api/create_table.d.ts +46 -42
  90. package/dist/pframe/internal_api/delete_column.d.ts +11 -7
  91. package/dist/pframe/internal_api/find_columns.d.ts +21 -17
  92. package/dist/pframe/internal_api/http_helpers.cjs +36 -27
  93. package/dist/pframe/internal_api/http_helpers.cjs.map +1 -1
  94. package/dist/pframe/internal_api/http_helpers.d.ts +153 -170
  95. package/dist/pframe/internal_api/http_helpers.js +36 -26
  96. package/dist/pframe/internal_api/http_helpers.js.map +1 -1
  97. package/dist/pframe/internal_api/index.cjs +18 -10
  98. package/dist/pframe/internal_api/index.cjs.map +1 -1
  99. package/dist/pframe/internal_api/index.d.ts +18 -11
  100. package/dist/pframe/internal_api/index.js +15 -3
  101. package/dist/pframe/internal_api/index.js.map +1 -1
  102. package/dist/pframe/internal_api/pframe.d.ts +26 -27
  103. package/dist/pframe/internal_api/table.d.ts +52 -48
  104. package/dist/project.d.ts +6 -3
  105. package/dist/project_list.d.ts +18 -14
  106. package/dist/project_overview.d.ts +135 -143
  107. package/dist/update_info.d.ts +10 -5
  108. package/package.json +5 -5
  109. package/dist/author_marker.d.ts.map +0 -1
  110. package/dist/block_meta/block_components.d.ts.map +0 -1
  111. package/dist/block_meta/block_description.d.ts.map +0 -1
  112. package/dist/block_meta/block_id.d.ts.map +0 -1
  113. package/dist/block_meta/block_manifest.d.ts.map +0 -1
  114. package/dist/block_meta/block_meta.d.ts.map +0 -1
  115. package/dist/block_meta/common.d.ts.map +0 -1
  116. package/dist/block_meta/content_conversion.d.ts.map +0 -1
  117. package/dist/block_meta/content_types.d.ts.map +0 -1
  118. package/dist/block_meta/index.d.ts.map +0 -1
  119. package/dist/block_meta/semver.d.ts.map +0 -1
  120. package/dist/block_registry/block_pack_spec.d.ts.map +0 -1
  121. package/dist/block_registry/index.d.ts.map +0 -1
  122. package/dist/block_registry/overview.d.ts.map +0 -1
  123. package/dist/block_registry/registry_spec.d.ts.map +0 -1
  124. package/dist/block_settings.d.ts.map +0 -1
  125. package/dist/block_state.d.ts.map +0 -1
  126. package/dist/index.cjs.map +0 -1
  127. package/dist/index.d.ts.map +0 -1
  128. package/dist/index.js.map +0 -1
  129. package/dist/json.d.ts.map +0 -1
  130. package/dist/pframe/index.d.ts.map +0 -1
  131. package/dist/pframe/internal_api/api_factory.d.ts.map +0 -1
  132. package/dist/pframe/internal_api/api_read.d.ts.map +0 -1
  133. package/dist/pframe/internal_api/api_wasm.d.ts.map +0 -1
  134. package/dist/pframe/internal_api/common.d.ts.map +0 -1
  135. package/dist/pframe/internal_api/create_table.d.ts.map +0 -1
  136. package/dist/pframe/internal_api/delete_column.d.ts.map +0 -1
  137. package/dist/pframe/internal_api/find_columns.d.ts.map +0 -1
  138. package/dist/pframe/internal_api/http_helpers.d.ts.map +0 -1
  139. package/dist/pframe/internal_api/index.d.ts.map +0 -1
  140. package/dist/pframe/internal_api/pframe.d.ts.map +0 -1
  141. package/dist/pframe/internal_api/table.d.ts.map +0 -1
  142. package/dist/project.d.ts.map +0 -1
  143. package/dist/project_list.d.ts.map +0 -1
  144. package/dist/project_overview.d.ts.map +0 -1
  145. package/dist/update_info.d.ts.map +0 -1
@@ -1,1851 +1,1854 @@
1
- import type { ZodTypeAny } from "zod";
2
- import { z } from "zod";
3
- import { BlockPackId } from "./block_id";
4
- import type { BlockCodeKnownFeatureFlags } from "@milaboratories/pl-model-common";
1
+ import { BlockPackId } from "./block_id.js";
2
+ import { ZodTypeAny, z } from "zod";
3
+ import { BlockCodeKnownFeatureFlags } from "@milaboratories/pl-model-common";
4
+
5
+ //#region src/block_meta/block_description.d.ts
5
6
  /** Description, as appears in root block package.json file,
6
7
  * `file:` references are parsed into relative content of corresponding type, depending on the context,
7
8
  * strings are converted to explicit content type. */
8
- export declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
9
- components: z.ZodObject<{
10
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
11
- type: "workflow-v1";
12
- main: string;
13
- }, string>, z.ZodObject<{
14
- type: z.ZodLiteral<"workflow-v1">;
15
- main: z.ZodString;
16
- }, "strip", ZodTypeAny, {
17
- type: "workflow-v1";
18
- main: string;
19
- }, {
20
- type: "workflow-v1";
21
- main: string;
22
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
23
- type: z.ZodLiteral<"workflow-v1">;
24
- main: z.ZodString;
25
- }, "strip", ZodTypeAny, {
26
- type: "workflow-v1";
27
- main: string;
28
- }, {
29
- type: "workflow-v1";
30
- main: string;
31
- }>]>]>;
32
- model: z.ZodString;
33
- ui: z.ZodString;
9
+ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
10
+ components: z.ZodObject<{
11
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
12
+ type: "workflow-v1";
13
+ main: string;
14
+ }, string>, z.ZodObject<{
15
+ type: z.ZodLiteral<"workflow-v1">;
16
+ main: z.ZodString;
34
17
  }, "strip", ZodTypeAny, {
35
- ui: string;
36
- workflow: {
37
- type: "workflow-v1";
38
- main: string;
39
- };
40
- model: string;
18
+ type: "workflow-v1";
19
+ main: string;
41
20
  }, {
42
- ui: string;
43
- workflow: string | {
44
- type: "workflow-v1";
45
- main: string;
46
- };
47
- model: string;
48
- }>;
49
- meta: z.ZodObject<{
50
- title: z.ZodString;
51
- description: z.ZodString;
52
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
53
- type: "explicit-string";
54
- content: string;
55
- } | {
56
- type: "relative";
57
- path: string;
58
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
59
- type: z.ZodLiteral<"explicit-string">;
60
- content: z.ZodString;
61
- }, "strict", ZodTypeAny, {
62
- type: "explicit-string";
63
- content: string;
64
- }, {
65
- type: "explicit-string";
66
- content: string;
67
- }>, z.ZodObject<{
68
- type: z.ZodLiteral<"relative">;
69
- path: z.ZodString;
70
- }, "strict", ZodTypeAny, {
71
- type: "relative";
72
- path: string;
73
- }, {
74
- type: "relative";
75
- path: string;
76
- }>, z.ZodObject<{
77
- type: z.ZodLiteral<"absolute-file">;
78
- file: z.ZodString;
79
- }, "strict", ZodTypeAny, {
80
- type: "absolute-file";
81
- file: string;
82
- }, {
83
- type: "absolute-file";
84
- file: string;
85
- }>]>]>>;
86
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
87
- type: "explicit-string";
88
- content: string;
89
- } | {
90
- type: "relative";
91
- path: string;
92
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
93
- type: z.ZodLiteral<"explicit-string">;
94
- content: z.ZodString;
95
- }, "strict", ZodTypeAny, {
96
- type: "explicit-string";
97
- content: string;
98
- }, {
99
- type: "explicit-string";
100
- content: string;
101
- }>, z.ZodObject<{
102
- type: z.ZodLiteral<"relative">;
103
- path: z.ZodString;
104
- }, "strict", ZodTypeAny, {
105
- type: "relative";
106
- path: string;
107
- }, {
108
- type: "relative";
109
- path: string;
110
- }>, z.ZodObject<{
111
- type: z.ZodLiteral<"absolute-file">;
112
- file: z.ZodString;
113
- }, "strict", ZodTypeAny, {
114
- type: "absolute-file";
115
- file: string;
116
- }, {
117
- type: "absolute-file";
118
- file: string;
119
- }>]>]>>;
120
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
121
- type: "explicit-base64";
122
- content: string;
123
- mimeType: string;
124
- } | {
125
- type: "relative";
126
- path: string;
127
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
128
- type: z.ZodLiteral<"explicit-base64">;
129
- mimeType: z.ZodString;
130
- content: z.ZodString;
131
- }, "strict", ZodTypeAny, {
132
- type: "explicit-base64";
133
- content: string;
134
- mimeType: string;
135
- }, {
136
- type: "explicit-base64";
137
- content: string;
138
- mimeType: string;
139
- }>, z.ZodObject<{
140
- type: z.ZodLiteral<"relative">;
141
- path: z.ZodString;
142
- }, "strict", ZodTypeAny, {
143
- type: "relative";
144
- path: string;
145
- }, {
146
- type: "relative";
147
- path: string;
148
- }>, z.ZodObject<{
149
- type: z.ZodLiteral<"absolute-file">;
150
- file: z.ZodString;
151
- }, "strict", ZodTypeAny, {
152
- type: "absolute-file";
153
- file: string;
154
- }, {
155
- type: "absolute-file";
156
- file: string;
157
- }>]>]>>;
158
- url: z.ZodOptional<z.ZodString>;
159
- docs: z.ZodOptional<z.ZodString>;
160
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
161
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
162
- organization: z.ZodObject<{
163
- name: z.ZodString;
164
- url: z.ZodString;
165
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
166
- type: "explicit-base64";
167
- content: string;
168
- mimeType: string;
169
- } | {
170
- type: "relative";
171
- path: string;
172
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
173
- type: z.ZodLiteral<"explicit-base64">;
174
- mimeType: z.ZodString;
175
- content: z.ZodString;
176
- }, "strict", ZodTypeAny, {
177
- type: "explicit-base64";
178
- content: string;
179
- mimeType: string;
180
- }, {
181
- type: "explicit-base64";
182
- content: string;
183
- mimeType: string;
184
- }>, z.ZodObject<{
185
- type: z.ZodLiteral<"relative">;
186
- path: z.ZodString;
187
- }, "strict", ZodTypeAny, {
188
- type: "relative";
189
- path: string;
190
- }, {
191
- type: "relative";
192
- path: string;
193
- }>, z.ZodObject<{
194
- type: z.ZodLiteral<"absolute-file">;
195
- file: z.ZodString;
196
- }, "strict", ZodTypeAny, {
197
- type: "absolute-file";
198
- file: string;
199
- }, {
200
- type: "absolute-file";
201
- file: string;
202
- }>]>]>>;
203
- }, "passthrough", ZodTypeAny, z.objectOutputType<{
204
- name: z.ZodString;
205
- url: z.ZodString;
206
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
207
- type: "explicit-base64";
208
- content: string;
209
- mimeType: string;
210
- } | {
211
- type: "relative";
212
- path: string;
213
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
214
- type: z.ZodLiteral<"explicit-base64">;
215
- mimeType: z.ZodString;
216
- content: z.ZodString;
217
- }, "strict", ZodTypeAny, {
218
- type: "explicit-base64";
219
- content: string;
220
- mimeType: string;
221
- }, {
222
- type: "explicit-base64";
223
- content: string;
224
- mimeType: string;
225
- }>, z.ZodObject<{
226
- type: z.ZodLiteral<"relative">;
227
- path: z.ZodString;
228
- }, "strict", ZodTypeAny, {
229
- type: "relative";
230
- path: string;
231
- }, {
232
- type: "relative";
233
- path: string;
234
- }>, z.ZodObject<{
235
- type: z.ZodLiteral<"absolute-file">;
236
- file: z.ZodString;
237
- }, "strict", ZodTypeAny, {
238
- type: "absolute-file";
239
- file: string;
240
- }, {
241
- type: "absolute-file";
242
- file: string;
243
- }>]>]>>;
244
- }, ZodTypeAny, "passthrough">, z.objectInputType<{
245
- name: z.ZodString;
246
- url: z.ZodString;
247
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
248
- type: "explicit-base64";
249
- content: string;
250
- mimeType: string;
251
- } | {
252
- type: "relative";
253
- path: string;
254
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
255
- type: z.ZodLiteral<"explicit-base64">;
256
- mimeType: z.ZodString;
257
- content: z.ZodString;
258
- }, "strict", ZodTypeAny, {
259
- type: "explicit-base64";
260
- content: string;
261
- mimeType: string;
262
- }, {
263
- type: "explicit-base64";
264
- content: string;
265
- mimeType: string;
266
- }>, z.ZodObject<{
267
- type: z.ZodLiteral<"relative">;
268
- path: z.ZodString;
269
- }, "strict", ZodTypeAny, {
270
- type: "relative";
271
- path: string;
272
- }, {
273
- type: "relative";
274
- path: string;
275
- }>, z.ZodObject<{
276
- type: z.ZodLiteral<"absolute-file">;
277
- file: z.ZodString;
278
- }, "strict", ZodTypeAny, {
279
- type: "absolute-file";
280
- file: string;
281
- }, {
282
- type: "absolute-file";
283
- file: string;
284
- }>]>]>>;
285
- }, ZodTypeAny, "passthrough">>;
286
- marketplaceRanking: z.ZodOptional<z.ZodNumber>;
287
- deprecated: z.ZodOptional<z.ZodBoolean>;
288
- termsOfServiceUrl: z.ZodOptional<z.ZodString>;
289
- supportedPlatforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>, "many">>;
21
+ type: "workflow-v1";
22
+ main: string;
23
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
24
+ type: z.ZodLiteral<"workflow-v1">;
25
+ main: z.ZodString;
290
26
  }, "strip", ZodTypeAny, {
291
- organization: {
292
- url: string;
293
- name: string;
294
- logo?: {
295
- type: "explicit-base64";
296
- content: string;
297
- mimeType: string;
298
- } | {
299
- type: "relative";
300
- path: string;
301
- } | {
302
- type: "absolute-file";
303
- file: string;
304
- } | undefined;
305
- } & {
306
- [k: string]: unknown;
307
- };
308
- title: string;
309
- description: string;
310
- url?: string | undefined;
311
- longDescription?: {
312
- type: "explicit-string";
313
- content: string;
314
- } | {
315
- type: "relative";
316
- path: string;
317
- } | {
318
- type: "absolute-file";
319
- file: string;
320
- } | undefined;
321
- changelog?: {
322
- type: "explicit-string";
323
- content: string;
324
- } | {
325
- type: "relative";
326
- path: string;
327
- } | {
328
- type: "absolute-file";
329
- file: string;
330
- } | undefined;
331
- logo?: {
332
- type: "explicit-base64";
333
- content: string;
334
- mimeType: string;
335
- } | {
336
- type: "relative";
337
- path: string;
338
- } | {
339
- type: "absolute-file";
340
- file: string;
341
- } | undefined;
342
- docs?: string | undefined;
343
- support?: string | undefined;
344
- tags?: string[] | undefined;
345
- marketplaceRanking?: number | undefined;
346
- deprecated?: boolean | undefined;
347
- termsOfServiceUrl?: string | undefined;
348
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
27
+ type: "workflow-v1";
28
+ main: string;
349
29
  }, {
350
- organization: {
351
- url: string;
352
- name: string;
353
- logo?: string | {
354
- type: "explicit-base64";
355
- content: string;
356
- mimeType: string;
357
- } | {
358
- type: "relative";
359
- path: string;
360
- } | {
361
- type: "absolute-file";
362
- file: string;
363
- } | undefined;
364
- } & {
365
- [k: string]: unknown;
366
- };
367
- title: string;
368
- description: string;
369
- url?: string | undefined;
370
- longDescription?: string | {
371
- type: "explicit-string";
372
- content: string;
373
- } | {
374
- type: "relative";
375
- path: string;
376
- } | {
377
- type: "absolute-file";
378
- file: string;
379
- } | undefined;
380
- changelog?: string | {
381
- type: "explicit-string";
382
- content: string;
383
- } | {
384
- type: "relative";
385
- path: string;
386
- } | {
387
- type: "absolute-file";
388
- file: string;
389
- } | undefined;
390
- logo?: string | {
391
- type: "explicit-base64";
392
- content: string;
393
- mimeType: string;
394
- } | {
395
- type: "relative";
396
- path: string;
397
- } | {
398
- type: "absolute-file";
399
- file: string;
400
- } | undefined;
401
- docs?: string | undefined;
402
- support?: string | undefined;
403
- tags?: string[] | undefined;
404
- marketplaceRanking?: number | undefined;
405
- deprecated?: boolean | undefined;
406
- termsOfServiceUrl?: string | undefined;
407
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
408
- }>;
30
+ type: "workflow-v1";
31
+ main: string;
32
+ }>]>]>;
33
+ model: z.ZodString;
34
+ ui: z.ZodString;
35
+ }, "strip", ZodTypeAny, {
36
+ workflow: {
37
+ type: "workflow-v1";
38
+ main: string;
39
+ };
40
+ model: string;
41
+ ui: string;
42
+ }, {
43
+ workflow: string | {
44
+ type: "workflow-v1";
45
+ main: string;
46
+ };
47
+ model: string;
48
+ ui: string;
49
+ }>;
50
+ meta: z.ZodObject<{
51
+ title: z.ZodString;
52
+ description: z.ZodString;
53
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
54
+ type: "explicit-string";
55
+ content: string;
56
+ } | {
57
+ path: string;
58
+ type: "relative";
59
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
60
+ type: z.ZodLiteral<"explicit-string">;
61
+ content: z.ZodString;
62
+ }, "strict", ZodTypeAny, {
63
+ type: "explicit-string";
64
+ content: string;
65
+ }, {
66
+ type: "explicit-string";
67
+ content: string;
68
+ }>, z.ZodObject<{
69
+ type: z.ZodLiteral<"relative">;
70
+ path: z.ZodString;
71
+ }, "strict", ZodTypeAny, {
72
+ path: string;
73
+ type: "relative";
74
+ }, {
75
+ path: string;
76
+ type: "relative";
77
+ }>, z.ZodObject<{
78
+ type: z.ZodLiteral<"absolute-file">;
79
+ file: z.ZodString;
80
+ }, "strict", ZodTypeAny, {
81
+ type: "absolute-file";
82
+ file: string;
83
+ }, {
84
+ type: "absolute-file";
85
+ file: string;
86
+ }>]>]>>;
87
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
88
+ type: "explicit-string";
89
+ content: string;
90
+ } | {
91
+ path: string;
92
+ type: "relative";
93
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
94
+ type: z.ZodLiteral<"explicit-string">;
95
+ content: z.ZodString;
96
+ }, "strict", ZodTypeAny, {
97
+ type: "explicit-string";
98
+ content: string;
99
+ }, {
100
+ type: "explicit-string";
101
+ content: string;
102
+ }>, z.ZodObject<{
103
+ type: z.ZodLiteral<"relative">;
104
+ path: z.ZodString;
105
+ }, "strict", ZodTypeAny, {
106
+ path: string;
107
+ type: "relative";
108
+ }, {
109
+ path: string;
110
+ type: "relative";
111
+ }>, z.ZodObject<{
112
+ type: z.ZodLiteral<"absolute-file">;
113
+ file: z.ZodString;
114
+ }, "strict", ZodTypeAny, {
115
+ type: "absolute-file";
116
+ file: string;
117
+ }, {
118
+ type: "absolute-file";
119
+ file: string;
120
+ }>]>]>>;
121
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
122
+ type: "explicit-base64";
123
+ mimeType: string;
124
+ content: string;
125
+ } | {
126
+ path: string;
127
+ type: "relative";
128
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
129
+ type: z.ZodLiteral<"explicit-base64">;
130
+ mimeType: z.ZodString;
131
+ content: z.ZodString;
132
+ }, "strict", ZodTypeAny, {
133
+ type: "explicit-base64";
134
+ mimeType: string;
135
+ content: string;
136
+ }, {
137
+ type: "explicit-base64";
138
+ mimeType: string;
139
+ content: string;
140
+ }>, z.ZodObject<{
141
+ type: z.ZodLiteral<"relative">;
142
+ path: z.ZodString;
143
+ }, "strict", ZodTypeAny, {
144
+ path: string;
145
+ type: "relative";
146
+ }, {
147
+ path: string;
148
+ type: "relative";
149
+ }>, z.ZodObject<{
150
+ type: z.ZodLiteral<"absolute-file">;
151
+ file: z.ZodString;
152
+ }, "strict", ZodTypeAny, {
153
+ type: "absolute-file";
154
+ file: string;
155
+ }, {
156
+ type: "absolute-file";
157
+ file: string;
158
+ }>]>]>>;
159
+ url: z.ZodOptional<z.ZodString>;
160
+ docs: z.ZodOptional<z.ZodString>;
161
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
162
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
163
+ organization: z.ZodObject<{
164
+ name: z.ZodString;
165
+ url: z.ZodString;
166
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
167
+ type: "explicit-base64";
168
+ mimeType: string;
169
+ content: string;
170
+ } | {
171
+ path: string;
172
+ type: "relative";
173
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
174
+ type: z.ZodLiteral<"explicit-base64">;
175
+ mimeType: z.ZodString;
176
+ content: z.ZodString;
177
+ }, "strict", ZodTypeAny, {
178
+ type: "explicit-base64";
179
+ mimeType: string;
180
+ content: string;
181
+ }, {
182
+ type: "explicit-base64";
183
+ mimeType: string;
184
+ content: string;
185
+ }>, z.ZodObject<{
186
+ type: z.ZodLiteral<"relative">;
187
+ path: z.ZodString;
188
+ }, "strict", ZodTypeAny, {
189
+ path: string;
190
+ type: "relative";
191
+ }, {
192
+ path: string;
193
+ type: "relative";
194
+ }>, z.ZodObject<{
195
+ type: z.ZodLiteral<"absolute-file">;
196
+ file: z.ZodString;
197
+ }, "strict", ZodTypeAny, {
198
+ type: "absolute-file";
199
+ file: string;
200
+ }, {
201
+ type: "absolute-file";
202
+ file: string;
203
+ }>]>]>>;
204
+ }, "passthrough", ZodTypeAny, z.objectOutputType<{
205
+ name: z.ZodString;
206
+ url: z.ZodString;
207
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
208
+ type: "explicit-base64";
209
+ mimeType: string;
210
+ content: string;
211
+ } | {
212
+ path: string;
213
+ type: "relative";
214
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
215
+ type: z.ZodLiteral<"explicit-base64">;
216
+ mimeType: z.ZodString;
217
+ content: z.ZodString;
218
+ }, "strict", ZodTypeAny, {
219
+ type: "explicit-base64";
220
+ mimeType: string;
221
+ content: string;
222
+ }, {
223
+ type: "explicit-base64";
224
+ mimeType: string;
225
+ content: string;
226
+ }>, z.ZodObject<{
227
+ type: z.ZodLiteral<"relative">;
228
+ path: z.ZodString;
229
+ }, "strict", ZodTypeAny, {
230
+ path: string;
231
+ type: "relative";
232
+ }, {
233
+ path: string;
234
+ type: "relative";
235
+ }>, z.ZodObject<{
236
+ type: z.ZodLiteral<"absolute-file">;
237
+ file: z.ZodString;
238
+ }, "strict", ZodTypeAny, {
239
+ type: "absolute-file";
240
+ file: string;
241
+ }, {
242
+ type: "absolute-file";
243
+ file: string;
244
+ }>]>]>>;
245
+ }, ZodTypeAny, "passthrough">, z.objectInputType<{
246
+ name: z.ZodString;
247
+ url: z.ZodString;
248
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
249
+ type: "explicit-base64";
250
+ mimeType: string;
251
+ content: string;
252
+ } | {
253
+ path: string;
254
+ type: "relative";
255
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
256
+ type: z.ZodLiteral<"explicit-base64">;
257
+ mimeType: z.ZodString;
258
+ content: z.ZodString;
259
+ }, "strict", ZodTypeAny, {
260
+ type: "explicit-base64";
261
+ mimeType: string;
262
+ content: string;
263
+ }, {
264
+ type: "explicit-base64";
265
+ mimeType: string;
266
+ content: string;
267
+ }>, z.ZodObject<{
268
+ type: z.ZodLiteral<"relative">;
269
+ path: z.ZodString;
270
+ }, "strict", ZodTypeAny, {
271
+ path: string;
272
+ type: "relative";
273
+ }, {
274
+ path: string;
275
+ type: "relative";
276
+ }>, z.ZodObject<{
277
+ type: z.ZodLiteral<"absolute-file">;
278
+ file: z.ZodString;
279
+ }, "strict", ZodTypeAny, {
280
+ type: "absolute-file";
281
+ file: string;
282
+ }, {
283
+ type: "absolute-file";
284
+ file: string;
285
+ }>]>]>>;
286
+ }, ZodTypeAny, "passthrough">>;
287
+ marketplaceRanking: z.ZodOptional<z.ZodNumber>;
288
+ deprecated: z.ZodOptional<z.ZodBoolean>;
289
+ termsOfServiceUrl: z.ZodOptional<z.ZodString>;
290
+ supportedPlatforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>, "many">>;
291
+ }, "strip", ZodTypeAny, {
292
+ organization: {
293
+ name: string;
294
+ url: string;
295
+ logo?: {
296
+ type: "explicit-base64";
297
+ mimeType: string;
298
+ content: string;
299
+ } | {
300
+ path: string;
301
+ type: "relative";
302
+ } | {
303
+ type: "absolute-file";
304
+ file: string;
305
+ } | undefined;
306
+ } & {
307
+ [k: string]: unknown;
308
+ };
309
+ title: string;
310
+ description: string;
311
+ longDescription?: {
312
+ type: "explicit-string";
313
+ content: string;
314
+ } | {
315
+ path: string;
316
+ type: "relative";
317
+ } | {
318
+ type: "absolute-file";
319
+ file: string;
320
+ } | undefined;
321
+ changelog?: {
322
+ type: "explicit-string";
323
+ content: string;
324
+ } | {
325
+ path: string;
326
+ type: "relative";
327
+ } | {
328
+ type: "absolute-file";
329
+ file: string;
330
+ } | undefined;
331
+ logo?: {
332
+ type: "explicit-base64";
333
+ mimeType: string;
334
+ content: string;
335
+ } | {
336
+ path: string;
337
+ type: "relative";
338
+ } | {
339
+ type: "absolute-file";
340
+ file: string;
341
+ } | undefined;
342
+ url?: string | undefined;
343
+ docs?: string | undefined;
344
+ support?: string | undefined;
345
+ tags?: string[] | undefined;
346
+ marketplaceRanking?: number | undefined;
347
+ deprecated?: boolean | undefined;
348
+ termsOfServiceUrl?: string | undefined;
349
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
350
+ }, {
351
+ organization: {
352
+ name: string;
353
+ url: string;
354
+ logo?: string | {
355
+ type: "explicit-base64";
356
+ mimeType: string;
357
+ content: string;
358
+ } | {
359
+ path: string;
360
+ type: "relative";
361
+ } | {
362
+ type: "absolute-file";
363
+ file: string;
364
+ } | undefined;
365
+ } & {
366
+ [k: string]: unknown;
367
+ };
368
+ title: string;
369
+ description: string;
370
+ longDescription?: string | {
371
+ type: "explicit-string";
372
+ content: string;
373
+ } | {
374
+ path: string;
375
+ type: "relative";
376
+ } | {
377
+ type: "absolute-file";
378
+ file: string;
379
+ } | undefined;
380
+ changelog?: string | {
381
+ type: "explicit-string";
382
+ content: string;
383
+ } | {
384
+ path: string;
385
+ type: "relative";
386
+ } | {
387
+ type: "absolute-file";
388
+ file: string;
389
+ } | undefined;
390
+ logo?: string | {
391
+ type: "explicit-base64";
392
+ mimeType: string;
393
+ content: string;
394
+ } | {
395
+ path: string;
396
+ type: "relative";
397
+ } | {
398
+ type: "absolute-file";
399
+ file: string;
400
+ } | undefined;
401
+ url?: string | undefined;
402
+ docs?: string | undefined;
403
+ support?: string | undefined;
404
+ tags?: string[] | undefined;
405
+ marketplaceRanking?: number | undefined;
406
+ deprecated?: boolean | undefined;
407
+ termsOfServiceUrl?: string | undefined;
408
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
409
+ }>;
409
410
  }, "strip", ZodTypeAny, {
410
- components: {
411
- ui: string;
412
- workflow: {
413
- type: "workflow-v1";
414
- main: string;
415
- };
416
- model: string;
411
+ meta: {
412
+ organization: {
413
+ name: string;
414
+ url: string;
415
+ logo?: {
416
+ type: "explicit-base64";
417
+ mimeType: string;
418
+ content: string;
419
+ } | {
420
+ path: string;
421
+ type: "relative";
422
+ } | {
423
+ type: "absolute-file";
424
+ file: string;
425
+ } | undefined;
426
+ } & {
427
+ [k: string]: unknown;
417
428
  };
418
- meta: {
419
- organization: {
420
- url: string;
421
- name: string;
422
- logo?: {
423
- type: "explicit-base64";
424
- content: string;
425
- mimeType: string;
426
- } | {
427
- type: "relative";
428
- path: string;
429
- } | {
430
- type: "absolute-file";
431
- file: string;
432
- } | undefined;
433
- } & {
434
- [k: string]: unknown;
435
- };
436
- title: string;
437
- description: string;
438
- url?: string | undefined;
439
- longDescription?: {
440
- type: "explicit-string";
441
- content: string;
442
- } | {
443
- type: "relative";
444
- path: string;
445
- } | {
446
- type: "absolute-file";
447
- file: string;
448
- } | undefined;
449
- changelog?: {
450
- type: "explicit-string";
451
- content: string;
452
- } | {
453
- type: "relative";
454
- path: string;
455
- } | {
456
- type: "absolute-file";
457
- file: string;
458
- } | undefined;
459
- logo?: {
460
- type: "explicit-base64";
461
- content: string;
462
- mimeType: string;
463
- } | {
464
- type: "relative";
465
- path: string;
466
- } | {
467
- type: "absolute-file";
468
- file: string;
469
- } | undefined;
470
- docs?: string | undefined;
471
- support?: string | undefined;
472
- tags?: string[] | undefined;
473
- marketplaceRanking?: number | undefined;
474
- deprecated?: boolean | undefined;
475
- termsOfServiceUrl?: string | undefined;
476
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
429
+ title: string;
430
+ description: string;
431
+ longDescription?: {
432
+ type: "explicit-string";
433
+ content: string;
434
+ } | {
435
+ path: string;
436
+ type: "relative";
437
+ } | {
438
+ type: "absolute-file";
439
+ file: string;
440
+ } | undefined;
441
+ changelog?: {
442
+ type: "explicit-string";
443
+ content: string;
444
+ } | {
445
+ path: string;
446
+ type: "relative";
447
+ } | {
448
+ type: "absolute-file";
449
+ file: string;
450
+ } | undefined;
451
+ logo?: {
452
+ type: "explicit-base64";
453
+ mimeType: string;
454
+ content: string;
455
+ } | {
456
+ path: string;
457
+ type: "relative";
458
+ } | {
459
+ type: "absolute-file";
460
+ file: string;
461
+ } | undefined;
462
+ url?: string | undefined;
463
+ docs?: string | undefined;
464
+ support?: string | undefined;
465
+ tags?: string[] | undefined;
466
+ marketplaceRanking?: number | undefined;
467
+ deprecated?: boolean | undefined;
468
+ termsOfServiceUrl?: string | undefined;
469
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
470
+ };
471
+ components: {
472
+ workflow: {
473
+ type: "workflow-v1";
474
+ main: string;
477
475
  };
476
+ model: string;
477
+ ui: string;
478
+ };
478
479
  }, {
479
- components: {
480
- ui: string;
481
- workflow: string | {
482
- type: "workflow-v1";
483
- main: string;
484
- };
485
- model: string;
480
+ meta: {
481
+ organization: {
482
+ name: string;
483
+ url: string;
484
+ logo?: string | {
485
+ type: "explicit-base64";
486
+ mimeType: string;
487
+ content: string;
488
+ } | {
489
+ path: string;
490
+ type: "relative";
491
+ } | {
492
+ type: "absolute-file";
493
+ file: string;
494
+ } | undefined;
495
+ } & {
496
+ [k: string]: unknown;
486
497
  };
487
- meta: {
488
- organization: {
489
- url: string;
490
- name: string;
491
- logo?: string | {
492
- type: "explicit-base64";
493
- content: string;
494
- mimeType: string;
495
- } | {
496
- type: "relative";
497
- path: string;
498
- } | {
499
- type: "absolute-file";
500
- file: string;
501
- } | undefined;
502
- } & {
503
- [k: string]: unknown;
504
- };
505
- title: string;
506
- description: string;
507
- url?: string | undefined;
508
- longDescription?: string | {
509
- type: "explicit-string";
510
- content: string;
511
- } | {
512
- type: "relative";
513
- path: string;
514
- } | {
515
- type: "absolute-file";
516
- file: string;
517
- } | undefined;
518
- changelog?: string | {
519
- type: "explicit-string";
520
- content: string;
521
- } | {
522
- type: "relative";
523
- path: string;
524
- } | {
525
- type: "absolute-file";
526
- file: string;
527
- } | undefined;
528
- logo?: string | {
529
- type: "explicit-base64";
530
- content: string;
531
- mimeType: string;
532
- } | {
533
- type: "relative";
534
- path: string;
535
- } | {
536
- type: "absolute-file";
537
- file: string;
538
- } | undefined;
539
- docs?: string | undefined;
540
- support?: string | undefined;
541
- tags?: string[] | undefined;
542
- marketplaceRanking?: number | undefined;
543
- deprecated?: boolean | undefined;
544
- termsOfServiceUrl?: string | undefined;
545
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
498
+ title: string;
499
+ description: string;
500
+ longDescription?: string | {
501
+ type: "explicit-string";
502
+ content: string;
503
+ } | {
504
+ path: string;
505
+ type: "relative";
506
+ } | {
507
+ type: "absolute-file";
508
+ file: string;
509
+ } | undefined;
510
+ changelog?: string | {
511
+ type: "explicit-string";
512
+ content: string;
513
+ } | {
514
+ path: string;
515
+ type: "relative";
516
+ } | {
517
+ type: "absolute-file";
518
+ file: string;
519
+ } | undefined;
520
+ logo?: string | {
521
+ type: "explicit-base64";
522
+ mimeType: string;
523
+ content: string;
524
+ } | {
525
+ path: string;
526
+ type: "relative";
527
+ } | {
528
+ type: "absolute-file";
529
+ file: string;
530
+ } | undefined;
531
+ url?: string | undefined;
532
+ docs?: string | undefined;
533
+ support?: string | undefined;
534
+ tags?: string[] | undefined;
535
+ marketplaceRanking?: number | undefined;
536
+ deprecated?: boolean | undefined;
537
+ termsOfServiceUrl?: string | undefined;
538
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
539
+ };
540
+ components: {
541
+ workflow: string | {
542
+ type: "workflow-v1";
543
+ main: string;
546
544
  };
545
+ model: string;
546
+ ui: string;
547
+ };
547
548
  }>;
548
- export declare const FeatureFlags: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>;
549
- export declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny, Meta extends ZodTypeAny>(components: Components, meta: Meta): z.ZodObject<{
550
- id: z.ZodObject<{
551
- organization: z.ZodString;
552
- name: z.ZodString;
553
- version: z.ZodString;
549
+ declare const FeatureFlags: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>;
550
+ declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny, Meta extends ZodTypeAny>(components: Components, meta: Meta): z.ZodObject<{
551
+ id: z.ZodObject<{
552
+ organization: z.ZodString;
553
+ name: z.ZodString;
554
+ version: z.ZodString;
555
+ }, "strict", ZodTypeAny, {
556
+ organization: string;
557
+ name: string;
558
+ version: string;
559
+ }, {
560
+ organization: string;
561
+ name: string;
562
+ version: string;
563
+ }>;
564
+ components: Components;
565
+ meta: Meta;
566
+ featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
567
+ }, "passthrough", ZodTypeAny, z.objectOutputType<{
568
+ id: z.ZodObject<{
569
+ organization: z.ZodString;
570
+ name: z.ZodString;
571
+ version: z.ZodString;
572
+ }, "strict", ZodTypeAny, {
573
+ organization: string;
574
+ name: string;
575
+ version: string;
576
+ }, {
577
+ organization: string;
578
+ name: string;
579
+ version: string;
580
+ }>;
581
+ components: Components;
582
+ meta: Meta;
583
+ featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
584
+ }, ZodTypeAny, "passthrough">, z.objectInputType<{
585
+ id: z.ZodObject<{
586
+ organization: z.ZodString;
587
+ name: z.ZodString;
588
+ version: z.ZodString;
589
+ }, "strict", ZodTypeAny, {
590
+ organization: string;
591
+ name: string;
592
+ version: string;
593
+ }, {
594
+ organization: string;
595
+ name: string;
596
+ version: string;
597
+ }>;
598
+ components: Components;
599
+ meta: Meta;
600
+ featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
601
+ }, ZodTypeAny, "passthrough">>;
602
+ declare const BlockPackDescriptionRaw: z.ZodObject<{
603
+ id: z.ZodObject<{
604
+ organization: z.ZodString;
605
+ name: z.ZodString;
606
+ version: z.ZodString;
607
+ }, "strict", ZodTypeAny, {
608
+ organization: string;
609
+ name: string;
610
+ version: string;
611
+ }, {
612
+ organization: string;
613
+ name: string;
614
+ version: string;
615
+ }>;
616
+ components: z.ZodObject<{
617
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
618
+ type: "workflow-v1";
619
+ main: string;
620
+ }, string>, z.ZodObject<{
621
+ type: z.ZodLiteral<"workflow-v1">;
622
+ main: z.ZodString;
623
+ }, "strip", ZodTypeAny, {
624
+ type: "workflow-v1";
625
+ main: string;
626
+ }, {
627
+ type: "workflow-v1";
628
+ main: string;
629
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
630
+ type: z.ZodLiteral<"workflow-v1">;
631
+ main: z.ZodString;
632
+ }, "strip", ZodTypeAny, {
633
+ type: "workflow-v1";
634
+ main: string;
635
+ }, {
636
+ type: "workflow-v1";
637
+ main: string;
638
+ }>]>]>;
639
+ model: z.ZodString;
640
+ ui: z.ZodString;
641
+ }, "strip", ZodTypeAny, {
642
+ workflow: {
643
+ type: "workflow-v1";
644
+ main: string;
645
+ };
646
+ model: string;
647
+ ui: string;
648
+ }, {
649
+ workflow: string | {
650
+ type: "workflow-v1";
651
+ main: string;
652
+ };
653
+ model: string;
654
+ ui: string;
655
+ }>;
656
+ meta: z.ZodObject<{
657
+ title: z.ZodString;
658
+ description: z.ZodString;
659
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
660
+ type: "explicit-string";
661
+ content: string;
662
+ } | {
663
+ path: string;
664
+ type: "relative";
665
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
666
+ type: z.ZodLiteral<"explicit-string">;
667
+ content: z.ZodString;
554
668
  }, "strict", ZodTypeAny, {
555
- organization: string;
556
- name: string;
557
- version: string;
669
+ type: "explicit-string";
670
+ content: string;
558
671
  }, {
559
- organization: string;
560
- name: string;
561
- version: string;
562
- }>;
563
- components: Components;
564
- meta: Meta;
565
- featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
566
- }, "passthrough", ZodTypeAny, z.objectOutputType<{
567
- id: z.ZodObject<{
568
- organization: z.ZodString;
569
- name: z.ZodString;
570
- version: z.ZodString;
672
+ type: "explicit-string";
673
+ content: string;
674
+ }>, z.ZodObject<{
675
+ type: z.ZodLiteral<"relative">;
676
+ path: z.ZodString;
571
677
  }, "strict", ZodTypeAny, {
572
- organization: string;
573
- name: string;
574
- version: string;
678
+ path: string;
679
+ type: "relative";
575
680
  }, {
576
- organization: string;
577
- name: string;
578
- version: string;
579
- }>;
580
- components: Components;
581
- meta: Meta;
582
- featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
583
- }, ZodTypeAny, "passthrough">, z.objectInputType<{
584
- id: z.ZodObject<{
585
- organization: z.ZodString;
586
- name: z.ZodString;
587
- version: z.ZodString;
681
+ path: string;
682
+ type: "relative";
683
+ }>, z.ZodObject<{
684
+ type: z.ZodLiteral<"absolute-file">;
685
+ file: z.ZodString;
588
686
  }, "strict", ZodTypeAny, {
589
- organization: string;
590
- name: string;
591
- version: string;
687
+ type: "absolute-file";
688
+ file: string;
592
689
  }, {
593
- organization: string;
594
- name: string;
595
- version: string;
596
- }>;
597
- components: Components;
598
- meta: Meta;
599
- featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
600
- }, ZodTypeAny, "passthrough">>;
601
- export declare const BlockPackDescriptionRaw: z.ZodObject<{
602
- id: z.ZodObject<{
603
- organization: z.ZodString;
604
- name: z.ZodString;
605
- version: z.ZodString;
690
+ type: "absolute-file";
691
+ file: string;
692
+ }>]>]>>;
693
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
694
+ type: "explicit-string";
695
+ content: string;
696
+ } | {
697
+ path: string;
698
+ type: "relative";
699
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
700
+ type: z.ZodLiteral<"explicit-string">;
701
+ content: z.ZodString;
606
702
  }, "strict", ZodTypeAny, {
607
- organization: string;
608
- name: string;
609
- version: string;
703
+ type: "explicit-string";
704
+ content: string;
610
705
  }, {
611
- organization: string;
612
- name: string;
613
- version: string;
614
- }>;
615
- components: z.ZodObject<{
616
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
617
- type: "workflow-v1";
618
- main: string;
619
- }, string>, z.ZodObject<{
620
- type: z.ZodLiteral<"workflow-v1">;
621
- main: z.ZodString;
622
- }, "strip", ZodTypeAny, {
623
- type: "workflow-v1";
624
- main: string;
625
- }, {
626
- type: "workflow-v1";
627
- main: string;
628
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
629
- type: z.ZodLiteral<"workflow-v1">;
630
- main: z.ZodString;
631
- }, "strip", ZodTypeAny, {
632
- type: "workflow-v1";
633
- main: string;
634
- }, {
635
- type: "workflow-v1";
636
- main: string;
637
- }>]>]>;
638
- model: z.ZodString;
639
- ui: z.ZodString;
640
- }, "strip", ZodTypeAny, {
641
- ui: string;
642
- workflow: {
643
- type: "workflow-v1";
644
- main: string;
645
- };
646
- model: string;
706
+ type: "explicit-string";
707
+ content: string;
708
+ }>, z.ZodObject<{
709
+ type: z.ZodLiteral<"relative">;
710
+ path: z.ZodString;
711
+ }, "strict", ZodTypeAny, {
712
+ path: string;
713
+ type: "relative";
647
714
  }, {
648
- ui: string;
649
- workflow: string | {
650
- type: "workflow-v1";
651
- main: string;
652
- };
653
- model: string;
654
- }>;
655
- meta: z.ZodObject<{
656
- title: z.ZodString;
657
- description: z.ZodString;
658
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
659
- type: "explicit-string";
660
- content: string;
661
- } | {
662
- type: "relative";
663
- path: string;
664
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
665
- type: z.ZodLiteral<"explicit-string">;
666
- content: z.ZodString;
667
- }, "strict", ZodTypeAny, {
668
- type: "explicit-string";
669
- content: string;
670
- }, {
671
- type: "explicit-string";
672
- content: string;
673
- }>, z.ZodObject<{
674
- type: z.ZodLiteral<"relative">;
675
- path: z.ZodString;
676
- }, "strict", ZodTypeAny, {
677
- type: "relative";
678
- path: string;
679
- }, {
680
- type: "relative";
681
- path: string;
682
- }>, z.ZodObject<{
683
- type: z.ZodLiteral<"absolute-file">;
684
- file: z.ZodString;
685
- }, "strict", ZodTypeAny, {
686
- type: "absolute-file";
687
- file: string;
688
- }, {
689
- type: "absolute-file";
690
- file: string;
691
- }>]>]>>;
692
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
693
- type: "explicit-string";
694
- content: string;
695
- } | {
696
- type: "relative";
697
- path: string;
698
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
699
- type: z.ZodLiteral<"explicit-string">;
700
- content: z.ZodString;
701
- }, "strict", ZodTypeAny, {
702
- type: "explicit-string";
703
- content: string;
704
- }, {
705
- type: "explicit-string";
706
- content: string;
707
- }>, z.ZodObject<{
708
- type: z.ZodLiteral<"relative">;
709
- path: z.ZodString;
710
- }, "strict", ZodTypeAny, {
711
- type: "relative";
712
- path: string;
713
- }, {
714
- type: "relative";
715
- path: string;
716
- }>, z.ZodObject<{
717
- type: z.ZodLiteral<"absolute-file">;
718
- file: z.ZodString;
719
- }, "strict", ZodTypeAny, {
720
- type: "absolute-file";
721
- file: string;
722
- }, {
723
- type: "absolute-file";
724
- file: string;
725
- }>]>]>>;
726
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
727
- type: "explicit-base64";
728
- content: string;
729
- mimeType: string;
730
- } | {
731
- type: "relative";
732
- path: string;
733
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
734
- type: z.ZodLiteral<"explicit-base64">;
735
- mimeType: z.ZodString;
736
- content: z.ZodString;
737
- }, "strict", ZodTypeAny, {
738
- type: "explicit-base64";
739
- content: string;
740
- mimeType: string;
741
- }, {
742
- type: "explicit-base64";
743
- content: string;
744
- mimeType: string;
745
- }>, z.ZodObject<{
746
- type: z.ZodLiteral<"relative">;
747
- path: z.ZodString;
748
- }, "strict", ZodTypeAny, {
749
- type: "relative";
750
- path: string;
751
- }, {
752
- type: "relative";
753
- path: string;
754
- }>, z.ZodObject<{
755
- type: z.ZodLiteral<"absolute-file">;
756
- file: z.ZodString;
757
- }, "strict", ZodTypeAny, {
758
- type: "absolute-file";
759
- file: string;
760
- }, {
761
- type: "absolute-file";
762
- file: string;
763
- }>]>]>>;
764
- url: z.ZodOptional<z.ZodString>;
765
- docs: z.ZodOptional<z.ZodString>;
766
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
767
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
768
- organization: z.ZodObject<{
769
- name: z.ZodString;
770
- url: z.ZodString;
771
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
772
- type: "explicit-base64";
773
- content: string;
774
- mimeType: string;
775
- } | {
776
- type: "relative";
777
- path: string;
778
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
779
- type: z.ZodLiteral<"explicit-base64">;
780
- mimeType: z.ZodString;
781
- content: z.ZodString;
782
- }, "strict", ZodTypeAny, {
783
- type: "explicit-base64";
784
- content: string;
785
- mimeType: string;
786
- }, {
787
- type: "explicit-base64";
788
- content: string;
789
- mimeType: string;
790
- }>, z.ZodObject<{
791
- type: z.ZodLiteral<"relative">;
792
- path: z.ZodString;
793
- }, "strict", ZodTypeAny, {
794
- type: "relative";
795
- path: string;
796
- }, {
797
- type: "relative";
798
- path: string;
799
- }>, z.ZodObject<{
800
- type: z.ZodLiteral<"absolute-file">;
801
- file: z.ZodString;
802
- }, "strict", ZodTypeAny, {
803
- type: "absolute-file";
804
- file: string;
805
- }, {
806
- type: "absolute-file";
807
- file: string;
808
- }>]>]>>;
809
- }, "passthrough", ZodTypeAny, z.objectOutputType<{
810
- name: z.ZodString;
811
- url: z.ZodString;
812
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
813
- type: "explicit-base64";
814
- content: string;
815
- mimeType: string;
816
- } | {
817
- type: "relative";
818
- path: string;
819
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
820
- type: z.ZodLiteral<"explicit-base64">;
821
- mimeType: z.ZodString;
822
- content: z.ZodString;
823
- }, "strict", ZodTypeAny, {
824
- type: "explicit-base64";
825
- content: string;
826
- mimeType: string;
827
- }, {
828
- type: "explicit-base64";
829
- content: string;
830
- mimeType: string;
831
- }>, z.ZodObject<{
832
- type: z.ZodLiteral<"relative">;
833
- path: z.ZodString;
834
- }, "strict", ZodTypeAny, {
835
- type: "relative";
836
- path: string;
837
- }, {
838
- type: "relative";
839
- path: string;
840
- }>, z.ZodObject<{
841
- type: z.ZodLiteral<"absolute-file">;
842
- file: z.ZodString;
843
- }, "strict", ZodTypeAny, {
844
- type: "absolute-file";
845
- file: string;
846
- }, {
847
- type: "absolute-file";
848
- file: string;
849
- }>]>]>>;
850
- }, ZodTypeAny, "passthrough">, z.objectInputType<{
851
- name: z.ZodString;
852
- url: z.ZodString;
853
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
854
- type: "explicit-base64";
855
- content: string;
856
- mimeType: string;
857
- } | {
858
- type: "relative";
859
- path: string;
860
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
861
- type: z.ZodLiteral<"explicit-base64">;
862
- mimeType: z.ZodString;
863
- content: z.ZodString;
864
- }, "strict", ZodTypeAny, {
865
- type: "explicit-base64";
866
- content: string;
867
- mimeType: string;
868
- }, {
869
- type: "explicit-base64";
870
- content: string;
871
- mimeType: string;
872
- }>, z.ZodObject<{
873
- type: z.ZodLiteral<"relative">;
874
- path: z.ZodString;
875
- }, "strict", ZodTypeAny, {
876
- type: "relative";
877
- path: string;
878
- }, {
879
- type: "relative";
880
- path: string;
881
- }>, z.ZodObject<{
882
- type: z.ZodLiteral<"absolute-file">;
883
- file: z.ZodString;
884
- }, "strict", ZodTypeAny, {
885
- type: "absolute-file";
886
- file: string;
887
- }, {
888
- type: "absolute-file";
889
- file: string;
890
- }>]>]>>;
891
- }, ZodTypeAny, "passthrough">>;
892
- marketplaceRanking: z.ZodOptional<z.ZodNumber>;
893
- deprecated: z.ZodOptional<z.ZodBoolean>;
894
- termsOfServiceUrl: z.ZodOptional<z.ZodString>;
895
- supportedPlatforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>, "many">>;
896
- }, "strip", ZodTypeAny, {
897
- organization: {
898
- url: string;
899
- name: string;
900
- logo?: {
901
- type: "explicit-base64";
902
- content: string;
903
- mimeType: string;
904
- } | {
905
- type: "relative";
906
- path: string;
907
- } | {
908
- type: "absolute-file";
909
- file: string;
910
- } | undefined;
911
- } & {
912
- [k: string]: unknown;
913
- };
914
- title: string;
915
- description: string;
916
- url?: string | undefined;
917
- longDescription?: {
918
- type: "explicit-string";
919
- content: string;
920
- } | {
921
- type: "relative";
922
- path: string;
923
- } | {
924
- type: "absolute-file";
925
- file: string;
926
- } | undefined;
927
- changelog?: {
928
- type: "explicit-string";
929
- content: string;
930
- } | {
931
- type: "relative";
932
- path: string;
933
- } | {
934
- type: "absolute-file";
935
- file: string;
936
- } | undefined;
937
- logo?: {
938
- type: "explicit-base64";
939
- content: string;
940
- mimeType: string;
941
- } | {
942
- type: "relative";
943
- path: string;
944
- } | {
945
- type: "absolute-file";
946
- file: string;
947
- } | undefined;
948
- docs?: string | undefined;
949
- support?: string | undefined;
950
- tags?: string[] | undefined;
951
- marketplaceRanking?: number | undefined;
952
- deprecated?: boolean | undefined;
953
- termsOfServiceUrl?: string | undefined;
954
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
715
+ path: string;
716
+ type: "relative";
717
+ }>, z.ZodObject<{
718
+ type: z.ZodLiteral<"absolute-file">;
719
+ file: z.ZodString;
720
+ }, "strict", ZodTypeAny, {
721
+ type: "absolute-file";
722
+ file: string;
955
723
  }, {
956
- organization: {
957
- url: string;
958
- name: string;
959
- logo?: string | {
960
- type: "explicit-base64";
961
- content: string;
962
- mimeType: string;
963
- } | {
964
- type: "relative";
965
- path: string;
966
- } | {
967
- type: "absolute-file";
968
- file: string;
969
- } | undefined;
970
- } & {
971
- [k: string]: unknown;
972
- };
973
- title: string;
974
- description: string;
975
- url?: string | undefined;
976
- longDescription?: string | {
977
- type: "explicit-string";
978
- content: string;
979
- } | {
980
- type: "relative";
981
- path: string;
982
- } | {
983
- type: "absolute-file";
984
- file: string;
985
- } | undefined;
986
- changelog?: string | {
987
- type: "explicit-string";
988
- content: string;
989
- } | {
990
- type: "relative";
991
- path: string;
992
- } | {
993
- type: "absolute-file";
994
- file: string;
995
- } | undefined;
996
- logo?: string | {
997
- type: "explicit-base64";
998
- content: string;
999
- mimeType: string;
1000
- } | {
1001
- type: "relative";
1002
- path: string;
1003
- } | {
1004
- type: "absolute-file";
1005
- file: string;
1006
- } | undefined;
1007
- docs?: string | undefined;
1008
- support?: string | undefined;
1009
- tags?: string[] | undefined;
1010
- marketplaceRanking?: number | undefined;
1011
- deprecated?: boolean | undefined;
1012
- termsOfServiceUrl?: string | undefined;
1013
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1014
- }>;
1015
- featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
1016
- }, "passthrough", ZodTypeAny, z.objectOutputType<{
1017
- id: z.ZodObject<{
1018
- organization: z.ZodString;
1019
- name: z.ZodString;
1020
- version: z.ZodString;
724
+ type: "absolute-file";
725
+ file: string;
726
+ }>]>]>>;
727
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
728
+ type: "explicit-base64";
729
+ mimeType: string;
730
+ content: string;
731
+ } | {
732
+ path: string;
733
+ type: "relative";
734
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
735
+ type: z.ZodLiteral<"explicit-base64">;
736
+ mimeType: z.ZodString;
737
+ content: z.ZodString;
1021
738
  }, "strict", ZodTypeAny, {
1022
- organization: string;
1023
- name: string;
1024
- version: string;
739
+ type: "explicit-base64";
740
+ mimeType: string;
741
+ content: string;
1025
742
  }, {
1026
- organization: string;
1027
- name: string;
1028
- version: string;
1029
- }>;
1030
- components: z.ZodObject<{
1031
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
1032
- type: "workflow-v1";
1033
- main: string;
1034
- }, string>, z.ZodObject<{
1035
- type: z.ZodLiteral<"workflow-v1">;
1036
- main: z.ZodString;
1037
- }, "strip", ZodTypeAny, {
1038
- type: "workflow-v1";
1039
- main: string;
1040
- }, {
1041
- type: "workflow-v1";
1042
- main: string;
1043
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1044
- type: z.ZodLiteral<"workflow-v1">;
1045
- main: z.ZodString;
1046
- }, "strip", ZodTypeAny, {
1047
- type: "workflow-v1";
1048
- main: string;
1049
- }, {
1050
- type: "workflow-v1";
1051
- main: string;
1052
- }>]>]>;
1053
- model: z.ZodString;
1054
- ui: z.ZodString;
743
+ type: "explicit-base64";
744
+ mimeType: string;
745
+ content: string;
746
+ }>, z.ZodObject<{
747
+ type: z.ZodLiteral<"relative">;
748
+ path: z.ZodString;
749
+ }, "strict", ZodTypeAny, {
750
+ path: string;
751
+ type: "relative";
752
+ }, {
753
+ path: string;
754
+ type: "relative";
755
+ }>, z.ZodObject<{
756
+ type: z.ZodLiteral<"absolute-file">;
757
+ file: z.ZodString;
758
+ }, "strict", ZodTypeAny, {
759
+ type: "absolute-file";
760
+ file: string;
761
+ }, {
762
+ type: "absolute-file";
763
+ file: string;
764
+ }>]>]>>;
765
+ url: z.ZodOptional<z.ZodString>;
766
+ docs: z.ZodOptional<z.ZodString>;
767
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
768
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
769
+ organization: z.ZodObject<{
770
+ name: z.ZodString;
771
+ url: z.ZodString;
772
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
773
+ type: "explicit-base64";
774
+ mimeType: string;
775
+ content: string;
776
+ } | {
777
+ path: string;
778
+ type: "relative";
779
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
780
+ type: z.ZodLiteral<"explicit-base64">;
781
+ mimeType: z.ZodString;
782
+ content: z.ZodString;
783
+ }, "strict", ZodTypeAny, {
784
+ type: "explicit-base64";
785
+ mimeType: string;
786
+ content: string;
787
+ }, {
788
+ type: "explicit-base64";
789
+ mimeType: string;
790
+ content: string;
791
+ }>, z.ZodObject<{
792
+ type: z.ZodLiteral<"relative">;
793
+ path: z.ZodString;
794
+ }, "strict", ZodTypeAny, {
795
+ path: string;
796
+ type: "relative";
797
+ }, {
798
+ path: string;
799
+ type: "relative";
800
+ }>, z.ZodObject<{
801
+ type: z.ZodLiteral<"absolute-file">;
802
+ file: z.ZodString;
803
+ }, "strict", ZodTypeAny, {
804
+ type: "absolute-file";
805
+ file: string;
806
+ }, {
807
+ type: "absolute-file";
808
+ file: string;
809
+ }>]>]>>;
810
+ }, "passthrough", ZodTypeAny, z.objectOutputType<{
811
+ name: z.ZodString;
812
+ url: z.ZodString;
813
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
814
+ type: "explicit-base64";
815
+ mimeType: string;
816
+ content: string;
817
+ } | {
818
+ path: string;
819
+ type: "relative";
820
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
821
+ type: z.ZodLiteral<"explicit-base64">;
822
+ mimeType: z.ZodString;
823
+ content: z.ZodString;
824
+ }, "strict", ZodTypeAny, {
825
+ type: "explicit-base64";
826
+ mimeType: string;
827
+ content: string;
828
+ }, {
829
+ type: "explicit-base64";
830
+ mimeType: string;
831
+ content: string;
832
+ }>, z.ZodObject<{
833
+ type: z.ZodLiteral<"relative">;
834
+ path: z.ZodString;
835
+ }, "strict", ZodTypeAny, {
836
+ path: string;
837
+ type: "relative";
838
+ }, {
839
+ path: string;
840
+ type: "relative";
841
+ }>, z.ZodObject<{
842
+ type: z.ZodLiteral<"absolute-file">;
843
+ file: z.ZodString;
844
+ }, "strict", ZodTypeAny, {
845
+ type: "absolute-file";
846
+ file: string;
847
+ }, {
848
+ type: "absolute-file";
849
+ file: string;
850
+ }>]>]>>;
851
+ }, ZodTypeAny, "passthrough">, z.objectInputType<{
852
+ name: z.ZodString;
853
+ url: z.ZodString;
854
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
855
+ type: "explicit-base64";
856
+ mimeType: string;
857
+ content: string;
858
+ } | {
859
+ path: string;
860
+ type: "relative";
861
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
862
+ type: z.ZodLiteral<"explicit-base64">;
863
+ mimeType: z.ZodString;
864
+ content: z.ZodString;
865
+ }, "strict", ZodTypeAny, {
866
+ type: "explicit-base64";
867
+ mimeType: string;
868
+ content: string;
869
+ }, {
870
+ type: "explicit-base64";
871
+ mimeType: string;
872
+ content: string;
873
+ }>, z.ZodObject<{
874
+ type: z.ZodLiteral<"relative">;
875
+ path: z.ZodString;
876
+ }, "strict", ZodTypeAny, {
877
+ path: string;
878
+ type: "relative";
879
+ }, {
880
+ path: string;
881
+ type: "relative";
882
+ }>, z.ZodObject<{
883
+ type: z.ZodLiteral<"absolute-file">;
884
+ file: z.ZodString;
885
+ }, "strict", ZodTypeAny, {
886
+ type: "absolute-file";
887
+ file: string;
888
+ }, {
889
+ type: "absolute-file";
890
+ file: string;
891
+ }>]>]>>;
892
+ }, ZodTypeAny, "passthrough">>;
893
+ marketplaceRanking: z.ZodOptional<z.ZodNumber>;
894
+ deprecated: z.ZodOptional<z.ZodBoolean>;
895
+ termsOfServiceUrl: z.ZodOptional<z.ZodString>;
896
+ supportedPlatforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>, "many">>;
897
+ }, "strip", ZodTypeAny, {
898
+ organization: {
899
+ name: string;
900
+ url: string;
901
+ logo?: {
902
+ type: "explicit-base64";
903
+ mimeType: string;
904
+ content: string;
905
+ } | {
906
+ path: string;
907
+ type: "relative";
908
+ } | {
909
+ type: "absolute-file";
910
+ file: string;
911
+ } | undefined;
912
+ } & {
913
+ [k: string]: unknown;
914
+ };
915
+ title: string;
916
+ description: string;
917
+ longDescription?: {
918
+ type: "explicit-string";
919
+ content: string;
920
+ } | {
921
+ path: string;
922
+ type: "relative";
923
+ } | {
924
+ type: "absolute-file";
925
+ file: string;
926
+ } | undefined;
927
+ changelog?: {
928
+ type: "explicit-string";
929
+ content: string;
930
+ } | {
931
+ path: string;
932
+ type: "relative";
933
+ } | {
934
+ type: "absolute-file";
935
+ file: string;
936
+ } | undefined;
937
+ logo?: {
938
+ type: "explicit-base64";
939
+ mimeType: string;
940
+ content: string;
941
+ } | {
942
+ path: string;
943
+ type: "relative";
944
+ } | {
945
+ type: "absolute-file";
946
+ file: string;
947
+ } | undefined;
948
+ url?: string | undefined;
949
+ docs?: string | undefined;
950
+ support?: string | undefined;
951
+ tags?: string[] | undefined;
952
+ marketplaceRanking?: number | undefined;
953
+ deprecated?: boolean | undefined;
954
+ termsOfServiceUrl?: string | undefined;
955
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
956
+ }, {
957
+ organization: {
958
+ name: string;
959
+ url: string;
960
+ logo?: string | {
961
+ type: "explicit-base64";
962
+ mimeType: string;
963
+ content: string;
964
+ } | {
965
+ path: string;
966
+ type: "relative";
967
+ } | {
968
+ type: "absolute-file";
969
+ file: string;
970
+ } | undefined;
971
+ } & {
972
+ [k: string]: unknown;
973
+ };
974
+ title: string;
975
+ description: string;
976
+ longDescription?: string | {
977
+ type: "explicit-string";
978
+ content: string;
979
+ } | {
980
+ path: string;
981
+ type: "relative";
982
+ } | {
983
+ type: "absolute-file";
984
+ file: string;
985
+ } | undefined;
986
+ changelog?: string | {
987
+ type: "explicit-string";
988
+ content: string;
989
+ } | {
990
+ path: string;
991
+ type: "relative";
992
+ } | {
993
+ type: "absolute-file";
994
+ file: string;
995
+ } | undefined;
996
+ logo?: string | {
997
+ type: "explicit-base64";
998
+ mimeType: string;
999
+ content: string;
1000
+ } | {
1001
+ path: string;
1002
+ type: "relative";
1003
+ } | {
1004
+ type: "absolute-file";
1005
+ file: string;
1006
+ } | undefined;
1007
+ url?: string | undefined;
1008
+ docs?: string | undefined;
1009
+ support?: string | undefined;
1010
+ tags?: string[] | undefined;
1011
+ marketplaceRanking?: number | undefined;
1012
+ deprecated?: boolean | undefined;
1013
+ termsOfServiceUrl?: string | undefined;
1014
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1015
+ }>;
1016
+ featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
1017
+ }, "passthrough", ZodTypeAny, z.objectOutputType<{
1018
+ id: z.ZodObject<{
1019
+ organization: z.ZodString;
1020
+ name: z.ZodString;
1021
+ version: z.ZodString;
1022
+ }, "strict", ZodTypeAny, {
1023
+ organization: string;
1024
+ name: string;
1025
+ version: string;
1026
+ }, {
1027
+ organization: string;
1028
+ name: string;
1029
+ version: string;
1030
+ }>;
1031
+ components: z.ZodObject<{
1032
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
1033
+ type: "workflow-v1";
1034
+ main: string;
1035
+ }, string>, z.ZodObject<{
1036
+ type: z.ZodLiteral<"workflow-v1">;
1037
+ main: z.ZodString;
1055
1038
  }, "strip", ZodTypeAny, {
1056
- ui: string;
1057
- workflow: {
1058
- type: "workflow-v1";
1059
- main: string;
1060
- };
1061
- model: string;
1039
+ type: "workflow-v1";
1040
+ main: string;
1062
1041
  }, {
1063
- ui: string;
1064
- workflow: string | {
1065
- type: "workflow-v1";
1066
- main: string;
1067
- };
1068
- model: string;
1069
- }>;
1070
- meta: z.ZodObject<{
1071
- title: z.ZodString;
1072
- description: z.ZodString;
1073
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1074
- type: "explicit-string";
1075
- content: string;
1076
- } | {
1077
- type: "relative";
1078
- path: string;
1079
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1080
- type: z.ZodLiteral<"explicit-string">;
1081
- content: z.ZodString;
1082
- }, "strict", ZodTypeAny, {
1083
- type: "explicit-string";
1084
- content: string;
1085
- }, {
1086
- type: "explicit-string";
1087
- content: string;
1088
- }>, z.ZodObject<{
1089
- type: z.ZodLiteral<"relative">;
1090
- path: z.ZodString;
1091
- }, "strict", ZodTypeAny, {
1092
- type: "relative";
1093
- path: string;
1094
- }, {
1095
- type: "relative";
1096
- path: string;
1097
- }>, z.ZodObject<{
1098
- type: z.ZodLiteral<"absolute-file">;
1099
- file: z.ZodString;
1100
- }, "strict", ZodTypeAny, {
1101
- type: "absolute-file";
1102
- file: string;
1103
- }, {
1104
- type: "absolute-file";
1105
- file: string;
1106
- }>]>]>>;
1107
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1108
- type: "explicit-string";
1109
- content: string;
1110
- } | {
1111
- type: "relative";
1112
- path: string;
1113
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1114
- type: z.ZodLiteral<"explicit-string">;
1115
- content: z.ZodString;
1116
- }, "strict", ZodTypeAny, {
1117
- type: "explicit-string";
1118
- content: string;
1119
- }, {
1120
- type: "explicit-string";
1121
- content: string;
1122
- }>, z.ZodObject<{
1123
- type: z.ZodLiteral<"relative">;
1124
- path: z.ZodString;
1125
- }, "strict", ZodTypeAny, {
1126
- type: "relative";
1127
- path: string;
1128
- }, {
1129
- type: "relative";
1130
- path: string;
1131
- }>, z.ZodObject<{
1132
- type: z.ZodLiteral<"absolute-file">;
1133
- file: z.ZodString;
1134
- }, "strict", ZodTypeAny, {
1135
- type: "absolute-file";
1136
- file: string;
1137
- }, {
1138
- type: "absolute-file";
1139
- file: string;
1140
- }>]>]>>;
1141
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1142
- type: "explicit-base64";
1143
- content: string;
1144
- mimeType: string;
1145
- } | {
1146
- type: "relative";
1147
- path: string;
1148
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1149
- type: z.ZodLiteral<"explicit-base64">;
1150
- mimeType: z.ZodString;
1151
- content: z.ZodString;
1152
- }, "strict", ZodTypeAny, {
1153
- type: "explicit-base64";
1154
- content: string;
1155
- mimeType: string;
1156
- }, {
1157
- type: "explicit-base64";
1158
- content: string;
1159
- mimeType: string;
1160
- }>, z.ZodObject<{
1161
- type: z.ZodLiteral<"relative">;
1162
- path: z.ZodString;
1163
- }, "strict", ZodTypeAny, {
1164
- type: "relative";
1165
- path: string;
1166
- }, {
1167
- type: "relative";
1168
- path: string;
1169
- }>, z.ZodObject<{
1170
- type: z.ZodLiteral<"absolute-file">;
1171
- file: z.ZodString;
1172
- }, "strict", ZodTypeAny, {
1173
- type: "absolute-file";
1174
- file: string;
1175
- }, {
1176
- type: "absolute-file";
1177
- file: string;
1178
- }>]>]>>;
1179
- url: z.ZodOptional<z.ZodString>;
1180
- docs: z.ZodOptional<z.ZodString>;
1181
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1182
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1183
- organization: z.ZodObject<{
1184
- name: z.ZodString;
1185
- url: z.ZodString;
1186
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1187
- type: "explicit-base64";
1188
- content: string;
1189
- mimeType: string;
1190
- } | {
1191
- type: "relative";
1192
- path: string;
1193
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1194
- type: z.ZodLiteral<"explicit-base64">;
1195
- mimeType: z.ZodString;
1196
- content: z.ZodString;
1197
- }, "strict", ZodTypeAny, {
1198
- type: "explicit-base64";
1199
- content: string;
1200
- mimeType: string;
1201
- }, {
1202
- type: "explicit-base64";
1203
- content: string;
1204
- mimeType: string;
1205
- }>, z.ZodObject<{
1206
- type: z.ZodLiteral<"relative">;
1207
- path: z.ZodString;
1208
- }, "strict", ZodTypeAny, {
1209
- type: "relative";
1210
- path: string;
1211
- }, {
1212
- type: "relative";
1213
- path: string;
1214
- }>, z.ZodObject<{
1215
- type: z.ZodLiteral<"absolute-file">;
1216
- file: z.ZodString;
1217
- }, "strict", ZodTypeAny, {
1218
- type: "absolute-file";
1219
- file: string;
1220
- }, {
1221
- type: "absolute-file";
1222
- file: string;
1223
- }>]>]>>;
1224
- }, "passthrough", ZodTypeAny, z.objectOutputType<{
1225
- name: z.ZodString;
1226
- url: z.ZodString;
1227
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1228
- type: "explicit-base64";
1229
- content: string;
1230
- mimeType: string;
1231
- } | {
1232
- type: "relative";
1233
- path: string;
1234
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1235
- type: z.ZodLiteral<"explicit-base64">;
1236
- mimeType: z.ZodString;
1237
- content: z.ZodString;
1238
- }, "strict", ZodTypeAny, {
1239
- type: "explicit-base64";
1240
- content: string;
1241
- mimeType: string;
1242
- }, {
1243
- type: "explicit-base64";
1244
- content: string;
1245
- mimeType: string;
1246
- }>, z.ZodObject<{
1247
- type: z.ZodLiteral<"relative">;
1248
- path: z.ZodString;
1249
- }, "strict", ZodTypeAny, {
1250
- type: "relative";
1251
- path: string;
1252
- }, {
1253
- type: "relative";
1254
- path: string;
1255
- }>, z.ZodObject<{
1256
- type: z.ZodLiteral<"absolute-file">;
1257
- file: z.ZodString;
1258
- }, "strict", ZodTypeAny, {
1259
- type: "absolute-file";
1260
- file: string;
1261
- }, {
1262
- type: "absolute-file";
1263
- file: string;
1264
- }>]>]>>;
1265
- }, ZodTypeAny, "passthrough">, z.objectInputType<{
1266
- name: z.ZodString;
1267
- url: z.ZodString;
1268
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1269
- type: "explicit-base64";
1270
- content: string;
1271
- mimeType: string;
1272
- } | {
1273
- type: "relative";
1274
- path: string;
1275
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1276
- type: z.ZodLiteral<"explicit-base64">;
1277
- mimeType: z.ZodString;
1278
- content: z.ZodString;
1279
- }, "strict", ZodTypeAny, {
1280
- type: "explicit-base64";
1281
- content: string;
1282
- mimeType: string;
1283
- }, {
1284
- type: "explicit-base64";
1285
- content: string;
1286
- mimeType: string;
1287
- }>, z.ZodObject<{
1288
- type: z.ZodLiteral<"relative">;
1289
- path: z.ZodString;
1290
- }, "strict", ZodTypeAny, {
1291
- type: "relative";
1292
- path: string;
1293
- }, {
1294
- type: "relative";
1295
- path: string;
1296
- }>, z.ZodObject<{
1297
- type: z.ZodLiteral<"absolute-file">;
1298
- file: z.ZodString;
1299
- }, "strict", ZodTypeAny, {
1300
- type: "absolute-file";
1301
- file: string;
1302
- }, {
1303
- type: "absolute-file";
1304
- file: string;
1305
- }>]>]>>;
1306
- }, ZodTypeAny, "passthrough">>;
1307
- marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1308
- deprecated: z.ZodOptional<z.ZodBoolean>;
1309
- termsOfServiceUrl: z.ZodOptional<z.ZodString>;
1310
- supportedPlatforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>, "many">>;
1042
+ type: "workflow-v1";
1043
+ main: string;
1044
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1045
+ type: z.ZodLiteral<"workflow-v1">;
1046
+ main: z.ZodString;
1311
1047
  }, "strip", ZodTypeAny, {
1312
- organization: {
1313
- url: string;
1314
- name: string;
1315
- logo?: {
1316
- type: "explicit-base64";
1317
- content: string;
1318
- mimeType: string;
1319
- } | {
1320
- type: "relative";
1321
- path: string;
1322
- } | {
1323
- type: "absolute-file";
1324
- file: string;
1325
- } | undefined;
1326
- } & {
1327
- [k: string]: unknown;
1328
- };
1329
- title: string;
1330
- description: string;
1331
- url?: string | undefined;
1332
- longDescription?: {
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
- changelog?: {
1343
- type: "explicit-string";
1344
- content: string;
1345
- } | {
1346
- type: "relative";
1347
- path: string;
1348
- } | {
1349
- type: "absolute-file";
1350
- file: string;
1351
- } | undefined;
1352
- logo?: {
1353
- type: "explicit-base64";
1354
- content: string;
1355
- mimeType: string;
1356
- } | {
1357
- type: "relative";
1358
- path: string;
1359
- } | {
1360
- type: "absolute-file";
1361
- file: string;
1362
- } | undefined;
1363
- docs?: string | undefined;
1364
- support?: string | undefined;
1365
- tags?: string[] | undefined;
1366
- marketplaceRanking?: number | undefined;
1367
- deprecated?: boolean | undefined;
1368
- termsOfServiceUrl?: string | undefined;
1369
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1048
+ type: "workflow-v1";
1049
+ main: string;
1370
1050
  }, {
1371
- organization: {
1372
- url: string;
1373
- name: string;
1374
- logo?: string | {
1375
- type: "explicit-base64";
1376
- content: string;
1377
- mimeType: string;
1378
- } | {
1379
- type: "relative";
1380
- path: string;
1381
- } | {
1382
- type: "absolute-file";
1383
- file: string;
1384
- } | undefined;
1385
- } & {
1386
- [k: string]: unknown;
1387
- };
1388
- title: string;
1389
- description: string;
1390
- url?: string | undefined;
1391
- longDescription?: string | {
1392
- type: "explicit-string";
1393
- content: string;
1394
- } | {
1395
- type: "relative";
1396
- path: string;
1397
- } | {
1398
- type: "absolute-file";
1399
- file: string;
1400
- } | undefined;
1401
- changelog?: string | {
1402
- type: "explicit-string";
1403
- content: string;
1404
- } | {
1405
- type: "relative";
1406
- path: string;
1407
- } | {
1408
- type: "absolute-file";
1409
- file: string;
1410
- } | undefined;
1411
- logo?: string | {
1412
- type: "explicit-base64";
1413
- content: string;
1414
- mimeType: string;
1415
- } | {
1416
- type: "relative";
1417
- path: string;
1418
- } | {
1419
- type: "absolute-file";
1420
- file: string;
1421
- } | undefined;
1422
- docs?: string | undefined;
1423
- support?: string | undefined;
1424
- tags?: string[] | undefined;
1425
- marketplaceRanking?: number | undefined;
1426
- deprecated?: boolean | undefined;
1427
- termsOfServiceUrl?: string | undefined;
1428
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1429
- }>;
1430
- featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
1431
- }, ZodTypeAny, "passthrough">, z.objectInputType<{
1432
- id: z.ZodObject<{
1433
- organization: z.ZodString;
1434
- name: z.ZodString;
1435
- version: z.ZodString;
1051
+ type: "workflow-v1";
1052
+ main: string;
1053
+ }>]>]>;
1054
+ model: z.ZodString;
1055
+ ui: z.ZodString;
1056
+ }, "strip", ZodTypeAny, {
1057
+ workflow: {
1058
+ type: "workflow-v1";
1059
+ main: string;
1060
+ };
1061
+ model: string;
1062
+ ui: string;
1063
+ }, {
1064
+ workflow: string | {
1065
+ type: "workflow-v1";
1066
+ main: string;
1067
+ };
1068
+ model: string;
1069
+ ui: string;
1070
+ }>;
1071
+ meta: z.ZodObject<{
1072
+ title: z.ZodString;
1073
+ description: z.ZodString;
1074
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1075
+ type: "explicit-string";
1076
+ content: string;
1077
+ } | {
1078
+ path: string;
1079
+ type: "relative";
1080
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1081
+ type: z.ZodLiteral<"explicit-string">;
1082
+ content: z.ZodString;
1083
+ }, "strict", ZodTypeAny, {
1084
+ type: "explicit-string";
1085
+ content: string;
1086
+ }, {
1087
+ type: "explicit-string";
1088
+ content: string;
1089
+ }>, z.ZodObject<{
1090
+ type: z.ZodLiteral<"relative">;
1091
+ path: z.ZodString;
1092
+ }, "strict", ZodTypeAny, {
1093
+ path: string;
1094
+ type: "relative";
1095
+ }, {
1096
+ path: string;
1097
+ type: "relative";
1098
+ }>, z.ZodObject<{
1099
+ type: z.ZodLiteral<"absolute-file">;
1100
+ file: z.ZodString;
1101
+ }, "strict", ZodTypeAny, {
1102
+ type: "absolute-file";
1103
+ file: string;
1104
+ }, {
1105
+ type: "absolute-file";
1106
+ file: string;
1107
+ }>]>]>>;
1108
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1109
+ type: "explicit-string";
1110
+ content: string;
1111
+ } | {
1112
+ path: string;
1113
+ type: "relative";
1114
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1115
+ type: z.ZodLiteral<"explicit-string">;
1116
+ content: z.ZodString;
1117
+ }, "strict", ZodTypeAny, {
1118
+ type: "explicit-string";
1119
+ content: string;
1120
+ }, {
1121
+ type: "explicit-string";
1122
+ content: string;
1123
+ }>, z.ZodObject<{
1124
+ type: z.ZodLiteral<"relative">;
1125
+ path: z.ZodString;
1436
1126
  }, "strict", ZodTypeAny, {
1437
- organization: string;
1438
- name: string;
1439
- version: string;
1127
+ path: string;
1128
+ type: "relative";
1440
1129
  }, {
1441
- organization: string;
1442
- name: string;
1443
- version: string;
1444
- }>;
1445
- components: z.ZodObject<{
1446
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
1447
- type: "workflow-v1";
1448
- main: string;
1449
- }, string>, z.ZodObject<{
1450
- type: z.ZodLiteral<"workflow-v1">;
1451
- main: z.ZodString;
1452
- }, "strip", ZodTypeAny, {
1453
- type: "workflow-v1";
1454
- main: string;
1455
- }, {
1456
- type: "workflow-v1";
1457
- main: string;
1458
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1459
- type: z.ZodLiteral<"workflow-v1">;
1460
- main: z.ZodString;
1461
- }, "strip", ZodTypeAny, {
1462
- type: "workflow-v1";
1463
- main: string;
1464
- }, {
1465
- type: "workflow-v1";
1466
- main: string;
1467
- }>]>]>;
1468
- model: z.ZodString;
1469
- ui: z.ZodString;
1130
+ path: string;
1131
+ type: "relative";
1132
+ }>, z.ZodObject<{
1133
+ type: z.ZodLiteral<"absolute-file">;
1134
+ file: z.ZodString;
1135
+ }, "strict", ZodTypeAny, {
1136
+ type: "absolute-file";
1137
+ file: string;
1138
+ }, {
1139
+ type: "absolute-file";
1140
+ file: string;
1141
+ }>]>]>>;
1142
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1143
+ type: "explicit-base64";
1144
+ mimeType: string;
1145
+ content: string;
1146
+ } | {
1147
+ path: string;
1148
+ type: "relative";
1149
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1150
+ type: z.ZodLiteral<"explicit-base64">;
1151
+ mimeType: z.ZodString;
1152
+ content: z.ZodString;
1153
+ }, "strict", ZodTypeAny, {
1154
+ type: "explicit-base64";
1155
+ mimeType: string;
1156
+ content: string;
1157
+ }, {
1158
+ type: "explicit-base64";
1159
+ mimeType: string;
1160
+ content: string;
1161
+ }>, z.ZodObject<{
1162
+ type: z.ZodLiteral<"relative">;
1163
+ path: z.ZodString;
1164
+ }, "strict", ZodTypeAny, {
1165
+ path: string;
1166
+ type: "relative";
1167
+ }, {
1168
+ path: string;
1169
+ type: "relative";
1170
+ }>, z.ZodObject<{
1171
+ type: z.ZodLiteral<"absolute-file">;
1172
+ file: z.ZodString;
1173
+ }, "strict", ZodTypeAny, {
1174
+ type: "absolute-file";
1175
+ file: string;
1176
+ }, {
1177
+ type: "absolute-file";
1178
+ file: string;
1179
+ }>]>]>>;
1180
+ url: z.ZodOptional<z.ZodString>;
1181
+ docs: z.ZodOptional<z.ZodString>;
1182
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1183
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1184
+ organization: z.ZodObject<{
1185
+ name: z.ZodString;
1186
+ url: z.ZodString;
1187
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1188
+ type: "explicit-base64";
1189
+ mimeType: string;
1190
+ content: string;
1191
+ } | {
1192
+ path: string;
1193
+ type: "relative";
1194
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1195
+ type: z.ZodLiteral<"explicit-base64">;
1196
+ mimeType: z.ZodString;
1197
+ content: z.ZodString;
1198
+ }, "strict", ZodTypeAny, {
1199
+ type: "explicit-base64";
1200
+ mimeType: string;
1201
+ content: string;
1202
+ }, {
1203
+ type: "explicit-base64";
1204
+ mimeType: string;
1205
+ content: string;
1206
+ }>, z.ZodObject<{
1207
+ type: z.ZodLiteral<"relative">;
1208
+ path: z.ZodString;
1209
+ }, "strict", ZodTypeAny, {
1210
+ path: string;
1211
+ type: "relative";
1212
+ }, {
1213
+ path: string;
1214
+ type: "relative";
1215
+ }>, z.ZodObject<{
1216
+ type: z.ZodLiteral<"absolute-file">;
1217
+ file: z.ZodString;
1218
+ }, "strict", ZodTypeAny, {
1219
+ type: "absolute-file";
1220
+ file: string;
1221
+ }, {
1222
+ type: "absolute-file";
1223
+ file: string;
1224
+ }>]>]>>;
1225
+ }, "passthrough", ZodTypeAny, z.objectOutputType<{
1226
+ name: z.ZodString;
1227
+ url: z.ZodString;
1228
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1229
+ type: "explicit-base64";
1230
+ mimeType: string;
1231
+ content: string;
1232
+ } | {
1233
+ path: string;
1234
+ type: "relative";
1235
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1236
+ type: z.ZodLiteral<"explicit-base64">;
1237
+ mimeType: z.ZodString;
1238
+ content: z.ZodString;
1239
+ }, "strict", ZodTypeAny, {
1240
+ type: "explicit-base64";
1241
+ mimeType: string;
1242
+ content: string;
1243
+ }, {
1244
+ type: "explicit-base64";
1245
+ mimeType: string;
1246
+ content: string;
1247
+ }>, z.ZodObject<{
1248
+ type: z.ZodLiteral<"relative">;
1249
+ path: z.ZodString;
1250
+ }, "strict", ZodTypeAny, {
1251
+ path: string;
1252
+ type: "relative";
1253
+ }, {
1254
+ path: string;
1255
+ type: "relative";
1256
+ }>, z.ZodObject<{
1257
+ type: z.ZodLiteral<"absolute-file">;
1258
+ file: z.ZodString;
1259
+ }, "strict", ZodTypeAny, {
1260
+ type: "absolute-file";
1261
+ file: string;
1262
+ }, {
1263
+ type: "absolute-file";
1264
+ file: string;
1265
+ }>]>]>>;
1266
+ }, ZodTypeAny, "passthrough">, z.objectInputType<{
1267
+ name: z.ZodString;
1268
+ url: z.ZodString;
1269
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1270
+ type: "explicit-base64";
1271
+ mimeType: string;
1272
+ content: string;
1273
+ } | {
1274
+ path: string;
1275
+ type: "relative";
1276
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1277
+ type: z.ZodLiteral<"explicit-base64">;
1278
+ mimeType: z.ZodString;
1279
+ content: z.ZodString;
1280
+ }, "strict", ZodTypeAny, {
1281
+ type: "explicit-base64";
1282
+ mimeType: string;
1283
+ content: string;
1284
+ }, {
1285
+ type: "explicit-base64";
1286
+ mimeType: string;
1287
+ content: string;
1288
+ }>, z.ZodObject<{
1289
+ type: z.ZodLiteral<"relative">;
1290
+ path: z.ZodString;
1291
+ }, "strict", ZodTypeAny, {
1292
+ path: string;
1293
+ type: "relative";
1294
+ }, {
1295
+ path: string;
1296
+ type: "relative";
1297
+ }>, z.ZodObject<{
1298
+ type: z.ZodLiteral<"absolute-file">;
1299
+ file: z.ZodString;
1300
+ }, "strict", ZodTypeAny, {
1301
+ type: "absolute-file";
1302
+ file: string;
1303
+ }, {
1304
+ type: "absolute-file";
1305
+ file: string;
1306
+ }>]>]>>;
1307
+ }, ZodTypeAny, "passthrough">>;
1308
+ marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1309
+ deprecated: z.ZodOptional<z.ZodBoolean>;
1310
+ termsOfServiceUrl: z.ZodOptional<z.ZodString>;
1311
+ supportedPlatforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>, "many">>;
1312
+ }, "strip", ZodTypeAny, {
1313
+ organization: {
1314
+ name: string;
1315
+ url: string;
1316
+ logo?: {
1317
+ type: "explicit-base64";
1318
+ mimeType: string;
1319
+ content: string;
1320
+ } | {
1321
+ path: string;
1322
+ type: "relative";
1323
+ } | {
1324
+ type: "absolute-file";
1325
+ file: string;
1326
+ } | undefined;
1327
+ } & {
1328
+ [k: string]: unknown;
1329
+ };
1330
+ title: string;
1331
+ description: string;
1332
+ longDescription?: {
1333
+ type: "explicit-string";
1334
+ content: string;
1335
+ } | {
1336
+ path: string;
1337
+ type: "relative";
1338
+ } | {
1339
+ type: "absolute-file";
1340
+ file: string;
1341
+ } | undefined;
1342
+ changelog?: {
1343
+ type: "explicit-string";
1344
+ content: string;
1345
+ } | {
1346
+ path: string;
1347
+ type: "relative";
1348
+ } | {
1349
+ type: "absolute-file";
1350
+ file: string;
1351
+ } | undefined;
1352
+ logo?: {
1353
+ type: "explicit-base64";
1354
+ mimeType: string;
1355
+ content: string;
1356
+ } | {
1357
+ path: string;
1358
+ type: "relative";
1359
+ } | {
1360
+ type: "absolute-file";
1361
+ file: string;
1362
+ } | undefined;
1363
+ url?: string | undefined;
1364
+ docs?: string | undefined;
1365
+ support?: string | undefined;
1366
+ tags?: string[] | undefined;
1367
+ marketplaceRanking?: number | undefined;
1368
+ deprecated?: boolean | undefined;
1369
+ termsOfServiceUrl?: string | undefined;
1370
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1371
+ }, {
1372
+ organization: {
1373
+ name: string;
1374
+ url: string;
1375
+ logo?: string | {
1376
+ type: "explicit-base64";
1377
+ mimeType: string;
1378
+ content: string;
1379
+ } | {
1380
+ path: string;
1381
+ type: "relative";
1382
+ } | {
1383
+ type: "absolute-file";
1384
+ file: string;
1385
+ } | undefined;
1386
+ } & {
1387
+ [k: string]: unknown;
1388
+ };
1389
+ title: string;
1390
+ description: string;
1391
+ longDescription?: string | {
1392
+ type: "explicit-string";
1393
+ content: string;
1394
+ } | {
1395
+ path: string;
1396
+ type: "relative";
1397
+ } | {
1398
+ type: "absolute-file";
1399
+ file: string;
1400
+ } | undefined;
1401
+ changelog?: string | {
1402
+ type: "explicit-string";
1403
+ content: string;
1404
+ } | {
1405
+ path: string;
1406
+ type: "relative";
1407
+ } | {
1408
+ type: "absolute-file";
1409
+ file: string;
1410
+ } | undefined;
1411
+ logo?: string | {
1412
+ type: "explicit-base64";
1413
+ mimeType: string;
1414
+ content: string;
1415
+ } | {
1416
+ path: string;
1417
+ type: "relative";
1418
+ } | {
1419
+ type: "absolute-file";
1420
+ file: string;
1421
+ } | undefined;
1422
+ url?: string | undefined;
1423
+ docs?: string | undefined;
1424
+ support?: string | undefined;
1425
+ tags?: string[] | undefined;
1426
+ marketplaceRanking?: number | undefined;
1427
+ deprecated?: boolean | undefined;
1428
+ termsOfServiceUrl?: string | undefined;
1429
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1430
+ }>;
1431
+ featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
1432
+ }, ZodTypeAny, "passthrough">, z.objectInputType<{
1433
+ id: z.ZodObject<{
1434
+ organization: z.ZodString;
1435
+ name: z.ZodString;
1436
+ version: z.ZodString;
1437
+ }, "strict", ZodTypeAny, {
1438
+ organization: string;
1439
+ name: string;
1440
+ version: string;
1441
+ }, {
1442
+ organization: string;
1443
+ name: string;
1444
+ version: string;
1445
+ }>;
1446
+ components: z.ZodObject<{
1447
+ workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
1448
+ type: "workflow-v1";
1449
+ main: string;
1450
+ }, string>, z.ZodObject<{
1451
+ type: z.ZodLiteral<"workflow-v1">;
1452
+ main: z.ZodString;
1470
1453
  }, "strip", ZodTypeAny, {
1471
- ui: string;
1472
- workflow: {
1473
- type: "workflow-v1";
1474
- main: string;
1475
- };
1476
- model: string;
1454
+ type: "workflow-v1";
1455
+ main: string;
1477
1456
  }, {
1478
- ui: string;
1479
- workflow: string | {
1480
- type: "workflow-v1";
1481
- main: string;
1482
- };
1483
- model: string;
1484
- }>;
1485
- meta: z.ZodObject<{
1486
- title: z.ZodString;
1487
- description: z.ZodString;
1488
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1489
- type: "explicit-string";
1490
- content: string;
1491
- } | {
1492
- type: "relative";
1493
- path: string;
1494
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1495
- type: z.ZodLiteral<"explicit-string">;
1496
- content: z.ZodString;
1497
- }, "strict", ZodTypeAny, {
1498
- type: "explicit-string";
1499
- content: string;
1500
- }, {
1501
- type: "explicit-string";
1502
- content: string;
1503
- }>, z.ZodObject<{
1504
- type: z.ZodLiteral<"relative">;
1505
- path: z.ZodString;
1506
- }, "strict", ZodTypeAny, {
1507
- type: "relative";
1508
- path: string;
1509
- }, {
1510
- type: "relative";
1511
- path: string;
1512
- }>, z.ZodObject<{
1513
- type: z.ZodLiteral<"absolute-file">;
1514
- file: z.ZodString;
1515
- }, "strict", ZodTypeAny, {
1516
- type: "absolute-file";
1517
- file: string;
1518
- }, {
1519
- type: "absolute-file";
1520
- file: string;
1521
- }>]>]>>;
1522
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1523
- type: "explicit-string";
1524
- content: string;
1525
- } | {
1526
- type: "relative";
1527
- path: string;
1528
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1529
- type: z.ZodLiteral<"explicit-string">;
1530
- content: z.ZodString;
1531
- }, "strict", ZodTypeAny, {
1532
- type: "explicit-string";
1533
- content: string;
1534
- }, {
1535
- type: "explicit-string";
1536
- content: string;
1537
- }>, z.ZodObject<{
1538
- type: z.ZodLiteral<"relative">;
1539
- path: z.ZodString;
1540
- }, "strict", ZodTypeAny, {
1541
- type: "relative";
1542
- path: string;
1543
- }, {
1544
- type: "relative";
1545
- path: string;
1546
- }>, z.ZodObject<{
1547
- type: z.ZodLiteral<"absolute-file">;
1548
- file: z.ZodString;
1549
- }, "strict", ZodTypeAny, {
1550
- type: "absolute-file";
1551
- file: string;
1552
- }, {
1553
- type: "absolute-file";
1554
- file: string;
1555
- }>]>]>>;
1556
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1557
- type: "explicit-base64";
1558
- content: string;
1559
- mimeType: string;
1560
- } | {
1561
- type: "relative";
1562
- path: string;
1563
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1564
- type: z.ZodLiteral<"explicit-base64">;
1565
- mimeType: z.ZodString;
1566
- content: z.ZodString;
1567
- }, "strict", ZodTypeAny, {
1568
- type: "explicit-base64";
1569
- content: string;
1570
- mimeType: string;
1571
- }, {
1572
- type: "explicit-base64";
1573
- content: string;
1574
- mimeType: string;
1575
- }>, z.ZodObject<{
1576
- type: z.ZodLiteral<"relative">;
1577
- path: z.ZodString;
1578
- }, "strict", ZodTypeAny, {
1579
- type: "relative";
1580
- path: string;
1581
- }, {
1582
- type: "relative";
1583
- path: string;
1584
- }>, z.ZodObject<{
1585
- type: z.ZodLiteral<"absolute-file">;
1586
- file: z.ZodString;
1587
- }, "strict", ZodTypeAny, {
1588
- type: "absolute-file";
1589
- file: string;
1590
- }, {
1591
- type: "absolute-file";
1592
- file: string;
1593
- }>]>]>>;
1594
- url: z.ZodOptional<z.ZodString>;
1595
- docs: z.ZodOptional<z.ZodString>;
1596
- support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1597
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1598
- organization: z.ZodObject<{
1599
- name: z.ZodString;
1600
- url: z.ZodString;
1601
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1602
- type: "explicit-base64";
1603
- content: string;
1604
- mimeType: string;
1605
- } | {
1606
- type: "relative";
1607
- path: string;
1608
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1609
- type: z.ZodLiteral<"explicit-base64">;
1610
- mimeType: z.ZodString;
1611
- content: z.ZodString;
1612
- }, "strict", ZodTypeAny, {
1613
- type: "explicit-base64";
1614
- content: string;
1615
- mimeType: string;
1616
- }, {
1617
- type: "explicit-base64";
1618
- content: string;
1619
- mimeType: string;
1620
- }>, z.ZodObject<{
1621
- type: z.ZodLiteral<"relative">;
1622
- path: z.ZodString;
1623
- }, "strict", ZodTypeAny, {
1624
- type: "relative";
1625
- path: string;
1626
- }, {
1627
- type: "relative";
1628
- path: string;
1629
- }>, z.ZodObject<{
1630
- type: z.ZodLiteral<"absolute-file">;
1631
- file: z.ZodString;
1632
- }, "strict", ZodTypeAny, {
1633
- type: "absolute-file";
1634
- file: string;
1635
- }, {
1636
- type: "absolute-file";
1637
- file: string;
1638
- }>]>]>>;
1639
- }, "passthrough", ZodTypeAny, z.objectOutputType<{
1640
- name: z.ZodString;
1641
- url: z.ZodString;
1642
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1643
- type: "explicit-base64";
1644
- content: string;
1645
- mimeType: string;
1646
- } | {
1647
- type: "relative";
1648
- path: string;
1649
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1650
- type: z.ZodLiteral<"explicit-base64">;
1651
- mimeType: z.ZodString;
1652
- content: z.ZodString;
1653
- }, "strict", ZodTypeAny, {
1654
- type: "explicit-base64";
1655
- content: string;
1656
- mimeType: string;
1657
- }, {
1658
- type: "explicit-base64";
1659
- content: string;
1660
- mimeType: string;
1661
- }>, z.ZodObject<{
1662
- type: z.ZodLiteral<"relative">;
1663
- path: z.ZodString;
1664
- }, "strict", ZodTypeAny, {
1665
- type: "relative";
1666
- path: string;
1667
- }, {
1668
- type: "relative";
1669
- path: string;
1670
- }>, z.ZodObject<{
1671
- type: z.ZodLiteral<"absolute-file">;
1672
- file: z.ZodString;
1673
- }, "strict", ZodTypeAny, {
1674
- type: "absolute-file";
1675
- file: string;
1676
- }, {
1677
- type: "absolute-file";
1678
- file: string;
1679
- }>]>]>>;
1680
- }, ZodTypeAny, "passthrough">, z.objectInputType<{
1681
- name: z.ZodString;
1682
- url: z.ZodString;
1683
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1684
- type: "explicit-base64";
1685
- content: string;
1686
- mimeType: string;
1687
- } | {
1688
- type: "relative";
1689
- path: string;
1690
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1691
- type: z.ZodLiteral<"explicit-base64">;
1692
- mimeType: z.ZodString;
1693
- content: z.ZodString;
1694
- }, "strict", ZodTypeAny, {
1695
- type: "explicit-base64";
1696
- content: string;
1697
- mimeType: string;
1698
- }, {
1699
- type: "explicit-base64";
1700
- content: string;
1701
- mimeType: string;
1702
- }>, z.ZodObject<{
1703
- type: z.ZodLiteral<"relative">;
1704
- path: z.ZodString;
1705
- }, "strict", ZodTypeAny, {
1706
- type: "relative";
1707
- path: string;
1708
- }, {
1709
- type: "relative";
1710
- path: string;
1711
- }>, z.ZodObject<{
1712
- type: z.ZodLiteral<"absolute-file">;
1713
- file: z.ZodString;
1714
- }, "strict", ZodTypeAny, {
1715
- type: "absolute-file";
1716
- file: string;
1717
- }, {
1718
- type: "absolute-file";
1719
- file: string;
1720
- }>]>]>>;
1721
- }, ZodTypeAny, "passthrough">>;
1722
- marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1723
- deprecated: z.ZodOptional<z.ZodBoolean>;
1724
- termsOfServiceUrl: z.ZodOptional<z.ZodString>;
1725
- supportedPlatforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>, "many">>;
1457
+ type: "workflow-v1";
1458
+ main: string;
1459
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1460
+ type: z.ZodLiteral<"workflow-v1">;
1461
+ main: z.ZodString;
1726
1462
  }, "strip", ZodTypeAny, {
1727
- organization: {
1728
- url: string;
1729
- name: string;
1730
- logo?: {
1731
- type: "explicit-base64";
1732
- content: string;
1733
- mimeType: string;
1734
- } | {
1735
- type: "relative";
1736
- path: string;
1737
- } | {
1738
- type: "absolute-file";
1739
- file: string;
1740
- } | undefined;
1741
- } & {
1742
- [k: string]: unknown;
1743
- };
1744
- title: string;
1745
- description: string;
1746
- url?: string | undefined;
1747
- longDescription?: {
1748
- type: "explicit-string";
1749
- content: string;
1750
- } | {
1751
- type: "relative";
1752
- path: string;
1753
- } | {
1754
- type: "absolute-file";
1755
- file: string;
1756
- } | undefined;
1757
- changelog?: {
1758
- type: "explicit-string";
1759
- content: string;
1760
- } | {
1761
- type: "relative";
1762
- path: string;
1763
- } | {
1764
- type: "absolute-file";
1765
- file: string;
1766
- } | undefined;
1767
- logo?: {
1768
- type: "explicit-base64";
1769
- content: string;
1770
- mimeType: string;
1771
- } | {
1772
- type: "relative";
1773
- path: string;
1774
- } | {
1775
- type: "absolute-file";
1776
- file: string;
1777
- } | undefined;
1778
- docs?: string | undefined;
1779
- support?: string | undefined;
1780
- tags?: string[] | undefined;
1781
- marketplaceRanking?: number | undefined;
1782
- deprecated?: boolean | undefined;
1783
- termsOfServiceUrl?: string | undefined;
1784
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1463
+ type: "workflow-v1";
1464
+ main: string;
1785
1465
  }, {
1786
- organization: {
1787
- url: string;
1788
- name: string;
1789
- logo?: string | {
1790
- type: "explicit-base64";
1791
- content: string;
1792
- mimeType: string;
1793
- } | {
1794
- type: "relative";
1795
- path: string;
1796
- } | {
1797
- type: "absolute-file";
1798
- file: string;
1799
- } | undefined;
1800
- } & {
1801
- [k: string]: unknown;
1802
- };
1803
- title: string;
1804
- description: string;
1805
- url?: string | undefined;
1806
- longDescription?: string | {
1807
- type: "explicit-string";
1808
- content: string;
1809
- } | {
1810
- type: "relative";
1811
- path: string;
1812
- } | {
1813
- type: "absolute-file";
1814
- file: string;
1815
- } | undefined;
1816
- changelog?: string | {
1817
- type: "explicit-string";
1818
- content: string;
1819
- } | {
1820
- type: "relative";
1821
- path: string;
1822
- } | {
1823
- type: "absolute-file";
1824
- file: string;
1825
- } | undefined;
1826
- logo?: string | {
1827
- type: "explicit-base64";
1828
- content: string;
1829
- mimeType: string;
1830
- } | {
1831
- type: "relative";
1832
- path: string;
1833
- } | {
1834
- type: "absolute-file";
1835
- file: string;
1836
- } | undefined;
1837
- docs?: string | undefined;
1838
- support?: string | undefined;
1839
- tags?: string[] | undefined;
1840
- marketplaceRanking?: number | undefined;
1841
- deprecated?: boolean | undefined;
1842
- termsOfServiceUrl?: string | undefined;
1843
- supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1844
- }>;
1845
- featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
1466
+ type: "workflow-v1";
1467
+ main: string;
1468
+ }>]>]>;
1469
+ model: z.ZodString;
1470
+ ui: z.ZodString;
1471
+ }, "strip", ZodTypeAny, {
1472
+ workflow: {
1473
+ type: "workflow-v1";
1474
+ main: string;
1475
+ };
1476
+ model: string;
1477
+ ui: string;
1478
+ }, {
1479
+ workflow: string | {
1480
+ type: "workflow-v1";
1481
+ main: string;
1482
+ };
1483
+ model: string;
1484
+ ui: string;
1485
+ }>;
1486
+ meta: z.ZodObject<{
1487
+ title: z.ZodString;
1488
+ description: z.ZodString;
1489
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1490
+ type: "explicit-string";
1491
+ content: string;
1492
+ } | {
1493
+ path: string;
1494
+ type: "relative";
1495
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1496
+ type: z.ZodLiteral<"explicit-string">;
1497
+ content: z.ZodString;
1498
+ }, "strict", ZodTypeAny, {
1499
+ type: "explicit-string";
1500
+ content: string;
1501
+ }, {
1502
+ type: "explicit-string";
1503
+ content: string;
1504
+ }>, z.ZodObject<{
1505
+ type: z.ZodLiteral<"relative">;
1506
+ path: z.ZodString;
1507
+ }, "strict", ZodTypeAny, {
1508
+ path: string;
1509
+ type: "relative";
1510
+ }, {
1511
+ path: string;
1512
+ type: "relative";
1513
+ }>, z.ZodObject<{
1514
+ type: z.ZodLiteral<"absolute-file">;
1515
+ file: z.ZodString;
1516
+ }, "strict", ZodTypeAny, {
1517
+ type: "absolute-file";
1518
+ file: string;
1519
+ }, {
1520
+ type: "absolute-file";
1521
+ file: string;
1522
+ }>]>]>>;
1523
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1524
+ type: "explicit-string";
1525
+ content: string;
1526
+ } | {
1527
+ path: string;
1528
+ type: "relative";
1529
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1530
+ type: z.ZodLiteral<"explicit-string">;
1531
+ content: z.ZodString;
1532
+ }, "strict", ZodTypeAny, {
1533
+ type: "explicit-string";
1534
+ content: string;
1535
+ }, {
1536
+ type: "explicit-string";
1537
+ content: string;
1538
+ }>, z.ZodObject<{
1539
+ type: z.ZodLiteral<"relative">;
1540
+ path: z.ZodString;
1541
+ }, "strict", ZodTypeAny, {
1542
+ path: string;
1543
+ type: "relative";
1544
+ }, {
1545
+ path: string;
1546
+ type: "relative";
1547
+ }>, z.ZodObject<{
1548
+ type: z.ZodLiteral<"absolute-file">;
1549
+ file: z.ZodString;
1550
+ }, "strict", ZodTypeAny, {
1551
+ type: "absolute-file";
1552
+ file: string;
1553
+ }, {
1554
+ type: "absolute-file";
1555
+ file: string;
1556
+ }>]>]>>;
1557
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1558
+ type: "explicit-base64";
1559
+ mimeType: string;
1560
+ content: string;
1561
+ } | {
1562
+ path: string;
1563
+ type: "relative";
1564
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1565
+ type: z.ZodLiteral<"explicit-base64">;
1566
+ mimeType: z.ZodString;
1567
+ content: z.ZodString;
1568
+ }, "strict", ZodTypeAny, {
1569
+ type: "explicit-base64";
1570
+ mimeType: string;
1571
+ content: string;
1572
+ }, {
1573
+ type: "explicit-base64";
1574
+ mimeType: string;
1575
+ content: string;
1576
+ }>, z.ZodObject<{
1577
+ type: z.ZodLiteral<"relative">;
1578
+ path: z.ZodString;
1579
+ }, "strict", ZodTypeAny, {
1580
+ path: string;
1581
+ type: "relative";
1582
+ }, {
1583
+ path: string;
1584
+ type: "relative";
1585
+ }>, z.ZodObject<{
1586
+ type: z.ZodLiteral<"absolute-file">;
1587
+ file: z.ZodString;
1588
+ }, "strict", ZodTypeAny, {
1589
+ type: "absolute-file";
1590
+ file: string;
1591
+ }, {
1592
+ type: "absolute-file";
1593
+ file: string;
1594
+ }>]>]>>;
1595
+ url: z.ZodOptional<z.ZodString>;
1596
+ docs: z.ZodOptional<z.ZodString>;
1597
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1598
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1599
+ organization: z.ZodObject<{
1600
+ name: z.ZodString;
1601
+ url: z.ZodString;
1602
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1603
+ type: "explicit-base64";
1604
+ mimeType: string;
1605
+ content: string;
1606
+ } | {
1607
+ path: string;
1608
+ type: "relative";
1609
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1610
+ type: z.ZodLiteral<"explicit-base64">;
1611
+ mimeType: z.ZodString;
1612
+ content: z.ZodString;
1613
+ }, "strict", ZodTypeAny, {
1614
+ type: "explicit-base64";
1615
+ mimeType: string;
1616
+ content: string;
1617
+ }, {
1618
+ type: "explicit-base64";
1619
+ mimeType: string;
1620
+ content: string;
1621
+ }>, z.ZodObject<{
1622
+ type: z.ZodLiteral<"relative">;
1623
+ path: z.ZodString;
1624
+ }, "strict", ZodTypeAny, {
1625
+ path: string;
1626
+ type: "relative";
1627
+ }, {
1628
+ path: string;
1629
+ type: "relative";
1630
+ }>, z.ZodObject<{
1631
+ type: z.ZodLiteral<"absolute-file">;
1632
+ file: z.ZodString;
1633
+ }, "strict", ZodTypeAny, {
1634
+ type: "absolute-file";
1635
+ file: string;
1636
+ }, {
1637
+ type: "absolute-file";
1638
+ file: string;
1639
+ }>]>]>>;
1640
+ }, "passthrough", ZodTypeAny, z.objectOutputType<{
1641
+ name: z.ZodString;
1642
+ url: z.ZodString;
1643
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1644
+ type: "explicit-base64";
1645
+ mimeType: string;
1646
+ content: string;
1647
+ } | {
1648
+ path: string;
1649
+ type: "relative";
1650
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1651
+ type: z.ZodLiteral<"explicit-base64">;
1652
+ mimeType: z.ZodString;
1653
+ content: z.ZodString;
1654
+ }, "strict", ZodTypeAny, {
1655
+ type: "explicit-base64";
1656
+ mimeType: string;
1657
+ content: string;
1658
+ }, {
1659
+ type: "explicit-base64";
1660
+ mimeType: string;
1661
+ content: string;
1662
+ }>, z.ZodObject<{
1663
+ type: z.ZodLiteral<"relative">;
1664
+ path: z.ZodString;
1665
+ }, "strict", ZodTypeAny, {
1666
+ path: string;
1667
+ type: "relative";
1668
+ }, {
1669
+ path: string;
1670
+ type: "relative";
1671
+ }>, z.ZodObject<{
1672
+ type: z.ZodLiteral<"absolute-file">;
1673
+ file: z.ZodString;
1674
+ }, "strict", ZodTypeAny, {
1675
+ type: "absolute-file";
1676
+ file: string;
1677
+ }, {
1678
+ type: "absolute-file";
1679
+ file: string;
1680
+ }>]>]>>;
1681
+ }, ZodTypeAny, "passthrough">, z.objectInputType<{
1682
+ name: z.ZodString;
1683
+ url: z.ZodString;
1684
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1685
+ type: "explicit-base64";
1686
+ mimeType: string;
1687
+ content: string;
1688
+ } | {
1689
+ path: string;
1690
+ type: "relative";
1691
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1692
+ type: z.ZodLiteral<"explicit-base64">;
1693
+ mimeType: z.ZodString;
1694
+ content: z.ZodString;
1695
+ }, "strict", ZodTypeAny, {
1696
+ type: "explicit-base64";
1697
+ mimeType: string;
1698
+ content: string;
1699
+ }, {
1700
+ type: "explicit-base64";
1701
+ mimeType: string;
1702
+ content: string;
1703
+ }>, z.ZodObject<{
1704
+ type: z.ZodLiteral<"relative">;
1705
+ path: z.ZodString;
1706
+ }, "strict", ZodTypeAny, {
1707
+ path: string;
1708
+ type: "relative";
1709
+ }, {
1710
+ path: string;
1711
+ type: "relative";
1712
+ }>, z.ZodObject<{
1713
+ type: z.ZodLiteral<"absolute-file">;
1714
+ file: z.ZodString;
1715
+ }, "strict", ZodTypeAny, {
1716
+ type: "absolute-file";
1717
+ file: string;
1718
+ }, {
1719
+ type: "absolute-file";
1720
+ file: string;
1721
+ }>]>]>>;
1722
+ }, ZodTypeAny, "passthrough">>;
1723
+ marketplaceRanking: z.ZodOptional<z.ZodNumber>;
1724
+ deprecated: z.ZodOptional<z.ZodBoolean>;
1725
+ termsOfServiceUrl: z.ZodOptional<z.ZodString>;
1726
+ supportedPlatforms: z.ZodOptional<z.ZodArray<z.ZodEnum<["windows-x64", "windows-aarch64", "macosx-x64", "macosx-aarch64", "linux-x64", "linux-aarch64"]>, "many">>;
1727
+ }, "strip", ZodTypeAny, {
1728
+ organization: {
1729
+ name: string;
1730
+ url: string;
1731
+ logo?: {
1732
+ type: "explicit-base64";
1733
+ mimeType: string;
1734
+ content: string;
1735
+ } | {
1736
+ path: string;
1737
+ type: "relative";
1738
+ } | {
1739
+ type: "absolute-file";
1740
+ file: string;
1741
+ } | undefined;
1742
+ } & {
1743
+ [k: string]: unknown;
1744
+ };
1745
+ title: string;
1746
+ description: string;
1747
+ longDescription?: {
1748
+ type: "explicit-string";
1749
+ content: string;
1750
+ } | {
1751
+ path: string;
1752
+ type: "relative";
1753
+ } | {
1754
+ type: "absolute-file";
1755
+ file: string;
1756
+ } | undefined;
1757
+ changelog?: {
1758
+ type: "explicit-string";
1759
+ content: string;
1760
+ } | {
1761
+ path: string;
1762
+ type: "relative";
1763
+ } | {
1764
+ type: "absolute-file";
1765
+ file: string;
1766
+ } | undefined;
1767
+ logo?: {
1768
+ type: "explicit-base64";
1769
+ mimeType: string;
1770
+ content: string;
1771
+ } | {
1772
+ path: string;
1773
+ type: "relative";
1774
+ } | {
1775
+ type: "absolute-file";
1776
+ file: string;
1777
+ } | undefined;
1778
+ url?: string | undefined;
1779
+ docs?: string | undefined;
1780
+ support?: string | undefined;
1781
+ tags?: string[] | undefined;
1782
+ marketplaceRanking?: number | undefined;
1783
+ deprecated?: boolean | undefined;
1784
+ termsOfServiceUrl?: string | undefined;
1785
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1786
+ }, {
1787
+ organization: {
1788
+ name: string;
1789
+ url: string;
1790
+ logo?: string | {
1791
+ type: "explicit-base64";
1792
+ mimeType: string;
1793
+ content: string;
1794
+ } | {
1795
+ path: string;
1796
+ type: "relative";
1797
+ } | {
1798
+ type: "absolute-file";
1799
+ file: string;
1800
+ } | undefined;
1801
+ } & {
1802
+ [k: string]: unknown;
1803
+ };
1804
+ title: string;
1805
+ description: string;
1806
+ longDescription?: string | {
1807
+ type: "explicit-string";
1808
+ content: string;
1809
+ } | {
1810
+ path: string;
1811
+ type: "relative";
1812
+ } | {
1813
+ type: "absolute-file";
1814
+ file: string;
1815
+ } | undefined;
1816
+ changelog?: string | {
1817
+ type: "explicit-string";
1818
+ content: string;
1819
+ } | {
1820
+ path: string;
1821
+ type: "relative";
1822
+ } | {
1823
+ type: "absolute-file";
1824
+ file: string;
1825
+ } | undefined;
1826
+ logo?: string | {
1827
+ type: "explicit-base64";
1828
+ mimeType: string;
1829
+ content: string;
1830
+ } | {
1831
+ path: string;
1832
+ type: "relative";
1833
+ } | {
1834
+ type: "absolute-file";
1835
+ file: string;
1836
+ } | undefined;
1837
+ url?: string | undefined;
1838
+ docs?: string | undefined;
1839
+ support?: string | undefined;
1840
+ tags?: string[] | undefined;
1841
+ marketplaceRanking?: number | undefined;
1842
+ deprecated?: boolean | undefined;
1843
+ termsOfServiceUrl?: string | undefined;
1844
+ supportedPlatforms?: ("windows-x64" | "windows-aarch64" | "macosx-x64" | "macosx-aarch64" | "linux-x64" | "linux-aarch64")[] | undefined;
1845
+ }>;
1846
+ featureFlags: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>>;
1846
1847
  }, ZodTypeAny, "passthrough">>;
1847
- export type BlockPackDescriptionRaw = z.infer<typeof BlockPackDescriptionRaw>;
1848
- export declare function overrideDescriptionVersion<T extends {
1849
- id: BlockPackId;
1848
+ type BlockPackDescriptionRaw = z.infer<typeof BlockPackDescriptionRaw>;
1849
+ declare function overrideDescriptionVersion<T extends {
1850
+ id: BlockPackId;
1850
1851
  }>(manifest: T, newVersion: string): T;
1852
+ //#endregion
1853
+ export { BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionRaw, CreateBlockPackDescriptionSchema, FeatureFlags, overrideDescriptionVersion };
1851
1854
  //# sourceMappingURL=block_description.d.ts.map