@milaboratories/pl-model-middle-layer 1.21.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/block_meta/block_components.cjs +19 -26
  2. package/dist/block_meta/block_components.cjs.map +1 -1
  3. package/dist/block_meta/block_components.d.ts +46 -428
  4. package/dist/block_meta/block_components.d.ts.map +1 -1
  5. package/dist/block_meta/block_components.js +19 -23
  6. package/dist/block_meta/block_components.js.map +1 -1
  7. package/dist/block_meta/block_description.cjs +5 -3
  8. package/dist/block_meta/block_description.cjs.map +1 -1
  9. package/dist/block_meta/block_description.d.ts +402 -914
  10. package/dist/block_meta/block_description.d.ts.map +1 -1
  11. package/dist/block_meta/block_description.js +5 -3
  12. package/dist/block_meta/block_description.js.map +1 -1
  13. package/dist/block_meta/block_id.d.ts +4 -4
  14. package/dist/block_meta/block_manifest.cjs +10 -1
  15. package/dist/block_meta/block_manifest.cjs.map +1 -1
  16. package/dist/block_meta/block_manifest.d.ts +1045 -1623
  17. package/dist/block_meta/block_manifest.d.ts.map +1 -1
  18. package/dist/block_meta/block_manifest.js +11 -2
  19. package/dist/block_meta/block_manifest.js.map +1 -1
  20. package/dist/block_meta/block_meta.cjs.map +1 -1
  21. package/dist/block_meta/block_meta.d.ts +164 -246
  22. package/dist/block_meta/block_meta.d.ts.map +1 -1
  23. package/dist/block_meta/block_meta.js.map +1 -1
  24. package/dist/block_meta/content_types.cjs +25 -77
  25. package/dist/block_meta/content_types.cjs.map +1 -1
  26. package/dist/block_meta/content_types.d.ts +71 -387
  27. package/dist/block_meta/content_types.d.ts.map +1 -1
  28. package/dist/block_meta/content_types.js +26 -64
  29. package/dist/block_meta/content_types.js.map +1 -1
  30. package/dist/block_meta/index.d.ts +3 -3
  31. package/dist/block_registry/block_pack_spec.d.ts +16 -16
  32. package/dist/block_registry/overview.d.ts +1534 -1534
  33. package/dist/block_registry/registry_spec.d.ts +12 -12
  34. package/dist/index.cjs +1 -18
  35. package/dist/index.d.ts +4 -4
  36. package/dist/index.js +3 -3
  37. package/package.json +2 -2
  38. package/src/block_meta/block_components.ts +67 -42
  39. package/src/block_meta/block_description.ts +18 -3
  40. package/src/block_meta/block_manifest.ts +14 -3
  41. package/src/block_meta/block_meta.ts +40 -6
  42. package/src/block_meta/content_types.ts +149 -207
@@ -1,39 +1,43 @@
1
+ import { ContentRelativeBinary, ContentRelativeText } from "./content_types.js";
1
2
  import { BlockPackId } from "./block_id.js";
3
+ import { WorkflowV1 } from "./block_components.js";
2
4
  import { ZodTypeAny, z } from "zod";
3
5
  import { BlockCodeKnownFeatureFlags } from "@milaboratories/pl-model-common";
4
6
 
5
7
  //#region src/block_meta/block_description.d.ts
6
- /** Description, as appears in root block package.json file,
7
- * `file:` references are parsed into relative content of corresponding type, depending on the context,
8
- * strings are converted to explicit content type. */
8
+ /**
9
+ * Block-pack description: a `BlockPackId`, the typed `components` and `meta`
10
+ * payloads, and optional `featureFlags`. The two type parameters let the same
11
+ * shape carry every form a description travels in — `package.json` source,
12
+ * relative-path manifest, absolute-path resolved.
13
+ */
14
+ type BlockPackDescription<Components, Meta> = {
15
+ id: BlockPackId;
16
+ components: Components;
17
+ meta: Meta;
18
+ featureFlags?: BlockCodeKnownFeatureFlags;
19
+ };
20
+ /**
21
+ * Description as it appears in the root block `package.json`. `file:`-prefixed
22
+ * strings become `ContentRelative`; bare text strings become
23
+ * `ContentExplicitString`. See `DescriptionContentText`/`DescriptionContentBinary`.
24
+ */
9
25
  declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
10
26
  components: z.ZodObject<{
11
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
12
- type: "workflow-v1";
13
- main: string;
14
- }, string>, z.ZodObject<{
27
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, WorkflowV1<string>, string>, z.ZodObject<{
15
28
  type: z.ZodLiteral<"workflow-v1">;
16
29
  main: z.ZodString;
17
- }, "strip", ZodTypeAny, {
18
- type: "workflow-v1";
19
- main: string;
20
- }, {
21
- type: "workflow-v1";
22
- main: string;
23
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
24
- type: z.ZodLiteral<"workflow-v1">;
25
- main: z.ZodString;
26
- }, "strip", ZodTypeAny, {
30
+ }, "strict", ZodTypeAny, {
27
31
  type: "workflow-v1";
28
32
  main: string;
29
33
  }, {
30
34
  type: "workflow-v1";
31
35
  main: string;
32
- }>]>]>;
36
+ }>]>;
33
37
  model: z.ZodString;
34
38
  ui: z.ZodString;
35
39
  }, "strip", ZodTypeAny, {
36
- workflow: {
40
+ workflow: WorkflowV1<string> | {
37
41
  type: "workflow-v1";
38
42
  main: string;
39
43
  };
@@ -50,13 +54,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
50
54
  meta: z.ZodObject<{
51
55
  title: z.ZodString;
52
56
  description: z.ZodString;
53
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
54
- type: "relative";
55
- path: string;
56
- } | {
57
- type: "explicit-string";
58
- content: string;
59
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
57
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
60
58
  type: z.ZodLiteral<"explicit-string">;
61
59
  content: z.ZodString;
62
60
  }, "strict", ZodTypeAny, {
@@ -69,11 +67,11 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
69
67
  type: z.ZodLiteral<"relative">;
70
68
  path: z.ZodString;
71
69
  }, "strict", ZodTypeAny, {
72
- type: "relative";
73
70
  path: string;
74
- }, {
75
71
  type: "relative";
72
+ }, {
76
73
  path: string;
74
+ type: "relative";
77
75
  }>, z.ZodObject<{
78
76
  type: z.ZodLiteral<"absolute-file">;
79
77
  file: z.ZodString;
@@ -84,13 +82,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
84
82
  type: "absolute-file";
85
83
  file: string;
86
84
  }>]>]>>;
87
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
88
- type: "relative";
89
- path: string;
90
- } | {
91
- type: "explicit-string";
92
- content: string;
93
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
85
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
94
86
  type: z.ZodLiteral<"explicit-string">;
95
87
  content: z.ZodString;
96
88
  }, "strict", ZodTypeAny, {
@@ -103,11 +95,11 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
103
95
  type: z.ZodLiteral<"relative">;
104
96
  path: z.ZodString;
105
97
  }, "strict", ZodTypeAny, {
106
- type: "relative";
107
98
  path: string;
108
- }, {
109
99
  type: "relative";
100
+ }, {
110
101
  path: string;
102
+ type: "relative";
111
103
  }>, z.ZodObject<{
112
104
  type: z.ZodLiteral<"absolute-file">;
113
105
  file: z.ZodString;
@@ -118,34 +110,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
118
110
  type: "absolute-file";
119
111
  file: string;
120
112
  }>]>]>>;
121
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
122
- type: "relative";
123
- path: string;
124
- } | {
125
- type: "explicit-base64";
126
- content: string;
127
- mimeType: string;
128
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
113
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
129
114
  type: z.ZodLiteral<"explicit-base64">;
130
115
  mimeType: z.ZodString;
131
116
  content: z.ZodString;
132
117
  }, "strict", ZodTypeAny, {
133
118
  type: "explicit-base64";
134
- content: string;
135
119
  mimeType: string;
120
+ content: string;
136
121
  }, {
137
122
  type: "explicit-base64";
138
- content: string;
139
123
  mimeType: string;
124
+ content: string;
140
125
  }>, z.ZodObject<{
141
126
  type: z.ZodLiteral<"relative">;
142
127
  path: z.ZodString;
143
128
  }, "strict", ZodTypeAny, {
144
- type: "relative";
145
129
  path: string;
146
- }, {
147
130
  type: "relative";
131
+ }, {
148
132
  path: string;
133
+ type: "relative";
149
134
  }>, z.ZodObject<{
150
135
  type: z.ZodLiteral<"absolute-file">;
151
136
  file: z.ZodString;
@@ -163,34 +148,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
163
148
  organization: z.ZodObject<{
164
149
  name: z.ZodString;
165
150
  url: z.ZodString;
166
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
167
- type: "relative";
168
- path: string;
169
- } | {
170
- type: "explicit-base64";
171
- content: string;
172
- mimeType: string;
173
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
151
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
174
152
  type: z.ZodLiteral<"explicit-base64">;
175
153
  mimeType: z.ZodString;
176
154
  content: z.ZodString;
177
155
  }, "strict", ZodTypeAny, {
178
156
  type: "explicit-base64";
179
- content: string;
180
157
  mimeType: string;
158
+ content: string;
181
159
  }, {
182
160
  type: "explicit-base64";
183
- content: string;
184
161
  mimeType: string;
162
+ content: string;
185
163
  }>, z.ZodObject<{
186
164
  type: z.ZodLiteral<"relative">;
187
165
  path: z.ZodString;
188
166
  }, "strict", ZodTypeAny, {
189
- type: "relative";
190
167
  path: string;
191
- }, {
192
168
  type: "relative";
169
+ }, {
193
170
  path: string;
171
+ type: "relative";
194
172
  }>, z.ZodObject<{
195
173
  type: z.ZodLiteral<"absolute-file">;
196
174
  file: z.ZodString;
@@ -204,34 +182,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
204
182
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
205
183
  name: z.ZodString;
206
184
  url: z.ZodString;
207
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
208
- type: "relative";
209
- path: string;
210
- } | {
211
- type: "explicit-base64";
212
- content: string;
213
- mimeType: string;
214
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
185
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
215
186
  type: z.ZodLiteral<"explicit-base64">;
216
187
  mimeType: z.ZodString;
217
188
  content: z.ZodString;
218
189
  }, "strict", ZodTypeAny, {
219
190
  type: "explicit-base64";
220
- content: string;
221
191
  mimeType: string;
192
+ content: string;
222
193
  }, {
223
194
  type: "explicit-base64";
224
- content: string;
225
195
  mimeType: string;
196
+ content: string;
226
197
  }>, z.ZodObject<{
227
198
  type: z.ZodLiteral<"relative">;
228
199
  path: z.ZodString;
229
200
  }, "strict", ZodTypeAny, {
230
- type: "relative";
231
201
  path: string;
232
- }, {
233
202
  type: "relative";
203
+ }, {
234
204
  path: string;
205
+ type: "relative";
235
206
  }>, z.ZodObject<{
236
207
  type: z.ZodLiteral<"absolute-file">;
237
208
  file: z.ZodString;
@@ -245,34 +216,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
245
216
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
246
217
  name: z.ZodString;
247
218
  url: z.ZodString;
248
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
249
- type: "relative";
250
- path: string;
251
- } | {
252
- type: "explicit-base64";
253
- content: string;
254
- mimeType: string;
255
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
219
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
256
220
  type: z.ZodLiteral<"explicit-base64">;
257
221
  mimeType: z.ZodString;
258
222
  content: z.ZodString;
259
223
  }, "strict", ZodTypeAny, {
260
224
  type: "explicit-base64";
261
- content: string;
262
225
  mimeType: string;
226
+ content: string;
263
227
  }, {
264
228
  type: "explicit-base64";
265
- content: string;
266
229
  mimeType: string;
230
+ content: string;
267
231
  }>, z.ZodObject<{
268
232
  type: z.ZodLiteral<"relative">;
269
233
  path: z.ZodString;
270
234
  }, "strict", ZodTypeAny, {
271
- type: "relative";
272
235
  path: string;
273
- }, {
274
236
  type: "relative";
237
+ }, {
275
238
  path: string;
239
+ type: "relative";
276
240
  }>, z.ZodObject<{
277
241
  type: z.ZodLiteral<"absolute-file">;
278
242
  file: z.ZodString;
@@ -292,13 +256,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
292
256
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
293
257
  title: z.ZodString;
294
258
  description: z.ZodString;
295
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
296
- type: "relative";
297
- path: string;
298
- } | {
299
- type: "explicit-string";
300
- content: string;
301
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
259
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
302
260
  type: z.ZodLiteral<"explicit-string">;
303
261
  content: z.ZodString;
304
262
  }, "strict", ZodTypeAny, {
@@ -311,11 +269,11 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
311
269
  type: z.ZodLiteral<"relative">;
312
270
  path: z.ZodString;
313
271
  }, "strict", ZodTypeAny, {
314
- type: "relative";
315
272
  path: string;
316
- }, {
317
273
  type: "relative";
274
+ }, {
318
275
  path: string;
276
+ type: "relative";
319
277
  }>, z.ZodObject<{
320
278
  type: z.ZodLiteral<"absolute-file">;
321
279
  file: z.ZodString;
@@ -326,13 +284,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
326
284
  type: "absolute-file";
327
285
  file: string;
328
286
  }>]>]>>;
