@milaboratories/pl-model-middle-layer 1.2.16 → 1.2.18

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 (58) hide show
  1. package/dist/author_marker.d.ts +10 -0
  2. package/dist/author_marker.d.ts.map +1 -0
  3. package/dist/block_meta/block_components.d.ts +277 -0
  4. package/dist/block_meta/block_components.d.ts.map +1 -0
  5. package/dist/block_meta/block_pack_id.d.ts +29 -0
  6. package/dist/block_meta/block_pack_id.d.ts.map +1 -0
  7. package/dist/block_meta/common.d.ts +3 -0
  8. package/dist/block_meta/common.d.ts.map +1 -0
  9. package/dist/block_meta/content_conversion.d.ts +3 -0
  10. package/dist/block_meta/content_conversion.d.ts.map +1 -0
  11. package/dist/block_meta/content_types.d.ts +478 -0
  12. package/dist/block_meta/content_types.d.ts.map +1 -0
  13. package/dist/block_meta/index.d.ts +1669 -0
  14. package/dist/block_meta/index.d.ts.map +1 -0
  15. package/dist/block_meta/meta.d.ts +656 -0
  16. package/dist/block_meta/meta.d.ts.map +1 -0
  17. package/dist/block_meta/semver.d.ts +3 -0
  18. package/dist/block_meta/semver.d.ts.map +1 -0
  19. package/dist/block_pack.d.ts +24 -0
  20. package/dist/block_pack.d.ts.map +1 -0
  21. package/dist/block_state.d.ts +9 -0
  22. package/dist/block_state.d.ts.map +1 -0
  23. package/dist/index.d.ts +9 -0
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +1 -209
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +213 -0
  28. package/dist/index.mjs.map +1 -0
  29. package/dist/pframe/index.d.ts +2 -0
  30. package/dist/pframe/index.d.ts.map +1 -0
  31. package/dist/pframe/internal_api/api_factory.d.ts +52 -0
  32. package/dist/pframe/internal_api/api_factory.d.ts.map +1 -0
  33. package/dist/pframe/internal_api/api_read.d.ts +28 -0
  34. package/dist/pframe/internal_api/api_read.d.ts.map +1 -0
  35. package/dist/pframe/internal_api/common.d.ts +19 -0
  36. package/dist/pframe/internal_api/common.d.ts.map +1 -0
  37. package/dist/pframe/internal_api/create_table.d.ts +26 -0
  38. package/dist/pframe/internal_api/create_table.d.ts.map +1 -0
  39. package/dist/pframe/internal_api/delete_column.d.ts +10 -0
  40. package/dist/pframe/internal_api/delete_column.d.ts.map +1 -0
  41. package/dist/pframe/internal_api/find_columns.d.ts +23 -0
  42. package/dist/pframe/internal_api/find_columns.d.ts.map +1 -0
  43. package/dist/pframe/internal_api/index.d.ts +9 -0
  44. package/dist/pframe/internal_api/index.d.ts.map +1 -0
  45. package/dist/pframe/internal_api/pframe.d.ts +4 -0
  46. package/dist/pframe/internal_api/pframe.d.ts.map +1 -0
  47. package/dist/pframe/internal_api/table.d.ts +37 -0
  48. package/dist/pframe/internal_api/table.d.ts.map +1 -0
  49. package/dist/project.d.ts +5 -0
  50. package/dist/project.d.ts.map +1 -0
  51. package/dist/project_list.d.ts +17 -0
  52. package/dist/project_list.d.ts.map +1 -0
  53. package/dist/project_overview.d.ts +103 -0
  54. package/dist/project_overview.d.ts.map +1 -0
  55. package/package.json +13 -10
  56. package/src/block_meta/index.ts +27 -21
  57. package/dist/index.cjs +0 -249
  58. package/dist/index.cjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/block_meta/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAU,CAAC,EAAE,MAAM,KAAK,CAAC;AAK5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AAEzB,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
