@milaboratories/pl-model-middle-layer 1.19.4 → 1.21.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 (35) hide show
  1. package/dist/block_meta/block_components.d.ts +55 -55
  2. package/dist/block_meta/block_description.d.ts +2308 -834
  3. package/dist/block_meta/block_description.d.ts.map +1 -1
  4. package/dist/block_meta/block_id.d.ts +4 -4
  5. package/dist/block_meta/block_manifest.d.ts +5127 -2488
  6. package/dist/block_meta/block_manifest.d.ts.map +1 -1
  7. package/dist/block_meta/block_meta.cjs +3 -2
  8. package/dist/block_meta/block_meta.cjs.map +1 -1
  9. package/dist/block_meta/block_meta.d.ts +1065 -277
  10. package/dist/block_meta/block_meta.d.ts.map +1 -1
  11. package/dist/block_meta/block_meta.js +3 -2
  12. package/dist/block_meta/block_meta.js.map +1 -1
  13. package/dist/block_meta/content_types.d.ts +49 -49
  14. package/dist/block_registry/block_pack_spec.d.ts +16 -16
  15. package/dist/block_registry/overview.d.ts +9794 -5614
  16. package/dist/block_registry/overview.d.ts.map +1 -1
  17. package/dist/block_registry/registry_spec.d.ts +12 -12
  18. package/dist/pframe/internal_api/api_factory.cjs.map +1 -1
  19. package/dist/pframe/internal_api/api_factory.d.ts +36 -2
  20. package/dist/pframe/internal_api/api_factory.d.ts.map +1 -1
  21. package/dist/pframe/internal_api/api_factory.js.map +1 -1
  22. package/dist/pframe/internal_api/api_read.d.ts +40 -3
  23. package/dist/pframe/internal_api/api_read.d.ts.map +1 -1
  24. package/dist/pframe/internal_api/index.d.ts +5 -5
  25. package/dist/pframe/internal_api/pframe.d.ts +21 -3
  26. package/dist/pframe/internal_api/pframe.d.ts.map +1 -1
  27. package/dist/pframe/internal_api/table.d.ts +51 -1
  28. package/dist/pframe/internal_api/table.d.ts.map +1 -1
  29. package/package.json +2 -2
  30. package/src/block_meta/block_meta.test.ts +44 -0
  31. package/src/block_meta/block_meta.ts +57 -36
  32. package/src/pframe/internal_api/api_factory.ts +44 -0
  33. package/src/pframe/internal_api/api_read.ts +48 -1
  34. package/src/pframe/internal_api/pframe.ts +23 -2
  35. package/src/pframe/internal_api/table.ts +54 -0
@@ -157,52 +157,52 @@ declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
157
157
  content: z.ZodString;
158
158
  }, "strict", z.ZodTypeAny, {
159
159
  type: "explicit-base64";
160
- mimeType: string;
161
160
  content: string;
161
+ mimeType: string;
162
162
  }, {
163
163
  type: "explicit-base64";
164
- mimeType: string;
165
164
  content: string;
165
+ mimeType: string;
166
166
  }>, z.ZodObject<{
167
167
  type: z.ZodLiteral<"relative">;
168
168
  path: z.ZodString;
169
169
  }, "strict", z.ZodTypeAny, {
170
- path: string;
171
170
  type: "relative";
172
- }, {
173
171
  path: string;
172
+ }, {
174
173
  type: "relative";
174
+ path: string;
175
175
  }>]>, {
176
176
  type: "explicit-base64";
177
- mimeType: string;
178
177
  content: string;
178
+ mimeType: string;
179
179
  } | {
180
180
  type: "absolute-url";
181
181
  url: string;
182
182
  }, {
183
- path: string;
184
183
  type: "relative";
184
+ path: string;
185
185
  } | {
186
186
  type: "explicit-base64";
187
- mimeType: string;
188
187
  content: string;
188
+ mimeType: string;
189
189
  }>, {
190
190
  type: "workflow-v1";
191
191
  main: {
192
192
  type: "explicit-base64";
193
- mimeType: string;
194
193
  content: string;
194
+ mimeType: string;
195
195
  } | {
196
196
  type: "absolute-url";
197
197
  url: string;
198
198
  };
199
199
  }, {
200
- path: string;
201
200
  type: "relative";
201
+ path: string;
202
202
  } | {
203
203
  type: "explicit-base64";
204
- mimeType: string;
205
204
  content: string;
205
+ mimeType: string;
206
206
  }>, z.ZodObject<{
207
207
  type: z.ZodLiteral<"workflow-v1">;
208
208
  main: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -211,42 +211,42 @@ declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
211
211
  content: z.ZodString;
212
212
  }, "strict", z.ZodTypeAny, {
213
213
  type: "explicit-base64";
214
- mimeType: string;
215
214
  content: string;
215
+ mimeType: string;
216
216
  }, {
217
217
  type: "explicit-base64";
218
- mimeType: string;
219
218
  content: string;
219
+ mimeType: string;
220
220
  }>, z.ZodObject<{
221
221
  type: z.ZodLiteral<"relative">;
222
222
  path: z.ZodString;
223
223
  }, "strict", z.ZodTypeAny, {
224
- path: string;
225
224
  type: "relative";
226
- }, {
227
225
  path: string;
226
+ }, {
228
227
  type: "relative";
228
+ path: string;
229
229
  }>]>, {
230
230
  type: "explicit-base64";
231
- mimeType: string;
232
231
  content: string;
232
+ mimeType: string;
233
233
  } | {
234
234
  type: "absolute-url";
235
235
  url: string;
236
236
  }, {
237
- path: string;
238
237
  type: "relative";
238
+ path: string;
239
239
  } | {
240
240
  type: "explicit-base64";
241
- mimeType: string;
242
241
  content: string;
242
+ mimeType: string;
243
243
  }>;