329
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
330
- type: "relative";
331
- path: string;
332
- } | {
333
- type: "explicit-string";
334
- content: string;
335
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
287
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
336
288
  type: z.ZodLiteral<"explicit-string">;
337
289
  content: z.ZodString;
338
290
  }, "strict", ZodTypeAny, {
@@ -345,11 +297,11 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
345
297
  type: z.ZodLiteral<"relative">;
346
298
  path: z.ZodString;
347
299
  }, "strict", ZodTypeAny, {
348
- type: "relative";
349
300
  path: string;
350
- }, {
351
301
  type: "relative";
302
+ }, {
352
303
  path: string;
304
+ type: "relative";
353
305
  }>, z.ZodObject<{
354
306
  type: z.ZodLiteral<"absolute-file">;
355
307
  file: z.ZodString;
@@ -360,34 +312,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
360
312
  type: "absolute-file";
361
313
  file: string;
362
314
  }>]>]>>;
363
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
364
- type: "relative";
365
- path: string;
366
- } | {
367
- type: "explicit-base64";
368
- content: string;
369
- mimeType: string;
370
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
315
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
371
316
  type: z.ZodLiteral<"explicit-base64">;
372
317
  mimeType: z.ZodString;
373
318
  content: z.ZodString;
374
319
  }, "strict", ZodTypeAny, {
375
320
  type: "explicit-base64";
376
- content: string;
377
321
  mimeType: string;
322
+ content: string;
378
323
  }, {
379
324
  type: "explicit-base64";
380
- content: string;
381
325
  mimeType: string;
326
+ content: string;
382
327
  }>, z.ZodObject<{
383
328
  type: z.ZodLiteral<"relative">;
384
329
  path: z.ZodString;
385
330
  }, "strict", ZodTypeAny, {
386
- type: "relative";
387
331
  path: string;
388
- }, {
389
332
  type: "relative";
333
+ }, {
390
334
  path: string;
335
+ type: "relative";
391
336
  }>, z.ZodObject<{
392
337
  type: z.ZodLiteral<"absolute-file">;
393
338
  file: z.ZodString;
@@ -405,34 +350,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
405
350
  organization: z.ZodObject<{
406
351
  name: z.ZodString;
407
352
  url: z.ZodString;
408
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
409
- type: "relative";
410
- path: string;
411
- } | {
412
- type: "explicit-base64";
413
- content: string;
414
- mimeType: string;
415
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
353
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
416
354
  type: z.ZodLiteral<"explicit-base64">;
417
355
  mimeType: z.ZodString;
418
356
  content: z.ZodString;
419
357
  }, "strict", ZodTypeAny, {
420
358
  type: "explicit-base64";
421
- content: string;
422
359
  mimeType: string;
360
+ content: string;
423
361
  }, {
424
362
  type: "explicit-base64";
425
- content: string;
426
363
  mimeType: string;
364
+ content: string;
427
365
  }>, z.ZodObject<{
428
366
  type: z.ZodLiteral<"relative">;
429
367
  path: z.ZodString;
430
368
  }, "strict", ZodTypeAny, {
431
- type: "relative";
432
369
  path: string;
433
- }, {
434
370
  type: "relative";
371
+ }, {
435
372
  path: string;
373
+ type: "relative";
436
374
  }>, z.ZodObject<{
437
375
  type: z.ZodLiteral<"absolute-file">;
438
376
  file: z.ZodString;
@@ -446,34 +384,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
446
384
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
447
385
  name: z.ZodString;
448
386
  url: z.ZodString;
449
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
450
- type: "relative";
451
- path: string;
452
- } | {
453
- type: "explicit-base64";
454
- content: string;
455
- mimeType: string;
456
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
387
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
457
388
  type: z.ZodLiteral<"explicit-base64">;
458
389
  mimeType: z.ZodString;
459
390
  content: z.ZodString;
460
391
  }, "strict", ZodTypeAny, {
461
392
  type: "explicit-base64";
462
- content: string;
463
393
  mimeType: string;
394
+ content: string;
464
395
  }, {
465
396
  type: "explicit-base64";
466
- content: string;
467
397
  mimeType: string;
398
+ content: string;
468
399
  }>, z.ZodObject<{
469
400
  type: z.ZodLiteral<"relative">;
470
401
  path: z.ZodString;
471
402
  }, "strict", ZodTypeAny, {
472
- type: "relative";
473
403
  path: string;
474
- }, {
475
404
  type: "relative";
405
+ }, {
476
406
  path: string;
407
+ type: "relative";
477
408
  }>, z.ZodObject<{
478
409
  type: z.ZodLiteral<"absolute-file">;
479
410
  file: z.ZodString;
@@ -487,34 +418,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
487
418
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
488
419
  name: z.ZodString;
489
420
  url: z.ZodString;
490
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
491
- type: "relative";
492
- path: string;
493
- } | {
494
- type: "explicit-base64";
495
- content: string;
496
- mimeType: string;
497
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
421
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
498
422
  type: z.ZodLiteral<"explicit-base64">;
499
423
  mimeType: z.ZodString;
500
424
  content: z.ZodString;
501
425
  }, "strict", ZodTypeAny, {
502
426
  type: "explicit-base64";
503
- content: string;
504
427
  mimeType: string;
428
+ content: string;
505
429
  }, {
506
430
  type: "explicit-base64";
507
- content: string;
508
431
  mimeType: string;
432
+ content: string;
509
433
  }>, z.ZodObject<{
510
434
  type: z.ZodLiteral<"relative">;
511
435
  path: z.ZodString;
512
436
  }, "strict", ZodTypeAny, {
513
- type: "relative";
514
437
  path: string;
515
- }, {
516
438
  type: "relative";
439
+ }, {
517
440
  path: string;
441
+ type: "relative";
518
442
  }>, z.ZodObject<{
519
443
  type: z.ZodLiteral<"absolute-file">;
520
444
  file: z.ZodString;
@@ -534,13 +458,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
534
458
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
535
459
  title: z.ZodString;
536
460
  description: z.ZodString;
537
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
538
- type: "relative";
539
- path: string;
540
- } | {
541
- type: "explicit-string";
542
- content: string;
543
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
461
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
544
462
  type: z.ZodLiteral<"explicit-string">;
545
463
  content: z.ZodString;
546
464
  }, "strict", ZodTypeAny, {
@@ -553,11 +471,11 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
553
471
  type: z.ZodLiteral<"relative">;
554
472
  path: z.ZodString;
555
473
  }, "strict", ZodTypeAny, {
556
- type: "relative";
557
474
  path: string;
558
- }, {
559
475
  type: "relative";
476
+ }, {
560
477
  path: string;
478
+ type: "relative";
561
479
  }>, z.ZodObject<{
562
480
  type: z.ZodLiteral<"absolute-file">;
563
481
  file: z.ZodString;
@@ -568,13 +486,7 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
568
486
  type: "absolute-file";
569
487
  file: string;
570
488
  }>]>]>>;
571
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
572
- type: "relative";
573
- path: string;
574
- } | {
575
- type: "explicit-string";
576
- content: string;
577
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
489
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
578
490
  type: z.ZodLiteral<"explicit-string">;
579
491
  content: z.ZodString;
580
492
  }, "strict", ZodTypeAny, {
@@ -587,11 +499,11 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
587
499
  type: z.ZodLiteral<"relative">;
588
500
  path: z.ZodString;
589
501
  }, "strict", ZodTypeAny, {
590
- type: "relative";
591
502
  path: string;
592
- }, {
593
503
  type: "relative";
504
+ }, {
594
505
  path: string;
506
+ type: "relative";
595
507
  }>, z.ZodObject<{
596
508
  type: z.ZodLiteral<"absolute-file">;
597
509
  file: z.ZodString;
@@ -602,34 +514,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
602
514
  type: "absolute-file";
603
515
  file: string;
604
516
  }>]>]>>;
