@milaboratories/pl-middle-layer 1.10.21 → 1.10.22

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.
@@ -1 +1 @@
1
- {"version":3,"file":"block_pack.d.ts","sourceRoot":"","sources":["../../../src/mutator/block-pack/block_pack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAS,aAAa,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE/F,OAAO,EAAqB,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzF,OAAO,EAAe,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAW,MAAM,QAAQ,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAMnD,eAAO,MAAM,mBAAmB,EAAE,YAAwD,CAAC;AAC3F,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,eAAO,MAAM,sBAAsB,aAAa,CAAC;AAQjD,qBAAa,iBAAiB;IAE1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;gBADL,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,UAAU,YAAA;IAGvB,cAAc,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,WAAW,CAAC;IAmC5D,OAAO,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAuG7E;AAYD,wBAAgB,eAAe,CAAC,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,qBAAqB,GAAG,cAAc,CAO9F"}
1
+ {"version":3,"file":"block_pack.d.ts","sourceRoot":"","sources":["../../../src/mutator/block-pack/block_pack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAS,aAAa,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE/F,OAAO,EAAqB,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzF,OAAO,EAAe,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,UAAU,EAAW,MAAM,QAAQ,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAMnD,eAAO,MAAM,mBAAmB,EAAE,YAAwD,CAAC;AAC3F,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,eAAO,MAAM,sBAAsB,aAAa,CAAC;AAQjD,qBAAa,iBAAiB;IAE1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC;gBADL,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,UAAU,YAAA;IAGvB,cAAc,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,WAAW,CAAC;IAmC5D,OAAO,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAyG7E;AAYD,wBAAgB,eAAe,CAAC,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,qBAAqB,GAAG,cAAc,CAO9F"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/pl-middle-layer",
3
- "version": "1.10.21",
3
+ "version": "1.10.22",
4
4
  "description": "Pl Middle Layer",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -28,13 +28,13 @@
28
28
  "yaml": "^2.5.1",
29
29
  "zod": "^3.23.8",
30
30
  "@milaboratories/resolve-helper": "^1.0.1",
31
- "@platforma-sdk/block-tools": "^2.1.11",
32
- "@milaboratories/pl-client": "^2.4.14",
33
31
  "@milaboratories/computable": "^2.1.6",
34
- "@milaboratories/pl-drivers": "^1.2.21",
32
+ "@platforma-sdk/block-tools": "^2.2.0",
33
+ "@milaboratories/pl-client": "^2.4.14",
35
34
  "@milaboratories/pl-model-common": "^1.3.13",
36
- "@milaboratories/pl-model-middle-layer": "^1.2.20",
35
+ "@milaboratories/pl-model-middle-layer": "^1.3.0",
37
36
  "@milaboratories/pl-tree": "^1.3.11",
37
+ "@milaboratories/pl-drivers": "^1.2.21",
38
38
  "@platforma-sdk/model": "^1.2.26",
39
39
  "@milaboratories/ts-helpers": "^1.0.26",
40
40
  "@platforma-sdk/workflow-tengo": "1.2.8"
@@ -71,7 +71,9 @@ export async function getDevV2PacketMtime(
71
71
  description: BlockPackDescriptionAbsolute
72
72
  ): Promise<string> {
73
73
  let mtime = 0n;
74
- const wfStats = await fs.promises.stat(description.components.workflow.file, { bigint: true });
74
+ const wfStats = await fs.promises.stat(description.components.workflow.main.file, {
75
+ bigint: true
76
+ });
75
77
  const modelStats = await fs.promises.stat(description.components.model.file, { bigint: true });
76
78
  return (wfStats.mtimeNs > modelStats.mtimeNs ? wfStats.mtimeNs : modelStats.mtimeNs).toString();
77
79
  }
@@ -105,7 +105,9 @@ export class BlockPackPreparer {
105
105
  encoding: 'utf-8'
106
106
  })
107
107
  ) as BlockConfig;
108
- const workflowContent = await fs.promises.readFile(description.components.workflow.file);
108
+ const workflowContent = await fs.promises.readFile(
109
+ description.components.workflow.main.file
110
+ );
109
111
  const frontendPath = description.components.ui.folder;
110
112
  const source = { ...spec };
111
113
  if (spec.mtime === undefined)