@platforma-sdk/block-tools 2.1.5 → 2.1.6

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 (100) hide show
  1. package/dist/cli.js +1 -756
  2. package/dist/cli.js.map +1 -1
  3. package/dist/cli.mjs +187 -0
  4. package/dist/cli.mjs.map +1 -0
  5. package/dist/cmd/build-meta.d.ts +10 -0
  6. package/dist/cmd/build-meta.d.ts.map +1 -0
  7. package/dist/cmd/build-model.d.ts +11 -0
  8. package/dist/cmd/build-model.d.ts.map +1 -0
  9. package/dist/cmd/index.d.ts +11 -0
  10. package/dist/cmd/index.d.ts.map +1 -0
  11. package/dist/cmd/pack-block.d.ts +10 -0
  12. package/dist/cmd/pack-block.d.ts.map +1 -0
  13. package/dist/cmd/upload-package-v1.d.ts +15 -0
  14. package/dist/cmd/upload-package-v1.d.ts.map +1 -0
  15. package/dist/common_types.d.ts +3 -0
  16. package/dist/common_types.d.ts.map +1 -0
  17. package/dist/config-BJognM_j.mjs +536 -0
  18. package/dist/config-BJognM_j.mjs.map +1 -0
  19. package/dist/config-CfA0Dj6h.js +3 -0
  20. package/dist/config-CfA0Dj6h.js.map +1 -0
  21. package/dist/index.js +2 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/index.mjs +43 -0
  24. package/dist/index.mjs.map +1 -0
  25. package/dist/lib/storage.d.ts +29 -0
  26. package/dist/lib/storage.d.ts.map +1 -0
  27. package/dist/lib.d.ts +3 -2637
  28. package/dist/lib.d.ts.map +1 -0
  29. package/dist/registry_v1/config.d.ts +12 -0
  30. package/dist/registry_v1/config.d.ts.map +1 -0
  31. package/dist/registry_v1/config_schema.d.ts +94 -0
  32. package/dist/registry_v1/config_schema.d.ts.map +1 -0
  33. package/dist/registry_v1/flags.d.ts +9 -0
  34. package/dist/registry_v1/flags.d.ts.map +1 -0
  35. package/dist/registry_v1/index.d.ts +4 -0
  36. package/dist/registry_v1/index.d.ts.map +1 -0
  37. package/dist/registry_v1/registry.d.ts +46 -0
  38. package/dist/registry_v1/registry.d.ts.map +1 -0
  39. package/dist/registry_v1/v1_repo_schema.d.ts +25 -0
  40. package/dist/registry_v1/v1_repo_schema.d.ts.map +1 -0
  41. package/dist/util.d.ts +4 -0
  42. package/dist/util.d.ts.map +1 -0
  43. package/dist/v2/build_dist.d.ts +3 -0
  44. package/dist/v2/build_dist.d.ts.map +1 -0
  45. package/dist/v2/index.d.ts +4 -0
  46. package/dist/v2/index.d.ts.map +1 -0
  47. package/dist/v2/model/block_components.d.ts +384 -0
  48. package/dist/v2/model/block_components.d.ts.map +1 -0
  49. package/dist/v2/model/common.d.ts +3 -0
  50. package/dist/v2/model/common.d.ts.map +1 -0
  51. package/dist/v2/model/content_conversion.d.ts +35 -0
  52. package/dist/v2/model/content_conversion.d.ts.map +1 -0
  53. package/dist/v2/model/content_types.d.ts +478 -0
  54. package/dist/v2/model/content_types.d.ts.map +1 -0
  55. package/dist/{lib.d.cts → v2/model/index.d.ts} +449 -1005
  56. package/dist/v2/model/index.d.ts.map +1 -0
  57. package/dist/v2/model/meta.d.ts +805 -0
  58. package/dist/v2/model/meta.d.ts.map +1 -0
  59. package/dist/v2/registry/schema.d.ts +15 -0
  60. package/dist/v2/registry/schema.d.ts.map +1 -0
  61. package/dist/v2/source_package.d.ts +8 -0
  62. package/dist/v2/source_package.d.ts.map +1 -0
  63. package/package.json +21 -17
  64. package/src/cmd/build-meta.ts +38 -0
  65. package/src/cmd/build-model.ts +76 -0
  66. package/src/cmd/index.ts +12 -0
  67. package/src/cmd/pack-block.ts +32 -0
  68. package/src/cmd/upload-package-v1.ts +105 -0
  69. package/src/common_types.ts +3 -0
  70. package/src/lib/storage.test.ts +91 -0
  71. package/src/lib/storage.ts +140 -0
  72. package/src/lib.ts +2 -0
  73. package/src/registry_v1/config.ts +90 -0
  74. package/src/registry_v1/config_schema.ts +30 -0
  75. package/src/registry_v1/flags.ts +23 -0
  76. package/src/registry_v1/index.ts +3 -0
  77. package/src/registry_v1/registry.test.ts +122 -0
  78. package/src/registry_v1/registry.ts +253 -0
  79. package/src/registry_v1/v1_repo_schema.ts +42 -0
  80. package/src/util.ts +25 -0
  81. package/src/v2/build_dist.test.ts +16 -0
  82. package/src/v2/build_dist.ts +29 -0
  83. package/src/v2/index.ts +3 -0
  84. package/src/v2/model/block_components.ts +32 -0
  85. package/src/v2/model/common.ts +2 -0
  86. package/src/v2/model/content_conversion.ts +178 -0
  87. package/src/v2/model/content_types.ts +233 -0
  88. package/src/v2/model/index.ts +46 -0
  89. package/src/v2/model/meta.ts +36 -0
  90. package/src/v2/registry/schema.ts +29 -0
  91. package/src/v2/source_package.test.ts +27 -0
  92. package/src/v2/source_package.ts +82 -0
  93. package/dist/cli.cjs +0 -786
  94. package/dist/cli.cjs.map +0 -1
  95. package/dist/cli.d.cts +0 -58
  96. package/dist/cli.d.ts +0 -58
  97. package/dist/lib.cjs +0 -629
  98. package/dist/lib.cjs.map +0 -1
  99. package/dist/lib.js +0 -577
  100. package/dist/lib.js.map +0 -1
