@elyx-code/project-logic-tree 0.0.6247 → 0.0.6249
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 +654 -594
- package/dist/index.umd.cjs +153 -153
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10646,7 +10646,7 @@ function Gw(r) {
|
|
|
10646
10646
|
o[E] = sl(o[E - 3] ^ o[E - 8] ^ o[E - 14] ^ o[E - 16], 1);
|
|
10647
10647
|
let d = e[0], u = e[1], h = e[2], c = e[3], T = e[4];
|
|
10648
10648
|
for (let E = 0; E < 80; ++E) {
|
|
10649
|
-
const
|
|
10649
|
+
const R = Math.floor(E / 20), O = sl(d, 5) + $w(R, u, h, c) + T + a[R] + o[E] >>> 0;
|
|
10650
10650
|
T = c, c = h, h = sl(u, 30) >>> 0, u = d, d = O;
|
|
10651
10651
|
}
|
|
10652
10652
|
e[0] = e[0] + d >>> 0, e[1] = e[1] + u >>> 0, e[2] = e[2] + h >>> 0, e[3] = e[3] + c >>> 0, e[4] = e[4] + T >>> 0;
|
|
@@ -10819,8 +10819,8 @@ var iP = (() => {
|
|
|
10819
10819
|
validate: (T, E = !1) => {
|
|
10820
10820
|
if (!T || typeof T != "string")
|
|
10821
10821
|
return !1;
|
|
10822
|
-
const
|
|
10823
|
-
return E === !1 ?
|
|
10822
|
+
const R = i.consistentLength ? T.length === s : T.length <= s, O = T.split("").every((V) => t.includes(V));
|
|
10823
|
+
return E === !1 ? R && O : R && O && Qw(Dp(T, d));
|
|
10824
10824
|
}
|
|
10825
10825
|
};
|
|
10826
10826
|
return Object.freeze(c), c;
|
|
@@ -24883,7 +24883,7 @@ var mm = { exports: {} };
|
|
|
24883
24883
|
(function(e, t) {
|
|
24884
24884
|
r.exports = t();
|
|
24885
24885
|
})(KO, function() {
|
|
24886
|
-
var e = 1e3, t = 6e4, i = 36e5, s = "millisecond", l = "second", o = "minute", d = "hour", u = "day", h = "week", c = "month", T = "quarter", E = "year",
|
|
24886
|
+
var e = 1e3, t = 6e4, i = 36e5, s = "millisecond", l = "second", o = "minute", d = "hour", u = "day", h = "week", c = "month", T = "quarter", E = "year", R = "date", O = "Invalid Date", V = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, M = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(ye) {
|
|
24887
24887
|
var te = ["th", "st", "nd", "rd"], z = ye % 100;
|
|
24888
24888
|
return "[" + ye + (te[(z - 20) % 10] || te[z] || te[0]) + "]";
|
|
24889
24889
|
} }, C = function(ye, te, z) {
|
|
@@ -24900,7 +24900,7 @@ var mm = { exports: {} };
|
|
|
24900
24900
|
}, a: function(ye) {
|
|
24901
24901
|
return ye < 0 ? Math.ceil(ye) || 0 : Math.floor(ye);
|
|
24902
24902
|
}, p: function(ye) {
|
|
24903
|
-
return { M: c, y: E, w: h, d: u, D, h: d, m: o, s: l, ms: s, Q: T }[ye] || String(ye || "").toLowerCase().replace(/s$/, "");
|
|
24903
|
+
return { M: c, y: E, w: h, d: u, D: R, h: d, m: o, s: l, ms: s, Q: T }[ye] || String(ye || "").toLowerCase().replace(/s$/, "");
|
|
24904
24904
|
}, u: function(ye) {
|
|
24905
24905
|
return ye === void 0;
|
|
24906
24906
|
} }, Z = "en", q = {};
|
|
@@ -24990,7 +24990,7 @@ var mm = { exports: {} };
|
|
|
24990
24990
|
var jr = this.$locale().weekStart || 0, Ts = (Ot < jr ? Ot + 7 : Ot) - jr;
|
|
24991
24991
|
return at(Ee ? Ti - Ts : Ti + (6 - Ts), Ut);
|
|
24992
24992
|
case u:
|
|
24993
|
-
case
|
|
24993
|
+
case R:
|
|
24994
24994
|
return At(Bn + "Hours", 0);
|
|
24995
24995
|
case d:
|
|
24996
24996
|
return At(Bn + "Minutes", 1);
|
|
@@ -25004,10 +25004,10 @@ var mm = { exports: {} };
|
|
|
25004
25004
|
}, te.endOf = function(z) {
|
|
25005
25005
|
return this.startOf(z, !1);
|
|
25006
25006
|
}, te.$set = function(z, le) {
|
|
25007
|
-
var Q, Ee = ae.p(z), Ie = "set" + (this.$u ? "UTC" : ""), at = (Q = {}, Q[u] = Ie + "Date", Q[
|
|
25007
|
+
var Q, Ee = ae.p(z), Ie = "set" + (this.$u ? "UTC" : ""), at = (Q = {}, Q[u] = Ie + "Date", Q[R] = Ie + "Date", Q[c] = Ie + "Month", Q[E] = Ie + "FullYear", Q[d] = Ie + "Hours", Q[o] = Ie + "Minutes", Q[l] = Ie + "Seconds", Q[s] = Ie + "Milliseconds", Q)[Ee], At = Ee === u ? this.$D + (le - this.$W) : le;
|
|
25008
25008
|
if (Ee === c || Ee === E) {
|
|
25009
|
-
var Ot = this.clone().set(
|
|
25010
|
-
Ot.$d[at](At), Ot.init(), this.$d = Ot.set(
|
|
25009
|
+
var Ot = this.clone().set(R, 1);
|
|
25010
|
+
Ot.$d[at](At), Ot.init(), this.$d = Ot.set(R, Math.min(this.$D, Ot.daysInMonth())).$d;
|
|
25011
25011
|
} else
|
|
25012
25012
|
at && this.$d[at](At);
|
|
25013
25013
|
return this.init(), this;
|
|
@@ -25157,7 +25157,7 @@ var mm = { exports: {} };
|
|
|
25157
25157
|
return this.$d.toUTCString();
|
|
25158
25158
|
}, ye;
|
|
25159
25159
|
}(), Ni = Zt.prototype;
|
|
25160
|
-
return X.prototype = Ni, [["$ms", s], ["$s", l], ["$m", o], ["$H", d], ["$W", u], ["$M", c], ["$y", E], ["$D",
|
|
25160
|
+
return X.prototype = Ni, [["$ms", s], ["$s", l], ["$m", o], ["$H", d], ["$W", u], ["$M", c], ["$y", E], ["$D", R]].forEach(function(ye) {
|
|
25161
25161
|
Ni[ye[1]] = function(te) {
|
|
25162
25162
|
return this.$g(te, ye[0], ye[1]);
|
|
25163
25163
|
};
|
|
@@ -25170,7 +25170,7 @@ var mm = { exports: {} };
|
|
|
25170
25170
|
})(mm);
|
|
25171
25171
|
var c8 = mm.exports;
|
|
25172
25172
|
const v = /* @__PURE__ */ nf(c8);
|
|
25173
|
-
var
|
|
25173
|
+
var D = /* @__PURE__ */ ((r) => (r.Error = "error", r.Warning = "warning", r))(D || {}), L = /* @__PURE__ */ ((r) => (r.InvalidObjectStructure = "invalid-object-structure", r.NameNotUniqueInScope = "name-not-unique-in-scope", r.EmptyName = "empty-name", r.MissingCaller = "missing-caller", r.PropertyOverwritesOtherSiblingWithSameName = "property-overwrites-other-sibling-with-same-name", r.PropertyOverwritesOtherSiblingWithSameImplementation = "property-overwrites-other-sibling-with-same-name", r.PropertyOverwritesOtherImplementedEntitysPropertyWithSameName = "property-overwrites-other-implemented-entitys-property-with-same-name", r.PropertyOverwritesOtherImplementedEntitysPropertyWithSameImplementation = "property-overwrites-other-implemented-entitys-property-with-same-name", r.PropertyOverwritesOtherExtendedEntitysPropertyWithSameImplementation = "property-overwrites-other-extended-entitys-property-with-same-name", r.PropertyOverwritesOtherExtendedEntitysPropertyWithSameName = "property-overwrites-other-extended-entitys-property-with-same-name", r.PropertyOverwritesBasePropertyWithSameName = "property-overwrites-base-property-with-same-name", r.PropertyOverwritesBasePropertyWithSameImplementation = "property-overwrites-base-property-with-same-name", r.MethodOverwritesOtherSiblingWithSameName = "method-overwrites-other-sibling-with-same-name", r.MethodOverwritesOtherSiblingWithSameImplementation = "method-overwrites-other-sibling-with-same-name", r.MethodOverwritesOtherImplementedEntitysMethodWithSameName = "method-overwrites-other-implemented-entitys-method-with-same-name", r.MethodOverwritesOtherImplementedEntitysMethodWithSameImplementation = "method-overwrites-other-implemented-entitys-method-with-same-name", r.MethodOverwritesOtherExtendedEntitysMethodWithSameImplementation = "method-overwrites-other-extended-entitys-method-with-same-name", r.MethodOverwritesOtherExtendedEntitysMethodWithSameName = "method-overwrites-other-extended-entitys-method-with-same-name", r.MethodOverwritesBaseMethodWithSameName = "method-overwrites-base-method-with-same-name", r.MethodOverwritesBaseMethodWithSameImplementation = "method-overwrites-base-method-with-same-name", r.LoopBodyFunctionOverwrite = "loop-body-function-overwrite", r.NoOverlapWithImplementedSignature = "no-overlap-with-implemented-signature", r.ReaderWriterIncompatibleDataType = "reader-writer-incompatible-data-type", r.UnreachableEntity = "unreachable-entity", r.InternalCallParentMissingDataType = "internal-call-parent-missing-data-type", r.InternalCallParentDeclarationEntityInvalidType = "internal-call-parent-declaration-entity-invalid-type", r.InternalCallDeclarationNotFoundInParentDatatypeEntity = "internal-call-declaration-not-found-in-parent-datatype-entity", r.InternalCallDeclarationIsNotFunctionDeclaration = "internal-call-declaration-is-not-function-declaration", r.InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity", r))(L || {}), b = /* @__PURE__ */ ((r) => (r.RootReference = "root-reference", r.ReferencedEntityNotFound = "referenced-entity-not-found", r.EntityIdNotUnique = "entity-id-not-unique", r.BuiltInEntityGenerated = "built-in-entity-generated", r.BuiltInEntityUpdated = "built-in-entity-updated", r.BuiltInEntityDeleted = "built-in-entity-deleted", r.UnknownEntityType = "unknown-entity-type", r.MissingTypeProperty = "missing-type-property", r.MissingIdProperty = "missing-id-property", r.BuiltInEntityParent = "built-in-entity-parent", r.InvalidBuiltInEntityReference = "invalid-built-in-entity-reference", r.RecommendedImplementAbstractEntityAction = "recommended-implement-abstract-entity-action", r.RecommendedImplementOperationAction = "recommended-implement-operation-action", r.RecommendedImplementFunctionCallAction = "recommended-implement-function-call-action", r.RecommendedImplementVariableDeclarationAction = "recommended-implement-variable-declaration-action", r.RecommendedImplementVariableInstanceAction = "recommended-implement-variable-instance-action", r.RecommendedImplementConditionAction = "recommended-implement-condition-action", r.InvalidReferenceObjectStructure = "invalid-reference-object-structure", r.ContainsSingleButShouldBeReferenceList = "contains-single-but-should-be-reference-list", r.ContainsListButShouldReferenceSingle = "contains-list-but-should-reference-single", r.InvalidParentReference = "invalid-parent-reference", r.InvalidImplementsReference = "invalid-implements-reference", r.InvalidExtendsReference = "invalid-extends-reference", r.InvalidGenerationActionPayload = "invalid-generation-action-payload", r.InvalidReference = "invalid-reference", r.InvalidInternalCallParentRelation = "invalid-internal-call-parent-relation", r.InvalidUpdateEntityOperation = "invalid-update-entity-operation", r.NewEntityWouldOverriteExisting = "new-entity-would-overrite-existing", r.InvalidDownstreamPropertyOverride = "invalid-downstream-property-override", r.UnrecognizedProperty = "unrecognized-property", r.SelfReference = "self-reference", r.DuplicateReference = "duplicate-reference", r.CallerWithIncompatibleScope = "caller-with-incompatible-scope", r.InvalidFunctionDeclarationForFunctionCall = "invalid-function-declaration-for-function-call", r.InvalidInputMapDeclaration = "invalid-input-map-declaration", r.InvalidActionDescriptorForOperation = "invalid-action-descriptor-for-operation", r.InvalidActionDescriptorForCondition = "invalid-action-descriptor-for-condition", r.InvalidActionDescriptorForLoop = "invalid-action-descriptor-for-loop", r.InvalidInmutablePropertyOverride = "invalid-inmutable-property-override", r.OutputOverwrite = "output-overwrite", r.InputOverwrite = "input-overwrite", r.IncompatibleScope = "incompatible-scope", r.InvalidParentUpdate = "invalid-parent-update", r.NonInteractiveEntityReferenced = "non-interactive-entity-referenced", r.InvalidParentRelationType = "invalid-parent-relation-type", r))(b || {}), G = /* @__PURE__ */ ((r) => (r.NoPrimaryKeyProperty = "no-primary-key-property", r.ScopeWithoutLogic = "scope-without-logic", r.AbstractEntityImplements = "abstract-entity-implements", r.ImplementsIncompatibleEntities = "implements-incompatible-entities", r.ExtendsIncompatibleEntities = "extends-incompatible-entities", r.NonAbstractExtendingAbstractEntity = "non-abstract-extending-abstract-entity", r.AbstractExtendingNonAbstractEntity = "abstract-extending-non-abstract-entity", r.NonStaticExtendingStaticEntity = "non-static-extending-static-entity", r.StaticExtendingNonStaticEntity = "static-extending-non-static-entity", r.StaticImplementingNonStaticEntity = "static-implementing-non-static-entity", r.NonStaticImplementingStaticEntity = "non-static-implementing-static-entity", r.ImplementingNonAbstractEntity = "implementing-non-abstract-entity", r.ExtendingNonInteractiveEntity = "extending-non-interactive-entity", r.AbstractEntityWithNonAbstractMethods = "abstract-entity-with-non-abstract-methods", r.AbstractEntityWithNonAbstractProperties = "abstract-entity-with-non-abstract-properties", r.StaticEntityWithNonStaticProperties = "static-entity-with-non-static-properties", r.NonStaticPropertyInStaticEntity = "non-static-property-in-static-entity", r.AbstractPropertyInNonAbstractEntity = "abstract-property-in-non-abstract-entity", r.AbstractMethodInNonAbstractEntity = "abstract-method-in-non-abstract-entity", r.IncorrectEntityImplementation = "incorrect-entity-implementation", r.IncorrectMethodImplementation = "incorrect-method-implementation", r.IncorrectPropertyImplementation = "incorrect-property-implementation", r.PropertyImplementsNonAbstact = "property-implements-non-abstract", r.NonStaticPropertyImplementsStatic = "non-static-property-implements-static", r.StaticPropertyImplementsNonStatic = "static-property-implements-non-static", r.PropertyImplementsIncompatibleType = "property-implements-incompatible-type", r.MissingPropertyImplementation = "missing-property-implementation", r.MissingMethodImplementation = "missing-method-implementation", r.NoProperties = "no-properties", r.ReadingFromIncompatibleType = "reading-from-incompatible-type", r.WritingToIncompatibleType = "writing-to-incompatible-type", r.InvalidPropertiesCombination = "invalid-properties-combination", r.DisconnectedCallableEntity = "disconnected-callable-entity", r.VariableReadsValueAndInternalCall = "variable-reads-value-and-internal-call", r.VariableWritesValuesAndInternalCall = "variable-writes-values-and-internal-call", r.VariableHasInputsAndInternalCall = "variable-has-inputs-and-internal-calls", r.VariableHasOutputsAndInternalCall = "variable-has-outputs-and-internal-call", r.VariableIsCalledAndHasInternalCall = "variable-is-called-and-has-internal-call", r.VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call", r))(G || {});
|
|
25174
25174
|
class w {
|
|
25175
25175
|
constructor(a) {
|
|
25176
25176
|
// A deterministic error code, so if the same error occurs again in a subsequent validation run,
|
|
@@ -29523,7 +29523,7 @@ function U0(r, a) {
|
|
|
29523
29523
|
new w({
|
|
29524
29524
|
id: `${r.id}--${L.EmptyName}`,
|
|
29525
29525
|
message: `Entity with id "${r.id}" and type "${r.type}" has an empty name. Please provide a 'name' string.`,
|
|
29526
|
-
severity:
|
|
29526
|
+
severity: D.Error,
|
|
29527
29527
|
code: L.EmptyName,
|
|
29528
29528
|
issue: null
|
|
29529
29529
|
})
|
|
@@ -29536,7 +29536,7 @@ function U0(r, a) {
|
|
|
29536
29536
|
id: `${r.id}--${L.NameNotUniqueInScope}`,
|
|
29537
29537
|
message: `Entity with id "${r.id}" and type "${r.type}" has a name "${r.name}" that is not unique in the project. Entity with id "${t[0].id}" has the same name.
|
|
29538
29538
|
Please provide a unique 'name' string.`,
|
|
29539
|
-
severity:
|
|
29539
|
+
severity: D.Error,
|
|
29540
29540
|
code: L.NameNotUniqueInScope,
|
|
29541
29541
|
issue: null
|
|
29542
29542
|
})
|
|
@@ -29548,7 +29548,7 @@ function j0(r, a) {
|
|
|
29548
29548
|
new w({
|
|
29549
29549
|
id: `${r.id}--${L.EmptyName}`,
|
|
29550
29550
|
message: `Entity with id "${r.id}" and type "${r.type}" has an empty name. Please provide a 'name' string.`,
|
|
29551
|
-
severity:
|
|
29551
|
+
severity: D.Error,
|
|
29552
29552
|
code: L.EmptyName,
|
|
29553
29553
|
issue: null
|
|
29554
29554
|
})
|
|
@@ -29572,7 +29572,7 @@ function j0(r, a) {
|
|
|
29572
29572
|
id: `${r.id}--${L.NameNotUniqueInScope}`,
|
|
29573
29573
|
message: `Entity with id "${r.id}" and type "${r.type}" has a name "${r.name}" that is not unique in ${i.type === n.Project ? "the globally declared project scope" : "its parent entity"}. Entity with id "${l[0].id}" has the same name.
|
|
29574
29574
|
Please provide a unique 'name' string.`,
|
|
29575
|
-
severity:
|
|
29575
|
+
severity: D.Error,
|
|
29576
29576
|
code: L.NameNotUniqueInScope,
|
|
29577
29577
|
issue: null
|
|
29578
29578
|
})
|
|
@@ -29584,7 +29584,7 @@ function L0(r, a) {
|
|
|
29584
29584
|
new w({
|
|
29585
29585
|
id: `${r.id}--${L.EmptyName}`,
|
|
29586
29586
|
message: `Entity with id "${r.id}" and type "${r.type}" has an empty name. Please provide a 'name' string.`,
|
|
29587
|
-
severity:
|
|
29587
|
+
severity: D.Error,
|
|
29588
29588
|
code: L.EmptyName,
|
|
29589
29589
|
issue: null
|
|
29590
29590
|
})
|
|
@@ -29595,7 +29595,7 @@ function L0(r, a) {
|
|
|
29595
29595
|
new w({
|
|
29596
29596
|
id: `${r.id}--parent-reference--${b.ReferencedEntityNotFound}`,
|
|
29597
29597
|
message: `The entity with id '${r.parent}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
29598
|
-
severity:
|
|
29598
|
+
severity: D.Error,
|
|
29599
29599
|
code: b.ReferencedEntityNotFound,
|
|
29600
29600
|
issue: null
|
|
29601
29601
|
})
|
|
@@ -29611,7 +29611,7 @@ function L0(r, a) {
|
|
|
29611
29611
|
id: `${r.id}--${L.NameNotUniqueInScope}`,
|
|
29612
29612
|
message: `Entity with id "${r.id}" and type "${r.type}" has a name "${r.name}" that is not unique in its scope or higher scopes. Entity with id "${s[0].id}" has the same name.
|
|
29613
29613
|
Please provide a unique 'name' string.`,
|
|
29614
|
-
severity:
|
|
29614
|
+
severity: D.Error,
|
|
29615
29615
|
code: L.NameNotUniqueInScope,
|
|
29616
29616
|
issue: null
|
|
29617
29617
|
})
|
|
@@ -29625,7 +29625,7 @@ function x0(r, a) {
|
|
|
29625
29625
|
new w({
|
|
29626
29626
|
id: `${r.id}--${L.EmptyName}`,
|
|
29627
29627
|
message: `Entity with id "${r.id}" and type "${r.type}" has an empty name. Please provide a 'name' string.`,
|
|
29628
|
-
severity:
|
|
29628
|
+
severity: D.Error,
|
|
29629
29629
|
code: L.EmptyName,
|
|
29630
29630
|
issue: null
|
|
29631
29631
|
})
|
|
@@ -29636,7 +29636,7 @@ function x0(r, a) {
|
|
|
29636
29636
|
new w({
|
|
29637
29637
|
id: `${r.id}--parent-reference--${b.InvalidReferenceObjectStructure}`,
|
|
29638
29638
|
message: `Reference object at 'parent' property for entity with id "${r.id}" and type "${r.type}" is not a valid reference. A reference needs to be a 'id' string of an existing entity in the project.`,
|
|
29639
|
-
severity:
|
|
29639
|
+
severity: D.Error,
|
|
29640
29640
|
code: b.InvalidReferenceObjectStructure,
|
|
29641
29641
|
issue: null
|
|
29642
29642
|
})
|
|
@@ -29648,7 +29648,7 @@ function x0(r, a) {
|
|
|
29648
29648
|
new w({
|
|
29649
29649
|
id: `${r.id}--parent-reference--${b.ReferencedEntityNotFound}`,
|
|
29650
29650
|
message: `The entity with id '${t}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
29651
|
-
severity:
|
|
29651
|
+
severity: D.Error,
|
|
29652
29652
|
code: b.ReferencedEntityNotFound,
|
|
29653
29653
|
issue: null
|
|
29654
29654
|
})
|
|
@@ -29662,7 +29662,7 @@ function x0(r, a) {
|
|
|
29662
29662
|
id: `${r.id}--${L.NameNotUniqueInScope}`,
|
|
29663
29663
|
message: `Entity with id "${r.id}" and type "${r.type}" has a name "${r.name}" that is not unique among all properties in the parent entity. Entity with id "${l[0].id}" has the same name.
|
|
29664
29664
|
Please provide a unique 'name' string.`,
|
|
29665
|
-
severity:
|
|
29665
|
+
severity: D.Error,
|
|
29666
29666
|
code: L.NameNotUniqueInScope,
|
|
29667
29667
|
issue: null
|
|
29668
29668
|
})
|
|
@@ -29677,7 +29677,7 @@ function $0(r, a) {
|
|
|
29677
29677
|
new w({
|
|
29678
29678
|
id: `${r.id}--${L.EmptyName}`,
|
|
29679
29679
|
message: `Entity with id "${r.id}" and type "${r.type}" has an empty name. Please provide a 'name' string.`,
|
|
29680
|
-
severity:
|
|
29680
|
+
severity: D.Error,
|
|
29681
29681
|
code: L.EmptyName,
|
|
29682
29682
|
issue: null
|
|
29683
29683
|
})
|
|
@@ -29688,7 +29688,7 @@ function $0(r, a) {
|
|
|
29688
29688
|
new w({
|
|
29689
29689
|
id: `${r.id}--parent-reference--${b.InvalidReferenceObjectStructure}`,
|
|
29690
29690
|
message: `Reference object at 'parent' property for entity with id "${r.id}" and type "${r.type}" is not a valid reference. A reference needs to be a 'id' string of an existing entity in the project.`,
|
|
29691
|
-
severity:
|
|
29691
|
+
severity: D.Error,
|
|
29692
29692
|
code: b.InvalidReferenceObjectStructure,
|
|
29693
29693
|
issue: null
|
|
29694
29694
|
})
|
|
@@ -29700,7 +29700,7 @@ function $0(r, a) {
|
|
|
29700
29700
|
new w({
|
|
29701
29701
|
id: `${r.id}--parent-reference--${b.ReferencedEntityNotFound}`,
|
|
29702
29702
|
message: `The entity with id '${t}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
29703
|
-
severity:
|
|
29703
|
+
severity: D.Error,
|
|
29704
29704
|
code: b.ReferencedEntityNotFound,
|
|
29705
29705
|
issue: null
|
|
29706
29706
|
})
|
|
@@ -29716,7 +29716,7 @@ function $0(r, a) {
|
|
|
29716
29716
|
id: `${r.id}--${L.NameNotUniqueInScope}`,
|
|
29717
29717
|
message: `Entity with id "${r.id}" and type "${r.type}" has a name "${r.name}" that is not unique among all inputs declared in the parent entity. Entity with id "${l[0].id}" has the same name.
|
|
29718
29718
|
Please provide a unique 'name' string.`,
|
|
29719
|
-
severity:
|
|
29719
|
+
severity: D.Error,
|
|
29720
29720
|
code: L.NameNotUniqueInScope,
|
|
29721
29721
|
issue: null
|
|
29722
29722
|
})
|
|
@@ -29731,7 +29731,7 @@ function G0(r, a) {
|
|
|
29731
29731
|
new w({
|
|
29732
29732
|
id: `${r.id}--${L.EmptyName}`,
|
|
29733
29733
|
message: `Entity with id "${r.id}" and type "${r.type}" has an empty name. Please provide a 'name' string.`,
|
|
29734
|
-
severity:
|
|
29734
|
+
severity: D.Error,
|
|
29735
29735
|
code: L.EmptyName,
|
|
29736
29736
|
issue: null
|
|
29737
29737
|
})
|
|
@@ -29742,7 +29742,7 @@ function G0(r, a) {
|
|
|
29742
29742
|
new w({
|
|
29743
29743
|
id: `${r.id}--parent-reference--${b.InvalidReferenceObjectStructure}`,
|
|
29744
29744
|
message: `Reference object at 'parent' property for entity with id "${r.id}" and type "${r.type}" is not a valid reference. A reference needs to be a 'id' string of an existing entity in the project.`,
|
|
29745
|
-
severity:
|
|
29745
|
+
severity: D.Error,
|
|
29746
29746
|
code: b.InvalidReferenceObjectStructure,
|
|
29747
29747
|
issue: null
|
|
29748
29748
|
})
|
|
@@ -29754,7 +29754,7 @@ function G0(r, a) {
|
|
|
29754
29754
|
new w({
|
|
29755
29755
|
id: `${r.id}--parent-reference--${b.ReferencedEntityNotFound}`,
|
|
29756
29756
|
message: `The entity with id '${t}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
29757
|
-
severity:
|
|
29757
|
+
severity: D.Error,
|
|
29758
29758
|
code: b.ReferencedEntityNotFound,
|
|
29759
29759
|
issue: null
|
|
29760
29760
|
})
|
|
@@ -29770,7 +29770,7 @@ function G0(r, a) {
|
|
|
29770
29770
|
id: `${r.id}--${L.NameNotUniqueInScope}`,
|
|
29771
29771
|
message: `Entity with id "${r.id}" and type "${r.type}" has a name "${r.name}" that is not unique among all outputs declared in the parent entity. Entity with id "${l[0].id}" has the same name.
|
|
29772
29772
|
Please provide a unique 'name' string.`,
|
|
29773
|
-
severity:
|
|
29773
|
+
severity: D.Error,
|
|
29774
29774
|
code: L.NameNotUniqueInScope,
|
|
29775
29775
|
issue: null
|
|
29776
29776
|
})
|
|
@@ -29838,7 +29838,7 @@ function F0(r) {
|
|
|
29838
29838
|
r.project
|
|
29839
29839
|
)}" with id "${r.id}".`,
|
|
29840
29840
|
issue: null,
|
|
29841
|
-
severity:
|
|
29841
|
+
severity: D.Error,
|
|
29842
29842
|
code: G.PropertyImplementsNonAbstact,
|
|
29843
29843
|
entity: r
|
|
29844
29844
|
});
|
|
@@ -29859,7 +29859,7 @@ function g0(r) {
|
|
|
29859
29859
|
r.project
|
|
29860
29860
|
)}" with id "${e.id}".`,
|
|
29861
29861
|
issue: null,
|
|
29862
|
-
severity:
|
|
29862
|
+
severity: D.Error,
|
|
29863
29863
|
code: G.PropertyImplementsNonAbstact,
|
|
29864
29864
|
entity: r
|
|
29865
29865
|
});
|
|
@@ -29876,7 +29876,7 @@ function g0(r) {
|
|
|
29876
29876
|
r.project
|
|
29877
29877
|
)}" with id "${e.id}".`,
|
|
29878
29878
|
issue: null,
|
|
29879
|
-
severity:
|
|
29879
|
+
severity: D.Error,
|
|
29880
29880
|
code: G.NonStaticPropertyImplementsStatic,
|
|
29881
29881
|
entity: r
|
|
29882
29882
|
});
|
|
@@ -29893,7 +29893,7 @@ function g0(r) {
|
|
|
29893
29893
|
r.project
|
|
29894
29894
|
)}" with id "${e.id}".`,
|
|
29895
29895
|
issue: null,
|
|
29896
|
-
severity:
|
|
29896
|
+
severity: D.Error,
|
|
29897
29897
|
code: G.StaticPropertyImplementsNonStatic,
|
|
29898
29898
|
entity: r
|
|
29899
29899
|
});
|
|
@@ -29910,7 +29910,7 @@ function g0(r) {
|
|
|
29910
29910
|
r.project
|
|
29911
29911
|
)}" with id "${e.id}" that has an incompatible data type.`,
|
|
29912
29912
|
issue: null,
|
|
29913
|
-
severity:
|
|
29913
|
+
severity: D.Error,
|
|
29914
29914
|
code: G.PropertyImplementsIncompatibleType,
|
|
29915
29915
|
entity: r
|
|
29916
29916
|
});
|
|
@@ -29932,7 +29932,7 @@ function XZ(r, a) {
|
|
|
29932
29932
|
new w({
|
|
29933
29933
|
id: `${r.id}--${r.parent}--${b.ReferencedEntityNotFound}`,
|
|
29934
29934
|
code: b.ReferencedEntityNotFound,
|
|
29935
|
-
severity:
|
|
29935
|
+
severity: D.Error,
|
|
29936
29936
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${r.parent}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
29937
29937
|
issue: null
|
|
29938
29938
|
})
|
|
@@ -29948,7 +29948,7 @@ function XZ(r, a) {
|
|
|
29948
29948
|
new w({
|
|
29949
29949
|
id: `${r.id}--${b.InvalidBuiltInEntityReference}`,
|
|
29950
29950
|
code: b.InvalidBuiltInEntityReference,
|
|
29951
|
-
severity:
|
|
29951
|
+
severity: D.Error,
|
|
29952
29952
|
message: l,
|
|
29953
29953
|
issue: null
|
|
29954
29954
|
})
|
|
@@ -29958,7 +29958,7 @@ function XZ(r, a) {
|
|
|
29958
29958
|
new w({
|
|
29959
29959
|
id: `${r.id}--${r.parent}--${b.InvalidParentReference}`,
|
|
29960
29960
|
code: b.InvalidParentReference,
|
|
29961
|
-
severity:
|
|
29961
|
+
severity: D.Error,
|
|
29962
29962
|
message: `Entity of type "${r.type}" with id "${r.id}", has a parent reference that isn't pointing to an entity of type 'definition-entity'.`,
|
|
29963
29963
|
issue: null
|
|
29964
29964
|
})
|
|
@@ -29983,7 +29983,7 @@ ${ln}`, e.push(
|
|
|
29983
29983
|
new w({
|
|
29984
29984
|
id: `${r.id}--${b.NonInteractiveEntityReferenced}`,
|
|
29985
29985
|
code: b.NonInteractiveEntityReferenced,
|
|
29986
|
-
severity:
|
|
29986
|
+
severity: D.Error,
|
|
29987
29987
|
message: d,
|
|
29988
29988
|
issue: null
|
|
29989
29989
|
})
|
|
@@ -29997,7 +29997,7 @@ ${ln}`, e.push(
|
|
|
29997
29997
|
new w({
|
|
29998
29998
|
id: `${r.id}--${r.implements}--${b.SelfReference}`,
|
|
29999
29999
|
code: b.SelfReference,
|
|
30000
|
-
severity:
|
|
30000
|
+
severity: D.Error,
|
|
30001
30001
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to itself at 'implements'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
30002
30002
|
issue: null
|
|
30003
30003
|
})
|
|
@@ -30007,7 +30007,7 @@ ${ln}`, e.push(
|
|
|
30007
30007
|
new w({
|
|
30008
30008
|
id: `${r.id}--${r.implements}--${b.ReferencedEntityNotFound}`,
|
|
30009
30009
|
code: b.ReferencedEntityNotFound,
|
|
30010
|
-
severity:
|
|
30010
|
+
severity: D.Error,
|
|
30011
30011
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${r.implements}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
30012
30012
|
issue: null
|
|
30013
30013
|
})
|
|
@@ -30023,7 +30023,7 @@ ${ln}`, e.push(
|
|
|
30023
30023
|
new w({
|
|
30024
30024
|
id: `${r.id}--${L.PropertyOverwritesOtherSiblingWithSameImplementation}`,
|
|
30025
30025
|
code: L.PropertyOverwritesOtherSiblingWithSameImplementation,
|
|
30026
|
-
severity:
|
|
30026
|
+
severity: D.Error,
|
|
30027
30027
|
message: `The property with id "${r.id}" is trying to implement the property with id "${r.implements}", but the parent entity already has a property with id '${u.id}' that implements the same base property.`,
|
|
30028
30028
|
issue: null
|
|
30029
30029
|
})
|
|
@@ -30031,7 +30031,7 @@ ${ln}`, e.push(
|
|
|
30031
30031
|
new w({
|
|
30032
30032
|
id: `${r.id}--${r.implements}--${b.InvalidImplementsReference}`,
|
|
30033
30033
|
code: b.InvalidImplementsReference,
|
|
30034
|
-
severity:
|
|
30034
|
+
severity: D.Error,
|
|
30035
30035
|
message: `Entity of type "${r.type}" with id "${r.id}", has an 'implements' reference that isn't pointing to an abstract entity.`,
|
|
30036
30036
|
issue: null
|
|
30037
30037
|
})
|
|
@@ -30039,7 +30039,7 @@ ${ln}`, e.push(
|
|
|
30039
30039
|
new w({
|
|
30040
30040
|
id: `${r.id}--${r.implements}--${b.InvalidImplementsReference}`,
|
|
30041
30041
|
code: b.InvalidImplementsReference,
|
|
30042
|
-
severity:
|
|
30042
|
+
severity: D.Error,
|
|
30043
30043
|
message: `Entity of type "${r.type}" with id "${r.id}", has an 'implements' reference that isn't pointing to an entity of type 'property'.`,
|
|
30044
30044
|
issue: null
|
|
30045
30045
|
})
|
|
@@ -30280,27 +30280,27 @@ class A {
|
|
|
30280
30280
|
if (this.updated[a.id] && delete this.updated[a.id], this.affected[a.id] && delete this.affected[a.id], !this.hasRemoved(a.id)) {
|
|
30281
30281
|
a.increaseVersion(this.timestamp);
|
|
30282
30282
|
const { added: h, updated: c, removed: T, affected: E } = a.recursiveCaptureUpstreamVersions(this.timestamp);
|
|
30283
|
-
for (const
|
|
30283
|
+
for (const R of h)
|
|
30284
30284
|
this.add(
|
|
30285
|
-
|
|
30285
|
+
R,
|
|
30286
30286
|
"added"
|
|
30287
30287
|
/* Added */
|
|
30288
30288
|
);
|
|
30289
|
-
for (const
|
|
30289
|
+
for (const R of c)
|
|
30290
30290
|
this.add(
|
|
30291
|
-
|
|
30291
|
+
R,
|
|
30292
30292
|
"updated"
|
|
30293
30293
|
/* Updated */
|
|
30294
30294
|
);
|
|
30295
|
-
for (const
|
|
30295
|
+
for (const R of T)
|
|
30296
30296
|
this.add(
|
|
30297
|
-
|
|
30297
|
+
R,
|
|
30298
30298
|
"removed"
|
|
30299
30299
|
/* Removed */
|
|
30300
30300
|
);
|
|
30301
|
-
for (const
|
|
30301
|
+
for (const R of E)
|
|
30302
30302
|
this.add(
|
|
30303
|
-
|
|
30303
|
+
R,
|
|
30304
30304
|
"affected"
|
|
30305
30305
|
/* Affected */
|
|
30306
30306
|
);
|
|
@@ -30318,27 +30318,27 @@ class A {
|
|
|
30318
30318
|
return this;
|
|
30319
30319
|
if (this.updated[a.id] && delete this.updated[a.id], this.affected[a.id] && delete this.affected[a.id], !this.hasAdded(a.id)) {
|
|
30320
30320
|
const { added: h, updated: c, removed: T, affected: E } = a.recursiveCaptureUpstreamVersions(this.timestamp);
|
|
30321
|
-
for (const
|
|
30321
|
+
for (const R of h)
|
|
30322
30322
|
this.add(
|
|
30323
|
-
|
|
30323
|
+
R,
|
|
30324
30324
|
"added"
|
|
30325
30325
|
/* Added */
|
|
30326
30326
|
);
|
|
30327
|
-
for (const
|
|
30327
|
+
for (const R of c)
|
|
30328
30328
|
this.add(
|
|
30329
|
-
|
|
30329
|
+
R,
|
|
30330
30330
|
"updated"
|
|
30331
30331
|
/* Updated */
|
|
30332
30332
|
);
|
|
30333
|
-
for (const
|
|
30333
|
+
for (const R of T)
|
|
30334
30334
|
this.add(
|
|
30335
|
-
|
|
30335
|
+
R,
|
|
30336
30336
|
"removed"
|
|
30337
30337
|
/* Removed */
|
|
30338
30338
|
);
|
|
30339
|
-
for (const
|
|
30339
|
+
for (const R of E)
|
|
30340
30340
|
this.add(
|
|
30341
|
-
|
|
30341
|
+
R,
|
|
30342
30342
|
"affected"
|
|
30343
30343
|
/* Affected */
|
|
30344
30344
|
);
|
|
@@ -30359,27 +30359,27 @@ class A {
|
|
|
30359
30359
|
if (this.affected[a.id] && delete this.affected[a.id], !this.hasUpdated(a.id)) {
|
|
30360
30360
|
a.increaseVersion(this.timestamp);
|
|
30361
30361
|
const { added: h, updated: c, removed: T, affected: E } = a.recursiveCaptureUpstreamVersions(this.timestamp);
|
|
30362
|
-
for (const
|
|
30362
|
+
for (const R of h)
|
|
30363
30363
|
this.add(
|
|
30364
|
-
|
|
30364
|
+
R,
|
|
30365
30365
|
"added"
|
|
30366
30366
|
/* Added */
|
|
30367
30367
|
);
|
|
30368
|
-
for (const
|
|
30368
|
+
for (const R of c)
|
|
30369
30369
|
this.add(
|
|
30370
|
-
|
|
30370
|
+
R,
|
|
30371
30371
|
"updated"
|
|
30372
30372
|
/* Updated */
|
|
30373
30373
|
);
|
|
30374
|
-
for (const
|
|
30374
|
+
for (const R of T)
|
|
30375
30375
|
this.add(
|
|
30376
|
-
|
|
30376
|
+
R,
|
|
30377
30377
|
"removed"
|
|
30378
30378
|
/* Removed */
|
|
30379
30379
|
);
|
|
30380
|
-
for (const
|
|
30380
|
+
for (const R of E)
|
|
30381
30381
|
this.add(
|
|
30382
|
-
|
|
30382
|
+
R,
|
|
30383
30383
|
"affected"
|
|
30384
30384
|
/* Affected */
|
|
30385
30385
|
);
|
|
@@ -30588,7 +30588,7 @@ const Ae = class Ae extends st {
|
|
|
30588
30588
|
new w({
|
|
30589
30589
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
30590
30590
|
code: b.InvalidParentUpdate,
|
|
30591
|
-
severity:
|
|
30591
|
+
severity: D.Error,
|
|
30592
30592
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
30593
30593
|
This is likely an incorrect strategy, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.`,
|
|
30594
30594
|
issue: null
|
|
@@ -30597,7 +30597,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
30597
30597
|
new w({
|
|
30598
30598
|
id: `${this.id}--${L.InvalidObjectStructure}`,
|
|
30599
30599
|
code: L.InvalidObjectStructure,
|
|
30600
|
-
severity:
|
|
30600
|
+
severity: D.Error,
|
|
30601
30601
|
message: `Entity of type '${this.type}' with id '${this.id}' is not a value reading or writing entity.
|
|
30602
30602
|
${Ul}`,
|
|
30603
30603
|
issue: null
|
|
@@ -31301,7 +31301,7 @@ ${Ul}`,
|
|
|
31301
31301
|
"clone-entity"
|
|
31302
31302
|
)
|
|
31303
31303
|
), t = null, i = null, s = !0) {
|
|
31304
|
-
var E,
|
|
31304
|
+
var E, R;
|
|
31305
31305
|
let l = yt(t, this);
|
|
31306
31306
|
const o = i || y.UUID.uuid();
|
|
31307
31307
|
let d = t || this.parent;
|
|
@@ -31338,7 +31338,7 @@ ${Ul}`,
|
|
|
31338
31338
|
s
|
|
31339
31339
|
)) || null;
|
|
31340
31340
|
c && h.setDataType(c);
|
|
31341
|
-
const T = (
|
|
31341
|
+
const T = (R = this.defaultValue) == null ? void 0 : R.clone(
|
|
31342
31342
|
e,
|
|
31343
31343
|
h,
|
|
31344
31344
|
y.UUID.uuid(),
|
|
@@ -31440,7 +31440,7 @@ function Z0(r) {
|
|
|
31440
31440
|
r.project
|
|
31441
31441
|
)}" with id "${r.id}".`,
|
|
31442
31442
|
issue: null,
|
|
31443
|
-
severity:
|
|
31443
|
+
severity: D.Error,
|
|
31444
31444
|
code: G.PropertyImplementsNonAbstact,
|
|
31445
31445
|
entity: r
|
|
31446
31446
|
});
|
|
@@ -31603,7 +31603,7 @@ const be = class be extends st {
|
|
|
31603
31603
|
new w({
|
|
31604
31604
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
31605
31605
|
code: L.NoOverlapWithImplementedSignature,
|
|
31606
|
-
severity:
|
|
31606
|
+
severity: D.Error,
|
|
31607
31607
|
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' cannot be added to the parent entity of type '${c.type}' with id '${c.id}'. This '${c.type}' already has return declarations.
|
|
31608
31608
|
${Zp}`,
|
|
31609
31609
|
issue: null
|
|
@@ -31615,7 +31615,7 @@ ${Zp}`,
|
|
|
31615
31615
|
new w({
|
|
31616
31616
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
31617
31617
|
code: L.NoOverlapWithImplementedSignature,
|
|
31618
|
-
severity:
|
|
31618
|
+
severity: D.Error,
|
|
31619
31619
|
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' cannot be added to the parent entity of type '${c.type}' with id '${c.id}'. This new 'return-declaration' doesn't have the same name "${O}" as the return declarations on the other statements in the same scope.
|
|
31620
31620
|
${Zp}`,
|
|
31621
31621
|
issue: null
|
|
@@ -31629,7 +31629,7 @@ ${Zp}`,
|
|
|
31629
31629
|
if (T) {
|
|
31630
31630
|
const E = T.outputs.find(
|
|
31631
31631
|
(C) => C.name === i.name
|
|
31632
|
-
),
|
|
31632
|
+
), R = T.outputs.filter((C) => !h.outputs.find(
|
|
31633
31633
|
(Z) => Z.type === n.ReturnDeclaration && Z.name === C.name
|
|
31634
31634
|
)), O = h.outputs.filter(
|
|
31635
31635
|
(C) => C.type === n.ReturnDeclaration
|
|
@@ -31641,8 +31641,8 @@ ${Zp}`,
|
|
|
31641
31641
|
),
|
|
31642
31642
|
", ",
|
|
31643
31643
|
" and "
|
|
31644
|
-
)}.` : "The parent entity does not yet have any implemented return declarations.", x =
|
|
31645
|
-
|
|
31644
|
+
)}.` : "The parent entity does not yet have any implemented return declarations.", x = R.length ? `The parent entity is still missing the following returns in the implementation: ${ne(
|
|
31645
|
+
R.map(
|
|
31646
31646
|
(C) => `'${C.id}' (${C.name})`
|
|
31647
31647
|
),
|
|
31648
31648
|
", ",
|
|
@@ -31652,7 +31652,7 @@ ${Zp}`,
|
|
|
31652
31652
|
new w({
|
|
31653
31653
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
31654
31654
|
code: L.NoOverlapWithImplementedSignature,
|
|
31655
|
-
severity:
|
|
31655
|
+
severity: D.Error,
|
|
31656
31656
|
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${h.type}' with id '${h.id}' that implements a ${n.ActionDescriptor} with fixed outputs.
|
|
31657
31657
|
Adding a new return would make the implementation invalid. An return with the same name already exists in the parent entity.
|
|
31658
31658
|
${M}
|
|
@@ -31663,7 +31663,7 @@ ${x}`,
|
|
|
31663
31663
|
new w({
|
|
31664
31664
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
31665
31665
|
code: L.NoOverlapWithImplementedSignature,
|
|
31666
|
-
severity:
|
|
31666
|
+
severity: D.Error,
|
|
31667
31667
|
message: `Entity of type '${n.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${h.type}' with id '${h.id}' that implements a ${n.ActionDescriptor} with fixed outputs.
|
|
31668
31668
|
Adding a new return would make the implementation invalid. There are no returns in the descriptor with the same name.
|
|
31669
31669
|
${M}
|
|
@@ -31701,7 +31701,7 @@ ${x}`,
|
|
|
31701
31701
|
new w({
|
|
31702
31702
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
31703
31703
|
code: b.InvalidParentUpdate,
|
|
31704
|
-
severity:
|
|
31704
|
+
severity: D.Error,
|
|
31705
31705
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
31706
31706
|
This is likely an incorrect strategy, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.`,
|
|
31707
31707
|
issue: null
|
|
@@ -32210,7 +32210,18 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
32210
32210
|
}
|
|
32211
32211
|
});
|
|
32212
32212
|
}
|
|
32213
|
-
|
|
32213
|
+
if (!e && this.parent && (this.isError ? (this.parent.throws = null, t == null || t.add(this.parent, I.Updated)) : this.parent.removeOutputDeclaration(this, t)), this.isError && this.parent.type === n.ReturnStatement) {
|
|
32214
|
+
const {
|
|
32215
|
+
updated: d,
|
|
32216
|
+
added: u,
|
|
32217
|
+
removed: h,
|
|
32218
|
+
affected: c
|
|
32219
|
+
} = this.parent.syncReturnDeclarations(
|
|
32220
|
+
t
|
|
32221
|
+
);
|
|
32222
|
+
i.push(...d), l.push(...u), s.push(...h), o.push(...c);
|
|
32223
|
+
}
|
|
32224
|
+
return t == null || t.attemptAutoclose("remove-entity", this.id), {
|
|
32214
32225
|
added: p(l),
|
|
32215
32226
|
updated: p(i),
|
|
32216
32227
|
removed: p(s),
|
|
@@ -32810,7 +32821,7 @@ const xe = class xe extends st {
|
|
|
32810
32821
|
new w({
|
|
32811
32822
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
32812
32823
|
code: b.InvalidParentUpdate,
|
|
32813
|
-
severity:
|
|
32824
|
+
severity: D.Error,
|
|
32814
32825
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
32815
32826
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
32816
32827
|
You shouldn't have to manually update a 'parent' property.
|
|
@@ -33593,7 +33604,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
33593
33604
|
);
|
|
33594
33605
|
t ? c.setParent(t, null) : c.setParent(this.parent, null), s && c.subscribe(), c.initChildren(e), e == null || e.add(c, I.Added);
|
|
33595
33606
|
const T = (E = this.outputs) == null ? void 0 : E.map(
|
|
33596
|
-
(
|
|
33607
|
+
(R, O) => R.clone(
|
|
33597
33608
|
e,
|
|
33598
33609
|
c,
|
|
33599
33610
|
h + "-return-declaration-" + O + "-id",
|
|
@@ -33785,7 +33796,7 @@ const Xe = class Xe extends st {
|
|
|
33785
33796
|
new w({
|
|
33786
33797
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
33787
33798
|
code: b.InvalidParentUpdate,
|
|
33788
|
-
severity:
|
|
33799
|
+
severity: D.Error,
|
|
33789
33800
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
33790
33801
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
33791
33802
|
You shouldn't have to manually update a 'parent' property.
|
|
@@ -34567,7 +34578,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
34567
34578
|
);
|
|
34568
34579
|
t ? c.setParent(t, null) : c.setParent(this.parent, null), s && c.subscribe(), c.initChildren(e), e == null || e.add(c, I.Added);
|
|
34569
34580
|
const T = (E = this.outputs) == null ? void 0 : E.map(
|
|
34570
|
-
(
|
|
34581
|
+
(R, O) => R.clone(
|
|
34571
34582
|
e,
|
|
34572
34583
|
c,
|
|
34573
34584
|
h + "-return-declaration-" + O + "-id",
|
|
@@ -34598,14 +34609,75 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
34598
34609
|
this,
|
|
34599
34610
|
this.project
|
|
34600
34611
|
);
|
|
34601
|
-
|
|
34602
|
-
|
|
34603
|
-
var
|
|
34604
|
-
|
|
34612
|
+
if (!o.implements)
|
|
34613
|
+
return this.throws && this.outputs.length && this.outputs.forEach((T) => {
|
|
34614
|
+
var E;
|
|
34615
|
+
if (T.id !== ((E = this.throws) == null ? void 0 : E.id)) {
|
|
34616
|
+
const { updated: R, removed: O } = T.remove(
|
|
34617
|
+
{
|
|
34618
|
+
ignoreUpstream: !0
|
|
34619
|
+
},
|
|
34620
|
+
e
|
|
34621
|
+
);
|
|
34622
|
+
t.push(...R), s.push(...O), this.removeOutputDeclaration(T, e);
|
|
34623
|
+
}
|
|
34624
|
+
}), e == null || e.attemptAutoclose("sync-return-declarations", this.id), {
|
|
34625
|
+
updated: p(
|
|
34626
|
+
t
|
|
34627
|
+
),
|
|
34628
|
+
added: p(i),
|
|
34629
|
+
removed: p(
|
|
34630
|
+
s
|
|
34631
|
+
),
|
|
34632
|
+
affected: p(
|
|
34633
|
+
l
|
|
34634
|
+
),
|
|
34635
|
+
self: this
|
|
34636
|
+
};
|
|
34637
|
+
const d = o.implements.outputs.find(
|
|
34638
|
+
(T) => T.parentRelationType === N.ReturnedError
|
|
34639
|
+
), u = o.implements.outputs.filter(
|
|
34640
|
+
(T) => T.parentRelationType !== N.ReturnedError
|
|
34641
|
+
);
|
|
34642
|
+
if (d && !this.throws) {
|
|
34643
|
+
const T = d.implementAsReturnDeclaration(e, this);
|
|
34644
|
+
return i.push(T), this.outputs.forEach((E) => {
|
|
34645
|
+
if (E.id !== T.id) {
|
|
34646
|
+
const { updated: R, removed: O } = E.remove(
|
|
34647
|
+
{
|
|
34648
|
+
ignoreUpstream: !0
|
|
34649
|
+
},
|
|
34650
|
+
e
|
|
34651
|
+
);
|
|
34652
|
+
t.push(...R), s.push(...O), this.removeOutputDeclaration(E, e);
|
|
34653
|
+
}
|
|
34654
|
+
}), e == null || e.attemptAutoclose("sync-return-declarations", this.id), {
|
|
34655
|
+
updated: p(t),
|
|
34656
|
+
added: p(i),
|
|
34657
|
+
removed: p(s),
|
|
34658
|
+
affected: p(
|
|
34659
|
+
l
|
|
34660
|
+
),
|
|
34661
|
+
self: this
|
|
34662
|
+
};
|
|
34663
|
+
}
|
|
34664
|
+
if (!d && this.throws) {
|
|
34665
|
+
const { updated: T, removed: E } = this.throws.remove(
|
|
34666
|
+
{
|
|
34667
|
+
ignoreUpstream: !0
|
|
34668
|
+
},
|
|
34669
|
+
e
|
|
34670
|
+
);
|
|
34671
|
+
t.push(...T), s.push(...E);
|
|
34672
|
+
}
|
|
34673
|
+
return u.filter(
|
|
34674
|
+
(T) => !this.outputs.find((E) => {
|
|
34675
|
+
var R;
|
|
34676
|
+
return ((R = E.implements) == null ? void 0 : R.id) === T.id && !E.isError;
|
|
34605
34677
|
})
|
|
34606
|
-
).forEach((
|
|
34607
|
-
const
|
|
34608
|
-
i.push(
|
|
34678
|
+
).forEach((T) => {
|
|
34679
|
+
const E = T.implementAsReturnDeclaration(e, this);
|
|
34680
|
+
i.push(E);
|
|
34609
34681
|
}), e == null || e.attemptAutoclose("sync-return-declarations", this.id), {
|
|
34610
34682
|
updated: p(t),
|
|
34611
34683
|
added: p(i),
|
|
@@ -34614,19 +34686,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
34614
34686
|
l
|
|
34615
34687
|
),
|
|
34616
34688
|
self: this
|
|
34617
|
-
}
|
|
34618
|
-
updated: p(
|
|
34619
|
-
t
|
|
34620
|
-
),
|
|
34621
|
-
added: p(i),
|
|
34622
|
-
removed: p(
|
|
34623
|
-
s
|
|
34624
|
-
),
|
|
34625
|
-
affected: p(
|
|
34626
|
-
l
|
|
34627
|
-
),
|
|
34628
|
-
self: this
|
|
34629
|
-
});
|
|
34689
|
+
};
|
|
34630
34690
|
}
|
|
34631
34691
|
};
|
|
34632
34692
|
f(Xe, "repository", {
|
|
@@ -34691,7 +34751,7 @@ function z0(r) {
|
|
|
34691
34751
|
r.project
|
|
34692
34752
|
)}" with id "${r.id}".`,
|
|
34693
34753
|
issue: null,
|
|
34694
|
-
severity:
|
|
34754
|
+
severity: D.Error,
|
|
34695
34755
|
code: G.PropertyImplementsNonAbstact,
|
|
34696
34756
|
entity: r
|
|
34697
34757
|
});
|
|
@@ -34706,7 +34766,7 @@ function t7(r) {
|
|
|
34706
34766
|
id: `${r.id}--${G.ScopeWithoutLogic}`,
|
|
34707
34767
|
message: `Action "${F(r, r.project)}" with id "${r.id}" does not have any logic defined. So it doesn't do anything.`,
|
|
34708
34768
|
issue: null,
|
|
34709
|
-
severity:
|
|
34769
|
+
severity: D.Warning,
|
|
34710
34770
|
code: G.ScopeWithoutLogic,
|
|
34711
34771
|
entity: r
|
|
34712
34772
|
});
|
|
@@ -34855,26 +34915,26 @@ const Re = class Re extends st {
|
|
|
34855
34915
|
i = l.modifiedData;
|
|
34856
34916
|
const o = j0(i, t), d = i.parent ? t.get(i.parent) : null;
|
|
34857
34917
|
if (d && d.type === n.DefinitionEntity) {
|
|
34858
|
-
const T = d,
|
|
34918
|
+
const T = d, R = Jt(T).filter(
|
|
34859
34919
|
(O) => !O.interactive
|
|
34860
34920
|
);
|
|
34861
|
-
if (
|
|
34862
|
-
let O =
|
|
34863
|
-
|
|
34921
|
+
if (R.length) {
|
|
34922
|
+
let O = R.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${T.id}' because it extends or implements multiple '${n.BuiltInBaseEntity}' entities that are non-interactive ("${ne(
|
|
34923
|
+
R.map(
|
|
34864
34924
|
(V) => F(V, V.project)
|
|
34865
34925
|
),
|
|
34866
34926
|
'", "',
|
|
34867
34927
|
'" and "'
|
|
34868
34928
|
)}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${T.id}' because it extends or implements a '${n.BuiltInBaseEntity}' entity that is non-interactive ("${F(
|
|
34869
|
-
|
|
34870
|
-
|
|
34929
|
+
R[0],
|
|
34930
|
+
R[0].project
|
|
34871
34931
|
)}").`;
|
|
34872
34932
|
O += `
|
|
34873
34933
|
${ln}`, s.push(
|
|
34874
34934
|
new w({
|
|
34875
34935
|
id: `${e.id}--${b.NonInteractiveEntityReferenced}`,
|
|
34876
34936
|
code: b.NonInteractiveEntityReferenced,
|
|
34877
|
-
severity:
|
|
34937
|
+
severity: D.Error,
|
|
34878
34938
|
message: O,
|
|
34879
34939
|
issue: null
|
|
34880
34940
|
})
|
|
@@ -34890,7 +34950,7 @@ ${ln}`, s.push(
|
|
|
34890
34950
|
new w({
|
|
34891
34951
|
id: `${i.id}--${L.MethodOverwritesOtherSiblingWithSameImplementation}`,
|
|
34892
34952
|
code: L.MethodOverwritesOtherSiblingWithSameImplementation,
|
|
34893
|
-
severity:
|
|
34953
|
+
severity: D.Error,
|
|
34894
34954
|
message: `The '${n.FunctionDeclaration}' with id "${i.id}" is trying to implement the '${n.ActionDescriptor}' with id "${i.implements}", but the parent definition-entity already has a ${n.FunctionDeclaration} with id '${O.id}' that implements the same base method.
|
|
34895
34955
|
A ${n.FunctionDeclaration} that has a parent of type '${n.DefinitionEntity}' is considered a method of that entity, and cannot implement the same '${n.ActionDescriptor}' more than once.
|
|
34896
34956
|
${n.ActionDescriptor} entities inside a ${n.DefinitionEntity} are considered abstract methods that can be implemented by ${n.FunctionDeclaration} entities inside the same parent.
|
|
@@ -34905,7 +34965,7 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
34905
34965
|
new w({
|
|
34906
34966
|
id: `${i.id}--${b.InvalidImplementsReference}`,
|
|
34907
34967
|
code: b.InvalidImplementsReference,
|
|
34908
|
-
severity:
|
|
34968
|
+
severity: D.Error,
|
|
34909
34969
|
message: `The '${n.FunctionDeclaration}' with id "${i.id}" is trying to implement the '${n.ActionDescriptor}' with id "${i.implements}", but the parent definition-entity with id "${T.id}" does not have a action descriptor (abstract method) with that id.
|
|
34910
34970
|
A ${n.FunctionDeclaration} that has a parent of type '${n.DefinitionEntity}' is considered a method of that entity, and if it implements a action-descriptor, it needs to be one of the parent's action descriptors.
|
|
34911
34971
|
If you want to implement a new method, you can create a new 'function-declaration' inside the parent definition-entity. But note that often definition-entities already come the boiler plate for all the methods they need from the base entity they implement, which are often auto-generated when the parent definition-entity is first created.
|
|
@@ -34920,7 +34980,7 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
34920
34980
|
new w({
|
|
34921
34981
|
id: `${i.id}--${L.LoopBodyFunctionOverwrite}`,
|
|
34922
34982
|
code: L.LoopBodyFunctionOverwrite,
|
|
34923
|
-
severity:
|
|
34983
|
+
severity: D.Error,
|
|
34924
34984
|
message: `The '${n.FunctionDeclaration}' with id "${i.id}" is being added as the 'body' of the ${n.Loop} with id "${d.id}", but the loop already has a function-declaration body. A loop can only have one function-declaration body at a time. You can edit the existing body instead, but it will have to match the same base signature, otherwise the implementation will have a validation error.`,
|
|
34925
34985
|
issue: null
|
|
34926
34986
|
})
|
|
@@ -34931,7 +34991,7 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
34931
34991
|
new w({
|
|
34932
34992
|
id: `${e.id}--${b.BuiltInEntityParent}`,
|
|
34933
34993
|
code: b.BuiltInEntityParent,
|
|
34934
|
-
severity:
|
|
34994
|
+
severity: D.Error,
|
|
34935
34995
|
message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${F(
|
|
34936
34996
|
h,
|
|
34937
34997
|
t
|
|
@@ -34967,7 +35027,7 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
34967
35027
|
new w({
|
|
34968
35028
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
34969
35029
|
code: b.InvalidParentUpdate,
|
|
34970
|
-
severity:
|
|
35030
|
+
severity: D.Error,
|
|
34971
35031
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
34972
35032
|
This is likely an incorrect strategy because this is a globally declared '${this.type}' entity which can only have the root project as its parent.`,
|
|
34973
35033
|
issue: null
|
|
@@ -34976,7 +35036,7 @@ This is likely an incorrect strategy because this is a globally declared '${this
|
|
|
34976
35036
|
new w({
|
|
34977
35037
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
34978
35038
|
code: b.InvalidParentUpdate,
|
|
34979
|
-
severity:
|
|
35039
|
+
severity: D.Error,
|
|
34980
35040
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
34981
35041
|
This is likely an incorrect strategy because this function declaration is a method, since it belongs to a '${this.parent.type}' entity, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.
|
|
34982
35042
|
Please consider than any updates might affect the overlap with the signature of the parent entity's action descriptors.`,
|
|
@@ -35950,7 +36010,7 @@ function Y0(r) {
|
|
|
35950
36010
|
id: r.id + "--" + G.InvalidPropertiesCombination,
|
|
35951
36011
|
message: `Data type with id "${r.id}" has invalid properties combination. Only one of the following properties can be present at the time: 'entity', 'andChildrenGroup' or 'orChildrenGroup'`,
|
|
35952
36012
|
issue: null,
|
|
35953
|
-
severity:
|
|
36013
|
+
severity: D.Error,
|
|
35954
36014
|
code: G.InvalidPropertiesCombination,
|
|
35955
36015
|
entity: r
|
|
35956
36016
|
});
|
|
@@ -35983,7 +36043,7 @@ function n7(r, a) {
|
|
|
35983
36043
|
new w({
|
|
35984
36044
|
id: `${r.id}--${r.parent}--${b.SelfReference}`,
|
|
35985
36045
|
code: b.SelfReference,
|
|
35986
|
-
severity:
|
|
36046
|
+
severity: D.Error,
|
|
35987
36047
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to itself at 'parent'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
35988
36048
|
issue: null
|
|
35989
36049
|
})
|
|
@@ -35994,7 +36054,7 @@ function n7(r, a) {
|
|
|
35994
36054
|
new w({
|
|
35995
36055
|
id: `${r.id}--${r.parent}--${b.InvalidParentReference}`,
|
|
35996
36056
|
code: b.InvalidParentReference,
|
|
35997
|
-
severity:
|
|
36057
|
+
severity: D.Error,
|
|
35998
36058
|
message: `Entity of type "${r.type}" with id "${r.id}", has a parent reference that isn't pointing to an entity of type ${i}.`,
|
|
35999
36059
|
issue: null
|
|
36000
36060
|
})
|
|
@@ -36002,7 +36062,7 @@ function n7(r, a) {
|
|
|
36002
36062
|
new w({
|
|
36003
36063
|
id: `${r.id}--${r.parent}--${b.ReferencedEntityNotFound}`,
|
|
36004
36064
|
code: b.ReferencedEntityNotFound,
|
|
36005
|
-
severity:
|
|
36065
|
+
severity: D.Error,
|
|
36006
36066
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${r.parent}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
36007
36067
|
issue: null
|
|
36008
36068
|
})
|
|
@@ -36013,7 +36073,7 @@ function n7(r, a) {
|
|
|
36013
36073
|
new w({
|
|
36014
36074
|
id: `${r.id}--${L.InvalidObjectStructure}`,
|
|
36015
36075
|
code: L.InvalidObjectStructure,
|
|
36016
|
-
severity:
|
|
36076
|
+
severity: D.Error,
|
|
36017
36077
|
message: `Entity of type "${r.type}" with id "${r.id}" is missing a 'parent' reference. The 'parent' of a 'data-type' entity must be a reference to an entity of type ${i}.`,
|
|
36018
36078
|
issue: null
|
|
36019
36079
|
})
|
|
@@ -36024,7 +36084,7 @@ function n7(r, a) {
|
|
|
36024
36084
|
new w({
|
|
36025
36085
|
id: `${r.id}--${r.entity}--${b.SelfReference}`,
|
|
36026
36086
|
code: b.SelfReference,
|
|
36027
|
-
severity:
|
|
36087
|
+
severity: D.Error,
|
|
36028
36088
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to itself at 'entity'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
36029
36089
|
issue: null
|
|
36030
36090
|
})
|
|
@@ -36039,7 +36099,7 @@ function n7(r, a) {
|
|
|
36039
36099
|
new w({
|
|
36040
36100
|
id: `${r.id}--${r.entity}--${b.InvalidImplementsReference}`,
|
|
36041
36101
|
code: b.InvalidImplementsReference,
|
|
36042
|
-
severity:
|
|
36102
|
+
severity: D.Error,
|
|
36043
36103
|
message: `Entity of type "${r.type}" with id "${r.id}", has an 'entity' reference that isn't pointing to an entity of type 'definition-entity', 'primitive-entity', 'action-descriptor' or 'built-in-base-entity'.`,
|
|
36044
36104
|
issue: null
|
|
36045
36105
|
})
|
|
@@ -36047,7 +36107,7 @@ function n7(r, a) {
|
|
|
36047
36107
|
new w({
|
|
36048
36108
|
id: `${r.id}--${r.entity}--${b.ReferencedEntityNotFound}`,
|
|
36049
36109
|
code: b.ReferencedEntityNotFound,
|
|
36050
|
-
severity:
|
|
36110
|
+
severity: D.Error,
|
|
36051
36111
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${r.entity}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
36052
36112
|
issue: null
|
|
36053
36113
|
})
|
|
@@ -36173,7 +36233,7 @@ const De = class De extends st {
|
|
|
36173
36233
|
);
|
|
36174
36234
|
if (T.length) {
|
|
36175
36235
|
const E = T.length > 1 ? `entities with ids '${ne(
|
|
36176
|
-
T.map((
|
|
36236
|
+
T.map((R) => R.id),
|
|
36177
36237
|
"', '",
|
|
36178
36238
|
"' and '"
|
|
36179
36239
|
)}'` : `entity with id '${T[0].id}'`;
|
|
@@ -36181,7 +36241,7 @@ const De = class De extends st {
|
|
|
36181
36241
|
new w({
|
|
36182
36242
|
id: `${e.id}--${b.NonInteractiveEntityReferenced}`,
|
|
36183
36243
|
code: b.NonInteractiveEntityReferenced,
|
|
36184
|
-
severity:
|
|
36244
|
+
severity: D.Error,
|
|
36185
36245
|
message: `The entity with id '${e.id}' and type '${e.type}', cannot reference 'definition-entity' with id '${i.entity}' at 'entity'. The entity extends or implements non-interactive built-in-base-entity ${E}.
|
|
36186
36246
|
${ln}`,
|
|
36187
36247
|
issue: null
|
|
@@ -36196,7 +36256,7 @@ ${ln}`,
|
|
|
36196
36256
|
new w({
|
|
36197
36257
|
id: `${e.id}--${b.BuiltInEntityParent}`,
|
|
36198
36258
|
code: b.BuiltInEntityParent,
|
|
36199
|
-
severity:
|
|
36259
|
+
severity: D.Error,
|
|
36200
36260
|
message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${F(
|
|
36201
36261
|
d,
|
|
36202
36262
|
t
|
|
@@ -36216,7 +36276,7 @@ ${ln}`,
|
|
|
36216
36276
|
new w({
|
|
36217
36277
|
id: `${e.id}--${b.InvalidParentRelationType}`,
|
|
36218
36278
|
code: b.InvalidParentRelationType,
|
|
36219
|
-
severity:
|
|
36279
|
+
severity: D.Error,
|
|
36220
36280
|
message: `The entity with id '${e.id}' and type '${e.type}', cannot have a 'parentRelationType' property set of type '${h}'.
|
|
36221
36281
|
The entitities of type '${ne(
|
|
36222
36282
|
c,
|
|
@@ -36231,7 +36291,7 @@ The entitities of type '${ne(
|
|
|
36231
36291
|
new w({
|
|
36232
36292
|
id: `${e.id}--${b.NewEntityWouldOverriteExisting}`,
|
|
36233
36293
|
code: b.NewEntityWouldOverriteExisting,
|
|
36234
|
-
severity:
|
|
36294
|
+
severity: D.Error,
|
|
36235
36295
|
message: `The entity with id '${e.id}' and type '${e.type}', cannot be added as a child to the entity with id '${i.parent}' and type '${h}', because it already has a 'data-type' child with id '${T}'.
|
|
36236
36296
|
The entitities of type '${ne(
|
|
36237
36297
|
c,
|
|
@@ -36252,7 +36312,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
36252
36312
|
new w({
|
|
36253
36313
|
id: `${e.id}--${b.InvalidParentRelationType}`,
|
|
36254
36314
|
code: b.InvalidParentRelationType,
|
|
36255
|
-
severity:
|
|
36315
|
+
severity: D.Error,
|
|
36256
36316
|
message: `The entity with id '${e.id}' and type '${e.type}', must have a 'parentRelationType' property set to either 'or-data-type-group' or 'and-data-type-group' when being added as a child to an entity of type 'data-type'.`,
|
|
36257
36317
|
issue: null
|
|
36258
36318
|
})
|
|
@@ -37028,7 +37088,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
37028
37088
|
"clone-entity"
|
|
37029
37089
|
)
|
|
37030
37090
|
), t = null, i = null, s = !0) {
|
|
37031
|
-
var E,
|
|
37091
|
+
var E, R, O;
|
|
37032
37092
|
let l = yt(t, this), o = t || this.parent;
|
|
37033
37093
|
const u = {
|
|
37034
37094
|
id: i || y.UUID.uuid(),
|
|
@@ -37065,7 +37125,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
37065
37125
|
// parentIdPrefix + '-and-group-data-type-' + index + '-id',
|
|
37066
37126
|
s
|
|
37067
37127
|
)
|
|
37068
|
-
), T = (
|
|
37128
|
+
), T = (R = this.orChildrenGroup) == null ? void 0 : R.map(
|
|
37069
37129
|
(V) => V.clone(
|
|
37070
37130
|
e,
|
|
37071
37131
|
h,
|
|
@@ -37335,7 +37395,7 @@ function K0(r) {
|
|
|
37335
37395
|
r.project
|
|
37336
37396
|
)}" with id "${r.id}".`,
|
|
37337
37397
|
issue: null,
|
|
37338
|
-
severity:
|
|
37398
|
+
severity: D.Error,
|
|
37339
37399
|
code: G.PropertyImplementsNonAbstact,
|
|
37340
37400
|
entity: r
|
|
37341
37401
|
});
|
|
@@ -37520,7 +37580,7 @@ All built-in 'action-descriptor' entity ids are:
|
|
|
37520
37580
|
new w({
|
|
37521
37581
|
id: `${i.id}--${b.InvalidReference}`,
|
|
37522
37582
|
code: b.InvalidReference,
|
|
37523
|
-
severity:
|
|
37583
|
+
severity: D.Error,
|
|
37524
37584
|
message: `Entity of type "${n.Operation}" with id "${i.id}", has an invalid reference at the 'declaration' property. The 'declaration' property must be a valid reference to an 'action-descriptor' entity.
|
|
37525
37585
|
References can either be an ID string or an object with exacly four properties: 'id', 'entityId', 'entityType', 'type'.${d}`,
|
|
37526
37586
|
issue: null
|
|
@@ -37538,7 +37598,7 @@ References can either be an ID string or an object with exacly four properties:
|
|
|
37538
37598
|
new w({
|
|
37539
37599
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
37540
37600
|
code: b.InvalidParentUpdate,
|
|
37541
|
-
severity:
|
|
37601
|
+
severity: D.Error,
|
|
37542
37602
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
37543
37603
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
37544
37604
|
You shouldn't have to manually update a 'parent' property. The equivalent result is to change its callers, the value writters of its inputs, or the value readers of its outputs.`,
|
|
@@ -37810,7 +37870,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37810
37870
|
removed: T
|
|
37811
37871
|
} = this.syncMissingFixedOutputs(e), {
|
|
37812
37872
|
updated: E,
|
|
37813
|
-
added:
|
|
37873
|
+
added: R,
|
|
37814
37874
|
removed: O
|
|
37815
37875
|
} = this.declaration.syncOperationInstance(this, e);
|
|
37816
37876
|
return t.push(
|
|
@@ -38585,7 +38645,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
38585
38645
|
"clone-entity"
|
|
38586
38646
|
)
|
|
38587
38647
|
), t = null, i = null, s = !0) {
|
|
38588
|
-
var
|
|
38648
|
+
var R, O;
|
|
38589
38649
|
let l = yt(t, this);
|
|
38590
38650
|
const o = this.toJSON(), d = i || y.UUID.uuid();
|
|
38591
38651
|
o.inputs = [];
|
|
@@ -38596,7 +38656,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
38596
38656
|
l
|
|
38597
38657
|
);
|
|
38598
38658
|
t ? c.setParent(t, null) : c.setParent(this.parent, null), s && c.subscribe(), c.initChildren(e), e == null || e.add(c, I.Added);
|
|
38599
|
-
const T = (
|
|
38659
|
+
const T = (R = this.inputs) == null ? void 0 : R.map(
|
|
38600
38660
|
(V, M) => V.clone(
|
|
38601
38661
|
e,
|
|
38602
38662
|
c,
|
|
@@ -38709,8 +38769,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
38709
38769
|
)
|
|
38710
38770
|
);
|
|
38711
38771
|
this.inputs.sort((c, T) => c.index - T.index), o.forEach((c) => {
|
|
38712
|
-
this.inputs.forEach((
|
|
38713
|
-
|
|
38772
|
+
this.inputs.forEach((R) => {
|
|
38773
|
+
R.index >= c.index && R.metaSync({ index: R.index + 1 }, e);
|
|
38714
38774
|
});
|
|
38715
38775
|
const T = {
|
|
38716
38776
|
id: y.UUID.uuid(),
|
|
@@ -38769,8 +38829,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
38769
38829
|
)
|
|
38770
38830
|
);
|
|
38771
38831
|
this.outputs.sort((c, T) => c.index - T.index), o.forEach((c) => {
|
|
38772
|
-
this.outputs.forEach((
|
|
38773
|
-
|
|
38832
|
+
this.outputs.forEach((R) => {
|
|
38833
|
+
R.index >= c.index && R.index++;
|
|
38774
38834
|
});
|
|
38775
38835
|
const T = {
|
|
38776
38836
|
id: y.UUID.uuid(),
|
|
@@ -38991,7 +39051,7 @@ const VW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38991
39051
|
new w({
|
|
38992
39052
|
id: `${e.id}--${L.InvalidObjectStructure}`,
|
|
38993
39053
|
code: L.InvalidObjectStructure,
|
|
38994
|
-
severity:
|
|
39054
|
+
severity: D.Error,
|
|
38995
39055
|
message: `Entity of type '${e.type}' with id '${e.id}' is missing the 'implements' property. This property is required for a '${e.type}' entity and must point to one of the built-in action descriptors reserved for 'global-event' entities.
|
|
38996
39056
|
${ml(
|
|
38997
39057
|
t
|
|
@@ -39006,7 +39066,7 @@ ${ml(
|
|
|
39006
39066
|
new w({
|
|
39007
39067
|
id: `${e.id}--${b.ReferencedEntityNotFound}`,
|
|
39008
39068
|
code: b.ReferencedEntityNotFound,
|
|
39009
|
-
severity:
|
|
39069
|
+
severity: D.Error,
|
|
39010
39070
|
message: `Entity of type '${e.type}' with id '${e.id}' has an 'implements' property that isn't found in the project. The 'implements' property must point to one of the built-in action descriptors reserved for 'global-event' entities.
|
|
39011
39071
|
${ml(
|
|
39012
39072
|
t
|
|
@@ -39021,7 +39081,7 @@ ${ml(
|
|
|
39021
39081
|
new w({
|
|
39022
39082
|
id: `${e.id}--${b.InvalidImplementsReference}`,
|
|
39023
39083
|
code: b.InvalidImplementsReference,
|
|
39024
|
-
severity:
|
|
39084
|
+
severity: D.Error,
|
|
39025
39085
|
message: `Entity of type '${e.type}' with id '${e.id}' has an 'implements' property that isn't pointing to an action descriptor reserved for 'global-event' entities.
|
|
39026
39086
|
${ml(
|
|
39027
39087
|
t
|
|
@@ -39037,7 +39097,7 @@ ${ml(
|
|
|
39037
39097
|
new w({
|
|
39038
39098
|
id: `${e.id}--${b.InvalidImplementsReference}`,
|
|
39039
39099
|
code: b.InvalidImplementsReference,
|
|
39040
|
-
severity:
|
|
39100
|
+
severity: D.Error,
|
|
39041
39101
|
message: `Entity of type '${e.type}' with id '${e.id}' has an 'implements' property that points to an action descriptor that is already implemented by another global event with id '${u.id}' in the project. Each global event must implement a unique action descriptor.
|
|
39042
39102
|
You can attach new logic to the existing 'global-event' but creating a new callable entity that gets called by it.`,
|
|
39043
39103
|
issue: null
|
|
@@ -39061,7 +39121,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
39061
39121
|
new w({
|
|
39062
39122
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
39063
39123
|
code: b.InvalidParentUpdate,
|
|
39064
|
-
severity:
|
|
39124
|
+
severity: D.Error,
|
|
39065
39125
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on an '${this.type}', must be the root project as it is a globally declared entity.`,
|
|
39066
39126
|
issue: null
|
|
39067
39127
|
})
|
|
@@ -40028,7 +40088,7 @@ const $e = class $e extends st {
|
|
|
40028
40088
|
new w({
|
|
40029
40089
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
40030
40090
|
code: b.InvalidParentUpdate,
|
|
40031
|
-
severity:
|
|
40091
|
+
severity: D.Error,
|
|
40032
40092
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
40033
40093
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
40034
40094
|
You shouldn't have to manually update a 'parent' property.
|
|
@@ -40807,7 +40867,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
40807
40867
|
);
|
|
40808
40868
|
t ? c.setParent(t, null) : c.setParent(this.parent, null), s && c.subscribe(), c.initChildren(e), e == null || e.add(c, I.Added);
|
|
40809
40869
|
const T = (E = this.outputs) == null ? void 0 : E.map(
|
|
40810
|
-
(
|
|
40870
|
+
(R, O) => R.clone(
|
|
40811
40871
|
e,
|
|
40812
40872
|
c,
|
|
40813
40873
|
h + "-return-declaration-" + O + "-id",
|
|
@@ -41013,7 +41073,7 @@ ${ln}`, s.push(
|
|
|
41013
41073
|
new w({
|
|
41014
41074
|
id: `${e.id}--${b.NonInteractiveEntityReferenced}`,
|
|
41015
41075
|
code: b.NonInteractiveEntityReferenced,
|
|
41016
|
-
severity:
|
|
41076
|
+
severity: D.Error,
|
|
41017
41077
|
message: c,
|
|
41018
41078
|
issue: null
|
|
41019
41079
|
})
|
|
@@ -41025,7 +41085,7 @@ ${ln}`, s.push(
|
|
|
41025
41085
|
new w({
|
|
41026
41086
|
id: `${e.id}--${b.NewEntityWouldOverriteExisting}`,
|
|
41027
41087
|
code: b.NewEntityWouldOverriteExisting,
|
|
41028
|
-
severity:
|
|
41088
|
+
severity: D.Error,
|
|
41029
41089
|
message: `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it already has an 'entity' child. Data type entities can only have one 'entity' as children.
|
|
41030
41090
|
You can inspect the existing 'entity' field with the 'describe_entity' action. Like so:
|
|
41031
41091
|
${Ki(
|
|
@@ -41111,7 +41171,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
41111
41171
|
new w({
|
|
41112
41172
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
41113
41173
|
code: b.InvalidParentUpdate,
|
|
41114
|
-
severity:
|
|
41174
|
+
severity: D.Error,
|
|
41115
41175
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
41116
41176
|
This is likely an incorrect strategy, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.`,
|
|
41117
41177
|
issue: null
|
|
@@ -41754,7 +41814,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
41754
41814
|
), o = [];
|
|
41755
41815
|
if (this.outputs.length) {
|
|
41756
41816
|
const u = this.outputs.map(
|
|
41757
|
-
(E,
|
|
41817
|
+
(E, R) => {
|
|
41758
41818
|
var V;
|
|
41759
41819
|
const O = {
|
|
41760
41820
|
id: y.UUID.uuid(),
|
|
@@ -41780,7 +41840,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
41780
41840
|
defaultValue: null,
|
|
41781
41841
|
implements: E.toJSON(),
|
|
41782
41842
|
isError: !1,
|
|
41783
|
-
index:
|
|
41843
|
+
index: R,
|
|
41784
41844
|
dataType: ((V = E.dataType) == null ? void 0 : V.toJSONClone()) || null,
|
|
41785
41845
|
parent: O
|
|
41786
41846
|
};
|
|
@@ -41895,13 +41955,13 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
41895
41955
|
index: c,
|
|
41896
41956
|
dataType: null,
|
|
41897
41957
|
parent: T
|
|
41898
|
-
},
|
|
41958
|
+
}, R = P(
|
|
41899
41959
|
E,
|
|
41900
41960
|
this.project
|
|
41901
41961
|
);
|
|
41902
|
-
|
|
41903
|
-
const O = ((V = h.dataType) == null ? void 0 : V.clone(e,
|
|
41904
|
-
O && (e == null || e.add(O, I.Added)),
|
|
41962
|
+
R.setParent(u, e), R.initChildren(e), e == null || e.add(R, I.Added), R.hydrateAncestors(), R.addSelfToProject(e);
|
|
41963
|
+
const O = ((V = h.dataType) == null ? void 0 : V.clone(e, R)) || null;
|
|
41964
|
+
O && (e == null || e.add(O, I.Added)), R.setDataType(O);
|
|
41905
41965
|
}), this.outputs.length) {
|
|
41906
41966
|
const h = y.UUID.uuid(), c = y.UUID.uuid(), T = {
|
|
41907
41967
|
id: y.UUID.uuid(),
|
|
@@ -41916,7 +41976,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
41916
41976
|
version: o,
|
|
41917
41977
|
entityType: n.GlobalEvent,
|
|
41918
41978
|
entityId: l
|
|
41919
|
-
},
|
|
41979
|
+
}, R = {
|
|
41920
41980
|
id: h,
|
|
41921
41981
|
version: c,
|
|
41922
41982
|
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
@@ -41933,7 +41993,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
41933
41993
|
x: 0,
|
|
41934
41994
|
y: 0
|
|
41935
41995
|
}, O = P(
|
|
41936
|
-
|
|
41996
|
+
R,
|
|
41937
41997
|
this.project
|
|
41938
41998
|
);
|
|
41939
41999
|
O.setParent(u, e), O.initChildren(e), e == null || e.add(O, I.Added), O.hydrateAncestors(), O.addSelfToProject(e), this.outputs.map((V, M) => {
|
|
@@ -42033,15 +42093,15 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
42033
42093
|
index: c,
|
|
42034
42094
|
dataType: null,
|
|
42035
42095
|
parent: T
|
|
42036
|
-
},
|
|
42096
|
+
}, R = P(
|
|
42037
42097
|
E,
|
|
42038
42098
|
this.project
|
|
42039
42099
|
);
|
|
42040
|
-
|
|
42041
|
-
const O = ((M = h.dataType) == null ? void 0 : M.clone(e,
|
|
42042
|
-
O && (e == null || e.add(O, I.Added)),
|
|
42043
|
-
const V = ((x = h.defaultValue) == null ? void 0 : x.clone(e,
|
|
42044
|
-
V && (e == null || e.add(V, I.Added)),
|
|
42100
|
+
R.setParent(u, e), R.initChildren(e), e == null || e.add(R, I.Added), R.hydrateAncestors(), R.addSelfToProject(e);
|
|
42101
|
+
const O = ((M = h.dataType) == null ? void 0 : M.clone(e, R)) || null;
|
|
42102
|
+
O && (e == null || e.add(O, I.Added)), R.setDataType(O);
|
|
42103
|
+
const V = ((x = h.defaultValue) == null ? void 0 : x.clone(e, R)) || null;
|
|
42104
|
+
V && (e == null || e.add(V, I.Added)), R.setDataType(O);
|
|
42045
42105
|
}), this.outputs.length) {
|
|
42046
42106
|
const h = y.UUID.uuid(), c = y.UUID.uuid(), T = {
|
|
42047
42107
|
id: y.UUID.uuid(),
|
|
@@ -42056,7 +42116,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
42056
42116
|
version: o,
|
|
42057
42117
|
entityType: n.FunctionDeclaration,
|
|
42058
42118
|
entityId: l
|
|
42059
|
-
},
|
|
42119
|
+
}, R = {
|
|
42060
42120
|
id: h,
|
|
42061
42121
|
version: c,
|
|
42062
42122
|
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
@@ -42073,7 +42133,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
42073
42133
|
x: 0,
|
|
42074
42134
|
y: 0
|
|
42075
42135
|
}, O = P(
|
|
42076
|
-
|
|
42136
|
+
R,
|
|
42077
42137
|
this.project
|
|
42078
42138
|
);
|
|
42079
42139
|
O.hydrateAncestors(), O.setParent(u, e), O.addSelfToProject(e), e == null || e.add(O, I.Added), O.initChildren(e);
|
|
@@ -42251,7 +42311,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
42251
42311
|
)
|
|
42252
42312
|
);
|
|
42253
42313
|
T.inputs = E;
|
|
42254
|
-
const
|
|
42314
|
+
const R = (V = this.outputs) == null ? void 0 : V.map(
|
|
42255
42315
|
(M, x) => M.clone(
|
|
42256
42316
|
e,
|
|
42257
42317
|
T,
|
|
@@ -42259,7 +42319,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
42259
42319
|
s
|
|
42260
42320
|
)
|
|
42261
42321
|
);
|
|
42262
|
-
return T.outputs =
|
|
42322
|
+
return T.outputs = R, this.error && (T.error = this.error.clone(
|
|
42263
42323
|
e,
|
|
42264
42324
|
T,
|
|
42265
42325
|
c + "-error-action-descriptor-id",
|
|
@@ -42526,7 +42586,7 @@ const oe = class oe extends st {
|
|
|
42526
42586
|
new w({
|
|
42527
42587
|
id: `${e.id}--${b.InvalidImplementsReference}`,
|
|
42528
42588
|
code: b.InvalidImplementsReference,
|
|
42529
|
-
severity:
|
|
42589
|
+
severity: D.Error,
|
|
42530
42590
|
message: `Entity of type '${e.type}' with id '${e.id}' has an 'declaration' property that isn't pointing to an action descriptor reserved for '${n.Condition}' entities.
|
|
42531
42591
|
${vl(t)}`,
|
|
42532
42592
|
issue: null
|
|
@@ -42535,7 +42595,7 @@ ${vl(t)}`,
|
|
|
42535
42595
|
new w({
|
|
42536
42596
|
id: `${e.id}--${b.ReferencedEntityNotFound}`,
|
|
42537
42597
|
code: b.ReferencedEntityNotFound,
|
|
42538
|
-
severity:
|
|
42598
|
+
severity: D.Error,
|
|
42539
42599
|
message: `Entity of type '${e.type}' with id '${e.id}' has an 'declaration' property that isn't found in the project. The 'declaration' property must point to one of the built-in action descriptors reserved for '${n.Condition}' entities.
|
|
42540
42600
|
${vl(t)}`,
|
|
42541
42601
|
issue: null
|
|
@@ -42544,7 +42604,7 @@ ${vl(t)}`,
|
|
|
42544
42604
|
new w({
|
|
42545
42605
|
id: `${e.id}--${L.InvalidObjectStructure}`,
|
|
42546
42606
|
code: L.InvalidObjectStructure,
|
|
42547
|
-
severity:
|
|
42607
|
+
severity: D.Error,
|
|
42548
42608
|
message: `Entity of type '${e.type}' with id '${e.id}' is missing the 'declaration' property. This property is required for a '${e.type}' entity and must point to one of the built-in action descriptors reserved for '${n.Condition}' entities.
|
|
42549
42609
|
${vl(t)}`,
|
|
42550
42610
|
issue: null
|
|
@@ -42610,7 +42670,7 @@ ${vl(t)}`,
|
|
|
42610
42670
|
new w({
|
|
42611
42671
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
42612
42672
|
code: b.InvalidParentUpdate,
|
|
42613
|
-
severity:
|
|
42673
|
+
severity: D.Error,
|
|
42614
42674
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
42615
42675
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
42616
42676
|
You shouldn't have to manually update a 'parent' property. The equivalent result is to change its callers, the value writters of its inputs, or the value readers of its outputs.`,
|
|
@@ -43650,7 +43710,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
43650
43710
|
"clone-entity"
|
|
43651
43711
|
)
|
|
43652
43712
|
), t = null, i = null, s = !0) {
|
|
43653
|
-
var
|
|
43713
|
+
var R, O;
|
|
43654
43714
|
let l = yt(t, this);
|
|
43655
43715
|
const o = this.toJSON(), d = i || y.UUID.uuid();
|
|
43656
43716
|
o.inputs = [];
|
|
@@ -43661,7 +43721,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
43661
43721
|
l
|
|
43662
43722
|
);
|
|
43663
43723
|
t ? c.setParent(t, null) : c.setParent(this.parent, null), s && c.subscribe(), c.initChildren(e), e == null || e.add(c, I.Added);
|
|
43664
|
-
const T = (
|
|
43724
|
+
const T = (R = this.inputs) == null ? void 0 : R.map(
|
|
43665
43725
|
(V, M) => V.clone(
|
|
43666
43726
|
e,
|
|
43667
43727
|
c,
|
|
@@ -43933,9 +43993,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
43933
43993
|
const {
|
|
43934
43994
|
updated: T,
|
|
43935
43995
|
added: E,
|
|
43936
|
-
removed:
|
|
43996
|
+
removed: R
|
|
43937
43997
|
} = this.removeExtraBodyArgumentDeclarations(e);
|
|
43938
|
-
return t.push(...T), i.push(...E), s.push(...
|
|
43998
|
+
return t.push(...T), i.push(...E), s.push(...R), e == null || e.attemptAutoclose("sync-body-arguments-declarations", this.id), {
|
|
43939
43999
|
updated: p(t),
|
|
43940
44000
|
added: p(i),
|
|
43941
44001
|
removed: p(s),
|
|
@@ -44101,10 +44161,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44101
44161
|
return o.forEach((h) => {
|
|
44102
44162
|
var E;
|
|
44103
44163
|
let T = d.find(
|
|
44104
|
-
(
|
|
44164
|
+
(R) => {
|
|
44105
44165
|
var O, V;
|
|
44106
|
-
return ((O =
|
|
44107
|
-
(V =
|
|
44166
|
+
return ((O = R.declaration) == null ? void 0 : O.id) === h.id && wi(
|
|
44167
|
+
(V = R.declaration) == null ? void 0 : V.dataType,
|
|
44108
44168
|
h.dataType
|
|
44109
44169
|
);
|
|
44110
44170
|
}
|
|
@@ -44112,7 +44172,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44112
44172
|
if (T)
|
|
44113
44173
|
((E = T.declaration) == null ? void 0 : E.id) !== h.id && (T.setDeclaration(h), t.push(T));
|
|
44114
44174
|
else {
|
|
44115
|
-
const
|
|
44175
|
+
const R = {
|
|
44116
44176
|
id: y.UUID.uuid(),
|
|
44117
44177
|
version: y.UUID.uuid(),
|
|
44118
44178
|
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
@@ -44126,7 +44186,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44126
44186
|
writesValues: [],
|
|
44127
44187
|
parent: this.toReference()
|
|
44128
44188
|
}, O = P(
|
|
44129
|
-
|
|
44189
|
+
R,
|
|
44130
44190
|
this.project
|
|
44131
44191
|
);
|
|
44132
44192
|
O.setParent(this, e), O.initChildren(e), e == null || e.add(O, I.Added), O.addSelfToProject(e), i.push(O), T = O;
|
|
@@ -44315,7 +44375,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44315
44375
|
"create-current-value-input-based-on-input-map"
|
|
44316
44376
|
)
|
|
44317
44377
|
)) {
|
|
44318
|
-
var h, c, T, E,
|
|
44378
|
+
var h, c, T, E, R;
|
|
44319
44379
|
const t = [], i = [], s = [], l = [];
|
|
44320
44380
|
switch (this.declaration.id) {
|
|
44321
44381
|
case ee.List: {
|
|
@@ -44699,7 +44759,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
44699
44759
|
const Z = this.project.getBuiltIn(
|
|
44700
44760
|
g["primitive-entity"].string.id
|
|
44701
44761
|
);
|
|
44702
|
-
((
|
|
44762
|
+
((R = $.entity) == null ? void 0 : R.id) !== Z.id && ($.setEntity(Z), t.push($));
|
|
44703
44763
|
} else {
|
|
44704
44764
|
const Z = {
|
|
44705
44765
|
id: y.UUID.uuid(),
|
|
@@ -45153,10 +45213,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
45153
45213
|
t.push(...h), i.push(...c), s.push(...T);
|
|
45154
45214
|
const {
|
|
45155
45215
|
updated: E,
|
|
45156
|
-
added:
|
|
45216
|
+
added: R,
|
|
45157
45217
|
removed: O
|
|
45158
45218
|
} = this.syncTerminationStatements(e);
|
|
45159
|
-
t.push(...E), i.push(...
|
|
45219
|
+
t.push(...E), i.push(...R), s.push(...O);
|
|
45160
45220
|
const {
|
|
45161
45221
|
updated: V,
|
|
45162
45222
|
added: M,
|
|
@@ -45407,7 +45467,7 @@ const Ge = class Ge extends st {
|
|
|
45407
45467
|
new w({
|
|
45408
45468
|
id: `${e.id}--${b.InvalidImplementsReference}`,
|
|
45409
45469
|
code: b.InvalidImplementsReference,
|
|
45410
|
-
severity:
|
|
45470
|
+
severity: D.Error,
|
|
45411
45471
|
message: `Entity of type '${e.type}' with id '${e.id}' has an 'declaration' property that isn't pointing to an action descriptor reserved for '${n.Condition}' entities.
|
|
45412
45472
|
${Tl(t)}`,
|
|
45413
45473
|
issue: null
|
|
@@ -45416,7 +45476,7 @@ ${Tl(t)}`,
|
|
|
45416
45476
|
new w({
|
|
45417
45477
|
id: `${e.id}--${b.ReferencedEntityNotFound}`,
|
|
45418
45478
|
code: b.ReferencedEntityNotFound,
|
|
45419
|
-
severity:
|
|
45479
|
+
severity: D.Error,
|
|
45420
45480
|
message: `Entity of type '${e.type}' with id '${e.id}' has an 'declaration' property that isn't found in the project. The 'declaration' property must point to one of the built-in action descriptors reserved for '${n.Condition}' entities.
|
|
45421
45481
|
${Tl(t)}`,
|
|
45422
45482
|
issue: null
|
|
@@ -45425,7 +45485,7 @@ ${Tl(t)}`,
|
|
|
45425
45485
|
new w({
|
|
45426
45486
|
id: `${e.id}--${L.InvalidObjectStructure}`,
|
|
45427
45487
|
code: L.InvalidObjectStructure,
|
|
45428
|
-
severity:
|
|
45488
|
+
severity: D.Error,
|
|
45429
45489
|
message: `Entity of type '${e.type}' with id '${e.id}' is missing the 'declaration' property. This property is required for a '${e.type}' entity and must point to one of the built-in action descriptors reserved for '${n.Condition}' entities.
|
|
45430
45490
|
${Tl(t)}`,
|
|
45431
45491
|
issue: null
|
|
@@ -45441,7 +45501,7 @@ ${Tl(t)}`,
|
|
|
45441
45501
|
new w({
|
|
45442
45502
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
45443
45503
|
code: b.InvalidParentUpdate,
|
|
45444
|
-
severity:
|
|
45504
|
+
severity: D.Error,
|
|
45445
45505
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
45446
45506
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.`,
|
|
45447
45507
|
issue: null
|
|
@@ -46340,7 +46400,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
46340
46400
|
);
|
|
46341
46401
|
t ? c.setParent(t, null) : c.setParent(this.parent, null), s && c.subscribe(), c.initChildren(e), e == null || e.add(c, I.Added);
|
|
46342
46402
|
const T = (E = this.inputs) == null ? void 0 : E.map(
|
|
46343
|
-
(
|
|
46403
|
+
(R, O) => R.clone(
|
|
46344
46404
|
e,
|
|
46345
46405
|
c,
|
|
46346
46406
|
h + "-input-map-" + O + "-id",
|
|
@@ -46398,8 +46458,8 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
46398
46458
|
)
|
|
46399
46459
|
);
|
|
46400
46460
|
this.inputs.sort((c, T) => c.index - T.index), o.forEach((c) => {
|
|
46401
|
-
this.inputs.forEach((
|
|
46402
|
-
|
|
46461
|
+
this.inputs.forEach((R) => {
|
|
46462
|
+
R.index >= c.index && R.metaSync({ index: R.index + 1 }, e);
|
|
46403
46463
|
});
|
|
46404
46464
|
const T = {
|
|
46405
46465
|
id: y.UUID.uuid(),
|
|
@@ -46505,7 +46565,7 @@ function iv(r) {
|
|
|
46505
46565
|
r.project
|
|
46506
46566
|
)}" with id "${r.id}".`,
|
|
46507
46567
|
issue: null,
|
|
46508
|
-
severity:
|
|
46568
|
+
severity: D.Error,
|
|
46509
46569
|
code: G.PropertyImplementsNonAbstact,
|
|
46510
46570
|
entity: r
|
|
46511
46571
|
});
|
|
@@ -46519,7 +46579,7 @@ function iv(r) {
|
|
|
46519
46579
|
r.project
|
|
46520
46580
|
)}" with id "${r.id}".`,
|
|
46521
46581
|
issue: null,
|
|
46522
|
-
severity:
|
|
46582
|
+
severity: D.Error,
|
|
46523
46583
|
code: G.PropertyImplementsNonAbstact,
|
|
46524
46584
|
entity: r
|
|
46525
46585
|
});
|
|
@@ -46544,7 +46604,7 @@ function rv(r) {
|
|
|
46544
46604
|
r.project
|
|
46545
46605
|
)}" with id "${r.id}".`,
|
|
46546
46606
|
issue: null,
|
|
46547
|
-
severity:
|
|
46607
|
+
severity: D.Error,
|
|
46548
46608
|
code: G.PropertyImplementsNonAbstact,
|
|
46549
46609
|
entity: r
|
|
46550
46610
|
});
|
|
@@ -46638,14 +46698,14 @@ const Ve = class Ve extends st {
|
|
|
46638
46698
|
const s = _(e.declaration), l = t.get(
|
|
46639
46699
|
s
|
|
46640
46700
|
), o = e.calledByEntry.map((E) => {
|
|
46641
|
-
const
|
|
46642
|
-
return t.get(
|
|
46701
|
+
const R = _(E);
|
|
46702
|
+
return t.get(R);
|
|
46643
46703
|
}), d = e.calledBySuccess.map((E) => {
|
|
46644
|
-
const
|
|
46645
|
-
return t.get(
|
|
46704
|
+
const R = _(E);
|
|
46705
|
+
return t.get(R);
|
|
46646
46706
|
}), u = e.calledByError.map((E) => {
|
|
46647
|
-
const
|
|
46648
|
-
return t.get(
|
|
46707
|
+
const R = _(E);
|
|
46708
|
+
return t.get(R);
|
|
46649
46709
|
});
|
|
46650
46710
|
let h = null;
|
|
46651
46711
|
if (e.readsValue) {
|
|
@@ -46744,7 +46804,7 @@ const Ve = class Ve extends st {
|
|
|
46744
46804
|
new w({
|
|
46745
46805
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
46746
46806
|
code: b.InvalidParentUpdate,
|
|
46747
|
-
severity:
|
|
46807
|
+
severity: D.Error,
|
|
46748
46808
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
46749
46809
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
46750
46810
|
Specifically for variables, their scope is also calculated from their value readers and value writters.
|
|
@@ -47067,9 +47127,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
47067
47127
|
added: c,
|
|
47068
47128
|
updated: T,
|
|
47069
47129
|
removed: E,
|
|
47070
|
-
affected:
|
|
47130
|
+
affected: R
|
|
47071
47131
|
} = this.generateUnusedOutputs(e);
|
|
47072
|
-
i.push(...c), t.push(...T), s.push(...E), l.push(...
|
|
47132
|
+
i.push(...c), t.push(...T), s.push(...E), l.push(...R);
|
|
47073
47133
|
const {
|
|
47074
47134
|
added: O,
|
|
47075
47135
|
updated: V,
|
|
@@ -47980,7 +48040,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
47980
48040
|
"clone-entity"
|
|
47981
48041
|
)
|
|
47982
48042
|
), t = null, i = null, s = !0) {
|
|
47983
|
-
var
|
|
48043
|
+
var R, O, V, M;
|
|
47984
48044
|
let l = yt(t, this);
|
|
47985
48045
|
const o = this.toJSON(), d = i || y.UUID.uuid();
|
|
47986
48046
|
o.inputs = [], o.id = d, o.version = y.UUID.uuid(), o.createdAt = (e == null ? void 0 : e.timestamp) || v().toISOString(), o.author = (e == null ? void 0 : e.author) || "1", o.previousVersion = null, o.deleted = !1;
|
|
@@ -47989,7 +48049,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
47989
48049
|
l
|
|
47990
48050
|
);
|
|
47991
48051
|
t ? u.setParent(t, null) : u.setParent(this.parent, null), s && u.subscribe(), u.initChildren(e), e == null || e.add(u, I.Added);
|
|
47992
|
-
const h = (
|
|
48052
|
+
const h = (R = this.defaultValue) == null ? void 0 : R.clone(
|
|
47993
48053
|
e,
|
|
47994
48054
|
u,
|
|
47995
48055
|
y.UUID.uuid(),
|
|
@@ -48071,10 +48131,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
48071
48131
|
);
|
|
48072
48132
|
if (!E)
|
|
48073
48133
|
return;
|
|
48074
|
-
const
|
|
48134
|
+
const R = xi(
|
|
48075
48135
|
E
|
|
48076
48136
|
);
|
|
48077
|
-
c.setDataType(
|
|
48137
|
+
c.setDataType(R), T.setDeclaration(c);
|
|
48078
48138
|
}), o.filter((c) => !this.inputs.find(
|
|
48079
48139
|
(T) => {
|
|
48080
48140
|
var E;
|
|
@@ -48221,8 +48281,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
48221
48281
|
].includes(this.declaration.dataType.entity.type) && [
|
|
48222
48282
|
...this.declaration.dataType.entity.getAllInteractiveMethods()
|
|
48223
48283
|
].filter((u) => !this.internalCalls.find((c) => {
|
|
48224
|
-
var E,
|
|
48225
|
-
return (((E = c.declaration) == null ? void 0 : E.id) || ((O = (
|
|
48284
|
+
var E, R, O, V, M;
|
|
48285
|
+
return (((E = c.declaration) == null ? void 0 : E.id) || ((O = (R = c.initialData) == null ? void 0 : R.declaration) == null ? void 0 : O.entityId) || ((M = (V = c.initialData) == null ? void 0 : V.declaration) == null ? void 0 : M.id)) === u.id;
|
|
48226
48286
|
})).map((u) => {
|
|
48227
48287
|
const h = u.createInternalCall(e, this);
|
|
48228
48288
|
return e == null || e.add(h, I.Added), h.suggestion = !0, this.addInternalCall(h), h;
|
|
@@ -48545,7 +48605,7 @@ const Ce = class Ce extends st {
|
|
|
48545
48605
|
new w({
|
|
48546
48606
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
48547
48607
|
code: b.InvalidParentUpdate,
|
|
48548
|
-
severity:
|
|
48608
|
+
severity: D.Error,
|
|
48549
48609
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
48550
48610
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
48551
48611
|
Specifically for variables, their scope is also calculated from their value readers and value writters.
|
|
@@ -48831,9 +48891,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
48831
48891
|
added: c,
|
|
48832
48892
|
updated: T,
|
|
48833
48893
|
removed: E,
|
|
48834
|
-
affected:
|
|
48894
|
+
affected: R
|
|
48835
48895
|
} = this.generateUnusedOutputs(e);
|
|
48836
|
-
i.push(...c), t.push(...T), s.push(...E), l.push(...
|
|
48896
|
+
i.push(...c), t.push(...T), s.push(...E), l.push(...R);
|
|
48837
48897
|
const {
|
|
48838
48898
|
added: O,
|
|
48839
48899
|
updated: V,
|
|
@@ -49377,11 +49437,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
49377
49437
|
t.push(...h), i.push(...u), s.push(...c), l.push(...T);
|
|
49378
49438
|
const {
|
|
49379
49439
|
updated: E,
|
|
49380
|
-
added:
|
|
49440
|
+
added: R,
|
|
49381
49441
|
removed: O,
|
|
49382
49442
|
affected: V
|
|
49383
49443
|
} = this.generateUnusedOutputs(e);
|
|
49384
|
-
return t.push(...
|
|
49444
|
+
return t.push(...R), i.push(...E), s.push(...O), l.push(...V), this.variableInstances.forEach((Z) => {
|
|
49385
49445
|
const {
|
|
49386
49446
|
updated: q,
|
|
49387
49447
|
added: S,
|
|
@@ -49978,7 +50038,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
49978
50038
|
)
|
|
49979
50039
|
);
|
|
49980
50040
|
u.outputs = E;
|
|
49981
|
-
const
|
|
50041
|
+
const R = (C = this.internalCalls) == null ? void 0 : C.map(
|
|
49982
50042
|
($) => $.clone(
|
|
49983
50043
|
e,
|
|
49984
50044
|
u,
|
|
@@ -49987,7 +50047,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
49987
50047
|
s
|
|
49988
50048
|
)
|
|
49989
50049
|
);
|
|
49990
|
-
return u.internalCalls =
|
|
50050
|
+
return u.internalCalls = R, e == null || e.attemptAutoclose("clone-entity", this.id), u;
|
|
49991
50051
|
}
|
|
49992
50052
|
addInternalCall(e) {
|
|
49993
50053
|
return this.internalCalls.find((t) => t === e) || this.internalCalls.push(e), this;
|
|
@@ -50070,10 +50130,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
50070
50130
|
);
|
|
50071
50131
|
if (!E)
|
|
50072
50132
|
return;
|
|
50073
|
-
const
|
|
50133
|
+
const R = xi(
|
|
50074
50134
|
E
|
|
50075
50135
|
);
|
|
50076
|
-
c.setDataType(
|
|
50136
|
+
c.setDataType(R), T.setDeclaration(c);
|
|
50077
50137
|
}), o.filter((c) => !this.inputs.find(
|
|
50078
50138
|
(T) => {
|
|
50079
50139
|
var E;
|
|
@@ -50220,8 +50280,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
50220
50280
|
].includes(this.dataType.entity.type) && [
|
|
50221
50281
|
...this.dataType.entity.getAllInteractiveMethods()
|
|
50222
50282
|
].filter((u) => !this.internalCalls.find((c) => {
|
|
50223
|
-
var E,
|
|
50224
|
-
return (((E = c.declaration) == null ? void 0 : E.id) || ((O = (
|
|
50283
|
+
var E, R, O, V, M;
|
|
50284
|
+
return (((E = c.declaration) == null ? void 0 : E.id) || ((O = (R = c.initialData) == null ? void 0 : R.declaration) == null ? void 0 : O.entityId) || ((M = (V = c.initialData) == null ? void 0 : V.declaration) == null ? void 0 : M.id)) === u.id;
|
|
50225
50285
|
})).map((u) => {
|
|
50226
50286
|
const h = u.createInternalCall(e, this);
|
|
50227
50287
|
return e == null || e.add(h, I.Added), h.suggestion = !0, this.addInternalCall(h), h;
|
|
@@ -50364,7 +50424,7 @@ function sv(r) {
|
|
|
50364
50424
|
r.project
|
|
50365
50425
|
)}" with id "${r.id}".`,
|
|
50366
50426
|
issue: null,
|
|
50367
|
-
severity:
|
|
50427
|
+
severity: D.Error,
|
|
50368
50428
|
code: G.PropertyImplementsNonAbstact,
|
|
50369
50429
|
entity: r
|
|
50370
50430
|
});
|
|
@@ -50531,7 +50591,7 @@ const Je = class Je extends st {
|
|
|
50531
50591
|
new w({
|
|
50532
50592
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
50533
50593
|
code: b.InvalidParentUpdate,
|
|
50534
|
-
severity:
|
|
50594
|
+
severity: D.Error,
|
|
50535
50595
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
50536
50596
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
50537
50597
|
You shouldn't have to manually update a 'parent' property. The equivalent result is to change its callers, the value writters of its inputs, or the value readers of its outputs.`,
|
|
@@ -51657,7 +51717,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
51657
51717
|
)
|
|
51658
51718
|
);
|
|
51659
51719
|
c.outputsDeclarations = E;
|
|
51660
|
-
const
|
|
51720
|
+
const R = (x = this.inputs) == null ? void 0 : x.map(
|
|
51661
51721
|
($, Z) => $.clone(
|
|
51662
51722
|
e,
|
|
51663
51723
|
c,
|
|
@@ -51665,7 +51725,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
51665
51725
|
s
|
|
51666
51726
|
)
|
|
51667
51727
|
);
|
|
51668
|
-
c.inputs =
|
|
51728
|
+
c.inputs = R;
|
|
51669
51729
|
const O = (C = this.outputs) == null ? void 0 : C.map(
|
|
51670
51730
|
($, Z) => $.clone(
|
|
51671
51731
|
e,
|
|
@@ -51920,7 +51980,7 @@ const LW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
51920
51980
|
new w({
|
|
51921
51981
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
51922
51982
|
code: b.InvalidParentUpdate,
|
|
51923
|
-
severity:
|
|
51983
|
+
severity: D.Error,
|
|
51924
51984
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on an installed project, must be the root project as it is a globally declared entity.`,
|
|
51925
51985
|
issue: null
|
|
51926
51986
|
})
|
|
@@ -52533,7 +52593,7 @@ const LW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
52533
52593
|
"clone-entity"
|
|
52534
52594
|
)
|
|
52535
52595
|
), t = null, i = null, s = !0) {
|
|
52536
|
-
var
|
|
52596
|
+
var R, O;
|
|
52537
52597
|
let l = yt(t, this);
|
|
52538
52598
|
const o = this.toJSON(), d = i || y.UUID.uuid();
|
|
52539
52599
|
o.functions = [], o.events = [];
|
|
@@ -52544,7 +52604,7 @@ const LW = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
52544
52604
|
l
|
|
52545
52605
|
);
|
|
52546
52606
|
t && c.setParent(t, null), s && c.subscribe(), c.initChildren(e), e == null || e.add(c, I.Added);
|
|
52547
|
-
const T = (
|
|
52607
|
+
const T = (R = this.functions) == null ? void 0 : R.map(
|
|
52548
52608
|
(V, M) => V.clone(
|
|
52549
52609
|
e,
|
|
52550
52610
|
c,
|
|
@@ -52624,7 +52684,7 @@ function lv(r) {
|
|
|
52624
52684
|
de({
|
|
52625
52685
|
id: `${r.id}--${L.InternalCallParentMissingDataType}`,
|
|
52626
52686
|
code: L.InternalCallParentMissingDataType,
|
|
52627
|
-
severity:
|
|
52687
|
+
severity: D.Error,
|
|
52628
52688
|
message: `Entity of type "${r.type}" with id "${r.id}", belongs to a variable whose data type entity doesn't contain its declaration method (function-declaration) its id "${r.declaration}".`,
|
|
52629
52689
|
issue: null,
|
|
52630
52690
|
entity: r
|
|
@@ -52639,7 +52699,7 @@ function lv(r) {
|
|
|
52639
52699
|
de({
|
|
52640
52700
|
id: `${r.id}--${L.InternalCallParentDeclarationEntityInvalidType}`,
|
|
52641
52701
|
code: L.InternalCallParentDeclarationEntityInvalidType,
|
|
52642
|
-
severity:
|
|
52702
|
+
severity: D.Error,
|
|
52643
52703
|
message: `Entity of type "${r.type}" with id "${r.id}", belongs to a variable whose data type 'entity' is not a definition entity, built-in base entity or primitive entity.
|
|
52644
52704
|
This variable's data-type has an 'entity' field that references an entity with id '${t.id}' and of type '${t.type}'.`,
|
|
52645
52705
|
issue: null,
|
|
@@ -52678,7 +52738,7 @@ This variable's data-type 'entity' is a non-interactive 'built-in-base-entity'.s
|
|
|
52678
52738
|
de({
|
|
52679
52739
|
id: `${r.id}--${L.InternalCallDeclarationIsNotFunctionDeclaration}`,
|
|
52680
52740
|
code: L.InternalCallDeclarationIsNotFunctionDeclaration,
|
|
52681
|
-
severity:
|
|
52741
|
+
severity: D.Error,
|
|
52682
52742
|
message: `Entity of type "${r.type}" with id "${r.id}", points to a 'declaration' that isn't a 'function-declaration' entity.
|
|
52683
52743
|
The declaration of the internal-call must be a 'function-declaration' entity which exists as a method in the entity of the data-type of the parent variable.${l}`,
|
|
52684
52744
|
issue: null,
|
|
@@ -52688,7 +52748,7 @@ The declaration of the internal-call must be a 'function-declaration' entity whi
|
|
|
52688
52748
|
de({
|
|
52689
52749
|
id: `${r.id}--${L.InternalCallDeclarationNotFoundInParentDatatypeEntity}`,
|
|
52690
52750
|
code: L.InternalCallDeclarationNotFoundInParentDatatypeEntity,
|
|
52691
|
-
severity:
|
|
52751
|
+
severity: D.Error,
|
|
52692
52752
|
message: `Entity of type "${r.type}" with id "${r.id}", belongs to a variable whose data type entity doesn't contain its declaration method (function-declaration) with id "${r.declaration}".${l}`,
|
|
52693
52753
|
issue: null,
|
|
52694
52754
|
entity: r
|
|
@@ -52771,14 +52831,14 @@ const _e = class _e extends st {
|
|
|
52771
52831
|
const i = _(e.parent), s = t.get(i), l = _(e.declaration), o = t.get(
|
|
52772
52832
|
l
|
|
52773
52833
|
), d = e.calledByEntry.map((E) => {
|
|
52774
|
-
const
|
|
52775
|
-
return t.get(
|
|
52834
|
+
const R = _(E);
|
|
52835
|
+
return t.get(R);
|
|
52776
52836
|
}), u = e.calledBySuccess.map((E) => {
|
|
52777
|
-
const
|
|
52778
|
-
return t.get(
|
|
52837
|
+
const R = _(E);
|
|
52838
|
+
return t.get(R);
|
|
52779
52839
|
}), h = e.calledByError.map((E) => {
|
|
52780
|
-
const
|
|
52781
|
-
return t.get(
|
|
52840
|
+
const R = _(E);
|
|
52841
|
+
return t.get(R);
|
|
52782
52842
|
}), c = {
|
|
52783
52843
|
id: e.id,
|
|
52784
52844
|
version: y.UUID.uuid(),
|
|
@@ -52847,7 +52907,7 @@ const _e = class _e extends st {
|
|
|
52847
52907
|
new w({
|
|
52848
52908
|
id: `${i.id}--${L.InternalCallParentMissingDataType}`,
|
|
52849
52909
|
code: L.InternalCallParentMissingDataType,
|
|
52850
|
-
severity:
|
|
52910
|
+
severity: D.Error,
|
|
52851
52911
|
message: `Entity of type "${i.type}" with id "${i.id}", belongs to a variable whose data type entity doesn't contain its declaration method (function-declaration) its id "${i.declaration}".`,
|
|
52852
52912
|
issue: null
|
|
52853
52913
|
})
|
|
@@ -52861,7 +52921,7 @@ const _e = class _e extends st {
|
|
|
52861
52921
|
new w({
|
|
52862
52922
|
id: `${i.id}--${L.InternalCallParentDeclarationEntityInvalidType}`,
|
|
52863
52923
|
code: L.InternalCallParentDeclarationEntityInvalidType,
|
|
52864
|
-
severity:
|
|
52924
|
+
severity: D.Error,
|
|
52865
52925
|
message: `Entity of type "${i.type}" with id "${i.id}", belongs to a variable whose data type 'entity' is not a definition entity, built-in base entity or primitive entity.
|
|
52866
52926
|
This variable's data-type has an 'entity' field that references an entity with id '${h.id}' and of type '${h.type}'.`,
|
|
52867
52927
|
issue: null
|
|
@@ -52897,7 +52957,7 @@ ${ln}`);
|
|
|
52897
52957
|
new w({
|
|
52898
52958
|
id: `${i.id}--${b.ReferencedEntityNotFound}`,
|
|
52899
52959
|
code: b.ReferencedEntityNotFound,
|
|
52900
|
-
severity:
|
|
52960
|
+
severity: D.Error,
|
|
52901
52961
|
message: `Entity of type "${i.type}" with id "${i.id}", has a declaration method (function-declaration) that doesn't exist in the project.${T}`,
|
|
52902
52962
|
issue: null
|
|
52903
52963
|
})
|
|
@@ -52918,7 +52978,7 @@ ${ln}`);
|
|
|
52918
52978
|
new w({
|
|
52919
52979
|
id: `${i.id}--${L.InternalCallDeclarationIsNotFunctionDeclaration}`,
|
|
52920
52980
|
code: L.InternalCallDeclarationIsNotFunctionDeclaration,
|
|
52921
|
-
severity:
|
|
52981
|
+
severity: D.Error,
|
|
52922
52982
|
message: `Entity of type "${i.type}" with id "${i.id}", points to a 'declaration' that isn't a 'function-declaration' entity.
|
|
52923
52983
|
The declaration of the internal-call must be a 'function-declaration' entity which exists as a method in the entity of the data-type of the parent variable.${T}`,
|
|
52924
52984
|
issue: null
|
|
@@ -52927,7 +52987,7 @@ The declaration of the internal-call must be a 'function-declaration' entity whi
|
|
|
52927
52987
|
new w({
|
|
52928
52988
|
id: `${i.id}--${L.InternalCallDeclarationNotFoundInParentDatatypeEntity}`,
|
|
52929
52989
|
code: L.InternalCallDeclarationNotFoundInParentDatatypeEntity,
|
|
52930
|
-
severity:
|
|
52990
|
+
severity: D.Error,
|
|
52931
52991
|
message: `Entity of type "${i.type}" with id "${i.id}", belongs to a variable whose data type entity doesn't contain its declaration method (function-declaration) with id "${i.declaration}".${T}`,
|
|
52932
52992
|
issue: null
|
|
52933
52993
|
})
|
|
@@ -52938,7 +52998,7 @@ The declaration of the internal-call must be a 'function-declaration' entity whi
|
|
|
52938
52998
|
new w({
|
|
52939
52999
|
id: `${i.id}--${b.InvalidInternalCallParentRelation}`,
|
|
52940
53000
|
code: b.InvalidInternalCallParentRelation,
|
|
52941
|
-
severity:
|
|
53001
|
+
severity: D.Error,
|
|
52942
53002
|
message: `Entity of type "${i.type}" with id "${i.id}", can only be added to a variable declaration or variable instance parent if the parent doesn't already have inputs, outputs or other internal calls.
|
|
52943
53003
|
If you need a new variable-instance for this, consider using the 'implement_variable_instance' generation action to create one and give it a caller.
|
|
52944
53004
|
The you can attach the new internal-call to it.`,
|
|
@@ -52960,7 +53020,7 @@ The you can attach the new internal-call to it.`,
|
|
|
52960
53020
|
new w({
|
|
52961
53021
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
52962
53022
|
code: b.InvalidParentUpdate,
|
|
52963
|
-
severity:
|
|
53023
|
+
severity: D.Error,
|
|
52964
53024
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
52965
53025
|
This is likely an incorrect strategy, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.`,
|
|
52966
53026
|
issue: null
|
|
@@ -54006,7 +54066,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
54006
54066
|
"clone-entity"
|
|
54007
54067
|
)
|
|
54008
54068
|
), t = null, i = null, s = !0) {
|
|
54009
|
-
var
|
|
54069
|
+
var R, O;
|
|
54010
54070
|
let l = yt(t, this);
|
|
54011
54071
|
const o = this.toJSON(), d = i || y.UUID.uuid();
|
|
54012
54072
|
o.inputs = [];
|
|
@@ -54017,7 +54077,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
54017
54077
|
l
|
|
54018
54078
|
);
|
|
54019
54079
|
t ? c.setParent(t, null) : c.setParent(this.parent, null), s && c.subscribe(), c.initChildren(e), e == null || e.add(c, I.Added);
|
|
54020
|
-
const T = (
|
|
54080
|
+
const T = (R = this.inputs) == null ? void 0 : R.map(
|
|
54021
54081
|
(V, M) => V.clone(
|
|
54022
54082
|
e,
|
|
54023
54083
|
c,
|
|
@@ -54127,8 +54187,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
54127
54187
|
)
|
|
54128
54188
|
);
|
|
54129
54189
|
this.inputs.sort((c, T) => c.index - T.index), o.forEach((c) => {
|
|
54130
|
-
this.inputs.forEach((
|
|
54131
|
-
|
|
54190
|
+
this.inputs.forEach((R) => {
|
|
54191
|
+
R.index >= c.index && R.metaSync({ index: R.index + 1 }, e);
|
|
54132
54192
|
});
|
|
54133
54193
|
const T = {
|
|
54134
54194
|
id: y.UUID.uuid(),
|
|
@@ -54198,7 +54258,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
54198
54258
|
this.outputs.forEach((M) => {
|
|
54199
54259
|
M.index >= T.index && M.index++;
|
|
54200
54260
|
});
|
|
54201
|
-
const
|
|
54261
|
+
const R = o.includes(T.index) ? this.outputs.length - 1 + E : T.index, O = {
|
|
54202
54262
|
id: y.UUID.uuid(),
|
|
54203
54263
|
version: y.UUID.uuid(),
|
|
54204
54264
|
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
@@ -54209,7 +54269,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
54209
54269
|
declaration: T.toJSON(),
|
|
54210
54270
|
defaultValue: null,
|
|
54211
54271
|
writesValues: [],
|
|
54212
|
-
index:
|
|
54272
|
+
index: R,
|
|
54213
54273
|
parent: this.toReference()
|
|
54214
54274
|
}, V = P(
|
|
54215
54275
|
O,
|
|
@@ -54300,7 +54360,7 @@ function dv(r) {
|
|
|
54300
54360
|
r.project
|
|
54301
54361
|
)}" with id "${r.id}".`,
|
|
54302
54362
|
issue: null,
|
|
54303
|
-
severity:
|
|
54363
|
+
severity: D.Error,
|
|
54304
54364
|
code: G.PropertyImplementsNonAbstact,
|
|
54305
54365
|
entity: r
|
|
54306
54366
|
});
|
|
@@ -54442,7 +54502,7 @@ const Me = class Me extends st {
|
|
|
54442
54502
|
new w({
|
|
54443
54503
|
id: `${i.id}--${b.InvalidInputMapDeclaration}`,
|
|
54444
54504
|
code: b.InvalidInputMapDeclaration,
|
|
54445
|
-
severity:
|
|
54505
|
+
severity: D.Error,
|
|
54446
54506
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' has a 'declaration' property pointing to an entity with type '${n.ArgumentDeclaration}' with id '${i.declaration}'.
|
|
54447
54507
|
The parent entity of type '${o.type}' with id '${o.id}' is not compatible with this type of declaration.
|
|
54448
54508
|
Only 'function-call', 'search' and 'internal-call' entities can have input-maps whose 'declaration' points to 'argument-declaration' entities.`,
|
|
@@ -54452,7 +54512,7 @@ Only 'function-call', 'search' and 'internal-call' entities can have input-maps
|
|
|
54452
54512
|
new w({
|
|
54453
54513
|
id: `${i.id}--${b.InvalidInputMapDeclaration}`,
|
|
54454
54514
|
code: b.InvalidInputMapDeclaration,
|
|
54455
|
-
severity:
|
|
54515
|
+
severity: D.Error,
|
|
54456
54516
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' has a 'declaration' property pointing to an entity with type '${n.Property}' with id '${i.declaration}'.
|
|
54457
54517
|
The parent entity of type '${o.type}' with id '${o.id}' is not compatible with this type of declaration.
|
|
54458
54518
|
Only variables can have input-maps whose 'declaration' points to 'property' entities.`,
|
|
@@ -54464,7 +54524,7 @@ Only variables can have input-maps whose 'declaration' points to 'property' enti
|
|
|
54464
54524
|
new w({
|
|
54465
54525
|
id: `${i.id}--${b.InvalidInputMapDeclaration}`,
|
|
54466
54526
|
code: b.InvalidInputMapDeclaration,
|
|
54467
|
-
severity:
|
|
54527
|
+
severity: D.Error,
|
|
54468
54528
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' has a 'declaration' property pointing to an entity with type '${n.ValueDescriptor}' with id '${i.declaration}'.
|
|
54469
54529
|
The parent entity of type '${o.type}' with id '${o.id}' is not compatible with this type of declaration.
|
|
54470
54530
|
Only 'condition', 'operation' and 'loop' entities can have input-maps whose 'declaration' points to 'value-descriptor' entities.`,
|
|
@@ -54474,7 +54534,7 @@ Only 'condition', 'operation' and 'loop' entities can have input-maps whose 'dec
|
|
|
54474
54534
|
new w({
|
|
54475
54535
|
id: `${i.id}--${b.InvalidInputMapDeclaration}`,
|
|
54476
54536
|
code: b.InvalidInputMapDeclaration,
|
|
54477
|
-
severity:
|
|
54537
|
+
severity: D.Error,
|
|
54478
54538
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' must have a 'declaration' property pointing to a '${ne(
|
|
54479
54539
|
[
|
|
54480
54540
|
n.Property,
|
|
@@ -54492,7 +54552,7 @@ This is because a dynamically assembled object can have new properties added to
|
|
|
54492
54552
|
new w({
|
|
54493
54553
|
id: `${i.id}--${b.ReferencedEntityNotFound}`,
|
|
54494
54554
|
code: b.ReferencedEntityNotFound,
|
|
54495
|
-
severity:
|
|
54555
|
+
severity: D.Error,
|
|
54496
54556
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' has a 'declaration' property that points to an entity with id '${i.declaration}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
54497
54557
|
issue: null
|
|
54498
54558
|
})
|
|
@@ -54500,7 +54560,7 @@ This is because a dynamically assembled object can have new properties added to
|
|
|
54500
54560
|
new w({
|
|
54501
54561
|
id: `${i.id}--${b.InvalidInputMapDeclaration}`,
|
|
54502
54562
|
code: b.InvalidInputMapDeclaration,
|
|
54503
|
-
severity:
|
|
54563
|
+
severity: D.Error,
|
|
54504
54564
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' must have a 'declaration' property pointing to a 'argument-declaration' or 'property' entity.
|
|
54505
54565
|
Only input-map entities for variables with an inferred data type are allowed to not have a declaration.
|
|
54506
54566
|
This is because a dynamically assembled object can have new properties added to it as input-maps. Otherwise all input maps need to point to a declaration`,
|
|
@@ -54512,7 +54572,7 @@ This is because a dynamically assembled object can have new properties added to
|
|
|
54512
54572
|
new w({
|
|
54513
54573
|
id: `${i.id}--${b.InputOverwrite}`,
|
|
54514
54574
|
code: b.InputOverwrite,
|
|
54515
|
-
severity:
|
|
54575
|
+
severity: D.Error,
|
|
54516
54576
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The parent already has an input-map with id '${u.id}' that points to the same base ${d.type} as declaration.
|
|
54517
54577
|
Any value reads can be done with that input-map instead.
|
|
54518
54578
|
You can't edit input-map entities as they need to match their argument declarations, so you can only modify the 'readsValue' property so it reads the value from an external entity, or the 'defaultValue' so it has a hard-coded one.`,
|
|
@@ -54520,25 +54580,25 @@ You can't edit input-map entities as they need to match their argument declarati
|
|
|
54520
54580
|
})
|
|
54521
54581
|
);
|
|
54522
54582
|
else if (tt.includes(o.type)) {
|
|
54523
|
-
const E = $n(o).dataType,
|
|
54524
|
-
|
|
54583
|
+
const E = $n(o).dataType, R = E == null ? void 0 : E.entity;
|
|
54584
|
+
R && R.type === n.ActionDescriptor ? s.push(
|
|
54525
54585
|
new w({
|
|
54526
54586
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
54527
54587
|
code: L.NoOverlapWithImplementedSignature,
|
|
54528
|
-
severity:
|
|
54588
|
+
severity: D.Error,
|
|
54529
54589
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The data type of the 'variable-declaration' is a 'action-descriptor' entity.
|
|
54530
54590
|
This means it can hold a function-call or operation as its value, to be executed programatically.
|
|
54531
54591
|
Input maps can only be added to variables which hold an entity with properties.`,
|
|
54532
54592
|
issue: null
|
|
54533
54593
|
})
|
|
54534
|
-
) :
|
|
54594
|
+
) : R && !(E != null && E.inferred) && (R.properties.find((V) => V.id === d.id) || s.push(
|
|
54535
54595
|
new w({
|
|
54536
54596
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
54537
54597
|
code: L.NoOverlapWithImplementedSignature,
|
|
54538
|
-
severity:
|
|
54598
|
+
severity: D.Error,
|
|
54539
54599
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The 'declaration' with '${d.id}' of the 'input-map' does not exist in the entity of the 'data-type'.
|
|
54540
54600
|
The entity of the data-type has the following properties that can be reads as input maps, ids: '${ne(
|
|
54541
|
-
|
|
54601
|
+
R.properties.map(
|
|
54542
54602
|
(V) => V.id
|
|
54543
54603
|
),
|
|
54544
54604
|
"', '",
|
|
@@ -54552,7 +54612,7 @@ The entity of the data-type has the following properties that can be reads as in
|
|
|
54552
54612
|
).includes(o.type)) {
|
|
54553
54613
|
const T = wv(o), E = T.find(
|
|
54554
54614
|
(O) => O.id === i.declaration
|
|
54555
|
-
),
|
|
54615
|
+
), R = `The parent entity has the following argument declarations that can be referenced by input-maps, ids: '${ne(
|
|
54556
54616
|
T.map((O) => O.id),
|
|
54557
54617
|
"', '",
|
|
54558
54618
|
"' and '"
|
|
@@ -54561,10 +54621,10 @@ The entity of the data-type has the following properties that can be reads as in
|
|
|
54561
54621
|
new w({
|
|
54562
54622
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
54563
54623
|
code: L.NoOverlapWithImplementedSignature,
|
|
54564
|
-
severity:
|
|
54624
|
+
severity: D.Error,
|
|
54565
54625
|
message: `Entity of type '${n.InputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The parent entity does not have an 'argument-declaration' with id '${i.declaration}'.
|
|
54566
54626
|
You can't add an input-map to an entity that doesn't have a matching 'argument-declaration'.
|
|
54567
|
-
${
|
|
54627
|
+
${R}`,
|
|
54568
54628
|
issue: null
|
|
54569
54629
|
})
|
|
54570
54630
|
);
|
|
@@ -54595,7 +54655,7 @@ ${D}`,
|
|
|
54595
54655
|
new w({
|
|
54596
54656
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
54597
54657
|
code: b.InvalidParentUpdate,
|
|
54598
|
-
severity:
|
|
54658
|
+
severity: D.Error,
|
|
54599
54659
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
54600
54660
|
This is likely an incorrect strategy, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.`,
|
|
54601
54661
|
issue: null
|
|
@@ -55192,7 +55252,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
55192
55252
|
});
|
|
55193
55253
|
}
|
|
55194
55254
|
toJSONClone(e = J) {
|
|
55195
|
-
var i, s, l, o, d, u, h, c, T, E,
|
|
55255
|
+
var i, s, l, o, d, u, h, c, T, E, R;
|
|
55196
55256
|
let t;
|
|
55197
55257
|
return (i = e.seenEntityMaps) != null && i.has(this.id) ? t = e.seenEntityMaps.get(this.id) : (t = e.newId || ht(this, this.project, e.uuidStrategy), e.seenEntityMaps && e.seenEntityMaps.set(this.id, t)), (s = e.seenEntities) != null && s.has(t) || (l = e.seenEntities) != null && l.has(this.id) ? this.toReference({ seenEntityMaps: e.seenEntityMaps }) : ((o = e.seenEntities) == null || o.add(t), (d = e.seenEntities) == null || d.add(this.id), {
|
|
55198
55258
|
id: t,
|
|
@@ -55215,7 +55275,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
55215
55275
|
...e,
|
|
55216
55276
|
newId: null
|
|
55217
55277
|
})) || null,
|
|
55218
|
-
readsValue: ((
|
|
55278
|
+
readsValue: ((R = this.readsValue) == null ? void 0 : R.toReference({
|
|
55219
55279
|
seenEntityMaps: e.seenEntityMaps
|
|
55220
55280
|
})) || null,
|
|
55221
55281
|
parent: this.parent.toReference({
|
|
@@ -55458,7 +55518,7 @@ function uv(r) {
|
|
|
55458
55518
|
r.project
|
|
55459
55519
|
)}" with id "${r.id}".`,
|
|
55460
55520
|
issue: null,
|
|
55461
|
-
severity:
|
|
55521
|
+
severity: D.Error,
|
|
55462
55522
|
code: G.PropertyImplementsNonAbstact,
|
|
55463
55523
|
entity: r
|
|
55464
55524
|
});
|
|
@@ -55590,7 +55650,7 @@ const Be = class Be extends st {
|
|
|
55590
55650
|
new w({
|
|
55591
55651
|
id: `${i.id}--${b.OutputOverwrite}`,
|
|
55592
55652
|
code: b.OutputOverwrite,
|
|
55593
|
-
severity:
|
|
55653
|
+
severity: D.Error,
|
|
55594
55654
|
message: `Entity of type '${n.OutputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The parent already has an output-map with id '${u.id}' that points to the same base 'return-declaration'.
|
|
55595
55655
|
Any value reads can be done with that output-map instead.
|
|
55596
55656
|
You can't edit output-map entities as they need to match their return declarations, so you can only choose to read their outputted value if you need it.`,
|
|
@@ -55605,7 +55665,7 @@ You can't edit output-map entities as they need to match their return declaratio
|
|
|
55605
55665
|
new w({
|
|
55606
55666
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
55607
55667
|
code: L.NoOverlapWithImplementedSignature,
|
|
55608
|
-
severity:
|
|
55668
|
+
severity: D.Error,
|
|
55609
55669
|
message: `Entity of type '${n.OutputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The data type of the 'variable-declaration' is a 'action-descriptor' entity.
|
|
55610
55670
|
This means it can hold a function-call or operation as its value, to be executed programatically.
|
|
55611
55671
|
Output maps can only be added to variables which hold an entity with properties.`,
|
|
@@ -55615,7 +55675,7 @@ Output maps can only be added to variables which hold an entity with properties.
|
|
|
55615
55675
|
new w({
|
|
55616
55676
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
55617
55677
|
code: L.NoOverlapWithImplementedSignature,
|
|
55618
|
-
severity:
|
|
55678
|
+
severity: D.Error,
|
|
55619
55679
|
message: `Entity of type '${n.OutputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The 'declaration' with '${h.id}' of the 'output-map' does not exist in the entity of the 'data-type'.
|
|
55620
55680
|
The entity of the data-type has the following properties that can be reads as output maps, ids: '${ne(
|
|
55621
55681
|
(E.properties || []).map((O) => O.id),
|
|
@@ -55628,7 +55688,7 @@ The entity of the data-type has the following properties that can be reads as ou
|
|
|
55628
55688
|
new w({
|
|
55629
55689
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
55630
55690
|
code: L.NoOverlapWithImplementedSignature,
|
|
55631
|
-
severity:
|
|
55691
|
+
severity: D.Error,
|
|
55632
55692
|
message: `Entity of type '${n.OutputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The data type of the 'variable-declaration' doesn't have an 'entity' set, so it cannot be determined if the output-map is reading a valid property of the data type entity.
|
|
55633
55693
|
${Jp}`,
|
|
55634
55694
|
issue: null
|
|
@@ -55637,7 +55697,7 @@ ${Jp}`,
|
|
|
55637
55697
|
new w({
|
|
55638
55698
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
55639
55699
|
code: L.NoOverlapWithImplementedSignature,
|
|
55640
|
-
severity:
|
|
55700
|
+
severity: D.Error,
|
|
55641
55701
|
message: `Entity of type '${n.OutputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The data type of the 'variable-declaration' is not set, so it cannot be determined if the output-map is reading a valid property of the data type entity.
|
|
55642
55702
|
${Jp}`,
|
|
55643
55703
|
issue: null
|
|
@@ -55651,7 +55711,7 @@ ${Jp}`,
|
|
|
55651
55711
|
new w({
|
|
55652
55712
|
id: `${i.id}--${b.OutputOverwrite}`,
|
|
55653
55713
|
code: b.OutputOverwrite,
|
|
55654
|
-
severity:
|
|
55714
|
+
severity: D.Error,
|
|
55655
55715
|
message: `Entity of type '${n.OutputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The parent already has an output-map with id '${c.id}' that points to the same declaration.
|
|
55656
55716
|
Any value reads can be done with that output-map instead.
|
|
55657
55717
|
You can't edit output-map entities as they need to match their return declarations, so you can only choose to read their outputted value if you need it.`,
|
|
@@ -55679,7 +55739,7 @@ You can't edit output-map entities as they need to match their return declaratio
|
|
|
55679
55739
|
new w({
|
|
55680
55740
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
55681
55741
|
code: b.InvalidParentUpdate,
|
|
55682
|
-
severity:
|
|
55742
|
+
severity: D.Error,
|
|
55683
55743
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
55684
55744
|
This is likely an incorrect strategy, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.`,
|
|
55685
55745
|
issue: null
|
|
@@ -56280,7 +56340,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
56280
56340
|
newId: null
|
|
56281
56341
|
})) || null,
|
|
56282
56342
|
writesValues: this.writesValues.map(
|
|
56283
|
-
(
|
|
56343
|
+
(R) => R.toJSONClone({
|
|
56284
56344
|
...e,
|
|
56285
56345
|
newId: null
|
|
56286
56346
|
})
|
|
@@ -56524,7 +56584,7 @@ function pv(r) {
|
|
|
56524
56584
|
r.project
|
|
56525
56585
|
)}" with id "${r.id}".`,
|
|
56526
56586
|
issue: null,
|
|
56527
|
-
severity:
|
|
56587
|
+
severity: D.Error,
|
|
56528
56588
|
code: G.PropertyImplementsNonAbstact,
|
|
56529
56589
|
entity: r
|
|
56530
56590
|
});
|
|
@@ -56538,7 +56598,7 @@ function pv(r) {
|
|
|
56538
56598
|
r.project
|
|
56539
56599
|
)}" with id "${r.id}".`,
|
|
56540
56600
|
issue: null,
|
|
56541
|
-
severity:
|
|
56601
|
+
severity: D.Error,
|
|
56542
56602
|
code: G.PropertyImplementsNonAbstact,
|
|
56543
56603
|
entity: r
|
|
56544
56604
|
});
|
|
@@ -56685,7 +56745,7 @@ const Ne = class Ne extends st {
|
|
|
56685
56745
|
)
|
|
56686
56746
|
), E = T.find(
|
|
56687
56747
|
(V) => V.name === i.name
|
|
56688
|
-
),
|
|
56748
|
+
), R = T.length ? `The parent entity already implements the following arguments: ${ne(
|
|
56689
56749
|
T.map(
|
|
56690
56750
|
(V) => `'${V.id}' (${V.name})`
|
|
56691
56751
|
),
|
|
@@ -56702,10 +56762,10 @@ const Ne = class Ne extends st {
|
|
|
56702
56762
|
new w({
|
|
56703
56763
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
56704
56764
|
code: L.NoOverlapWithImplementedSignature,
|
|
56705
|
-
severity:
|
|
56765
|
+
severity: D.Error,
|
|
56706
56766
|
message: `Entity of type '${n.ArgumentDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${d.type}' with id '${d.id}' that implements a ${n.ActionDescriptor} with fixed arguments.
|
|
56707
56767
|
Adding a new argument would make the implementation invalid. An argument with the same name already exists in the parent entity.
|
|
56708
|
-
${
|
|
56768
|
+
${R}
|
|
56709
56769
|
${O}`,
|
|
56710
56770
|
issue: null
|
|
56711
56771
|
})
|
|
@@ -56713,10 +56773,10 @@ ${O}`,
|
|
|
56713
56773
|
new w({
|
|
56714
56774
|
id: `${i.id}--${L.NoOverlapWithImplementedSignature}`,
|
|
56715
56775
|
code: L.NoOverlapWithImplementedSignature,
|
|
56716
|
-
severity:
|
|
56776
|
+
severity: D.Error,
|
|
56717
56777
|
message: `Entity of type '${n.ArgumentDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${d.type}' with id '${d.id}' that implements a ${n.ActionDescriptor} with fixed arguments.
|
|
56718
56778
|
Adding a new argument would make the implementation invalid. There are no arguments in the descriptor with the same name.
|
|
56719
|
-
${
|
|
56779
|
+
${R}
|
|
56720
56780
|
${O}`,
|
|
56721
56781
|
issue: null
|
|
56722
56782
|
})
|
|
@@ -56740,7 +56800,7 @@ ${O}`,
|
|
|
56740
56800
|
new w({
|
|
56741
56801
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
56742
56802
|
code: b.InvalidParentUpdate,
|
|
56743
|
-
severity:
|
|
56803
|
+
severity: D.Error,
|
|
56744
56804
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
56745
56805
|
This is likely an incorrect strategy, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.`,
|
|
56746
56806
|
issue: null
|
|
@@ -57595,7 +57655,7 @@ function v7(r, a) {
|
|
|
57595
57655
|
new w({
|
|
57596
57656
|
id: `${r.id}--${r.parent}--${b.NewEntityWouldOverriteExisting}`,
|
|
57597
57657
|
code: b.NewEntityWouldOverriteExisting,
|
|
57598
|
-
severity:
|
|
57658
|
+
severity: D.Error,
|
|
57599
57659
|
message: `Entity of type "${r.type}" with id "${r.id}", has a 'parent' of type 'data-type' which already has an existing default value entity with id "${s.entity.id}".
|
|
57600
57660
|
Data types can only have one 'literal-value' entity as 'entity'.
|
|
57601
57661
|
You can update the existing 'literal-value' with the 'update' action, for example, like so:
|
|
@@ -57624,7 +57684,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
57624
57684
|
new w({
|
|
57625
57685
|
id: `${r.id}--${r.parent}--${b.NewEntityWouldOverriteExisting}`,
|
|
57626
57686
|
code: b.NewEntityWouldOverriteExisting,
|
|
57627
|
-
severity:
|
|
57687
|
+
severity: D.Error,
|
|
57628
57688
|
message: `Entity of type "${r.type}" with id "${r.id}", has a 'parent' of type 'data-type' which already has an existing default value entity with id "${(t = s.defaultValue) == null ? void 0 : t.id}".
|
|
57629
57689
|
Data types can only have one 'literal-value' entity as 'entity'.
|
|
57630
57690
|
You can update the existing 'literal-value' with the 'update' action, for example, like so:
|
|
@@ -57644,7 +57704,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
57644
57704
|
new w({
|
|
57645
57705
|
id: `${r.id}--${r.parent}--${b.InvalidParentReference}`,
|
|
57646
57706
|
code: b.InvalidParentReference,
|
|
57647
|
-
severity:
|
|
57707
|
+
severity: D.Error,
|
|
57648
57708
|
message: `Entity of type "${r.type}" with id "${r.id}", has a parent reference that isn't pointing to an entity of type 'input-map' or 'data-type'.`,
|
|
57649
57709
|
issue: null
|
|
57650
57710
|
})
|
|
@@ -57652,7 +57712,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
57652
57712
|
new w({
|
|
57653
57713
|
id: `${r.id}--${r.parent}--${b.ReferencedEntityNotFound}`,
|
|
57654
57714
|
code: b.ReferencedEntityNotFound,
|
|
57655
|
-
severity:
|
|
57715
|
+
severity: D.Error,
|
|
57656
57716
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${r.parent}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
57657
57717
|
issue: null
|
|
57658
57718
|
})
|
|
@@ -57662,7 +57722,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
57662
57722
|
new w({
|
|
57663
57723
|
id: `${r.id}--${L.InvalidObjectStructure}`,
|
|
57664
57724
|
code: L.InvalidObjectStructure,
|
|
57665
|
-
severity:
|
|
57725
|
+
severity: D.Error,
|
|
57666
57726
|
message: `Entity of type "${r.type}" with id "${r.id}" is missing a 'parent' reference. The 'parent' of a literal value entity must be a reference to an entity of type 'input-map' or 'data-type'.`,
|
|
57667
57727
|
issue: null
|
|
57668
57728
|
})
|
|
@@ -57672,7 +57732,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
57672
57732
|
new w({
|
|
57673
57733
|
id: `${r.id}--${L.InvalidObjectStructure}`,
|
|
57674
57734
|
code: L.InvalidObjectStructure,
|
|
57675
|
-
severity:
|
|
57735
|
+
severity: D.Error,
|
|
57676
57736
|
message: `Entity of type "${r.type}" with id "${r.id}" is missing a 'parent' reference. The 'parent' of a literal value entity must be a reference to an entity of type 'input-map' or 'data-type'.`,
|
|
57677
57737
|
issue: null
|
|
57678
57738
|
})
|
|
@@ -57692,7 +57752,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
57692
57752
|
new w({
|
|
57693
57753
|
id: `${r.id}--${d}--${b.InvalidImplementsReference}`,
|
|
57694
57754
|
code: b.InvalidImplementsReference,
|
|
57695
|
-
severity:
|
|
57755
|
+
severity: D.Error,
|
|
57696
57756
|
message: `Entity of type "${r.type}" with id "${r.id}", has an 'valueAsTypeSingle' reference that isn't pointing to an entity of type 'definition-entity', 'function-declaration' or 'operation'.`,
|
|
57697
57757
|
issue: null
|
|
57698
57758
|
})
|
|
@@ -57700,7 +57760,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
57700
57760
|
new w({
|
|
57701
57761
|
id: `${r.id}--${d}--${b.ReferencedEntityNotFound}`,
|
|
57702
57762
|
code: b.ReferencedEntityNotFound,
|
|
57703
|
-
severity:
|
|
57763
|
+
severity: D.Error,
|
|
57704
57764
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${d}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
57705
57765
|
issue: null
|
|
57706
57766
|
})
|
|
@@ -57827,7 +57887,7 @@ const Ue = class Ue extends st {
|
|
|
57827
57887
|
new w({
|
|
57828
57888
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
57829
57889
|
code: b.InvalidParentUpdate,
|
|
57830
|
-
severity:
|
|
57890
|
+
severity: D.Error,
|
|
57831
57891
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated, as it would mean moving the '${this.type}' entity to another parent entity.
|
|
57832
57892
|
This is likely an incorrect strategy, either the '${this.type}' entity doesn't need to be updated or it should be deleted and a new one created in the desired parent.`,
|
|
57833
57893
|
issue: null
|
|
@@ -58787,7 +58847,7 @@ const je = class je extends st {
|
|
|
58787
58847
|
new w({
|
|
58788
58848
|
id: `${e.id}--${b.BuiltInEntityParent}`,
|
|
58789
58849
|
code: b.BuiltInEntityParent,
|
|
58790
|
-
severity:
|
|
58850
|
+
severity: D.Error,
|
|
58791
58851
|
message: `Entity of type "${e.type}" with id "${e.id}", has a parent that is a built-in entity "${d.name}" of type '${d.type}' with id '${d.id}'.
|
|
58792
58852
|
You can't modify system entities that are built-in.`,
|
|
58793
58853
|
issue: null
|
|
@@ -58796,7 +58856,7 @@ You can't modify system entities that are built-in.`,
|
|
|
58796
58856
|
new w({
|
|
58797
58857
|
id: `${e.id}--${b.InvalidParentRelationType}`,
|
|
58798
58858
|
code: b.InvalidParentRelationType,
|
|
58799
|
-
severity:
|
|
58859
|
+
severity: D.Error,
|
|
58800
58860
|
message: `The entity with id '${e.id}' and type '${e.type}', must have a 'parentRelationType' property set to either '${N.FixedArguments}', '${N.FixedReturns}', or '${N.ReturnedError}' when being added as a child to an entity of type 'action-descriptor'.`,
|
|
58801
58861
|
issue: null
|
|
58802
58862
|
})
|
|
@@ -58804,7 +58864,7 @@ You can't modify system entities that are built-in.`,
|
|
|
58804
58864
|
new w({
|
|
58805
58865
|
id: `${e.id}--${b.NewEntityWouldOverriteExisting}`,
|
|
58806
58866
|
code: b.NewEntityWouldOverriteExisting,
|
|
58807
|
-
severity:
|
|
58867
|
+
severity: D.Error,
|
|
58808
58868
|
message: `The entity with id '${e.id}' and type '${e.type}', is being added as an error value-descriptor to an entity of type 'action-descriptor' with id '${o.id}', which already has an error value descriptor with id '${o.error.id}'.
|
|
58809
58869
|
An action descriptor can only have one error value descriptor child.
|
|
58810
58870
|
Either remove the existing error value descriptor or update it with the 'update' action.
|
|
@@ -59061,9 +59121,9 @@ ${Ki(
|
|
|
59061
59121
|
"add-self-to-project"
|
|
59062
59122
|
)
|
|
59063
59123
|
)) {
|
|
59064
|
-
var o, d, u, h, c, T, E,
|
|
59124
|
+
var o, d, u, h, c, T, E, R;
|
|
59065
59125
|
const t = [this], i = [], s = [], l = [];
|
|
59066
|
-
return this.parentRelationType === N.FixedArguments || this.parentRelationType === N.DynamicArgument ? ((o = this.parent) == null ? void 0 : o.type) === n.Search || ((d = this.parent) == null ? void 0 : d.type) === n.Loop ? (this.parent.addInputDeclaration(this, e), t.push(this.parent)) : ((h = (u = this.parent) == null ? void 0 : u.addInput) == null || h.call(u, this), t.push(this.parent)) : this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? ((c = this.parent) == null ? void 0 : c.type) === n.Search || ((T = this.parent) == null ? void 0 : T.type) === n.Loop ? (this.parent.addOutputDeclaration(this, e), t.push(this.parent)) : ((
|
|
59126
|
+
return this.parentRelationType === N.FixedArguments || this.parentRelationType === N.DynamicArgument ? ((o = this.parent) == null ? void 0 : o.type) === n.Search || ((d = this.parent) == null ? void 0 : d.type) === n.Loop ? (this.parent.addInputDeclaration(this, e), t.push(this.parent)) : ((h = (u = this.parent) == null ? void 0 : u.addInput) == null || h.call(u, this), t.push(this.parent)) : this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? ((c = this.parent) == null ? void 0 : c.type) === n.Search || ((T = this.parent) == null ? void 0 : T.type) === n.Loop ? (this.parent.addOutputDeclaration(this, e), t.push(this.parent)) : ((R = (E = this.parent) == null ? void 0 : E.addOutput) == null || R.call(E, this), t.push(this.parent)) : this.parentRelationType === N.ReturnedError && this.parent && (this.parent.error = this, t.push(this.parent)), this.subscribe(), this.subscribeToDependencies(), e == null || e.attemptAutoclose("add-self-to-project", this.id), {
|
|
59067
59127
|
updated: p(t),
|
|
59068
59128
|
added: p(i),
|
|
59069
59129
|
removed: p(s),
|
|
@@ -59171,7 +59231,7 @@ ${Ki(
|
|
|
59171
59231
|
"remove-entity"
|
|
59172
59232
|
)
|
|
59173
59233
|
)) {
|
|
59174
|
-
var u, h, c, T, E,
|
|
59234
|
+
var u, h, c, T, E, R, O;
|
|
59175
59235
|
const i = [], s = [], l = [], o = [];
|
|
59176
59236
|
if (Array.from(
|
|
59177
59237
|
/* @__PURE__ */ new Set([...Fi(), ...this.project.getAllBuiltInIds()])
|
|
@@ -59220,7 +59280,7 @@ ${Ki(
|
|
|
59220
59280
|
);
|
|
59221
59281
|
i.push(...V), s.push(...M);
|
|
59222
59282
|
}
|
|
59223
|
-
return e || (((u = this.parent) == null ? void 0 : u.type) === n.Search ? this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? (h = this.parent) == null || h.removeOutputDeclaration(this, t) : this.parentRelationType === N.FixedArguments || this.parentRelationType === N.DynamicArgument ? (c = this.parent) == null || c.removeInputDeclaration(this, t) : this.parentRelationType === N.ReturnedError && (this.parent.error = null) : ((T = this.parent) == null ? void 0 : T.type) === n.Loop ? this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? (E = this.parent) == null || E.removeOutputDeclaration(this, t) : this.parentRelationType === N.ReturnedError && (this.parent.error = null) : this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? (
|
|
59283
|
+
return e || (((u = this.parent) == null ? void 0 : u.type) === n.Search ? this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? (h = this.parent) == null || h.removeOutputDeclaration(this, t) : this.parentRelationType === N.FixedArguments || this.parentRelationType === N.DynamicArgument ? (c = this.parent) == null || c.removeInputDeclaration(this, t) : this.parentRelationType === N.ReturnedError && (this.parent.error = null) : ((T = this.parent) == null ? void 0 : T.type) === n.Loop ? this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? (E = this.parent) == null || E.removeOutputDeclaration(this, t) : this.parentRelationType === N.ReturnedError && (this.parent.error = null) : this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? (R = this.parent) == null || R.removeOutput(this, t) : (this.parentRelationType === N.FixedArguments || this.parentRelationType === N.DynamicArgument) && ((O = this.parent) == null || O.removeInput(this, t))), t == null || t.attemptAutoclose("remove-entity", this.id), {
|
|
59224
59284
|
added: p(l),
|
|
59225
59285
|
updated: p(i),
|
|
59226
59286
|
removed: p(s),
|
|
@@ -59247,27 +59307,27 @@ ${Ki(
|
|
|
59247
59307
|
const t = [], i = [], s = [], l = [];
|
|
59248
59308
|
if (e != null && e.hasAdded(this.id))
|
|
59249
59309
|
return e == null || e.attemptAutoclose("restore-entity", this.id), { added: [], updated: [], removed: [], affected: [], self: this };
|
|
59250
|
-
if (this.subscribe(), this.project.unsubscribeDeletedInstance(this), this.metaSync({ deleted: !1 }, e), Object.values(this.detachedDependents).forEach((
|
|
59310
|
+
if (this.subscribe(), this.project.unsubscribeDeletedInstance(this), this.metaSync({ deleted: !1 }, e), Object.values(this.detachedDependents).forEach((R) => {
|
|
59251
59311
|
const {
|
|
59252
59312
|
updated: O,
|
|
59253
59313
|
removed: V,
|
|
59254
59314
|
added: M
|
|
59255
|
-
} =
|
|
59315
|
+
} = R.entity.onDetachedDependencyRestored(
|
|
59256
59316
|
this,
|
|
59257
|
-
|
|
59317
|
+
R.field,
|
|
59258
59318
|
e
|
|
59259
59319
|
);
|
|
59260
59320
|
i.push(...O), s.push(...V), t.push(...M);
|
|
59261
59321
|
}), this.defaultValue) {
|
|
59262
|
-
const { updated:
|
|
59322
|
+
const { updated: R } = this.defaultValue.restore(
|
|
59263
59323
|
{},
|
|
59264
59324
|
e
|
|
59265
59325
|
);
|
|
59266
|
-
i.push(...
|
|
59326
|
+
i.push(...R);
|
|
59267
59327
|
}
|
|
59268
59328
|
if (this.dataType) {
|
|
59269
|
-
const { updated:
|
|
59270
|
-
i.push(...
|
|
59329
|
+
const { updated: R } = this.dataType.restore({}, e);
|
|
59330
|
+
i.push(...R);
|
|
59271
59331
|
}
|
|
59272
59332
|
return ((o = this.parent) == null ? void 0 : o.type) === n.Search ? this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? (d = this.parent) == null || d.addOutputDeclaration(this, e) : (this.parentRelationType === N.FixedArguments || this.parentRelationType === N.DynamicArgument) && ((u = this.parent) == null || u.addInputDeclaration(this, e)) : ((h = this.parent) == null ? void 0 : h.type) === n.Loop ? (this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn) && ((c = this.parent) == null || c.addOutputDeclaration(this, e)) : this.parentRelationType === N.FixedReturns || this.parentRelationType === N.DynamicReturn ? (T = this.parent) == null || T.addOutput(this, e) : (this.parentRelationType === N.FixedArguments || this.parentRelationType === N.DynamicArgument) && ((E = this.parent) == null || E.addInput(this, e)), e == null || e.attemptAutoclose("restore-entity", this.id), {
|
|
59273
59333
|
added: p(t),
|
|
@@ -59451,7 +59511,7 @@ ${Ki(
|
|
|
59451
59511
|
"clone-entity"
|
|
59452
59512
|
)
|
|
59453
59513
|
), t = null, i = null, s = !0) {
|
|
59454
|
-
var E,
|
|
59514
|
+
var E, R;
|
|
59455
59515
|
if (Array.from(
|
|
59456
59516
|
/* @__PURE__ */ new Set([...Fi(), ...this.project.getAllBuiltInIds()])
|
|
59457
59517
|
).includes(this.id))
|
|
@@ -59471,7 +59531,7 @@ ${Ki(
|
|
|
59471
59531
|
s
|
|
59472
59532
|
)) || null;
|
|
59473
59533
|
c && h.setDataType(c);
|
|
59474
|
-
const T = (
|
|
59534
|
+
const T = (R = this.defaultValue) == null ? void 0 : R.clone(
|
|
59475
59535
|
e,
|
|
59476
59536
|
h,
|
|
59477
59537
|
y.UUID.uuid(),
|
|
@@ -59514,7 +59574,7 @@ ${Ki(
|
|
|
59514
59574
|
)
|
|
59515
59575
|
), t, i) {
|
|
59516
59576
|
const s = ri.new(e);
|
|
59517
|
-
s.id = i || s.id, s.name = this.name, s.description = this.description, s.parent = t.toReference(), s.implements = this.toJSON();
|
|
59577
|
+
s.id = i || s.id, s.name = this.name, s.description = this.description, s.parent = t.toReference(), s.implements = this.toJSON(), s.isError = this.parentRelationType === N.ReturnedError;
|
|
59518
59578
|
const l = rt(
|
|
59519
59579
|
s,
|
|
59520
59580
|
this.project
|
|
@@ -59624,14 +59684,14 @@ function zW(r, a) {
|
|
|
59624
59684
|
new w({
|
|
59625
59685
|
id: `last-generated-entity-payload--${b.MissingTypeProperty}`,
|
|
59626
59686
|
message: "Last generated entity payload is missing a 'type' property.",
|
|
59627
|
-
severity:
|
|
59687
|
+
severity: D.Error,
|
|
59628
59688
|
code: b.MissingTypeProperty,
|
|
59629
59689
|
issue: null
|
|
59630
59690
|
}),
|
|
59631
59691
|
new w({
|
|
59632
59692
|
id: `last-generated-entity-payload--${b.MissingIdProperty}`,
|
|
59633
59693
|
message: "Last generated entity payload is missing an 'id' property.",
|
|
59634
|
-
severity:
|
|
59694
|
+
severity: D.Error,
|
|
59635
59695
|
code: b.MissingIdProperty,
|
|
59636
59696
|
issue: null
|
|
59637
59697
|
})
|
|
@@ -59645,7 +59705,7 @@ function zW(r, a) {
|
|
|
59645
59705
|
new w({
|
|
59646
59706
|
id: `last-generated-entity-payload--${b.MissingIdProperty}`,
|
|
59647
59707
|
message: `Last generated entity, with type "${r.type}" is missing an 'id' property.`,
|
|
59648
|
-
severity:
|
|
59708
|
+
severity: D.Error,
|
|
59649
59709
|
code: b.MissingIdProperty,
|
|
59650
59710
|
issue: null
|
|
59651
59711
|
})
|
|
@@ -59658,7 +59718,7 @@ function zW(r, a) {
|
|
|
59658
59718
|
new w({
|
|
59659
59719
|
id: `${r.id}--${b.MissingTypeProperty}`,
|
|
59660
59720
|
message: `Entity with id "${r.id}" is missing a 'type' property.`,
|
|
59661
|
-
severity:
|
|
59721
|
+
severity: D.Error,
|
|
59662
59722
|
code: b.MissingTypeProperty,
|
|
59663
59723
|
issue: null
|
|
59664
59724
|
})
|
|
@@ -59671,7 +59731,7 @@ function zW(r, a) {
|
|
|
59671
59731
|
new w({
|
|
59672
59732
|
id: `${r.id}--${b.RootReference}`,
|
|
59673
59733
|
message: `Generic reference entity with id "${r.id}". A generic reference cannot be generated as a standalone entity. Only in the body of another entity.`,
|
|
59674
|
-
severity:
|
|
59734
|
+
severity: D.Error,
|
|
59675
59735
|
code: b.RootReference,
|
|
59676
59736
|
issue: null
|
|
59677
59737
|
})
|
|
@@ -59692,7 +59752,7 @@ If you are trying to create a new entity, please use a different id, for example
|
|
|
59692
59752
|
new w({
|
|
59693
59753
|
id: `duplicate--${e.id}--${b.EntityIdNotUnique}`,
|
|
59694
59754
|
message: s,
|
|
59695
|
-
severity:
|
|
59755
|
+
severity: D.Error,
|
|
59696
59756
|
code: b.EntityIdNotUnique,
|
|
59697
59757
|
issue: null
|
|
59698
59758
|
})
|
|
@@ -59708,7 +59768,7 @@ If you are trying to create a new entity, please use a different id, for example
|
|
|
59708
59768
|
e,
|
|
59709
59769
|
a
|
|
59710
59770
|
)}".`,
|
|
59711
|
-
severity:
|
|
59771
|
+
severity: D.Error,
|
|
59712
59772
|
code: b.EntityIdNotUnique,
|
|
59713
59773
|
issue: null
|
|
59714
59774
|
})
|
|
@@ -59850,7 +59910,7 @@ If you are trying to create a new entity, please use a different id, for example
|
|
|
59850
59910
|
id: `${e.id}--${b.BuiltInEntityGenerated}`,
|
|
59851
59911
|
message: `Entity with id "${e.id} is of "${e.type}" type and should not be generated. Built in entities can only be referenced by user created entities.
|
|
59852
59912
|
${o}`,
|
|
59853
|
-
severity:
|
|
59913
|
+
severity: D.Error,
|
|
59854
59914
|
code: b.BuiltInEntityGenerated,
|
|
59855
59915
|
issue: null
|
|
59856
59916
|
})
|
|
@@ -59866,7 +59926,7 @@ ${o}`,
|
|
|
59866
59926
|
new w({
|
|
59867
59927
|
id: `${s.id}--${b.UnknownEntityType}`,
|
|
59868
59928
|
message: `Incorrect entity implementation for entity with id "${s.id}". Entity type "${s.type}" is not supported.`,
|
|
59869
|
-
severity:
|
|
59929
|
+
severity: D.Error,
|
|
59870
59930
|
code: b.UnknownEntityType,
|
|
59871
59931
|
issue: null
|
|
59872
59932
|
})
|
|
@@ -59908,7 +59968,7 @@ function YW(r, a) {
|
|
|
59908
59968
|
new w({
|
|
59909
59969
|
id: `${a.id}--${b.BuiltInEntityGenerated}`,
|
|
59910
59970
|
message: `Entity with id "${a.id} is of "${a.type}" type and should not be updated. Built in entities can only be referenced by user created entities.`,
|
|
59911
|
-
severity:
|
|
59971
|
+
severity: D.Error,
|
|
59912
59972
|
code: b.BuiltInEntityGenerated,
|
|
59913
59973
|
issue: null
|
|
59914
59974
|
})
|
|
@@ -59916,7 +59976,7 @@ function YW(r, a) {
|
|
|
59916
59976
|
new w({
|
|
59917
59977
|
id: `last-action--${b.InvalidUpdateEntityOperation}`,
|
|
59918
59978
|
code: b.InvalidUpdateEntityOperation,
|
|
59919
|
-
severity:
|
|
59979
|
+
severity: D.Error,
|
|
59920
59980
|
message: `The 'id' property cannot be updated in the 'update' action payload. The id of the entity is '${r.id}'. Only mutable core metadata properties can be updated, no nested entities or references. You can alternatively delete the entity and create a new one with the updated 'id'.`,
|
|
59921
59981
|
issue: null
|
|
59922
59982
|
})
|
|
@@ -59924,7 +59984,7 @@ function YW(r, a) {
|
|
|
59924
59984
|
new w({
|
|
59925
59985
|
id: `last-action--${b.InvalidUpdateEntityOperation}`,
|
|
59926
59986
|
code: b.InvalidUpdateEntityOperation,
|
|
59927
|
-
severity:
|
|
59987
|
+
severity: D.Error,
|
|
59928
59988
|
message: `The 'type' property cannot be updated in the 'update' action payload. The type of the entity is '${a.type}'. Only mutable core metadata properties can be updated, no nested entities or references. You can alternatively delete the entity and create a new one with the updated 'type'.`,
|
|
59929
59989
|
issue: null
|
|
59930
59990
|
})
|
|
@@ -59939,7 +59999,7 @@ function YW(r, a) {
|
|
|
59939
59999
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
59940
60000
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "calls" updated.
|
|
59941
60001
|
${xr}`,
|
|
59942
|
-
severity:
|
|
60002
|
+
severity: D.Error,
|
|
59943
60003
|
code: b.InvalidInmutablePropertyOverride,
|
|
59944
60004
|
issue: null
|
|
59945
60005
|
})
|
|
@@ -59948,7 +60008,7 @@ ${xr}`,
|
|
|
59948
60008
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
59949
60009
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "successCalls" updated.
|
|
59950
60010
|
${xr}`,
|
|
59951
|
-
severity:
|
|
60011
|
+
severity: D.Error,
|
|
59952
60012
|
code: b.InvalidInmutablePropertyOverride,
|
|
59953
60013
|
issue: null
|
|
59954
60014
|
})
|
|
@@ -59957,7 +60017,7 @@ ${xr}`,
|
|
|
59957
60017
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
59958
60018
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "errorCalls" updated.
|
|
59959
60019
|
${xr}`,
|
|
59960
|
-
severity:
|
|
60020
|
+
severity: D.Error,
|
|
59961
60021
|
code: b.InvalidInmutablePropertyOverride,
|
|
59962
60022
|
issue: null
|
|
59963
60023
|
})
|
|
@@ -59966,7 +60026,7 @@ ${xr}`,
|
|
|
59966
60026
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
59967
60027
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "calledBy" updated.
|
|
59968
60028
|
${xr}`,
|
|
59969
|
-
severity:
|
|
60029
|
+
severity: D.Error,
|
|
59970
60030
|
code: b.InvalidInmutablePropertyOverride,
|
|
59971
60031
|
issue: null
|
|
59972
60032
|
})
|
|
@@ -59975,7 +60035,7 @@ ${xr}`,
|
|
|
59975
60035
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
59976
60036
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "calledByEntry" updated.
|
|
59977
60037
|
${xr}`,
|
|
59978
|
-
severity:
|
|
60038
|
+
severity: D.Error,
|
|
59979
60039
|
code: b.InvalidInmutablePropertyOverride,
|
|
59980
60040
|
issue: null
|
|
59981
60041
|
})
|
|
@@ -59984,7 +60044,7 @@ ${xr}`,
|
|
|
59984
60044
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
59985
60045
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "calledBySuccess" updated.
|
|
59986
60046
|
${xr}`,
|
|
59987
|
-
severity:
|
|
60047
|
+
severity: D.Error,
|
|
59988
60048
|
code: b.InvalidInmutablePropertyOverride,
|
|
59989
60049
|
issue: null
|
|
59990
60050
|
})
|
|
@@ -59993,7 +60053,7 @@ ${xr}`,
|
|
|
59993
60053
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
59994
60054
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "calledByError" updated.
|
|
59995
60055
|
${xr}`,
|
|
59996
|
-
severity:
|
|
60056
|
+
severity: D.Error,
|
|
59997
60057
|
code: b.InvalidInmutablePropertyOverride,
|
|
59998
60058
|
issue: null
|
|
59999
60059
|
})
|
|
@@ -60013,7 +60073,7 @@ ${xr}`,
|
|
|
60013
60073
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
60014
60074
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "${V}" updated. It is an inmutable property that is set only when the entity is created.
|
|
60015
60075
|
If you need to update this property, you should delete the entity and create a new one with the updated value.`,
|
|
60016
|
-
severity:
|
|
60076
|
+
severity: D.Error,
|
|
60017
60077
|
code: b.InvalidInmutablePropertyOverride,
|
|
60018
60078
|
issue: null
|
|
60019
60079
|
})
|
|
@@ -60027,7 +60087,7 @@ If you need to update this property, you should delete the entity and create a n
|
|
|
60027
60087
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "${V}" set directly. It is a downstream property that points to a downstream nested entity.
|
|
60028
60088
|
All downstream references are managed by the downstream entity. Entities only manage their own upstream references.
|
|
60029
60089
|
To modify '${V}', target the entity that it points to and its equivalent property.`,
|
|
60030
|
-
severity:
|
|
60090
|
+
severity: D.Error,
|
|
60031
60091
|
code: b.InvalidDownstreamPropertyOverride,
|
|
60032
60092
|
issue: null
|
|
60033
60093
|
})
|
|
@@ -60040,7 +60100,7 @@ To modify '${V}', target the entity that it points to and its equivalent propert
|
|
|
60040
60100
|
id: `${a.id}--${b.InvalidInmutablePropertyOverride}`,
|
|
60041
60101
|
message: `Entity of type "${a.type}" with id "${a.id}" cannot have the property "${V}" updated. It is an inmutable property that is set only when the entity is created.
|
|
60042
60102
|
If you need to update this property, you should delete the entity and create a new one with the updated value.`,
|
|
60043
|
-
severity:
|
|
60103
|
+
severity: D.Error,
|
|
60044
60104
|
code: b.InvalidInmutablePropertyOverride,
|
|
60045
60105
|
issue: null
|
|
60046
60106
|
})
|
|
@@ -60052,7 +60112,7 @@ If you need to update this property, you should delete the entity and create a n
|
|
|
60052
60112
|
new w({
|
|
60053
60113
|
id: `${a.id}--${b.UnrecognizedProperty}`,
|
|
60054
60114
|
message: `Entity of type "${a.type}" with id "${a.id}" has an unrecognized property "${V}" that will be ignored.`,
|
|
60055
|
-
severity:
|
|
60115
|
+
severity: D.Warning,
|
|
60056
60116
|
code: b.UnrecognizedProperty,
|
|
60057
60117
|
issue: null
|
|
60058
60118
|
})
|
|
@@ -60215,7 +60275,7 @@ function pp(r) {
|
|
|
60215
60275
|
new w({
|
|
60216
60276
|
id: `${r}--${b.InvalidReferenceObjectStructure}`,
|
|
60217
60277
|
message: `Reference object with id "${r}" is not an object. References should be objects with exactly 4 properties: 'entityId', 'entityType', 'id', and 'type'.`,
|
|
60218
|
-
severity:
|
|
60278
|
+
severity: D.Error,
|
|
60219
60279
|
code: b.InvalidReferenceObjectStructure,
|
|
60220
60280
|
issue: null
|
|
60221
60281
|
})
|
|
@@ -60225,7 +60285,7 @@ function pp(r) {
|
|
|
60225
60285
|
new w({
|
|
60226
60286
|
id: `${e}--${b.InvalidReferenceObjectStructure}`,
|
|
60227
60287
|
message: `${t} is missing an 'entityId' property.`,
|
|
60228
|
-
severity:
|
|
60288
|
+
severity: D.Error,
|
|
60229
60289
|
code: b.InvalidReferenceObjectStructure,
|
|
60230
60290
|
issue: null
|
|
60231
60291
|
})
|
|
@@ -60233,7 +60293,7 @@ function pp(r) {
|
|
|
60233
60293
|
new w({
|
|
60234
60294
|
id: `${e}--${b.InvalidReferenceObjectStructure}`,
|
|
60235
60295
|
message: `${t} is missing an 'entityType' property.`,
|
|
60236
|
-
severity:
|
|
60296
|
+
severity: D.Error,
|
|
60237
60297
|
code: b.InvalidReferenceObjectStructure,
|
|
60238
60298
|
issue: null
|
|
60239
60299
|
})
|
|
@@ -60241,7 +60301,7 @@ function pp(r) {
|
|
|
60241
60301
|
new w({
|
|
60242
60302
|
id: `${e}--${b.MissingIdProperty}`,
|
|
60243
60303
|
message: `${t} is missing an 'id' property.`,
|
|
60244
|
-
severity:
|
|
60304
|
+
severity: D.Error,
|
|
60245
60305
|
code: b.MissingIdProperty,
|
|
60246
60306
|
issue: null
|
|
60247
60307
|
})
|
|
@@ -60249,7 +60309,7 @@ function pp(r) {
|
|
|
60249
60309
|
new w({
|
|
60250
60310
|
id: `${e}--${b.MissingTypeProperty}`,
|
|
60251
60311
|
message: `${t} is missing a 'type' property.`,
|
|
60252
|
-
severity:
|
|
60312
|
+
severity: D.Error,
|
|
60253
60313
|
code: b.MissingTypeProperty,
|
|
60254
60314
|
issue: null
|
|
60255
60315
|
})
|
|
@@ -60260,7 +60320,7 @@ function hv(r, a) {
|
|
|
60260
60320
|
(e) => new w({
|
|
60261
60321
|
id: `${r.id}--${L.InvalidObjectStructure}`,
|
|
60262
60322
|
message: `Entity of type "${r.type}" and with id "${r.id}", has an invalid structure: ${s5(e).toString().replace("Validation error: ", "")}`,
|
|
60263
|
-
severity:
|
|
60323
|
+
severity: D.Error,
|
|
60264
60324
|
code: L.InvalidObjectStructure,
|
|
60265
60325
|
issue: e
|
|
60266
60326
|
})
|
|
@@ -60281,7 +60341,7 @@ function pt(r, a) {
|
|
|
60281
60341
|
message: `Entity of type "${r.type}" with id "${r.id}" cannot have the property "${o}" set directly. It is a downstream property that points to a downstream nested entity.
|
|
60282
60342
|
All downstream references are managed by the downstream entity. Entities only manage their own upstream references.
|
|
60283
60343
|
To modify '${o}', target the entity that it points to and its equivalent property.`,
|
|
60284
|
-
severity:
|
|
60344
|
+
severity: D.Error,
|
|
60285
60345
|
code: b.InvalidDownstreamPropertyOverride,
|
|
60286
60346
|
issue: null
|
|
60287
60347
|
})
|
|
@@ -60293,7 +60353,7 @@ To modify '${o}', target the entity that it points to and its equivalent propert
|
|
|
60293
60353
|
new w({
|
|
60294
60354
|
id: `${r.id}--${b.UnrecognizedProperty}`,
|
|
60295
60355
|
message: `Entity of type "${r.type}" with id "${r.id}" has an unrecognized property "${o}" that will be ignored.`,
|
|
60296
|
-
severity:
|
|
60356
|
+
severity: D.Warning,
|
|
60297
60357
|
code: b.UnrecognizedProperty,
|
|
60298
60358
|
issue: null
|
|
60299
60359
|
})
|
|
@@ -60313,7 +60373,7 @@ function HW(r, a) {
|
|
|
60313
60373
|
new w({
|
|
60314
60374
|
id: `${r.id}--${b.BuiltInEntityParent}`,
|
|
60315
60375
|
message: `Entity of type "${r.type}" with id "${r.id}" cannot have the parent with id "${t.id}", because it is a built in entity. Built in entities cannot be modified.`,
|
|
60316
|
-
severity:
|
|
60376
|
+
severity: D.Error,
|
|
60317
60377
|
code: b.BuiltInEntityParent,
|
|
60318
60378
|
issue: null
|
|
60319
60379
|
})
|
|
@@ -60323,7 +60383,7 @@ function HW(r, a) {
|
|
|
60323
60383
|
new w({
|
|
60324
60384
|
id: `${r.id}--${b.BuiltInEntityParent}`,
|
|
60325
60385
|
message: `Entity of type "${r.type}" with id "${r.id}" cannot have the parent with id "${t.id}", because it is a built in entity. Built in entities cannot be modified. Action descriptors are only sometimes built in, other times they are managed by the user.`,
|
|
60326
|
-
severity:
|
|
60386
|
+
severity: D.Error,
|
|
60327
60387
|
code: b.BuiltInEntityParent,
|
|
60328
60388
|
issue: null
|
|
60329
60389
|
})
|
|
@@ -60340,7 +60400,7 @@ function yv(r, a, e) {
|
|
|
60340
60400
|
", ",
|
|
60341
60401
|
" or "
|
|
60342
60402
|
)}.`,
|
|
60343
|
-
severity:
|
|
60403
|
+
severity: D.Error,
|
|
60344
60404
|
code: L.InvalidObjectStructure,
|
|
60345
60405
|
issue: null
|
|
60346
60406
|
})
|
|
@@ -60359,7 +60419,7 @@ function yv(r, a, e) {
|
|
|
60359
60419
|
new w({
|
|
60360
60420
|
id: `${r.id}--${s}--${b.SelfReference}`,
|
|
60361
60421
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to itself at '${a.key}'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
60362
|
-
severity:
|
|
60422
|
+
severity: D.Error,
|
|
60363
60423
|
code: b.SelfReference,
|
|
60364
60424
|
issue: null
|
|
60365
60425
|
})
|
|
@@ -60373,7 +60433,7 @@ function yv(r, a, e) {
|
|
|
60373
60433
|
"', '",
|
|
60374
60434
|
"' or '"
|
|
60375
60435
|
)}'.`,
|
|
60376
|
-
severity:
|
|
60436
|
+
severity: D.Error,
|
|
60377
60437
|
code: b.InvalidReference,
|
|
60378
60438
|
issue: null
|
|
60379
60439
|
})
|
|
@@ -60381,7 +60441,7 @@ function yv(r, a, e) {
|
|
|
60381
60441
|
new w({
|
|
60382
60442
|
id: `${r.id}--${s}--${b.ReferencedEntityNotFound}`,
|
|
60383
60443
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${s}" at '${a.key}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
60384
|
-
severity:
|
|
60444
|
+
severity: D.Error,
|
|
60385
60445
|
code: b.ReferencedEntityNotFound,
|
|
60386
60446
|
issue: null
|
|
60387
60447
|
})
|
|
@@ -60404,7 +60464,7 @@ function hl(r, a, e) {
|
|
|
60404
60464
|
new w({
|
|
60405
60465
|
id: `${r.id}--${a}--${b.InvalidReference}`,
|
|
60406
60466
|
message: `Entity of type "${r.type}" with id "${r.id}", has a missing reference at '${a}'. A reference needs to be a 'id' string of an existing entity in the project.`,
|
|
60407
|
-
severity:
|
|
60467
|
+
severity: D.Error,
|
|
60408
60468
|
code: b.InvalidReference,
|
|
60409
60469
|
issue: null
|
|
60410
60470
|
})
|
|
@@ -60415,7 +60475,7 @@ function hl(r, a, e) {
|
|
|
60415
60475
|
new w({
|
|
60416
60476
|
id: `${r.id}--${o}--${b.ReferencedEntityNotFound}`,
|
|
60417
60477
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${o}" at '${a}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
60418
|
-
severity:
|
|
60478
|
+
severity: D.Error,
|
|
60419
60479
|
code: b.ReferencedEntityNotFound,
|
|
60420
60480
|
issue: null
|
|
60421
60481
|
})
|
|
@@ -60424,7 +60484,7 @@ function hl(r, a, e) {
|
|
|
60424
60484
|
new w({
|
|
60425
60485
|
id: `${r.id}--${a}--${L.InvalidObjectStructure}`,
|
|
60426
60486
|
message: `Entity of type "${r.type}" with id "${r.id}" has an invalid structure for the "${a}" property. It should be an array of references.`,
|
|
60427
|
-
severity:
|
|
60487
|
+
severity: D.Error,
|
|
60428
60488
|
code: L.InvalidObjectStructure,
|
|
60429
60489
|
issue: null
|
|
60430
60490
|
})
|
|
@@ -60432,7 +60492,7 @@ function hl(r, a, e) {
|
|
|
60432
60492
|
new w({
|
|
60433
60493
|
id: `${r.id}--${a}--${L.InvalidObjectStructure}`,
|
|
60434
60494
|
message: `Entity of type "${r.type}" with id "${r.id}" is missing a list of references to "${a}" entities.`,
|
|
60435
|
-
severity:
|
|
60495
|
+
severity: D.Error,
|
|
60436
60496
|
code: L.InvalidObjectStructure,
|
|
60437
60497
|
issue: null
|
|
60438
60498
|
})
|
|
@@ -60448,7 +60508,7 @@ function kp(r, a, e) {
|
|
|
60448
60508
|
new w({
|
|
60449
60509
|
id: `${r.id}--${s.id}--${b.InvalidReference}`,
|
|
60450
60510
|
code: b.InvalidReference,
|
|
60451
|
-
severity:
|
|
60511
|
+
severity: D.Error,
|
|
60452
60512
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to "${a.key}" that isn't pointing to an entity of type '${ne(
|
|
60453
60513
|
a.types,
|
|
60454
60514
|
"', '",
|
|
@@ -60460,7 +60520,7 @@ function kp(r, a, e) {
|
|
|
60460
60520
|
new w({
|
|
60461
60521
|
id: `${r.id}--${s.id}--${b.SelfReference}`,
|
|
60462
60522
|
code: b.SelfReference,
|
|
60463
|
-
severity:
|
|
60523
|
+
severity: D.Error,
|
|
60464
60524
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to itself at '${a.key}'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
60465
60525
|
issue: null
|
|
60466
60526
|
})
|
|
@@ -60583,7 +60643,7 @@ function D7(r, a) {
|
|
|
60583
60643
|
new w({
|
|
60584
60644
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60585
60645
|
code: b.InvalidReference,
|
|
60586
|
-
severity:
|
|
60646
|
+
severity: D.Warning,
|
|
60587
60647
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to an entry-point entity at 'calledBySuccess' with id "${a.id}".
|
|
60588
60648
|
Entry-point entities can only be referenced as 'calledByEntry'.
|
|
60589
60649
|
${Yo}
|
|
@@ -60607,7 +60667,7 @@ This ${a.type} is called by ${ne(
|
|
|
60607
60667
|
new w({
|
|
60608
60668
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60609
60669
|
code: b.InvalidReference,
|
|
60610
|
-
severity:
|
|
60670
|
+
severity: D.Error,
|
|
60611
60671
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a '${a.type}' entity at 'calledBySuccess' with id "${a.id}".
|
|
60612
60672
|
${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
60613
60673
|
Termination entities are ${ne(
|
|
@@ -60623,7 +60683,7 @@ Termination entities are ${ne(
|
|
|
60623
60683
|
new w({
|
|
60624
60684
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60625
60685
|
code: b.InvalidReference,
|
|
60626
|
-
severity:
|
|
60686
|
+
severity: D.Error,
|
|
60627
60687
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a caller entity at 'calledBySuccess' with id "${a.id}" that isn't a pass-through callable entity.
|
|
60628
60688
|
${on}`,
|
|
60629
60689
|
issue: null
|
|
@@ -60634,7 +60694,7 @@ ${on}`,
|
|
|
60634
60694
|
new w({
|
|
60635
60695
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60636
60696
|
code: b.InvalidReference,
|
|
60637
|
-
severity:
|
|
60697
|
+
severity: D.Error,
|
|
60638
60698
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a caller entity at 'calledBySuccess' with id "${a.id}" that isn't a caller entity.
|
|
60639
60699
|
All caller entity types are: ${ne(
|
|
60640
60700
|
Qi,
|
|
@@ -60655,7 +60715,7 @@ function O7(r, a) {
|
|
|
60655
60715
|
new w({
|
|
60656
60716
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60657
60717
|
code: b.InvalidReference,
|
|
60658
|
-
severity:
|
|
60718
|
+
severity: D.Error,
|
|
60659
60719
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to an entry-point entity at 'calledByError' with id "${a.id}".
|
|
60660
60720
|
Entry-point entities can only be referenced as 'calledByEntry'.
|
|
60661
60721
|
${Yo}`,
|
|
@@ -60676,7 +60736,7 @@ This ${a.type} is called by ${ne(
|
|
|
60676
60736
|
new w({
|
|
60677
60737
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60678
60738
|
code: b.InvalidReference,
|
|
60679
|
-
severity:
|
|
60739
|
+
severity: D.Error,
|
|
60680
60740
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a '${a.type}' entity at 'calledByError' with id "${a.id}".
|
|
60681
60741
|
${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
60682
60742
|
Termination entities are ${ne(
|
|
@@ -60692,7 +60752,7 @@ Termination entities are ${ne(
|
|
|
60692
60752
|
new w({
|
|
60693
60753
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60694
60754
|
code: b.InvalidReference,
|
|
60695
|
-
severity:
|
|
60755
|
+
severity: D.Error,
|
|
60696
60756
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a caller entity at 'calledByError' with id "${a.id}" that isn't a pass-through callable entity.
|
|
60697
60757
|
${on}`,
|
|
60698
60758
|
issue: null
|
|
@@ -60703,7 +60763,7 @@ ${on}`,
|
|
|
60703
60763
|
new w({
|
|
60704
60764
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60705
60765
|
code: b.InvalidReference,
|
|
60706
|
-
severity:
|
|
60766
|
+
severity: D.Error,
|
|
60707
60767
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a caller entity at 'calledByError' with id "${a.id}" that isn't a caller entity.
|
|
60708
60768
|
All caller entity types are: ${ne(
|
|
60709
60769
|
Qi,
|
|
@@ -60733,7 +60793,7 @@ This ${a.type} is called by ${ne(
|
|
|
60733
60793
|
new w({
|
|
60734
60794
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60735
60795
|
code: b.InvalidReference,
|
|
60736
|
-
severity:
|
|
60796
|
+
severity: D.Error,
|
|
60737
60797
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a '${a.type}' entity at 'calledByEntry' with id "${a.id}".
|
|
60738
60798
|
${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
60739
60799
|
Termination entities are ${ne(
|
|
@@ -60749,7 +60809,7 @@ Termination entities are ${ne(
|
|
|
60749
60809
|
new w({
|
|
60750
60810
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60751
60811
|
code: b.InvalidReference,
|
|
60752
|
-
severity:
|
|
60812
|
+
severity: D.Warning,
|
|
60753
60813
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a caller entity at 'calledByEntry' with id "${a.id}" that is a pass-through callable entity, not an entry-point entity.
|
|
60754
60814
|
${on}.
|
|
60755
60815
|
${Yo}.
|
|
@@ -60763,7 +60823,7 @@ We have moved the reference to 'calledBySuccess' for you.`,
|
|
|
60763
60823
|
new w({
|
|
60764
60824
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
60765
60825
|
code: b.InvalidReference,
|
|
60766
|
-
severity:
|
|
60826
|
+
severity: D.Error,
|
|
60767
60827
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a caller entity at 'calledByEntry' with id "${a.id}" that isn't a caller entity.
|
|
60768
60828
|
All caller entity types are: ${ne(
|
|
60769
60829
|
Qi,
|
|
@@ -60848,7 +60908,7 @@ function P7(r, a) {
|
|
|
60848
60908
|
new w({
|
|
60849
60909
|
id: `${t.id}--${b.DuplicateReference}`,
|
|
60850
60910
|
code: b.DuplicateReference,
|
|
60851
|
-
severity:
|
|
60911
|
+
severity: D.Warning,
|
|
60852
60912
|
message: `Entity of type "${t.type}" with id "${t.id}" has duplicate caller references. Each caller reference should be unique. Duplicate caller reference will be ignored.`,
|
|
60853
60913
|
issue: null
|
|
60854
60914
|
})
|
|
@@ -60858,7 +60918,7 @@ function P7(r, a) {
|
|
|
60858
60918
|
new w({
|
|
60859
60919
|
id: `${t.id}--${b.IncompatibleScope}`,
|
|
60860
60920
|
code: b.IncompatibleScope,
|
|
60861
|
-
severity:
|
|
60921
|
+
severity: D.Error,
|
|
60862
60922
|
message: `Entity of type "${t.type}" with id "${t.id}" has an explicitly set parent, but it isn't a '${ne(
|
|
60863
60923
|
lt,
|
|
60864
60924
|
"', '",
|
|
@@ -60870,7 +60930,7 @@ function P7(r, a) {
|
|
|
60870
60930
|
new w({
|
|
60871
60931
|
id: `${t.id}--${b.IncompatibleScope}`,
|
|
60872
60932
|
code: b.IncompatibleScope,
|
|
60873
|
-
severity:
|
|
60933
|
+
severity: D.Error,
|
|
60874
60934
|
message: `Entity of type "${t.type}" with id "${t.id}" has an explicitly set parent, but it isn't a '${n.Loop}' entity. A continue statement's parent should always be resolved to a loop entity.${yl}`,
|
|
60875
60935
|
issue: null
|
|
60876
60936
|
})
|
|
@@ -60878,7 +60938,7 @@ function P7(r, a) {
|
|
|
60878
60938
|
new w({
|
|
60879
60939
|
id: `${t.id}--${b.IncompatibleScope}`,
|
|
60880
60940
|
code: b.IncompatibleScope,
|
|
60881
|
-
severity:
|
|
60941
|
+
severity: D.Error,
|
|
60882
60942
|
message: `Entity of type "${t.type}" with id "${t.id}" has an explicitly set parent, but it isn't a '${n.Loop}' entity. A break statement's parent should always be resolved to a loop entity.${yl}`,
|
|
60883
60943
|
issue: null
|
|
60884
60944
|
})
|
|
@@ -60892,7 +60952,7 @@ function P7(r, a) {
|
|
|
60892
60952
|
new w({
|
|
60893
60953
|
id: `${t.id}--${h}--${b.ReferencedEntityNotFound}`,
|
|
60894
60954
|
code: b.ReferencedEntityNotFound,
|
|
60895
|
-
severity:
|
|
60955
|
+
severity: D.Error,
|
|
60896
60956
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a caller entity with id "${h}" that doesn't exist in the project.`,
|
|
60897
60957
|
issue: null
|
|
60898
60958
|
})
|
|
@@ -60906,40 +60966,40 @@ function P7(r, a) {
|
|
|
60906
60966
|
T,
|
|
60907
60967
|
a
|
|
60908
60968
|
) ? (ot.includes(t.type) && ((t.calledBySuccess || []).find(
|
|
60909
|
-
(
|
|
60969
|
+
(R) => R === c.id
|
|
60910
60970
|
) ? (c.successCalls || []).find(
|
|
60911
60971
|
(V) => ot.includes(V.type)
|
|
60912
60972
|
) && e.push(
|
|
60913
60973
|
new w({
|
|
60914
60974
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
60915
60975
|
code: L.UnreachableEntity,
|
|
60916
|
-
severity:
|
|
60976
|
+
severity: D.Error,
|
|
60917
60977
|
message: `Entity of type "${t.type}" with id "${t.id}" is being called by an entity of type "${c.type}" with id "${c.id}" that already calls a termination statement.
|
|
60918
60978
|
The new termination statement is redundant because both entities would be called from the same parent caller branch "successCalls", at the same time.`,
|
|
60919
60979
|
issue: null
|
|
60920
60980
|
})
|
|
60921
60981
|
) : (t.calledByError || []).find(
|
|
60922
|
-
(
|
|
60982
|
+
(R) => R === c.id
|
|
60923
60983
|
) ? (c.errorCalls || []).find(
|
|
60924
60984
|
(V) => ot.includes(V.type)
|
|
60925
60985
|
) && e.push(
|
|
60926
60986
|
new w({
|
|
60927
60987
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
60928
60988
|
code: L.UnreachableEntity,
|
|
60929
|
-
severity:
|
|
60989
|
+
severity: D.Error,
|
|
60930
60990
|
message: `Entity of type "${t.type}" with id "${t.id}" is being called by an entity of type "${c.type}" with id "${c.id}" that already calls a termination statement.
|
|
60931
60991
|
The new termination statement is redundant because both entities would be called from the same parent caller branch "errorCalls", at the same time.`,
|
|
60932
60992
|
issue: null
|
|
60933
60993
|
})
|
|
60934
60994
|
) : (t.calledByEntry || []).find(
|
|
60935
|
-
(
|
|
60995
|
+
(R) => R === c.id
|
|
60936
60996
|
) && (c.calls || []).find(
|
|
60937
60997
|
(V) => ot.includes(V.type)
|
|
60938
60998
|
) && e.push(
|
|
60939
60999
|
new w({
|
|
60940
61000
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
60941
61001
|
code: L.UnreachableEntity,
|
|
60942
|
-
severity:
|
|
61002
|
+
severity: D.Error,
|
|
60943
61003
|
message: `Entity of type "${t.type}" with id "${t.id}" is being called by an entity of type "${c.type}" with id "${c.id}" that already calls a termination statement.
|
|
60944
61004
|
The new termination statement is redundant because both entities would be called from the same parent caller branch (entry-point), at the same time.`,
|
|
60945
61005
|
issue: null
|
|
@@ -60954,7 +61014,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
60954
61014
|
new w({
|
|
60955
61015
|
id: `${t.id}--${c.id}--${b.CallerWithIncompatibleScope}`,
|
|
60956
61016
|
code: b.CallerWithIncompatibleScope,
|
|
60957
|
-
severity:
|
|
61017
|
+
severity: D.Warning,
|
|
60958
61018
|
message: `Entity of type "${t.type}" with id "${t.id}" is being called by an entity of type "${c.type}" with id "${c.id}" that is in a different scope. The caller entity should be in the same scope or a higher valid scope. Or all callers should share the global project scope with the entity they call.`,
|
|
60959
61019
|
issue: null
|
|
60960
61020
|
})
|
|
@@ -60969,40 +61029,40 @@ The new termination statement is redundant because both entities would be called
|
|
|
60969
61029
|
a
|
|
60970
61030
|
);
|
|
60971
61031
|
E ? (ot.includes(t.type) && ((t.calledBySuccess || []).find(
|
|
60972
|
-
(
|
|
61032
|
+
(R) => R === c.id
|
|
60973
61033
|
) ? (c.successCalls || []).find(
|
|
60974
61034
|
(V) => ot.includes(V.type)
|
|
60975
61035
|
) && e.push(
|
|
60976
61036
|
new w({
|
|
60977
61037
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
60978
61038
|
code: L.UnreachableEntity,
|
|
60979
|
-
severity:
|
|
61039
|
+
severity: D.Error,
|
|
60980
61040
|
message: `Entity of type "${t.type}" with id "${t.id}" is being called by an entity of type "${c.type}" with id "${c.id}" that already calls a termination statement.
|
|
60981
61041
|
The new termination statement is redundant because both entities would be called from the same parent caller branch "successCalls", at the same time.`,
|
|
60982
61042
|
issue: null
|
|
60983
61043
|
})
|
|
60984
61044
|
) : (t.calledByError || []).find(
|
|
60985
|
-
(
|
|
61045
|
+
(R) => R === c.id
|
|
60986
61046
|
) ? (c.errorCalls || []).find(
|
|
60987
61047
|
(V) => ot.includes(V.type)
|
|
60988
61048
|
) && e.push(
|
|
60989
61049
|
new w({
|
|
60990
61050
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
60991
61051
|
code: L.UnreachableEntity,
|
|
60992
|
-
severity:
|
|
61052
|
+
severity: D.Error,
|
|
60993
61053
|
message: `Entity of type "${t.type}" with id "${t.id}" is being called by an entity of type "${c.type}" with id "${c.id}" that already calls a termination statement.
|
|
60994
61054
|
The new termination statement is redundant because both entities would be called from the same parent caller branch "errorCalls", at the same time.`,
|
|
60995
61055
|
issue: null
|
|
60996
61056
|
})
|
|
60997
61057
|
) : (t.calledByEntry || []).find(
|
|
60998
|
-
(
|
|
61058
|
+
(R) => R === c.id
|
|
60999
61059
|
) && (c.calls || []).find(
|
|
61000
61060
|
(V) => ot.includes(V.type)
|
|
61001
61061
|
) && e.push(
|
|
61002
61062
|
new w({
|
|
61003
61063
|
id: `${t.id}--${c.id}--${L.UnreachableEntity}`,
|
|
61004
61064
|
code: L.UnreachableEntity,
|
|
61005
|
-
severity:
|
|
61065
|
+
severity: D.Error,
|
|
61006
61066
|
message: `Entity of type "${t.type}" with id "${t.id}" is being called by an entity of type "${c.type}" with id "${c.id}" that already calls a termination statement.
|
|
61007
61067
|
The new termination statement is redundant because both entities would be called from the same parent caller branch (entry-point), at the same time.`,
|
|
61008
61068
|
issue: null
|
|
@@ -61017,7 +61077,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
61017
61077
|
new w({
|
|
61018
61078
|
id: `${t.id}--${c.id}--${b.CallerWithIncompatibleScope}`,
|
|
61019
61079
|
code: b.CallerWithIncompatibleScope,
|
|
61020
|
-
severity:
|
|
61080
|
+
severity: D.Warning,
|
|
61021
61081
|
message: `Entity of type "${t.type}" with id "${t.id}" has multiple caller, but not all of them have compatible scopes. Caller of type "${c.type}" with id "${c.id}" is in a different scope than caller of type "${u.type}" with id "${u.id}". All callers should be in the same scope or a higher valid scope. Or all callers should share the global project scope.`,
|
|
61022
61082
|
issue: null
|
|
61023
61083
|
})
|
|
@@ -61053,7 +61113,7 @@ It is recommended to have a caller reference already at the moment of creation i
|
|
|
61053
61113
|
id: `${t.id}--${L.MissingCaller}`,
|
|
61054
61114
|
code: L.MissingCaller,
|
|
61055
61115
|
// If it is a termination statement, make it an error, otherwise a warning
|
|
61056
|
-
severity: ot.includes(t.type) ?
|
|
61116
|
+
severity: ot.includes(t.type) ? D.Error : D.Warning,
|
|
61057
61117
|
message: s,
|
|
61058
61118
|
issue: null
|
|
61059
61119
|
})
|
|
@@ -61072,7 +61132,7 @@ function Tv(r, a) {
|
|
|
61072
61132
|
new w({
|
|
61073
61133
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
61074
61134
|
code: b.InvalidReference,
|
|
61075
|
-
severity:
|
|
61135
|
+
severity: D.Error,
|
|
61076
61136
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities aren't value writting entities.
|
|
61077
61137
|
All value writting entity types are: ${ne(
|
|
61078
61138
|
vt,
|
|
@@ -61090,7 +61150,7 @@ This literal-value entity belongs to an input map entity with id "${l.id}". Inpu
|
|
|
61090
61150
|
new w({
|
|
61091
61151
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
61092
61152
|
code: b.InvalidReference,
|
|
61093
|
-
severity:
|
|
61153
|
+
severity: D.Error,
|
|
61094
61154
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
|
|
61095
61155
|
All value writting entity types are: ${ne(
|
|
61096
61156
|
vt,
|
|
@@ -61107,7 +61167,7 @@ This literal-value entity belongs to a data type entity with id "${d.id}", which
|
|
|
61107
61167
|
new w({
|
|
61108
61168
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
61109
61169
|
code: b.InvalidReference,
|
|
61110
|
-
severity:
|
|
61170
|
+
severity: D.Error,
|
|
61111
61171
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
|
|
61112
61172
|
All value writting entity types are: ${ne(
|
|
61113
61173
|
vt,
|
|
@@ -61123,7 +61183,7 @@ All value writting entity types are: ${ne(
|
|
|
61123
61183
|
new w({
|
|
61124
61184
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
61125
61185
|
code: b.InvalidReference,
|
|
61126
|
-
severity:
|
|
61186
|
+
severity: D.Error,
|
|
61127
61187
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
|
|
61128
61188
|
All value writting entity types are: ${ne(
|
|
61129
61189
|
vt,
|
|
@@ -61138,7 +61198,7 @@ This data type entity belongs to a ${l.type} entity with id "${l.id}". ${l.type}
|
|
|
61138
61198
|
new w({
|
|
61139
61199
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
61140
61200
|
code: b.InvalidReference,
|
|
61141
|
-
severity:
|
|
61201
|
+
severity: D.Error,
|
|
61142
61202
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
|
|
61143
61203
|
All value writting entity types are: ${ne(
|
|
61144
61204
|
vt,
|
|
@@ -61153,7 +61213,7 @@ All value writting entity types are: ${ne(
|
|
|
61153
61213
|
new w({
|
|
61154
61214
|
id: `${r.id}--${a.id}--${b.InvalidReference}`,
|
|
61155
61215
|
code: b.InvalidReference,
|
|
61156
|
-
severity:
|
|
61216
|
+
severity: D.Error,
|
|
61157
61217
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" that isn't a value writting entity.
|
|
61158
61218
|
All value writting entity types are: ${ne(
|
|
61159
61219
|
vt,
|
|
@@ -61193,7 +61253,7 @@ Two value holding entities need to be in the same scope or in scopes nested insi
|
|
|
61193
61253
|
new w({
|
|
61194
61254
|
id: `${r.id}--${a.id}--${b.IncompatibleScope}`,
|
|
61195
61255
|
code: b.IncompatibleScope,
|
|
61196
|
-
severity:
|
|
61256
|
+
severity: D.Error,
|
|
61197
61257
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to a value writting entity at 'readsValue' with id "${a.id}" with an incompatible scope.
|
|
61198
61258
|
${o}`,
|
|
61199
61259
|
issue: null
|
|
@@ -61229,7 +61289,7 @@ function bt(r, a, e, t = !1) {
|
|
|
61229
61289
|
new w({
|
|
61230
61290
|
id: `${l.id}--${b.InvalidReference}`,
|
|
61231
61291
|
code: b.InvalidReference,
|
|
61232
|
-
severity:
|
|
61292
|
+
severity: D.Error,
|
|
61233
61293
|
message: `Entity of type "${l.type}" with id "${l.id}" has a 'readsValue' property that is only valid for entities of type: ${ne(
|
|
61234
61294
|
$r,
|
|
61235
61295
|
", ",
|
|
@@ -61242,7 +61302,7 @@ ${Ul}`,
|
|
|
61242
61302
|
new w({
|
|
61243
61303
|
id: `${l.id}--${b.InvalidReference}`,
|
|
61244
61304
|
code: b.InvalidReference,
|
|
61245
|
-
severity:
|
|
61305
|
+
severity: D.Error,
|
|
61246
61306
|
message: `Entity of type "${l.type}" with id "${l.id}" has a 'readsValue' property that is only valid for entities of type: ${ne(
|
|
61247
61307
|
$r,
|
|
61248
61308
|
", ",
|
|
@@ -61255,7 +61315,7 @@ ${vv}`,
|
|
|
61255
61315
|
new w({
|
|
61256
61316
|
id: `${l.id}--${b.InvalidReference}`,
|
|
61257
61317
|
code: b.InvalidReference,
|
|
61258
|
-
severity:
|
|
61318
|
+
severity: D.Error,
|
|
61259
61319
|
message: `Entity of type "${l.type}" with id "${l.id}" has a 'readsValue' property that is only valid for entities of type: ${ne(
|
|
61260
61320
|
$r,
|
|
61261
61321
|
", ",
|
|
@@ -61269,7 +61329,7 @@ ${mv}`,
|
|
|
61269
61329
|
new w({
|
|
61270
61330
|
id: `${l.id}--${b.InvalidReference}`,
|
|
61271
61331
|
code: b.InvalidReference,
|
|
61272
|
-
severity:
|
|
61332
|
+
severity: D.Warning,
|
|
61273
61333
|
message: `Entity of type "${l.type}" with id "${l.id}" has a 'writesValues' property. This property is managed by the downstream entity, the value reader, and should not be present in the payload of the generation action.
|
|
61274
61334
|
${qp}`,
|
|
61275
61335
|
issue: null
|
|
@@ -61278,7 +61338,7 @@ ${qp}`,
|
|
|
61278
61338
|
new w({
|
|
61279
61339
|
id: `${l.id}--${b.InvalidReference}`,
|
|
61280
61340
|
code: b.InvalidReference,
|
|
61281
|
-
severity:
|
|
61341
|
+
severity: D.Warning,
|
|
61282
61342
|
message: `Entity of type "${l.type}" with id "${l.id}" has a 'writesValues' property. This property is managed by the downstream entity, the value reader, and should not be present in the payload of the generation action.
|
|
61283
61343
|
${Ul}
|
|
61284
61344
|
${qp}`,
|
|
@@ -61296,7 +61356,7 @@ ${qp}`,
|
|
|
61296
61356
|
new w({
|
|
61297
61357
|
id: `${l.id}--${d}--${L.InvalidObjectStructure}`,
|
|
61298
61358
|
code: L.InvalidObjectStructure,
|
|
61299
|
-
severity:
|
|
61359
|
+
severity: D.Error,
|
|
61300
61360
|
message: `Entity of type "${l.type}" with id "${l.id}" is missing a reference to a "${d}" entity. The '${d}' property of a "${l.type}" entity can be ${ne(h, ", ", " or ")}`,
|
|
61301
61361
|
issue: null
|
|
61302
61362
|
})
|
|
@@ -61306,19 +61366,19 @@ ${qp}`,
|
|
|
61306
61366
|
if (u.list)
|
|
61307
61367
|
if (Array.isArray(T))
|
|
61308
61368
|
for (const E of T) {
|
|
61309
|
-
const
|
|
61369
|
+
const R = kp(
|
|
61310
61370
|
l,
|
|
61311
61371
|
{ key: d, types: h, optional: c },
|
|
61312
61372
|
e
|
|
61313
61373
|
);
|
|
61314
|
-
i.push(...
|
|
61374
|
+
i.push(...R);
|
|
61315
61375
|
}
|
|
61316
61376
|
else {
|
|
61317
61377
|
i.push(
|
|
61318
61378
|
new w({
|
|
61319
61379
|
id: `${l.id}--${d}--${b.ContainsSingleButShouldBeReferenceList}`,
|
|
61320
61380
|
code: b.ContainsSingleButShouldBeReferenceList,
|
|
61321
|
-
severity:
|
|
61381
|
+
severity: D.Error,
|
|
61322
61382
|
message: `Entity of type "${l.type}" with id "${l.id}", should have a property "${d}" which is a list, but it isn't.`,
|
|
61323
61383
|
issue: null
|
|
61324
61384
|
})
|
|
@@ -61330,7 +61390,7 @@ ${qp}`,
|
|
|
61330
61390
|
new w({
|
|
61331
61391
|
id: `${l.id}--${d}--${b.ContainsListButShouldReferenceSingle}`,
|
|
61332
61392
|
code: b.ContainsListButShouldReferenceSingle,
|
|
61333
|
-
severity:
|
|
61393
|
+
severity: D.Error,
|
|
61334
61394
|
message: `Entity of type "${l.type}" with id "${l.id}", should have a property "${d}" which holds a single reference, but it is a list.`,
|
|
61335
61395
|
issue: null
|
|
61336
61396
|
})
|
|
@@ -61360,7 +61420,7 @@ function QW(r, a, e = "calledBy") {
|
|
|
61360
61420
|
new w({
|
|
61361
61421
|
id: `${r}--${b.ReferencedEntityNotFound}`,
|
|
61362
61422
|
code: b.ReferencedEntityNotFound,
|
|
61363
|
-
severity:
|
|
61423
|
+
severity: D.Error,
|
|
61364
61424
|
message: `Entity with id "${r}" referenced in '${e}' property not found in the project. Perhaps it should be created first? Perhaps it is the wrong ID?`,
|
|
61365
61425
|
issue: null
|
|
61366
61426
|
})
|
|
@@ -61381,7 +61441,7 @@ This ${i.type} is called by ${ne(
|
|
|
61381
61441
|
new w({
|
|
61382
61442
|
id: `last-action--${i.id}--${b.InvalidReference}`,
|
|
61383
61443
|
code: b.InvalidReference,
|
|
61384
|
-
severity:
|
|
61444
|
+
severity: D.Error,
|
|
61385
61445
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
|
|
61386
61446
|
${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
61387
61447
|
Termination entities are ${ne(
|
|
@@ -61397,7 +61457,7 @@ Termination entities are ${ne(
|
|
|
61397
61457
|
new w({
|
|
61398
61458
|
id: `last-action--${i.id}--${b.InvalidReference}`,
|
|
61399
61459
|
code: b.InvalidReference,
|
|
61400
|
-
severity:
|
|
61460
|
+
severity: D.Error,
|
|
61401
61461
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}' which is not a valid caller entity type.
|
|
61402
61462
|
All caller entity types are: ${ne(
|
|
61403
61463
|
Qi,
|
|
@@ -61419,7 +61479,7 @@ function ez(r, a, e = "calledByError") {
|
|
|
61419
61479
|
new w({
|
|
61420
61480
|
id: `${r}--${b.ReferencedEntityNotFound}`,
|
|
61421
61481
|
code: b.ReferencedEntityNotFound,
|
|
61422
|
-
severity:
|
|
61482
|
+
severity: D.Error,
|
|
61423
61483
|
message: `Entity with id "${r}" referenced in '${e}' property not found in the project. Perhaps it should be created first? Perhaps it is the wrong ID?`,
|
|
61424
61484
|
issue: null
|
|
61425
61485
|
})
|
|
@@ -61440,7 +61500,7 @@ This ${i.type} is called by ${ne(
|
|
|
61440
61500
|
new w({
|
|
61441
61501
|
id: `last-action--${i.id}--${b.InvalidReference}`,
|
|
61442
61502
|
code: b.InvalidReference,
|
|
61443
|
-
severity:
|
|
61503
|
+
severity: D.Error,
|
|
61444
61504
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
|
|
61445
61505
|
${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
61446
61506
|
Termination entities are ${ne(
|
|
@@ -61456,7 +61516,7 @@ Termination entities are ${ne(
|
|
|
61456
61516
|
new w({
|
|
61457
61517
|
id: `last-action--${i.id}--${b.InvalidReference}`,
|
|
61458
61518
|
code: b.InvalidReference,
|
|
61459
|
-
severity:
|
|
61519
|
+
severity: D.Error,
|
|
61460
61520
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}' which is an entry-point entity and doesn't thrown errors.
|
|
61461
61521
|
${Yo}`,
|
|
61462
61522
|
issue: null
|
|
@@ -61465,7 +61525,7 @@ ${Yo}`,
|
|
|
61465
61525
|
new w({
|
|
61466
61526
|
id: `last-action--${i.id}--${b.InvalidReference}`,
|
|
61467
61527
|
code: b.InvalidReference,
|
|
61468
|
-
severity:
|
|
61528
|
+
severity: D.Error,
|
|
61469
61529
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}' which is not a valid caller entity type.
|
|
61470
61530
|
For any error branch caller, for the 'calledByError' property of an entity, you specifically need to reference a pass-through callable entity.
|
|
61471
61531
|
${on}`,
|
|
@@ -61483,7 +61543,7 @@ function tz(r, a) {
|
|
|
61483
61543
|
new w({
|
|
61484
61544
|
id: `last-action--${b.ReferencedEntityNotFound}`,
|
|
61485
61545
|
code: b.ReferencedEntityNotFound,
|
|
61486
|
-
severity:
|
|
61546
|
+
severity: D.Error,
|
|
61487
61547
|
message: `The 'readsValue' property references an entity with id '${r}' that was not found in the project. Perhaps it should be created? Perhaps the ID is incorrect?`,
|
|
61488
61548
|
issue: null
|
|
61489
61549
|
})
|
|
@@ -61496,7 +61556,7 @@ function tz(r, a) {
|
|
|
61496
61556
|
new w({
|
|
61497
61557
|
id: `last-action--${t.id}--${b.InvalidReference}`,
|
|
61498
61558
|
code: b.InvalidReference,
|
|
61499
|
-
severity:
|
|
61559
|
+
severity: D.Error,
|
|
61500
61560
|
message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities aren't value writting entities.
|
|
61501
61561
|
All value writting entity types are: ${ne(
|
|
61502
61562
|
vt,
|
|
@@ -61514,7 +61574,7 @@ This literal-value entity belongs to an input map entity with id "${s.id}". Inpu
|
|
|
61514
61574
|
new w({
|
|
61515
61575
|
id: `last-action--${t.id}--${b.InvalidReference}`,
|
|
61516
61576
|
code: b.InvalidReference,
|
|
61517
|
-
severity:
|
|
61577
|
+
severity: D.Error,
|
|
61518
61578
|
message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
|
|
61519
61579
|
All value writting entity types are: ${ne(
|
|
61520
61580
|
vt,
|
|
@@ -61531,7 +61591,7 @@ This literal-value entity belongs to a data type entity with id "${o.id}", which
|
|
|
61531
61591
|
new w({
|
|
61532
61592
|
id: `last-action--${t.id}--${b.InvalidReference}`,
|
|
61533
61593
|
code: b.InvalidReference,
|
|
61534
|
-
severity:
|
|
61594
|
+
severity: D.Error,
|
|
61535
61595
|
message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
|
|
61536
61596
|
All value writting entity types are: ${ne(
|
|
61537
61597
|
vt,
|
|
@@ -61547,7 +61607,7 @@ All value writting entity types are: ${ne(
|
|
|
61547
61607
|
new w({
|
|
61548
61608
|
id: `last-action--${t.id}--${b.InvalidReference}`,
|
|
61549
61609
|
code: b.InvalidReference,
|
|
61550
|
-
severity:
|
|
61610
|
+
severity: D.Error,
|
|
61551
61611
|
message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
|
|
61552
61612
|
All value writting entity types are: ${ne(
|
|
61553
61613
|
vt,
|
|
@@ -61562,7 +61622,7 @@ This data type entity belongs to a ${s.type} entity with id "${s.id}". ${s.type}
|
|
|
61562
61622
|
new w({
|
|
61563
61623
|
id: `last-action--${t.id}--${b.InvalidReference}`,
|
|
61564
61624
|
code: b.InvalidReference,
|
|
61565
|
-
severity:
|
|
61625
|
+
severity: D.Error,
|
|
61566
61626
|
message: `The 'readsValue' property references an entity with id "${t.id}" that is a literal value entity. Literal value entities can't be referenced as value writting entities.
|
|
61567
61627
|
All value writting entity types are: ${ne(
|
|
61568
61628
|
vt,
|
|
@@ -61577,7 +61637,7 @@ All value writting entity types are: ${ne(
|
|
|
61577
61637
|
new w({
|
|
61578
61638
|
id: `last-action--${t.id}--${b.InvalidReference}`,
|
|
61579
61639
|
code: b.InvalidReference,
|
|
61580
|
-
severity:
|
|
61640
|
+
severity: D.Error,
|
|
61581
61641
|
message: `The 'readsValue' property references an entity with id "${t.id}" that isn't a value writting entity.
|
|
61582
61642
|
All value writting entity types are: ${ne(
|
|
61583
61643
|
vt,
|
|
@@ -61626,7 +61686,7 @@ function C7(r, a) {
|
|
|
61626
61686
|
new w({
|
|
61627
61687
|
id: `last-action--${b.ReferencedEntityNotFound}`,
|
|
61628
61688
|
code: b.ReferencedEntityNotFound,
|
|
61629
|
-
severity:
|
|
61689
|
+
severity: D.Error,
|
|
61630
61690
|
message: `The entity with id '${r}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
61631
61691
|
issue: null
|
|
61632
61692
|
})
|
|
@@ -61636,7 +61696,7 @@ function C7(r, a) {
|
|
|
61636
61696
|
new w({
|
|
61637
61697
|
id: `last-action--${b.InvalidFunctionDeclarationForFunctionCall}`,
|
|
61638
61698
|
code: b.InvalidFunctionDeclarationForFunctionCall,
|
|
61639
|
-
severity:
|
|
61699
|
+
severity: D.Error,
|
|
61640
61700
|
message: `The 'functionDeclarationId' reference is pointing to entity with id '${r}' which is of type '${t.type}' entity. If you meant to reference an 'action-descriptor', you can use the 'implement_operation' generation action instead.
|
|
61641
61701
|
Otherwise, if you were trying to implement a 'function-call' from a globally declarated 'function-declaration':
|
|
61642
61702
|
${i}`,
|
|
@@ -61648,7 +61708,7 @@ ${i}`,
|
|
|
61648
61708
|
new w({
|
|
61649
61709
|
id: `last-action--${b.InvalidFunctionDeclarationForFunctionCall}`,
|
|
61650
61710
|
code: b.InvalidFunctionDeclarationForFunctionCall,
|
|
61651
|
-
severity:
|
|
61711
|
+
severity: D.Error,
|
|
61652
61712
|
message: `The 'functionDeclarationId' reference is pointing to entity with id '${r}' which is of type '${t.type}' entity. Only 'function-declaration' entities can be implemented as function calls.
|
|
61653
61713
|
${i}`,
|
|
61654
61714
|
issue: null
|
|
@@ -61671,7 +61731,7 @@ ${ln}`), e.push(
|
|
|
61671
61731
|
new w({
|
|
61672
61732
|
id: `last-action--${b.InvalidFunctionDeclarationForFunctionCall}`,
|
|
61673
61733
|
code: b.InvalidFunctionDeclarationForFunctionCall,
|
|
61674
|
-
severity:
|
|
61734
|
+
severity: D.Error,
|
|
61675
61735
|
message: `The function declaration entity with id '${r}' is a method of the 'definition-entity' with id '${t.parent.id}'. Only globally declared, standalone functions can be implemented as function calls.
|
|
61676
61736
|
If you want to call a method of a definition entity, use a '${n.InternalCall}' entity on any variable which is an instance of that definition entity.
|
|
61677
61737
|
${i}${o}`,
|
|
@@ -61683,7 +61743,7 @@ ${i}${o}`,
|
|
|
61683
61743
|
new w({
|
|
61684
61744
|
id: `last-action--${b.InvalidFunctionDeclarationForFunctionCall}`,
|
|
61685
61745
|
code: b.InvalidFunctionDeclarationForFunctionCall,
|
|
61686
|
-
severity:
|
|
61746
|
+
severity: D.Error,
|
|
61687
61747
|
message: `The function declaration entity with id '${r}' is the body of the 'loop' with id '${t.parent.id}'. Only globally declared, standalone functions can be implemented as function calls.
|
|
61688
61748
|
If you want to execute the logic of a loop's body you can call the loop entity itself anf the body will be executed once for each iteration.
|
|
61689
61749
|
${i}`,
|
|
@@ -61693,7 +61753,7 @@ ${i}`,
|
|
|
61693
61753
|
new w({
|
|
61694
61754
|
id: `last-action--${b.InvalidFunctionDeclarationForFunctionCall}`,
|
|
61695
61755
|
code: b.InvalidFunctionDeclarationForFunctionCall,
|
|
61696
|
-
severity:
|
|
61756
|
+
severity: D.Error,
|
|
61697
61757
|
message: `The function declaration entity with id '${r}' has a 'parent' entity which isn't the root project. Only globally declared, standalone functions can be implemented as function calls.${i}`,
|
|
61698
61758
|
issue: null
|
|
61699
61759
|
})
|
|
@@ -61717,7 +61777,7 @@ All built-in 'action-descriptor' entities that define 'operation' entity, are (I
|
|
|
61717
61777
|
new w({
|
|
61718
61778
|
id: `last-action--${b.InvalidActionDescriptorForOperation}`,
|
|
61719
61779
|
code: b.InvalidActionDescriptorForOperation,
|
|
61720
|
-
severity:
|
|
61780
|
+
severity: D.Error,
|
|
61721
61781
|
message: `The entity with id '${r}' is of type '${t.type}' entity. Only 'action-descriptor' entities can be implemented as operations instances.${i}`,
|
|
61722
61782
|
issue: null
|
|
61723
61783
|
})
|
|
@@ -61727,7 +61787,7 @@ All built-in 'action-descriptor' entities that define 'operation' entity, are (I
|
|
|
61727
61787
|
new w({
|
|
61728
61788
|
id: `last-action--${b.InvalidActionDescriptorForOperation}`,
|
|
61729
61789
|
code: b.InvalidActionDescriptorForOperation,
|
|
61730
|
-
severity:
|
|
61790
|
+
severity: D.Error,
|
|
61731
61791
|
message: `The entity with id '${r}' is of type '${t.type}' entity but it isn't one of the allowed operation descriptors.${i}`,
|
|
61732
61792
|
issue: null
|
|
61733
61793
|
})
|
|
@@ -61735,7 +61795,7 @@ All built-in 'action-descriptor' entities that define 'operation' entity, are (I
|
|
|
61735
61795
|
new w({
|
|
61736
61796
|
id: `last-action--${b.InvalidActionDescriptorForOperation}`,
|
|
61737
61797
|
code: b.InvalidActionDescriptorForOperation,
|
|
61738
|
-
severity:
|
|
61798
|
+
severity: D.Error,
|
|
61739
61799
|
message: `The entity with id '${r}' is of type '${t.type}' entity. Only 'action-descriptor' entities can be implemented as operations instances.${i}`,
|
|
61740
61800
|
issue: null
|
|
61741
61801
|
})
|
|
@@ -61743,7 +61803,7 @@ All built-in 'action-descriptor' entities that define 'operation' entity, are (I
|
|
|
61743
61803
|
new w({
|
|
61744
61804
|
id: `last-action--${b.ReferencedEntityNotFound}`,
|
|
61745
61805
|
code: b.ReferencedEntityNotFound,
|
|
61746
|
-
severity:
|
|
61806
|
+
severity: D.Error,
|
|
61747
61807
|
message: `The entity with id '${r}' that isn't yet found in the project.${i}`,
|
|
61748
61808
|
issue: null
|
|
61749
61809
|
})
|
|
@@ -61766,7 +61826,7 @@ All built-in 'action-descriptor' entities that define 'condition' entity, are (I
|
|
|
61766
61826
|
new w({
|
|
61767
61827
|
id: `last-action--${b.InvalidActionDescriptorForCondition}`,
|
|
61768
61828
|
code: b.InvalidActionDescriptorForCondition,
|
|
61769
|
-
severity:
|
|
61829
|
+
severity: D.Error,
|
|
61770
61830
|
message: `The entity with id '${r}' is of type '${t.type}' entity. Only 'action-descriptor' entities can be implemented as conditions instances.${i}`,
|
|
61771
61831
|
issue: null
|
|
61772
61832
|
})
|
|
@@ -61776,7 +61836,7 @@ All built-in 'action-descriptor' entities that define 'condition' entity, are (I
|
|
|
61776
61836
|
new w({
|
|
61777
61837
|
id: `last-action--${b.InvalidActionDescriptorForOperation}`,
|
|
61778
61838
|
code: b.InvalidActionDescriptorForOperation,
|
|
61779
|
-
severity:
|
|
61839
|
+
severity: D.Error,
|
|
61780
61840
|
message: `The entity with id '${r}' is of type '${t.type}' entity but it isn't one of the allowed condition descriptors.${i}`,
|
|
61781
61841
|
issue: null
|
|
61782
61842
|
})
|
|
@@ -61784,7 +61844,7 @@ All built-in 'action-descriptor' entities that define 'condition' entity, are (I
|
|
|
61784
61844
|
new w({
|
|
61785
61845
|
id: `last-action--${b.InvalidActionDescriptorForCondition}`,
|
|
61786
61846
|
code: b.InvalidActionDescriptorForCondition,
|
|
61787
|
-
severity:
|
|
61847
|
+
severity: D.Error,
|
|
61788
61848
|
message: `The entity with id '${r}' is of type '${t.type}' entity. Only 'action-descriptor' entities can be implemented as conditions instances.${i}`,
|
|
61789
61849
|
issue: null
|
|
61790
61850
|
})
|
|
@@ -61792,7 +61852,7 @@ All built-in 'action-descriptor' entities that define 'condition' entity, are (I
|
|
|
61792
61852
|
new w({
|
|
61793
61853
|
id: `last-action--${b.ReferencedEntityNotFound}`,
|
|
61794
61854
|
code: b.ReferencedEntityNotFound,
|
|
61795
|
-
severity:
|
|
61855
|
+
severity: D.Error,
|
|
61796
61856
|
message: `The entity with id '${r}' that isn't yet found in the project.${i}`,
|
|
61797
61857
|
issue: null
|
|
61798
61858
|
})
|
|
@@ -61812,7 +61872,7 @@ All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
|
|
|
61812
61872
|
new w({
|
|
61813
61873
|
id: `last-action--${b.InvalidActionDescriptorForLoop}`,
|
|
61814
61874
|
code: b.InvalidActionDescriptorForLoop,
|
|
61815
|
-
severity:
|
|
61875
|
+
severity: D.Error,
|
|
61816
61876
|
message: `The entity with id '${r}' is of type '${t.type}' entity. Only 'action-descriptor' entities can be implemented as loops instances.${i}`,
|
|
61817
61877
|
issue: null
|
|
61818
61878
|
})
|
|
@@ -61822,7 +61882,7 @@ All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
|
|
|
61822
61882
|
new w({
|
|
61823
61883
|
id: `last-action--${b.InvalidActionDescriptorForOperation}`,
|
|
61824
61884
|
code: b.InvalidActionDescriptorForOperation,
|
|
61825
|
-
severity:
|
|
61885
|
+
severity: D.Error,
|
|
61826
61886
|
message: `The entity with id '${r}' is of type '${t.type}' entity but it isn't one of the allowed loop descriptors.${i}`,
|
|
61827
61887
|
issue: null
|
|
61828
61888
|
})
|
|
@@ -61830,7 +61890,7 @@ All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
|
|
|
61830
61890
|
new w({
|
|
61831
61891
|
id: `last-action--${b.InvalidActionDescriptorForLoop}`,
|
|
61832
61892
|
code: b.InvalidActionDescriptorForLoop,
|
|
61833
|
-
severity:
|
|
61893
|
+
severity: D.Error,
|
|
61834
61894
|
message: `The entity with id '${r}' is of type '${t.type}' entity. Only 'action-descriptor' entities can be implemented as loops instances.${i}`,
|
|
61835
61895
|
issue: null
|
|
61836
61896
|
})
|
|
@@ -61838,7 +61898,7 @@ All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
|
|
|
61838
61898
|
new w({
|
|
61839
61899
|
id: `last-action--${b.ReferencedEntityNotFound}`,
|
|
61840
61900
|
code: b.ReferencedEntityNotFound,
|
|
61841
|
-
severity:
|
|
61901
|
+
severity: D.Error,
|
|
61842
61902
|
message: `The entity with id '${r}' that isn't yet found in the project.${i}`,
|
|
61843
61903
|
issue: null
|
|
61844
61904
|
})
|
|
@@ -61876,7 +61936,7 @@ function Ho(r, a) {
|
|
|
61876
61936
|
new w({
|
|
61877
61937
|
id: `${a.id}--${b.InvalidBuiltInEntityReference}`,
|
|
61878
61938
|
code: b.InvalidBuiltInEntityReference,
|
|
61879
|
-
severity:
|
|
61939
|
+
severity: D.Error,
|
|
61880
61940
|
message: `The entity of type '${a.type}' with id '${a.id}' cannot update 'readsValue' to a built-in entity with id '${r.readsValue}'. Only user-created entities can be referenced.`,
|
|
61881
61941
|
issue: null
|
|
61882
61942
|
})
|
|
@@ -61886,7 +61946,7 @@ function Ho(r, a) {
|
|
|
61886
61946
|
new w({
|
|
61887
61947
|
id: `${a.id}--${b.ReferencedEntityNotFound}`,
|
|
61888
61948
|
code: b.ReferencedEntityNotFound,
|
|
61889
|
-
severity:
|
|
61949
|
+
severity: D.Error,
|
|
61890
61950
|
message: `The entity of type '${a.type}' with id '${a.id}' cannot update 'readsValue' to entity with id '${r.readsValue}' because the entity was not found in the project state.`,
|
|
61891
61951
|
issue: null
|
|
61892
61952
|
})
|
|
@@ -61898,7 +61958,7 @@ function Ho(r, a) {
|
|
|
61898
61958
|
new w({
|
|
61899
61959
|
id: `${a.id}--${b.InvalidBuiltInEntityReference}`,
|
|
61900
61960
|
code: b.InvalidBuiltInEntityReference,
|
|
61901
|
-
severity:
|
|
61961
|
+
severity: D.Error,
|
|
61902
61962
|
message: `The entity of type '${a.type}' with id '${a.id}' cannot update 'readsValue' to entity with id '${r.readsValue}' because the entity belongs to a built-in '${s.type}' entity with id '${s.id}' (${F(
|
|
61903
61963
|
s,
|
|
61904
61964
|
a.project
|
|
@@ -61923,7 +61983,7 @@ function Ho(r, a) {
|
|
|
61923
61983
|
new w({
|
|
61924
61984
|
id: `${a.id}--${L.ReaderWriterIncompatibleDataType}`,
|
|
61925
61985
|
code: L.ReaderWriterIncompatibleDataType,
|
|
61926
|
-
severity:
|
|
61986
|
+
severity: D.Error,
|
|
61927
61987
|
message: M7(
|
|
61928
61988
|
a,
|
|
61929
61989
|
t,
|
|
@@ -61944,7 +62004,7 @@ function Ur(r) {
|
|
|
61944
62004
|
new Ye({
|
|
61945
62005
|
id: `${r.id}--${G.DisconnectedCallableEntity}`,
|
|
61946
62006
|
code: G.DisconnectedCallableEntity,
|
|
61947
|
-
severity:
|
|
62007
|
+
severity: D.Warning,
|
|
61948
62008
|
message: `This '${r.type}' entity "${F(
|
|
61949
62009
|
r,
|
|
61950
62010
|
r.project
|
|
@@ -61979,7 +62039,7 @@ This '${r.type}' is blocked `;
|
|
|
61979
62039
|
new Ye({
|
|
61980
62040
|
id: `${r.id}--${L.UnreachableEntity}`,
|
|
61981
62041
|
code: L.UnreachableEntity,
|
|
61982
|
-
severity:
|
|
62042
|
+
severity: D.Warning,
|
|
61983
62043
|
message: `${t}${i}`,
|
|
61984
62044
|
issue: null,
|
|
61985
62045
|
entity: r
|
|
@@ -61998,7 +62058,7 @@ function Ev(r) {
|
|
|
61998
62058
|
id: `${r.id}--${G.VariableReadsValueAndInternalCall}`,
|
|
61999
62059
|
message: `Variable "${F(r, r.project)}" with id "${r.id}" reads a value. A variable with internal calls can't read a value.`,
|
|
62000
62060
|
issue: null,
|
|
62001
|
-
severity:
|
|
62061
|
+
severity: D.Error,
|
|
62002
62062
|
code: G.VariableReadsValueAndInternalCall,
|
|
62003
62063
|
entity: r
|
|
62004
62064
|
});
|
|
@@ -62009,7 +62069,7 @@ function Ev(r) {
|
|
|
62009
62069
|
id: `${r.id}--${G.VariableWritesValuesAndInternalCall}`,
|
|
62010
62070
|
message: `Variable "${F(r, r.project)}" with id "${r.id}" writes values. A variable with internal calls can't write a value.`,
|
|
62011
62071
|
issue: null,
|
|
62012
|
-
severity:
|
|
62072
|
+
severity: D.Error,
|
|
62013
62073
|
code: G.VariableWritesValuesAndInternalCall,
|
|
62014
62074
|
entity: r
|
|
62015
62075
|
});
|
|
@@ -62020,7 +62080,7 @@ function Ev(r) {
|
|
|
62020
62080
|
id: `${r.id}--${G.VariableHasInputsAndInternalCall}`,
|
|
62021
62081
|
message: `Variable "${F(r, r.project)}" with id "${r.id}" has inputs. A variable with internal calls can't have inputs.`,
|
|
62022
62082
|
issue: null,
|
|
62023
|
-
severity:
|
|
62083
|
+
severity: D.Error,
|
|
62024
62084
|
code: G.VariableHasInputsAndInternalCall,
|
|
62025
62085
|
entity: r
|
|
62026
62086
|
});
|
|
@@ -62031,7 +62091,7 @@ function Ev(r) {
|
|
|
62031
62091
|
id: `${r.id}--${G.VariableHasOutputsAndInternalCall}`,
|
|
62032
62092
|
message: `Variable "${F(r, r.project)}" with id "${r.id}" has outputs. A variable with internal calls can't have outputs.`,
|
|
62033
62093
|
issue: null,
|
|
62034
|
-
severity:
|
|
62094
|
+
severity: D.Error,
|
|
62035
62095
|
code: G.VariableHasOutputsAndInternalCall,
|
|
62036
62096
|
entity: r
|
|
62037
62097
|
});
|
|
@@ -62042,7 +62102,7 @@ function Ev(r) {
|
|
|
62042
62102
|
id: `${r.id}--${G.VariableIsCalledAndHasInternalCall}`,
|
|
62043
62103
|
message: `Variable "${F(r, r.project)}" with id "${r.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
|
|
62044
62104
|
issue: null,
|
|
62045
|
-
severity:
|
|
62105
|
+
severity: D.Error,
|
|
62046
62106
|
code: G.VariableIsCalledAndHasInternalCall,
|
|
62047
62107
|
entity: r
|
|
62048
62108
|
});
|
|
@@ -62053,7 +62113,7 @@ function Ev(r) {
|
|
|
62053
62113
|
id: `${r.id}--${G.VariableCallsOthersAndHasInternalCall}`,
|
|
62054
62114
|
message: `Variable "${F(r, r.project)}" with id "${r.id}" calls other entities. A variable with internal calls can't call other entities.`,
|
|
62055
62115
|
issue: null,
|
|
62056
|
-
severity:
|
|
62116
|
+
severity: D.Error,
|
|
62057
62117
|
code: G.VariableCallsOthersAndHasInternalCall,
|
|
62058
62118
|
entity: r
|
|
62059
62119
|
});
|
|
@@ -62237,7 +62297,7 @@ The project currently has no global 'function-declaration' entities that can be
|
|
|
62237
62297
|
new w({
|
|
62238
62298
|
id: `${i.id}--${b.InvalidReference}`,
|
|
62239
62299
|
code: b.InvalidReference,
|
|
62240
|
-
severity:
|
|
62300
|
+
severity: D.Error,
|
|
62241
62301
|
message: `Entity of type "${n.FunctionCall}" with id "${i.id}", has an invalid reference at the 'declaration' property. The 'declaration' property must be a valid reference to an 'function-declaration' entity.
|
|
62242
62302
|
References can either be an ID string or an object with exacly four properties: 'id', 'entityId', 'entityType', 'type'.${d}`,
|
|
62243
62303
|
issue: null
|
|
@@ -62255,7 +62315,7 @@ References can either be an ID string or an object with exacly four properties:
|
|
|
62255
62315
|
new w({
|
|
62256
62316
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
62257
62317
|
code: b.InvalidParentUpdate,
|
|
62258
|
-
severity:
|
|
62318
|
+
severity: D.Error,
|
|
62259
62319
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on a callable entity, is its scope. It scope is auto-calculated implicitly by the its caller.
|
|
62260
62320
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
62261
62321
|
You shouldn't have to manually update a 'parent' property. The equivalent result is to change its callers, the value writters of its inputs, or the value readers of its outputs.`,
|
|
@@ -63322,7 +63382,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
63322
63382
|
"clone-entity"
|
|
63323
63383
|
)
|
|
63324
63384
|
), t = null, i = null, s = !0) {
|
|
63325
|
-
var
|
|
63385
|
+
var R, O;
|
|
63326
63386
|
let l = yt(t, this);
|
|
63327
63387
|
const o = this.toJSON(), d = i || y.UUID.uuid();
|
|
63328
63388
|
o.inputs = [];
|
|
@@ -63333,7 +63393,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
63333
63393
|
l
|
|
63334
63394
|
);
|
|
63335
63395
|
t ? c.setParent(t, null) : c.setParent(this.parent, null), s && c.subscribe(), c.initChildren(e), e == null || e.add(c, I.Added);
|
|
63336
|
-
const T = (
|
|
63396
|
+
const T = (R = this.inputs) == null ? void 0 : R.map(
|
|
63337
63397
|
(V, M) => V.clone(
|
|
63338
63398
|
e,
|
|
63339
63399
|
c,
|
|
@@ -63443,8 +63503,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
63443
63503
|
)
|
|
63444
63504
|
);
|
|
63445
63505
|
this.inputs.sort((c, T) => c.index - T.index), o.forEach((c) => {
|
|
63446
|
-
this.inputs.forEach((
|
|
63447
|
-
|
|
63506
|
+
this.inputs.forEach((R) => {
|
|
63507
|
+
R.index >= c.index && R.metaSync({ index: R.index + 1 }, e);
|
|
63448
63508
|
});
|
|
63449
63509
|
const T = {
|
|
63450
63510
|
id: y.UUID.uuid(),
|
|
@@ -63514,7 +63574,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
63514
63574
|
this.outputs.forEach((M) => {
|
|
63515
63575
|
M.index >= T.index && M.index++;
|
|
63516
63576
|
});
|
|
63517
|
-
const
|
|
63577
|
+
const R = o.includes(T.index) ? this.outputs.length - 1 + E : T.index, O = {
|
|
63518
63578
|
id: y.UUID.uuid(),
|
|
63519
63579
|
version: y.UUID.uuid(),
|
|
63520
63580
|
createdAt: (e == null ? void 0 : e.timestamp) || v().toISOString(),
|
|
@@ -63525,7 +63585,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
63525
63585
|
declaration: T.toJSON(),
|
|
63526
63586
|
defaultValue: null,
|
|
63527
63587
|
writesValues: [],
|
|
63528
|
-
index:
|
|
63588
|
+
index: R,
|
|
63529
63589
|
parent: this.toReference()
|
|
63530
63590
|
}, V = P(
|
|
63531
63591
|
O,
|
|
@@ -63830,11 +63890,11 @@ function U7(r, a) {
|
|
|
63830
63890
|
case g["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.id: {
|
|
63831
63891
|
let h = r.project.entities.filter(
|
|
63832
63892
|
(E) => E.implements.find(
|
|
63833
|
-
(
|
|
63893
|
+
(R) => R.id === g["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
|
|
63834
63894
|
)
|
|
63835
|
-
).find((E) => !!E.properties.find((
|
|
63895
|
+
).find((E) => !!E.properties.find((R) => {
|
|
63836
63896
|
var O;
|
|
63837
|
-
return
|
|
63897
|
+
return R.implements && R.implements.id === g["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id && ((O = R.getDefaultValue()) == null ? void 0 : O.value) === !0;
|
|
63838
63898
|
}));
|
|
63839
63899
|
if (!h) {
|
|
63840
63900
|
h = r.project.getBuiltIn(
|
|
@@ -63843,13 +63903,13 @@ function U7(r, a) {
|
|
|
63843
63903
|
"Relational database",
|
|
63844
63904
|
a
|
|
63845
63905
|
);
|
|
63846
|
-
const
|
|
63906
|
+
const R = h.properties.find(
|
|
63847
63907
|
(O) => {
|
|
63848
63908
|
var V;
|
|
63849
63909
|
return ((V = O.implements) == null ? void 0 : V.id) === g["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id;
|
|
63850
63910
|
}
|
|
63851
63911
|
);
|
|
63852
|
-
(d =
|
|
63912
|
+
(d = R == null ? void 0 : R.defaultValue) == null || d.metaSync(
|
|
63853
63913
|
{
|
|
63854
63914
|
value: !0
|
|
63855
63915
|
},
|
|
@@ -63872,11 +63932,11 @@ function U7(r, a) {
|
|
|
63872
63932
|
valueAsTypeSingle: h,
|
|
63873
63933
|
valueAsTypeList: null,
|
|
63874
63934
|
parent: c == null ? void 0 : c.toReference()
|
|
63875
|
-
},
|
|
63935
|
+
}, R = P(
|
|
63876
63936
|
E,
|
|
63877
63937
|
r.project
|
|
63878
63938
|
);
|
|
63879
|
-
|
|
63939
|
+
R.hydrateAncestors(), R.setParent(c, a), R.addSelfToProject(a), R.initChildren(a), a == null || a.add(R, I.Added), t.push(R);
|
|
63880
63940
|
return;
|
|
63881
63941
|
} else
|
|
63882
63942
|
T && T.setValueAsTypeSingle(h, a);
|
|
@@ -63964,7 +64024,7 @@ function j7(r, a, e, t = wt.OrDataTypeGroup) {
|
|
|
63964
64024
|
};
|
|
63965
64025
|
}
|
|
63966
64026
|
function bv(r, a, e, t, i) {
|
|
63967
|
-
var u, h, c, T, E,
|
|
64027
|
+
var u, h, c, T, E, R, O, V;
|
|
63968
64028
|
const s = [], l = [], o = [], d = [];
|
|
63969
64029
|
switch (typeof r) {
|
|
63970
64030
|
case "string":
|
|
@@ -64213,7 +64273,7 @@ function bv(r, a, e, t, i) {
|
|
|
64213
64273
|
t,
|
|
64214
64274
|
i
|
|
64215
64275
|
);
|
|
64216
|
-
a.setEntity((E = C.changeSet) == null ? void 0 : E.self), s.push(...(
|
|
64276
|
+
a.setEntity((E = C.changeSet) == null ? void 0 : E.self), s.push(...(R = C.changeSet) == null ? void 0 : R.updated), l.push(...(O = C.changeSet) == null ? void 0 : O.added), o.push(...(V = C.changeSet) == null ? void 0 : V.removed);
|
|
64217
64277
|
break;
|
|
64218
64278
|
}
|
|
64219
64279
|
}
|
|
@@ -64258,11 +64318,11 @@ function El(r, a, e, t, i) {
|
|
|
64258
64318
|
x: 0,
|
|
64259
64319
|
y: 0,
|
|
64260
64320
|
parent: a.toReference()
|
|
64261
|
-
},
|
|
64321
|
+
}, R = P(
|
|
64262
64322
|
E,
|
|
64263
64323
|
a
|
|
64264
64324
|
);
|
|
64265
|
-
return
|
|
64325
|
+
return R.setParent(a, t), R.initChildren(t), t == null || t.add(R, I.Added), R.addSelfToProject(t), l.push(R), u.forEach((O, V) => {
|
|
64266
64326
|
const x = {
|
|
64267
64327
|
id: y.UUID.uuid(),
|
|
64268
64328
|
version: y.UUID.uuid(),
|
|
@@ -64283,12 +64343,12 @@ function El(r, a, e, t, i) {
|
|
|
64283
64343
|
hidden: !1,
|
|
64284
64344
|
private: !1,
|
|
64285
64345
|
required: !0,
|
|
64286
|
-
parent:
|
|
64346
|
+
parent: R.toReference()
|
|
64287
64347
|
}, C = P(
|
|
64288
64348
|
x,
|
|
64289
64349
|
a
|
|
64290
64350
|
);
|
|
64291
|
-
C.setParent(
|
|
64351
|
+
C.setParent(R, t), C.initChildren(t), t == null || t.add(C, I.Added), C.addSelfToProject(t), l.push(C);
|
|
64292
64352
|
const $ = r[O], q = {
|
|
64293
64353
|
id: y.UUID.uuid(),
|
|
64294
64354
|
version: y.UUID.uuid(),
|
|
@@ -64325,7 +64385,7 @@ function El(r, a, e, t, i) {
|
|
|
64325
64385
|
id: y.UUID.uuid()
|
|
64326
64386
|
},
|
|
64327
64387
|
t,
|
|
64328
|
-
i ||
|
|
64388
|
+
i || R
|
|
64329
64389
|
);
|
|
64330
64390
|
s.push(...ue.updated), l.push(...ue.added), o.push(...ue.removed);
|
|
64331
64391
|
}), {
|
|
@@ -64337,7 +64397,7 @@ function El(r, a, e, t, i) {
|
|
|
64337
64397
|
affected: p(
|
|
64338
64398
|
d
|
|
64339
64399
|
),
|
|
64340
|
-
self:
|
|
64400
|
+
self: R
|
|
64341
64401
|
}
|
|
64342
64402
|
};
|
|
64343
64403
|
}
|
|
@@ -64356,7 +64416,7 @@ function fr(r, a, e, t) {
|
|
|
64356
64416
|
id: s.id + "--" + l.id + "--" + t,
|
|
64357
64417
|
message: `Entity of type ${s.type} named "${s.name}" with id "${s.id}" overrides a base ${l.type} ${l.name} with id "${l.id}" that has the same name`,
|
|
64358
64418
|
issue: null,
|
|
64359
|
-
severity:
|
|
64419
|
+
severity: D.Error,
|
|
64360
64420
|
code: t,
|
|
64361
64421
|
entity: s,
|
|
64362
64422
|
firstRelationship: l
|
|
@@ -64368,7 +64428,7 @@ function fr(r, a, e, t) {
|
|
|
64368
64428
|
id: s.id + "--" + o.id + "--" + e,
|
|
64369
64429
|
message: `Entity of type ${s.type} named "${s.name}" with id "${s.id}" overrides a base ${o.type} ${o.name} with id "${o.id}" that implements the same base descriptor`,
|
|
64370
64430
|
issue: null,
|
|
64371
|
-
severity:
|
|
64431
|
+
severity: D.Error,
|
|
64372
64432
|
code: e,
|
|
64373
64433
|
entity: s,
|
|
64374
64434
|
firstRelationship: o
|
|
@@ -64386,7 +64446,7 @@ function fr(r, a, e, t) {
|
|
|
64386
64446
|
id: l.id + "--" + s.id + "--" + t,
|
|
64387
64447
|
message: `Entity of type ${l.type} named "${l.name}" with id "${l.id}" overrides a base entity ${s.name} with id "${s.id}" that has the same name`,
|
|
64388
64448
|
issue: null,
|
|
64389
|
-
severity:
|
|
64449
|
+
severity: D.Error,
|
|
64390
64450
|
code: t,
|
|
64391
64451
|
entity: l,
|
|
64392
64452
|
firstRelationship: s
|
|
@@ -64398,7 +64458,7 @@ function fr(r, a, e, t) {
|
|
|
64398
64458
|
id: o.id + "--" + s.id + "--" + e,
|
|
64399
64459
|
message: `Entity of type ${o.type} named "${o.name}" with id "${o.id}" overrides a base entity ${s.name} with id "${s.id}" that implements the same base ${(d = o == null ? void 0 : o.implements) == null ? void 0 : d.type}`,
|
|
64400
64460
|
issue: null,
|
|
64401
|
-
severity:
|
|
64461
|
+
severity: D.Error,
|
|
64402
64462
|
code: e,
|
|
64403
64463
|
entity: o,
|
|
64404
64464
|
firstRelationship: s
|
|
@@ -64496,7 +64556,7 @@ function x7(r, a) {
|
|
|
64496
64556
|
id: r.id + "--string-value-must-not-have-spaces",
|
|
64497
64557
|
message: `Entity of type ${r.type} with id "${r.id}" has an invalid value "${a}". The value cannot contain spaces.`,
|
|
64498
64558
|
issue: null,
|
|
64499
|
-
severity:
|
|
64559
|
+
severity: D.Error,
|
|
64500
64560
|
code: "string-value-must-not-have-spaces",
|
|
64501
64561
|
entity: r
|
|
64502
64562
|
});
|
|
@@ -64524,7 +64584,7 @@ function $7(r, a) {
|
|
|
64524
64584
|
id: r.id + "--string-value-must-not-have-spaces",
|
|
64525
64585
|
message: `Entity of type ${r.type} with id "${r.id}" has an invalid value "${a}". The value cannot contain spaces or dashes.`,
|
|
64526
64586
|
issue: null,
|
|
64527
|
-
severity:
|
|
64587
|
+
severity: D.Error,
|
|
64528
64588
|
code: "string-value-must-not-have-spaces",
|
|
64529
64589
|
entity: r
|
|
64530
64590
|
});
|
|
@@ -64535,7 +64595,7 @@ function $7(r, a) {
|
|
|
64535
64595
|
id: r.id + "--string-value-must-not-have-dashes",
|
|
64536
64596
|
message: `Entity of type ${r.type} with id "${r.id}" has an invalid value "${a}". The value cannot contain spaces or dashes.`,
|
|
64537
64597
|
issue: null,
|
|
64538
|
-
severity:
|
|
64598
|
+
severity: D.Error,
|
|
64539
64599
|
code: "string-value-must-not-have-dashes",
|
|
64540
64600
|
entity: r
|
|
64541
64601
|
});
|
|
@@ -65045,14 +65105,14 @@ function Il(r, a = {}, e = {
|
|
|
65045
65105
|
upstream: {},
|
|
65046
65106
|
downstream: {}
|
|
65047
65107
|
};
|
|
65048
|
-
const t = r, i = r, s = r, l = r, o = r, d = r, u = r, h = r, c = r, T = r, E = r,
|
|
65108
|
+
const t = r, i = r, s = r, l = r, o = r, d = r, u = r, h = r, c = r, T = r, E = r, R = r, O = r, V = [
|
|
65049
65109
|
...O.readsValue ? [O.readsValue] : [],
|
|
65050
65110
|
...O.declaration ? [O.declaration] : [],
|
|
65051
|
-
...(
|
|
65052
|
-
...(
|
|
65111
|
+
...(R.calledByEntry || []).flatMap(($) => $),
|
|
65112
|
+
...(R.calledBySuccess || []).flatMap(
|
|
65053
65113
|
($) => $
|
|
65054
65114
|
),
|
|
65055
|
-
...(
|
|
65115
|
+
...(R.calledByError || []).flatMap(($) => $),
|
|
65056
65116
|
...(s.extends || []).flatMap(
|
|
65057
65117
|
($) => $
|
|
65058
65118
|
),
|
|
@@ -65074,11 +65134,11 @@ function Il(r, a = {}, e = {
|
|
|
65074
65134
|
($) => $
|
|
65075
65135
|
),
|
|
65076
65136
|
...O.writesValues || [],
|
|
65077
|
-
...
|
|
65137
|
+
...R.dataType ? [R.dataType] : [],
|
|
65078
65138
|
...d.body ? [d.body] : [],
|
|
65079
|
-
...
|
|
65080
|
-
...(
|
|
65081
|
-
...(
|
|
65139
|
+
...R.defaultValue ? [R.defaultValue] : [],
|
|
65140
|
+
...(R.successCalls || []).flatMap(($) => $),
|
|
65141
|
+
...(R.errorCalls || []).flatMap(($) => $),
|
|
65082
65142
|
...(s.properties || []).flatMap(($) => $),
|
|
65083
65143
|
...(s.methods || []).flatMap(($) => $),
|
|
65084
65144
|
...(s.abstractMethods || []).flatMap(($) => $),
|
|
@@ -66658,7 +66718,7 @@ function gJ(r, a) {
|
|
|
66658
66718
|
id: r.id + "--" + G.ImplementingNonAbstractEntity,
|
|
66659
66719
|
message: `Entity "${r.name}" with id "${r.id}" is implementing a non-abstract entity "${a.name}" with id "${a.id}"`,
|
|
66660
66720
|
issue: null,
|
|
66661
|
-
severity:
|
|
66721
|
+
severity: D.Error,
|
|
66662
66722
|
code: G.ImplementingNonAbstractEntity,
|
|
66663
66723
|
entity: r
|
|
66664
66724
|
});
|
|
@@ -66681,7 +66741,7 @@ function gJ(r, a) {
|
|
|
66681
66741
|
id: r.id + "--" + G.MissingPropertyImplementation + "--" + h.id,
|
|
66682
66742
|
message: `Property "${h.name}" with id "${h.id}" of entity "${a.name}" with id "${a.id}" is not implemented when entity "${r.name}" with id "${r.id}" implements it`,
|
|
66683
66743
|
issue: null,
|
|
66684
|
-
severity:
|
|
66744
|
+
severity: D.Error,
|
|
66685
66745
|
code: G.MissingPropertyImplementation,
|
|
66686
66746
|
entity: r
|
|
66687
66747
|
});
|
|
@@ -66704,7 +66764,7 @@ function gJ(r, a) {
|
|
|
66704
66764
|
id: r.id + "--" + G.MissingMethodImplementation + "--" + h.id,
|
|
66705
66765
|
message: `Method "${h.name}" with id "${h.id}" of entity "${a.name}" with id "${a.id}" is not implemented when entity "${r.name}" with id "${r.id}" implements it`,
|
|
66706
66766
|
issue: null,
|
|
66707
|
-
severity:
|
|
66767
|
+
severity: D.Error,
|
|
66708
66768
|
code: G.MissingMethodImplementation,
|
|
66709
66769
|
entity: r
|
|
66710
66770
|
});
|
|
@@ -66721,7 +66781,7 @@ function gJ(r, a) {
|
|
|
66721
66781
|
id: r.id + "--" + L.PropertyOverwritesOtherSiblingWithSameName + "--" + h.id,
|
|
66722
66782
|
message: `Property "${h.name}" with id "${h.id}" of entity "${r.name}" with id "${r.id}" overwrites the property with the same name from the base entity "${a.name}" with id "${a.id}"`,
|
|
66723
66783
|
issue: null,
|
|
66724
|
-
severity:
|
|
66784
|
+
severity: D.Error,
|
|
66725
66785
|
code: L.PropertyOverwritesOtherSiblingWithSameName,
|
|
66726
66786
|
entity: r
|
|
66727
66787
|
});
|
|
@@ -66738,7 +66798,7 @@ function gJ(r, a) {
|
|
|
66738
66798
|
id: r.id + "--" + L.MethodOverwritesOtherSiblingWithSameName + "--" + h.id,
|
|
66739
66799
|
message: `Method "${h.name}" with id "${h.id}" of entity "${r.name}" with id "${r.id}" overwrites the method with the same name from the base entity "${a.name}" with id "${a.id}"`,
|
|
66740
66800
|
issue: null,
|
|
66741
|
-
severity:
|
|
66801
|
+
severity: D.Error,
|
|
66742
66802
|
code: L.MethodOverwritesOtherSiblingWithSameName,
|
|
66743
66803
|
entity: r
|
|
66744
66804
|
});
|
|
@@ -66752,7 +66812,7 @@ function kJ(r, a) {
|
|
|
66752
66812
|
id: r.id + "--" + a.id + "--" + G.NonAbstractExtendingAbstractEntity,
|
|
66753
66813
|
message: `Entity "${r.name}" with id "${r.id}" is not-abstract but is extending an abstract entity "${a.name}" with id "${a.id}"`,
|
|
66754
66814
|
issue: null,
|
|
66755
|
-
severity:
|
|
66815
|
+
severity: D.Error,
|
|
66756
66816
|
code: G.NonAbstractExtendingAbstractEntity,
|
|
66757
66817
|
entity: r,
|
|
66758
66818
|
firstRelationship: a
|
|
@@ -66764,7 +66824,7 @@ function kJ(r, a) {
|
|
|
66764
66824
|
id: r.id + "--" + a.id + "--" + G.AbstractExtendingNonAbstractEntity,
|
|
66765
66825
|
message: `Entity "${r.name}" with id "${r.id}" is abstract but is extending an non-abstract entity "${a.name}" with id "${a.id}"`,
|
|
66766
66826
|
issue: null,
|
|
66767
|
-
severity:
|
|
66827
|
+
severity: D.Error,
|
|
66768
66828
|
code: G.AbstractExtendingNonAbstractEntity,
|
|
66769
66829
|
entity: r,
|
|
66770
66830
|
firstRelationship: a
|
|
@@ -66783,7 +66843,7 @@ function kJ(r, a) {
|
|
|
66783
66843
|
id: r.id + "--" + L.PropertyOverwritesOtherSiblingWithSameName,
|
|
66784
66844
|
message: `Property "${s.name}" with id "${s.id}" of entity "${r.name}" with id "${r.id}" overwrites the property with the same name from the extended entity "${a.name}" with id "${a.id}"`,
|
|
66785
66845
|
issue: null,
|
|
66786
|
-
severity:
|
|
66846
|
+
severity: D.Error,
|
|
66787
66847
|
code: L.PropertyOverwritesOtherSiblingWithSameName,
|
|
66788
66848
|
entity: r
|
|
66789
66849
|
});
|
|
@@ -66802,7 +66862,7 @@ function kJ(r, a) {
|
|
|
66802
66862
|
id: r.id + "--" + L.MethodOverwritesOtherSiblingWithSameName,
|
|
66803
66863
|
message: `Method "${s.name}" with id "${s.id}" of entity "${r.name}" with id "${r.id}" overwrites the method with the same name from the extended entity "${a.name}" with id "${a.id}"`,
|
|
66804
66864
|
issue: null,
|
|
66805
|
-
severity:
|
|
66865
|
+
severity: D.Error,
|
|
66806
66866
|
code: L.MethodOverwritesOtherSiblingWithSameName,
|
|
66807
66867
|
entity: r
|
|
66808
66868
|
});
|
|
@@ -66816,7 +66876,7 @@ function ZJ(r) {
|
|
|
66816
66876
|
id: r.id + "--" + G.NoProperties,
|
|
66817
66877
|
message: "No properties implemented",
|
|
66818
66878
|
issue: null,
|
|
66819
|
-
severity:
|
|
66879
|
+
severity: D.Warning,
|
|
66820
66880
|
code: G.NoProperties,
|
|
66821
66881
|
entity: r
|
|
66822
66882
|
});
|
|
@@ -66834,7 +66894,7 @@ function JJ(r) {
|
|
|
66834
66894
|
id: r.id + "--" + G.AbstractEntityWithNonAbstractMethods,
|
|
66835
66895
|
message: `Entity "${r.name}" with id "${r.id}" is marked as abstract but has non-abstract methods`,
|
|
66836
66896
|
issue: null,
|
|
66837
|
-
severity:
|
|
66897
|
+
severity: D.Error,
|
|
66838
66898
|
code: G.AbstractEntityWithNonAbstractMethods,
|
|
66839
66899
|
entity: r
|
|
66840
66900
|
});
|
|
@@ -66845,7 +66905,7 @@ function JJ(r) {
|
|
|
66845
66905
|
id: r.id + "--" + G.AbstractEntityWithNonAbstractProperties,
|
|
66846
66906
|
message: `Entity "${r.name}" with id "${r.id}" is marked as abstract but has non-abstract properties`,
|
|
66847
66907
|
issue: null,
|
|
66848
|
-
severity:
|
|
66908
|
+
severity: D.Error,
|
|
66849
66909
|
code: G.AbstractEntityWithNonAbstractProperties,
|
|
66850
66910
|
entity: r
|
|
66851
66911
|
});
|
|
@@ -66855,7 +66915,7 @@ function JJ(r) {
|
|
|
66855
66915
|
id: r.id + "--" + G.StaticEntityWithNonStaticProperties + "--" + t.id,
|
|
66856
66916
|
message: `Property "${t.name}" with id "${t.id}" of entity "${r.name}" with id "${r.id}" is not marked as abstract but the entity is marked as abstract`,
|
|
66857
66917
|
issue: null,
|
|
66858
|
-
severity:
|
|
66918
|
+
severity: D.Error,
|
|
66859
66919
|
code: G.StaticEntityWithNonStaticProperties,
|
|
66860
66920
|
entity: r
|
|
66861
66921
|
});
|
|
@@ -66869,7 +66929,7 @@ function JJ(r) {
|
|
|
66869
66929
|
id: r.id + "--" + G.AbstractPropertyInNonAbstractEntity,
|
|
66870
66930
|
message: `Entity "${r.name}" with id "${r.id}" is not marked as abstract but has abstract methods`,
|
|
66871
66931
|
issue: null,
|
|
66872
|
-
severity:
|
|
66932
|
+
severity: D.Error,
|
|
66873
66933
|
code: G.AbstractPropertyInNonAbstractEntity,
|
|
66874
66934
|
entity: r
|
|
66875
66935
|
});
|
|
@@ -66880,7 +66940,7 @@ function JJ(r) {
|
|
|
66880
66940
|
id: r.id + "--" + G.AbstractMethodInNonAbstractEntity,
|
|
66881
66941
|
message: `Entity "${r.name}" with id "${r.id}" is not marked as abstract but has abstract properties`,
|
|
66882
66942
|
issue: null,
|
|
66883
|
-
severity:
|
|
66943
|
+
severity: D.Error,
|
|
66884
66944
|
code: G.AbstractMethodInNonAbstractEntity,
|
|
66885
66945
|
entity: r
|
|
66886
66946
|
});
|
|
@@ -66890,7 +66950,7 @@ function JJ(r) {
|
|
|
66890
66950
|
id: r.id + "--" + G.AbstractMethodInNonAbstractEntity + "--" + t.id,
|
|
66891
66951
|
message: `Property "${t.name}" with id "${t.id}" of entity "${r.name}" with id "${r.id}" is marked as abstract but the entity is not marked as abstract`,
|
|
66892
66952
|
issue: null,
|
|
66893
|
-
severity:
|
|
66953
|
+
severity: D.Error,
|
|
66894
66954
|
code: G.AbstractMethodInNonAbstractEntity,
|
|
66895
66955
|
entity: r
|
|
66896
66956
|
});
|
|
@@ -66904,7 +66964,7 @@ function JJ(r) {
|
|
|
66904
66964
|
id: r.id + "--" + G.StaticEntityWithNonStaticProperties,
|
|
66905
66965
|
message: `Entity "${r.name}" with id "${r.id}" is marked as static but has non-static properties`,
|
|
66906
66966
|
issue: null,
|
|
66907
|
-
severity:
|
|
66967
|
+
severity: D.Error,
|
|
66908
66968
|
code: G.StaticEntityWithNonStaticProperties,
|
|
66909
66969
|
entity: r
|
|
66910
66970
|
});
|
|
@@ -66914,7 +66974,7 @@ function JJ(r) {
|
|
|
66914
66974
|
id: r.id + "--" + G.NonStaticPropertyInStaticEntity + "--" + t.id,
|
|
66915
66975
|
message: `Property "${t.name}" with id "${t.id}" of entity "${r.name}" with id "${r.id}" is not marked as static but the entity is marked as static`,
|
|
66916
66976
|
issue: null,
|
|
66917
|
-
severity:
|
|
66977
|
+
severity: D.Error,
|
|
66918
66978
|
code: G.NonStaticPropertyInStaticEntity,
|
|
66919
66979
|
entity: r
|
|
66920
66980
|
});
|
|
@@ -66931,7 +66991,7 @@ function qJ(r, a) {
|
|
|
66931
66991
|
id: r.id + "--" + a.id + "--" + G.ImplementingNonAbstractEntity,
|
|
66932
66992
|
message: `Entity "${r.name}" with id "${r.id}" is implementing a non-abstract built-in entity "${a.name}" with id "${a.id}"`,
|
|
66933
66993
|
issue: null,
|
|
66934
|
-
severity:
|
|
66994
|
+
severity: D.Error,
|
|
66935
66995
|
code: G.ImplementingNonAbstractEntity,
|
|
66936
66996
|
entity: r,
|
|
66937
66997
|
firstRelationship: a
|
|
@@ -66946,7 +67006,7 @@ function qJ(r, a) {
|
|
|
66946
67006
|
id: r.id + "--" + a.id + "--" + G.AbstractEntityImplements,
|
|
66947
67007
|
message: `Entity "${r.name}" with id "${r.id}" is marked as abstract and cannot implement built-in entity "${a.name}" with id "${a.id}"`,
|
|
66948
67008
|
issue: null,
|
|
66949
|
-
severity:
|
|
67009
|
+
severity: D.Error,
|
|
66950
67010
|
code: G.AbstractEntityImplements,
|
|
66951
67011
|
entity: r,
|
|
66952
67012
|
firstRelationship: a
|
|
@@ -66958,7 +67018,7 @@ function qJ(r, a) {
|
|
|
66958
67018
|
id: r.id + "--" + a.id + "--" + G.StaticImplementingNonStaticEntity,
|
|
66959
67019
|
message: `Entity "${r.name}" with id "${r.id}" is marked as static and cannot implement non-static built-in entity "${a.name}" with id "${a.id}"`,
|
|
66960
67020
|
issue: null,
|
|
66961
|
-
severity:
|
|
67021
|
+
severity: D.Error,
|
|
66962
67022
|
code: G.StaticImplementingNonStaticEntity,
|
|
66963
67023
|
entity: r,
|
|
66964
67024
|
firstRelationship: a
|
|
@@ -66970,7 +67030,7 @@ function qJ(r, a) {
|
|
|
66970
67030
|
id: r.id + "--" + a.id + "--" + G.NonStaticImplementingStaticEntity,
|
|
66971
67031
|
message: `Entity "${r.name}" with id "${r.id}" is not marked as static and cannot implement static built-in entity "${a.name}" with id "${a.id}"`,
|
|
66972
67032
|
issue: null,
|
|
66973
|
-
severity:
|
|
67033
|
+
severity: D.Error,
|
|
66974
67034
|
code: G.NonStaticImplementingStaticEntity,
|
|
66975
67035
|
entity: r,
|
|
66976
67036
|
firstRelationship: a
|
|
@@ -66988,7 +67048,7 @@ function qJ(r, a) {
|
|
|
66988
67048
|
id: r.id + "--" + d.id + "--" + l.id + "--" + G.ImplementsIncompatibleEntities,
|
|
66989
67049
|
message: `Entity "${r.name}" with id "${r.id}" is implementing built-in entity "${d.name}" with id "${d.id}" but also implements entity "${l.name}" with id "${l.id}" which is incompatible`,
|
|
66990
67050
|
issue: null,
|
|
66991
|
-
severity:
|
|
67051
|
+
severity: D.Error,
|
|
66992
67052
|
code: G.ImplementsIncompatibleEntities,
|
|
66993
67053
|
entity: r,
|
|
66994
67054
|
firstRelationship: d,
|
|
@@ -67008,7 +67068,7 @@ function qJ(r, a) {
|
|
|
67008
67068
|
id: r.id + "--" + T.id + "--" + h.id + "--" + G.ImplementsIncompatibleEntities,
|
|
67009
67069
|
message: `Entity "${r.name}" with id "${r.id}" is implementing built-in entity "${T.name}" with id "${T.id}" but also implements entity "${h.name}" with id "${h.id}" which is incompatible`,
|
|
67010
67070
|
issue: null,
|
|
67011
|
-
severity:
|
|
67071
|
+
severity: D.Error,
|
|
67012
67072
|
code: G.ImplementsIncompatibleEntities,
|
|
67013
67073
|
entity: r,
|
|
67014
67074
|
firstRelationship: T,
|
|
@@ -67043,7 +67103,7 @@ function qJ(r, a) {
|
|
|
67043
67103
|
id: r.id + "--" + a.id + "--" + l.id + "--" + G.ExtendsIncompatibleEntities,
|
|
67044
67104
|
message: `Entity "${r.name}" with id "${r.id}" is implementing built-in entity "${a.name}" with id "${a.id}" but also extends entity "${l.name}" with id "${l.id}" which is incompatible`,
|
|
67045
67105
|
issue: null,
|
|
67046
|
-
severity:
|
|
67106
|
+
severity: D.Error,
|
|
67047
67107
|
code: G.ExtendsIncompatibleEntities,
|
|
67048
67108
|
entity: r,
|
|
67049
67109
|
firstRelationship: a,
|
|
@@ -67060,7 +67120,7 @@ function WJ(r, a, e = !1) {
|
|
|
67060
67120
|
id: r.id + "--" + a.id + "--" + G.NonAbstractExtendingAbstractEntity,
|
|
67061
67121
|
message: `Entity "${r.name}" with id "${r.id}" is not-abstract but is extending an abstract entity "${a.name}" with id "${a.id}"`,
|
|
67062
67122
|
issue: null,
|
|
67063
|
-
severity:
|
|
67123
|
+
severity: D.Error,
|
|
67064
67124
|
code: G.NonAbstractExtendingAbstractEntity,
|
|
67065
67125
|
entity: r,
|
|
67066
67126
|
firstRelationship: a
|
|
@@ -67072,7 +67132,7 @@ function WJ(r, a, e = !1) {
|
|
|
67072
67132
|
id: r.id + "--" + a.id + "--" + G.AbstractExtendingNonAbstractEntity,
|
|
67073
67133
|
message: `Entity "${r.name}" with id "${r.id}" is abstract but is extending an non-abstract entity "${a.name}" with id "${a.id}"`,
|
|
67074
67134
|
issue: null,
|
|
67075
|
-
severity:
|
|
67135
|
+
severity: D.Error,
|
|
67076
67136
|
code: G.AbstractExtendingNonAbstractEntity,
|
|
67077
67137
|
entity: r,
|
|
67078
67138
|
firstRelationship: a
|
|
@@ -67084,7 +67144,7 @@ function WJ(r, a, e = !1) {
|
|
|
67084
67144
|
id: r.id + "--" + a.id + "--" + G.NonStaticExtendingStaticEntity,
|
|
67085
67145
|
message: `Entity "${r.name}" with id "${r.id}" is not static but is extending a static entity "${a.name}" with id "${a.id}"`,
|
|
67086
67146
|
issue: null,
|
|
67087
|
-
severity:
|
|
67147
|
+
severity: D.Error,
|
|
67088
67148
|
code: G.NonStaticExtendingStaticEntity,
|
|
67089
67149
|
entity: r,
|
|
67090
67150
|
firstRelationship: a
|
|
@@ -67096,7 +67156,7 @@ function WJ(r, a, e = !1) {
|
|
|
67096
67156
|
id: r.id + "--" + a.id + "--" + G.StaticExtendingNonStaticEntity,
|
|
67097
67157
|
message: `Entity "${r.name}" with id "${r.id}" is static but is extending an non-static entity "${a.name}" with id "${a.id}"`,
|
|
67098
67158
|
issue: null,
|
|
67099
|
-
severity:
|
|
67159
|
+
severity: D.Error,
|
|
67100
67160
|
code: G.StaticExtendingNonStaticEntity,
|
|
67101
67161
|
entity: r,
|
|
67102
67162
|
firstRelationship: a
|
|
@@ -67108,7 +67168,7 @@ function WJ(r, a, e = !1) {
|
|
|
67108
67168
|
id: r.id + "--" + a.id + "--" + G.ExtendingNonInteractiveEntity,
|
|
67109
67169
|
message: `Entity "${r.name}" with id "${r.id}" is extending an non-interactive entity "${a.name}" with id "${a.id}"`,
|
|
67110
67170
|
issue: null,
|
|
67111
|
-
severity:
|
|
67171
|
+
severity: D.Error,
|
|
67112
67172
|
code: G.ExtendingNonInteractiveEntity,
|
|
67113
67173
|
entity: r,
|
|
67114
67174
|
firstRelationship: a
|
|
@@ -67129,7 +67189,7 @@ function WJ(r, a, e = !1) {
|
|
|
67129
67189
|
id: r.id + "--" + T.id + "--" + h.id + "--" + G.ExtendsIncompatibleEntities,
|
|
67130
67190
|
message: `Entity "${r.name}" with id "${r.id}" is extending built-in entity "${T.name}" with id "${T.id}" but also extends entity "${h.name}" with id "${h.id}" which is incompatible`,
|
|
67131
67191
|
issue: null,
|
|
67132
|
-
severity:
|
|
67192
|
+
severity: D.Error,
|
|
67133
67193
|
code: G.ExtendsIncompatibleEntities,
|
|
67134
67194
|
entity: r,
|
|
67135
67195
|
firstRelationship: T,
|
|
@@ -67149,7 +67209,7 @@ function WJ(r, a, e = !1) {
|
|
|
67149
67209
|
id: r.id + "--" + C.id + "--" + M.id + "--" + G.ImplementsIncompatibleEntities,
|
|
67150
67210
|
message: `Entity "${r.name}" with id "${r.id}" is extending built-in entity "${C.name}" with id "${C.id}" but also extends or implements entity "${M.name}" with id "${M.id}" which is incompatible`,
|
|
67151
67211
|
issue: null,
|
|
67152
|
-
severity:
|
|
67212
|
+
severity: D.Error,
|
|
67153
67213
|
code: G.ImplementsIncompatibleEntities,
|
|
67154
67214
|
entity: r,
|
|
67155
67215
|
firstRelationship: C,
|
|
@@ -67171,8 +67231,8 @@ function WJ(r, a, e = !1) {
|
|
|
67171
67231
|
}
|
|
67172
67232
|
)
|
|
67173
67233
|
));
|
|
67174
|
-
let
|
|
67175
|
-
T && (
|
|
67234
|
+
let R = [...h.methods];
|
|
67235
|
+
T && (R = R.filter(
|
|
67176
67236
|
(M) => !a.methods.find(
|
|
67177
67237
|
(x) => {
|
|
67178
67238
|
var C;
|
|
@@ -67189,7 +67249,7 @@ function WJ(r, a, e = !1) {
|
|
|
67189
67249
|
t.push(...O.errors);
|
|
67190
67250
|
const V = fr(
|
|
67191
67251
|
a.abstractMethods,
|
|
67192
|
-
|
|
67252
|
+
R,
|
|
67193
67253
|
L.MethodOverwritesOtherExtendedEntitysMethodWithSameImplementation,
|
|
67194
67254
|
L.MethodOverwritesOtherExtendedEntitysMethodWithSameName
|
|
67195
67255
|
);
|
|
@@ -67206,7 +67266,7 @@ function WJ(r, a, e = !1) {
|
|
|
67206
67266
|
id: r.id + "--" + T.id + "--" + h.id + "--" + G.ImplementsIncompatibleEntities,
|
|
67207
67267
|
message: `Entity "${r.name}" with id "${r.id}" is implementing built-in entity "${T.name}" with id "${T.id}" but also implements entity "${h.name}" with id "${h.id}" which is incompatible`,
|
|
67208
67268
|
issue: null,
|
|
67209
|
-
severity:
|
|
67269
|
+
severity: D.Error,
|
|
67210
67270
|
code: G.ImplementsIncompatibleEntities,
|
|
67211
67271
|
entity: r,
|
|
67212
67272
|
firstRelationship: T,
|
|
@@ -67216,21 +67276,21 @@ function WJ(r, a, e = !1) {
|
|
|
67216
67276
|
}
|
|
67217
67277
|
});
|
|
67218
67278
|
} else {
|
|
67219
|
-
Jt(h).forEach((
|
|
67279
|
+
Jt(h).forEach((R) => {
|
|
67220
67280
|
const O = i.filter(
|
|
67221
|
-
(V) => V.id !==
|
|
67281
|
+
(V) => V.id !== R.id
|
|
67222
67282
|
);
|
|
67223
67283
|
O.length && O.forEach((V) => {
|
|
67224
|
-
if (V.id !==
|
|
67284
|
+
if (V.id !== R.id) {
|
|
67225
67285
|
const M = new Ye({
|
|
67226
|
-
id: r.id + "--" + V.id + "--" +
|
|
67227
|
-
message: `Entity "${r.name}" with id "${r.id}" is implementing built-in entity "${V.name}" with id "${V.id}" but also implements entity "${
|
|
67286
|
+
id: r.id + "--" + V.id + "--" + R.id + "--" + G.ImplementsIncompatibleEntities,
|
|
67287
|
+
message: `Entity "${r.name}" with id "${r.id}" is implementing built-in entity "${V.name}" with id "${V.id}" but also implements entity "${R.name}" with id "${R.id}" which is incompatible`,
|
|
67228
67288
|
issue: null,
|
|
67229
|
-
severity:
|
|
67289
|
+
severity: D.Error,
|
|
67230
67290
|
code: G.ImplementsIncompatibleEntities,
|
|
67231
67291
|
entity: r,
|
|
67232
67292
|
firstRelationship: V,
|
|
67233
|
-
secondRelationship:
|
|
67293
|
+
secondRelationship: R
|
|
67234
67294
|
});
|
|
67235
67295
|
t.push(M);
|
|
67236
67296
|
}
|
|
@@ -67275,7 +67335,7 @@ function WJ(r, a, e = !1) {
|
|
|
67275
67335
|
id: r.id + "--" + a.id + "--" + h.id + "--" + G.ImplementsIncompatibleEntities,
|
|
67276
67336
|
message: `Entity "${r.name}" with id "${r.id}" is extending built-in entity "${a.name}" with id "${a.id}" but also extends entity "${h.name}" with id "${h.id}" which is incompatible`,
|
|
67277
67337
|
issue: null,
|
|
67278
|
-
severity:
|
|
67338
|
+
severity: D.Error,
|
|
67279
67339
|
code: G.ImplementsIncompatibleEntities,
|
|
67280
67340
|
entity: r,
|
|
67281
67341
|
firstRelationship: a,
|
|
@@ -67293,7 +67353,7 @@ function zJ(r) {
|
|
|
67293
67353
|
id: r.id + "--" + e.id + "--" + G.StaticImplementingNonStaticEntity,
|
|
67294
67354
|
message: `Entity "${r.name}" with id "${r.id}" is static but implements entity "${e.name}" with id "${e.id}" which is non-static`,
|
|
67295
67355
|
issue: null,
|
|
67296
|
-
severity:
|
|
67356
|
+
severity: D.Error,
|
|
67297
67357
|
code: G.StaticImplementingNonStaticEntity,
|
|
67298
67358
|
entity: r,
|
|
67299
67359
|
firstRelationship: e
|
|
@@ -67306,7 +67366,7 @@ function zJ(r) {
|
|
|
67306
67366
|
id: r.id + "--" + e.id + "--" + G.StaticExtendingNonStaticEntity,
|
|
67307
67367
|
message: `Entity "${r.name}" with id "${r.id}" is static but extends entity "${e.name}" with id "${e.id}" which is non-static`,
|
|
67308
67368
|
issue: null,
|
|
67309
|
-
severity:
|
|
67369
|
+
severity: D.Error,
|
|
67310
67370
|
code: G.StaticExtendingNonStaticEntity,
|
|
67311
67371
|
entity: r,
|
|
67312
67372
|
firstRelationship: e
|
|
@@ -67322,7 +67382,7 @@ function YJ(r) {
|
|
|
67322
67382
|
id: r.id + "--" + G.AbstractEntityImplements,
|
|
67323
67383
|
message: `Entity "${r.name}" with id "${r.id}" cannot be marked as abstract because it implements other entities`,
|
|
67324
67384
|
issue: null,
|
|
67325
|
-
severity:
|
|
67385
|
+
severity: D.Error,
|
|
67326
67386
|
code: G.AbstractEntityImplements,
|
|
67327
67387
|
entity: r
|
|
67328
67388
|
});
|
|
@@ -67334,7 +67394,7 @@ function YJ(r) {
|
|
|
67334
67394
|
id: r.id + "--" + e.id + "--" + G.AbstractExtendingNonAbstractEntity,
|
|
67335
67395
|
message: `Entity "${r.name}" with id "${r.id}" is abstract but extends entity "${e.name}" with id "${e.id}" which is non-abstract`,
|
|
67336
67396
|
issue: null,
|
|
67337
|
-
severity:
|
|
67397
|
+
severity: D.Error,
|
|
67338
67398
|
code: G.AbstractExtendingNonAbstractEntity,
|
|
67339
67399
|
entity: r,
|
|
67340
67400
|
firstRelationship: e
|
|
@@ -67351,7 +67411,7 @@ function HJ(r) {
|
|
|
67351
67411
|
id: r.id + "--" + e.id + "--" + G.NonStaticExtendingStaticEntity,
|
|
67352
67412
|
message: `Entity "${r.name}" with id "${r.id}" is non-static but extends entity "${e.name}" with id "${e.id}" which is static`,
|
|
67353
67413
|
issue: null,
|
|
67354
|
-
severity:
|
|
67414
|
+
severity: D.Error,
|
|
67355
67415
|
code: G.NonStaticExtendingStaticEntity,
|
|
67356
67416
|
entity: r,
|
|
67357
67417
|
firstRelationship: e
|
|
@@ -67368,7 +67428,7 @@ function KJ(r) {
|
|
|
67368
67428
|
id: r.id + "--" + e.id + "--" + G.NonAbstractExtendingAbstractEntity,
|
|
67369
67429
|
message: `Entity "${r.name}" with id "${r.id}" is non-abstract but extends entity "${e.name}" with id "${e.id}" which is abstract`,
|
|
67370
67430
|
issue: null,
|
|
67371
|
-
severity:
|
|
67431
|
+
severity: D.Error,
|
|
67372
67432
|
code: G.NonAbstractExtendingAbstractEntity,
|
|
67373
67433
|
entity: r,
|
|
67374
67434
|
firstRelationship: e
|
|
@@ -67397,7 +67457,7 @@ function SJ(r, a) {
|
|
|
67397
67457
|
new w({
|
|
67398
67458
|
id: `${r.id}--${r.parent}--${b.SelfReference}`,
|
|
67399
67459
|
code: b.SelfReference,
|
|
67400
|
-
severity:
|
|
67460
|
+
severity: D.Error,
|
|
67401
67461
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to itself at 'parent'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
67402
67462
|
issue: null
|
|
67403
67463
|
})
|
|
@@ -67410,7 +67470,7 @@ function SJ(r, a) {
|
|
|
67410
67470
|
new w({
|
|
67411
67471
|
id: `${r.id}--${r.parent}--${b.InvalidParentReference}`,
|
|
67412
67472
|
code: b.InvalidParentReference,
|
|
67413
|
-
severity:
|
|
67473
|
+
severity: D.Error,
|
|
67414
67474
|
message: `Entity of type "${r.type}" with id "${r.id}", has a parent reference that isn't pointing to an entity of type 'project' or 'data-type'.`,
|
|
67415
67475
|
issue: null
|
|
67416
67476
|
})
|
|
@@ -67418,7 +67478,7 @@ function SJ(r, a) {
|
|
|
67418
67478
|
new w({
|
|
67419
67479
|
id: `${r.id}--${r.parent}--${b.ReferencedEntityNotFound}`,
|
|
67420
67480
|
code: b.ReferencedEntityNotFound,
|
|
67421
|
-
severity:
|
|
67481
|
+
severity: D.Error,
|
|
67422
67482
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${r.parent}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
67423
67483
|
issue: null
|
|
67424
67484
|
})
|
|
@@ -67430,7 +67490,7 @@ function SJ(r, a) {
|
|
|
67430
67490
|
new w({
|
|
67431
67491
|
id: `${r.id}--${t}--${b.SelfReference}`,
|
|
67432
67492
|
code: b.SelfReference,
|
|
67433
|
-
severity:
|
|
67493
|
+
severity: D.Error,
|
|
67434
67494
|
message: `Entity of type "${r.type}" with id "${r.id}", has a reference to itself at one of the 'implements' references. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
67435
67495
|
issue: null
|
|
67436
67496
|
})
|
|
@@ -67444,7 +67504,7 @@ function SJ(r, a) {
|
|
|
67444
67504
|
new w({
|
|
67445
67505
|
id: `${r.id}--${t}--${b.InvalidImplementsReference}`,
|
|
67446
67506
|
code: b.InvalidImplementsReference,
|
|
67447
|
-
severity:
|
|
67507
|
+
severity: D.Error,
|
|
67448
67508
|
message: `Entity of type "${r.type}" with id "${r.id}", has an 'implements' reference that isn't pointing to an abstract entity.`,
|
|
67449
67509
|
issue: null
|
|
67450
67510
|
})
|
|
@@ -67452,7 +67512,7 @@ function SJ(r, a) {
|
|
|
67452
67512
|
new w({
|
|
67453
67513
|
id: `${r.id}--${t}--${b.InvalidImplementsReference}`,
|
|
67454
67514
|
code: b.InvalidImplementsReference,
|
|
67455
|
-
severity:
|
|
67515
|
+
severity: D.Error,
|
|
67456
67516
|
message: `Entity of type "${r.type}" with id "${r.id}", has an 'implements' reference that isn't pointing to an entity of type 'definition-entity' or 'built-in-base-entity'.`,
|
|
67457
67517
|
issue: null
|
|
67458
67518
|
})
|
|
@@ -67460,7 +67520,7 @@ function SJ(r, a) {
|
|
|
67460
67520
|
new w({
|
|
67461
67521
|
id: `${r.id}--${t}--${b.ReferencedEntityNotFound}`,
|
|
67462
67522
|
code: b.ReferencedEntityNotFound,
|
|
67463
|
-
severity:
|
|
67523
|
+
severity: D.Error,
|
|
67464
67524
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${t}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
67465
67525
|
issue: null
|
|
67466
67526
|
})
|
|
@@ -67469,7 +67529,7 @@ function SJ(r, a) {
|
|
|
67469
67529
|
new w({
|
|
67470
67530
|
id: `${r.id}--${L.InvalidObjectStructure}`,
|
|
67471
67531
|
code: L.InvalidObjectStructure,
|
|
67472
|
-
severity:
|
|
67532
|
+
severity: D.Error,
|
|
67473
67533
|
message: `Entity of type "${r.type}" with id "${r.id}", has an 'implements' property that isn't an array.`,
|
|
67474
67534
|
issue: null
|
|
67475
67535
|
})
|
|
@@ -67481,7 +67541,7 @@ function SJ(r, a) {
|
|
|
67481
67541
|
new w({
|
|
67482
67542
|
id: `${r.id}--${t}--${b.InvalidExtendsReference}`,
|
|
67483
67543
|
code: b.InvalidExtendsReference,
|
|
67484
|
-
severity:
|
|
67544
|
+
severity: D.Error,
|
|
67485
67545
|
message: `Entity of type "${r.type}" with id "${r.id}", has an 'extends' reference that isn't pointing to a non-abstract entity. Did you want to use the property 'implements', which holds a list of references to absract entities, instead?`,
|
|
67486
67546
|
issue: null
|
|
67487
67547
|
})
|
|
@@ -67489,7 +67549,7 @@ function SJ(r, a) {
|
|
|
67489
67549
|
new w({
|
|
67490
67550
|
id: `${r.id}--${t}--${b.InvalidExtendsReference}`,
|
|
67491
67551
|
code: b.InvalidExtendsReference,
|
|
67492
|
-
severity:
|
|
67552
|
+
severity: D.Error,
|
|
67493
67553
|
message: `Entity of type "${r.type}" with id "${r.id}", has an 'extends' reference that isn't pointing to an entity of type 'definition-entity' or 'built-in-base-entity'.`,
|
|
67494
67554
|
issue: null
|
|
67495
67555
|
})
|
|
@@ -67497,7 +67557,7 @@ function SJ(r, a) {
|
|
|
67497
67557
|
new w({
|
|
67498
67558
|
id: `${r.id}--${t}--${b.ReferencedEntityNotFound}`,
|
|
67499
67559
|
code: b.ReferencedEntityNotFound,
|
|
67500
|
-
severity:
|
|
67560
|
+
severity: D.Error,
|
|
67501
67561
|
message: `Entity of type "${r.type}" with id "${r.id}", is referencing an entity with id "${t}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
67502
67562
|
issue: null
|
|
67503
67563
|
})
|
|
@@ -67632,7 +67692,7 @@ const Le = class Le extends st {
|
|
|
67632
67692
|
new w({
|
|
67633
67693
|
id: `${e.id}--${b.NewEntityWouldOverriteExisting}`,
|
|
67634
67694
|
code: b.NewEntityWouldOverriteExisting,
|
|
67635
|
-
severity:
|
|
67695
|
+
severity: D.Error,
|
|
67636
67696
|
message: `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${u.id}' because it already has an 'entity' child. Data type entities can only have one 'entity' as children.
|
|
67637
67697
|
You can inspect the existing 'entity' field with the 'describe_entity' action. Like so:
|
|
67638
67698
|
${Ki(
|
|
@@ -67752,7 +67812,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
67752
67812
|
new w({
|
|
67753
67813
|
id: `${this.id}--${b.InvalidParentUpdate}`,
|
|
67754
67814
|
code: b.InvalidParentUpdate,
|
|
67755
|
-
severity:
|
|
67815
|
+
severity: D.Error,
|
|
67756
67816
|
message: `Entity of type '${this.type}' with id '${this.id}' cannot have the 'parent' property updated. The 'parent' on an '${this.type}', must be the root project as it is a globally declared entity.`,
|
|
67757
67817
|
issue: null
|
|
67758
67818
|
})
|
|
@@ -68002,9 +68062,9 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
68002
68062
|
updated: c,
|
|
68003
68063
|
added: T,
|
|
68004
68064
|
removed: E,
|
|
68005
|
-
affected:
|
|
68065
|
+
affected: R
|
|
68006
68066
|
} = this.addExtendedProperties(e);
|
|
68007
|
-
t.push(...c), i.push(...T), s.push(...E), l.push(...
|
|
68067
|
+
t.push(...c), i.push(...T), s.push(...E), l.push(...R);
|
|
68008
68068
|
const {
|
|
68009
68069
|
updated: O,
|
|
68010
68070
|
added: V,
|
|
@@ -68246,8 +68306,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
68246
68306
|
];
|
|
68247
68307
|
return d.filter((c) => !u.find(
|
|
68248
68308
|
(E) => {
|
|
68249
|
-
var
|
|
68250
|
-
return ((
|
|
68309
|
+
var R;
|
|
68310
|
+
return ((R = E.implements) == null ? void 0 : R.id) === c.id;
|
|
68251
68311
|
}
|
|
68252
68312
|
)).forEach((c) => {
|
|
68253
68313
|
if (this.methods.find(
|
|
@@ -68282,8 +68342,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
68282
68342
|
), e == null || e.add(this, I.Updated);
|
|
68283
68343
|
return;
|
|
68284
68344
|
}
|
|
68285
|
-
const
|
|
68286
|
-
i.push(
|
|
68345
|
+
const R = c.implementAsFunctionDeclaration(e, this);
|
|
68346
|
+
i.push(R), e == null || e.add(R, I.Added), this.addMethod(R);
|
|
68287
68347
|
}), e == null || e.attemptAutoclose("sync-implementation-methods", this.id), {
|
|
68288
68348
|
updated: p(t),
|
|
68289
68349
|
added: p(i),
|
|
@@ -68312,8 +68372,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
68312
68372
|
return d.filter(
|
|
68313
68373
|
(c) => !u.find(
|
|
68314
68374
|
(E) => {
|
|
68315
|
-
var
|
|
68316
|
-
return ((
|
|
68375
|
+
var R;
|
|
68376
|
+
return ((R = E.implements) == null ? void 0 : R.id) === c.id;
|
|
68317
68377
|
}
|
|
68318
68378
|
)
|
|
68319
68379
|
).forEach((c) => {
|
|
@@ -68331,12 +68391,12 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
68331
68391
|
E.implements = c, E.abstract = !1;
|
|
68332
68392
|
return;
|
|
68333
68393
|
}
|
|
68334
|
-
const
|
|
68394
|
+
const R = c.clone(
|
|
68335
68395
|
e,
|
|
68336
68396
|
this,
|
|
68337
68397
|
y.UUID.uuid()
|
|
68338
68398
|
);
|
|
68339
|
-
|
|
68399
|
+
R.initChildren(e), i.push(R), e == null || e.add(R, I.Added), R.setImplements(c, e), R.metaSync({ abstract: !1 }, e), this.addProperty(R);
|
|
68340
68400
|
}), e == null || e.attemptAutoclose("sync-implementation-properties", this.id), {
|
|
68341
68401
|
updated: p(t),
|
|
68342
68402
|
added: p(i),
|
|
@@ -68396,8 +68456,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
68396
68456
|
)) {
|
|
68397
68457
|
const t = [], i = [], s = [], l = [], o = this.properties, d = this.extendedPropertiesFromOriginalParents, u = d.filter((c) => d.find(
|
|
68398
68458
|
(E) => {
|
|
68399
|
-
var
|
|
68400
|
-
return ((
|
|
68459
|
+
var R;
|
|
68460
|
+
return ((R = E.implements) == null ? void 0 : R.id) === c.id;
|
|
68401
68461
|
}
|
|
68402
68462
|
) ? !1 : !c.abstract), h = new Set(o.map((c) => c.name));
|
|
68403
68463
|
return u.forEach((c) => {
|
|
@@ -68928,7 +68988,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
68928
68988
|
)
|
|
68929
68989
|
);
|
|
68930
68990
|
c.methods = E;
|
|
68931
|
-
const
|
|
68991
|
+
const R = (M = this.abstractMethods) == null ? void 0 : M.map(
|
|
68932
68992
|
(x, C) => x.clone(
|
|
68933
68993
|
e,
|
|
68934
68994
|
c,
|
|
@@ -68936,7 +68996,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
68936
68996
|
s
|
|
68937
68997
|
)
|
|
68938
68998
|
);
|
|
68939
|
-
return c.abstractMethods =
|
|
68999
|
+
return c.abstractMethods = R, e == null || e.attemptAutoclose("clone-entity", this.id), c;
|
|
68940
69000
|
}
|
|
68941
69001
|
getFunctionDeclaration(e) {
|
|
68942
69002
|
return this.methods.find((t) => t.id === e);
|
|
@@ -69007,12 +69067,12 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
69007
69067
|
);
|
|
69008
69068
|
if (!T)
|
|
69009
69069
|
return;
|
|
69010
|
-
const
|
|
69070
|
+
const R = $n(
|
|
69011
69071
|
c.parent
|
|
69012
69072
|
).getMasterInputWithValueWritterFromAllInstances(
|
|
69013
69073
|
c
|
|
69014
69074
|
), O = xi(
|
|
69015
|
-
|
|
69075
|
+
R,
|
|
69016
69076
|
t
|
|
69017
69077
|
), V = O == null ? void 0 : O.clone(
|
|
69018
69078
|
t,
|
|
@@ -69121,11 +69181,11 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
69121
69181
|
implements: null,
|
|
69122
69182
|
dataType: null,
|
|
69123
69183
|
parent: this.toReference()
|
|
69124
|
-
},
|
|
69184
|
+
}, R = P(
|
|
69125
69185
|
E,
|
|
69126
69186
|
this.project
|
|
69127
69187
|
);
|
|
69128
|
-
|
|
69188
|
+
R.setParent(this, t), R.initChildren(t), t == null || t.add(R, I.Added);
|
|
69129
69189
|
const V = $n(
|
|
69130
69190
|
c.parent
|
|
69131
69191
|
).getMasterInputWithValueWritterFromAllInstances(
|
|
@@ -69134,16 +69194,16 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
69134
69194
|
V
|
|
69135
69195
|
), x = M == null ? void 0 : M.clone(
|
|
69136
69196
|
t,
|
|
69137
|
-
|
|
69197
|
+
R,
|
|
69138
69198
|
y.UUID.uuid(),
|
|
69139
69199
|
!0
|
|
69140
69200
|
);
|
|
69141
69201
|
if (x) {
|
|
69142
|
-
const S = (Z =
|
|
69202
|
+
const S = (Z = R.dataType) == null ? void 0 : Z.merge(
|
|
69143
69203
|
x,
|
|
69144
69204
|
t
|
|
69145
69205
|
);
|
|
69146
|
-
|
|
69206
|
+
R.dataType && (S == null ? void 0 : S.self.id) !== R.dataType.id && R.dataType.remove(
|
|
69147
69207
|
{ ignoreUpstream: !1 },
|
|
69148
69208
|
t
|
|
69149
69209
|
), x.id !== ((q = S == null ? void 0 : S.self) == null ? void 0 : q.id) && x.remove({ ignoreUpstream: !1 }, t), S != null && S.self && (S.self.metaSync(
|
|
@@ -69155,9 +69215,9 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
69155
69215
|
), t == null || t.add(
|
|
69156
69216
|
S.self,
|
|
69157
69217
|
I.Added
|
|
69158
|
-
),
|
|
69218
|
+
), R.setDataType(S.self), t == null || t.add(R, I.Updated));
|
|
69159
69219
|
}
|
|
69160
|
-
return this.addProperty(
|
|
69220
|
+
return this.addProperty(R), c.setDeclaration(R), t == null || t.add(c, I.Updated), R;
|
|
69161
69221
|
}), t == null || t.attemptAutoclose("infer-definition-entity-from-inputs", this.id), {
|
|
69162
69222
|
added: p(i),
|
|
69163
69223
|
updated: p(s),
|
|
@@ -72012,12 +72072,12 @@ class lq extends We {
|
|
|
72012
72072
|
added: c,
|
|
72013
72073
|
updated: T,
|
|
72014
72074
|
removed: E,
|
|
72015
|
-
affected:
|
|
72075
|
+
affected: R
|
|
72016
72076
|
} = this.syncEntityToMatchInputMapDataType(
|
|
72017
72077
|
d,
|
|
72018
72078
|
t
|
|
72019
72079
|
);
|
|
72020
|
-
i.push(...T), s.push(...c), l.push(...E), o.push(...
|
|
72080
|
+
i.push(...T), s.push(...c), l.push(...E), o.push(...R);
|
|
72021
72081
|
}
|
|
72022
72082
|
const u = this.getDataToValidateInputMap(e);
|
|
72023
72083
|
if (u) {
|
|
@@ -72025,12 +72085,12 @@ class lq extends We {
|
|
|
72025
72085
|
added: c,
|
|
72026
72086
|
updated: T,
|
|
72027
72087
|
removed: E,
|
|
72028
|
-
affected:
|
|
72088
|
+
affected: R
|
|
72029
72089
|
} = this.syncDataToValidateInputMapDataType(
|
|
72030
72090
|
u,
|
|
72031
72091
|
t
|
|
72032
72092
|
);
|
|
72033
|
-
i.push(...T), s.push(...c), l.push(...E), o.push(...
|
|
72093
|
+
i.push(...T), s.push(...c), l.push(...E), o.push(...R);
|
|
72034
72094
|
}
|
|
72035
72095
|
const h = this.getOutputDataOutputMap(e);
|
|
72036
72096
|
if (h) {
|
|
@@ -72038,9 +72098,9 @@ class lq extends We {
|
|
|
72038
72098
|
added: c,
|
|
72039
72099
|
updated: T,
|
|
72040
72100
|
removed: E,
|
|
72041
|
-
affected:
|
|
72101
|
+
affected: R
|
|
72042
72102
|
} = this.syncOutputDataOutputMapDataType(h, t);
|
|
72043
|
-
i.push(...T), s.push(...c), l.push(...E), o.push(...
|
|
72103
|
+
i.push(...T), s.push(...c), l.push(...E), o.push(...R);
|
|
72044
72104
|
}
|
|
72045
72105
|
return t == null || t.attemptAutoclose(
|
|
72046
72106
|
"sync-operation-instance-validate-data",
|
|
@@ -72184,7 +72244,7 @@ class lq extends We {
|
|
|
72184
72244
|
self: null
|
|
72185
72245
|
};
|
|
72186
72246
|
if (!e.dataType) {
|
|
72187
|
-
const
|
|
72247
|
+
const R = {
|
|
72188
72248
|
id: y.UUID.uuid(),
|
|
72189
72249
|
version: y.UUID.uuid(),
|
|
72190
72250
|
createdAt: (t == null ? void 0 : t.timestamp) || (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -72207,7 +72267,7 @@ class lq extends We {
|
|
|
72207
72267
|
inferred: !0,
|
|
72208
72268
|
parent: e.toReference()
|
|
72209
72269
|
}, O = P(
|
|
72210
|
-
|
|
72270
|
+
R,
|
|
72211
72271
|
e.project
|
|
72212
72272
|
);
|
|
72213
72273
|
O.setParent(e, t), O.initChildren(t), t == null || t.add(O, I.Added), i.push(O), e.setDataType(O);
|
|
@@ -72289,7 +72349,7 @@ class lq extends We {
|
|
|
72289
72349
|
self: null
|
|
72290
72350
|
};
|
|
72291
72351
|
if (!e.dataType) {
|
|
72292
|
-
const
|
|
72352
|
+
const R = {
|
|
72293
72353
|
id: y.UUID.uuid(),
|
|
72294
72354
|
version: y.UUID.uuid(),
|
|
72295
72355
|
createdAt: (t == null ? void 0 : t.timestamp) || (/* @__PURE__ */ new Date()).toISOString(),
|
|
@@ -72312,7 +72372,7 @@ class lq extends We {
|
|
|
72312
72372
|
inferred: !0,
|
|
72313
72373
|
parent: e.toReference()
|
|
72314
72374
|
}, O = P(
|
|
72315
|
-
|
|
72375
|
+
R,
|
|
72316
72376
|
e.project
|
|
72317
72377
|
);
|
|
72318
72378
|
O.setParent(e, t), O.initChildren(t), t == null || t.add(O, I.Added), i.push(O), e.setDataType(O);
|
|
@@ -72550,7 +72610,7 @@ function Tq(r, a) {
|
|
|
72550
72610
|
id: r.id + "--status-code-must-be-number",
|
|
72551
72611
|
message: `Entity of type ${r.type} with id "${r.id}" has an invalid value "${a}". The value must be a number.`,
|
|
72552
72612
|
issue: null,
|
|
72553
|
-
severity:
|
|
72613
|
+
severity: D.Error,
|
|
72554
72614
|
code: "status-code-must-be-number",
|
|
72555
72615
|
entity: r
|
|
72556
72616
|
});
|
|
@@ -72564,7 +72624,7 @@ function Tq(r, a) {
|
|
|
72564
72624
|
id: r.id + "--status-code-must-be-between-100-and-599",
|
|
72565
72625
|
message: `Entity of type ${r.type} with id "${r.id}" has an invalid value "${a}". The value must be a number between 100 and 599.`,
|
|
72566
72626
|
issue: null,
|
|
72567
|
-
severity:
|
|
72627
|
+
severity: D.Error,
|
|
72568
72628
|
code: "status-code-must-be-between-100-and-599",
|
|
72569
72629
|
entity: r
|
|
72570
72630
|
});
|
|
@@ -72575,7 +72635,7 @@ function Tq(r, a) {
|
|
|
72575
72635
|
id: r.id + "--status-code-must-be-between-100-and-599",
|
|
72576
72636
|
message: `Entity of type ${r.type} with id "${r.id}" has an invalid value "${a}". The value must be a number between 100 and 599.`,
|
|
72577
72637
|
issue: null,
|
|
72578
|
-
severity:
|
|
72638
|
+
severity: D.Error,
|
|
72579
72639
|
code: "status-code-must-be-between-100-and-599",
|
|
72580
72640
|
entity: r
|
|
72581
72641
|
});
|
|
@@ -73118,7 +73178,7 @@ export {
|
|
|
73118
73178
|
Eq as EndpointEntity,
|
|
73119
73179
|
iq as EntityAction,
|
|
73120
73180
|
Ye as EntityError,
|
|
73121
|
-
|
|
73181
|
+
D as EntityErrorSeverity,
|
|
73122
73182
|
w as EntityGenerationError,
|
|
73123
73183
|
b as EntityGenerationErrorCode,
|
|
73124
73184
|
G as EntityInstanceErrorCode,
|