605
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
606
- type: "relative";
607
- path: string;
608
- } | {
609
- type: "explicit-base64";
610
- content: string;
611
- mimeType: string;
612
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
517
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
613
518
  type: z.ZodLiteral<"explicit-base64">;
614
519
  mimeType: z.ZodString;
615
520
  content: z.ZodString;
616
521
  }, "strict", ZodTypeAny, {
617
522
  type: "explicit-base64";
618
- content: string;
619
523
  mimeType: string;
524
+ content: string;
620
525
  }, {
621
526
  type: "explicit-base64";
622
- content: string;
623
527
  mimeType: string;
528
+ content: string;
624
529
  }>, z.ZodObject<{
625
530
  type: z.ZodLiteral<"relative">;
626
531
  path: z.ZodString;
627
532
  }, "strict", ZodTypeAny, {
628
- type: "relative";
629
533
  path: string;
630
- }, {
631
534
  type: "relative";
535
+ }, {
632
536
  path: string;
537
+ type: "relative";
633
538
  }>, z.ZodObject<{
634
539
  type: z.ZodLiteral<"absolute-file">;
635
540
  file: z.ZodString;
@@ -647,34 +552,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
647
552
  organization: z.ZodObject<{
648
553
  name: z.ZodString;
649
554
  url: z.ZodString;
650
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
651
- type: "relative";
652
- path: string;
653
- } | {
654
- type: "explicit-base64";
655
- content: string;
656
- mimeType: string;
657
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
555
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
658
556
  type: z.ZodLiteral<"explicit-base64">;
659
557
  mimeType: z.ZodString;
660
558
  content: z.ZodString;
661
559
  }, "strict", ZodTypeAny, {
662
560
  type: "explicit-base64";
663
- content: string;
664
561
  mimeType: string;
562
+ content: string;
665
563
  }, {
666
564
  type: "explicit-base64";
667
- content: string;
668
565
  mimeType: string;
566
+ content: string;
669
567
  }>, z.ZodObject<{
670
568
  type: z.ZodLiteral<"relative">;
671
569
  path: z.ZodString;
672
570
  }, "strict", ZodTypeAny, {
673
- type: "relative";
674
571
  path: string;
675
- }, {
676
572
  type: "relative";
573
+ }, {
677
574
  path: string;
575
+ type: "relative";
678
576
  }>, z.ZodObject<{
679
577
  type: z.ZodLiteral<"absolute-file">;
680
578
  file: z.ZodString;
@@ -688,34 +586,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
688
586
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
689
587
  name: z.ZodString;
690
588
  url: z.ZodString;
691
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
692
- type: "relative";
693
- path: string;
694
- } | {
695
- type: "explicit-base64";
696
- content: string;
697
- mimeType: string;
698
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
589
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
699
590
  type: z.ZodLiteral<"explicit-base64">;
700
591
  mimeType: z.ZodString;
701
592
  content: z.ZodString;
702
593
  }, "strict", ZodTypeAny, {
703
594
  type: "explicit-base64";
704
- content: string;
705
595
  mimeType: string;
596
+ content: string;
706
597
  }, {
707
598
  type: "explicit-base64";
708
- content: string;
709
599
  mimeType: string;
600
+ content: string;
710
601
  }>, z.ZodObject<{
711
602
  type: z.ZodLiteral<"relative">;
712
603
  path: z.ZodString;
713
604
  }, "strict", ZodTypeAny, {
714
- type: "relative";
715
605
  path: string;
716
- }, {
717
606
  type: "relative";
607
+ }, {
718
608
  path: string;
609
+ type: "relative";
719
610
  }>, z.ZodObject<{
720
611
  type: z.ZodLiteral<"absolute-file">;
721
612
  file: z.ZodString;
@@ -729,34 +620,27 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
729
620
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
730
621
  name: z.ZodString;
731
622
  url: z.ZodString;
732
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
733
- type: "relative";
734
- path: string;
735
- } | {
736
- type: "explicit-base64";
737
- content: string;
738
- mimeType: string;
739
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
623
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
740
624
  type: z.ZodLiteral<"explicit-base64">;
741
625
  mimeType: z.ZodString;
742
626
  content: z.ZodString;
743
627
  }, "strict", ZodTypeAny, {
744
628
  type: "explicit-base64";
745
- content: string;
746
629
  mimeType: string;
630
+ content: string;
747
631
  }, {
748
632
  type: "explicit-base64";
749
- content: string;
750
633
  mimeType: string;
634
+ content: string;
751
635
  }>, z.ZodObject<{
752
636
  type: z.ZodLiteral<"relative">;
753
637
  path: z.ZodString;
754
638
  }, "strict", ZodTypeAny, {
755
- type: "relative";
756
639
  path: string;
757
- }, {
758
640
  type: "relative";
641
+ }, {
759
642
  path: string;
643
+ type: "relative";
760
644
  }>, z.ZodObject<{
761
645
  type: z.ZodLiteral<"absolute-file">;
762
646
  file: z.ZodString;
@@ -775,38 +659,30 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
775
659
  requiredCapabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
776
660
  }, ZodTypeAny, "passthrough">>;
777
661
  }, "strip", ZodTypeAny, {
778
- components: {
779
- workflow: {
780
- type: "workflow-v1";
781
- main: string;
782
- };
783
- model: string;
784
- ui: string;
785
- };
786
662
  meta: {
787
- title: string;
788
- description: string;
789
663
  organization: {
790
- url: string;
791
664
  name: string;
665
+ url: string;
792
666
  logo?: {
793
- type: "relative";
794
- path: string;
795
- } | {
796
667
  type: "explicit-base64";
797
- content: string;
798
668
  mimeType: string;
669
+ content: string;
799
670
  } | {
671
+ path: string;
672
+ type: "relative";
673
+ } | ContentRelativeBinary | {
800
674
  type: "absolute-file";
801
675
  file: string;
802
676
  } | undefined;
803
677
  } & {
804
678
  [k: string]: unknown;
805
679
  };
680
+ title: string;
681
+ description: string;
806
682
  longDescription?: {
807
- type: "relative";
808
683
  path: string;
809
- } | {
684
+ type: "relative";
685
+ } | ContentRelativeText | {
810
686
  type: "explicit-string";
811
687
  content: string;
812
688
  } | {
@@ -814,9 +690,9 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
814
690
  file: string;
815
691
  } | undefined;
816
692
  changelog?: {
817
- type: "relative";
818
693
  path: string;
819
- } | {
694
+ type: "relative";
695
+ } | ContentRelativeText | {
820
696
  type: "explicit-string";
821
697
  content: string;
822
698
  } | {
@@ -824,13 +700,13 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
824
700
  file: string;
825
701
  } | undefined;
826
702
  logo?: {
827
- type: "relative";
828
- path: string;
829
- } | {
830
703
  type: "explicit-base64";
831
- content: string;
832
704
  mimeType: string;
705
+ content: string;
833
706
  } | {
707
+ path: string;
708
+ type: "relative";
709
+ } | ContentRelativeBinary | {
834
710
  type: "absolute-file";
835
711
  file: string;
836
712
  } | undefined;
@@ -846,28 +722,26 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
846
722
  } & {
847
723
  [k: string]: unknown;
848
724
  };
849
- }, {
850
725
  components: {
851
- workflow: string | {
726
+ workflow: WorkflowV1<string> | {
852
727
  type: "workflow-v1";
853
728
  main: string;
854
729
  };
855
730
  model: string;
856
731
  ui: string;
857
732
  };
733
+ }, {
858
734
  meta: {
859
- title: string;
860
- description: string;
861
735
  organization: {
862
- url: string;
863
736
  name: string;
737
+ url: string;
864
738
  logo?: string | {
865
- type: "relative";
866
- path: string;
867
- } | {
868
739
  type: "explicit-base64";
869
- content: string;
870
740
  mimeType: string;
741
+ content: string;
742
+ } | {
743
+ path: string;
744
+ type: "relative";
871
745
  } | {
872
746
  type: "absolute-file";
873
747
  file: string;
@@ -875,9 +749,11 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
875
749
  } & {
876
750
  [k: string]: unknown;
877
751
  };
752
+ title: string;
753
+ description: string;
878
754
  longDescription?: string | {
879
- type: "relative";
880
755
  path: string;
756
+ type: "relative";
881
757
  } | {
882
758
  type: "explicit-string";
883
759
  content: string;
@@ -886,8 +762,8 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
886
762
  file: string;
887
763
  } | undefined;
888
764
  changelog?: string | {
889
- type: "relative";
890
765
  path: string;
766
+ type: "relative";
891
767
  } | {
892
768
  type: "explicit-string";
893
769
  content: string;
@@ -896,12 +772,12 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
896
772
  file: string;
897
773
  } | undefined;
898
774
  logo?: string | {
899
- type: "relative";
900
- path: string;
901
- } | {
902
775
  type: "explicit-base64";
903
- content: string;
904
776
  mimeType: string;
777
+ content: string;
778
+ } | {
779
+ path: string;
780
+ type: "relative";
905
781
  } | {
906
782
  type: "absolute-file";
907
783
  file: string;
@@ -918,6 +794,14 @@ declare const BlockPackDescriptionFromPackageJsonRaw: z.ZodObject<{
918
794
  } & {
919
795
  [k: string]: unknown;
920
796
  };
797
+ components: {
798
+ workflow: string | {
799
+ type: "workflow-v1";
800
+ main: string;
801
+ };
802
+ model: string;
803
+ ui: string;
804
+ };
921
805
  }>;
922
806
  declare const FeatureFlags: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>, BlockCodeKnownFeatureFlags, Record<string, number | boolean>>;
923
807
  declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny, Meta extends ZodTypeAny>(components: Components, meta: Meta): z.ZodObject<{
@@ -926,12 +810,12 @@ declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny,
926
810
  name: z.ZodString;
927
811
  version: z.ZodString;
928
812
  }, "strict", ZodTypeAny, {
929
- name: string;
930
813
  organization: string;
814
+ name: string;
931
815
  version: string;
932
816
  }, {
933
- name: string;
934
817
  organization: string;
818
+ name: string;
935
819
  version: string;
936
820
  }>;
937
821
  components: Components;
@@ -943,12 +827,12 @@ declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny,
943
827
  name: z.ZodString;
944
828
  version: z.ZodString;
945
829
  }, "strict", ZodTypeAny, {
946
- name: string;
947
830
  organization: string;
831
+ name: string;
948
832
  version: string;
949
833
  }, {
950
- name: string;
951
834
  organization: string;
835
+ name: string;
952
836
  version: string;
953
837
  }>;
954
838
  components: Components;
@@ -960,12 +844,12 @@ declare function CreateBlockPackDescriptionSchema<Components extends ZodTypeAny,
960
844
  name: z.ZodString;
961
845
  version: z.ZodString;
962
846
  }, "strict", ZodTypeAny, {
963
- name: string;
964
847
  organization: string;
848
+ name: string;
965
849
  version: string;
966
850
  }, {
967
- name: string;
968
851
  organization: string;
852
+ name: string;
969
853
  version: string;
970
854
  }>;
971
855
  components: Components;
@@ -978,41 +862,29 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
978
862
  name: z.ZodString;
979
863
  version: z.ZodString;
980
864
  }, "strict", ZodTypeAny, {
981
- name: string;
982
865
  organization: string;
866
+ name: string;
983
867
  version: string;
984
868
  }, {
985
- name: string;
986
869
  organization: string;
870
+ name: string;
987
871
  version: string;
988
872
  }>;
989
873
  components: z.ZodObject<{
990
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
991
- type: "workflow-v1";
992
- main: string;
993
- }, string>, z.ZodObject<{
994
- type: z.ZodLiteral<"workflow-v1">;
995
- main: z.ZodString;
996
- }, "strip", ZodTypeAny, {
997
- type: "workflow-v1";
998
- main: string;
999
- }, {
1000
- type: "workflow-v1";
1001
- main: string;
1002
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
874
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, WorkflowV1<string>, string>, z.ZodObject<{
1003
875
  type: z.ZodLiteral<"workflow-v1">;
1004
876
  main: z.ZodString;
1005
- }, "strip", ZodTypeAny, {
877
+ }, "strict", ZodTypeAny, {
1006
878
  type: "workflow-v1";
1007
879
  main: string;
1008
880
  }, {
1009
881
  type: "workflow-v1";
1010
882
  main: string;
1011
- }>]>]>;
883
+ }>]>;
1012
884
  model: z.ZodString;
1013
885
  ui: z.ZodString;
1014
886
  }, "strip", ZodTypeAny, {
1015
- workflow: {
887
+ workflow: WorkflowV1<string> | {
1016
888
  type: "workflow-v1";
1017
889
  main: string;
1018
890
  };
@@ -1029,13 +901,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1029
901
  meta: z.ZodObject<{
1030
902
  title: z.ZodString;
1031
903
  description: z.ZodString;
1032
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1033
- type: "relative";
1034
- path: string;
1035
- } | {
1036
- type: "explicit-string";
1037
- content: string;
1038
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
904
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1039
905
  type: z.ZodLiteral<"explicit-string">;
1040
906
  content: z.ZodString;
1041
907
  }, "strict", ZodTypeAny, {
@@ -1048,11 +914,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1048
914
  type: z.ZodLiteral<"relative">;
1049
915
  path: z.ZodString;
1050
916
  }, "strict", ZodTypeAny, {
1051
- type: "relative";
1052
917
  path: string;
1053
- }, {
1054
918
  type: "relative";
919
+ }, {
1055
920
  path: string;
921
+ type: "relative";
1056
922
  }>, z.ZodObject<{
1057
923
  type: z.ZodLiteral<"absolute-file">;
1058
924
  file: z.ZodString;
@@ -1063,13 +929,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1063
929
  type: "absolute-file";
1064
930
  file: string;
1065
931
  }>]>]>>;
1066
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1067
- type: "relative";
1068
- path: string;
1069
- } | {
1070
- type: "explicit-string";
1071
- content: string;
1072
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
932
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1073
933
  type: z.ZodLiteral<"explicit-string">;
1074
934
  content: z.ZodString;
1075
935
  }, "strict", ZodTypeAny, {
@@ -1082,11 +942,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1082
942
  type: z.ZodLiteral<"relative">;
1083
943
  path: z.ZodString;
1084
944
  }, "strict", ZodTypeAny, {
1085
- type: "relative";
1086
945
  path: string;
1087
- }, {
1088
946
  type: "relative";
947
+ }, {
1089
948
  path: string;
949
+ type: "relative";
1090
950
  }>, z.ZodObject<{
1091
951
  type: z.ZodLiteral<"absolute-file">;
1092
952
  file: z.ZodString;
@@ -1097,34 +957,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1097
957
  type: "absolute-file";
1098
958
  file: string;
1099
959
  }>]>]>>;
1100
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1101
- type: "relative";
1102
- path: string;
1103
- } | {
1104
- type: "explicit-base64";
1105
- content: string;
1106
- mimeType: string;
1107
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
960
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1108
961
  type: z.ZodLiteral<"explicit-base64">;
1109
962
  mimeType: z.ZodString;
1110
963
  content: z.ZodString;
1111
964
  }, "strict", ZodTypeAny, {
1112
965
  type: "explicit-base64";
1113
- content: string;
1114
966
  mimeType: string;
967
+ content: string;
1115
968
  }, {
1116
969
  type: "explicit-base64";
1117
- content: string;
1118
970
  mimeType: string;
971
+ content: string;
1119
972
  }>, z.ZodObject<{
1120
973
  type: z.ZodLiteral<"relative">;
1121
974
  path: z.ZodString;
1122
975
  }, "strict", ZodTypeAny, {
1123
- type: "relative";
1124
976
  path: string;
1125
- }, {
1126
977
  type: "relative";
978
+ }, {
1127
979
  path: string;
980
+ type: "relative";
1128
981
  }>, z.ZodObject<{
1129
982
  type: z.ZodLiteral<"absolute-file">;
1130
983
  file: z.ZodString;
@@ -1142,34 +995,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1142
995
  organization: z.ZodObject<{
1143
996
  name: z.ZodString;
1144
997
  url: z.ZodString;
1145
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1146
- type: "relative";
1147
- path: string;
1148
- } | {
1149
- type: "explicit-base64";
1150
- content: string;
1151
- mimeType: string;
1152
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
998
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1153
999
  type: z.ZodLiteral<"explicit-base64">;
1154
1000
  mimeType: z.ZodString;
1155
1001
  content: z.ZodString;
1156
1002
  }, "strict", ZodTypeAny, {
1157
1003
  type: "explicit-base64";
1158
- content: string;
1159
1004
  mimeType: string;
1005
+ content: string;
1160
1006
  }, {
1161
1007
  type: "explicit-base64";
1162
- content: string;
1163
1008
  mimeType: string;
1009
+ content: string;
1164
1010
  }>, z.ZodObject<{
1165
1011
  type: z.ZodLiteral<"relative">;
1166
1012
  path: z.ZodString;
1167
1013
  }, "strict", ZodTypeAny, {
1168
- type: "relative";
1169
1014
  path: string;
1170
- }, {
1171
1015
  type: "relative";
1016
+ }, {
1172
1017
  path: string;
1018
+ type: "relative";
1173
1019
  }>, z.ZodObject<{
1174
1020
  type: z.ZodLiteral<"absolute-file">;
1175
1021
  file: z.ZodString;
@@ -1183,34 +1029,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1183
1029
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1184
1030
  name: z.ZodString;
1185
1031
  url: z.ZodString;
1186
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1187
- type: "relative";
1188
- path: string;
1189
- } | {
1190
- type: "explicit-base64";
1191
- content: string;
1192
- mimeType: string;
1193
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1032
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1194
1033
  type: z.ZodLiteral<"explicit-base64">;
1195
1034
  mimeType: z.ZodString;
1196
1035
  content: z.ZodString;
1197
1036
  }, "strict", ZodTypeAny, {
1198
1037
  type: "explicit-base64";
1199
- content: string;
1200
1038
  mimeType: string;
1039
+ content: string;
1201
1040
  }, {
1202
1041
  type: "explicit-base64";
1203
- content: string;
1204
1042
  mimeType: string;
1043
+ content: string;
1205
1044
  }>, z.ZodObject<{
1206
1045
  type: z.ZodLiteral<"relative">;
1207
1046
  path: z.ZodString;
1208
1047
  }, "strict", ZodTypeAny, {
1209
- type: "relative";
1210
1048
  path: string;
1211
- }, {
1212
1049
  type: "relative";
1050
+ }, {
1213
1051
  path: string;
1052
+ type: "relative";
1214
1053
  }>, z.ZodObject<{
1215
1054
  type: z.ZodLiteral<"absolute-file">;
1216
1055
  file: z.ZodString;
@@ -1224,34 +1063,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1224
1063
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
1225
1064
  name: z.ZodString;
1226
1065
  url: z.ZodString;
1227
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1228
- type: "relative";
1229
- path: string;
1230
- } | {
1231
- type: "explicit-base64";
1232
- content: string;
1233
- mimeType: string;
1234
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1066
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1235
1067
  type: z.ZodLiteral<"explicit-base64">;
1236
1068
  mimeType: z.ZodString;
1237
1069
  content: z.ZodString;
1238
1070
  }, "strict", ZodTypeAny, {
1239
1071
  type: "explicit-base64";
1240
- content: string;
1241
1072
  mimeType: string;
1073
+ content: string;
1242
1074
  }, {
1243
1075
  type: "explicit-base64";
1244
- content: string;
1245
1076
  mimeType: string;
1077
+ content: string;
1246
1078
  }>, z.ZodObject<{
1247
1079
  type: z.ZodLiteral<"relative">;
1248
1080
  path: z.ZodString;
1249
1081
  }, "strict", ZodTypeAny, {
1250
- type: "relative";
1251
1082
  path: string;
1252
- }, {
1253
1083
  type: "relative";
1084
+ }, {
1254
1085
  path: string;
1086
+ type: "relative";
1255
1087
  }>, z.ZodObject<{
1256
1088
  type: z.ZodLiteral<"absolute-file">;
1257
1089
  file: z.ZodString;
@@ -1271,13 +1103,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1271
1103
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1272
1104
  title: z.ZodString;
1273
1105
  description: z.ZodString;
1274
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1275
- type: "relative";
1276
- path: string;
1277
- } | {
1278
- type: "explicit-string";
1279
- content: string;
1280
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1106
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1281
1107
  type: z.ZodLiteral<"explicit-string">;
1282
1108
  content: z.ZodString;
1283
1109
  }, "strict", ZodTypeAny, {
@@ -1290,11 +1116,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1290
1116
  type: z.ZodLiteral<"relative">;
1291
1117
  path: z.ZodString;
1292
1118
  }, "strict", ZodTypeAny, {
1293
- type: "relative";
1294
1119
  path: string;
1295
- }, {
1296
1120
  type: "relative";
1121
+ }, {
1297
1122
  path: string;
1123
+ type: "relative";
1298
1124
  }>, z.ZodObject<{
1299
1125
  type: z.ZodLiteral<"absolute-file">;
1300
1126
  file: z.ZodString;
@@ -1305,13 +1131,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1305
1131
  type: "absolute-file";
1306
1132
  file: string;
1307
1133
  }>]>]>>;