244
244
  }, "strip", z.ZodTypeAny, {
245
245
  type: "workflow-v1";
246
246
  main: {
247
247
  type: "explicit-base64";
248
- mimeType: string;
249
248
  content: string;
249
+ mimeType: string;
250
250
  } | {
251
251
  type: "absolute-url";
252
252
  url: string;
@@ -254,12 +254,12 @@ declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
254
254
  }, {
255
255
  type: "workflow-v1";
256
256
  main: {
257
- path: string;
258
257
  type: "relative";
258
+ path: string;
259
259
  } | {
260
260
  type: "explicit-base64";
261
- mimeType: string;
262
261
  content: string;
262
+ mimeType: string;
263
263
  };
264
264
  }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
265
265
  type: z.ZodLiteral<"workflow-v1">;
@@ -269,42 +269,42 @@ declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
269
269
  content: z.ZodString;
270
270
  }, "strict", z.ZodTypeAny, {
271
271
  type: "explicit-base64";
272
- mimeType: string;
273
272
  content: string;
273
+ mimeType: string;
274
274
  }, {
275
275
  type: "explicit-base64";
276
- mimeType: string;
277
276
  content: string;
277
+ mimeType: string;
278
278
  }>, z.ZodObject<{
279
279
  type: z.ZodLiteral<"relative">;
280
280
  path: z.ZodString;
281
281
  }, "strict", z.ZodTypeAny, {
282
- path: string;
283
282
  type: "relative";
284
- }, {
285
283
  path: string;
284
+ }, {
286
285
  type: "relative";
286
+ path: string;
287
287
  }>]>, {
288
288
  type: "explicit-base64";
289
- mimeType: string;
290
289
  content: string;
290
+ mimeType: string;
291
291
  } | {
292
292
  type: "absolute-url";
293
293
  url: string;
294
294
  }, {
295
- path: string;
296
295
  type: "relative";
296
+ path: string;
297
297
  } | {
298
298
  type: "explicit-base64";
299
- mimeType: string;
300
299
  content: string;
300
+ mimeType: string;
301
301
  }>;
302
302
  }, "strip", z.ZodTypeAny, {
303
303
  type: "workflow-v1";
304
304
  main: {
305
305
  type: "explicit-base64";
306
- mimeType: string;
307
306
  content: string;
307
+ mimeType: string;
308
308
  } | {
309
309
  type: "absolute-url";
310
310
  url: string;
@@ -312,12 +312,12 @@ declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
312
312
  }, {
313
313
  type: "workflow-v1";
314
314
  main: {
315
- path: string;
316
315
  type: "relative";
316
+ path: string;
317
317
  } | {
318
318
  type: "explicit-base64";
319
- mimeType: string;
320
319
  content: string;
320
+ mimeType: string;
321
321
  };
322
322
  }>]>]>;
323
323
  model: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -326,35 +326,35 @@ declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
326
326
  content: z.ZodString;