@@ -0,0 +1,656 @@
1
+ import { z } from 'zod';
2
+ export declare function BlockPackMeta<const LongStringType extends z.ZodTypeAny, const BinaryType extends z.ZodTypeAny>(longString: LongStringType, binary: BinaryType): z.ZodObject<{
3
+ title: z.ZodString;
4
+ description: z.ZodString;
5
+ longDescription: z.ZodOptional<LongStringType>;
6
+ logo: z.ZodOptional<BinaryType>;
7
+ url: z.ZodOptional<z.ZodString>;
8
+ docs: z.ZodOptional<z.ZodString>;
9
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
10
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11
+ organization: z.ZodObject<{
12
+ name: z.ZodString;
13
+ url: z.ZodString;
14
+ logo: z.ZodOptional<BinaryType>;
15
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
16
+ name: z.ZodString;
17
+ url: z.ZodString;
18
+ logo: z.ZodOptional<BinaryType>;
19
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
20
+ name: z.ZodString;
21
+ url: z.ZodString;
22
+ logo: z.ZodOptional<BinaryType>;
23
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
24
+ name: z.ZodString;
25
+ url: z.ZodString;
26
+ logo: z.ZodOptional<BinaryType>;
27
+ }>]: z.baseObjectInputType<{
28
+ name: z.ZodString;
29
+ url: z.ZodString;
30
+ logo: z.ZodOptional<BinaryType>;
31
+ }>[k_1]; }>;
32
+ }, "strip", z.ZodTypeAny, { [k_2 in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
33
+ title: z.ZodString;
34
+ description: z.ZodString;
35
+ longDescription: z.ZodOptional<LongStringType>;
36
+ logo: z.ZodOptional<BinaryType>;
37
+ url: z.ZodOptional<z.ZodString>;
38
+ docs: z.ZodOptional<z.ZodString>;
39
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
40
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41
+ organization: z.ZodObject<{
42
+ name: z.ZodString;
43
+ url: z.ZodString;
44
+ logo: z.ZodOptional<BinaryType>;
45
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
46
+ name: z.ZodString;
47
+ url: z.ZodString;
48
+ logo: z.ZodOptional<BinaryType>;
49
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
50
+ name: z.ZodString;
51
+ url: z.ZodString;
52
+ logo: z.ZodOptional<BinaryType>;
53
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
54
+ name: z.ZodString;
55
+ url: z.ZodString;
56
+ logo: z.ZodOptional<BinaryType>;
57
+ }>]: z.baseObjectInputType<{
58
+ name: z.ZodString;
59
+ url: z.ZodString;
60
+ logo: z.ZodOptional<BinaryType>;
61
+ }>[k_1]; }>;
62
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
63
+ title: z.ZodString;
64
+ description: z.ZodString;
65
+ longDescription: z.ZodOptional<LongStringType>;
66
+ logo: z.ZodOptional<BinaryType>;
67
+ url: z.ZodOptional<z.ZodString>;
68
+ docs: z.ZodOptional<z.ZodString>;
69
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
70
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
71
+ organization: z.ZodObject<{
72
+ name: z.ZodString;
73
+ url: z.ZodString;
74
+ logo: z.ZodOptional<BinaryType>;
75
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
76
+ name: z.ZodString;
77
+ url: z.ZodString;
78
+ logo: z.ZodOptional<BinaryType>;
79
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
80
+ name: z.ZodString;
81
+ url: z.ZodString;
82
+ logo: z.ZodOptional<BinaryType>;
83
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
84
+ name: z.ZodString;
85
+ url: z.ZodString;
86
+ logo: z.ZodOptional<BinaryType>;
87
+ }>]: z.baseObjectInputType<{
88
+ name: z.ZodString;
89
+ url: z.ZodString;
90
+ logo: z.ZodOptional<BinaryType>;
91
+ }>[k_1]; }>;
92
+ }>, any>[k_2]; }, { [k_1_1 in keyof z.baseObjectInputType<{
93
+ title: z.ZodString;
94
+ description: z.ZodString;
95
+ longDescription: z.ZodOptional<LongStringType>;
96
+ logo: z.ZodOptional<BinaryType>;
97
+ url: z.ZodOptional<z.ZodString>;
98
+ docs: z.ZodOptional<z.ZodString>;
99
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
100
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
101
+ organization: z.ZodObject<{
102
+ name: z.ZodString;
103
+ url: z.ZodString;
104
+ logo: z.ZodOptional<BinaryType>;
105
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
106
+ name: z.ZodString;
107
+ url: z.ZodString;
108
+ logo: z.ZodOptional<BinaryType>;
109
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
110
+ name: z.ZodString;
111
+ url: z.ZodString;
112
+ logo: z.ZodOptional<BinaryType>;
113
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
114
+ name: z.ZodString;
115
+ url: z.ZodString;
116
+ logo: z.ZodOptional<BinaryType>;
117
+ }>]: z.baseObjectInputType<{
118
+ name: z.ZodString;
119
+ url: z.ZodString;
120
+ logo: z.ZodOptional<BinaryType>;
121
+ }>[k_1]; }>;
122
+ }>]: z.baseObjectInputType<{
123
+ title: z.ZodString;
124
+ description: z.ZodString;
125
+ longDescription: z.ZodOptional<LongStringType>;
126
+ logo: z.ZodOptional<BinaryType>;
127
+ url: z.ZodOptional<z.ZodString>;
128
+ docs: z.ZodOptional<z.ZodString>;
129
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
130
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
131
+ organization: z.ZodObject<{
132
+ name: z.ZodString;
133
+ url: z.ZodString;
134
+ logo: z.ZodOptional<BinaryType>;
135
+ }, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
136
+ name: z.ZodString;
137
+ url: z.ZodString;
138
+ logo: z.ZodOptional<BinaryType>;
139
+ }>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
140
+ name: z.ZodString;
141
+ url: z.ZodString;
142
+ logo: z.ZodOptional<BinaryType>;
143
+ }>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<{
144
+ name: z.ZodString;
145
+ url: z.ZodString;
146
+ logo: z.ZodOptional<BinaryType>;
147
+ }>]: z.baseObjectInputType<{
148
+ name: z.ZodString;
149
+ url: z.ZodString;
150
+ logo: z.ZodOptional<BinaryType>;
151
+ }>[k_1]; }>;
152
+ }>[k_1_1]; }>;
153
+ export declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
154
+ title: z.ZodString;
155
+ description: z.ZodString;
156
+ longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
157
+ type: "explicit-string";
158
+ content: string;
159
+ } | {
160
+ type: "relative";
161
+ path: string;
162
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
163
+ type: z.ZodLiteral<"explicit-string">;
164
+ content: z.ZodString;
165
+ }, "strict", z.ZodTypeAny, {
166
+ type: "explicit-string";
167
+ content: string;
168
+ }, {
169
+ type: "explicit-string";
170
+ content: string;
171
+ }>, z.ZodObject<{
172
+ type: z.ZodLiteral<"relative">;
173
+ path: z.ZodString;
174
+ }, "strict", z.ZodTypeAny, {
175
+ type: "relative";
176
+ path: string;
177
+ }, {
178
+ type: "relative";
179
+ path: string;
180
+ }>, z.ZodObject<{
181
+ type: z.ZodLiteral<"absolute-file">;
182
+ file: z.ZodString;
183
+ }, "strict", z.ZodTypeAny, {
184
+ type: "absolute-file";
185
+ file: string;
186
+ }, {
187
+ type: "absolute-file";
188
+ file: string;
189
+ }>]>]>>;
190
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
191
+ type: "explicit-base64";
192
+ content: string;
193
+ mimeType: string;
194
+ } | {
195
+ type: "relative";
196
+ path: string;
197
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
198
+ type: z.ZodLiteral<"explicit-base64">;
199
+ mimeType: z.ZodString;
200
+ content: z.ZodString;
201
+ }, "strict", z.ZodTypeAny, {
202
+ type: "explicit-base64";
203
+ content: string;
204
+ mimeType: string;
205
+ }, {
206
+ type: "explicit-base64";
207
+ content: string;
208
+ mimeType: string;
209
+ }>, z.ZodObject<{
210
+ type: z.ZodLiteral<"relative">;
211
+ path: z.ZodString;
212
+ }, "strict", z.ZodTypeAny, {
213
+ type: "relative";
214
+ path: string;
215
+ }, {
216
+ type: "relative";
217
+ path: string;
218
+ }>, z.ZodObject<{
219
+ type: z.ZodLiteral<"absolute-file">;
220
+ file: z.ZodString;
221
+ }, "strict", z.ZodTypeAny, {
222
+ type: "absolute-file";
223
+ file: string;
224
+ }, {
225
+ type: "absolute-file";
226
+ file: string;
227
+ }>]>]>>;
228
+ url: z.ZodOptional<z.ZodString>;
229
+ docs: z.ZodOptional<z.ZodString>;
230
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
231
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
232
+ organization: z.ZodObject<{
233
+ name: z.ZodString;
234
+ url: z.ZodString;
235
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
236
+ type: "explicit-base64";
237
+ content: string;
238
+ mimeType: string;
239
+ } | {
240
+ type: "relative";
241
+ path: string;
242
+ }, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
243
+ type: z.ZodLiteral<"explicit-base64">;
244
+ mimeType: z.ZodString;
245
+ content: z.ZodString;
246
+ }, "strict", z.ZodTypeAny, {
247
+ type: "explicit-base64";
248
+ content: string;
249
+ mimeType: string;
250
+ }, {
251
+ type: "explicit-base64";
252
+ content: string;
253
+ mimeType: string;
254
+ }>, z.ZodObject<{
255
+ type: z.ZodLiteral<"relative">;
256
+ path: z.ZodString;
257
+ }, "strict", z.ZodTypeAny, {
258
+ type: "relative";
259
+ path: string;
260
+ }, {
261
+ type: "relative";
262
+ path: string;
263
+ }>, z.ZodObject<{
264
+ type: z.ZodLiteral<"absolute-file">;
265
+ file: z.ZodString;
266
+ }, "strict", z.ZodTypeAny, {
267
+ type: "absolute-file";
268
+ file: string;
269
+ }, {
270
+ type: "absolute-file";
271
+ file: string;
272
+ }>]>]>>;
273
+ }, "strip", z.ZodTypeAny, {
274
+ url: string;
275
+ name: string;
276
+ logo?: {
277
+ type: "explicit-base64";
278
+ content: string;
279
+ mimeType: string;
280
+ } | {
281
+ type: "relative";
282
+ path: string;
283
+ } | {
284
+ type: "absolute-file";
285
+ file: string;
286
+ } | undefined;
287
+ }, {
288
+ url: string;
289
+ name: string;
290
+ logo?: string | {
291
+ type: "explicit-base64";
292
+ content: string;
293
+ mimeType: string;
294
+ } | {
295
+ type: "relative";
296
+ path: string;
297
+ } | {
298
+ type: "absolute-file";
299
+ file: string;
300
+ } | undefined;
301
+ }>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ organization: {
304
+ url: string;
305
+ name: string;
306
+ logo?: {
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
+ };
318
+ title: string;
319
+ description: string;
320
+ url?: string | undefined;
321
+ longDescription?: {
322
+ type: "explicit-string";
323
+ content: string;
324
+ } | {
325
+ type: "relative";
326
+ path: string;
327
+ } | {
328
+ type: "absolute-file";
329
+ file: string;
330
+ } | undefined;
331
+ logo?: {
332
+ type: "explicit-base64";
333
+ content: string;
334
+ mimeType: string;
335
+ } | {
336
+ type: "relative";
337
+ path: string;
338
+ } | {
339
+ type: "absolute-file";
340
+ file: string;
341
+ } | undefined;
342
+ docs?: string | undefined;
343
+ support?: string | undefined;
344
+ tags?: string[] | undefined;
345
+ }, {
346
+ organization: {
347
+ url: string;
348
+ name: string;
349
+ logo?: string | {
350
+ type: "explicit-base64";
351
+ content: string;
352
+ mimeType: string;
353
+ } | {
354
+ type: "relative";
355
+ path: string;
356
+ } | {
357
+ type: "absolute-file";
358
+ file: string;
359
+ } | undefined;
360
+ };
361
+ title: string;
362
+ description: string;
363
+ url?: string | undefined;
364
+ longDescription?: string | {
365
+ type: "explicit-string";
366
+ content: string;
367
+ } | {
368
+ type: "relative";
369
+ path: string;
370
+ } | {
371
+ type: "absolute-file";
372
+ file: string;
373
+ } | undefined;
374
+ logo?: string | {
375
+ type: "explicit-base64";
376
+ content: string;
377
+ mimeType: string;
378
+ } | {
379
+ type: "relative";
380
+ path: string;
381
+ } | {
382
+ type: "absolute-file";
383
+ file: string;
384
+ } | undefined;
385
+ docs?: string | undefined;
386
+ support?: string | undefined;
387
+ tags?: string[] | undefined;
388
+ }>;
389
+ export type BlockPackMetaDescriptionRaw = z.infer<typeof BlockPackMetaDescriptionRaw>;
390
+ export declare const BlockPackMetaManifest: z.ZodObject<{
391
+ title: z.ZodString;
392
+ description: z.ZodString;
393
+ longDescription: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
394
+ type: z.ZodLiteral<"explicit-string">;
395
+ content: z.ZodString;
396
+ }, "strict", z.ZodTypeAny, {
397
+ type: "explicit-string";
398
+ content: string;
399
+ }, {
400
+ type: "explicit-string";
401
+ content: string;
402
+ }>, z.ZodObject<{
403
+ type: z.ZodLiteral<"relative">;
404
+ path: z.ZodString;
405
+ }, "strict", z.ZodTypeAny, {
406
+ type: "relative";
407
+ path: string;
408
+ }, {
409
+ type: "relative";
410
+ path: string;
411
+ }>]>>;
412
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
413
+ type: z.ZodLiteral<"explicit-base64">;
414
+ mimeType: z.ZodString;
415
+ content: z.ZodString;
416
+ }, "strict", z.ZodTypeAny, {
417
+ type: "explicit-base64";
418
+ content: string;
419
+ mimeType: string;
420
+ }, {
421
+ type: "explicit-base64";
422
+ content: string;
423
+ mimeType: string;
424
+ }>, z.ZodObject<{
425
+ type: z.ZodLiteral<"relative">;
426
+ path: z.ZodString;
427
+ }, "strict", z.ZodTypeAny, {
428
+ type: "relative";
429
+ path: string;
430
+ }, {
431
+ type: "relative";
432
+ path: string;
433
+ }>]>>;
434
+ url: z.ZodOptional<z.ZodString>;
435
+ docs: z.ZodOptional<z.ZodString>;
436
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
437
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
438
+ organization: z.ZodObject<{
439
+ name: z.ZodString;
440
+ url: z.ZodString;
441
+ logo: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
442
+ type: z.ZodLiteral<"explicit-base64">;
443
+ mimeType: z.ZodString;
444
+ content: z.ZodString;
445
+ }, "strict", z.ZodTypeAny, {
446
+ type: "explicit-base64";
447
+ content: string;
448
+ mimeType: string;
449
+ }, {
450
+ type: "explicit-base64";
451
+ content: string;
452
+ mimeType: string;
453
+ }>, z.ZodObject<{
454
+ type: z.ZodLiteral<"relative">;
455
+ path: z.ZodString;
456
+ }, "strict", z.ZodTypeAny, {
457
+ type: "relative";
458
+ path: string;
459
+ }, {
460
+ type: "relative";
461
+ path: string;
462
+ }>]>>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ url: string;
465
+ name: string;
466
+ logo?: {
467
+ type: "explicit-base64";
468
+ content: string;
469
+ mimeType: string;
470
+ } | {
471
+ type: "relative";
472
+ path: string;
473
+ } | undefined;
474
+ }, {
475
+ url: string;
476
+ name: string;
477
+ logo?: {
478
+ type: "explicit-base64";
479
+ content: string;
480
+ mimeType: string;
481
+ } | {
482
+ type: "relative";
483
+ path: string;
484
+ } | undefined;
485
+ }>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ organization: {
488
+ url: string;
489
+ name: string;
490
+ logo?: {
491
+ type: "explicit-base64";
492
+ content: string;
493
+ mimeType: string;
494
+ } | {
495
+ type: "relative";
496
+ path: string;
497
+ } | undefined;
498
+ };
499
+ title: string;
500
+ description: string;
501
+ url?: string | undefined;
502
+ longDescription?: {
503
+ type: "explicit-string";
504
+ content: string;
505
+ } | {
506
+ type: "relative";
507
+ path: string;
508
+ } | undefined;
509
+ logo?: {
510
+ type: "explicit-base64";
511
+ content: string;
512
+ mimeType: string;
513
+ } | {
514
+ type: "relative";
515
+ path: string;
516
+ } | undefined;
517
+ docs?: string | undefined;
518
+ support?: string | undefined;
519
+ tags?: string[] | undefined;
520
+ }, {
521
+ organization: {
522
+ url: string;
523
+ name: string;
524
+ logo?: {
525
+ type: "explicit-base64";
526
+ content: string;
527
+ mimeType: string;
528
+ } | {
529
+ type: "relative";
530
+ path: string;
531
+ } | undefined;
532
+ };
533
+ title: string;
534
+ description: string;
535
+ url?: string | undefined;
536
+ longDescription?: {
537
+ type: "explicit-string";
538
+ content: string;
539
+ } | {
540
+ type: "relative";
541
+ path: string;
542
+ } | undefined;
543
+ logo?: {
544
+ type: "explicit-base64";
545
+ content: string;
546
+ mimeType: string;
547
+ } | {
548
+ type: "relative";
549
+ path: string;
550
+ } | undefined;
551
+ docs?: string | undefined;
552
+ support?: string | undefined;
553
+ tags?: string[] | undefined;
554
+ }>;
555
+ export type BlockPackMetaManifest = z.infer<typeof BlockPackMetaManifest>;
556
+ export declare const BlockPackMetaEmbeddedContent: z.ZodObject<{
557
+ title: z.ZodString;
558
+ description: z.ZodString;
559
+ longDescription: z.ZodOptional<z.ZodString>;
560
+ logo: z.ZodOptional<z.ZodObject<{
561
+ type: z.ZodLiteral<"explicit-base64">;
562
+ mimeType: z.ZodString;
563
+ content: z.ZodString;
564
+ }, "strict", z.ZodTypeAny, {
565
+ type: "explicit-base64";
566
+ content: string;
567
+ mimeType: string;
568
+ }, {
569
+ type: "explicit-base64";
570
+ content: string;
571
+ mimeType: string;
572
+ }>>;
573
+ url: z.ZodOptional<z.ZodString>;
574
+ docs: z.ZodOptional<z.ZodString>;
575
+ support: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodString]>>;
576
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
577
+ organization: z.ZodObject<{
578
+ name: z.ZodString;
579
+ url: z.ZodString;
580
+ logo: z.ZodOptional<z.ZodObject<{
581
+ type: z.ZodLiteral<"explicit-base64">;
582
+ mimeType: z.ZodString;
583
+ content: z.ZodString;
584
+ }, "strict", z.ZodTypeAny, {
585
+ type: "explicit-base64";
586
+ content: string;
587
+ mimeType: string;
588
+ }, {
589
+ type: "explicit-base64";
590
+ content: string;
591
+ mimeType: string;
592
+ }>>;
593
+ }, "strip", z.ZodTypeAny, {
594
+ url: string;
595
+ name: string;
596
+ logo?: {
597
+ type: "explicit-base64";
598
+ content: string;
599
+ mimeType: string;
600
+ } | undefined;
601
+ }, {
602
+ url: string;
603
+ name: string;
604
+ logo?: {
605
+ type: "explicit-base64";
606
+ content: string;
607
+ mimeType: string;
608
+ } | undefined;
609
+ }>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ organization: {
612
+ url: string;
613
+ name: string;
614
+ logo?: {
615
+ type: "explicit-base64";
616
+ content: string;
617
+ mimeType: string;
618
+ } | undefined;
619
+ };
620
+ title: string;
621
+ description: string;
622
+ url?: string | undefined;
623
+ longDescription?: string | undefined;
624
+ logo?: {
625
+ type: "explicit-base64";
626
+ content: string;
627
+ mimeType: string;
628
+ } | undefined;
629
+ docs?: string | undefined;
630
+ support?: string | undefined;
631
+ tags?: string[] | undefined;
632
+ }, {
633
+ organization: {
634
+ url: string;
635
+ name: string;
636
+ logo?: {
637
+ type: "explicit-base64";
638
+ content: string;
639
+ mimeType: string;
640
+ } | undefined;
641
+ };
642
+ title: string;
643
+ description: string;
644
+ url?: string | undefined;
645
+ longDescription?: string | undefined;
646
+ logo?: {
647
+ type: "explicit-base64";
648
+ content: string;
649
+ mimeType: string;
650
+ } | undefined;
651
+ docs?: string | undefined;
652
+ support?: string | undefined;
653
+ tags?: string[] | undefined;
654
+ }>;
655
+ export type BlockPackMetaEmbeddedContent = z.infer<typeof BlockPackMetaEmbeddedContent>;
656
+ //# sourceMappingURL=meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/block_meta/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,wBAAgB,aAAa,CAC3B,KAAK,CAAC,cAAc,SAAS,CAAC,CAAC,UAAU,EACzC,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,UAAU,EACrC,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB/C;AAGD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAGtF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGjC,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAG1E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ export declare const SemVer: z.ZodString;
3
+ //# sourceMappingURL=semver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"semver.d.ts","sourceRoot":"","sources":["../../src/block_meta/semver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,MAAM,aAKhB,CAAC"}
@@ -0,0 +1,24 @@
1
+ /** Block pack from local folder, to be used during block development. Legacy layout. */
2
+ export interface BlockPackDevV1 {
3
+ type: 'dev' | 'dev-v1';
4
+ folder: string;
5
+ mtime?: string;
6
+ }
7
+ /** Block pack from local folder, to be used during block development. New layout. */
8
+ export interface BlockPackDevV2 {
9
+ type: 'dev-v2';
10
+ folder: string;
11
+ mtime?: string;
12
+ }
13
+ /** Block pack from registry with version 1 layout, to be loaded directly
14
+ * from the client. */
15
+ export interface BlockPackFromRegistryV1 {
16
+ type: 'from-registry-v1';
17
+ registryUrl: string;
18
+ organization: string;
19
+ package: string;
20
+ version: string;
21
+ }
22
+ /** Information about block origin, can be used to instantiate new blocks */
23
+ export type BlockPackSpec = BlockPackDevV1 | BlockPackDevV2 | BlockPackFromRegistryV1;
24
+ //# sourceMappingURL=block_pack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block_pack.d.ts","sourceRoot":"","sources":["../src/block_pack.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,KAAK,GAAG,QAAQ,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qFAAqF;AACrF,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;sBACsB;AACtB,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,kBAAkB,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,4EAA4E;AAC5E,MAAM,MAAM,aAAa,GACrB,cAAc,GACd,cAAc,GACd,uBAAuB,CAAC"}