1308
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1309
- type: "relative";
1310
- path: string;
1311
- } | {
1312
- type: "explicit-string";
1313
- content: string;
1314
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1134
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1315
1135
  type: z.ZodLiteral<"explicit-string">;
1316
1136
  content: z.ZodString;
1317
1137
  }, "strict", ZodTypeAny, {
@@ -1324,11 +1144,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1324
1144
  type: z.ZodLiteral<"relative">;
1325
1145
  path: z.ZodString;
1326
1146
  }, "strict", ZodTypeAny, {
1327
- type: "relative";
1328
1147
  path: string;
1329
- }, {
1330
1148
  type: "relative";
1149
+ }, {
1331
1150
  path: string;
1151
+ type: "relative";
1332
1152
  }>, z.ZodObject<{
1333
1153
  type: z.ZodLiteral<"absolute-file">;
1334
1154
  file: z.ZodString;
@@ -1339,34 +1159,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1339
1159
  type: "absolute-file";
1340
1160
  file: string;
1341
1161
  }>]>]>>;
1342
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1343
- type: "relative";
1344
- path: string;
1345
- } | {
1346
- type: "explicit-base64";
1347
- content: string;
1348
- mimeType: string;
1349
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1162
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1350
1163
  type: z.ZodLiteral<"explicit-base64">;
1351
1164
  mimeType: z.ZodString;
1352
1165
  content: z.ZodString;
1353
1166
  }, "strict", ZodTypeAny, {
1354
1167
  type: "explicit-base64";
1355
- content: string;
1356
1168
  mimeType: string;
1169
+ content: string;
1357
1170
  }, {
1358
1171
  type: "explicit-base64";
1359
- content: string;
1360
1172
  mimeType: string;
1173
+ content: string;
1361
1174
  }>, z.ZodObject<{
1362
1175
  type: z.ZodLiteral<"relative">;
1363
1176
  path: z.ZodString;
1364
1177
  }, "strict", ZodTypeAny, {
1365
- type: "relative";
1366
1178
  path: string;
1367
- }, {
1368
1179
  type: "relative";
1180
+ }, {
1369
1181
  path: string;
1182
+ type: "relative";
1370
1183
  }>, z.ZodObject<{
1371
1184
  type: z.ZodLiteral<"absolute-file">;
1372
1185
  file: z.ZodString;
@@ -1384,34 +1197,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1384
1197
  organization: z.ZodObject<{
1385
1198
  name: z.ZodString;
1386
1199
  url: z.ZodString;
1387
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1388
- type: "relative";
1389
- path: string;
1390
- } | {
1391
- type: "explicit-base64";
1392
- content: string;
1393
- mimeType: string;
1394
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1200
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1395
1201
  type: z.ZodLiteral<"explicit-base64">;
1396
1202
  mimeType: z.ZodString;
1397
1203
  content: z.ZodString;
1398
1204
  }, "strict", ZodTypeAny, {
1399
1205
  type: "explicit-base64";
1400
- content: string;
1401
1206
  mimeType: string;
1207
+ content: string;
1402
1208
  }, {
1403
1209
  type: "explicit-base64";
1404
- content: string;
1405
1210
  mimeType: string;
1211
+ content: string;
1406
1212
  }>, z.ZodObject<{
1407
1213
  type: z.ZodLiteral<"relative">;
1408
1214
  path: z.ZodString;
1409
1215
  }, "strict", ZodTypeAny, {
1410
- type: "relative";
1411
1216
  path: string;
1412
- }, {
1413
1217
  type: "relative";
1218
+ }, {
1414
1219
  path: string;
1220
+ type: "relative";
1415
1221
  }>, z.ZodObject<{
1416
1222
  type: z.ZodLiteral<"absolute-file">;
1417
1223
  file: z.ZodString;
@@ -1425,34 +1231,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1425
1231
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1426
1232
  name: z.ZodString;
1427
1233
  url: z.ZodString;
1428
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1429
- type: "relative";
1430
- path: string;
1431
- } | {
1432
- type: "explicit-base64";
1433
- content: string;
1434
- mimeType: string;
1435
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1234
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1436
1235
  type: z.ZodLiteral<"explicit-base64">;
1437
1236
  mimeType: z.ZodString;
1438
1237
  content: z.ZodString;
1439
1238
  }, "strict", ZodTypeAny, {
1440
1239
  type: "explicit-base64";
1441
- content: string;
1442
1240
  mimeType: string;
1241
+ content: string;
1443
1242
  }, {
1444
1243
  type: "explicit-base64";
1445
- content: string;
1446
1244
  mimeType: string;
1245
+ content: string;
1447
1246
  }>, z.ZodObject<{
1448
1247
  type: z.ZodLiteral<"relative">;
1449
1248
  path: z.ZodString;
1450
1249
  }, "strict", ZodTypeAny, {
1451
- type: "relative";
1452
1250
  path: string;
1453
- }, {
1454
1251
  type: "relative";
1252
+ }, {
1455
1253
  path: string;
1254
+ type: "relative";
1456
1255
  }>, z.ZodObject<{
1457
1256
  type: z.ZodLiteral<"absolute-file">;
1458
1257
  file: z.ZodString;
@@ -1466,34 +1265,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1466
1265
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
1467
1266
  name: z.ZodString;
1468
1267
  url: z.ZodString;
1469
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1470
- type: "relative";
1471
- path: string;
1472
- } | {
1473
- type: "explicit-base64";
1474
- content: string;
1475
- mimeType: string;
1476
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1268
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1477
1269
  type: z.ZodLiteral<"explicit-base64">;
1478
1270
  mimeType: z.ZodString;
1479
1271
  content: z.ZodString;
1480
1272
  }, "strict", ZodTypeAny, {
1481
1273
  type: "explicit-base64";
1482
- content: string;
1483
1274
  mimeType: string;
1275
+ content: string;
1484
1276
  }, {
1485
1277
  type: "explicit-base64";
1486
- content: string;
1487
1278
  mimeType: string;
1279
+ content: string;
1488
1280
  }>, z.ZodObject<{
1489
1281
  type: z.ZodLiteral<"relative">;
1490
1282
  path: z.ZodString;
1491
1283
  }, "strict", ZodTypeAny, {
1492
- type: "relative";
1493
1284
  path: string;
1494
- }, {
1495
1285
  type: "relative";
1286
+ }, {
1496
1287
  path: string;
1288
+ type: "relative";
1497
1289
  }>, z.ZodObject<{
1498
1290
  type: z.ZodLiteral<"absolute-file">;
1499
1291
  file: z.ZodString;
@@ -1513,13 +1305,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1513
1305
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
1514
1306
  title: z.ZodString;
1515
1307
  description: z.ZodString;
1516
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1517
- type: "relative";
1518
- path: string;
1519
- } | {
1520
- type: "explicit-string";
1521
- content: string;
1522
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1308
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1523
1309
  type: z.ZodLiteral<"explicit-string">;
1524
1310
  content: z.ZodString;
1525
1311
  }, "strict", ZodTypeAny, {
@@ -1532,11 +1318,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1532
1318
  type: z.ZodLiteral<"relative">;
1533
1319
  path: z.ZodString;
1534
1320
  }, "strict", ZodTypeAny, {
1535
- type: "relative";
1536
1321
  path: string;
1537
- }, {
1538
1322
  type: "relative";
1323
+ }, {
1539
1324
  path: string;
1325
+ type: "relative";
1540
1326
  }>, z.ZodObject<{
1541
1327
  type: z.ZodLiteral<"absolute-file">;
1542
1328
  file: z.ZodString;
@@ -1547,13 +1333,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1547
1333
  type: "absolute-file";
1548
1334
  file: string;
1549
1335
  }>]>]>>;
1550
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1551
- type: "relative";
1552
- path: string;
1553
- } | {
1554
- type: "explicit-string";
1555
- content: string;
1556
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1336
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1557
1337
  type: z.ZodLiteral<"explicit-string">;
1558
1338
  content: z.ZodString;
1559
1339
  }, "strict", ZodTypeAny, {
@@ -1566,11 +1346,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1566
1346
  type: z.ZodLiteral<"relative">;
1567
1347
  path: z.ZodString;
1568
1348
  }, "strict", ZodTypeAny, {
1569
- type: "relative";
1570
1349
  path: string;
1571
- }, {
1572
1350
  type: "relative";
1351
+ }, {
1573
1352
  path: string;
1353
+ type: "relative";
1574
1354
  }>, z.ZodObject<{
1575
1355
  type: z.ZodLiteral<"absolute-file">;
1576
1356
  file: z.ZodString;
@@ -1581,34 +1361,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1581
1361
  type: "absolute-file";
1582
1362
  file: string;
1583
1363
  }>]>]>>;