@@ -0,0 +1,805 @@
1
+ import { z } from 'zod';
2
+ export declare function BlockPackMetaDescription(root: string): z.ZodObject<{
3
+ title: z.ZodString;
4
+ description: z.ZodString;
5
+ longDescription: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
6
+ type: "explicit-string";
7
+ content: string;
8
+ } | {
9
+ type: "relative";
10
+ path: string;
11
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12
+ type: z.ZodLiteral<"explicit-string">;
13
+ content: z.ZodString;
14
+ }, "strict", z.ZodTypeAny, {
15
+ type: "explicit-string";
16
+ content: string;
17
+ }, {
18
+ type: "explicit-string";
19
+ content: string;
20
+ }>, z.ZodObject<{
21
+ type: z.ZodLiteral<"relative">;
22
+ path: z.ZodString;
23
+ }, "strict", z.ZodTypeAny, {
24
+ type: "relative";
25
+ path: string;
26
+ }, {
27
+ type: "relative";
28
+ path: string;
29
+ }>, z.ZodObject<{
30
+ type: z.ZodLiteral<"absolute-file">;
31
+ file: z.ZodString;
32
+ }, "strict", z.ZodTypeAny, {
33
+ type: "absolute-file";
34
+ file: string;
35
+ }, {
36
+ type: "absolute-file";
37
+ file: string;
38
+ }>]>]>, {
39
+ type: "absolute-file";
40
+ file: string;
41
+ } | {
42
+ type: "explicit-string";
43
+ content: string;
44
+ } | {
45
+ type: "explicit-string";
46
+ content: string;
47
+ } | {
48
+ type: "absolute-file";
49
+ file: string;
50
+ }, string | {
51
+ type: "explicit-string";
52
+ content: string;
53
+ } | {
54
+ type: "relative";
55
+ path: string;
56
+ } | {
57
+ type: "absolute-file";
58
+ file: string;
59
+ }>>;
60
+ logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
61
+ type: "explicit-base64";
62
+ content: string;
63
+ mimeType: string;
64
+ } | {
65
+ type: "relative";
66
+ path: string;
67
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
68
+ type: z.ZodLiteral<"explicit-base64">;
69
+ mimeType: z.ZodString;
70
+ content: z.ZodString;
71
+ }, "strict", z.ZodTypeAny, {
72
+ type: "explicit-base64";
73
+ content: string;
74
+ mimeType: string;
75
+ }, {
76
+ type: "explicit-base64";
77
+ content: string;
78
+ mimeType: string;
79
+ }>, z.ZodObject<{
80
+ type: z.ZodLiteral<"relative">;
81
+ path: z.ZodString;
82
+ }, "strict", z.ZodTypeAny, {
83
+ type: "relative";
84
+ path: string;
85
+ }, {
86
+ type: "relative";
87
+ path: string;
88
+ }>, z.ZodObject<{
89
+ type: z.ZodLiteral<"absolute-file">;
90
+ file: z.ZodString;
91
+ }, "strict", z.ZodTypeAny, {
92
+ type: "absolute-file";
93
+ file: string;
94
+ }, {
95
+ type: "absolute-file";
96
+ file: string;
97
+ }>]>]>, {
98
+ type: "absolute-file";
99
+ file: string;
100
+ } | {
101
+ type: "explicit-base64";
102
+ content: string;
103
+ mimeType: string;
104
+ } | {
105
+ type: "explicit-base64";
106
+ content: string;
107
+ mimeType: string;
108
+ } | {
109
+ type: "absolute-file";
110
+ file: string;
111
+ }, string | {
112
+ type: "explicit-base64";
113
+ content: string;
114
+ mimeType: string;
115
+ } | {
116
+ type: "relative";
117
+ path: string;
118
+ } | {
119
+ type: "absolute-file";
120
+ file: string;
121
+ }>>;
122
+ url: z.ZodOptional<z.ZodString>;
123
+ docs: z.ZodOptional<z.ZodString>;
124
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
125
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
126
+ organization: z.ZodObject<{
127
+ name: z.ZodString;
128
+ url: z.ZodString;
129
+ logo: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodString, {
130
+ type: "explicit-base64";
131
+ content: string;
132
+ mimeType: string;
133
+ } | {
134
+ type: "relative";
135
+ path: string;
136
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
137
+ type: z.ZodLiteral<"explicit-base64">;
138
+ mimeType: z.ZodString;
139
+ content: z.ZodString;
140
+ }, "strict", z.ZodTypeAny, {
141
+ type: "explicit-base64";
142
+ content: string;
143
+ mimeType: string;
144
+ }, {
145
+ type: "explicit-base64";
146
+ content: string;
147
+ mimeType: string;
148
+ }>, z.ZodObject<{
149
+ type: z.ZodLiteral<"relative">;
150
+ path: z.ZodString;
151
+ }, "strict", z.ZodTypeAny, {
152
+ type: "relative";
153
+ path: string;
154
+ }, {
155
+ type: "relative";
156
+ path: string;
157
+ }>, z.ZodObject<{
158
+ type: z.ZodLiteral<"absolute-file">;
159
+ file: z.ZodString;
160
+ }, "strict", z.ZodTypeAny, {
161
+ type: "absolute-file";
162
+ file: string;
163
+ }, {
164
+ type: "absolute-file";
165
+ file: string;
166
+ }>]>]>, {
167
+ type: "absolute-file";
168
+ file: string;
169
+ } | {
170
+ type: "explicit-base64";
171
+ content: string;
172
+ mimeType: string;
173
+ } | {
174
+ type: "explicit-base64";
175
+ content: string;
176
+ mimeType: string;
177
+ } | {
178
+ type: "absolute-file";
179
+ file: string;
180
+ }, string | {
181
+ type: "explicit-base64";
182
+ content: string;
183
+ mimeType: string;
184
+ } | {
185
+ type: "relative";
186
+ path: string;
187
+ } | {
188
+ type: "absolute-file";
189
+ file: string;
190
+ }>>;
191
+ }, "strip", z.ZodTypeAny, {
192
+ url: string;
193
+ name: string;
194
+ logo?: {
195
+ type: "absolute-file";
196
+ file: string;
197
+ } | {
198
+ type: "explicit-base64";
199
+ content: string;
200
+ mimeType: string;
201
+ } | {
202
+ type: "explicit-base64";
203
+ content: string;
204
+ mimeType: string;
205
+ } | {
206
+ type: "absolute-file";
207
+ file: string;
208
+ } | undefined;
209
+ }, {
210
+ url: string;
211
+ name: string;
212
+ logo?: string | {
213
+ type: "explicit-base64";
214
+ content: string;
215
+ mimeType: string;
216
+ } | {
217
+ type: "relative";
218
+ path: string;
219
+ } | {
220
+ type: "absolute-file";
221
+ file: string;
222
+ } | undefined;
223
+ }>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ title: string;
226
+ description: string;
227
+ organization: {
228
+ url: string;
229
+ name: string;
230
+ logo?: {
231
+ type: "absolute-file";
232
+ file: string;
233
+ } | {
234
+ type: "explicit-base64";
235
+ content: string;
236
+ mimeType: string;
237
+ } | {
238
+ type: "explicit-base64";
239
+ content: string;
240
+ mimeType: string;
241
+ } | {
242
+ type: "absolute-file";
243
+ file: string;
244
+ } | undefined;
245
+ };
246
+ longDescription?: {
247
+ type: "absolute-file";
248
+ file: string;
249
+ } | {
250
+ type: "explicit-string";
251
+ content: string;
252
+ } | {
253
+ type: "explicit-string";
254
+ content: string;
255
+ } | {
256
+ type: "absolute-file";
257
+ file: string;
258
+ } | undefined;
259
+ logo?: {
260
+ type: "absolute-file";
261
+ file: string;
262
+ } | {
263
+ type: "explicit-base64";
264
+ content: string;
265
+ mimeType: string;
266
+ } | {
267
+ type: "explicit-base64";
268
+ content: string;
269
+ mimeType: string;
270
+ } | {
271
+ type: "absolute-file";
272
+ file: string;
273
+ } | undefined;
274
+ url?: string | undefined;
275
+ docs?: string | undefined;
276
+ support?: string | undefined;
277
+ tags?: string[] | undefined;
278
+ }, {
279
+ title: string;
280
+ description: string;
281
+ organization: {
282
+ url: string;
283
+ name: string;
284
+ logo?: string | {
285
+ type: "explicit-base64";
286
+ content: string;
287
+ mimeType: string;
288
+ } | {
289
+ type: "relative";
290
+ path: string;
291
+ } | {
292
+ type: "absolute-file";
293
+ file: string;
294
+ } | undefined;
295
+ };
296
+ longDescription?: string | {
297
+ type: "explicit-string";
298
+ content: string;
299
+ } | {
300
+ type: "relative";
301
+ path: string;
302
+ } | {
303
+ type: "absolute-file";
304
+ file: string;
305
+ } | undefined;
306
+ logo?: string | {
307
+ type: "explicit-base64";
308
+ content: string;
309
+ mimeType: string;
310
+ } | {
311
+ type: "relative";
312
+ path: string;
313
+ } | {
314
+ type: "absolute-file";
315
+ file: string;
316
+ } | undefined;
317
+ url?: string | undefined;
318
+ docs?: string | undefined;
319
+ support?: string | undefined;
320
+ tags?: string[] | undefined;
321
+ }>;
322
+ export type BlockPackMetaDescription = z.infer<ReturnType<typeof BlockPackMetaDescription>>;
323
+ export declare function BlockPackMetaConsolidate(dstFolder: string, fileAccumulator?: string[]): z.ZodObject<{
324
+ title: z.ZodString;
325
+ description: z.ZodString;
326
+ longDescription: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
327
+ type: z.ZodLiteral<"explicit-string">;
328
+ content: z.ZodString;
329
+ }, "strict", z.ZodTypeAny, {
330
+ type: "explicit-string";
331
+ content: string;
332
+ }, {
333
+ type: "explicit-string";
334
+ content: string;
335
+ }>, z.ZodObject<{
336
+ type: z.ZodLiteral<"absolute-file">;
337
+ file: z.ZodString;
338
+ }, "strict", z.ZodTypeAny, {
339
+ type: "absolute-file";
340
+ file: string;
341
+ }, {
342
+ type: "absolute-file";
343
+ file: string;
344
+ }>]>, {
345
+ type: "relative";
346
+ path: string;
347
+ } | {
348
+ type: "explicit-string";
349
+ content: string;
350
+ }, {
351
+ type: "explicit-string";
352
+ content: string;
353
+ } | {
354
+ type: "absolute-file";
355
+ file: string;
356
+ }>>;
357
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
358
+ type: z.ZodLiteral<"explicit-base64">;
359
+ mimeType: z.ZodString;
360
+ content: z.ZodString;
361
+ }, "strict", z.ZodTypeAny, {
362
+ type: "explicit-base64";
363
+ content: string;
364
+ mimeType: string;
365
+ }, {
366
+ type: "explicit-base64";
367
+ content: string;
368
+ mimeType: string;
369
+ }>, z.ZodObject<{
370
+ type: z.ZodLiteral<"absolute-file">;
371
+ file: z.ZodString;
372
+ }, "strict", z.ZodTypeAny, {
373
+ type: "absolute-file";
374
+ file: string;
375
+ }, {
376
+ type: "absolute-file";
377
+ file: string;
378
+ }>]>, {
379
+ type: "relative";
380
+ path: string;
381
+ } | {
382
+ type: "explicit-base64";
383
+ content: string;
384
+ mimeType: string;
385
+ }, {
386
+ type: "explicit-base64";
387
+ content: string;
388
+ mimeType: string;
389
+ } | {
390
+ type: "absolute-file";
391
+ file: string;
392
+ }>>;
393
+ url: z.ZodOptional<z.ZodString>;
394
+ docs: z.ZodOptional<z.ZodString>;
395
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
396
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
397
+ organization: z.ZodObject<{
398
+ name: z.ZodString;
399
+ url: z.ZodString;
400
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
401
+ type: z.ZodLiteral<"explicit-base64">;
402
+ mimeType: z.ZodString;
403
+ content: z.ZodString;
404
+ }, "strict", z.ZodTypeAny, {
405
+ type: "explicit-base64";
406
+ content: string;
407
+ mimeType: string;
408
+ }, {
409
+ type: "explicit-base64";
410
+ content: string;
411
+ mimeType: string;
412
+ }>, z.ZodObject<{
413
+ type: z.ZodLiteral<"absolute-file">;
414
+ file: z.ZodString;
415
+ }, "strict", z.ZodTypeAny, {
416
+ type: "absolute-file";
417
+ file: string;
418
+ }, {
419
+ type: "absolute-file";
420
+ file: string;
421
+ }>]>, {
422
+ type: "relative";
423
+ path: string;
424
+ } | {
425
+ type: "explicit-base64";
426
+ content: string;
427
+ mimeType: string;
428
+ }, {
429
+ type: "explicit-base64";
430
+ content: string;
431
+ mimeType: string;
432
+ } | {
433
+ type: "absolute-file";
434
+ file: string;
435
+ }>>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ url: string;
438
+ name: string;
439
+ logo?: {
440
+ type: "relative";
441
+ path: string;
442
+ } | {
443
+ type: "explicit-base64";
444
+ content: string;
445
+ mimeType: string;
446
+ } | undefined;
447
+ }, {
448
+ url: string;
449
+ name: string;
450
+ logo?: {
451
+ type: "explicit-base64";
452
+ content: string;
453
+ mimeType: string;
454
+ } | {
455
+ type: "absolute-file";
456
+ file: string;
457
+ } | undefined;
458
+ }>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ title: string;
461
+ description: string;
462
+ organization: {
463
+ url: string;
464
+ name: string;
465
+ logo?: {
466
+ type: "relative";
467
+ path: string;
468
+ } | {
469
+ type: "explicit-base64";
470
+ content: string;
471
+ mimeType: string;
472
+ } | undefined;
473
+ };
474
+ longDescription?: {
475
+ type: "relative";
476
+ path: string;
477
+ } | {
478
+ type: "explicit-string";
479
+ content: string;
480
+ } | undefined;
481
+ logo?: {
482
+ type: "relative";
483
+ path: string;
484
+ } | {
485
+ type: "explicit-base64";
486
+ content: string;
487
+ mimeType: string;
488
+ } | undefined;
489
+ url?: string | undefined;
490
+ docs?: string | undefined;
491
+ support?: string | undefined;
492
+ tags?: string[] | undefined;
493
+ }, {
494
+ title: string;
495
+ description: string;
496
+ organization: {
497
+ url: string;
498
+ name: string;
499
+ logo?: {
500
+ type: "explicit-base64";
501
+ content: string;
502
+ mimeType: string;
503
+ } | {
504
+ type: "absolute-file";
505
+ file: string;
506
+ } | undefined;
507
+ };
508
+ longDescription?: {
509
+ type: "explicit-string";
510
+ content: string;
511
+ } | {
512
+ type: "absolute-file";
513
+ file: string;
514
+ } | undefined;
515
+ logo?: {
516
+ type: "explicit-base64";
517
+ content: string;
518
+ mimeType: string;
519
+ } | {
520
+ type: "absolute-file";
521
+ file: string;
522
+ } | undefined;
523
+ url?: string | undefined;
524
+ docs?: string | undefined;
525
+ support?: string | undefined;
526
+ tags?: string[] | undefined;
527
+ }>;
528
+ export declare const BlockPackMetaEmbed: z.ZodPipeline<z.ZodObject<{
529
+ title: z.ZodString;
530
+ description: z.ZodString;
531
+ longDescription: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
532
+ type: z.ZodLiteral<"explicit-string">;
533
+ content: z.ZodString;
534
+ }, "strict", z.ZodTypeAny, {
535
+ type: "explicit-string";
536
+ content: string;
537
+ }, {
538
+ type: "explicit-string";
539
+ content: string;
540
+ }>, z.ZodObject<{
541
+ type: z.ZodLiteral<"absolute-file">;
542
+ file: z.ZodString;
543
+ }, "strict", z.ZodTypeAny, {
544
+ type: "absolute-file";
545
+ file: string;
546
+ }, {
547
+ type: "absolute-file";
548
+ file: string;
549
+ }>]>, string, {
550
+ type: "explicit-string";
551
+ content: string;
552
+ } | {
553
+ type: "absolute-file";
554
+ file: string;
555
+ }>>;
556
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
557
+ type: z.ZodLiteral<"explicit-base64">;
558
+ mimeType: z.ZodString;
559
+ content: z.ZodString;
560
+ }, "strict", z.ZodTypeAny, {
561
+ type: "explicit-base64";
562
+ content: string;
563
+ mimeType: string;
564
+ }, {
565
+ type: "explicit-base64";
566
+ content: string;
567
+ mimeType: string;
568
+ }>, z.ZodObject<{
569
+ type: z.ZodLiteral<"absolute-file">;
570
+ file: z.ZodString;
571
+ }, "strict", z.ZodTypeAny, {
572
+ type: "absolute-file";
573
+ file: string;
574
+ }, {
575
+ type: "absolute-file";
576
+ file: string;
577
+ }>]>, {
578
+ type: "explicit-base64";
579
+ content: string;
580
+ mimeType: string;
581
+ }, {
582
+ type: "explicit-base64";
583
+ content: string;
584
+ mimeType: string;
585
+ } | {
586
+ type: "absolute-file";
587
+ file: string;
588
+ }>>;
589
+ url: z.ZodOptional<z.ZodString>;
590
+ docs: z.ZodOptional<z.ZodString>;
591
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
592
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
593
+ organization: z.ZodObject<{
594
+ name: z.ZodString;
595
+ url: z.ZodString;
596
+ logo: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
597
+ type: z.ZodLiteral<"explicit-base64">;
598
+ mimeType: z.ZodString;
599
+ content: z.ZodString;
600
+ }, "strict", z.ZodTypeAny, {
601
+ type: "explicit-base64";
602
+ content: string;
603
+ mimeType: string;
604
+ }, {
605
+ type: "explicit-base64";
606
+ content: string;
607
+ mimeType: string;
608
+ }>, z.ZodObject<{
609
+ type: z.ZodLiteral<"absolute-file">;
610
+ file: z.ZodString;
611
+ }, "strict", z.ZodTypeAny, {
612
+ type: "absolute-file";
613
+ file: string;
614
+ }, {
615
+ type: "absolute-file";
616
+ file: string;
617
+ }>]>, {
618
+ type: "explicit-base64";
619
+ content: string;
620
+ mimeType: string;
621
+ }, {
622
+ type: "explicit-base64";
623
+ content: string;
624
+ mimeType: string;
625
+ } | {
626
+ type: "absolute-file";
627
+ file: string;
628
+ }>>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ url: string;
631
+ name: string;
632
+ logo?: {
633
+ type: "explicit-base64";
634
+ content: string;
635
+ mimeType: string;
636
+ } | undefined;
637
+ }, {
638
+ url: string;
639
+ name: string;
640
+ logo?: {
641
+ type: "explicit-base64";
642
+ content: string;
643
+ mimeType: string;
644
+ } | {
645
+ type: "absolute-file";
646
+ file: string;
647
+ } | undefined;
648
+ }>;
649
+ }, "strip", z.ZodTypeAny, {
650
+ title: string;
651
+ description: string;
652
+ organization: {
653
+ url: string;
654
+ name: string;
655
+ logo?: {
656
+ type: "explicit-base64";
657
+ content: string;
658
+ mimeType: string;
659
+ } | undefined;
660
+ };
661
+ longDescription?: string | undefined;
662
+ logo?: {
663
+ type: "explicit-base64";
664
+ content: string;
665
+ mimeType: string;
666
+ } | undefined;
667
+ url?: string | undefined;
668
+ docs?: string | undefined;
669
+ support?: string | undefined;
670
+ tags?: string[] | undefined;
671
+ }, {
672
+ title: string;
673
+ description: string;
674
+ organization: {
675
+ url: string;
676
+ name: string;
677
+ logo?: {
678
+ type: "explicit-base64";
679
+ content: string;
680
+ mimeType: string;
681
+ } | {
682
+ type: "absolute-file";
683
+ file: string;
684
+ } | undefined;
685
+ };
686
+ longDescription?: {
687
+ type: "explicit-string";
688
+ content: string;
689
+ } | {
690
+ type: "absolute-file";
691
+ file: string;
692
+ } | undefined;
693
+ logo?: {
694
+ type: "explicit-base64";
695
+ content: string;
696
+ mimeType: string;
697
+ } | {
698
+ type: "absolute-file";
699
+ file: string;
700
+ } | undefined;
701
+ url?: string | undefined;
702
+ docs?: string | undefined;
703
+ support?: string | undefined;
704
+ tags?: string[] | undefined;
705
+ }>, z.ZodObject<{
706
+ title: z.ZodString;
707
+ description: z.ZodString;
708
+ longDescription: z.ZodOptional<z.ZodString>;
709
+ logo: z.ZodOptional<z.ZodObject<{
710
+ type: z.ZodLiteral<"explicit-base64">;
711
+ mimeType: z.ZodString;
712
+ content: z.ZodString;
713
+ }, "strict", z.ZodTypeAny, {
714
+ type: "explicit-base64";
715
+ content: string;
716
+ mimeType: string;
717
+ }, {
718
+ type: "explicit-base64";
719
+ content: string;
720
+ mimeType: string;
721
+ }>>;
722
+ url: z.ZodOptional<z.ZodString>;
723
+ docs: z.ZodOptional<z.ZodString>;
724
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
725
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
726
+ organization: z.ZodObject<{
727
+ name: z.ZodString;
728
+ url: z.ZodString;
729
+ logo: z.ZodOptional<z.ZodObject<{
730
+ type: z.ZodLiteral<"explicit-base64">;
731
+ mimeType: z.ZodString;
732
+ content: z.ZodString;
733
+ }, "strict", z.ZodTypeAny, {
734
+ type: "explicit-base64";
735
+ content: string;
736
+ mimeType: string;
737
+ }, {
738
+ type: "explicit-base64";
739
+ content: string;
740
+ mimeType: string;
741
+ }>>;
742
+ }, "strip", z.ZodTypeAny, {
743
+ url: string;
744
+ name: string;
745
+ logo?: {
746
+ type: "explicit-base64";
747
+ content: string;
748
+ mimeType: string;
749
+ } | undefined;
750
+ }, {
751
+ url: string;
752
+ name: string;
753
+ logo?: {
754
+ type: "explicit-base64";
755
+ content: string;
756
+ mimeType: string;
757
+ } | undefined;
758
+ }>;
759
+ }, "strip", z.ZodTypeAny, {
760
+ organization: {
761
+ url: string;
762
+ name: string;
763
+ logo?: {
764
+ type: "explicit-base64";
765
+ content: string;
766
+ mimeType: string;
767
+ } | undefined;
768
+ };
769
+ title: string;
770
+ description: string;
771
+ url?: string | undefined;
772
+ longDescription?: string | undefined;
773
+ logo?: {
774
+ type: "explicit-base64";
775
+ content: string;
776
+ mimeType: string;
777
+ } | undefined;
778
+ docs?: string | undefined;
779
+ support?: string | undefined;
780
+ tags?: string[] | undefined;
781
+ }, {
782
+ organization: {
783
+ url: string;
784
+ name: string;
785
+ logo?: {
786
+ type: "explicit-base64";
787
+ content: string;
788
+ mimeType: string;
789
+ } | undefined;
790
+ };
791
+ title: string;
792
+ description: string;
793
+ url?: string | undefined;
794
+ longDescription?: string | undefined;
795
+ logo?: {
796
+ type: "explicit-base64";
797
+ content: string;
798
+ mimeType: string;
799
+ } | undefined;
800
+ docs?: string | undefined;
801
+ support?: string | undefined;
802
+ tags?: string[] | undefined;
803
+ }>>;
804
+ export type BlockPackMetaEmbed = z.infer<typeof BlockPackMetaEmbed>;
805
+ //# sourceMappingURL=meta.d.ts.map