327
327
  }, "strict", z.ZodTypeAny, {
328
328
  type: "explicit-base64";
329
- mimeType: string;
330
329
  content: string;
330
+ mimeType: string;
331
331
  }, {
332
332
  type: "explicit-base64";
333
- mimeType: string;
334
333
  content: string;
334
+ mimeType: string;
335
335
  }>, z.ZodObject<{
336
336
  type: z.ZodLiteral<"relative">;
337
337
  path: z.ZodString;
338
338
  }, "strict", z.ZodTypeAny, {
339
- path: string;
340
339
  type: "relative";
341
- }, {
342
340
  path: string;
341
+ }, {
343
342
  type: "relative";
343
+ path: string;
344
344
  }>]>, {
345
345
  type: "explicit-base64";
346
- mimeType: string;
347
346
  content: string;
347
+ mimeType: string;
348
348
  } | {
349
349
  type: "absolute-url";
350
350
  url: string;
351
351
  }, {
352
- path: string;
353
352
  type: "relative";
353
+ path: string;
354
354
  } | {
355
355
  type: "explicit-base64";
356
- mimeType: string;
357
356
  content: string;
357
+ mimeType: string;
358
358
  }>;
359
359
  ui: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
360
360
  type: z.ZodLiteral<"explicit-base64">;
@@ -362,43 +362,43 @@ declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
362
362
  content: z.ZodString;
363
363
  }, "strict", z.ZodTypeAny, {
364
364
  type: "explicit-base64";
365
- mimeType: string;
366
365
  content: string;
366
+ mimeType: string;
367
367
  }, {
368
368
  type: "explicit-base64";
369
- mimeType: string;
370
369
  content: string;
370
+ mimeType: string;
371
371
  }>, z.ZodObject<{
372
372
  type: z.ZodLiteral<"relative">;
373
373
  path: z.ZodString;
374
374
  }, "strict", z.ZodTypeAny, {
375
- path: string;
376
375
  type: "relative";
377
- }, {
378
376
  path: string;
377
+ }, {
379
378
  type: "relative";
379
+ path: string;
380
380
  }>]>, {
381
381
  type: "explicit-base64";
382
- mimeType: string;
383
382
  content: string;
383
+ mimeType: string;
384
384
  } | {
385
385
  type: "absolute-url";
386
386
  url: string;
387
387
  }, {
388
- path: string;
389
388
  type: "relative";
389
+ path: string;
390
390
  } | {
391
391
  type: "explicit-base64";
392
- mimeType: string;
393
392
  content: string;
393
+ mimeType: string;
394
394
  }>;
395
395
  }, "strip", z.ZodTypeAny, {
396
396
  workflow: {
397
397
  type: "workflow-v1";
398
398
  main: {
399
399
  type: "explicit-base64";
400
- mimeType: string;
401
400
  content: string;
401
+ mimeType: string;
402
402
  } | {
403
403
  type: "absolute-url";
404
404
  url: string;
@@ -406,54 +406,54 @@ declare function BlockComponentsAbsoluteUrl(prefix: string): z.ZodObject<{
406
406
  };
407
407
  model: {
408
408
  type: "explicit-base64";
409
- mimeType: string;
410
409
  content: string;
410
+ mimeType: string;
411
411
  } | {
412
412
  type: "absolute-url";
413
413
  url: string;
414
414
  };
415
415
  ui: {
416
416
  type: "explicit-base64";
417
- mimeType: string;
418
417
  content: string;
418
+ mimeType: string;
419
419
  } | {
420
420
  type: "absolute-url";
421
421
  url: string;
422
422
  };
423
423
  }, {
424
424
  workflow: {
425
- path: string;
426
425
  type: "relative";
426
+ path: string;
427
427
  } | {
428
428
  type: "explicit-base64";
429
- mimeType: string;
430
429
  content: string;
430
+ mimeType: string;
431
431
  } | {
432
432
  type: "workflow-v1";
433
433
  main: {
434
- path: string;
435
434
  type: "relative";
435
+ path: string;
436
436
  } | {
437
437
  type: "explicit-base64";
438
- mimeType: string;
439
438
  content: string;
439
+ mimeType: string;
440
440
  };
441
441
  };
442
442
  model: {
443
- path: string;
444
443
  type: "relative";
444
+ path: string;
445
445
  } | {
446
446
  type: "explicit-base64";
447
- mimeType: string;
448
447
  content: string;
448
+ mimeType: string;
449
449
  };
450
450
  ui: {
451
- path: string;
452
451
  type: "relative";
452
+ path: string;
453
453
  } | {
454
454
  type: "explicit-base64";
455
- mimeType: string;
456
455
  content: string;
456
+ mimeType: string;
457
457
  };
458
458
  }>;
459
459
  type BlockComponentsAbsolute = z.infer<ReturnType<typeof BlockComponentsAbsoluteUrl>>;