@milaboratories/pl-model-middle-layer 1.19.3 → 1.20.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_description.d.ts +2202 -728
- package/dist/block_meta/block_description.d.ts.map +1 -1
- package/dist/block_meta/block_manifest.d.ts +4793 -2154
- package/dist/block_meta/block_manifest.d.ts.map +1 -1
- package/dist/block_meta/block_meta.cjs +3 -2
- package/dist/block_meta/block_meta.cjs.map +1 -1
- package/dist/block_meta/block_meta.d.ts +1032 -244
- package/dist/block_meta/block_meta.d.ts.map +1 -1
- package/dist/block_meta/block_meta.js +3 -2
- package/dist/block_meta/block_meta.js.map +1 -1
- package/dist/block_registry/overview.d.ts +10219 -6039
- package/dist/block_registry/overview.d.ts.map +1 -1
- package/dist/block_registry/registry_spec.d.ts +12 -12
- package/package.json +4 -4
- package/src/block_meta/block_meta.test.ts +44 -0
- package/src/block_meta/block_meta.ts +57 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overview.d.ts","names":[],"sources":["../../src/block_registry/overview.ts"],"mappings":";;;;;;;cAea,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAIjB,gBAAA,GAAmB,CAAA,CAAE,KAAA,QAAa,gBAAA;AAAA,iBAE9B,yBAAA,CAA0B,GAAA,EAAK,iBAAA,GAAoB,uBAAA"}
|
|
@@ -99,27 +99,27 @@ declare const RegistryEntry: z.ZodObject<{
|
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
100
|
id: string;
|
|
101
101
|
spec: {
|
|
102
|
+
type: "local-dev";
|
|
103
|
+
path: string;
|
|
104
|
+
} | {
|
|
102
105
|
type: "remote-v1";
|
|
103
106
|
url: string;
|
|
104
107
|
} | {
|
|
105
108
|
type: "remote-v2";
|
|
106
109
|
url: string;
|
|
107
|
-
} | {
|
|
108
|
-
type: "local-dev";
|
|
109
|
-
path: string;
|
|
110
110
|
};
|
|
111
111
|
title?: string | undefined;
|
|
112
112
|
}, {
|
|
113
113
|
id: string;
|
|
114
114
|
spec: {
|
|
115
|
+
type: "local-dev";
|
|
116
|
+
path: string;
|
|
117
|
+
} | {
|
|
115
118
|
type: "remote-v1";
|
|
116
119
|
url: string;
|
|
117
120
|
} | {
|
|
118
121
|
type: "remote-v2";
|
|
119
122
|
url: string;
|
|
120
|
-
} | {
|
|
121
|
-
type: "local-dev";
|
|
122
|
-
path: string;
|
|
123
123
|
};
|
|
124
124
|
title?: string | undefined;
|
|
125
125
|
}>;
|
|
@@ -158,27 +158,27 @@ declare const RegistryList: z.ZodArray<z.ZodObject<{
|
|
|
158
158
|
}, "strip", z.ZodTypeAny, {
|
|
159
159
|
id: string;
|
|
160
160
|
spec: {
|
|
161
|
+
type: "local-dev";
|
|
162
|
+
path: string;
|
|
163
|
+
} | {
|
|
161
164
|
type: "remote-v1";
|
|
162
165
|
url: string;
|
|
163
166
|
} | {
|
|
164
167
|
type: "remote-v2";
|
|
165
168
|
url: string;
|
|
166
|
-
} | {
|
|
167
|
-
type: "local-dev";
|
|
168
|
-
path: string;
|
|
169
169
|
};
|
|
170
170
|
title?: string | undefined;
|
|
171
171
|
}, {
|
|
172
172
|
id: string;
|
|
173
173
|
spec: {
|
|
174
|
+
type: "local-dev";
|
|
175
|
+
path: string;
|
|
176
|
+
} | {
|
|
174
177
|
type: "remote-v1";
|
|
175
178
|
url: string;
|
|
176
179
|
} | {
|
|
177
180
|
type: "remote-v2";
|
|
178
181
|
url: string;
|
|
179
|
-
} | {
|
|
180
|
-
type: "local-dev";
|
|
181
|
-
path: string;
|
|
182
182
|
};
|
|
183
183
|
title?: string | undefined;
|
|
184
184
|
}>, "many">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-model-middle-layer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
4
4
|
"description": "Common model between middle layer and non-block UI code",
|
|
5
5
|
"files": [
|
|
6
6
|
"./dist/**/*",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"utility-types": "^3.11.0",
|
|
22
22
|
"zod": "~3.25.76",
|
|
23
23
|
"@milaboratories/helpers": "1.14.2",
|
|
24
|
-
"@milaboratories/pl-model-common": "1.
|
|
24
|
+
"@milaboratories/pl-model-common": "1.42.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-
|
|
31
|
-
"@milaboratories/ts-
|
|
30
|
+
"@milaboratories/ts-configs": "1.2.3",
|
|
31
|
+
"@milaboratories/ts-builder": "1.5.0"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "ts-builder build --target node",
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { describe, expect, test } from "vitest";
|
|
2
|
+
import { BlockPackMetaDescriptionRaw } from "./block_meta";
|
|
3
|
+
|
|
4
|
+
const minimal = {
|
|
5
|
+
title: "T",
|
|
6
|
+
description: "D",
|
|
7
|
+
organization: { name: "Org", url: "https://example.com/" },
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
describe("BlockPackMeta requiredCapabilities", () => {
|
|
11
|
+
test("accepts and round-trips the field", () => {
|
|
12
|
+
const parsed = BlockPackMetaDescriptionRaw.parse({
|
|
13
|
+
...minimal,
|
|
14
|
+
requiredCapabilities: ["wasm:v1"],
|
|
15
|
+
});
|
|
16
|
+
expect(parsed.requiredCapabilities).toEqual(["wasm:v1"]);
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
test("accepts arbitrary token strings (loose, not enum)", () => {
|
|
20
|
+
const parsed = BlockPackMetaDescriptionRaw.parse({
|
|
21
|
+
...minimal,
|
|
22
|
+
requiredCapabilities: ["wasm", "future-feature"],
|
|
23
|
+
});
|
|
24
|
+
expect(parsed.requiredCapabilities).toEqual(["wasm", "future-feature"]);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
test("absent field stays optional (legacy manifests)", () => {
|
|
28
|
+
const parsed = BlockPackMetaDescriptionRaw.parse(minimal);
|
|
29
|
+
expect(parsed.requiredCapabilities).toBeUndefined();
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
test("forward-compat: unknown sibling fields pass through (not stripped)", () => {
|
|
33
|
+
// Schema uses `.passthrough()` so older block-tools versions don't drop
|
|
34
|
+
// fields they don't know about during registry-mutating round-trips
|
|
35
|
+
// (mark-stable, refresh-registry, restore-overview-from-snapshot).
|
|
36
|
+
const parsed = BlockPackMetaDescriptionRaw.parse({
|
|
37
|
+
...minimal,
|
|
38
|
+
requiredCapabilities: ["wasm:v1"],
|
|
39
|
+
futureFieldNoOldDesktopKnowsAbout: { x: 1 },
|
|
40
|
+
});
|
|
41
|
+
expect(parsed).toHaveProperty("futureFieldNoOldDesktopKnowsAbout", { x: 1 });
|
|
42
|
+
expect(parsed.requiredCapabilities).toEqual(["wasm:v1"]);
|
|
43
|
+
});
|
|
44
|
+
});
|
|
@@ -20,42 +20,63 @@ export function BlockPackMeta<
|
|
|
20
20
|
const LongStringType extends z.ZodTypeAny,
|
|
21
21
|
const BinaryType extends z.ZodTypeAny,
|
|
22
22
|
>(longString: LongStringType, binary: BinaryType) {
|
|
23
|
-
return z
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
23
|
+
return z
|
|
24
|
+
.object({
|
|
25
|
+
title: z.string(),
|
|
26
|
+
description: z.string(),
|
|
27
|
+
longDescription: longString.optional(),
|
|
28
|
+
changelog: longString.optional(),
|
|
29
|
+
logo: binary.optional(),
|
|
30
|
+
url: z.string().url().optional(),
|
|
31
|
+
docs: z.string().url().optional(),
|
|
32
|
+
support: z.union([z.string().url(), z.string().email()]).optional(),
|
|
33
|
+
tags: z.array(z.string()).optional(),
|
|
34
|
+
organization: z
|
|
35
|
+
.object({
|
|
36
|
+
name: z.string(),
|
|
37
|
+
url: z.string().url(),
|
|
38
|
+
logo: binary.optional(),
|
|
39
|
+
})
|
|
40
|
+
.passthrough(),
|
|
41
|
+
/**
|
|
42
|
+
* The order of blocks on the "marketplace" (higher values push block higher to the top of the list).
|
|
43
|
+
* `undefined` value or absent field is treated exactly the same as number `0`.
|
|
44
|
+
*/
|
|
45
|
+
marketplaceRanking: z.number().optional(),
|
|
46
|
+
/**
|
|
47
|
+
* If true, the block is deprecated and should not be used.
|
|
48
|
+
*/
|
|
49
|
+
deprecated: z.boolean().optional(),
|
|
50
|
+
/**
|
|
51
|
+
* The URL to the Terms of Service for the block. If provided checkbox with link to this URL should be shown in order to add block.
|
|
52
|
+
*/
|
|
53
|
+
termsOfServiceUrl: z.string().url().optional(),
|
|
54
|
+
/**
|
|
55
|
+
* Supported operating systems.
|
|
56
|
+
* If not provided, the block is supported on all operating systems.
|
|
57
|
+
*/
|
|
58
|
+
supportedPlatforms: z.array(BlockPlatform).optional(),
|
|
59
|
+
/**
|
|
60
|
+
* Runtime capabilities the block needs from the backend (e.g.
|
|
61
|
+
* "wasm:v1"). Desktop refuses to install if any listed token is
|
|
62
|
+
* missing from the backend's `serverInfo.capabilities`.
|
|
63
|
+
*
|
|
64
|
+
* Tokens follow the backend's `<feature>:<version>` format defined in
|
|
65
|
+
* `core/pl/platform/api/plapiserver/server_capabilities.go`. The
|
|
66
|
+
* schema itself accepts loose strings (not an enum) so future
|
|
67
|
+
* capabilities don't break Desktops that ship before each token is
|
|
68
|
+
* added — the same forward-compat property `BlockPackMeta` itself
|
|
69
|
+
* enjoys at the field level, applied recursively at the token level.
|
|
70
|
+
*/
|
|
71
|
+
requiredCapabilities: z.array(z.string()).optional(),
|
|
72
|
+
})
|
|
73
|
+
.passthrough();
|
|
74
|
+
// `.passthrough()` preserves unknown sibling keys through `parse`/round-trip.
|
|
75
|
+
// Without it, a block-tools version that predates a newly-added meta field
|
|
76
|
+
// would strip that field on every registry-mutating command (mark-stable,
|
|
77
|
+
// refresh-registry, restore-overview-from-snapshot) — silently undoing
|
|
78
|
+
// publishes. Combined with the `require-latest @platforma-sdk/block-tools`
|
|
79
|
+
// CI gate, this future-proofs the schema for all subsequent field additions.
|
|
59
80
|
}
|
|
60
81
|
|
|
61
82
|
export const BlockPackMetaDescriptionRaw = BlockPackMeta(
|