1584
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1585
- type: "relative";
1586
- path: string;
1587
- } | {
1588
- type: "explicit-base64";
1589
- content: string;
1590
- mimeType: string;
1591
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1364
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1592
1365
  type: z.ZodLiteral<"explicit-base64">;
1593
1366
  mimeType: z.ZodString;
1594
1367
  content: z.ZodString;
1595
1368
  }, "strict", ZodTypeAny, {
1596
1369
  type: "explicit-base64";
1597
- content: string;
1598
1370
  mimeType: string;
1371
+ content: string;
1599
1372
  }, {
1600
1373
  type: "explicit-base64";
1601
- content: string;
1602
1374
  mimeType: string;
1375
+ content: string;
1603
1376
  }>, z.ZodObject<{
1604
1377
  type: z.ZodLiteral<"relative">;
1605
1378
  path: z.ZodString;
1606
1379
  }, "strict", ZodTypeAny, {
1607
- type: "relative";
1608
1380
  path: string;
1609
- }, {
1610
1381
  type: "relative";
1382
+ }, {
1611
1383
  path: string;
1384
+ type: "relative";
1612
1385
  }>, z.ZodObject<{
1613
1386
  type: z.ZodLiteral<"absolute-file">;
1614
1387
  file: z.ZodString;
@@ -1622,38 +1395,31 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1622
1395
  url: z.ZodOptional<z.ZodString>;
1623
1396
  docs: z.ZodOptional<z.ZodString>;
1624
1397
  support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
1625
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1626
- organization: z.ZodObject<{
1627
- name: z.ZodString;
1628
- url: z.ZodString;
1629
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1630
- type: "relative";
1631
- path: string;
1632
- } | {
1633
- type: "explicit-base64";
1634
- content: string;
1635
- mimeType: string;
1636
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1398
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1399
+ organization: z.ZodObject<{
1400
+ name: z.ZodString;
1401
+ url: z.ZodString;
1402
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1637
1403
  type: z.ZodLiteral<"explicit-base64">;
1638
1404
  mimeType: z.ZodString;
1639
1405
  content: z.ZodString;
1640
1406
  }, "strict", ZodTypeAny, {
1641
1407
  type: "explicit-base64";
1642
- content: string;
1643
1408
  mimeType: string;
1409
+ content: string;
1644
1410
  }, {
1645
1411
  type: "explicit-base64";
1646
- content: string;
1647
1412
  mimeType: string;
1413
+ content: string;
1648
1414
  }>, z.ZodObject<{
1649
1415
  type: z.ZodLiteral<"relative">;
1650
1416
  path: z.ZodString;
1651
1417
  }, "strict", ZodTypeAny, {
1652
- type: "relative";
1653
1418
  path: string;
1654
- }, {
1655
1419
  type: "relative";
1420
+ }, {
1656
1421
  path: string;
1422
+ type: "relative";
1657
1423
  }>, z.ZodObject<{
1658
1424
  type: z.ZodLiteral<"absolute-file">;
1659
1425
  file: z.ZodString;
@@ -1667,34 +1433,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1667
1433
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1668
1434
  name: z.ZodString;
1669
1435
  url: z.ZodString;
1670
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1671
- type: "relative";
1672
- path: string;
1673
- } | {
1674
- type: "explicit-base64";
1675
- content: string;
1676
- mimeType: string;
1677
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1436
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1678
1437
  type: z.ZodLiteral<"explicit-base64">;
1679
1438
  mimeType: z.ZodString;
1680
1439
  content: z.ZodString;
1681
1440
  }, "strict", ZodTypeAny, {
1682
1441
  type: "explicit-base64";
1683
- content: string;
1684
1442
  mimeType: string;
1443
+ content: string;
1685
1444
  }, {
1686
1445
  type: "explicit-base64";
1687
- content: string;
1688
1446
  mimeType: string;
1447
+ content: string;
1689
1448
  }>, z.ZodObject<{
1690
1449
  type: z.ZodLiteral<"relative">;
1691
1450
  path: z.ZodString;
1692
1451
  }, "strict", ZodTypeAny, {
1693
- type: "relative";
1694
1452
  path: string;
1695
- }, {
1696
1453
  type: "relative";
1454
+ }, {
1697
1455
  path: string;
1456
+ type: "relative";
1698
1457
  }>, z.ZodObject<{
1699
1458
  type: z.ZodLiteral<"absolute-file">;
1700
1459
  file: z.ZodString;
@@ -1708,34 +1467,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1708
1467
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
1709
1468
  name: z.ZodString;
1710
1469
  url: z.ZodString;
1711
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1712
- type: "relative";
1713
- path: string;
1714
- } | {
1715
- type: "explicit-base64";
1716
- content: string;
1717
- mimeType: string;
1718
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1470
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1719
1471
  type: z.ZodLiteral<"explicit-base64">;
1720
1472
  mimeType: z.ZodString;
1721
1473
  content: z.ZodString;
1722
1474
  }, "strict", ZodTypeAny, {
1723
1475
  type: "explicit-base64";
1724
- content: string;
1725
1476
  mimeType: string;
1477
+ content: string;
1726
1478
  }, {
1727
1479
  type: "explicit-base64";
1728
- content: string;
1729
1480
  mimeType: string;
1481
+ content: string;
1730
1482
  }>, z.ZodObject<{
1731
1483
  type: z.ZodLiteral<"relative">;
1732
1484
  path: z.ZodString;
1733
1485
  }, "strict", ZodTypeAny, {
1734
- type: "relative";
1735
1486
  path: string;
1736
- }, {
1737
1487
  type: "relative";
1488
+ }, {
1738
1489
  path: string;
1490
+ type: "relative";
1739
1491
  }>, z.ZodObject<{
1740
1492
  type: z.ZodLiteral<"absolute-file">;
1741
1493
  file: z.ZodString;
@@ -1760,41 +1512,29 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1760
1512
  name: z.ZodString;
1761
1513
  version: z.ZodString;
1762
1514
  }, "strict", ZodTypeAny, {
1763
- name: string;
1764
1515
  organization: string;
1516
+ name: string;
1765
1517
  version: string;
1766
1518
  }, {
1767
- name: string;
1768
1519
  organization: string;
1520
+ name: string;
1769
1521
  version: string;
1770
1522
  }>;
1771
1523
  components: z.ZodObject<{
1772
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
1773
- type: "workflow-v1";
1774
- main: string;
1775
- }, string>, z.ZodObject<{
1776
- type: z.ZodLiteral<"workflow-v1">;
1777
- main: z.ZodString;
1778
- }, "strip", ZodTypeAny, {
1779
- type: "workflow-v1";
1780
- main: string;
1781
- }, {
1782
- type: "workflow-v1";
1783
- main: string;
1784
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1524
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, WorkflowV1<string>, string>, z.ZodObject<{
1785
1525
  type: z.ZodLiteral<"workflow-v1">;
1786
1526
  main: z.ZodString;
1787
- }, "strip", ZodTypeAny, {
1527
+ }, "strict", ZodTypeAny, {
1788
1528
  type: "workflow-v1";
1789
1529
  main: string;
1790
1530
  }, {
1791
1531
  type: "workflow-v1";
1792
1532
  main: string;
1793
- }>]>]>;
1533
+ }>]>;
1794
1534
  model: z.ZodString;
1795
1535
  ui: z.ZodString;
1796
1536
  }, "strip", ZodTypeAny, {
1797
- workflow: {
1537
+ workflow: WorkflowV1<string> | {
1798
1538
  type: "workflow-v1";
1799
1539
  main: string;
1800
1540
  };
@@ -1811,13 +1551,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1811
1551
  meta: z.ZodObject<{
1812
1552
  title: z.ZodString;
1813
1553
  description: z.ZodString;
1814
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1815
- type: "relative";
1816
- path: string;
1817
- } | {
1818
- type: "explicit-string";
1819
- content: string;
1820
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1554
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1821
1555
  type: z.ZodLiteral<"explicit-string">;
1822
1556
  content: z.ZodString;
1823
1557
  }, "strict", ZodTypeAny, {
@@ -1830,11 +1564,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1830
1564
  type: z.ZodLiteral<"relative">;
1831
1565
  path: z.ZodString;
1832
1566
  }, "strict", ZodTypeAny, {
1833
- type: "relative";
1834
1567
  path: string;
1835
- }, {
1836
1568
  type: "relative";
1569
+ }, {
1837
1570
  path: string;
1571
+ type: "relative";
1838
1572
  }>, z.ZodObject<{
1839
1573
  type: z.ZodLiteral<"absolute-file">;
1840
1574
  file: z.ZodString;
@@ -1845,13 +1579,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1845
1579
  type: "absolute-file";
1846
1580
  file: string;
1847
1581
  }>]>]>>;
1848
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1849
- type: "relative";
1850
- path: string;
1851
- } | {
1852
- type: "explicit-string";
1853
- content: string;
1854
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1582
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1855
1583
  type: z.ZodLiteral<"explicit-string">;
1856
1584
  content: z.ZodString;
1857
1585
  }, "strict", ZodTypeAny, {
@@ -1864,11 +1592,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1864
1592
  type: z.ZodLiteral<"relative">;
1865
1593
  path: z.ZodString;
1866
1594
  }, "strict", ZodTypeAny, {
1867
- type: "relative";
1868
1595
  path: string;
1869
- }, {
1870
1596
  type: "relative";
1597
+ }, {
1871
1598
  path: string;
1599
+ type: "relative";
1872
1600
  }>, z.ZodObject<{
1873
1601
  type: z.ZodLiteral<"absolute-file">;
1874
1602
  file: z.ZodString;
@@ -1879,34 +1607,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1879
1607
  type: "absolute-file";
1880
1608
  file: string;
1881
1609
  }>]>]>>;
1882
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1883
- type: "relative";
1884
- path: string;
1885
- } | {
1886
- type: "explicit-base64";
1887
- content: string;
1888
- mimeType: string;
1889
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1610
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1890
1611
  type: z.ZodLiteral<"explicit-base64">;
1891
1612
  mimeType: z.ZodString;
1892
1613
  content: z.ZodString;
1893
1614
  }, "strict", ZodTypeAny, {
1894
1615
  type: "explicit-base64";
1895
- content: string;
1896
1616
  mimeType: string;
1617
+ content: string;
1897
1618
  }, {
1898
1619
  type: "explicit-base64";
1899
- content: string;
1900
1620
  mimeType: string;
1621
+ content: string;
1901
1622
  }>, z.ZodObject<{
1902
1623
  type: z.ZodLiteral<"relative">;
1903
1624
  path: z.ZodString;
1904
1625
  }, "strict", ZodTypeAny, {
1905
- type: "relative";
1906
1626
  path: string;
1907
- }, {
1908
1627
  type: "relative";
1628
+ }, {
1909
1629
  path: string;
1630
+ type: "relative";
1910
1631
  }>, z.ZodObject<{
1911
1632
  type: z.ZodLiteral<"absolute-file">;
1912
1633
  file: z.ZodString;
@@ -1924,34 +1645,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1924
1645
  organization: z.ZodObject<{
1925
1646
  name: z.ZodString;
1926
1647
  url: z.ZodString;
1927
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1928
- type: "relative";
1929
- path: string;
1930
- } | {
1931
- type: "explicit-base64";
1932
- content: string;
1933
- mimeType: string;
1934
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1648
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1935
1649
  type: z.ZodLiteral<"explicit-base64">;
1936
1650
  mimeType: z.ZodString;
1937
1651
  content: z.ZodString;
1938
1652
  }, "strict", ZodTypeAny, {
1939
1653
  type: "explicit-base64";
1940
- content: string;
1941
1654
  mimeType: string;
1655
+ content: string;
1942
1656
  }, {
1943
1657
  type: "explicit-base64";
1944
- content: string;
1945
1658
  mimeType: string;
1659
+ content: string;
1946
1660
  }>, z.ZodObject<{
1947
1661
  type: z.ZodLiteral<"relative">;
1948
1662
  path: z.ZodString;
1949
1663
  }, "strict", ZodTypeAny, {
1950
- type: "relative";
1951
1664
  path: string;
1952
- }, {
1953
1665
  type: "relative";
1666
+ }, {
1954
1667
  path: string;
1668
+ type: "relative";
1955
1669
  }>, z.ZodObject<{
1956
1670
  type: z.ZodLiteral<"absolute-file">;
1957
1671
  file: z.ZodString;
@@ -1965,34 +1679,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
1965
1679
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
1966
1680
  name: z.ZodString;
1967
1681
  url: z.ZodString;
1968
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
1969
- type: "relative";
1970
- path: string;
1971
- } | {
1972
- type: "explicit-base64";
1973
- content: string;
1974
- mimeType: string;
1975
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1682
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1976
1683
  type: z.ZodLiteral<"explicit-base64">;
1977
1684
  mimeType: z.ZodString;
1978
1685
  content: z.ZodString;
1979
1686
  }, "strict", ZodTypeAny, {
1980
1687
  type: "explicit-base64";
1981
- content: string;
1982
1688
  mimeType: string;
1689
+ content: string;
1983
1690
  }, {
1984
1691
  type: "explicit-base64";
1985
- content: string;
1986
1692
  mimeType: string;
1693
+ content: string;
1987
1694
  }>, z.ZodObject<{
1988
1695
  type: z.ZodLiteral<"relative">;
1989
1696
  path: z.ZodString;
1990
1697
  }, "strict", ZodTypeAny, {
1991
- type: "relative";
1992
1698
  path: string;
1993
- }, {
1994
1699
  type: "relative";
1700
+ }, {
1995
1701
  path: string;
1702
+ type: "relative";
1996
1703
  }>, z.ZodObject<{
1997
1704
  type: z.ZodLiteral<"absolute-file">;
1998
1705
  file: z.ZodString;
@@ -2006,34 +1713,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2006
1713
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2007
1714
  name: z.ZodString;
2008
1715
  url: z.ZodString;
2009
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2010
- type: "relative";
2011
- path: string;
2012
- } | {
2013
- type: "explicit-base64";
2014
- content: string;
2015
- mimeType: string;
2016
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1716
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2017
1717
  type: z.ZodLiteral<"explicit-base64">;
2018
1718
  mimeType: z.ZodString;
2019
1719
  content: z.ZodString;
2020
1720
  }, "strict", ZodTypeAny, {
2021
1721
  type: "explicit-base64";
2022
- content: string;
2023
1722
  mimeType: string;
1723
+ content: string;
2024
1724
  }, {
2025
1725
  type: "explicit-base64";
2026
- content: string;
2027
1726
  mimeType: string;
1727
+ content: string;
2028
1728
  }>, z.ZodObject<{
2029
1729
  type: z.ZodLiteral<"relative">;
2030
1730
  path: z.ZodString;
2031
1731
  }, "strict", ZodTypeAny, {
2032
- type: "relative";
2033
1732
  path: string;
2034
- }, {
2035
1733
  type: "relative";
1734
+ }, {
2036
1735
  path: string;
1736
+ type: "relative";
2037
1737
  }>, z.ZodObject<{
2038
1738
  type: z.ZodLiteral<"absolute-file">;
2039
1739
  file: z.ZodString;
@@ -2053,13 +1753,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2053
1753
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2054
1754
  title: z.ZodString;
2055
1755
  description: z.ZodString;
2056
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2057
- type: "relative";
2058
- path: string;
2059
- } | {
2060
- type: "explicit-string";
2061
- content: string;
2062
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1756
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2063
1757
  type: z.ZodLiteral<"explicit-string">;
2064
1758
  content: z.ZodString;
2065
1759
  }, "strict", ZodTypeAny, {
@@ -2072,11 +1766,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2072
1766
  type: z.ZodLiteral<"relative">;
2073
1767
  path: z.ZodString;
2074
1768
  }, "strict", ZodTypeAny, {
2075
- type: "relative";
2076
1769
  path: string;
2077
- }, {
2078
1770
  type: "relative";
1771
+ }, {
2079
1772
  path: string;
1773
+ type: "relative";
2080
1774
  }>, z.ZodObject<{
2081
1775
  type: z.ZodLiteral<"absolute-file">;
2082
1776
  file: z.ZodString;
@@ -2087,13 +1781,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2087
1781
  type: "absolute-file";
2088
1782
  file: string;
2089
1783
  }>]>]>>;
