@elyx-code/project-logic-tree 0.0.7060 → 0.0.7062
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 +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +20 -18
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -13133,7 +13133,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
13133
13133
|
|
|
13134
13134
|
export declare function entityDisabledReasonToShortReadableError(code: CanvasEntityConnectionDisabledReason | string): string;
|
|
13135
13135
|
|
|
13136
|
-
export declare class EntityError<TCode = SharedEntityErrorCode | EntityInstanceErrorCode
|
|
13136
|
+
export declare class EntityError<TCode = SharedEntityErrorCode | EntityInstanceErrorCode> implements IEntityError<TCode> {
|
|
13137
13137
|
id: string;
|
|
13138
13138
|
message: string;
|
|
13139
13139
|
severity: EntityErrorSeverity;
|
package/dist/index.js
CHANGED
|
@@ -75911,7 +75911,7 @@ const kg = Object.values(CF), Xc = {
|
|
|
75911
75911
|
previousVersion: null,
|
|
75912
75912
|
deleted: !1,
|
|
75913
75913
|
name: he.String,
|
|
75914
|
-
value: "
|
|
75914
|
+
value: "compute-instance",
|
|
75915
75915
|
parent: tui,
|
|
75916
75916
|
autogeneration: null,
|
|
75917
75917
|
valueAsTypeList: null,
|
|
@@ -107641,15 +107641,15 @@ function ffi(s, u) {
|
|
|
107641
107641
|
}
|
|
107642
107642
|
const W = x.map(
|
|
107643
107643
|
(X) => {
|
|
107644
|
-
var Q;
|
|
107645
|
-
return ((Q = X.properties.find(
|
|
107646
|
-
(
|
|
107647
|
-
(
|
|
107644
|
+
var Q, re;
|
|
107645
|
+
return ((re = (Q = X.properties.find(
|
|
107646
|
+
(oe) => oe.implements.some(
|
|
107647
|
+
(Y) => Y.id === j["built-in-base-entity"].BUILT_IN_COMPUTE_ENTITY.properties.computeName.id
|
|
107648
107648
|
)
|
|
107649
|
-
)) == null ? void 0 : Q.
|
|
107649
|
+
)) == null ? void 0 : Q.defaultValue) == null ? void 0 : re.value) || "";
|
|
107650
107650
|
}
|
|
107651
107651
|
), ee = $K(
|
|
107652
|
-
|
|
107652
|
+
U.value || "compute-instance",
|
|
107653
107653
|
W
|
|
107654
107654
|
);
|
|
107655
107655
|
U.metaSync(
|
|
@@ -109271,20 +109271,21 @@ class Rfi extends ao {
|
|
|
109271
109271
|
Ee.COMPUTE_ENTITY
|
|
109272
109272
|
) && m.id !== this.id
|
|
109273
109273
|
).forEach((m) => {
|
|
109274
|
+
var E;
|
|
109274
109275
|
const v = m.properties.find(
|
|
109275
|
-
(
|
|
109276
|
-
(
|
|
109276
|
+
(A) => A.implements.some(
|
|
109277
|
+
(C) => C.id === j[d.BuiltInBaseEntity][Ee.COMPUTE_ENTITY].properties.computeName.id
|
|
109277
109278
|
)
|
|
109278
109279
|
);
|
|
109279
|
-
if (v && (v == null ? void 0 : v.id) !== a.id && v.
|
|
109280
|
-
const
|
|
109280
|
+
if (v && (v == null ? void 0 : v.id) !== a.id && ((E = v.defaultValue) == null ? void 0 : E.value) === c) {
|
|
109281
|
+
const A = new ci({
|
|
109281
109282
|
id: a.id + "--" + Ie.ComputeNameNotUnique,
|
|
109282
109283
|
message: `Compute name "${c}" is duplicated.`,
|
|
109283
109284
|
severity: be.Error,
|
|
109284
109285
|
code: Ie.ComputeNameNotUnique,
|
|
109285
109286
|
entity: a
|
|
109286
109287
|
});
|
|
109287
|
-
e.errors.push(
|
|
109288
|
+
e.errors.push(A);
|
|
109288
109289
|
}
|
|
109289
109290
|
}), e;
|
|
109290
109291
|
});
|
|
@@ -193021,21 +193022,22 @@ function YCi(s) {
|
|
|
193021
193022
|
return s.implements.some((a) => a.id === i) && s.project.entities.filter(
|
|
193022
193023
|
(a) => $i(a, Ee.COMPUTE_ENTITY) && a.id !== s.parent.id
|
|
193023
193024
|
).forEach((a) => {
|
|
193025
|
+
var e, f, h;
|
|
193024
193026
|
const c = a.properties.find(
|
|
193025
|
-
(
|
|
193026
|
-
(
|
|
193027
|
+
(m) => m.implements.some(
|
|
193028
|
+
(v) => v.id === j[d.BuiltInBaseEntity][Ee.COMPUTE_ENTITY].properties.computeName.id
|
|
193027
193029
|
)
|
|
193028
193030
|
);
|
|
193029
|
-
if (c && (c == null ? void 0 : c.id) !== s.id && c.
|
|
193030
|
-
const
|
|
193031
|
+
if (c && (c == null ? void 0 : c.id) !== s.id && ((e = c.defaultValue) == null ? void 0 : e.value) === ((f = s.defaultValue) == null ? void 0 : f.value)) {
|
|
193032
|
+
const m = Zt({
|
|
193031
193033
|
id: `${s.id}--${Ie.ComputeNameNotUnique}`,
|
|
193032
|
-
message: `Compute name "${
|
|
193034
|
+
message: `Compute name "${(h = c.defaultValue) == null ? void 0 : h.value}" is duplicated.`,
|
|
193033
193035
|
severity: be.Error,
|
|
193034
193036
|
code: Ie.ComputeNameNotUnique,
|
|
193035
193037
|
entity: s,
|
|
193036
193038
|
firstRelationship: c
|
|
193037
193039
|
});
|
|
193038
|
-
u.push(
|
|
193040
|
+
u.push(m.error);
|
|
193039
193041
|
}
|
|
193040
193042
|
}), u;
|
|
193041
193043
|
}
|
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.7062",
|
|
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",
|