@milaboratories/pl-middle-layer 1.37.94 → 1.37.96
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -12
- package/src/network_check/template.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/pl-middle-layer",
|
|
3
|
-
"version": "1.37.
|
|
3
|
+
"version": "1.37.96",
|
|
4
4
|
"description": "Pl Middle Layer",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.16.0"
|
|
@@ -33,21 +33,21 @@
|
|
|
33
33
|
"zod": "~3.23.8",
|
|
34
34
|
"remeda": "^2.22.6",
|
|
35
35
|
"@milaboratories/pl-http": "^1.1.4",
|
|
36
|
-
"@milaboratories/computable": "^2.5.1",
|
|
37
36
|
"@milaboratories/resolve-helper": "^1.1.0",
|
|
38
|
-
"@platforma-sdk/block-tools": "^2.5.59",
|
|
39
37
|
"@milaboratories/pl-client": "^2.11.2",
|
|
40
|
-
"@milaboratories/
|
|
41
|
-
"@
|
|
42
|
-
"@milaboratories/pl-model-
|
|
43
|
-
"@milaboratories/pl-model-backend": "^1.1.1",
|
|
38
|
+
"@milaboratories/computable": "^2.5.1",
|
|
39
|
+
"@platforma-sdk/block-tools": "^2.5.60",
|
|
40
|
+
"@milaboratories/pl-model-common": "^1.15.8",
|
|
44
41
|
"@milaboratories/pl-tree": "^1.6.11",
|
|
45
|
-
"@
|
|
46
|
-
"@milaboratories/
|
|
47
|
-
"@platforma-sdk/workflow-tengo": "4.9.
|
|
42
|
+
"@milaboratories/pl-drivers": "^1.5.76",
|
|
43
|
+
"@milaboratories/pl-model-backend": "^1.1.1",
|
|
44
|
+
"@platforma-sdk/workflow-tengo": "4.9.2",
|
|
45
|
+
"@platforma-sdk/model": "^1.37.14",
|
|
48
46
|
"@milaboratories/pl-config": "^1.6.0",
|
|
49
|
-
"@milaboratories/pl-
|
|
50
|
-
"@milaboratories/pl-
|
|
47
|
+
"@milaboratories/pl-deployments": "^2.4.1",
|
|
48
|
+
"@milaboratories/pl-model-middle-layer": "^1.7.42",
|
|
49
|
+
"@milaboratories/ts-helpers": "^1.4.1",
|
|
50
|
+
"@milaboratories/pl-errors": "^1.1.9"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"semver": "^7.7.2",
|
|
@@ -291,13 +291,13 @@ export async function downloadFromEveryStorage(
|
|
|
291
291
|
SdkTemplates['check_network.create_workdir_from_storage'],
|
|
292
292
|
true,
|
|
293
293
|
(tx) => ({ file: tx.createValue(Pl.JsonObject, JSON.stringify((result.file as { handle: string }).handle)) }),
|
|
294
|
-
['
|
|
294
|
+
['workdirTypeName'],
|
|
295
295
|
);
|
|
296
296
|
|
|
297
297
|
try {
|
|
298
|
-
const
|
|
298
|
+
const workdirTypeName = JSON.parse(Buffer.from((await getFieldValue(pl, outputs.workdirTypeName)).data!).toString()) as string;
|
|
299
299
|
|
|
300
|
-
if (
|
|
300
|
+
if (workdirTypeName?.startsWith('WorkingDirectory')) {
|
|
301
301
|
results[storage.name] = {
|
|
302
302
|
status: 'ok',
|
|
303
303
|
message: `Workdir creation succeeded, size of file: ${result.file?.size}, `
|
|
@@ -306,7 +306,7 @@ export async function downloadFromEveryStorage(
|
|
|
306
306
|
} else {
|
|
307
307
|
results[storage.name] = {
|
|
308
308
|
status: 'failed',
|
|
309
|
-
message: `Workdir creation failed: ${
|
|
309
|
+
message: `Workdir creation failed: ${workdirTypeName}, size of file: ${result.file?.size}, `
|
|
310
310
|
+ `checked ${result.nCheckedFiles} files, did ${result.nLsRequests} ls requests`,
|
|
311
311
|
};
|
|
312
312
|
}
|