@milaboratories/pl-middle-layer 2.7.9 → 2.7.11

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":"project.d.ts","names":[],"sources":["../../src/mutator/project.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;wBAmrEsB,iBACpB,IAAI,eACJ,WAAW,kBACX;EAAY;;;;;;;;AAOZ,gBAAgB,gBACf,QAAQ"}
1
+ {"version":3,"file":"project.d.ts","names":[],"sources":["../../src/mutator/project.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;wBAqrEsB,iBACpB,IAAI,eACJ,WAAW,kBACX;EAAY;;;;;;;;AAOZ,gBAAgB,gBACf,QAAQ"}
@@ -11,7 +11,7 @@ import { BLOCK_STORAGE_FACADE_VERSION, UiError, extractConfig } from "@platforma
11
11
  import { InitialBlockSettings, normalizeProjectMeta } from "@milaboratories/pl-model-middle-layer";
12
12
  import { ConsoleLoggerAdapter, cachedDecode, cachedDeserialize, canonicalJsonBytes, notEmpty } from "@milaboratories/ts-helpers";
13
13
  import { gzipSync } from "node:zlib";
14
- import { Pl, PlClient, ensureSignedResourceIdNotNull, field, isNotNullSignedResourceId, isNullSignedResourceId, isResource, isResourceId, isResourceRef, readyOrDuplicateOrError } from "@milaboratories/pl-client";
14
+ import { Pl, PlClient, ensureSignedResourceIdNotNull, field, isNotNullSignedResourceId, isNullSignedResourceId, isResource, isResourceId, isResourceRef, readyOrDuplicateOrError, resourceIdToString } from "@milaboratories/pl-client";
15
15
  import { ModelAPIVersionMismatchError } from "@milaboratories/pl-errors";
16
16
  import Denque from "denque";
17
17
  // src/mutator/project.ts
@@ -381,7 +381,8 @@ var ProjectMutator = class ProjectMutator {
381
381
  return {
382
382
  name: this.getBlock(blockId).label,
383
383
  blockPack: JSON.stringify(info.source),
384
- blockId
384
+ blockId,
385
+ projectId: resourceIdToString(this.rid)
385
386
  };
386
387
  }
387
388
  getBlock(blockId) {