2090
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2091
- type: "relative";
2092
- path: string;
2093
- } | {
2094
- type: "explicit-string";
2095
- content: string;
2096
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1784
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2097
1785
  type: z.ZodLiteral<"explicit-string">;
2098
1786
  content: z.ZodString;
2099
1787
  }, "strict", ZodTypeAny, {
@@ -2106,11 +1794,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2106
1794
  type: z.ZodLiteral<"relative">;
2107
1795
  path: z.ZodString;
2108
1796
  }, "strict", ZodTypeAny, {
2109
- type: "relative";
2110
1797
  path: string;
2111
- }, {
2112
1798
  type: "relative";
1799
+ }, {
2113
1800
  path: string;
1801
+ type: "relative";
2114
1802
  }>, z.ZodObject<{
2115
1803
  type: z.ZodLiteral<"absolute-file">;
2116
1804
  file: z.ZodString;
@@ -2121,34 +1809,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2121
1809
  type: "absolute-file";
2122
1810
  file: string;
2123
1811
  }>]>]>>;
2124
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2125
- type: "relative";
2126
- path: string;
2127
- } | {
2128
- type: "explicit-base64";
2129
- content: string;
2130
- mimeType: string;
2131
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1812
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2132
1813
  type: z.ZodLiteral<"explicit-base64">;
2133
1814
  mimeType: z.ZodString;
2134
1815
  content: z.ZodString;
2135
1816
  }, "strict", ZodTypeAny, {
2136
1817
  type: "explicit-base64";
2137
- content: string;
2138
1818
  mimeType: string;
1819
+ content: string;
2139
1820
  }, {
2140
1821
  type: "explicit-base64";
2141
- content: string;
2142
1822
  mimeType: string;
1823
+ content: string;
2143
1824
  }>, z.ZodObject<{
2144
1825
  type: z.ZodLiteral<"relative">;
2145
1826
  path: z.ZodString;
2146
1827
  }, "strict", ZodTypeAny, {
2147
- type: "relative";
2148
1828
  path: string;
2149
- }, {
2150
1829
  type: "relative";
1830
+ }, {
2151
1831
  path: string;
1832
+ type: "relative";
2152
1833
  }>, z.ZodObject<{
2153
1834
  type: z.ZodLiteral<"absolute-file">;
2154
1835
  file: z.ZodString;
@@ -2166,34 +1847,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2166
1847
  organization: z.ZodObject<{
2167
1848
  name: z.ZodString;
2168
1849
  url: z.ZodString;
2169
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2170
- type: "relative";
2171
- path: string;
2172
- } | {
2173
- type: "explicit-base64";
2174
- content: string;
2175
- mimeType: string;
2176
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1850
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2177
1851
  type: z.ZodLiteral<"explicit-base64">;
2178
1852
  mimeType: z.ZodString;
2179
1853
  content: z.ZodString;
2180
1854
  }, "strict", ZodTypeAny, {
2181
1855
  type: "explicit-base64";
2182
- content: string;
2183
1856
  mimeType: string;
1857
+ content: string;
2184
1858
  }, {
2185
1859
  type: "explicit-base64";
2186
- content: string;
2187
1860
  mimeType: string;
1861
+ content: string;
2188
1862
  }>, z.ZodObject<{
2189
1863
  type: z.ZodLiteral<"relative">;
2190
1864
  path: z.ZodString;
2191
1865
  }, "strict", ZodTypeAny, {
2192
- type: "relative";
2193
1866
  path: string;
2194
- }, {
2195
1867
  type: "relative";
1868
+ }, {
2196
1869
  path: string;
1870
+ type: "relative";
2197
1871
  }>, z.ZodObject<{
2198
1872
  type: z.ZodLiteral<"absolute-file">;
2199
1873
  file: z.ZodString;
@@ -2207,34 +1881,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2207
1881
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2208
1882
  name: z.ZodString;
2209
1883
  url: z.ZodString;
2210
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2211
- type: "relative";
2212
- path: string;
2213
- } | {
2214
- type: "explicit-base64";
2215
- content: string;
2216
- mimeType: string;
2217
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1884
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2218
1885
  type: z.ZodLiteral<"explicit-base64">;
2219
1886
  mimeType: z.ZodString;
2220
1887
  content: z.ZodString;
2221
1888
  }, "strict", ZodTypeAny, {
2222
1889
  type: "explicit-base64";
2223
- content: string;
2224
1890
  mimeType: string;
1891
+ content: string;
2225
1892
  }, {
2226
1893
  type: "explicit-base64";
2227
- content: string;
2228
1894
  mimeType: string;
1895
+ content: string;
2229
1896
  }>, z.ZodObject<{
2230
1897
  type: z.ZodLiteral<"relative">;
2231
1898
  path: z.ZodString;
2232
1899
  }, "strict", ZodTypeAny, {
2233
- type: "relative";
2234
1900
  path: string;
2235
- }, {
2236
1901
  type: "relative";
1902
+ }, {
2237
1903
  path: string;
1904
+ type: "relative";
2238
1905
  }>, z.ZodObject<{
2239
1906
  type: z.ZodLiteral<"absolute-file">;
2240
1907
  file: z.ZodString;
@@ -2248,34 +1915,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2248
1915
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2249
1916
  name: z.ZodString;
2250
1917
  url: z.ZodString;
2251
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2252
- type: "relative";
2253
- path: string;
2254
- } | {
2255
- type: "explicit-base64";
2256
- content: string;
2257
- mimeType: string;
2258
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1918
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2259
1919
  type: z.ZodLiteral<"explicit-base64">;
2260
1920
  mimeType: z.ZodString;
2261
1921
  content: z.ZodString;
2262
1922
  }, "strict", ZodTypeAny, {
2263
1923
  type: "explicit-base64";
2264
- content: string;
2265
1924
  mimeType: string;
1925
+ content: string;
2266
1926
  }, {
2267
1927
  type: "explicit-base64";
2268
- content: string;
2269
1928
  mimeType: string;
1929
+ content: string;
2270
1930
  }>, z.ZodObject<{
2271
1931
  type: z.ZodLiteral<"relative">;
2272
1932
  path: z.ZodString;
2273
1933
  }, "strict", ZodTypeAny, {
2274
- type: "relative";
2275
1934
  path: string;
2276
- }, {
2277
1935
  type: "relative";
1936
+ }, {
2278
1937
  path: string;
1938
+ type: "relative";
2279
1939
  }>, z.ZodObject<{
2280
1940
  type: z.ZodLiteral<"absolute-file">;
2281
1941
  file: z.ZodString;
@@ -2295,13 +1955,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2295
1955
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2296
1956
  title: z.ZodString;
2297
1957
  description: z.ZodString;
2298
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2299
- type: "relative";
2300
- path: string;
2301
- } | {
2302
- type: "explicit-string";
2303
- content: string;
2304
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1958
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2305
1959
  type: z.ZodLiteral<"explicit-string">;
2306
1960
  content: z.ZodString;
2307
1961
  }, "strict", ZodTypeAny, {
@@ -2314,11 +1968,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2314
1968
  type: z.ZodLiteral<"relative">;
2315
1969
  path: z.ZodString;
2316
1970
  }, "strict", ZodTypeAny, {
2317
- type: "relative";
2318
1971
  path: string;
2319
- }, {
2320
1972
  type: "relative";
1973
+ }, {
2321
1974
  path: string;
1975
+ type: "relative";
2322
1976
  }>, z.ZodObject<{
2323
1977
  type: z.ZodLiteral<"absolute-file">;
2324
1978
  file: z.ZodString;
@@ -2329,13 +1983,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2329
1983
  type: "absolute-file";
2330
1984
  file: string;
2331
1985
  }>]>]>>;
2332
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2333
- type: "relative";
2334
- path: string;
2335
- } | {
2336
- type: "explicit-string";
2337
- content: string;
2338
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1986
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2339
1987
  type: z.ZodLiteral<"explicit-string">;
2340
1988
  content: z.ZodString;
2341
1989
  }, "strict", ZodTypeAny, {
@@ -2348,11 +1996,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2348
1996
  type: z.ZodLiteral<"relative">;
2349
1997
  path: z.ZodString;
2350
1998
  }, "strict", ZodTypeAny, {
2351
- type: "relative";
2352
1999
  path: string;
2353
- }, {
2354
2000
  type: "relative";
2001
+ }, {
2355
2002
  path: string;
2003
+ type: "relative";
2356
2004
  }>, z.ZodObject<{
2357
2005
  type: z.ZodLiteral<"absolute-file">;
2358
2006
  file: z.ZodString;
@@ -2363,34 +2011,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2363
2011
  type: "absolute-file";
2364
2012
  file: string;
2365
2013
  }>]>]>>;
2366
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2367
- type: "relative";
2368
- path: string;
2369
- } | {
2370
- type: "explicit-base64";
2371
- content: string;
2372
- mimeType: string;
2373
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2014
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2374
2015
  type: z.ZodLiteral<"explicit-base64">;
2375
2016
  mimeType: z.ZodString;
2376
2017
  content: z.ZodString;
2377
2018
  }, "strict", ZodTypeAny, {
2378
2019
  type: "explicit-base64";
2379
- content: string;
2380
2020
  mimeType: string;
2021
+ content: string;
2381
2022
  }, {
2382
2023
  type: "explicit-base64";
2383
- content: string;
2384
2024
  mimeType: string;
2025
+ content: string;
2385
2026
  }>, z.ZodObject<{
2386
2027
  type: z.ZodLiteral<"relative">;
2387
2028
  path: z.ZodString;
2388
2029
  }, "strict", ZodTypeAny, {
2389
- type: "relative";
2390
2030
  path: string;
2391
- }, {
2392
2031
  type: "relative";
2032
+ }, {
2393
2033
  path: string;
2034
+ type: "relative";
2394
2035
  }>, z.ZodObject<{
2395
2036
  type: z.ZodLiteral<"absolute-file">;
2396
2037
  file: z.ZodString;
@@ -2408,34 +2049,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2408
2049
  organization: z.ZodObject<{
2409
2050
  name: z.ZodString;
2410
2051
  url: z.ZodString;
2411
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2412
- type: "relative";
2413
- path: string;
2414
- } | {
2415
- type: "explicit-base64";
2416
- content: string;
2417
- mimeType: string;
2418
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2052
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2419
2053
  type: z.ZodLiteral<"explicit-base64">;
2420
2054
  mimeType: z.ZodString;
2421
2055
  content: z.ZodString;
2422
2056
  }, "strict", ZodTypeAny, {
2423
2057
  type: "explicit-base64";
2424
- content: string;
2425
2058
  mimeType: string;
2059
+ content: string;
2426
2060
  }, {
2427
2061
  type: "explicit-base64";
2428
- content: string;
2429
2062
  mimeType: string;
2063
+ content: string;
2430
2064
  }>, z.ZodObject<{
2431
2065
  type: z.ZodLiteral<"relative">;
2432
2066
  path: z.ZodString;
2433
2067
  }, "strict", ZodTypeAny, {
2434
- type: "relative";
2435
2068
  path: string;
2436
- }, {
2437
2069
  type: "relative";
2070
+ }, {
2438
2071
  path: string;
2072
+ type: "relative";
2439
2073
  }>, z.ZodObject<{
2440
2074
  type: z.ZodLiteral<"absolute-file">;
2441
2075
  file: z.ZodString;
@@ -2449,34 +2083,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2449
2083
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2450
2084
  name: z.ZodString;
2451
2085
  url: z.ZodString;
2452
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2453
- type: "relative";
2454
- path: string;
2455
- } | {
2456
- type: "explicit-base64";
2457
- content: string;
2458
- mimeType: string;
2459
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2086
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2460
2087
  type: z.ZodLiteral<"explicit-base64">;
2461
2088
  mimeType: z.ZodString;
2462
2089
  content: z.ZodString;
2463
2090
  }, "strict", ZodTypeAny, {
2464
2091
  type: "explicit-base64";
2465
- content: string;
2466
2092
  mimeType: string;
2093
+ content: string;
2467
2094
  }, {
2468
2095
  type: "explicit-base64";
2469
- content: string;
2470
2096
  mimeType: string;
2097
+ content: string;
2471
2098
  }>, z.ZodObject<{
2472
2099
  type: z.ZodLiteral<"relative">;
2473
2100
  path: z.ZodString;
2474
2101
  }, "strict", ZodTypeAny, {
2475
- type: "relative";
2476
2102
  path: string;
2477
- }, {
2478
2103
  type: "relative";
2104
+ }, {
2479
2105
  path: string;
2106
+ type: "relative";
2480
2107
  }>, z.ZodObject<{
2481
2108
  type: z.ZodLiteral<"absolute-file">;
2482
2109
  file: z.ZodString;
@@ -2490,34 +2117,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2490
2117
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2491
2118
  name: z.ZodString;
2492
2119
  url: z.ZodString;
2493
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2494
- type: "relative";
2495
- path: string;
2496
- } | {
2497
- type: "explicit-base64";
2498
- content: string;
2499
- mimeType: string;
2500
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2120
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2501
2121
  type: z.ZodLiteral<"explicit-base64">;
2502
2122
  mimeType: z.ZodString;
2503
2123
  content: z.ZodString;
2504
2124
  }, "strict", ZodTypeAny, {
2505
2125
  type: "explicit-base64";
2506
- content: string;
2507
2126
  mimeType: string;
2127
+ content: string;
2508
2128
  }, {
2509
2129
  type: "explicit-base64";
2510
- content: string;
2511
2130
  mimeType: string;
2131
+ content: string;
2512
2132
  }>, z.ZodObject<{
2513
2133
  type: z.ZodLiteral<"relative">;
2514
2134
  path: z.ZodString;
2515
2135
  }, "strict", ZodTypeAny, {
2516
- type: "relative";
2517
2136
  path: string;
2518
- }, {
2519
2137
  type: "relative";
2138
+ }, {
2520
2139
  path: string;
2140
+ type: "relative";
2521
2141
  }>, z.ZodObject<{
2522
2142
  type: z.ZodLiteral<"absolute-file">;
2523
2143
  file: z.ZodString;
@@ -2542,41 +2162,29 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2542
2162
  name: z.ZodString;
2543
2163
  version: z.ZodString;
2544
2164
  }, "strict", ZodTypeAny, {
2545
- name: string;
2546
2165
  organization: string;
2166
+ name: string;
2547
2167
  version: string;
2548
2168
  }, {
2549
- name: string;
2550
2169
  organization: string;
2170
+ name: string;
2551
2171
  version: string;
2552
2172
  }>;
2553
2173
  components: z.ZodObject<{
2554
- workflow: z.ZodUnion<[z.ZodPipeline<z.ZodEffects<z.ZodString, {
2555
- type: "workflow-v1";
2556
- main: string;
2557
- }, string>, z.ZodObject<{
2558
- type: z.ZodLiteral<"workflow-v1">;
2559
- main: z.ZodString;
2560
- }, "strip", ZodTypeAny, {
2561
- type: "workflow-v1";
2562
- main: string;
2563
- }, {
2564
- type: "workflow-v1";
2565
- main: string;
2566
- }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2174
+ workflow: z.ZodUnion<[z.ZodEffects<z.ZodString, WorkflowV1<string>, string>, z.ZodObject<{
2567
2175
  type: z.ZodLiteral<"workflow-v1">;
2568
2176
  main: z.ZodString;
2569
- }, "strip", ZodTypeAny, {
2177
+ }, "strict", ZodTypeAny, {
2570
2178
  type: "workflow-v1";
2571
2179
  main: string;
2572
2180
  }, {
2573
2181
  type: "workflow-v1";
2574
2182
  main: string;
2575
- }>]>]>;
2183
+ }>]>;
2576
2184
  model: z.ZodString;
