@milaboratories/pl-model-middle-layer 1.18.9 → 1.19.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.
- package/dist/block_meta/block_components.d.ts +36 -36
- package/dist/block_meta/block_description.d.ts +192 -192
- package/dist/block_meta/block_manifest.d.ts +313 -313
- package/dist/block_meta/block_meta.d.ts +42 -42
- package/dist/block_meta/content_types.d.ts +6 -6
- package/dist/project_list.d.ts +3 -4
- package/dist/project_list.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/project_list.ts +3 -4
|
@@ -131,11 +131,11 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
131
131
|
title: z.ZodString;
|
|
132
132
|
description: z.ZodString;
|
|
133
133
|
longDescription: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
134
|
-
type: "explicit-string";
|
|
135
|
-
content: string;
|
|
136
|
-
} | {
|
|
137
134
|
type: "relative";
|
|
138
135
|
path: string;
|
|
136
|
+
} | {
|
|
137
|
+
type: "explicit-string";
|
|
138
|
+
content: string;
|
|
139
139
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
140
140
|
type: z.ZodLiteral<"explicit-string">;
|
|
141
141
|
content: z.ZodString;
|
|
@@ -165,11 +165,11 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
165
165
|
file: string;
|
|
166
166
|
}>]>]>>;
|
|
167
167
|
changelog: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
168
|
-
type: "explicit-string";
|
|
169
|
-
content: string;
|
|
170
|
-
} | {
|
|
171
168
|
type: "relative";
|
|
172
169
|
path: string;
|
|
170
|
+
} | {
|
|
171
|
+
type: "explicit-string";
|
|
172
|
+
content: string;
|
|
173
173
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
174
174
|
type: z.ZodLiteral<"explicit-string">;
|
|
175
175
|
content: z.ZodString;
|
|
@@ -199,12 +199,12 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
199
199
|
file: string;
|
|
200
200
|
}>]>]>>;
|
|
201
201
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
202
|
+
type: "relative";
|
|
203
|
+
path: string;
|
|
204
|
+
} | {
|
|
202
205
|
type: "explicit-base64";
|
|
203
206
|
mimeType: string;
|
|
204
207
|
content: string;
|
|
205
|
-
} | {
|
|
206
|
-
type: "relative";
|
|
207
|
-
path: string;
|
|
208
208
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
209
209
|
type: z.ZodLiteral<"explicit-base64">;
|
|
210
210
|
mimeType: z.ZodString;
|
|
@@ -244,12 +244,12 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
244
244
|
name: z.ZodString;
|
|
245
245
|
url: z.ZodString;
|
|
246
246
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
247
|
+
type: "relative";
|
|
248
|
+
path: string;
|
|
249
|
+
} | {
|
|
247
250
|
type: "explicit-base64";
|
|
248
251
|
mimeType: string;
|
|
249
252
|
content: string;
|
|
250
|
-
} | {
|
|
251
|
-
type: "relative";
|
|
252
|
-
path: string;
|
|
253
253
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
254
254
|
type: z.ZodLiteral<"explicit-base64">;
|
|
255
255
|
mimeType: z.ZodString;
|
|
@@ -285,12 +285,12 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
285
285
|
name: z.ZodString;
|
|
286
286
|
url: z.ZodString;
|
|
287
287
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
288
|
+
type: "relative";
|
|
289
|
+
path: string;
|
|
290
|
+
} | {
|
|
288
291
|
type: "explicit-base64";
|
|
289
292
|
mimeType: string;
|
|
290
293
|
content: string;
|
|
291
|
-
} | {
|
|
292
|
-
type: "relative";
|
|
293
|
-
path: string;
|
|
294
294
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
295
295
|
type: z.ZodLiteral<"explicit-base64">;
|
|
296
296
|
mimeType: z.ZodString;
|
|
@@ -326,12 +326,12 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
326
326
|
name: z.ZodString;
|
|
327
327
|
url: z.ZodString;
|
|
328
328
|
logo: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
329
|
+
type: "relative";
|
|
330
|
+
path: string;
|
|
331
|
+
} | {
|
|
329
332
|
type: "explicit-base64";
|
|
330
333
|
mimeType: string;
|
|
331
334
|
content: string;
|
|
332
|
-
} | {
|
|
333
|
-
type: "relative";
|
|
334
|
-
path: string;
|
|
335
335
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
336
336
|
type: z.ZodLiteral<"explicit-base64">;
|
|
337
337
|
mimeType: z.ZodString;
|
|
@@ -387,12 +387,12 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
387
387
|
name: string;
|
|
388
388
|
url: string;
|
|
389
389
|
logo?: {
|
|
390
|
+
type: "relative";
|
|
391
|
+
path: string;
|
|
392
|
+
} | {
|
|
390
393
|
type: "explicit-base64";
|
|
391
394
|
mimeType: string;
|
|
392
395
|
content: string;
|
|
393
|
-
} | {
|
|
394
|
-
type: "relative";
|
|
395
|
-
path: string;
|
|
396
396
|
} | {
|
|
397
397
|
type: "absolute-file";
|
|
398
398
|
file: string;
|
|
@@ -403,32 +403,32 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
403
403
|
title: string;
|
|
404
404
|
description: string;
|
|
405
405
|
longDescription?: {
|
|
406
|
-
type: "explicit-string";
|
|
407
|
-
content: string;
|
|
408
|
-
} | {
|
|
409
406
|
type: "relative";
|
|
410
407
|
path: string;
|
|
408
|
+
} | {
|
|
409
|
+
type: "explicit-string";
|
|
410
|
+
content: string;
|
|
411
411
|
} | {
|
|
412
412
|
type: "absolute-file";
|
|
413
413
|
file: string;
|
|
414
414
|
} | undefined;
|
|
415
415
|
changelog?: {
|
|
416
|
-
type: "explicit-string";
|
|
417
|
-
content: string;
|
|
418
|
-
} | {
|
|
419
416
|
type: "relative";
|
|
420
417
|
path: string;
|
|
418
|
+
} | {
|
|
419
|
+
type: "explicit-string";
|
|
420
|
+
content: string;
|
|
421
421
|
} | {
|
|
422
422
|
type: "absolute-file";
|
|
423
423
|
file: string;
|
|
424
424
|
} | undefined;
|
|
425
425
|
logo?: {
|
|
426
|
+
type: "relative";
|
|
427
|
+
path: string;
|
|
428
|
+
} | {
|
|
426
429
|
type: "explicit-base64";
|
|
427
430
|
mimeType: string;
|
|
428
431
|
content: string;
|
|
429
|
-
} | {
|
|
430
|
-
type: "relative";
|
|
431
|
-
path: string;
|
|
432
432
|
} | {
|
|
433
433
|
type: "absolute-file";
|
|
434
434
|
file: string;
|
|
@@ -446,12 +446,12 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
446
446
|
name: string;
|
|
447
447
|
url: string;
|
|
448
448
|
logo?: string | {
|
|
449
|
+
type: "relative";
|
|
450
|
+
path: string;
|
|
451
|
+
} | {
|
|
449
452
|
type: "explicit-base64";
|
|
450
453
|
mimeType: string;
|
|
451
454
|
content: string;
|
|
452
|
-
} | {
|
|
453
|
-
type: "relative";
|
|
454
|
-
path: string;
|
|
455
455
|
} | {
|
|
456
456
|
type: "absolute-file";
|
|
457
457
|
file: string;
|
|
@@ -462,32 +462,32 @@ declare const BlockPackMetaDescriptionRaw: z.ZodObject<{
|
|
|
462
462
|
title: string;
|
|
463
463
|
description: string;
|
|
464
464
|
longDescription?: string | {
|
|
465
|
-
type: "explicit-string";
|
|
466
|
-
content: string;
|
|
467
|
-
} | {
|
|
468
465
|
type: "relative";
|
|
469
466
|
path: string;
|
|
467
|
+
} | {
|
|
468
|
+
type: "explicit-string";
|
|
469
|
+
content: string;
|
|
470
470
|
} | {
|
|
471
471
|
type: "absolute-file";
|
|
472
472
|
file: string;
|
|
473
473
|
} | undefined;
|
|
474
474
|
changelog?: string | {
|
|
475
|
-
type: "explicit-string";
|
|
476
|
-
content: string;
|
|
477
|
-
} | {
|
|
478
475
|
type: "relative";
|
|
479
476
|
path: string;
|
|
477
|
+
} | {
|
|
478
|
+
type: "explicit-string";
|
|
479
|
+
content: string;
|
|
480
480
|
} | {
|
|
481
481
|
type: "absolute-file";
|
|
482
482
|
file: string;
|
|
483
483
|
} | undefined;
|
|
484
484
|
logo?: string | {
|
|
485
|
+
type: "relative";
|
|
486
|
+
path: string;
|
|
487
|
+
} | {
|
|
485
488
|
type: "explicit-base64";
|
|
486
489
|
mimeType: string;
|
|
487
490
|
content: string;
|
|
488
|
-
} | {
|
|
489
|
-
type: "relative";
|
|
490
|
-
path: string;
|
|
491
491
|
} | {
|
|
492
492
|
type: "absolute-file";
|
|
493
493
|
file: string;
|
|
@@ -439,12 +439,12 @@ declare const ContentRelativeText: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
439
439
|
}>]>;
|
|
440
440
|
type ContentRelativeText = z.infer<typeof ContentRelativeText>;
|
|
441
441
|
declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
442
|
+
type: "relative";
|
|
443
|
+
path: string;
|
|
444
|
+
} | {
|
|
442
445
|
type: "explicit-base64";
|
|
443
446
|
mimeType: string;
|
|
444
447
|
content: string;
|
|
445
|
-
} | {
|
|
446
|
-
type: "relative";
|
|
447
|
-
path: string;
|
|
448
448
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
449
449
|
type: z.ZodLiteral<"explicit-base64">;
|
|
450
450
|
mimeType: z.ZodString;
|
|
@@ -478,11 +478,11 @@ declare const DescriptionContentBinary: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
|
478
478
|
}>]>]>;
|
|
479
479
|
type DescriptionContentBinary = z.infer<typeof DescriptionContentBinary>;
|
|
480
480
|
declare const DescriptionContentText: z.ZodUnion<[z.ZodEffects<z.ZodString, {
|
|
481
|
-
type: "explicit-string";
|
|
482
|
-
content: string;
|
|
483
|
-
} | {
|
|
484
481
|
type: "relative";
|
|
485
482
|
path: string;
|
|
483
|
+
} | {
|
|
484
|
+
type: "explicit-string";
|
|
485
|
+
content: string;
|
|
486
486
|
}, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
487
487
|
type: z.ZodLiteral<"explicit-string">;
|
|
488
488
|
content: z.ZodString;
|
package/dist/project_list.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ProjectMeta } from "./project.js";
|
|
2
|
+
import { ProjectId } from "@milaboratories/pl-model-common";
|
|
2
3
|
|
|
3
4
|
//#region src/project_list.d.ts
|
|
4
5
|
/** Represents single entry in the list of projects owned by current user */
|
|
5
6
|
interface ProjectListEntry {
|
|
6
|
-
/**
|
|
7
|
-
|
|
8
|
-
/** Internal (user-specific) project id */
|
|
9
|
-
id: string;
|
|
7
|
+
/** Unique project identifier in middle layer. Use to operate with given project. */
|
|
8
|
+
id: ProjectId;
|
|
10
9
|
/** Creation timestamp. */
|
|
11
10
|
created: Date;
|
|
12
11
|
/** Last modification timestamp. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project_list.d.ts","names":[],"sources":["../src/project_list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"project_list.d.ts","names":[],"sources":["../src/project_list.ts"],"mappings":";;;;;UAIiB,gBAAA;EAAA;EAEf,EAAA,EAAI,SAAA;;EAEJ,OAAA,EAAS,IAAA;EAAA;EAET,YAAA,EAAc,IAAA;EAIR;EAFN,MAAA;EAEiB;EAAjB,IAAA,EAAM,WAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-model-middle-layer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"description": "Common model between middle layer and non-block UI code",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist/**/*",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"es-toolkit": "^1.39.10",
|
|
21
21
|
"utility-types": "^3.11.0",
|
|
22
22
|
"zod": "~3.25.76",
|
|
23
|
-
"@milaboratories/
|
|
24
|
-
"@milaboratories/
|
|
23
|
+
"@milaboratories/helpers": "1.14.1",
|
|
24
|
+
"@milaboratories/pl-model-common": "1.40.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "~24.5.2",
|
|
28
28
|
"typescript": "~5.9.3",
|
|
29
29
|
"@milaboratories/build-configs": "2.0.0",
|
|
30
|
-
"@milaboratories/ts-builder": "1.
|
|
30
|
+
"@milaboratories/ts-builder": "1.4.0",
|
|
31
31
|
"@milaboratories/ts-configs": "1.2.3"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
package/src/project_list.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import type { ProjectId } from "@milaboratories/pl-model-common";
|
|
1
2
|
import type { ProjectMeta } from "./project";
|
|
2
3
|
|
|
3
4
|
/** Represents single entry in the list of projects owned by current user */
|
|
4
5
|
export interface ProjectListEntry {
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
/** Internal (user-specific) project id */
|
|
8
|
-
id: string;
|
|
6
|
+
/** Unique project identifier in middle layer. Use to operate with given project. */
|
|
7
|
+
id: ProjectId;
|
|
9
8
|
/** Creation timestamp. */
|
|
10
9
|
created: Date;
|
|
11
10
|
/** Last modification timestamp. */
|