@elyx-code/project-logic-tree 0.0.6676 → 0.0.6678

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.d.ts CHANGED
@@ -11366,7 +11366,7 @@ export declare class DefaultEditorContext extends ExtensionContextBase<Extension
11366
11366
  copyEntities(entities: CanvasEntityState[]): Promise<ChangeSet>;
11367
11367
  resolveInitialChildrenPositions(parent: CanvasEntityState | null, children: CanvasEntityState[], changeSet: ChangeSet | null): CanvasEntityState[];
11368
11368
  publish(): Promise<void>;
11369
- loadActivePublication(publicationId: string): Promise<IPublication>;
11369
+ loadGivenPublication(publicationId: string): Promise<IPublication>;
11370
11370
  requestActiveDynamicValue(valueOwner: EntityWithValueState, onlyDefault?: boolean): IDynamicValue | null;
11371
11371
  getValueTypePreference(valueOwnerId: EntityId): DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null;
11372
11372
  setValueTypePreference(valueOwnerId: EntityId, valueTypePreference: DynamicValueTypes.DefaultValue | DynamicValueTypes.Testing | null): void;
@@ -20725,7 +20725,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
20725
20725
  copyEntities(entities: CanvasEntityState[]): Promise<ChangeSet>;
20726
20726
  resolveInitialChildrenPositions(parent: CanvasEntityState | null, children: CanvasEntityState[], changeSet: ChangeSet | null): CanvasEntityState[];
20727
20727
  publish(): Promise<void>;
20728
- loadActivePublication(publicationId: string): Promise<IPublication>;
20728
+ loadGivenPublication(publicationId: string): Promise<IPublication>;
20729
20729
  requestExtension<T = any>(moduleId: string): IRegisteredExtension<T>;
20730
20730
  initRegistry(): Promise<ExtensionsRegistry<any>>;
20731
20731
  }
package/dist/index.js CHANGED
@@ -112052,7 +112052,7 @@ class $b {
112052
112052
  );
112053
112053
  if (!v)
112054
112054
  return;
112055
- e.standalone = !0, e.setStandaloneParent(v), e.hydrateAncestors(), e.initChildren(null);
112055
+ e.standalone = !0, e.setStandaloneParent(v, null), e.hydrateAncestors(), e.initChildren(null);
112056
112056
  }
112057
112057
  i[l] = e;
112058
112058
  const y = e.parent || e.standaloneParent, T = uIi(
@@ -112113,7 +112113,7 @@ class $b {
112113
112113
  this.project
112114
112114
  );
112115
112115
  }
112116
- l.standalone = !0, l.initialData.standaloneParent || re.warn("instance.initialData: ", l.initialData), l.setStandaloneParent(p), l.hydrateAncestors(), l.initChildren(null), i && (l.metaSync(
112116
+ l.standalone = !0, l.initialData.standaloneParent || re.warn("instance.initialData: ", l.initialData), l.setStandaloneParent(p, null), l.hydrateAncestors(), l.initChildren(null), i && (l.metaSync(
112117
112117
  {
112118
112118
  ...i
112119
112119
  },
@@ -129024,8 +129024,8 @@ class _L extends wO {
129024
129024
  publish() {
129025
129025
  return this._editor.publish();
129026
129026
  }
129027
- loadActivePublication(p) {
129028
- return this._editor.loadActivePublication(p);
129027
+ loadGivenPublication(p) {
129028
+ return this._editor.loadGivenPublication(p);
129029
129029
  }
129030
129030
  requestActiveDynamicValue(p, i = !1) {
129031
129031
  return this._editor.requestActiveDynamicValue(p, i);
@@ -129987,7 +129987,7 @@ class Bp extends Mf {
129987
129987
  }
129988
129988
  )), y) {
129989
129989
  const v = (T = y.value) == null ? void 0 : T.clone(null);
129990
- return v == null || v.setStandaloneParent(e), {
129990
+ return v == null || v.setStandaloneParent(e, null), {
129991
129991
  ...y,
129992
129992
  valueOwner: e,
129993
129993
  value: v || null,
@@ -170025,7 +170025,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
170025
170025
  ), y)
170026
170026
  re.log(
170027
170027
  `[LiteralValueState.hydrateAncestors] Setting standalone parent reference '${y.id}' for entity with id '${this.id}'`
170028
- ), this.setStandaloneParent(y);
170028
+ ), this.setStandaloneParent(y, null);
170029
170029
  else
170030
170030
  throw re.error(
170031
170031
  `[LiteralValueState.hydrateAncestors] Standalone parent reference '${e}' for entity with id '${this.id}' not found in the project`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6676",
3
+ "version": "0.0.6678",
4
4
  "author": "Sergio Herrero",
5
5
  "license": "UNLICENSED",
6
6
  "description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",