@elyx-code/project-logic-tree 0.0.6972 → 0.0.6974
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.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -11
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9576,7 +9576,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
9576
9576
|
}
|
|
9577
9577
|
|
|
9578
9578
|
export declare interface BuiltInFunctionImplementationModule {
|
|
9579
|
-
main: (entity: InternalCallState, _inputs: IDynamicValue[]) => Promise<IExecutionResult>;
|
|
9579
|
+
main: (entity: InternalCallState, _inputs: IDynamicValue[], execution?: Execution) => Promise<IExecutionResult>;
|
|
9580
9580
|
}
|
|
9581
9581
|
|
|
9582
9582
|
export declare class BuiltInFunctionImplementationUpdatePersistedEntityModule extends BaseRegisteredExtension<BuiltInFunctionImplementationModule> implements IRegisteredExtension<BuiltInFunctionImplementationModule> {
|
package/dist/index.js
CHANGED
|
@@ -126738,19 +126738,17 @@ class uT extends Wy {
|
|
|
126738
126738
|
}
|
|
126739
126739
|
hasEntity(i) {
|
|
126740
126740
|
var c;
|
|
126741
|
-
if (this.entities.includes(i))
|
|
126741
|
+
if (this.entities.includes(i) || ((c = i.parent) == null ? void 0 : c.type) === d.FunctionDeclaration && this.entities.includes(
|
|
126742
|
+
i.parent
|
|
126743
|
+
))
|
|
126742
126744
|
return !0;
|
|
126743
|
-
if (((c = i.parent) == null ? void 0 : c.type) === d.FunctionDeclaration)
|
|
126744
|
-
return this.entities.includes(
|
|
126745
|
-
i.parent
|
|
126746
|
-
);
|
|
126747
126745
|
const r = vt(
|
|
126748
126746
|
i
|
|
126749
126747
|
);
|
|
126750
|
-
if (
|
|
126751
|
-
return !
|
|
126752
|
-
const a = r.type === d.Loop && i.parent === r.body ? r.body : null;
|
|
126753
|
-
return a
|
|
126748
|
+
if (r && r !== i && this.entities.includes(r))
|
|
126749
|
+
return !0;
|
|
126750
|
+
const a = r && r.type === d.Loop && i.parent === r.body ? r.body : null;
|
|
126751
|
+
return a && (this.entities.includes(a) || this.entities.includes(r)) ? !0 : i.parent && i.parent !== i ? this.hasEntity(i.parent) : !1;
|
|
126754
126752
|
}
|
|
126755
126753
|
removeScheduled(i) {
|
|
126756
126754
|
const r = this.scheduled.indexOf(i);
|
|
@@ -163694,9 +163692,8 @@ const Oi = class Oi extends an {
|
|
|
163694
163692
|
"on-search-received-project-initialized"
|
|
163695
163693
|
)
|
|
163696
163694
|
)) {
|
|
163697
|
-
this.metaSync({ query: this.rehydrateQuery() }, r);
|
|
163698
163695
|
try {
|
|
163699
|
-
this.state = this.queryToState(), r && this.state && h4(this, this.state, r);
|
|
163696
|
+
this.metaSync({ query: this.rehydrateQuery() }, r), this.state = this.queryToState(), r && this.state && h4(this, this.state, r);
|
|
163700
163697
|
} catch {
|
|
163701
163698
|
}
|
|
163702
163699
|
return r == null || r.attemptAutoclose(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6974",
|
|
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",
|