@milaboratories/pl-middle-layer 1.27.13 → 1.27.15
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/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
- package/src/mutator/block-pack/block_pack.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-middle-layer",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.15",
|
|
4
4
|
"description": "Pl Middle Layer",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
"yaml": "^2.6.1",
|
|
31
31
|
"zod": "~3.23.8",
|
|
32
32
|
"@milaboratories/pl-http": "^1.0.4",
|
|
33
|
-
"@milaboratories/computable": "^2.3.
|
|
34
|
-
"@
|
|
35
|
-
"@platforma-sdk/block-tools": "^2.5.9",
|
|
33
|
+
"@milaboratories/computable": "^2.3.5",
|
|
34
|
+
"@platforma-sdk/block-tools": "^2.5.10",
|
|
36
35
|
"@milaboratories/resolve-helper": "^1.0.2",
|
|
37
|
-
"@milaboratories/pl-
|
|
38
|
-
"@milaboratories/pl-drivers": "^1.5.
|
|
36
|
+
"@milaboratories/pl-client": "^2.7.5",
|
|
37
|
+
"@milaboratories/pl-drivers": "^1.5.17",
|
|
39
38
|
"@milaboratories/pl-model-middle-layer": "^1.7.2",
|
|
39
|
+
"@milaboratories/pl-model-common": "^1.10.5",
|
|
40
40
|
"@milaboratories/pl-model-backend": "^1.0.1",
|
|
41
|
-
"@milaboratories/pl-tree": "^1.4.
|
|
41
|
+
"@milaboratories/pl-tree": "^1.4.24",
|
|
42
42
|
"@platforma-sdk/model": "^1.22.18",
|
|
43
|
-
"@milaboratories/ts-helpers": "^1.1.
|
|
43
|
+
"@milaboratories/ts-helpers": "^1.1.4",
|
|
44
44
|
"@platforma-sdk/workflow-tengo": "2.10.2",
|
|
45
|
-
"@milaboratories/pl-config": "^1.4.
|
|
46
|
-
"@milaboratories/pl-deployments": "^1.1.
|
|
45
|
+
"@milaboratories/pl-config": "^1.4.1",
|
|
46
|
+
"@milaboratories/pl-deployments": "^1.1.6"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"semver": "^7.6.3",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"jest": "^29.7.0",
|
|
56
56
|
"@jest/globals": "^29.7.0",
|
|
57
57
|
"ts-jest": "^29.2.5",
|
|
58
|
-
"@milaboratories/
|
|
59
|
-
"@milaboratories/
|
|
58
|
+
"@milaboratories/platforma-build-configs": "1.0.2",
|
|
59
|
+
"@milaboratories/eslint-config": "^1.0.1"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"type-check": "tsc --noEmit --composite false",
|
|
@@ -63,7 +63,7 @@ export class BlockPackPreparer {
|
|
|
63
63
|
const registry = this.v2RegistryProvider.getRegistry(spec.registryUrl);
|
|
64
64
|
const components = await registry.getComponents(spec.id);
|
|
65
65
|
return (await (
|
|
66
|
-
await request(components.model.url, httpOptions)
|
|
66
|
+
await request((components.model as any).url as string, httpOptions)
|
|
67
67
|
).body.json()) as BlockConfigContainer;
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -177,9 +177,9 @@ export class BlockPackPreparer {
|
|
|
177
177
|
const registry = this.v2RegistryProvider.getRegistry(spec.registryUrl);
|
|
178
178
|
const components = await registry.getComponents(spec.id);
|
|
179
179
|
const getModel = async () =>
|
|
180
|
-
(await (await request(components.model.url, httpOptions)).body.json()) as BlockConfigContainer;
|
|
180
|
+
(await (await request((components.model as any).url, httpOptions)).body.json()) as BlockConfigContainer;
|
|
181
181
|
const getWorkflow = async () =>
|
|
182
|
-
await (await request(components.workflow.main.url, httpOptions)).body.arrayBuffer();
|
|
182
|
+
await (await request((components.workflow.main as any).url, httpOptions)).body.arrayBuffer();
|
|
183
183
|
|
|
184
184
|
const [model, workflow] = await Promise.all([getModel(), getWorkflow()]);
|
|
185
185
|
|
|
@@ -192,7 +192,7 @@ export class BlockPackPreparer {
|
|
|
192
192
|
config: model,
|
|
193
193
|
frontend: {
|
|
194
194
|
type: 'url',
|
|
195
|
-
url: components.ui.url
|
|
195
|
+
url: (components.ui as any).url
|
|
196
196
|
},
|
|
197
197
|
source: spec
|
|
198
198
|
};
|