2577
2185
  ui: z.ZodString;
2578
2186
  }, "strip", ZodTypeAny, {
2579
- workflow: {
2187
+ workflow: WorkflowV1<string> | {
2580
2188
  type: "workflow-v1";
2581
2189
  main: string;
2582
2190
  };
@@ -2593,13 +2201,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2593
2201
  meta: z.ZodObject<{
2594
2202
  title: z.ZodString;
2595
2203
  description: z.ZodString;
2596
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2597
- type: "relative";
2598
- path: string;
2599
- } | {
2600
- type: "explicit-string";
2601
- content: string;
2602
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2204
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2603
2205
  type: z.ZodLiteral<"explicit-string">;
2604
2206
  content: z.ZodString;
2605
2207
  }, "strict", ZodTypeAny, {
@@ -2612,11 +2214,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2612
2214
  type: z.ZodLiteral<"relative">;
2613
2215
  path: z.ZodString;
2614
2216
  }, "strict", ZodTypeAny, {
2615
- type: "relative";
2616
2217
  path: string;
2617
- }, {
2618
2218
  type: "relative";
2219
+ }, {
2619
2220
  path: string;
2221
+ type: "relative";
2620
2222
  }>, z.ZodObject<{
2621
2223
  type: z.ZodLiteral<"absolute-file">;
2622
2224
  file: z.ZodString;
@@ -2627,13 +2229,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2627
2229
  type: "absolute-file";
2628
2230
  file: string;
2629
2231
  }>]>]>>;
2630
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2631
- type: "relative";
2632
- path: string;
2633
- } | {
2634
- type: "explicit-string";
2635
- content: string;
2636
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2232
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2637
2233
  type: z.ZodLiteral<"explicit-string">;
2638
2234
  content: z.ZodString;
2639
2235
  }, "strict", ZodTypeAny, {
@@ -2646,11 +2242,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2646
2242
  type: z.ZodLiteral<"relative">;
2647
2243
  path: z.ZodString;
2648
2244
  }, "strict", ZodTypeAny, {
2649
- type: "relative";
2650
2245
  path: string;
2651
- }, {
2652
2246
  type: "relative";
2247
+ }, {
2653
2248
  path: string;
2249
+ type: "relative";
2654
2250
  }>, z.ZodObject<{
2655
2251
  type: z.ZodLiteral<"absolute-file">;
2656
2252
  file: z.ZodString;
@@ -2661,34 +2257,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2661
2257
  type: "absolute-file";
2662
2258
  file: string;
2663
2259
  }>]>]>>;
2664
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2665
- type: "relative";
2666
- path: string;
2667
- } | {
2668
- type: "explicit-base64";
2669
- content: string;
2670
- mimeType: string;
2671
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2260
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2672
2261
  type: z.ZodLiteral<"explicit-base64">;
2673
2262
  mimeType: z.ZodString;
2674
2263
  content: z.ZodString;
2675
2264
  }, "strict", ZodTypeAny, {
2676
2265
  type: "explicit-base64";
2677
- content: string;
2678
2266
  mimeType: string;
2267
+ content: string;
2679
2268
  }, {
2680
2269
  type: "explicit-base64";
2681
- content: string;
2682
2270
  mimeType: string;
2271
+ content: string;
2683
2272
  }>, z.ZodObject<{
2684
2273
  type: z.ZodLiteral<"relative">;
2685
2274
  path: z.ZodString;
2686
2275
  }, "strict", ZodTypeAny, {
2687
- type: "relative";
2688
2276
  path: string;
2689
- }, {
2690
2277
  type: "relative";
2278
+ }, {
2691
2279
  path: string;
2280
+ type: "relative";
2692
2281
  }>, z.ZodObject<{
2693
2282
  type: z.ZodLiteral<"absolute-file">;
2694
2283
  file: z.ZodString;
@@ -2706,34 +2295,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2706
2295
  organization: z.ZodObject<{
2707
2296
  name: z.ZodString;
2708
2297
  url: z.ZodString;
2709
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2710
- type: "relative";
2711
- path: string;
2712
- } | {
2713
- type: "explicit-base64";
2714
- content: string;
2715
- mimeType: string;
2716
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2298
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2717
2299
  type: z.ZodLiteral<"explicit-base64">;
2718
2300
  mimeType: z.ZodString;
2719
2301
  content: z.ZodString;
2720
2302
  }, "strict", ZodTypeAny, {
2721
2303
  type: "explicit-base64";
2722
- content: string;
2723
2304
  mimeType: string;
2305
+ content: string;
2724
2306
  }, {
2725
2307
  type: "explicit-base64";
2726
- content: string;
2727
2308
  mimeType: string;
2309
+ content: string;
2728
2310
  }>, z.ZodObject<{
2729
2311
  type: z.ZodLiteral<"relative">;
2730
2312
  path: z.ZodString;
2731
2313
  }, "strict", ZodTypeAny, {
2732
- type: "relative";
2733
2314
  path: string;
2734
- }, {
2735
2315
  type: "relative";
2316
+ }, {
2736
2317
  path: string;
2318
+ type: "relative";
2737
2319
  }>, z.ZodObject<{
2738
2320
  type: z.ZodLiteral<"absolute-file">;
2739
2321
  file: z.ZodString;
@@ -2747,34 +2329,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2747
2329
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2748
2330
  name: z.ZodString;
2749
2331
  url: z.ZodString;
2750
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2751
- type: "relative";
2752
- path: string;
2753
- } | {
2754
- type: "explicit-base64";
2755
- content: string;
2756
- mimeType: string;
2757
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2332
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2758
2333
  type: z.ZodLiteral<"explicit-base64">;
2759
2334
  mimeType: z.ZodString;
2760
2335
  content: z.ZodString;
2761
2336
  }, "strict", ZodTypeAny, {
2762
2337
  type: "explicit-base64";
2763
- content: string;
2764
2338
  mimeType: string;
2339
+ content: string;
2765
2340
  }, {
2766
2341
  type: "explicit-base64";
2767
- content: string;
2768
2342
  mimeType: string;
2343
+ content: string;
2769
2344
  }>, z.ZodObject<{
2770
2345
  type: z.ZodLiteral<"relative">;
2771
2346
  path: z.ZodString;
2772
2347
  }, "strict", ZodTypeAny, {
2773
- type: "relative";
2774
2348
  path: string;
2775
- }, {
2776
2349
  type: "relative";
2350
+ }, {
2777
2351
  path: string;
2352
+ type: "relative";
2778
2353
  }>, z.ZodObject<{
2779
2354
  type: z.ZodLiteral<"absolute-file">;
2780
2355
  file: z.ZodString;
@@ -2788,34 +2363,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2788
2363
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
2789
2364
  name: z.ZodString;
2790
2365
  url: z.ZodString;
2791
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2792
- type: "relative";
2793
- path: string;
2794
- } | {
2795
- type: "explicit-base64";
2796
- content: string;
2797
- mimeType: string;
2798
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2366
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2799
2367
  type: z.ZodLiteral<"explicit-base64">;
2800
2368
  mimeType: z.ZodString;
2801
2369
  content: z.ZodString;
2802
2370
  }, "strict", ZodTypeAny, {
2803
2371
  type: "explicit-base64";
2804
- content: string;
2805
2372
  mimeType: string;
2373
+ content: string;
2806
2374
  }, {
2807
2375
  type: "explicit-base64";
2808
- content: string;
2809
2376
  mimeType: string;
2377
+ content: string;
2810
2378
  }>, z.ZodObject<{
2811
2379
  type: z.ZodLiteral<"relative">;
2812
2380
  path: z.ZodString;
2813
2381
  }, "strict", ZodTypeAny, {
2814
- type: "relative";
2815
2382
  path: string;
2816
- }, {
2817
2383
  type: "relative";
2384
+ }, {
2818
2385
  path: string;
2386
+ type: "relative";
2819
2387
  }>, z.ZodObject<{
2820
2388
  type: z.ZodLiteral<"absolute-file">;
2821
2389
  file: z.ZodString;
@@ -2835,13 +2403,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2835
2403
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2836
2404
  title: z.ZodString;
2837
2405
  description: z.ZodString;
2838
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2839
- type: "relative";
2840
- path: string;
2841
- } | {
2842
- type: "explicit-string";
2843
- content: string;
2844
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2406
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2845
2407
  type: z.ZodLiteral<"explicit-string">;
2846
2408
  content: z.ZodString;
2847
2409
  }, "strict", ZodTypeAny, {
@@ -2854,11 +2416,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2854
2416
  type: z.ZodLiteral<"relative">;
2855
2417
  path: z.ZodString;
2856
2418
  }, "strict", ZodTypeAny, {
2857
- type: "relative";
2858
2419
  path: string;
2859
- }, {
2860
2420
  type: "relative";
2421
+ }, {
2861
2422
  path: string;
2423
+ type: "relative";
2862
2424
  }>, z.ZodObject<{
2863
2425
  type: z.ZodLiteral<"absolute-file">;
2864
2426
  file: z.ZodString;
@@ -2869,13 +2431,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2869
2431
  type: "absolute-file";
2870
2432
  file: string;
2871
2433
  }>]>]>>;
2872
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2873
- type: "relative";
2874
- path: string;
2875
- } | {
2876
- type: "explicit-string";
2877
- content: string;
2878
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2434
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2879
2435
  type: z.ZodLiteral<"explicit-string">;
2880
2436
  content: z.ZodString;
2881
2437
  }, "strict", ZodTypeAny, {
@@ -2888,11 +2444,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2888
2444
  type: z.ZodLiteral<"relative">;
2889
2445
  path: z.ZodString;
2890
2446
  }, "strict", ZodTypeAny, {
2891
- type: "relative";
2892
2447
  path: string;
2893
- }, {
2894
2448
  type: "relative";
2449
+ }, {
2895
2450
  path: string;
2451
+ type: "relative";
2896
2452
  }>, z.ZodObject<{
2897
2453
  type: z.ZodLiteral<"absolute-file">;
2898
2454
  file: z.ZodString;
@@ -2903,34 +2459,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2903
2459
  type: "absolute-file";
2904
2460
  file: string;
2905
2461
  }>]>]>>;
