@elyx-code/project-logic-tree 0.0.6159 → 0.0.6161
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 +44 -30
- package/dist/index.umd.cjs +3 -3
- package/dist/tree/state/base.d.ts +6 -6
- package/dist/tree/state/types/index.d.ts +21 -4
- package/dist/tree/utils/index.d.ts +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -54933,6 +54933,19 @@ function oq(n) {
|
|
|
54933
54933
|
}
|
|
54934
54934
|
return null;
|
|
54935
54935
|
}
|
|
54936
|
+
function lq(n) {
|
|
54937
|
+
const s = {
|
|
54938
|
+
added: {},
|
|
54939
|
+
updated: {},
|
|
54940
|
+
removed: /* @__PURE__ */ new Set(),
|
|
54941
|
+
self: n.self
|
|
54942
|
+
};
|
|
54943
|
+
return n.added.forEach((e) => {
|
|
54944
|
+
s.added[e.id] = e;
|
|
54945
|
+
}), n.updated.forEach((e) => {
|
|
54946
|
+
s.updated[e.id] = e;
|
|
54947
|
+
}), s.removed = new Set(n.removed.map((e) => e.id)), s;
|
|
54948
|
+
}
|
|
54936
54949
|
function t7(n, s) {
|
|
54937
54950
|
const e = [];
|
|
54938
54951
|
if (n.parent)
|
|
@@ -56678,7 +56691,7 @@ function g(n, s) {
|
|
|
56678
56691
|
const e = rt(n, s);
|
|
56679
56692
|
return e.subscribe(), e;
|
|
56680
56693
|
}
|
|
56681
|
-
function
|
|
56694
|
+
function dq(n, s) {
|
|
56682
56695
|
if (!n)
|
|
56683
56696
|
throw new Error("Entity is null");
|
|
56684
56697
|
switch (n.type) {
|
|
@@ -56783,7 +56796,7 @@ const O = {
|
|
|
56783
56796
|
cascade: !1
|
|
56784
56797
|
}, a7 = {
|
|
56785
56798
|
APILoad: async (n, ...s) => null
|
|
56786
|
-
},
|
|
56799
|
+
}, uq = {
|
|
56787
56800
|
APICreate: async (n, ...s) => n,
|
|
56788
56801
|
APIUpdate: async (n, ...s) => n,
|
|
56789
56802
|
APIDelete: async (n, ...s) => {
|
|
@@ -56793,23 +56806,23 @@ const O = {
|
|
|
56793
56806
|
APILoadVersion: async (n, s, ...e) => null,
|
|
56794
56807
|
...a7
|
|
56795
56808
|
};
|
|
56796
|
-
class
|
|
56809
|
+
class cq {
|
|
56797
56810
|
}
|
|
56798
|
-
class
|
|
56799
|
-
}
|
|
56800
|
-
class pq {
|
|
56811
|
+
class pq extends i7 {
|
|
56801
56812
|
}
|
|
56802
56813
|
class hq {
|
|
56803
56814
|
}
|
|
56804
56815
|
class yq {
|
|
56805
56816
|
}
|
|
56806
|
-
class
|
|
56817
|
+
class fq {
|
|
56807
56818
|
}
|
|
56808
|
-
class
|
|
56819
|
+
class Xm {
|
|
56809
56820
|
}
|
|
56810
56821
|
class mq extends Xm {
|
|
56811
56822
|
}
|
|
56812
|
-
class vq {
|
|
56823
|
+
class vq extends Xm {
|
|
56824
|
+
}
|
|
56825
|
+
class Tq {
|
|
56813
56826
|
}
|
|
56814
56827
|
class dn {
|
|
56815
56828
|
static initReadsValue(s) {
|
|
@@ -56894,7 +56907,7 @@ class $o {
|
|
|
56894
56907
|
]), s.writesValues;
|
|
56895
56908
|
}
|
|
56896
56909
|
}
|
|
56897
|
-
class
|
|
56910
|
+
class Eq {
|
|
56898
56911
|
}
|
|
56899
56912
|
const te = class te extends He {
|
|
56900
56913
|
constructor(e) {
|
|
@@ -58184,7 +58197,7 @@ u(te, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
|
58184
58197
|
...te.DOWNSTREAM_PROPERTIES
|
|
58185
58198
|
]);
|
|
58186
58199
|
let A = te;
|
|
58187
|
-
var s7 = /* @__PURE__ */ ((n) => (n.
|
|
58200
|
+
var s7 = /* @__PURE__ */ ((n) => (n.PersistChangeSet = "persist-change-set", n.CreateSingle = "create-single", n.CreateBulk = "create-bulk", n.CreateSingleNested = "create-single-nested", n.CreateBulkNested = "create-bulk-nested", n.Update = "update", n.Clone = "clone", n.Delete = "delete", n.Load = "load", n.LoadNested = "load-nested", n.LoadVersion = "load-version", n))(s7 || {});
|
|
58188
58201
|
class o7 extends Le {
|
|
58189
58202
|
constructor(e) {
|
|
58190
58203
|
super(gr, e);
|
|
@@ -58736,7 +58749,7 @@ function Qm(n) {
|
|
|
58736
58749
|
s.builtInInstances[t.id] || (s.builtInInstances[t.id] = t, delete s.instances[t.id]);
|
|
58737
58750
|
}), s;
|
|
58738
58751
|
}
|
|
58739
|
-
function
|
|
58752
|
+
function Iq(n) {
|
|
58740
58753
|
const s = /* @__PURE__ */ new Map(), e = n.getAllBuiltInIds();
|
|
58741
58754
|
Object.keys(n.instances).forEach((i) => {
|
|
58742
58755
|
if (e.includes(i)) {
|
|
@@ -58778,7 +58791,7 @@ function V7(n) {
|
|
|
58778
58791
|
t && t.afterAllChildrenInitialized();
|
|
58779
58792
|
}), s.afterAllChildrenInitialized(), s;
|
|
58780
58793
|
}
|
|
58781
|
-
async function
|
|
58794
|
+
async function gq(n, s = {}) {
|
|
58782
58795
|
if (n.id && Ei[n.id])
|
|
58783
58796
|
return Ei[n.id];
|
|
58784
58797
|
if (n.id && ms[n.id])
|
|
@@ -58792,10 +58805,10 @@ async function Iq(n, s = {}) {
|
|
|
58792
58805
|
}
|
|
58793
58806
|
return null;
|
|
58794
58807
|
}
|
|
58795
|
-
function
|
|
58808
|
+
function Rq(n) {
|
|
58796
58809
|
return Ei[n.id] && delete Ei[n.id], null;
|
|
58797
58810
|
}
|
|
58798
|
-
const
|
|
58811
|
+
const bq = "test_primitive_entities_export";
|
|
58799
58812
|
export {
|
|
58800
58813
|
_c as AI_VALUE_CONNECTION_GENERATION_ACTION_EXPLANATION,
|
|
58801
58814
|
BA as ALL_BUILT_IN_BASE_ENTITIES,
|
|
@@ -58816,9 +58829,9 @@ export {
|
|
|
58816
58829
|
Bc as BREAK_AND_CONTINUE_STATEMENTS_RETURN_DECLARATIONS_EXPLANATION,
|
|
58817
58830
|
x as BUILT_IN_BASE_ENTITY_IDS,
|
|
58818
58831
|
Nr as BUILT_IN_ENTITY_TYPES,
|
|
58819
|
-
|
|
58832
|
+
hq as BaseCanvasDraggableState,
|
|
58820
58833
|
W as BaseEntityNames,
|
|
58821
|
-
|
|
58834
|
+
pq as BaseState,
|
|
58822
58835
|
Sl as BaseValueDescriptorIds,
|
|
58823
58836
|
Mi as BreakStatementState,
|
|
58824
58837
|
Gr as BuiltInBaseEntityState,
|
|
@@ -58831,9 +58844,9 @@ export {
|
|
|
58831
58844
|
JA as COMPARISON_CONDITIONS,
|
|
58832
58845
|
qA as CONDITIONS,
|
|
58833
58846
|
FI as CUSTOM_ENTITY_OPERATIONS,
|
|
58834
|
-
|
|
58847
|
+
fq as CallableEntityClass,
|
|
58835
58848
|
Xm as CallerEntityClass,
|
|
58836
|
-
|
|
58849
|
+
yq as ChildEntityState,
|
|
58837
58850
|
nt as ComparisonOperatorTypes,
|
|
58838
58851
|
Nn as ConditionState,
|
|
58839
58852
|
_t as ContinueStatementState,
|
|
@@ -58849,7 +58862,7 @@ export {
|
|
|
58849
58862
|
yt as DataTypeParentChildRelation,
|
|
58850
58863
|
wi as DataTypeState,
|
|
58851
58864
|
Yn as DefinitionEntityState,
|
|
58852
|
-
|
|
58865
|
+
uq as EDITABLE_PERSISTANCE_REPOSITORY_DEFAULTS,
|
|
58853
58866
|
El as ENTITIES_WITH_VALLUES_EXPLANATION,
|
|
58854
58867
|
O as ENTITY_PERSISTANCE_OPTIONS_DEFAULTS,
|
|
58855
58868
|
$ as ENTITY_RECUSION_OPTIONS_DEFAULTS,
|
|
@@ -58874,9 +58887,9 @@ export {
|
|
|
58874
58887
|
G as EntityInstanceErrorCode,
|
|
58875
58888
|
Ze as EntityOperations,
|
|
58876
58889
|
r as EntityType,
|
|
58877
|
-
|
|
58878
|
-
|
|
58879
|
-
|
|
58890
|
+
Eq as EntityWithLogicScopeClass,
|
|
58891
|
+
Tq as EntityWithValueClass,
|
|
58892
|
+
mq as EntryPointEntityClass,
|
|
58880
58893
|
Je as ExecutionOperations,
|
|
58881
58894
|
I5 as ExecutionTerminationType,
|
|
58882
58895
|
Jn as FunctionCallState,
|
|
@@ -58911,7 +58924,7 @@ export {
|
|
|
58911
58924
|
iv as PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS,
|
|
58912
58925
|
_m as PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION,
|
|
58913
58926
|
o7 as ParallelExecutionOperation,
|
|
58914
|
-
|
|
58927
|
+
vq as PassThroughCallableEntityClass,
|
|
58915
58928
|
I7 as PersistedEntity,
|
|
58916
58929
|
lr as PersistedEntityMethods,
|
|
58917
58930
|
or as PrimitiveEntityState,
|
|
@@ -58938,7 +58951,7 @@ export {
|
|
|
58938
58951
|
Xe as TERMINATION_TYPES,
|
|
58939
58952
|
Lm as Traverser,
|
|
58940
58953
|
ov as USER_MANAGED_ENTITY_TYPES,
|
|
58941
|
-
|
|
58954
|
+
cq as UserManagedEntityStateFunctionality,
|
|
58942
58955
|
Mm as VALUE_READING_ENTITIES_EXPLANATION,
|
|
58943
58956
|
An as VALUE_READING_TYPES,
|
|
58944
58957
|
F5 as VALUE_WRITING_ENTITIES_EXPLANATION,
|
|
@@ -58989,7 +59002,7 @@ export {
|
|
|
58989
59002
|
XZ as checkIsMethod,
|
|
58990
59003
|
bl as checkIsNestedScope,
|
|
58991
59004
|
$s as checkScopeCompatibility,
|
|
58992
|
-
|
|
59005
|
+
Iq as cloneProject,
|
|
58993
59006
|
Js as countedLoopActionDescriptor,
|
|
58994
59007
|
eb as countedLoopActionDescriptorDynamicReturnDeclaration,
|
|
58995
59008
|
QR as countedLoopActionDescriptorDynamicReturnDeclarationParentRef,
|
|
@@ -59025,7 +59038,7 @@ export {
|
|
|
59025
59038
|
DI as createNewInstanceOperationOutputEntityDeclarationParentRef,
|
|
59026
59039
|
bI as createNewInstanceOperationRef,
|
|
59027
59040
|
s5 as createSemanticId,
|
|
59028
|
-
|
|
59041
|
+
dq as createStateFromGenerationTargetType,
|
|
59029
59042
|
rt as createStateFromType,
|
|
59030
59043
|
g as createStateFromTypeAndSubscribe,
|
|
59031
59044
|
Hl as cronJobBuiltInBaseEntity,
|
|
@@ -59041,7 +59054,7 @@ export {
|
|
|
59041
59054
|
nD as definitionEntityToZodSchema,
|
|
59042
59055
|
Sp as deletePersistedEntityMethod,
|
|
59043
59056
|
pA as deletePersistedEntityMethodParentRef,
|
|
59044
|
-
|
|
59057
|
+
Rq as deleteRootProject,
|
|
59045
59058
|
qs as endpointBuiltInBaseEntity,
|
|
59046
59059
|
hb as endpointBuiltInBaseEntityRef,
|
|
59047
59060
|
Yb as endpointBuiltInBaseEntityRefFour,
|
|
@@ -59152,6 +59165,7 @@ export {
|
|
|
59152
59165
|
pZ as flattenVariableReads,
|
|
59153
59166
|
cZ as flattenVariableWrites,
|
|
59154
59167
|
Ge as flattenVariables,
|
|
59168
|
+
lq as fromChangeSetToRecordChangeSet,
|
|
59155
59169
|
Cm as fromZodParseToEntityGenerationErrors,
|
|
59156
59170
|
j7 as generate,
|
|
59157
59171
|
VJ as generateActionExample,
|
|
@@ -59260,7 +59274,7 @@ export {
|
|
|
59260
59274
|
rq as getPeristedEntities,
|
|
59261
59275
|
nJ as getPlayableEntityReferenceSchema,
|
|
59262
59276
|
rJ as getPlayableEntityTypeSchema,
|
|
59263
|
-
|
|
59277
|
+
gq as getProject,
|
|
59264
59278
|
ic as getPrototypeByType,
|
|
59265
59279
|
P as getReferenceEntityId,
|
|
59266
59280
|
Xo as getReferencedEntitiesStateOrErrors,
|
|
@@ -59676,7 +59690,7 @@ export {
|
|
|
59676
59690
|
K as stringPrototype,
|
|
59677
59691
|
c0 as stringValueAutogenerationSchema,
|
|
59678
59692
|
Oc as suggestNewIdForEntity,
|
|
59679
|
-
|
|
59693
|
+
bq as test_primitive_entities_export,
|
|
59680
59694
|
yJ as toCamelCase,
|
|
59681
59695
|
Kt as toEntityState,
|
|
59682
59696
|
e5 as toKebabCase,
|