2906
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2907
- type: "relative";
2908
- path: string;
2909
- } | {
2910
- type: "explicit-base64";
2911
- content: string;
2912
- mimeType: string;
2913
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2462
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2914
2463
  type: z.ZodLiteral<"explicit-base64">;
2915
2464
  mimeType: z.ZodString;
2916
2465
  content: z.ZodString;
2917
2466
  }, "strict", ZodTypeAny, {
2918
2467
  type: "explicit-base64";
2919
- content: string;
2920
2468
  mimeType: string;
2469
+ content: string;
2921
2470
  }, {
2922
2471
  type: "explicit-base64";
2923
- content: string;
2924
2472
  mimeType: string;
2473
+ content: string;
2925
2474
  }>, z.ZodObject<{
2926
2475
  type: z.ZodLiteral<"relative">;
2927
2476
  path: z.ZodString;
2928
2477
  }, "strict", ZodTypeAny, {
2929
- type: "relative";
2930
2478
  path: string;
2931
- }, {
2932
2479
  type: "relative";
2480
+ }, {
2933
2481
  path: string;
2482
+ type: "relative";
2934
2483
  }>, z.ZodObject<{
2935
2484
  type: z.ZodLiteral<"absolute-file">;
2936
2485
  file: z.ZodString;
@@ -2948,34 +2497,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2948
2497
  organization: z.ZodObject<{
2949
2498
  name: z.ZodString;
2950
2499
  url: z.ZodString;
2951
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2952
- type: "relative";
2953
- path: string;
2954
- } | {
2955
- type: "explicit-base64";
2956
- content: string;
2957
- mimeType: string;
2958
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2500
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2959
2501
  type: z.ZodLiteral<"explicit-base64">;
2960
2502
  mimeType: z.ZodString;
2961
2503
  content: z.ZodString;
2962
2504
  }, "strict", ZodTypeAny, {
2963
2505
  type: "explicit-base64";
2964
- content: string;
2965
2506
  mimeType: string;
2507
+ content: string;
2966
2508
  }, {
2967
2509
  type: "explicit-base64";
2968
- content: string;
2969
2510
  mimeType: string;
2511
+ content: string;
2970
2512
  }>, z.ZodObject<{
2971
2513
  type: z.ZodLiteral<"relative">;
2972
2514
  path: z.ZodString;
2973
2515
  }, "strict", ZodTypeAny, {
2974
- type: "relative";
2975
2516
  path: string;
2976
- }, {
2977
2517
  type: "relative";
2518
+ }, {
2978
2519
  path: string;
2520
+ type: "relative";
2979
2521
  }>, z.ZodObject<{
2980
2522
  type: z.ZodLiteral<"absolute-file">;
2981
2523
  file: z.ZodString;
@@ -2989,34 +2531,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
2989
2531
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
2990
2532
  name: z.ZodString;
2991
2533
  url: z.ZodString;
2992
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
2993
- type: "relative";
2994
- path: string;
2995
- } | {
2996
- type: "explicit-base64";
2997
- content: string;
2998
- mimeType: string;
2999
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2534
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3000
2535
  type: z.ZodLiteral<"explicit-base64">;
3001
2536
  mimeType: z.ZodString;
3002
2537
  content: z.ZodString;
3003
2538
  }, "strict", ZodTypeAny, {
3004
2539
  type: "explicit-base64";
3005
- content: string;
3006
2540
  mimeType: string;
2541
+ content: string;
3007
2542
  }, {
3008
2543
  type: "explicit-base64";
3009
- content: string;
3010
2544
  mimeType: string;
2545
+ content: string;
3011
2546
  }>, z.ZodObject<{
3012
2547
  type: z.ZodLiteral<"relative">;
3013
2548
  path: z.ZodString;
3014
2549
  }, "strict", ZodTypeAny, {
3015
- type: "relative";
3016
2550
  path: string;
3017
- }, {
3018
2551
  type: "relative";
2552
+ }, {
3019
2553
  path: string;
2554
+ type: "relative";
3020
2555
  }>, z.ZodObject<{
3021
2556
  type: z.ZodLiteral<"absolute-file">;
3022
2557
  file: z.ZodString;
@@ -3030,34 +2565,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3030
2565
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
3031
2566
  name: z.ZodString;
3032
2567
  url: z.ZodString;
3033
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3034
- type: "relative";
3035
- path: string;
3036
- } | {
3037
- type: "explicit-base64";
3038
- content: string;
3039
- mimeType: string;
3040
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2568
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3041
2569
  type: z.ZodLiteral<"explicit-base64">;
3042
2570
  mimeType: z.ZodString;
3043
2571
  content: z.ZodString;
3044
2572
  }, "strict", ZodTypeAny, {
3045
2573
  type: "explicit-base64";
3046
- content: string;
3047
2574
  mimeType: string;
2575
+ content: string;
3048
2576
  }, {
3049
2577
  type: "explicit-base64";
3050
- content: string;
3051
2578
  mimeType: string;
2579
+ content: string;
3052
2580
  }>, z.ZodObject<{
3053
2581
  type: z.ZodLiteral<"relative">;
3054
2582
  path: z.ZodString;
3055
2583
  }, "strict", ZodTypeAny, {
3056
- type: "relative";
3057
2584
  path: string;
3058
- }, {
3059
2585
  type: "relative";
2586
+ }, {
3060
2587
  path: string;
2588
+ type: "relative";
3061
2589
  }>, z.ZodObject<{
3062
2590
  type: z.ZodLiteral<"absolute-file">;
3063
2591
  file: z.ZodString;
@@ -3077,13 +2605,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3077
2605
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
3078
2606
  title: z.ZodString;
3079
2607
  description: z.ZodString;
3080
- longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3081
- type: "relative";
3082
- path: string;
3083
- } | {
3084
- type: "explicit-string";
3085
- content: string;
3086
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2608
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3087
2609
  type: z.ZodLiteral<"explicit-string">;
3088
2610
  content: z.ZodString;
3089
2611
  }, "strict", ZodTypeAny, {
@@ -3096,11 +2618,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3096
2618
  type: z.ZodLiteral<"relative">;
3097
2619
  path: z.ZodString;
3098
2620
  }, "strict", ZodTypeAny, {
3099
- type: "relative";
3100
2621
  path: string;
3101
- }, {
3102
2622
  type: "relative";
2623
+ }, {
3103
2624
  path: string;
2625
+ type: "relative";
3104
2626
  }>, z.ZodObject<{
3105
2627
  type: z.ZodLiteral<"absolute-file">;
3106
2628
  file: z.ZodString;
@@ -3111,13 +2633,7 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3111
2633
  type: "absolute-file";
3112
2634
  file: string;
3113
2635
  }>]>]>>;
3114
- changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3115
- type: "relative";
3116
- path: string;
3117
- } | {
3118
- type: "explicit-string";
3119
- content: string;
3120
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2636
+ changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeText, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3121
2637
  type: z.ZodLiteral<"explicit-string">;
3122
2638
  content: z.ZodString;
3123
2639
  }, "strict", ZodTypeAny, {
@@ -3130,11 +2646,11 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3130
2646
  type: z.ZodLiteral<"relative">;
3131
2647
  path: z.ZodString;
3132
2648
  }, "strict", ZodTypeAny, {
3133
- type: "relative";
3134
2649
  path: string;
3135
- }, {
3136
2650
  type: "relative";
2651
+ }, {
3137
2652
  path: string;
2653
+ type: "relative";
3138
2654
  }>, z.ZodObject<{
3139
2655
  type: z.ZodLiteral<"absolute-file">;
3140
2656
  file: z.ZodString;
@@ -3145,34 +2661,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3145
2661
  type: "absolute-file";
3146
2662
  file: string;
3147
2663
  }>]>]>>;
3148
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3149
- type: "relative";
3150
- path: string;
3151
- } | {
3152
- type: "explicit-base64";
3153
- content: string;
3154
- mimeType: string;
3155
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2664
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3156
2665
  type: z.ZodLiteral<"explicit-base64">;
3157
2666
  mimeType: z.ZodString;
3158
2667
  content: z.ZodString;
3159
2668
  }, "strict", ZodTypeAny, {
3160
2669
  type: "explicit-base64";
3161
- content: string;
3162
2670
  mimeType: string;
2671
+ content: string;
3163
2672
  }, {
3164
2673
  type: "explicit-base64";
3165
- content: string;
3166
2674
  mimeType: string;
2675
+ content: string;
3167
2676
  }>, z.ZodObject<{
3168
2677
  type: z.ZodLiteral<"relative">;
3169
2678
  path: z.ZodString;
3170
2679
  }, "strict", ZodTypeAny, {
3171
- type: "relative";
3172
2680
  path: string;
3173
- }, {
3174
2681
  type: "relative";
2682
+ }, {
3175
2683
  path: string;
2684
+ type: "relative";
3176
2685
  }>, z.ZodObject<{
3177
2686
  type: z.ZodLiteral<"absolute-file">;
3178
2687
  file: z.ZodString;
@@ -3190,34 +2699,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3190
2699
  organization: z.ZodObject<{
3191
2700
  name: z.ZodString;
3192
2701
  url: z.ZodString;
3193
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3194
- type: "relative";
3195
- path: string;
3196
- } | {
3197
- type: "explicit-base64";
3198
- content: string;
3199
- mimeType: string;
3200
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2702
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3201
2703
  type: z.ZodLiteral<"explicit-base64">;
3202
2704
  mimeType: z.ZodString;
3203
2705
  content: z.ZodString;
3204
2706
  }, "strict", ZodTypeAny, {
3205
2707
  type: "explicit-base64";
3206
- content: string;
3207
2708
  mimeType: string;
2709
+ content: string;
3208
2710
  }, {
3209
2711
  type: "explicit-base64";
3210
- content: string;
3211
2712
  mimeType: string;
2713
+ content: string;
3212
2714
  }>, z.ZodObject<{
3213
2715
  type: z.ZodLiteral<"relative">;
3214
2716
  path: z.ZodString;
3215
2717
  }, "strict", ZodTypeAny, {
3216
- type: "relative";
3217
2718
  path: string;
3218
- }, {
3219
2719
  type: "relative";
2720
+ }, {
3220
2721
  path: string;
2722
+ type: "relative";
3221
2723
  }>, z.ZodObject<{
3222
2724
  type: z.ZodLiteral<"absolute-file">;
3223
2725
  file: z.ZodString;
@@ -3231,34 +2733,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3231
2733
  }, "passthrough", ZodTypeAny, z.objectOutputType<{
3232
2734
  name: z.ZodString;
3233
2735
  url: z.ZodString;
3234
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3235
- type: "relative";
3236
- path: string;
3237
- } | {
3238
- type: "explicit-base64";
3239
- content: string;
3240
- mimeType: string;
3241
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2736
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3242
2737
  type: z.ZodLiteral<"explicit-base64">;
3243
2738
  mimeType: z.ZodString;
3244
2739
  content: z.ZodString;
3245
2740
  }, "strict", ZodTypeAny, {
3246
2741
  type: "explicit-base64";
3247
- content: string;
3248
2742
  mimeType: string;
2743
+ content: string;
3249
2744
  }, {
3250
2745
  type: "explicit-base64";
3251
- content: string;
3252
2746
  mimeType: string;
2747
+ content: string;
3253
2748
  }>, z.ZodObject<{
3254
2749
  type: z.ZodLiteral<"relative">;
3255
2750
  path: z.ZodString;
3256
2751
  }, "strict", ZodTypeAny, {
3257
- type: "relative";
3258
2752
  path: string;
3259
- }, {
3260
2753
  type: "relative";
2754
+ }, {
3261
2755
  path: string;
2756
+ type: "relative";
3262
2757
  }>, z.ZodObject<{
3263
2758
  type: z.ZodLiteral<"absolute-file">;
3264
2759
  file: z.ZodString;
@@ -3272,34 +2767,27 @@ declare const BlockPackDescriptionRaw: z.ZodObject<{
3272
2767
  }, ZodTypeAny, "passthrough">, z.objectInputType<{
3273
2768
  name: z.ZodString;
3274
2769
  url: z.ZodString;
3275
- logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
3276
- type: "relative";
3277
- path: string;
3278
- } | {
3279
- type: "explicit-base64";
3280
- content: string;
3281
- mimeType: string;
3282
- }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2770
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, ContentRelativeBinary, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3283
2771
  type: z.ZodLiteral<"explicit-base64">;
3284
2772
  mimeType: z.ZodString;
3285
2773
  content: z.ZodString;
3286
2774
  }, "strict", ZodTypeAny, {
3287
2775
  type: "explicit-base64";
3288
- content: string;
3289
2776
  mimeType: string;
2777
+ content: string;
3290
2778
  }, {
3291
2779
  type: "explicit-base64";
3292
- content: string;
3293
2780
  mimeType: string;
2781
+ content: string;
3294
2782
  }>, z.ZodObject<{
3295
2783
  type: z.ZodLiteral<"relative">;
3296
2784
  path: z.ZodString;
3297
2785
  }, "strict", ZodTypeAny, {
3298
- type: "relative";
3299
2786
  path: string;
3300
- }, {
3301
2787
  type: "relative";
2788
+ }, {
3302
2789
  path: string;
2790
+ type: "relative";
3303
2791
  }>, z.ZodObject<{
3304
2792
  type: z.ZodLiteral<"absolute-file">;
3305
2793
  file: z.ZodString;
@@ -3324,5 +2812,5 @@ declare function overrideDescriptionVersion<T extends {
3324
2812
  id: BlockPackId;
3325
2813
  }>(manifest: T, newVersion: string): T;
3326
2814
  //#endregion
3327
- export { BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionRaw, CreateBlockPackDescriptionSchema, FeatureFlags, overrideDescriptionVersion };
2815
+ export { BlockPackDescription, BlockPackDescriptionFromPackageJsonRaw, BlockPackDescriptionRaw, CreateBlockPackDescriptionSchema, FeatureFlags, overrideDescriptionVersion };
3328
2816
  //# sourceMappingURL=block_description.d.ts.map