@elyx-code/project-logic-tree 0.0.6004 → 0.0.6006
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 +715 -705
- package/dist/index.umd.cjs +159 -159
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3253,7 +3253,7 @@ const $e = {
|
|
|
3253
3253
|
orChildrenGroup: null,
|
|
3254
3254
|
isList: !1,
|
|
3255
3255
|
isNullable: !1,
|
|
3256
|
-
constant: !
|
|
3256
|
+
constant: !0,
|
|
3257
3257
|
entity: Fn,
|
|
3258
3258
|
asType: !1,
|
|
3259
3259
|
defaultValue: null,
|
|
@@ -3395,7 +3395,7 @@ const $e = {
|
|
|
3395
3395
|
orChildrenGroup: null,
|
|
3396
3396
|
isList: !1,
|
|
3397
3397
|
isNullable: !1,
|
|
3398
|
-
constant: !
|
|
3398
|
+
constant: !0,
|
|
3399
3399
|
entity: vn,
|
|
3400
3400
|
asType: !1,
|
|
3401
3401
|
defaultValue: null,
|
|
@@ -5267,10 +5267,10 @@ class we extends W {
|
|
|
5267
5267
|
o.includes(y) || d.push(y);
|
|
5268
5268
|
const u = [];
|
|
5269
5269
|
for (const y of o) {
|
|
5270
|
-
const m = s[y],
|
|
5270
|
+
const m = s[y], h = a.data[y];
|
|
5271
5271
|
u.push({
|
|
5272
5272
|
key: { status: "valid", value: y },
|
|
5273
|
-
value: m._parse(new qt(a,
|
|
5273
|
+
value: m._parse(new qt(a, h, a.path, y)),
|
|
5274
5274
|
alwaysSet: y in a.data
|
|
5275
5275
|
});
|
|
5276
5276
|
}
|
|
@@ -5292,11 +5292,11 @@ class we extends W {
|
|
|
5292
5292
|
} else {
|
|
5293
5293
|
const y = this._def.catchall;
|
|
5294
5294
|
for (const m of d) {
|
|
5295
|
-
const
|
|
5295
|
+
const h = a.data[m];
|
|
5296
5296
|
u.push({
|
|
5297
5297
|
key: { status: "valid", value: m },
|
|
5298
5298
|
value: y._parse(
|
|
5299
|
-
new qt(a,
|
|
5299
|
+
new qt(a, h, a.path, m)
|
|
5300
5300
|
//, ctx.child(key), value, getParsedType(value)
|
|
5301
5301
|
),
|
|
5302
5302
|
alwaysSet: m in a.data
|
|
@@ -5306,9 +5306,9 @@ class we extends W {
|
|
|
5306
5306
|
return a.common.async ? Promise.resolve().then(async () => {
|
|
5307
5307
|
const y = [];
|
|
5308
5308
|
for (const m of u) {
|
|
5309
|
-
const
|
|
5309
|
+
const h = await m.key, R = await m.value;
|
|
5310
5310
|
y.push({
|
|
5311
|
-
key:
|
|
5311
|
+
key: h,
|
|
5312
5312
|
value: R,
|
|
5313
5313
|
alwaysSet: m.alwaysSet
|
|
5314
5314
|
});
|
|
@@ -5984,9 +5984,9 @@ class sr extends W {
|
|
|
5984
5984
|
return rt(async function(...u) {
|
|
5985
5985
|
const y = new yt([]), m = await d._def.args.parseAsync(u, s).catch((g) => {
|
|
5986
5986
|
throw y.addIssue(i(u, g)), y;
|
|
5987
|
-
}),
|
|
5988
|
-
return await d._def.returns._def.type.parseAsync(
|
|
5989
|
-
throw y.addIssue(a(
|
|
5987
|
+
}), h = await Reflect.apply(o, this, m);
|
|
5988
|
+
return await d._def.returns._def.type.parseAsync(h, s).catch((g) => {
|
|
5989
|
+
throw y.addIssue(a(h, g)), y;
|
|
5990
5990
|
});
|
|
5991
5991
|
});
|
|
5992
5992
|
} else {
|
|
@@ -5995,10 +5995,10 @@ class sr extends W {
|
|
|
5995
5995
|
const y = d._def.args.safeParse(u, s);
|
|
5996
5996
|
if (!y.success)
|
|
5997
5997
|
throw new yt([i(u, y.error)]);
|
|
5998
|
-
const m = Reflect.apply(o, this, y.data),
|
|
5999
|
-
if (!
|
|
6000
|
-
throw new yt([a(m,
|
|
6001
|
-
return
|
|
5998
|
+
const m = Reflect.apply(o, this, y.data), h = d._def.returns.safeParse(m, s);
|
|
5999
|
+
if (!h.success)
|
|
6000
|
+
throw new yt([a(m, h.error)]);
|
|
6001
|
+
return h.data;
|
|
6002
6002
|
});
|
|
6003
6003
|
}
|
|
6004
6004
|
}
|
|
@@ -6756,8 +6756,8 @@ function Ug(n, e, t) {
|
|
|
6756
6756
|
Is = d, Ps = u, gs = o, d += 122192928e5;
|
|
6757
6757
|
const m = ((d & 268435455) * 1e4 + u) % 4294967296;
|
|
6758
6758
|
a[i++] = m >>> 24 & 255, a[i++] = m >>> 16 & 255, a[i++] = m >>> 8 & 255, a[i++] = m & 255;
|
|
6759
|
-
const
|
|
6760
|
-
a[i++] =
|
|
6759
|
+
const h = d / 4294967296 * 1e4 & 268435455;
|
|
6760
|
+
a[i++] = h >>> 8 & 255, a[i++] = h & 255, a[i++] = h >>> 24 & 15 | 16, a[i++] = h >>> 16 & 255, a[i++] = o >>> 8 | 128, a[i++] = o & 255;
|
|
6761
6761
|
for (let R = 0; R < 6; ++R)
|
|
6762
6762
|
a[i + R] = s[R];
|
|
6763
6763
|
return e || (0, Lg.unsafeStringify)(a);
|
|
@@ -6976,12 +6976,12 @@ function fI(n) {
|
|
|
6976
6976
|
d[g] = s[o][g];
|
|
6977
6977
|
for (let g = 16; g < 80; ++g)
|
|
6978
6978
|
d[g] = Ds(d[g - 3] ^ d[g - 8] ^ d[g - 14] ^ d[g - 16], 1);
|
|
6979
|
-
let u = t[0], y = t[1], m = t[2],
|
|
6979
|
+
let u = t[0], y = t[1], m = t[2], h = t[3], R = t[4];
|
|
6980
6980
|
for (let g = 0; g < 80; ++g) {
|
|
6981
|
-
const O = Math.floor(g / 20), $ = Ds(u, 5) + hI(O, y, m,
|
|
6982
|
-
R =
|
|
6981
|
+
const O = Math.floor(g / 20), $ = Ds(u, 5) + hI(O, y, m, h) + R + e[O] + d[g] >>> 0;
|
|
6982
|
+
R = h, h = m, m = Ds(y, 30) >>> 0, y = u, u = $;
|
|
6983
6983
|
}
|
|
6984
|
-
t[0] = t[0] + u >>> 0, t[1] = t[1] + y >>> 0, t[2] = t[2] + m >>> 0, t[3] = t[3] +
|
|
6984
|
+
t[0] = t[0] + u >>> 0, t[1] = t[1] + y >>> 0, t[2] = t[2] + m >>> 0, t[3] = t[3] + h >>> 0, t[4] = t[4] + R >>> 0;
|
|
6985
6985
|
}
|
|
6986
6986
|
return [t[0] >> 24 & 255, t[0] >> 16 & 255, t[0] >> 8 & 255, t[0] & 255, t[1] >> 24 & 255, t[1] >> 16 & 255, t[1] >> 8 & 255, t[1] & 255, t[2] >> 24 & 255, t[2] >> 16 & 255, t[2] >> 8 & 255, t[2] & 255, t[3] >> 24 & 255, t[3] >> 16 & 255, t[3] >> 8 & 255, t[3] & 255, t[4] >> 24 & 255, t[4] >> 16 & 255, t[4] >> 8 & 255, t[4] & 255];
|
|
6987
6987
|
}
|
|
@@ -7071,8 +7071,8 @@ Ua.default = DI;
|
|
|
7071
7071
|
}
|
|
7072
7072
|
});
|
|
7073
7073
|
var e = m(wa), t = m(_a), i = m($a), a = m(Ga), s = m(Fa), o = m(Ua), d = m(Un), u = m(gn), y = m(_i);
|
|
7074
|
-
function m(
|
|
7075
|
-
return
|
|
7074
|
+
function m(h) {
|
|
7075
|
+
return h && h.__esModule ? h : { default: h };
|
|
7076
7076
|
}
|
|
7077
7077
|
})(qd);
|
|
7078
7078
|
function So(n, e) {
|
|
@@ -7140,7 +7140,7 @@ var MI = (() => {
|
|
|
7140
7140
|
shortIdLength: s,
|
|
7141
7141
|
consistentLength: a.consistentLength,
|
|
7142
7142
|
paddingChar: i[0]
|
|
7143
|
-
}, d = ea(ea.HEX, i), u = ea(i, ea.HEX), y = () => gc(As(), d, o),
|
|
7143
|
+
}, d = ea(ea.HEX, i), u = ea(i, ea.HEX), y = () => gc(As(), d, o), h = {
|
|
7144
7144
|
alphabet: i,
|
|
7145
7145
|
fromUUID: (R) => gc(R, d, o),
|
|
7146
7146
|
maxLength: s,
|
|
@@ -7155,7 +7155,7 @@ var MI = (() => {
|
|
|
7155
7155
|
return g === !1 ? O && $ : O && $ && CI(Ic(R, u));
|
|
7156
7156
|
}
|
|
7157
7157
|
};
|
|
7158
|
-
return Object.freeze(
|
|
7158
|
+
return Object.freeze(h), h;
|
|
7159
7159
|
};
|
|
7160
7160
|
return n.constants = Ss, n.uuid = As, n.generate = () => (Os || (Os = n(Ss.flickrBase58).generate), Os()), n;
|
|
7161
7161
|
})();
|
|
@@ -16512,7 +16512,7 @@ const BV = {
|
|
|
16512
16512
|
loops: [wV],
|
|
16513
16513
|
searches: [$V]
|
|
16514
16514
|
};
|
|
16515
|
-
var
|
|
16515
|
+
var f = /* @__PURE__ */ ((n) => (n.Error = "error", n.Warning = "warning", n))(f || {}), b = /* @__PURE__ */ ((n) => (n.InvalidObjectStructure = "invalid-object-structure", n.NameNotUniqueInScope = "name-not-unique-in-scope", n.EmptyName = "empty-name", n.MissingCaller = "missing-caller", n.PropertyOverwrite = "property-overwrite", n.MethodOverwrite = "method-overwrite", n.NoOverlapWithImplementedSignature = "no-overlap-with-implemented-signature", n.ReaderWriterIncompatibleDataType = "reader-writer-incompatible-data-type", n.UnreachableEntity = "unreachable-entity", n.InternalCallParentMissingDataType = "internal-call-parent-missing-data-type", n.InternalCallParentDeclarationEntityInvalidType = "internal-call-parent-declaration-entity-invalid-type", n.InternalCallDeclarationNotFoundInParentDatatypeEntity = "internal-call-declaration-not-found-in-parent-datatype-entity", n.InternalCallDeclarationIsNotFunctionDeclaration = "internal-call-declaration-is-not-function-declaration", n.InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity", n))(b || {}), p = /* @__PURE__ */ ((n) => (n.RootReference = "root-reference", n.ReferencedEntityNotFound = "referenced-entity-not-found", n.EntityIdNotUnique = "entity-id-not-unique", n.BuiltInEntityGenerated = "built-in-entity-generated", n.BuiltInEntityUpdated = "built-in-entity-updated", n.BuiltInEntityDeleted = "built-in-entity-deleted", n.UnknownEntityType = "unknown-entity-type", n.MissingTypeProperty = "missing-type-property", n.MissingIdProperty = "missing-id-property", n.BuiltInEntityParent = "built-in-entity-parent", n.InvalidBuiltInEntityReference = "invalid-built-in-entity-reference", n.RecommendedImplementAbstractEntityAction = "recommended-implement-abstract-entity-action", n.RecommendedImplementOperationAction = "recommended-implement-operation-action", n.RecommendedImplementFunctionCallAction = "recommended-implement-function-call-action", n.RecommendedImplementVariableDeclarationAction = "recommended-implement-variable-declaration-action", n.RecommendedImplementVariableInstanceAction = "recommended-implement-variable-instance-action", n.RecommendedImplementConditionAction = "recommended-implement-condition-action", n.InvalidReferenceObjectStructure = "invalid-reference-object-structure", n.ContainsSingleButShouldBeReferenceList = "contains-single-but-should-be-reference-list", n.ContainsListButShouldReferenceSingle = "contains-list-but-should-reference-single", n.InvalidParentReference = "invalid-parent-reference", n.InvalidImplementsReference = "invalid-implements-reference", n.InvalidExtendsReference = "invalid-extends-reference", n.InvalidGenerationActionPayload = "invalid-generation-action-payload", n.InvalidReference = "invalid-reference", n.InvalidInternalCallParentRelation = "invalid-internal-call-parent-relation", n.InvalidUpdateEntityOperation = "invalid-update-entity-operation", n.NewEntityWouldOverriteExisting = "new-entity-would-overrite-existing", n.InvalidDownstreamPropertyOverride = "invalid-downstream-property-override", n.UnrecognizedProperty = "unrecognized-property", n.SelfReference = "self-reference", n.DuplicateReference = "duplicate-reference", n.CallerWithIncompatibleScope = "caller-with-incompatible-scope", n.InvalidFunctionDeclarationForFunctionCall = "invalid-function-declaration-for-function-call", n.InvalidInputMapDeclaration = "invalid-input-map-declaration", n.InvalidActionDescriptorForOperation = "invalid-action-descriptor-for-operation", n.InvalidActionDescriptorForCondition = "invalid-action-descriptor-for-condition", n.InvalidActionDescriptorForLoop = "invalid-action-descriptor-for-loop", n.InvalidInmutablePropertyOverride = "invalid-inmutable-property-override", n.OutputOverwrite = "output-overwrite", n.InputOverwrite = "input-overwrite", n.IncompatibleScope = "incompatible-scope", n.InvalidParentUpdate = "invalid-parent-update", n.NonInteractiveEntityReferenced = "non-interactive-entity-referenced", n.InvalidParentRelationType = "invalid-parent-relation-type", n))(p || {}), S = /* @__PURE__ */ ((n) => (n.ScopeWithoutLogic = "scope-without-logic", n.ExtendingAbstractEntity = "extending-abstract-entity", n.ImplementingNonAbstractEntity = "implementing-non-abstract-entity", n.AbstractEntityWithNonAbstractMethods = "abstract-entity-with-non-abstract-methods", n.AbstractEntityWithNonAbstractProperties = "abstract-entity-with-non-abstract-properties", n.StaticEntityWithNonStaticProperties = "static-entity-with-non-static-properties", n.NonStaticPropertyInStaticEntity = "non-static-property-in-static-entity", n.AbstractPropertyInNonAbstractEntity = "abstract-property-in-non-abstract-entity", n.AbstractMethodInNonAbstractEntity = "abstract-method-in-non-abstract-entity", n.IncorrectEntityImplementation = "incorrect-entity-implementation", n.IncorrectMethodImplementation = "incorrect-method-implementation", n.IncorrectPropertyImplementation = "incorrect-property-implementation", n.PropertyImplementsNonAbstact = "property-implements-non-abstract", n.NonStaticPropertyImplementsStatic = "non-static-property-implements-static", n.StaticPropertyImplementsNonStatic = "static-property-implements-non-static", n.PropertyImplementsIncompatibleType = "property-implements-incompatible-type", n.MissingPropertyImplementation = "missing-property-implementation", n.MissingMethodImplementation = "missing-method-implementation", n.NoProperties = "no-properties", n.ReadingFromIncompatibleType = "reading-from-incompatible-type", n.WritingToIncompatibleType = "writing-to-incompatible-type", n.InvalidPropertiesCombination = "invalid-properties-combination", n.DisconnectedCallableEntity = "disconnected-callable-entity", n.VariableReadsValueAndInternalCall = "variable-reads-value-and-internal-call", n.VariableWritesValuesAndInternalCall = "variable-writes-values-and-internal-call", n.VariableHasInputsAndInternalCall = "variable-has-inputs-and-internal-calls", n.VariableHasOutputsAndInternalCall = "variable-has-outputs-and-internal-call", n.VariableIsCalledAndHasInternalCall = "variable-is-called-and-has-internal-call", n.VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call", n))(S || {});
|
|
16516
16516
|
class T {
|
|
16517
16517
|
constructor(e) {
|
|
16518
16518
|
// A deterministic error code, so if the same error occurs again in a subsequent validation run,
|
|
@@ -18986,11 +18986,11 @@ function fF(n, e) {
|
|
|
18986
18986
|
const t = [];
|
|
18987
18987
|
if (!e.abstract) {
|
|
18988
18988
|
const m = U({
|
|
18989
|
-
id: n.id + "--" +
|
|
18989
|
+
id: n.id + "--" + S.ImplementingNonAbstractEntity,
|
|
18990
18990
|
message: `Entity "${n.name}" with id "${n.id}" is implementing a non-abstract entity "${e.name}" with id "${e.id}"`,
|
|
18991
18991
|
issue: null,
|
|
18992
|
-
severity:
|
|
18993
|
-
code:
|
|
18992
|
+
severity: f.Error,
|
|
18993
|
+
code: S.ImplementingNonAbstractEntity,
|
|
18994
18994
|
entity: n
|
|
18995
18995
|
});
|
|
18996
18996
|
return t.push(m.error), t;
|
|
@@ -18998,93 +18998,93 @@ function fF(n, e) {
|
|
|
18998
18998
|
const i = e.properties.filter((m) => m.abstract), a = [];
|
|
18999
18999
|
let s = [...n.properties];
|
|
19000
19000
|
i.forEach((m) => {
|
|
19001
|
-
const
|
|
19001
|
+
const h = s.find(
|
|
19002
19002
|
(R) => {
|
|
19003
19003
|
var g;
|
|
19004
19004
|
return ((g = R.implements) == null ? void 0 : g.id) === m.id;
|
|
19005
19005
|
}
|
|
19006
19006
|
);
|
|
19007
|
-
|
|
19008
|
-
(R) => R.id !==
|
|
19007
|
+
h ? s = s.filter(
|
|
19008
|
+
(R) => R.id !== h.id
|
|
19009
19009
|
) : a.push(m);
|
|
19010
19010
|
}), a.length && a.forEach((m) => {
|
|
19011
|
-
const
|
|
19012
|
-
id: n.id + "--" +
|
|
19011
|
+
const h = U({
|
|
19012
|
+
id: n.id + "--" + S.MissingPropertyImplementation + "--" + m.id,
|
|
19013
19013
|
message: `Property "${m.name}" with id "${m.id}" of entity "${e.name}" with id "${e.id}" is not implemented when entity "${n.name}" with id "${n.id}" implements it`,
|
|
19014
19014
|
issue: null,
|
|
19015
|
-
severity:
|
|
19016
|
-
code:
|
|
19015
|
+
severity: f.Error,
|
|
19016
|
+
code: S.MissingPropertyImplementation,
|
|
19017
19017
|
entity: n
|
|
19018
19018
|
});
|
|
19019
|
-
t.push(
|
|
19019
|
+
t.push(h.error);
|
|
19020
19020
|
});
|
|
19021
19021
|
const o = [];
|
|
19022
19022
|
let d = [...n.methods];
|
|
19023
19023
|
e.abstractMethods.forEach((m) => {
|
|
19024
|
-
const
|
|
19024
|
+
const h = d.find(
|
|
19025
19025
|
(R) => {
|
|
19026
19026
|
var g;
|
|
19027
19027
|
return ((g = R.implements) == null ? void 0 : g.id) === m.id;
|
|
19028
19028
|
}
|
|
19029
19029
|
);
|
|
19030
|
-
|
|
19031
|
-
(R) => R.id !==
|
|
19030
|
+
h ? d = d.filter(
|
|
19031
|
+
(R) => R.id !== h.id
|
|
19032
19032
|
) : o.push(m);
|
|
19033
19033
|
}), o.length && o.forEach((m) => {
|
|
19034
|
-
const
|
|
19035
|
-
id: n.id + "--" +
|
|
19034
|
+
const h = U({
|
|
19035
|
+
id: n.id + "--" + S.MissingMethodImplementation + "--" + m.id,
|
|
19036
19036
|
message: `Method "${m.name}" with id "${m.id}" of entity "${e.name}" with id "${e.id}" is not implemented when entity "${n.name}" with id "${n.id}" implements it`,
|
|
19037
19037
|
issue: null,
|
|
19038
|
-
severity:
|
|
19039
|
-
code:
|
|
19038
|
+
severity: f.Error,
|
|
19039
|
+
code: S.MissingMethodImplementation,
|
|
19040
19040
|
entity: n
|
|
19041
19041
|
});
|
|
19042
|
-
t.push(
|
|
19042
|
+
t.push(h.error);
|
|
19043
19043
|
});
|
|
19044
19044
|
const u = [];
|
|
19045
19045
|
e.properties.forEach((m) => {
|
|
19046
|
-
const
|
|
19046
|
+
const h = s.find(
|
|
19047
19047
|
(R) => R.name === m.name
|
|
19048
19048
|
);
|
|
19049
|
-
|
|
19049
|
+
h && u.push([h, m]);
|
|
19050
19050
|
}), u.length && u.forEach(([m]) => {
|
|
19051
|
-
const
|
|
19051
|
+
const h = U({
|
|
19052
19052
|
id: n.id + "--" + b.PropertyOverwrite + "--" + m.id,
|
|
19053
19053
|
message: `Property "${m.name}" with id "${m.id}" of entity "${n.name}" with id "${n.id}" overwrites the property with the same name from the base entity "${e.name}" with id "${e.id}"`,
|
|
19054
19054
|
issue: null,
|
|
19055
|
-
severity:
|
|
19055
|
+
severity: f.Error,
|
|
19056
19056
|
code: b.PropertyOverwrite,
|
|
19057
19057
|
entity: n
|
|
19058
19058
|
});
|
|
19059
|
-
t.push(
|
|
19059
|
+
t.push(h.error);
|
|
19060
19060
|
});
|
|
19061
19061
|
const y = [];
|
|
19062
19062
|
return e.methods.forEach((m) => {
|
|
19063
|
-
const
|
|
19063
|
+
const h = d.find(
|
|
19064
19064
|
(R) => R.name === m.name
|
|
19065
19065
|
);
|
|
19066
|
-
|
|
19066
|
+
h && y.push([h, m]);
|
|
19067
19067
|
}), y.length && y.forEach(([m]) => {
|
|
19068
|
-
const
|
|
19068
|
+
const h = U({
|
|
19069
19069
|
id: n.id + "--" + b.MethodOverwrite + "--" + m.id,
|
|
19070
19070
|
message: `Method "${m.name}" with id "${m.id}" of entity "${n.name}" with id "${n.id}" overwrites the method with the same name from the base entity "${e.name}" with id "${e.id}"`,
|
|
19071
19071
|
issue: null,
|
|
19072
|
-
severity:
|
|
19072
|
+
severity: f.Error,
|
|
19073
19073
|
code: b.MethodOverwrite,
|
|
19074
19074
|
entity: n
|
|
19075
19075
|
});
|
|
19076
|
-
t.push(
|
|
19076
|
+
t.push(h.error);
|
|
19077
19077
|
}), t;
|
|
19078
19078
|
}
|
|
19079
19079
|
function mF(n, e) {
|
|
19080
19080
|
const t = [], i = [];
|
|
19081
19081
|
if (e.abstract) {
|
|
19082
19082
|
const s = U({
|
|
19083
|
-
id: n.id + "--" +
|
|
19083
|
+
id: n.id + "--" + S.ExtendingAbstractEntity,
|
|
19084
19084
|
message: `Entity "${n.name}" with id "${n.id}" is extending an abstract entity "${e.name}" with id "${e.id}"`,
|
|
19085
19085
|
issue: null,
|
|
19086
|
-
severity:
|
|
19087
|
-
code:
|
|
19086
|
+
severity: f.Error,
|
|
19087
|
+
code: S.ExtendingAbstractEntity,
|
|
19088
19088
|
entity: n
|
|
19089
19089
|
});
|
|
19090
19090
|
return t.push(s.error), t;
|
|
@@ -19101,7 +19101,7 @@ function mF(n, e) {
|
|
|
19101
19101
|
id: n.id + "--" + b.PropertyOverwrite,
|
|
19102
19102
|
message: `Property "${s.name}" with id "${s.id}" of entity "${n.name}" with id "${n.id}" overwrites the property with the same name from the extended entity "${e.name}" with id "${e.id}"`,
|
|
19103
19103
|
issue: null,
|
|
19104
|
-
severity:
|
|
19104
|
+
severity: f.Error,
|
|
19105
19105
|
code: b.PropertyOverwrite,
|
|
19106
19106
|
entity: n
|
|
19107
19107
|
});
|
|
@@ -19120,7 +19120,7 @@ function mF(n, e) {
|
|
|
19120
19120
|
id: n.id + "--" + b.MethodOverwrite,
|
|
19121
19121
|
message: `Method "${s.name}" with id "${s.id}" of entity "${n.name}" with id "${n.id}" overwrites the method with the same name from the extended entity "${e.name}" with id "${e.id}"`,
|
|
19122
19122
|
issue: null,
|
|
19123
|
-
severity:
|
|
19123
|
+
severity: f.Error,
|
|
19124
19124
|
code: b.MethodOverwrite,
|
|
19125
19125
|
entity: n
|
|
19126
19126
|
});
|
|
@@ -19131,11 +19131,11 @@ function TF(n) {
|
|
|
19131
19131
|
const e = [];
|
|
19132
19132
|
if (!n.properties.length) {
|
|
19133
19133
|
const t = U({
|
|
19134
|
-
id: n.id + "--" +
|
|
19134
|
+
id: n.id + "--" + S.NoProperties,
|
|
19135
19135
|
message: "No properties implemented",
|
|
19136
19136
|
issue: null,
|
|
19137
|
-
severity:
|
|
19138
|
-
code:
|
|
19137
|
+
severity: f.Warning,
|
|
19138
|
+
code: S.NoProperties,
|
|
19139
19139
|
entity: n
|
|
19140
19140
|
});
|
|
19141
19141
|
e.push(t.error);
|
|
@@ -19149,32 +19149,32 @@ function EF(n) {
|
|
|
19149
19149
|
if (n.abstract) {
|
|
19150
19150
|
if (n.methods.length) {
|
|
19151
19151
|
const t = U({
|
|
19152
|
-
id: n.id + "--" +
|
|
19152
|
+
id: n.id + "--" + S.AbstractEntityWithNonAbstractMethods,
|
|
19153
19153
|
message: `Entity "${n.name}" with id "${n.id}" is marked as abstract but has non-abstract methods`,
|
|
19154
19154
|
issue: null,
|
|
19155
|
-
severity:
|
|
19156
|
-
code:
|
|
19155
|
+
severity: f.Error,
|
|
19156
|
+
code: S.AbstractEntityWithNonAbstractMethods,
|
|
19157
19157
|
entity: n
|
|
19158
19158
|
});
|
|
19159
19159
|
e.push(t.error);
|
|
19160
19160
|
}
|
|
19161
19161
|
if (n.properties.some((t) => !t.abstract)) {
|
|
19162
19162
|
const t = U({
|
|
19163
|
-
id: n.id + "--" +
|
|
19163
|
+
id: n.id + "--" + S.AbstractEntityWithNonAbstractProperties,
|
|
19164
19164
|
message: `Entity "${n.name}" with id "${n.id}" is marked as abstract but has non-abstract properties`,
|
|
19165
19165
|
issue: null,
|
|
19166
|
-
severity:
|
|
19167
|
-
code:
|
|
19166
|
+
severity: f.Error,
|
|
19167
|
+
code: S.AbstractEntityWithNonAbstractProperties,
|
|
19168
19168
|
entity: n
|
|
19169
19169
|
});
|
|
19170
19170
|
e.push(t.error), n.properties.forEach((i) => {
|
|
19171
19171
|
if (!i.abstract) {
|
|
19172
19172
|
const a = U({
|
|
19173
|
-
id: n.id + "--" +
|
|
19173
|
+
id: n.id + "--" + S.StaticEntityWithNonStaticProperties + "--" + i.id,
|
|
19174
19174
|
message: `Property "${i.name}" with id "${i.id}" of entity "${n.name}" with id "${n.id}" is not marked as abstract but the entity is marked as abstract`,
|
|
19175
19175
|
issue: null,
|
|
19176
|
-
severity:
|
|
19177
|
-
code:
|
|
19176
|
+
severity: f.Error,
|
|
19177
|
+
code: S.StaticEntityWithNonStaticProperties,
|
|
19178
19178
|
entity: n
|
|
19179
19179
|
});
|
|
19180
19180
|
e.push(a.error);
|
|
@@ -19184,32 +19184,32 @@ function EF(n) {
|
|
|
19184
19184
|
} else {
|
|
19185
19185
|
if (n.abstractMethods.length) {
|
|
19186
19186
|
const t = U({
|
|
19187
|
-
id: n.id + "--" +
|
|
19187
|
+
id: n.id + "--" + S.AbstractPropertyInNonAbstractEntity,
|
|
19188
19188
|
message: `Entity "${n.name}" with id "${n.id}" is not marked as abstract but has abstract methods`,
|
|
19189
19189
|
issue: null,
|
|
19190
|
-
severity:
|
|
19191
|
-
code:
|
|
19190
|
+
severity: f.Error,
|
|
19191
|
+
code: S.AbstractPropertyInNonAbstractEntity,
|
|
19192
19192
|
entity: n
|
|
19193
19193
|
});
|
|
19194
19194
|
e.push(t.error);
|
|
19195
19195
|
}
|
|
19196
19196
|
if (n.properties.some((t) => t.abstract)) {
|
|
19197
19197
|
const t = U({
|
|
19198
|
-
id: n.id + "--" +
|
|
19198
|
+
id: n.id + "--" + S.AbstractMethodInNonAbstractEntity,
|
|
19199
19199
|
message: `Entity "${n.name}" with id "${n.id}" is not marked as abstract but has abstract properties`,
|
|
19200
19200
|
issue: null,
|
|
19201
|
-
severity:
|
|
19202
|
-
code:
|
|
19201
|
+
severity: f.Error,
|
|
19202
|
+
code: S.AbstractMethodInNonAbstractEntity,
|
|
19203
19203
|
entity: n
|
|
19204
19204
|
});
|
|
19205
19205
|
e.push(t.error), n.properties.forEach((i) => {
|
|
19206
19206
|
if (i.abstract) {
|
|
19207
19207
|
const a = U({
|
|
19208
|
-
id: n.id + "--" +
|
|
19208
|
+
id: n.id + "--" + S.AbstractMethodInNonAbstractEntity + "--" + i.id,
|
|
19209
19209
|
message: `Property "${i.name}" with id "${i.id}" of entity "${n.name}" with id "${n.id}" is marked as abstract but the entity is not marked as abstract`,
|
|
19210
19210
|
issue: null,
|
|
19211
|
-
severity:
|
|
19212
|
-
code:
|
|
19211
|
+
severity: f.Error,
|
|
19212
|
+
code: S.AbstractMethodInNonAbstractEntity,
|
|
19213
19213
|
entity: n
|
|
19214
19214
|
});
|
|
19215
19215
|
e.push(a.error);
|
|
@@ -19219,21 +19219,21 @@ function EF(n) {
|
|
|
19219
19219
|
}
|
|
19220
19220
|
if (n.static && n.properties.some((t) => !t.static)) {
|
|
19221
19221
|
const t = U({
|
|
19222
|
-
id: n.id + "--" +
|
|
19222
|
+
id: n.id + "--" + S.StaticEntityWithNonStaticProperties,
|
|
19223
19223
|
message: `Entity "${n.name}" with id "${n.id}" is marked as static but has non-static properties`,
|
|
19224
19224
|
issue: null,
|
|
19225
|
-
severity:
|
|
19226
|
-
code:
|
|
19225
|
+
severity: f.Error,
|
|
19226
|
+
code: S.StaticEntityWithNonStaticProperties,
|
|
19227
19227
|
entity: n
|
|
19228
19228
|
});
|
|
19229
19229
|
e.push(t.error), n.properties.forEach((i) => {
|
|
19230
19230
|
if (!i.static) {
|
|
19231
19231
|
const a = U({
|
|
19232
|
-
id: n.id + "--" +
|
|
19232
|
+
id: n.id + "--" + S.NonStaticPropertyInStaticEntity + "--" + i.id,
|
|
19233
19233
|
message: `Property "${i.name}" with id "${i.id}" of entity "${n.name}" with id "${n.id}" is not marked as static but the entity is marked as static`,
|
|
19234
19234
|
issue: null,
|
|
19235
|
-
severity:
|
|
19236
|
-
code:
|
|
19235
|
+
severity: f.Error,
|
|
19236
|
+
code: S.NonStaticPropertyInStaticEntity,
|
|
19237
19237
|
entity: n
|
|
19238
19238
|
});
|
|
19239
19239
|
e.push(a.error);
|
|
@@ -19577,11 +19577,11 @@ function Bh(n, e, t, i) {
|
|
|
19577
19577
|
if (!Ws(n[y], e[y], t, i))
|
|
19578
19578
|
return !1;
|
|
19579
19579
|
} else {
|
|
19580
|
-
var m = ke(n),
|
|
19580
|
+
var m = ke(n), h;
|
|
19581
19581
|
if (y = m.length, ke(e).length !== y)
|
|
19582
19582
|
return !1;
|
|
19583
19583
|
for (; y--; )
|
|
19584
|
-
if (
|
|
19584
|
+
if (h = m[y], !(Sn(e, h) && Ws(n[h], e[h], t, i)))
|
|
19585
19585
|
return !1;
|
|
19586
19586
|
}
|
|
19587
19587
|
return t.pop(), i.pop(), !0;
|
|
@@ -19812,11 +19812,11 @@ function vU(n, e, t) {
|
|
|
19812
19812
|
(e.interpolate || Cs).source,
|
|
19813
19813
|
(e.evaluate || Cs).source
|
|
19814
19814
|
].join("|") + "|$", "g"), a = 0, s = "__p+='";
|
|
19815
|
-
n.replace(i, function(y, m,
|
|
19815
|
+
n.replace(i, function(y, m, h, R, g) {
|
|
19816
19816
|
return s += n.slice(a, g).replace(EU, RU), a = g + y.length, m ? s += `'+
|
|
19817
19817
|
((__t=(` + m + `))==null?'':_.escape(__t))+
|
|
19818
|
-
'` :
|
|
19819
|
-
((__t=(` +
|
|
19818
|
+
'` : h ? s += `'+
|
|
19819
|
+
((__t=(` + h + `))==null?'':__t)+
|
|
19820
19820
|
'` : R && (s += `';
|
|
19821
19821
|
` + R + `
|
|
19822
19822
|
__p+='`), y;
|
|
@@ -19941,8 +19941,8 @@ function CU(n, e, t) {
|
|
|
19941
19941
|
}, y = function() {
|
|
19942
19942
|
var m = bi();
|
|
19943
19943
|
!d && t.leading === !1 && (d = m);
|
|
19944
|
-
var
|
|
19945
|
-
return a = this, s = arguments,
|
|
19944
|
+
var h = e - (m - d);
|
|
19945
|
+
return a = this, s = arguments, h <= 0 || h > e ? (i && (clearTimeout(i), i = null), d = m, o = n.apply(a, s), i || (a = s = null)) : !i && t.trailing !== !1 && (i = setTimeout(u, h)), o;
|
|
19946
19946
|
};
|
|
19947
19947
|
return y.cancel = function() {
|
|
19948
19948
|
clearTimeout(i), d = 0, i = a = s = null;
|
|
@@ -20127,8 +20127,8 @@ function nf(n, e, t) {
|
|
|
20127
20127
|
for (var d = 0, u = n.length; d < u; d++)
|
|
20128
20128
|
s = n[d], s != null && s > i && (i = s);
|
|
20129
20129
|
} else
|
|
20130
|
-
e = vt(e, t), an(n, function(y, m,
|
|
20131
|
-
o = e(y, m,
|
|
20130
|
+
e = vt(e, t), an(n, function(y, m, h) {
|
|
20131
|
+
o = e(y, m, h), (o > a || o === -1 / 0 && i === -1 / 0) && (i = y, a = o);
|
|
20132
20132
|
});
|
|
20133
20133
|
return i;
|
|
20134
20134
|
}
|
|
@@ -20139,8 +20139,8 @@ function FU(n, e, t) {
|
|
|
20139
20139
|
for (var d = 0, u = n.length; d < u; d++)
|
|
20140
20140
|
s = n[d], s != null && s < i && (i = s);
|
|
20141
20141
|
} else
|
|
20142
|
-
e = vt(e, t), an(n, function(y, m,
|
|
20143
|
-
o = e(y, m,
|
|
20142
|
+
e = vt(e, t), an(n, function(y, m, h) {
|
|
20143
|
+
o = e(y, m, h), (o < a || o === 1 / 0 && i === 1 / 0) && (i = y, a = o);
|
|
20144
20144
|
});
|
|
20145
20145
|
return i;
|
|
20146
20146
|
}
|
|
@@ -20517,7 +20517,7 @@ function d8(n, e) {
|
|
|
20517
20517
|
}
|
|
20518
20518
|
var Mt = /* @__PURE__ */ ((n) => (n.BothUnconstrained = "both-unconstrained", n.AConstraintBUnconstrained = "a-constraint-b-unconstrained", n.BConstraintAUnconstrained = "b-constraint-a-unconstrained", n.Same = "same", n.AIsListBIsNot = "a-is-list-b-is-not", n.BIsListAIsNot = "b-is-list-a-is-not", n.AIsNullableBIsNot = "a-is-nullable-b-is-not", n.BIsNullableAIsNot = "b-is-nullable-a-is-not", n.AIsTemplateBIsNot = "a-is-template-b-is-not", n.BIsTemplateAIsNot = "b-is-template-a-is-not", n.BothUntyped = "both-untyped", n.AIsUntypedBIsNot = "a-is-untyped-b-is-not", n.BIsUntypedAIsNot = "b-is-untyped-a-is-not", n.TypeEntityMismatch = "type-entity-mismatch", n.SameCustomEntities = "same-custom-entities", n.CompatibleCustomEntities = "compatible-custom-entities", n.IncompatibleCustomEntities = "incompatible-custom-entities", n.SamePrimitiveEntities = "same-primitive-entities", n.IncompatiblePrimitiveEntities = "incompatible-primitive-entities", n.SameBuiltInBaseEntities = "same-built-in-base-entities", n.IncompatibleBuiltInBaseEntities = "incompatible-built-in-base-entities", n.CheckUnknown = "check-unknown", n))(Mt || {});
|
|
20519
20519
|
function lc(n, e) {
|
|
20520
|
-
var t, i, a, s, o, d, u, y, m,
|
|
20520
|
+
var t, i, a, s, o, d, u, y, m, h, R;
|
|
20521
20521
|
if (n && n.type !== r.DataType || e && e.type !== r.DataType)
|
|
20522
20522
|
throw new Error(
|
|
20523
20523
|
`Expected data-type entities for comparison. But got ${n == null ? void 0 : n.type} and ${e == null ? void 0 : e.type}.`
|
|
@@ -20619,7 +20619,7 @@ function lc(n, e) {
|
|
|
20619
20619
|
compatible: !1,
|
|
20620
20620
|
type: "incompatible-primitive-entities"
|
|
20621
20621
|
/* IncompatiblePrimitiveEntities */
|
|
20622
|
-
} : ((m = n.entity) == null ? void 0 : m.type) === r.BuiltInBaseEntity ? ((
|
|
20622
|
+
} : ((m = n.entity) == null ? void 0 : m.type) === r.BuiltInBaseEntity ? ((h = n.entity) == null ? void 0 : h.id) === ((R = e.entity) == null ? void 0 : R.id) ? {
|
|
20623
20623
|
compatible: !0,
|
|
20624
20624
|
type: "same-built-in-base-entities"
|
|
20625
20625
|
/* SameBuiltInBaseEntities */
|
|
@@ -21250,7 +21250,7 @@ function dc(n, e) {
|
|
|
21250
21250
|
new T({
|
|
21251
21251
|
id: `${n.id}--${b.EmptyName}`,
|
|
21252
21252
|
message: `Entity with id "${n.id}" and type "${n.type}" has an empty name. Please provide a 'name' string.`,
|
|
21253
|
-
severity:
|
|
21253
|
+
severity: f.Error,
|
|
21254
21254
|
code: b.EmptyName,
|
|
21255
21255
|
issue: null
|
|
21256
21256
|
})
|
|
@@ -21263,7 +21263,7 @@ function dc(n, e) {
|
|
|
21263
21263
|
id: `${n.id}--${b.NameNotUniqueInScope}`,
|
|
21264
21264
|
message: `Entity with id "${n.id}" and type "${n.type}" has a name "${n.name}" that is not unique in the project. Entity with id "${i[0].id}" has the same name.
|
|
21265
21265
|
Please provide a unique 'name' string.`,
|
|
21266
|
-
severity:
|
|
21266
|
+
severity: f.Error,
|
|
21267
21267
|
code: b.NameNotUniqueInScope,
|
|
21268
21268
|
issue: null
|
|
21269
21269
|
})
|
|
@@ -21275,7 +21275,7 @@ function hf(n, e) {
|
|
|
21275
21275
|
new T({
|
|
21276
21276
|
id: `${n.id}--${b.EmptyName}`,
|
|
21277
21277
|
message: `Entity with id "${n.id}" and type "${n.type}" has an empty name. Please provide a 'name' string.`,
|
|
21278
|
-
severity:
|
|
21278
|
+
severity: f.Error,
|
|
21279
21279
|
code: b.EmptyName,
|
|
21280
21280
|
issue: null
|
|
21281
21281
|
})
|
|
@@ -21299,7 +21299,7 @@ function hf(n, e) {
|
|
|
21299
21299
|
id: `${n.id}--${b.NameNotUniqueInScope}`,
|
|
21300
21300
|
message: `Entity with id "${n.id}" and type "${n.type}" has a name "${n.name}" that is not unique in ${a.type === r.Project ? "the globally declared project scope" : "its parent entity"}. Entity with id "${o[0].id}" has the same name.
|
|
21301
21301
|
Please provide a unique 'name' string.`,
|
|
21302
|
-
severity:
|
|
21302
|
+
severity: f.Error,
|
|
21303
21303
|
code: b.NameNotUniqueInScope,
|
|
21304
21304
|
issue: null
|
|
21305
21305
|
})
|
|
@@ -21311,7 +21311,7 @@ function ff(n, e) {
|
|
|
21311
21311
|
new T({
|
|
21312
21312
|
id: `${n.id}--${b.EmptyName}`,
|
|
21313
21313
|
message: `Entity with id "${n.id}" and type "${n.type}" has an empty name. Please provide a 'name' string.`,
|
|
21314
|
-
severity:
|
|
21314
|
+
severity: f.Error,
|
|
21315
21315
|
code: b.EmptyName,
|
|
21316
21316
|
issue: null
|
|
21317
21317
|
})
|
|
@@ -21322,7 +21322,7 @@ function ff(n, e) {
|
|
|
21322
21322
|
new T({
|
|
21323
21323
|
id: `${n.id}--parent-reference--${p.ReferencedEntityNotFound}`,
|
|
21324
21324
|
message: `The entity with id '${n.parent}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
21325
|
-
severity:
|
|
21325
|
+
severity: f.Error,
|
|
21326
21326
|
code: p.ReferencedEntityNotFound,
|
|
21327
21327
|
issue: null
|
|
21328
21328
|
})
|
|
@@ -21338,7 +21338,7 @@ function ff(n, e) {
|
|
|
21338
21338
|
id: `${n.id}--${b.NameNotUniqueInScope}`,
|
|
21339
21339
|
message: `Entity with id "${n.id}" and type "${n.type}" has a name "${n.name}" that is not unique in its scope or higher scopes. Entity with id "${s[0].id}" has the same name.
|
|
21340
21340
|
Please provide a unique 'name' string.`,
|
|
21341
|
-
severity:
|
|
21341
|
+
severity: f.Error,
|
|
21342
21342
|
code: b.NameNotUniqueInScope,
|
|
21343
21343
|
issue: null
|
|
21344
21344
|
})
|
|
@@ -21352,7 +21352,7 @@ function mf(n, e) {
|
|
|
21352
21352
|
new T({
|
|
21353
21353
|
id: `${n.id}--${b.EmptyName}`,
|
|
21354
21354
|
message: `Entity with id "${n.id}" and type "${n.type}" has an empty name. Please provide a 'name' string.`,
|
|
21355
|
-
severity:
|
|
21355
|
+
severity: f.Error,
|
|
21356
21356
|
code: b.EmptyName,
|
|
21357
21357
|
issue: null
|
|
21358
21358
|
})
|
|
@@ -21363,7 +21363,7 @@ function mf(n, e) {
|
|
|
21363
21363
|
new T({
|
|
21364
21364
|
id: `${n.id}--parent-reference--${p.InvalidReferenceObjectStructure}`,
|
|
21365
21365
|
message: `Reference object at 'parent' property for entity with id "${n.id}" and type "${n.type}" is not a valid reference. A reference needs to be a 'id' string of an existing entity in the project.`,
|
|
21366
|
-
severity:
|
|
21366
|
+
severity: f.Error,
|
|
21367
21367
|
code: p.InvalidReferenceObjectStructure,
|
|
21368
21368
|
issue: null
|
|
21369
21369
|
})
|
|
@@ -21375,7 +21375,7 @@ function mf(n, e) {
|
|
|
21375
21375
|
new T({
|
|
21376
21376
|
id: `${n.id}--parent-reference--${p.ReferencedEntityNotFound}`,
|
|
21377
21377
|
message: `The entity with id '${i}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
21378
|
-
severity:
|
|
21378
|
+
severity: f.Error,
|
|
21379
21379
|
code: p.ReferencedEntityNotFound,
|
|
21380
21380
|
issue: null
|
|
21381
21381
|
})
|
|
@@ -21389,7 +21389,7 @@ function mf(n, e) {
|
|
|
21389
21389
|
id: `${n.id}--${b.NameNotUniqueInScope}`,
|
|
21390
21390
|
message: `Entity with id "${n.id}" and type "${n.type}" has a name "${n.name}" that is not unique among all properties in the parent entity. Entity with id "${o[0].id}" has the same name.
|
|
21391
21391
|
Please provide a unique 'name' string.`,
|
|
21392
|
-
severity:
|
|
21392
|
+
severity: f.Error,
|
|
21393
21393
|
code: b.NameNotUniqueInScope,
|
|
21394
21394
|
issue: null
|
|
21395
21395
|
})
|
|
@@ -21404,7 +21404,7 @@ function Tf(n, e) {
|
|
|
21404
21404
|
new T({
|
|
21405
21405
|
id: `${n.id}--${b.EmptyName}`,
|
|
21406
21406
|
message: `Entity with id "${n.id}" and type "${n.type}" has an empty name. Please provide a 'name' string.`,
|
|
21407
|
-
severity:
|
|
21407
|
+
severity: f.Error,
|
|
21408
21408
|
code: b.EmptyName,
|
|
21409
21409
|
issue: null
|
|
21410
21410
|
})
|
|
@@ -21415,7 +21415,7 @@ function Tf(n, e) {
|
|
|
21415
21415
|
new T({
|
|
21416
21416
|
id: `${n.id}--parent-reference--${p.InvalidReferenceObjectStructure}`,
|
|
21417
21417
|
message: `Reference object at 'parent' property for entity with id "${n.id}" and type "${n.type}" is not a valid reference. A reference needs to be a 'id' string of an existing entity in the project.`,
|
|
21418
|
-
severity:
|
|
21418
|
+
severity: f.Error,
|
|
21419
21419
|
code: p.InvalidReferenceObjectStructure,
|
|
21420
21420
|
issue: null
|
|
21421
21421
|
})
|
|
@@ -21427,7 +21427,7 @@ function Tf(n, e) {
|
|
|
21427
21427
|
new T({
|
|
21428
21428
|
id: `${n.id}--parent-reference--${p.ReferencedEntityNotFound}`,
|
|
21429
21429
|
message: `The entity with id '${i}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
21430
|
-
severity:
|
|
21430
|
+
severity: f.Error,
|
|
21431
21431
|
code: p.ReferencedEntityNotFound,
|
|
21432
21432
|
issue: null
|
|
21433
21433
|
})
|
|
@@ -21443,7 +21443,7 @@ function Tf(n, e) {
|
|
|
21443
21443
|
id: `${n.id}--${b.NameNotUniqueInScope}`,
|
|
21444
21444
|
message: `Entity with id "${n.id}" and type "${n.type}" has a name "${n.name}" that is not unique among all inputs declared in the parent entity. Entity with id "${o[0].id}" has the same name.
|
|
21445
21445
|
Please provide a unique 'name' string.`,
|
|
21446
|
-
severity:
|
|
21446
|
+
severity: f.Error,
|
|
21447
21447
|
code: b.NameNotUniqueInScope,
|
|
21448
21448
|
issue: null
|
|
21449
21449
|
})
|
|
@@ -21458,7 +21458,7 @@ function Ef(n, e) {
|
|
|
21458
21458
|
new T({
|
|
21459
21459
|
id: `${n.id}--${b.EmptyName}`,
|
|
21460
21460
|
message: `Entity with id "${n.id}" and type "${n.type}" has an empty name. Please provide a 'name' string.`,
|
|
21461
|
-
severity:
|
|
21461
|
+
severity: f.Error,
|
|
21462
21462
|
code: b.EmptyName,
|
|
21463
21463
|
issue: null
|
|
21464
21464
|
})
|
|
@@ -21469,7 +21469,7 @@ function Ef(n, e) {
|
|
|
21469
21469
|
new T({
|
|
21470
21470
|
id: `${n.id}--parent-reference--${p.InvalidReferenceObjectStructure}`,
|
|
21471
21471
|
message: `Reference object at 'parent' property for entity with id "${n.id}" and type "${n.type}" is not a valid reference. A reference needs to be a 'id' string of an existing entity in the project.`,
|
|
21472
|
-
severity:
|
|
21472
|
+
severity: f.Error,
|
|
21473
21473
|
code: p.InvalidReferenceObjectStructure,
|
|
21474
21474
|
issue: null
|
|
21475
21475
|
})
|
|
@@ -21481,7 +21481,7 @@ function Ef(n, e) {
|
|
|
21481
21481
|
new T({
|
|
21482
21482
|
id: `${n.id}--parent-reference--${p.ReferencedEntityNotFound}`,
|
|
21483
21483
|
message: `The entity with id '${i}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
21484
|
-
severity:
|
|
21484
|
+
severity: f.Error,
|
|
21485
21485
|
code: p.ReferencedEntityNotFound,
|
|
21486
21486
|
issue: null
|
|
21487
21487
|
})
|
|
@@ -21497,7 +21497,7 @@ function Ef(n, e) {
|
|
|
21497
21497
|
id: `${n.id}--${b.NameNotUniqueInScope}`,
|
|
21498
21498
|
message: `Entity with id "${n.id}" and type "${n.type}" has a name "${n.name}" that is not unique among all outputs declared in the parent entity. Entity with id "${o[0].id}" has the same name.
|
|
21499
21499
|
Please provide a unique 'name' string.`,
|
|
21500
|
-
severity:
|
|
21500
|
+
severity: f.Error,
|
|
21501
21501
|
code: b.NameNotUniqueInScope,
|
|
21502
21502
|
issue: null
|
|
21503
21503
|
})
|
|
@@ -21552,14 +21552,14 @@ function A8(n) {
|
|
|
21552
21552
|
const s = [...a];
|
|
21553
21553
|
if (n.id === "80c86e1b-caca-4ba5-9b1f-38f72d10e4a3") {
|
|
21554
21554
|
const d = U({
|
|
21555
|
-
id: `${n.id}--${
|
|
21555
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
21556
21556
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
21557
21557
|
n,
|
|
21558
21558
|
n.project
|
|
21559
21559
|
)}" with id "${n.id}".`,
|
|
21560
21560
|
issue: null,
|
|
21561
|
-
severity:
|
|
21562
|
-
code:
|
|
21561
|
+
severity: f.Error,
|
|
21562
|
+
code: S.PropertyImplementsNonAbstact,
|
|
21563
21563
|
entity: n
|
|
21564
21564
|
});
|
|
21565
21565
|
s.push(d.error);
|
|
@@ -21573,21 +21573,21 @@ function S8(n) {
|
|
|
21573
21573
|
const t = n.implements;
|
|
21574
21574
|
if (!t.abstract) {
|
|
21575
21575
|
const a = U({
|
|
21576
|
-
id: `${n.id}--${
|
|
21576
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
21577
21577
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
21578
21578
|
t,
|
|
21579
21579
|
n.project
|
|
21580
21580
|
)}" with id "${t.id}".`,
|
|
21581
21581
|
issue: null,
|
|
21582
|
-
severity:
|
|
21583
|
-
code:
|
|
21582
|
+
severity: f.Error,
|
|
21583
|
+
code: S.PropertyImplementsNonAbstact,
|
|
21584
21584
|
entity: n
|
|
21585
21585
|
});
|
|
21586
21586
|
e.push(a.error);
|
|
21587
21587
|
}
|
|
21588
21588
|
if (n.static && !t.static) {
|
|
21589
21589
|
const a = U({
|
|
21590
|
-
id: `${n.id}--${
|
|
21590
|
+
id: `${n.id}--${S.NonStaticPropertyImplementsStatic}`,
|
|
21591
21591
|
message: `Static property "${D(
|
|
21592
21592
|
n,
|
|
21593
21593
|
n.project
|
|
@@ -21596,15 +21596,15 @@ function S8(n) {
|
|
|
21596
21596
|
n.project
|
|
21597
21597
|
)}" with id "${t.id}".`,
|
|
21598
21598
|
issue: null,
|
|
21599
|
-
severity:
|
|
21600
|
-
code:
|
|
21599
|
+
severity: f.Error,
|
|
21600
|
+
code: S.NonStaticPropertyImplementsStatic,
|
|
21601
21601
|
entity: n
|
|
21602
21602
|
});
|
|
21603
21603
|
e.push(a.error);
|
|
21604
21604
|
}
|
|
21605
21605
|
if (!n.static && t.static) {
|
|
21606
21606
|
const a = U({
|
|
21607
|
-
id: `${n.id}--${
|
|
21607
|
+
id: `${n.id}--${S.StaticPropertyImplementsNonStatic}`,
|
|
21608
21608
|
message: `Non-static property "${D(
|
|
21609
21609
|
n,
|
|
21610
21610
|
n.project
|
|
@@ -21613,8 +21613,8 @@ function S8(n) {
|
|
|
21613
21613
|
n.project
|
|
21614
21614
|
)}" with id "${t.id}".`,
|
|
21615
21615
|
issue: null,
|
|
21616
|
-
severity:
|
|
21617
|
-
code:
|
|
21616
|
+
severity: f.Error,
|
|
21617
|
+
code: S.StaticPropertyImplementsNonStatic,
|
|
21618
21618
|
entity: n
|
|
21619
21619
|
});
|
|
21620
21620
|
e.push(a.error);
|
|
@@ -21624,14 +21624,14 @@ function S8(n) {
|
|
|
21624
21624
|
t.dataType
|
|
21625
21625
|
)) {
|
|
21626
21626
|
const a = U({
|
|
21627
|
-
id: `${n.id}--${
|
|
21627
|
+
id: `${n.id}--${S.PropertyImplementsIncompatibleType}`,
|
|
21628
21628
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a property "${D(
|
|
21629
21629
|
t,
|
|
21630
21630
|
n.project
|
|
21631
21631
|
)}" with id "${t.id}" that has an incompatible data type.`,
|
|
21632
21632
|
issue: null,
|
|
21633
|
-
severity:
|
|
21634
|
-
code:
|
|
21633
|
+
severity: f.Error,
|
|
21634
|
+
code: S.PropertyImplementsIncompatibleType,
|
|
21635
21635
|
entity: n
|
|
21636
21636
|
});
|
|
21637
21637
|
e.push(a.error);
|
|
@@ -21647,7 +21647,7 @@ function O8(n, e) {
|
|
|
21647
21647
|
new T({
|
|
21648
21648
|
id: `${n.id}--${n.parent}--${p.ReferencedEntityNotFound}`,
|
|
21649
21649
|
code: p.ReferencedEntityNotFound,
|
|
21650
|
-
severity:
|
|
21650
|
+
severity: f.Error,
|
|
21651
21651
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${n.parent}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
21652
21652
|
issue: null
|
|
21653
21653
|
})
|
|
@@ -21663,7 +21663,7 @@ function O8(n, e) {
|
|
|
21663
21663
|
new T({
|
|
21664
21664
|
id: `${n.id}--${p.InvalidBuiltInEntityReference}`,
|
|
21665
21665
|
code: p.InvalidBuiltInEntityReference,
|
|
21666
|
-
severity:
|
|
21666
|
+
severity: f.Error,
|
|
21667
21667
|
message: o,
|
|
21668
21668
|
issue: null
|
|
21669
21669
|
})
|
|
@@ -21673,7 +21673,7 @@ function O8(n, e) {
|
|
|
21673
21673
|
new T({
|
|
21674
21674
|
id: `${n.id}--${n.parent}--${p.InvalidParentReference}`,
|
|
21675
21675
|
code: p.InvalidParentReference,
|
|
21676
|
-
severity:
|
|
21676
|
+
severity: f.Error,
|
|
21677
21677
|
message: `Entity of type "${n.type}" with id "${n.id}", has a parent reference that isn't pointing to an entity of type 'custom-entity'.`,
|
|
21678
21678
|
issue: null
|
|
21679
21679
|
})
|
|
@@ -21698,7 +21698,7 @@ ${xn}`, t.push(
|
|
|
21698
21698
|
new T({
|
|
21699
21699
|
id: `${n.id}--${p.NonInteractiveEntityReferenced}`,
|
|
21700
21700
|
code: p.NonInteractiveEntityReferenced,
|
|
21701
|
-
severity:
|
|
21701
|
+
severity: f.Error,
|
|
21702
21702
|
message: u,
|
|
21703
21703
|
issue: null
|
|
21704
21704
|
})
|
|
@@ -21712,7 +21712,7 @@ ${xn}`, t.push(
|
|
|
21712
21712
|
new T({
|
|
21713
21713
|
id: `${n.id}--${n.implements}--${p.SelfReference}`,
|
|
21714
21714
|
code: p.SelfReference,
|
|
21715
|
-
severity:
|
|
21715
|
+
severity: f.Error,
|
|
21716
21716
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to itself at 'implements'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
21717
21717
|
issue: null
|
|
21718
21718
|
})
|
|
@@ -21722,7 +21722,7 @@ ${xn}`, t.push(
|
|
|
21722
21722
|
new T({
|
|
21723
21723
|
id: `${n.id}--${n.implements}--${p.ReferencedEntityNotFound}`,
|
|
21724
21724
|
code: p.ReferencedEntityNotFound,
|
|
21725
|
-
severity:
|
|
21725
|
+
severity: f.Error,
|
|
21726
21726
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${n.implements}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
21727
21727
|
issue: null
|
|
21728
21728
|
})
|
|
@@ -21730,15 +21730,15 @@ ${xn}`, t.push(
|
|
|
21730
21730
|
else {
|
|
21731
21731
|
const y = a.properties.find(
|
|
21732
21732
|
(m) => {
|
|
21733
|
-
var
|
|
21734
|
-
return ((
|
|
21733
|
+
var h;
|
|
21734
|
+
return ((h = m.implements) == null ? void 0 : h.id) === n.implements;
|
|
21735
21735
|
}
|
|
21736
21736
|
);
|
|
21737
21737
|
y ? t.push(
|
|
21738
21738
|
new T({
|
|
21739
21739
|
id: `${n.id}--${b.PropertyOverwrite}`,
|
|
21740
21740
|
code: b.PropertyOverwrite,
|
|
21741
|
-
severity:
|
|
21741
|
+
severity: f.Error,
|
|
21742
21742
|
message: `The property with id "${n.id}" is trying to implement the property with id "${n.implements}", but the parent entity already has a property with id '${y.id}' that implements the same base property.`,
|
|
21743
21743
|
issue: null
|
|
21744
21744
|
})
|
|
@@ -21746,7 +21746,7 @@ ${xn}`, t.push(
|
|
|
21746
21746
|
new T({
|
|
21747
21747
|
id: `${n.id}--${n.implements}--${p.InvalidImplementsReference}`,
|
|
21748
21748
|
code: p.InvalidImplementsReference,
|
|
21749
|
-
severity:
|
|
21749
|
+
severity: f.Error,
|
|
21750
21750
|
message: `Entity of type "${n.type}" with id "${n.id}", has an 'implements' reference that isn't pointing to an abstract entity.`,
|
|
21751
21751
|
issue: null
|
|
21752
21752
|
})
|
|
@@ -21754,7 +21754,7 @@ ${xn}`, t.push(
|
|
|
21754
21754
|
new T({
|
|
21755
21755
|
id: `${n.id}--${n.implements}--${p.InvalidImplementsReference}`,
|
|
21756
21756
|
code: p.InvalidImplementsReference,
|
|
21757
|
-
severity:
|
|
21757
|
+
severity: f.Error,
|
|
21758
21758
|
message: `Entity of type "${n.type}" with id "${n.id}", has an 'implements' reference that isn't pointing to an entity of type 'property'.`,
|
|
21759
21759
|
issue: null
|
|
21760
21760
|
})
|
|
@@ -21856,7 +21856,7 @@ const pe = class pe {
|
|
|
21856
21856
|
new T({
|
|
21857
21857
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
21858
21858
|
code: p.InvalidParentUpdate,
|
|
21859
|
-
severity:
|
|
21859
|
+
severity: f.Error,
|
|
21860
21860
|
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.
|
|
21861
21861
|
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.`,
|
|
21862
21862
|
issue: null
|
|
@@ -21865,7 +21865,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
21865
21865
|
new T({
|
|
21866
21866
|
id: `${this.id}--${b.InvalidObjectStructure}`,
|
|
21867
21867
|
code: b.InvalidObjectStructure,
|
|
21868
|
-
severity:
|
|
21868
|
+
severity: f.Error,
|
|
21869
21869
|
message: `Entity of type '${this.type}' with id '${this.id}' is not a value reading or writing entity.
|
|
21870
21870
|
${to}`,
|
|
21871
21871
|
issue: null
|
|
@@ -21945,8 +21945,8 @@ ${to}`,
|
|
|
21945
21945
|
i.push(...s), a.push(...o);
|
|
21946
21946
|
}
|
|
21947
21947
|
return e || this.parent.type === r.CustomEntity && (this.parent.removeProperty(this), i.push(this.parent)), {
|
|
21948
|
-
affected:
|
|
21949
|
-
removed:
|
|
21948
|
+
affected: A(i),
|
|
21949
|
+
removed: A(a)
|
|
21950
21950
|
};
|
|
21951
21951
|
}
|
|
21952
21952
|
// Re-add this entity to the state after it was removed
|
|
@@ -22112,12 +22112,12 @@ ${to}`,
|
|
|
22112
22112
|
i
|
|
22113
22113
|
)) || null;
|
|
22114
22114
|
if (y && u.setDataType(y), this.implements) {
|
|
22115
|
-
const
|
|
22115
|
+
const h = this.implements.clone(
|
|
22116
22116
|
e || this.parent.type === r.CustomEntity ? e : null,
|
|
22117
22117
|
o + "-implements-id",
|
|
22118
22118
|
i
|
|
22119
22119
|
);
|
|
22120
|
-
u.implements =
|
|
22120
|
+
u.implements = h;
|
|
22121
22121
|
}
|
|
22122
22122
|
return u;
|
|
22123
22123
|
}
|
|
@@ -22173,14 +22173,14 @@ function C8(n) {
|
|
|
22173
22173
|
const d = [...a, ...s];
|
|
22174
22174
|
if (n.id === "getCompanyByIdEndpointReachedEntityEvent") {
|
|
22175
22175
|
const u = U({
|
|
22176
|
-
id: `${n.id}--${
|
|
22176
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
22177
22177
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
22178
22178
|
n,
|
|
22179
22179
|
n.project
|
|
22180
22180
|
)}" with id "${n.id}".`,
|
|
22181
22181
|
issue: null,
|
|
22182
|
-
severity:
|
|
22183
|
-
code:
|
|
22182
|
+
severity: f.Error,
|
|
22183
|
+
code: S.PropertyImplementsNonAbstact,
|
|
22184
22184
|
entity: n
|
|
22185
22185
|
});
|
|
22186
22186
|
d.push(u.error);
|
|
@@ -22191,11 +22191,11 @@ function w8(n) {
|
|
|
22191
22191
|
const e = [];
|
|
22192
22192
|
if (!n.calls.length) {
|
|
22193
22193
|
const t = U({
|
|
22194
|
-
id: `${n.id}--${
|
|
22194
|
+
id: `${n.id}--${S.ScopeWithoutLogic}`,
|
|
22195
22195
|
message: `Action "${D(n, n.project)}" with id "${n.id}" does not have any logic defined. So it doesn't do anything.`,
|
|
22196
22196
|
issue: null,
|
|
22197
|
-
severity:
|
|
22198
|
-
code:
|
|
22197
|
+
severity: f.Error,
|
|
22198
|
+
code: S.ScopeWithoutLogic,
|
|
22199
22199
|
entity: n
|
|
22200
22200
|
});
|
|
22201
22201
|
e.push(t.error);
|
|
@@ -22308,17 +22308,17 @@ const Q = class Q {
|
|
|
22308
22308
|
i = s.modifiedData;
|
|
22309
22309
|
const o = hf(i, t), d = i.parent ? t.get(i.parent) : null;
|
|
22310
22310
|
if (d && d.type === r.CustomEntity) {
|
|
22311
|
-
const
|
|
22311
|
+
const h = d, g = Kn(h).filter(
|
|
22312
22312
|
(O) => !O.interactive
|
|
22313
22313
|
);
|
|
22314
22314
|
if (g.length) {
|
|
22315
|
-
let O = g.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${
|
|
22315
|
+
let O = g.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${h.id}' because it extends or implements multiple '${r.BuiltInBaseEntity}' entities that are non-interactive ("${_(
|
|
22316
22316
|
g.map(
|
|
22317
22317
|
($) => D($, $.project)
|
|
22318
22318
|
),
|
|
22319
22319
|
'", "',
|
|
22320
22320
|
'" and "'
|
|
22321
|
-
)}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${
|
|
22321
|
+
)}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${h.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${D(
|
|
22322
22322
|
g[0],
|
|
22323
22323
|
g[0].project
|
|
22324
22324
|
)}").`;
|
|
@@ -22327,13 +22327,13 @@ ${xn}`, a.push(
|
|
|
22327
22327
|
new T({
|
|
22328
22328
|
id: `${e.id}--${p.NonInteractiveEntityReferenced}`,
|
|
22329
22329
|
code: p.NonInteractiveEntityReferenced,
|
|
22330
|
-
severity:
|
|
22330
|
+
severity: f.Error,
|
|
22331
22331
|
message: O,
|
|
22332
22332
|
issue: null
|
|
22333
22333
|
})
|
|
22334
22334
|
);
|
|
22335
22335
|
} else {
|
|
22336
|
-
const O =
|
|
22336
|
+
const O = h.methods.find(
|
|
22337
22337
|
(Bt) => {
|
|
22338
22338
|
var _e;
|
|
22339
22339
|
return ((_e = Bt.implements) == null ? void 0 : _e.id) === i.implements;
|
|
@@ -22343,7 +22343,7 @@ ${xn}`, a.push(
|
|
|
22343
22343
|
new T({
|
|
22344
22344
|
id: `${i.id}--${b.MethodOverwrite}`,
|
|
22345
22345
|
code: b.MethodOverwrite,
|
|
22346
|
-
severity:
|
|
22346
|
+
severity: f.Error,
|
|
22347
22347
|
message: `The '${r.FunctionDeclaration}' with id "${i.id}" is trying to implement the '${r.ActionDescriptor}' with id "${i.implements}", but the parent custom-entity already has a ${r.FunctionDeclaration} with id '${O.id}' that implements the same base method.
|
|
22348
22348
|
A ${r.FunctionDeclaration} that has a parent of type '${r.CustomEntity}' is considered a method of that entity, and cannot implement the same '${r.ActionDescriptor}' more than once.
|
|
22349
22349
|
${r.ActionDescriptor} entities inside a ${r.CustomEntity} are considered abstract methods that can be implemented by ${r.FunctionDeclaration} entities inside the same parent.
|
|
@@ -22352,14 +22352,14 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
22352
22352
|
})
|
|
22353
22353
|
);
|
|
22354
22354
|
const $ = i.implements;
|
|
22355
|
-
|
|
22355
|
+
h.abstractMethods.find(
|
|
22356
22356
|
(Bt) => Bt.id === $
|
|
22357
22357
|
) || a.push(
|
|
22358
22358
|
new T({
|
|
22359
22359
|
id: `${i.id}--${p.InvalidImplementsReference}`,
|
|
22360
22360
|
code: p.InvalidImplementsReference,
|
|
22361
|
-
severity:
|
|
22362
|
-
message: `The '${r.FunctionDeclaration}' with id "${i.id}" is trying to implement the '${r.ActionDescriptor}' with id "${i.implements}", but the parent custom-entity with id "${
|
|
22361
|
+
severity: f.Error,
|
|
22362
|
+
message: `The '${r.FunctionDeclaration}' with id "${i.id}" is trying to implement the '${r.ActionDescriptor}' with id "${i.implements}", but the parent custom-entity with id "${h.id}" does not have a action descriptor (abstract method) with that id.
|
|
22363
22363
|
A ${r.FunctionDeclaration} that has a parent of type '${r.CustomEntity}' 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.
|
|
22364
22364
|
If you want to implement a new method, you can create a new 'function-declaration' inside the parent custom-entity. But note that often custom-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 custom-entity is first created.
|
|
22365
22365
|
If you want to modify the existing implementation, you can update the existing method instead, but it will have to match the same base ${r.ActionDescriptor} signature, otherwise the implementation will have a validation error.`,
|
|
@@ -22368,12 +22368,12 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
22368
22368
|
);
|
|
22369
22369
|
}
|
|
22370
22370
|
} else if (d && d.type === r.Loop) {
|
|
22371
|
-
const
|
|
22372
|
-
|
|
22371
|
+
const h = d.body;
|
|
22372
|
+
h && ((m = h.implements) == null ? void 0 : m.id) === i.implements && a.push(
|
|
22373
22373
|
new T({
|
|
22374
22374
|
id: `${i.id}--${b.MethodOverwrite}`,
|
|
22375
22375
|
code: b.MethodOverwrite,
|
|
22376
|
-
severity:
|
|
22376
|
+
severity: f.Error,
|
|
22377
22377
|
message: `The '${r.FunctionDeclaration}' with id "${i.id}" is being added as the 'body' of the ${r.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.`,
|
|
22378
22378
|
issue: null
|
|
22379
22379
|
})
|
|
@@ -22384,7 +22384,7 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
22384
22384
|
new T({
|
|
22385
22385
|
id: `${e.id}--${p.BuiltInEntityParent}`,
|
|
22386
22386
|
code: p.BuiltInEntityParent,
|
|
22387
|
-
severity:
|
|
22387
|
+
severity: f.Error,
|
|
22388
22388
|
message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${D(
|
|
22389
22389
|
y,
|
|
22390
22390
|
t
|
|
@@ -22406,7 +22406,7 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
22406
22406
|
new T({
|
|
22407
22407
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
22408
22408
|
code: p.InvalidParentUpdate,
|
|
22409
|
-
severity:
|
|
22409
|
+
severity: f.Error,
|
|
22410
22410
|
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.
|
|
22411
22411
|
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.`,
|
|
22412
22412
|
issue: null
|
|
@@ -22415,7 +22415,7 @@ This is likely an incorrect strategy because this is a globally declared '${this
|
|
|
22415
22415
|
new T({
|
|
22416
22416
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
22417
22417
|
code: p.InvalidParentUpdate,
|
|
22418
|
-
severity:
|
|
22418
|
+
severity: f.Error,
|
|
22419
22419
|
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.
|
|
22420
22420
|
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.
|
|
22421
22421
|
Please consider that any updates might affect the overlap with the signature of the parent entity's action descriptors.`,
|
|
@@ -22531,8 +22531,8 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
22531
22531
|
});
|
|
22532
22532
|
i.push(...d), a.push(...u);
|
|
22533
22533
|
}), {
|
|
22534
|
-
affected:
|
|
22535
|
-
removed:
|
|
22534
|
+
affected: A(i),
|
|
22535
|
+
removed: A(a)
|
|
22536
22536
|
});
|
|
22537
22537
|
}
|
|
22538
22538
|
// Re-add this entity to the state after it was removed
|
|
@@ -22549,7 +22549,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
22549
22549
|
const { affected: s } = a.restore({ seenEntities: e });
|
|
22550
22550
|
t.push(...s);
|
|
22551
22551
|
}), {
|
|
22552
|
-
affected:
|
|
22552
|
+
affected: A(t),
|
|
22553
22553
|
self: this
|
|
22554
22554
|
});
|
|
22555
22555
|
}
|
|
@@ -22805,11 +22805,11 @@ function M8(n) {
|
|
|
22805
22805
|
const a = [];
|
|
22806
22806
|
if (n.entity && n.andChildrenGroup || n.entity && n.orChildrenGroup || n.andChildrenGroup && n.orChildrenGroup) {
|
|
22807
22807
|
const s = U({
|
|
22808
|
-
id: n.id + "--" +
|
|
22808
|
+
id: n.id + "--" + S.InvalidPropertiesCombination,
|
|
22809
22809
|
message: `Data type with id "${n.id}" has invalid properties combination. Only one of the following properties can be present at the time: 'entity', 'andChildrenGroup' or 'orChildrenGroup'`,
|
|
22810
22810
|
issue: null,
|
|
22811
|
-
severity:
|
|
22812
|
-
code:
|
|
22811
|
+
severity: f.Error,
|
|
22812
|
+
code: S.InvalidPropertiesCombination,
|
|
22813
22813
|
entity: n
|
|
22814
22814
|
});
|
|
22815
22815
|
a.push(s.error);
|
|
@@ -22837,7 +22837,7 @@ function _8(n, e) {
|
|
|
22837
22837
|
new T({
|
|
22838
22838
|
id: `${n.id}--${n.parent}--${p.SelfReference}`,
|
|
22839
22839
|
code: p.SelfReference,
|
|
22840
|
-
severity:
|
|
22840
|
+
severity: f.Error,
|
|
22841
22841
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to itself at 'parent'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
22842
22842
|
issue: null
|
|
22843
22843
|
})
|
|
@@ -22848,7 +22848,7 @@ function _8(n, e) {
|
|
|
22848
22848
|
new T({
|
|
22849
22849
|
id: `${n.id}--${n.parent}--${p.InvalidParentReference}`,
|
|
22850
22850
|
code: p.InvalidParentReference,
|
|
22851
|
-
severity:
|
|
22851
|
+
severity: f.Error,
|
|
22852
22852
|
message: `Entity of type "${n.type}" with id "${n.id}", has a parent reference that isn't pointing to an entity of type ${a}.`,
|
|
22853
22853
|
issue: null
|
|
22854
22854
|
})
|
|
@@ -22856,7 +22856,7 @@ function _8(n, e) {
|
|
|
22856
22856
|
new T({
|
|
22857
22857
|
id: `${n.id}--${n.parent}--${p.ReferencedEntityNotFound}`,
|
|
22858
22858
|
code: p.ReferencedEntityNotFound,
|
|
22859
|
-
severity:
|
|
22859
|
+
severity: f.Error,
|
|
22860
22860
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${n.parent}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
22861
22861
|
issue: null
|
|
22862
22862
|
})
|
|
@@ -22867,7 +22867,7 @@ function _8(n, e) {
|
|
|
22867
22867
|
new T({
|
|
22868
22868
|
id: `${n.id}--${b.InvalidObjectStructure}`,
|
|
22869
22869
|
code: b.InvalidObjectStructure,
|
|
22870
|
-
severity:
|
|
22870
|
+
severity: f.Error,
|
|
22871
22871
|
message: `Entity of type "${n.type}" with id "${n.id}" is missing a 'parent' reference. The 'parent' of a 'data-type' entity must be a reference to an entity of type ${a}.`,
|
|
22872
22872
|
issue: null
|
|
22873
22873
|
})
|
|
@@ -22878,7 +22878,7 @@ function _8(n, e) {
|
|
|
22878
22878
|
new T({
|
|
22879
22879
|
id: `${n.id}--${n.entity}--${p.SelfReference}`,
|
|
22880
22880
|
code: p.SelfReference,
|
|
22881
|
-
severity:
|
|
22881
|
+
severity: f.Error,
|
|
22882
22882
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to itself at 'entity'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
22883
22883
|
issue: null
|
|
22884
22884
|
})
|
|
@@ -22893,7 +22893,7 @@ function _8(n, e) {
|
|
|
22893
22893
|
new T({
|
|
22894
22894
|
id: `${n.id}--${n.entity}--${p.InvalidImplementsReference}`,
|
|
22895
22895
|
code: p.InvalidImplementsReference,
|
|
22896
|
-
severity:
|
|
22896
|
+
severity: f.Error,
|
|
22897
22897
|
message: `Entity of type "${n.type}" with id "${n.id}", has an 'entity' reference that isn't pointing to an entity of type 'custom-entity', 'primitive-entity', 'action-descriptor' or 'built-in-base-entity'.`,
|
|
22898
22898
|
issue: null
|
|
22899
22899
|
})
|
|
@@ -22901,7 +22901,7 @@ function _8(n, e) {
|
|
|
22901
22901
|
new T({
|
|
22902
22902
|
id: `${n.id}--${n.entity}--${p.ReferencedEntityNotFound}`,
|
|
22903
22903
|
code: p.ReferencedEntityNotFound,
|
|
22904
|
-
severity:
|
|
22904
|
+
severity: f.Error,
|
|
22905
22905
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${n.entity}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
22906
22906
|
issue: null
|
|
22907
22907
|
})
|
|
@@ -22979,20 +22979,20 @@ const ye = class ye {
|
|
|
22979
22979
|
), i.entity) {
|
|
22980
22980
|
const y = t.get(i.entity);
|
|
22981
22981
|
if (y.type === r.CustomEntity) {
|
|
22982
|
-
const
|
|
22982
|
+
const h = Kn(y).filter(
|
|
22983
22983
|
(R) => !R.interactive
|
|
22984
22984
|
);
|
|
22985
|
-
if (
|
|
22986
|
-
const R =
|
|
22987
|
-
|
|
22985
|
+
if (h.length) {
|
|
22986
|
+
const R = h.length > 1 ? `entities with ids '${_(
|
|
22987
|
+
h.map((g) => g.id),
|
|
22988
22988
|
"', '",
|
|
22989
22989
|
"' and '"
|
|
22990
|
-
)}'` : `entity with id '${
|
|
22990
|
+
)}'` : `entity with id '${h[0].id}'`;
|
|
22991
22991
|
a.push(
|
|
22992
22992
|
new T({
|
|
22993
22993
|
id: `${e.id}--${p.NonInteractiveEntityReferenced}`,
|
|
22994
22994
|
code: p.NonInteractiveEntityReferenced,
|
|
22995
|
-
severity:
|
|
22995
|
+
severity: f.Error,
|
|
22996
22996
|
message: `The entity with id '${e.id}' and type '${e.type}', cannot reference 'custom-entity' with id '${i.entity}' at 'entity'. The entity extends or implements non-interactive built-in-base-entity ${R}.
|
|
22997
22997
|
${xn}`,
|
|
22998
22998
|
issue: null
|
|
@@ -23007,7 +23007,7 @@ ${xn}`,
|
|
|
23007
23007
|
new T({
|
|
23008
23008
|
id: `${e.id}--${p.BuiltInEntityParent}`,
|
|
23009
23009
|
code: p.BuiltInEntityParent,
|
|
23010
|
-
severity:
|
|
23010
|
+
severity: f.Error,
|
|
23011
23011
|
message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${D(
|
|
23012
23012
|
d,
|
|
23013
23013
|
t
|
|
@@ -23027,7 +23027,7 @@ ${xn}`,
|
|
|
23027
23027
|
new T({
|
|
23028
23028
|
id: `${e.id}--${p.InvalidParentRelationType}`,
|
|
23029
23029
|
code: p.InvalidParentRelationType,
|
|
23030
|
-
severity:
|
|
23030
|
+
severity: f.Error,
|
|
23031
23031
|
message: `The entity with id '${e.id}' and type '${e.type}', cannot have a 'parentRelationType' property set of type '${y}'.
|
|
23032
23032
|
The entitities of type '${_(
|
|
23033
23033
|
m,
|
|
@@ -23037,13 +23037,13 @@ The entitities of type '${_(
|
|
|
23037
23037
|
issue: null
|
|
23038
23038
|
})
|
|
23039
23039
|
), o.dataType)) {
|
|
23040
|
-
const
|
|
23040
|
+
const h = (u = o.dataType) == null ? void 0 : u.id;
|
|
23041
23041
|
a.push(
|
|
23042
23042
|
new T({
|
|
23043
23043
|
id: `${e.id}--${p.NewEntityWouldOverriteExisting}`,
|
|
23044
23044
|
code: p.NewEntityWouldOverriteExisting,
|
|
23045
|
-
severity:
|
|
23046
|
-
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 '${y}', because it already has a 'data-type' child with id '${
|
|
23045
|
+
severity: f.Error,
|
|
23046
|
+
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 '${y}', because it already has a 'data-type' child with id '${h}'.
|
|
23047
23047
|
The entitities of type '${_(
|
|
23048
23048
|
m,
|
|
23049
23049
|
"', '",
|
|
@@ -23051,7 +23051,7 @@ The entitities of type '${_(
|
|
|
23051
23051
|
)}' can only have one 'data-type' child under the 'dataType' property. You can inspect the existing data-type entity with the 'describe_entity' action. Like so:
|
|
23052
23052
|
${Xt(
|
|
23053
23053
|
{
|
|
23054
|
-
describe_entity:
|
|
23054
|
+
describe_entity: h
|
|
23055
23055
|
}
|
|
23056
23056
|
)}
|
|
23057
23057
|
Alternatively you can update the entity with 'update' action. Or replace it by first removing it and then creating a new one.`,
|
|
@@ -23063,7 +23063,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
23063
23063
|
new T({
|
|
23064
23064
|
id: `${e.id}--${p.InvalidParentRelationType}`,
|
|
23065
23065
|
code: p.InvalidParentRelationType,
|
|
23066
|
-
severity:
|
|
23066
|
+
severity: f.Error,
|
|
23067
23067
|
message: `The entity with id '${e.id}' and type '${e.type}', must have a 'parentRelationType' property set to either 'dynamic-argument-types' or 'dynamic-return-types' when being added as a child to an entity of type 'action-descriptor'.`,
|
|
23068
23068
|
issue: null
|
|
23069
23069
|
})
|
|
@@ -23071,7 +23071,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
23071
23071
|
new T({
|
|
23072
23072
|
id: `${e.id}--${p.InvalidParentRelationType}`,
|
|
23073
23073
|
code: p.InvalidParentRelationType,
|
|
23074
|
-
severity:
|
|
23074
|
+
severity: f.Error,
|
|
23075
23075
|
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'.`,
|
|
23076
23076
|
issue: null
|
|
23077
23077
|
})
|
|
@@ -23208,8 +23208,8 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
23208
23208
|
i.push(s);
|
|
23209
23209
|
}
|
|
23210
23210
|
return {
|
|
23211
|
-
affected:
|
|
23212
|
-
removed:
|
|
23211
|
+
affected: A(i),
|
|
23212
|
+
removed: A(a)
|
|
23213
23213
|
};
|
|
23214
23214
|
}
|
|
23215
23215
|
// Re-add this entity to the state after it was removed
|
|
@@ -23408,14 +23408,14 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
23408
23408
|
d + "-and-group-data-type-" + k + "-id",
|
|
23409
23409
|
i
|
|
23410
23410
|
)
|
|
23411
|
-
),
|
|
23411
|
+
), h = (O = this.orChildrenGroup) == null ? void 0 : O.map(
|
|
23412
23412
|
($, k) => $.clone(
|
|
23413
23413
|
this,
|
|
23414
23414
|
d + "-or-group-data-type-" + k + "-id",
|
|
23415
23415
|
i
|
|
23416
23416
|
)
|
|
23417
23417
|
);
|
|
23418
|
-
return u.andChildrenGroup = m || null, u.orChildrenGroup =
|
|
23418
|
+
return u.andChildrenGroup = m || null, u.orChildrenGroup = h || null, u;
|
|
23419
23419
|
}
|
|
23420
23420
|
// Add a child to the 'and' group
|
|
23421
23421
|
addToAndGroup(e) {
|
|
@@ -23481,14 +23481,14 @@ function N8(n) {
|
|
|
23481
23481
|
const a = x8(n), s = On(n), o = [...a, ...s];
|
|
23482
23482
|
if (n.id === "exec-sequentially-operation-call-id") {
|
|
23483
23483
|
const u = U({
|
|
23484
|
-
id: `${n.id}--${
|
|
23484
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
23485
23485
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
23486
23486
|
n,
|
|
23487
23487
|
n.project
|
|
23488
23488
|
)}" with id "${n.id}".`,
|
|
23489
23489
|
issue: null,
|
|
23490
|
-
severity:
|
|
23491
|
-
code:
|
|
23490
|
+
severity: f.Error,
|
|
23491
|
+
code: S.PropertyImplementsNonAbstact,
|
|
23492
23492
|
entity: n
|
|
23493
23493
|
});
|
|
23494
23494
|
o.push(u.error);
|
|
@@ -23542,19 +23542,19 @@ const K = class K {
|
|
|
23542
23542
|
static fromGenerationTarget(e, t) {
|
|
23543
23543
|
let i = t;
|
|
23544
23544
|
if (e.parent) {
|
|
23545
|
-
const
|
|
23546
|
-
i = t.get(
|
|
23545
|
+
const h = P(e.parent);
|
|
23546
|
+
i = t.get(h);
|
|
23547
23547
|
}
|
|
23548
23548
|
const a = P(e.declaration), s = t.get(
|
|
23549
23549
|
a
|
|
23550
|
-
), o = e.calledByEntry.map((
|
|
23551
|
-
const R = P(
|
|
23550
|
+
), o = e.calledByEntry.map((h) => {
|
|
23551
|
+
const R = P(h);
|
|
23552
23552
|
return t.get(R);
|
|
23553
|
-
}), d = e.calledBySuccess.map((
|
|
23554
|
-
const R = P(
|
|
23553
|
+
}), d = e.calledBySuccess.map((h) => {
|
|
23554
|
+
const R = P(h);
|
|
23555
23555
|
return t.get(R);
|
|
23556
|
-
}), u = e.calledByError.map((
|
|
23557
|
-
const R = P(
|
|
23556
|
+
}), u = e.calledByError.map((h) => {
|
|
23557
|
+
const R = P(h);
|
|
23558
23558
|
return t.get(R);
|
|
23559
23559
|
}), y = {
|
|
23560
23560
|
id: e.id,
|
|
@@ -23642,7 +23642,7 @@ All built-in 'action-descriptor' entity ids are:
|
|
|
23642
23642
|
new T({
|
|
23643
23643
|
id: `${i.id}--${p.InvalidReference}`,
|
|
23644
23644
|
code: p.InvalidReference,
|
|
23645
|
-
severity:
|
|
23645
|
+
severity: f.Error,
|
|
23646
23646
|
message: `Entity of type "${r.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.
|
|
23647
23647
|
References can either be an ID string or an object with exacly four properties: 'id', 'entityId', 'entityType', 'type'.${d}`,
|
|
23648
23648
|
issue: null
|
|
@@ -23660,7 +23660,7 @@ References can either be an ID string or an object with exacly four properties:
|
|
|
23660
23660
|
new T({
|
|
23661
23661
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
23662
23662
|
code: p.InvalidParentUpdate,
|
|
23663
|
-
severity:
|
|
23663
|
+
severity: f.Error,
|
|
23664
23664
|
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.
|
|
23665
23665
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
23666
23666
|
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.`,
|
|
@@ -23877,8 +23877,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
23877
23877
|
}), e || this.calledBy.forEach((o) => {
|
|
23878
23878
|
i.push(o), o.removeCall(this);
|
|
23879
23879
|
}), {
|
|
23880
|
-
affected:
|
|
23881
|
-
removed:
|
|
23880
|
+
affected: A(i),
|
|
23881
|
+
removed: A(a)
|
|
23882
23882
|
};
|
|
23883
23883
|
}
|
|
23884
23884
|
// Re-add this entity to the state after it was removed
|
|
@@ -23911,7 +23911,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
23911
23911
|
}), this.calledByEntry.forEach((i) => {
|
|
23912
23912
|
t.push(i), i.addCall(this);
|
|
23913
23913
|
}), {
|
|
23914
|
-
affected:
|
|
23914
|
+
affected: A(t),
|
|
23915
23915
|
self: this
|
|
23916
23916
|
};
|
|
23917
23917
|
}
|
|
@@ -24224,7 +24224,7 @@ const ee = class ee {
|
|
|
24224
24224
|
new T({
|
|
24225
24225
|
id: `${e.id}--${b.InvalidObjectStructure}`,
|
|
24226
24226
|
code: b.InvalidObjectStructure,
|
|
24227
|
-
severity:
|
|
24227
|
+
severity: f.Error,
|
|
24228
24228
|
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.
|
|
24229
24229
|
${$s(
|
|
24230
24230
|
t
|
|
@@ -24239,7 +24239,7 @@ ${$s(
|
|
|
24239
24239
|
new T({
|
|
24240
24240
|
id: `${e.id}--${p.ReferencedEntityNotFound}`,
|
|
24241
24241
|
code: p.ReferencedEntityNotFound,
|
|
24242
|
-
severity:
|
|
24242
|
+
severity: f.Error,
|
|
24243
24243
|
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.
|
|
24244
24244
|
${$s(
|
|
24245
24245
|
t
|
|
@@ -24254,7 +24254,7 @@ ${$s(
|
|
|
24254
24254
|
new T({
|
|
24255
24255
|
id: `${e.id}--${p.InvalidImplementsReference}`,
|
|
24256
24256
|
code: p.InvalidImplementsReference,
|
|
24257
|
-
severity:
|
|
24257
|
+
severity: f.Error,
|
|
24258
24258
|
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.
|
|
24259
24259
|
${$s(
|
|
24260
24260
|
t
|
|
@@ -24270,7 +24270,7 @@ ${$s(
|
|
|
24270
24270
|
new T({
|
|
24271
24271
|
id: `${e.id}--${p.InvalidImplementsReference}`,
|
|
24272
24272
|
code: p.InvalidImplementsReference,
|
|
24273
|
-
severity:
|
|
24273
|
+
severity: f.Error,
|
|
24274
24274
|
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.
|
|
24275
24275
|
You can attach new logic to the existing 'global-event' but creating a new callable entity that gets called by it.`,
|
|
24276
24276
|
issue: null
|
|
@@ -24288,7 +24288,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
24288
24288
|
new T({
|
|
24289
24289
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
24290
24290
|
code: p.InvalidParentUpdate,
|
|
24291
|
-
severity:
|
|
24291
|
+
severity: f.Error,
|
|
24292
24292
|
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.`,
|
|
24293
24293
|
issue: null
|
|
24294
24294
|
})
|
|
@@ -24398,8 +24398,8 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
24398
24398
|
});
|
|
24399
24399
|
i.push(...d), a.push(...u);
|
|
24400
24400
|
}), {
|
|
24401
|
-
affected:
|
|
24402
|
-
removed:
|
|
24401
|
+
affected: A(i),
|
|
24402
|
+
removed: A(a)
|
|
24403
24403
|
});
|
|
24404
24404
|
}
|
|
24405
24405
|
// Re-add this entity to the state after it was removed
|
|
@@ -24416,7 +24416,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
24416
24416
|
const { affected: s } = a.restore({ seenEntities: e });
|
|
24417
24417
|
t.push(...s);
|
|
24418
24418
|
}), {
|
|
24419
|
-
affected:
|
|
24419
|
+
affected: A(t),
|
|
24420
24420
|
self: this
|
|
24421
24421
|
});
|
|
24422
24422
|
}
|
|
@@ -24603,14 +24603,14 @@ function V8(n) {
|
|
|
24603
24603
|
const s = [...On(n)];
|
|
24604
24604
|
if (n.id === "iterate-over-list-loop-id") {
|
|
24605
24605
|
const u = U({
|
|
24606
|
-
id: `${n.id}--${
|
|
24606
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
24607
24607
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
24608
24608
|
n,
|
|
24609
24609
|
n.project
|
|
24610
24610
|
)}" with id "${n.id}".`,
|
|
24611
24611
|
issue: null,
|
|
24612
|
-
severity:
|
|
24613
|
-
code:
|
|
24612
|
+
severity: f.Error,
|
|
24613
|
+
code: S.PropertyImplementsNonAbstact,
|
|
24614
24614
|
entity: n
|
|
24615
24615
|
});
|
|
24616
24616
|
s.push(u.error);
|
|
@@ -24673,19 +24673,19 @@ const te = class te {
|
|
|
24673
24673
|
static fromGenerationTarget(e, t) {
|
|
24674
24674
|
let i = t;
|
|
24675
24675
|
if (e.parent) {
|
|
24676
|
-
const
|
|
24677
|
-
i = t.get(
|
|
24676
|
+
const h = P(e.parent);
|
|
24677
|
+
i = t.get(h);
|
|
24678
24678
|
}
|
|
24679
24679
|
const a = P(e.declaration), s = t.get(
|
|
24680
24680
|
a
|
|
24681
|
-
), o = e.calledByEntry.map((
|
|
24682
|
-
const R = P(
|
|
24681
|
+
), o = e.calledByEntry.map((h) => {
|
|
24682
|
+
const R = P(h);
|
|
24683
24683
|
return t.get(R);
|
|
24684
|
-
}), d = e.calledBySuccess.map((
|
|
24685
|
-
const R = P(
|
|
24684
|
+
}), d = e.calledBySuccess.map((h) => {
|
|
24685
|
+
const R = P(h);
|
|
24686
24686
|
return t.get(R);
|
|
24687
|
-
}), u = e.calledByError.map((
|
|
24688
|
-
const R = P(
|
|
24687
|
+
}), u = e.calledByError.map((h) => {
|
|
24688
|
+
const R = P(h);
|
|
24689
24689
|
return t.get(R);
|
|
24690
24690
|
}), y = {
|
|
24691
24691
|
id: e.id,
|
|
@@ -24759,7 +24759,7 @@ const te = class te {
|
|
|
24759
24759
|
new T({
|
|
24760
24760
|
id: `${e.id}--${p.InvalidImplementsReference}`,
|
|
24761
24761
|
code: p.InvalidImplementsReference,
|
|
24762
|
-
severity:
|
|
24762
|
+
severity: f.Error,
|
|
24763
24763
|
message: `Entity of type '${e.type}' with id '${e.id}' has an 'declaration' property that isn't pointing to an action descriptor reserved for '${r.Condition}' entities.
|
|
24764
24764
|
${Vs(t)}`,
|
|
24765
24765
|
issue: null
|
|
@@ -24768,7 +24768,7 @@ ${Vs(t)}`,
|
|
|
24768
24768
|
new T({
|
|
24769
24769
|
id: `${e.id}--${p.ReferencedEntityNotFound}`,
|
|
24770
24770
|
code: p.ReferencedEntityNotFound,
|
|
24771
|
-
severity:
|
|
24771
|
+
severity: f.Error,
|
|
24772
24772
|
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 '${r.Condition}' entities.
|
|
24773
24773
|
${Vs(t)}`,
|
|
24774
24774
|
issue: null
|
|
@@ -24777,7 +24777,7 @@ ${Vs(t)}`,
|
|
|
24777
24777
|
new T({
|
|
24778
24778
|
id: `${e.id}--${b.InvalidObjectStructure}`,
|
|
24779
24779
|
code: b.InvalidObjectStructure,
|
|
24780
|
-
severity:
|
|
24780
|
+
severity: f.Error,
|
|
24781
24781
|
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 '${r.Condition}' entities.
|
|
24782
24782
|
${Vs(t)}`,
|
|
24783
24783
|
issue: null
|
|
@@ -24793,7 +24793,7 @@ ${Vs(t)}`,
|
|
|
24793
24793
|
new T({
|
|
24794
24794
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
24795
24795
|
code: p.InvalidParentUpdate,
|
|
24796
|
-
severity:
|
|
24796
|
+
severity: f.Error,
|
|
24797
24797
|
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.
|
|
24798
24798
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
24799
24799
|
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.`,
|
|
@@ -24995,8 +24995,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
24995
24995
|
}), e || this.calledBy.forEach((s) => {
|
|
24996
24996
|
i.push(s), s.removeCall(this);
|
|
24997
24997
|
}), {
|
|
24998
|
-
affected:
|
|
24999
|
-
removed:
|
|
24998
|
+
affected: A(i),
|
|
24999
|
+
removed: A(a)
|
|
25000
25000
|
};
|
|
25001
25001
|
}
|
|
25002
25002
|
// Re-add this entity to the state after it was removed
|
|
@@ -25023,7 +25023,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
25023
25023
|
}), this.calledByEntry.forEach((i) => {
|
|
25024
25024
|
t.push(i), i.addCall(this);
|
|
25025
25025
|
}), {
|
|
25026
|
-
affected:
|
|
25026
|
+
affected: A(t),
|
|
25027
25027
|
self: this
|
|
25028
25028
|
});
|
|
25029
25029
|
}
|
|
@@ -25324,14 +25324,14 @@ const he = class he {
|
|
|
25324
25324
|
i = t.get(m);
|
|
25325
25325
|
}
|
|
25326
25326
|
const a = e.calledByEntry.map((m) => {
|
|
25327
|
-
const
|
|
25328
|
-
return t.get(
|
|
25327
|
+
const h = P(m);
|
|
25328
|
+
return t.get(h);
|
|
25329
25329
|
}), s = e.calledBySuccess.map((m) => {
|
|
25330
|
-
const
|
|
25331
|
-
return t.get(
|
|
25330
|
+
const h = P(m);
|
|
25331
|
+
return t.get(h);
|
|
25332
25332
|
}), o = e.calledByError.map((m) => {
|
|
25333
|
-
const
|
|
25334
|
-
return t.get(
|
|
25333
|
+
const h = P(m);
|
|
25334
|
+
return t.get(h);
|
|
25335
25335
|
});
|
|
25336
25336
|
let d;
|
|
25337
25337
|
if (e.declaration) {
|
|
@@ -25399,7 +25399,7 @@ const he = class he {
|
|
|
25399
25399
|
new T({
|
|
25400
25400
|
id: `${e.id}--${p.InvalidImplementsReference}`,
|
|
25401
25401
|
code: p.InvalidImplementsReference,
|
|
25402
|
-
severity:
|
|
25402
|
+
severity: f.Error,
|
|
25403
25403
|
message: `Entity of type '${e.type}' with id '${e.id}' has an 'declaration' property that isn't pointing to an action descriptor reserved for '${r.Condition}' entities.
|
|
25404
25404
|
${Gs(
|
|
25405
25405
|
t
|
|
@@ -25410,7 +25410,7 @@ ${Gs(
|
|
|
25410
25410
|
new T({
|
|
25411
25411
|
id: `${e.id}--${p.ReferencedEntityNotFound}`,
|
|
25412
25412
|
code: p.ReferencedEntityNotFound,
|
|
25413
|
-
severity:
|
|
25413
|
+
severity: f.Error,
|
|
25414
25414
|
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 '${r.Condition}' entities.
|
|
25415
25415
|
${Gs(
|
|
25416
25416
|
t
|
|
@@ -25421,7 +25421,7 @@ ${Gs(
|
|
|
25421
25421
|
new T({
|
|
25422
25422
|
id: `${e.id}--${b.InvalidObjectStructure}`,
|
|
25423
25423
|
code: b.InvalidObjectStructure,
|
|
25424
|
-
severity:
|
|
25424
|
+
severity: f.Error,
|
|
25425
25425
|
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 '${r.Condition}' entities.
|
|
25426
25426
|
${Gs(
|
|
25427
25427
|
t
|
|
@@ -25439,7 +25439,7 @@ ${Gs(
|
|
|
25439
25439
|
new T({
|
|
25440
25440
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
25441
25441
|
code: p.InvalidParentUpdate,
|
|
25442
|
-
severity:
|
|
25442
|
+
severity: f.Error,
|
|
25443
25443
|
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.
|
|
25444
25444
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.`,
|
|
25445
25445
|
issue: null
|
|
@@ -25599,8 +25599,8 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
25599
25599
|
}), e || this.calledBy.forEach((s) => {
|
|
25600
25600
|
i.push(s), s.removeCall(this);
|
|
25601
25601
|
}), {
|
|
25602
|
-
affected:
|
|
25603
|
-
removed:
|
|
25602
|
+
affected: A(i),
|
|
25603
|
+
removed: A(a)
|
|
25604
25604
|
});
|
|
25605
25605
|
}
|
|
25606
25606
|
// Re-add this entity to the state after it was removed
|
|
@@ -25841,7 +25841,7 @@ class ms {
|
|
|
25841
25841
|
t
|
|
25842
25842
|
), d.initChildren()), [...s, d];
|
|
25843
25843
|
}, []), a = [...e.writesValues];
|
|
25844
|
-
return e.writesValues =
|
|
25844
|
+
return e.writesValues = A([
|
|
25845
25845
|
...a,
|
|
25846
25846
|
...i
|
|
25847
25847
|
]), e.writesValues;
|
|
@@ -25856,28 +25856,28 @@ function F8(n) {
|
|
|
25856
25856
|
const s = [...On(n)];
|
|
25857
25857
|
if (n.id === "random-company-employee-test-variable-id") {
|
|
25858
25858
|
const u = U({
|
|
25859
|
-
id: `${n.id}--${
|
|
25859
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
25860
25860
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
25861
25861
|
n,
|
|
25862
25862
|
n.project
|
|
25863
25863
|
)}" with id "${n.id}".`,
|
|
25864
25864
|
issue: null,
|
|
25865
|
-
severity:
|
|
25866
|
-
code:
|
|
25865
|
+
severity: f.Error,
|
|
25866
|
+
code: S.PropertyImplementsNonAbstact,
|
|
25867
25867
|
entity: n
|
|
25868
25868
|
});
|
|
25869
25869
|
s.push(u.error);
|
|
25870
25870
|
}
|
|
25871
25871
|
if (n.id === "company-dto-variable-one-id") {
|
|
25872
25872
|
const u = U({
|
|
25873
|
-
id: `${n.id}--${
|
|
25873
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
25874
25874
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
25875
25875
|
n,
|
|
25876
25876
|
n.project
|
|
25877
25877
|
)}" with id "${n.id}".`,
|
|
25878
25878
|
issue: null,
|
|
25879
|
-
severity:
|
|
25880
|
-
code:
|
|
25879
|
+
severity: f.Error,
|
|
25880
|
+
code: S.PropertyImplementsNonAbstact,
|
|
25881
25881
|
entity: n
|
|
25882
25882
|
});
|
|
25883
25883
|
s.push(u.error);
|
|
@@ -25931,14 +25931,14 @@ const ne = class ne {
|
|
|
25931
25931
|
i = t.get(m);
|
|
25932
25932
|
}
|
|
25933
25933
|
const a = e.calledByEntry.map((m) => {
|
|
25934
|
-
const
|
|
25935
|
-
return t.get(
|
|
25934
|
+
const h = P(m);
|
|
25935
|
+
return t.get(h);
|
|
25936
25936
|
}), s = e.calledBySuccess.map((m) => {
|
|
25937
|
-
const
|
|
25938
|
-
return t.get(
|
|
25937
|
+
const h = P(m);
|
|
25938
|
+
return t.get(h);
|
|
25939
25939
|
}), o = e.calledByError.map((m) => {
|
|
25940
|
-
const
|
|
25941
|
-
return t.get(
|
|
25940
|
+
const h = P(m);
|
|
25941
|
+
return t.get(h);
|
|
25942
25942
|
});
|
|
25943
25943
|
let d = null;
|
|
25944
25944
|
if (e.readsValue) {
|
|
@@ -26029,7 +26029,7 @@ const ne = class ne {
|
|
|
26029
26029
|
new T({
|
|
26030
26030
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
26031
26031
|
code: p.InvalidParentUpdate,
|
|
26032
|
-
severity:
|
|
26032
|
+
severity: f.Error,
|
|
26033
26033
|
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.
|
|
26034
26034
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
26035
26035
|
Specifically for variables, their scope is also calculated from their value readers and value writters.
|
|
@@ -26274,8 +26274,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26274
26274
|
return e || this.calledBy.forEach((s) => {
|
|
26275
26275
|
i.push(s), s.removeCall(this);
|
|
26276
26276
|
}), {
|
|
26277
|
-
affected:
|
|
26278
|
-
removed:
|
|
26277
|
+
affected: A(i),
|
|
26278
|
+
removed: A(a)
|
|
26279
26279
|
};
|
|
26280
26280
|
}
|
|
26281
26281
|
// Re-add this entity to the state after it was removed
|
|
@@ -26312,7 +26312,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26312
26312
|
}), this.calledByEntry.forEach((i) => {
|
|
26313
26313
|
t.push(i), i.addCall(this);
|
|
26314
26314
|
}), {
|
|
26315
|
-
affected:
|
|
26315
|
+
affected: A(t),
|
|
26316
26316
|
self: this
|
|
26317
26317
|
};
|
|
26318
26318
|
}
|
|
@@ -26600,7 +26600,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26600
26600
|
].includes(this.dataType.entity.type))
|
|
26601
26601
|
return [
|
|
26602
26602
|
...this.dataType.entity.getAllInteractiveMethods()
|
|
26603
|
-
].filter((i) => !this.internalCalls.find((
|
|
26603
|
+
].filter((i) => !this.internalCalls.find((s) => {
|
|
26604
|
+
var d, u, y, m, h;
|
|
26605
|
+
return (((d = s.declaration) == null ? void 0 : d.id) || ((y = (u = s.initialData) == null ? void 0 : u.declaration) == null ? void 0 : y.entityId) || ((h = (m = s.initialData) == null ? void 0 : m.declaration) == null ? void 0 : h.id)) === i.id;
|
|
26606
|
+
})).map((i) => {
|
|
26604
26607
|
const a = i.createInternalCall(this);
|
|
26605
26608
|
return a.suggestion = !0, a;
|
|
26606
26609
|
});
|
|
@@ -26686,14 +26689,14 @@ function U8(n) {
|
|
|
26686
26689
|
const s = [...On(n)];
|
|
26687
26690
|
if (n.id === "exec-sequentially-result-variable-id") {
|
|
26688
26691
|
const d = U({
|
|
26689
|
-
id: `${n.id}--${
|
|
26692
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
26690
26693
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
26691
26694
|
n,
|
|
26692
26695
|
n.project
|
|
26693
26696
|
)}" with id "${n.id}".`,
|
|
26694
26697
|
issue: null,
|
|
26695
|
-
severity:
|
|
26696
|
-
code:
|
|
26698
|
+
severity: f.Error,
|
|
26699
|
+
code: S.PropertyImplementsNonAbstact,
|
|
26697
26700
|
entity: n
|
|
26698
26701
|
});
|
|
26699
26702
|
s.push(d.error);
|
|
@@ -26781,11 +26784,11 @@ const re = class re {
|
|
|
26781
26784
|
x: 0,
|
|
26782
26785
|
y: 0,
|
|
26783
26786
|
parent: i
|
|
26784
|
-
},
|
|
26787
|
+
}, h = E(
|
|
26785
26788
|
m,
|
|
26786
26789
|
t
|
|
26787
26790
|
);
|
|
26788
|
-
return
|
|
26791
|
+
return h.setParent(i), h.initChildren(), h;
|
|
26789
26792
|
}
|
|
26790
26793
|
// Validates the entity payload after generation and returns any errors
|
|
26791
26794
|
static validateGenerationTarget(e, t) {
|
|
@@ -26844,7 +26847,7 @@ const re = class re {
|
|
|
26844
26847
|
new T({
|
|
26845
26848
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
26846
26849
|
code: p.InvalidParentUpdate,
|
|
26847
|
-
severity:
|
|
26850
|
+
severity: f.Error,
|
|
26848
26851
|
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.
|
|
26849
26852
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
26850
26853
|
Specifically for variables, their scope is also calculated from their value readers and value writters.
|
|
@@ -26901,7 +26904,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26901
26904
|
return this.internalCalls.filter((e) => !!e.calledBy.length);
|
|
26902
26905
|
}
|
|
26903
26906
|
get unusedInternalCalls() {
|
|
26904
|
-
|
|
26907
|
+
const e = this.usedInternalCalls;
|
|
26908
|
+
return this.internalCalls.filter((t) => {
|
|
26909
|
+
if (!t.calledBy.length || e.find((i) => i.id === t.id || i.declaration.id === t.declaration.id))
|
|
26910
|
+
return !1;
|
|
26911
|
+
});
|
|
26905
26912
|
}
|
|
26906
26913
|
removeInput(e) {
|
|
26907
26914
|
const t = this.inputs.findIndex((i) => i.id === e.id);
|
|
@@ -27101,8 +27108,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
27101
27108
|
}), e || this.calledBy.forEach((s) => {
|
|
27102
27109
|
i.push(s), s.removeCall(this);
|
|
27103
27110
|
}), {
|
|
27104
|
-
affected:
|
|
27105
|
-
removed:
|
|
27111
|
+
affected: A(i),
|
|
27112
|
+
removed: A(a)
|
|
27106
27113
|
});
|
|
27107
27114
|
}
|
|
27108
27115
|
// Re-add this entity to the state after it was removed
|
|
@@ -27137,7 +27144,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
27137
27144
|
}), this.calledByEntry.forEach((i) => {
|
|
27138
27145
|
t.push(i), i.addCall(this);
|
|
27139
27146
|
}), {
|
|
27140
|
-
affected:
|
|
27147
|
+
affected: A(t),
|
|
27141
27148
|
self: this
|
|
27142
27149
|
};
|
|
27143
27150
|
}
|
|
@@ -27397,7 +27404,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
27397
27404
|
].includes(this.declaration.dataType.entity.type))
|
|
27398
27405
|
return [
|
|
27399
27406
|
...this.declaration.dataType.entity.getAllInteractiveMethods()
|
|
27400
|
-
].filter((i) => !this.internalCalls.find((
|
|
27407
|
+
].filter((i) => !this.internalCalls.find((s) => {
|
|
27408
|
+
var d, u, y, m, h;
|
|
27409
|
+
return (((d = s.declaration) == null ? void 0 : d.id) || ((y = (u = s.initialData) == null ? void 0 : u.declaration) == null ? void 0 : y.entityId) || ((h = (m = s.initialData) == null ? void 0 : m.declaration) == null ? void 0 : h.id)) === i.id;
|
|
27410
|
+
})).map((i) => {
|
|
27401
27411
|
const a = i.createInternalCall(this);
|
|
27402
27412
|
return a.suggestion = !0, a;
|
|
27403
27413
|
});
|
|
@@ -27479,14 +27489,14 @@ function j8(n) {
|
|
|
27479
27489
|
const a = [];
|
|
27480
27490
|
if (n.id === "iterate-over-employee-list-continue-statement-employee-dto-output-decl-id") {
|
|
27481
27491
|
const o = U({
|
|
27482
|
-
id: `${n.id}--${
|
|
27492
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
27483
27493
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
27484
27494
|
n,
|
|
27485
27495
|
n.project
|
|
27486
27496
|
)}" with id "${n.id}".`,
|
|
27487
27497
|
issue: null,
|
|
27488
|
-
severity:
|
|
27489
|
-
code:
|
|
27498
|
+
severity: f.Error,
|
|
27499
|
+
code: S.PropertyImplementsNonAbstact,
|
|
27490
27500
|
entity: n
|
|
27491
27501
|
});
|
|
27492
27502
|
a.push(o.error);
|
|
@@ -27595,16 +27605,16 @@ const ie = class ie {
|
|
|
27595
27605
|
if (y && [r.BreakStatement, r.ContinueStatement].includes(
|
|
27596
27606
|
y.type
|
|
27597
27607
|
)) {
|
|
27598
|
-
const m = y,
|
|
27599
|
-
...
|
|
27600
|
-
...
|
|
27608
|
+
const m = y, h = m.parent, R = [
|
|
27609
|
+
...h.breakStatements.filter((O) => O.id !== y.id),
|
|
27610
|
+
...h.continueStatements.filter((O) => O.id !== y.id)
|
|
27601
27611
|
];
|
|
27602
27612
|
if (m.outputs.length)
|
|
27603
27613
|
a.push(
|
|
27604
27614
|
new T({
|
|
27605
27615
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
27606
27616
|
code: b.NoOverlapWithImplementedSignature,
|
|
27607
|
-
severity:
|
|
27617
|
+
severity: f.Error,
|
|
27608
27618
|
message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' cannot be added to the parent entity of type '${m.type}' with id '${m.id}'. This '${m.type}' already has return declarations.
|
|
27609
27619
|
${Jc}`,
|
|
27610
27620
|
issue: null
|
|
@@ -27616,7 +27626,7 @@ ${Jc}`,
|
|
|
27616
27626
|
new T({
|
|
27617
27627
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
27618
27628
|
code: b.NoOverlapWithImplementedSignature,
|
|
27619
|
-
severity:
|
|
27629
|
+
severity: f.Error,
|
|
27620
27630
|
message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' cannot be added to the parent entity of type '${m.type}' with id '${m.id}'. This new 'return-declaration' doesn't have the same name "${O}" as the return declarations on the other statements in the same scope.
|
|
27621
27631
|
${Jc}`,
|
|
27622
27632
|
issue: null
|
|
@@ -27626,12 +27636,12 @@ ${Jc}`,
|
|
|
27626
27636
|
} else if (y && y.type === r.ReturnStatement) {
|
|
27627
27637
|
const m = y.parent;
|
|
27628
27638
|
if (m && xe.includes(m.type)) {
|
|
27629
|
-
const
|
|
27630
|
-
if (
|
|
27631
|
-
if (
|
|
27632
|
-
const R =
|
|
27639
|
+
const h = m.implements;
|
|
27640
|
+
if (h)
|
|
27641
|
+
if (h.returnsType === V.Fixed) {
|
|
27642
|
+
const R = h.fixedReturns.find(
|
|
27633
27643
|
(_e) => _e.name === i.name
|
|
27634
|
-
), g =
|
|
27644
|
+
), g = h.fixedReturns.filter((_e) => !y.outputs.find(
|
|
27635
27645
|
(Tc) => Tc.type === r.ReturnDeclaration && Tc.name === _e.name
|
|
27636
27646
|
)), O = y.outputs.filter(
|
|
27637
27647
|
(_e) => _e.type === r.ReturnDeclaration
|
|
@@ -27654,7 +27664,7 @@ ${Jc}`,
|
|
|
27654
27664
|
new T({
|
|
27655
27665
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
27656
27666
|
code: b.NoOverlapWithImplementedSignature,
|
|
27657
|
-
severity:
|
|
27667
|
+
severity: f.Error,
|
|
27658
27668
|
message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${y.type}' with id '${y.id}' that implements a ${r.ActionDescriptor} with fixed outputs.
|
|
27659
27669
|
Adding a new return would make the implementation invalid. An return with the same name already exists in the parent entity.
|
|
27660
27670
|
${k}
|
|
@@ -27665,7 +27675,7 @@ ${Bt}`,
|
|
|
27665
27675
|
new T({
|
|
27666
27676
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
27667
27677
|
code: b.NoOverlapWithImplementedSignature,
|
|
27668
|
-
severity:
|
|
27678
|
+
severity: f.Error,
|
|
27669
27679
|
message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${y.type}' with id '${y.id}' that implements a ${r.ActionDescriptor} with fixed outputs.
|
|
27670
27680
|
Adding a new return would make the implementation invalid. There are no returns in the descriptor with the same name.
|
|
27671
27681
|
${k}
|
|
@@ -27674,11 +27684,11 @@ ${Bt}`,
|
|
|
27674
27684
|
})
|
|
27675
27685
|
);
|
|
27676
27686
|
} else
|
|
27677
|
-
|
|
27687
|
+
h.returnsType === V.Dynamic || h.returnsType === V.None && a.push(
|
|
27678
27688
|
new T({
|
|
27679
27689
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
27680
27690
|
code: b.NoOverlapWithImplementedSignature,
|
|
27681
|
-
severity:
|
|
27691
|
+
severity: f.Error,
|
|
27682
27692
|
message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${y.type}' with id '${y.id}' that implements a ${r.ActionDescriptor} with no outputs.
|
|
27683
27693
|
Adding a new return would make the implementation invalid.`,
|
|
27684
27694
|
issue: null
|
|
@@ -27709,7 +27719,7 @@ Adding a new return would make the implementation invalid.`,
|
|
|
27709
27719
|
new T({
|
|
27710
27720
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
27711
27721
|
code: p.InvalidParentUpdate,
|
|
27712
|
-
severity:
|
|
27722
|
+
severity: f.Error,
|
|
27713
27723
|
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.
|
|
27714
27724
|
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.`,
|
|
27715
27725
|
issue: null
|
|
@@ -27783,8 +27793,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
27783
27793
|
i.push(...s.affected), a.push(...s.removed);
|
|
27784
27794
|
}
|
|
27785
27795
|
return {
|
|
27786
|
-
affected:
|
|
27787
|
-
removed:
|
|
27796
|
+
affected: A(i),
|
|
27797
|
+
removed: A(a)
|
|
27788
27798
|
};
|
|
27789
27799
|
}
|
|
27790
27800
|
// Re-add this entity to the state after it was removed
|
|
@@ -27964,14 +27974,14 @@ function k8(n) {
|
|
|
27964
27974
|
const s = [...On(n)];
|
|
27965
27975
|
if (n.id === "search-person-by-id-id") {
|
|
27966
27976
|
const d = U({
|
|
27967
|
-
id: `${n.id}--${
|
|
27977
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
27968
27978
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
27969
27979
|
n,
|
|
27970
27980
|
n.project
|
|
27971
27981
|
)}" with id "${n.id}".`,
|
|
27972
27982
|
issue: null,
|
|
27973
|
-
severity:
|
|
27974
|
-
code:
|
|
27983
|
+
severity: f.Error,
|
|
27984
|
+
code: S.PropertyImplementsNonAbstact,
|
|
27975
27985
|
entity: n
|
|
27976
27986
|
});
|
|
27977
27987
|
s.push(d.error);
|
|
@@ -28099,7 +28109,7 @@ const ve = class ve {
|
|
|
28099
28109
|
new T({
|
|
28100
28110
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
28101
28111
|
code: p.InvalidParentUpdate,
|
|
28102
|
-
severity:
|
|
28112
|
+
severity: f.Error,
|
|
28103
28113
|
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.
|
|
28104
28114
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
28105
28115
|
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.`,
|
|
@@ -28332,8 +28342,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28332
28342
|
}), e || this.calledBy.forEach((s) => {
|
|
28333
28343
|
i.push(s), s.removeCall(this);
|
|
28334
28344
|
}), {
|
|
28335
|
-
affected:
|
|
28336
|
-
removed:
|
|
28345
|
+
affected: A(i),
|
|
28346
|
+
removed: A(a)
|
|
28337
28347
|
};
|
|
28338
28348
|
}
|
|
28339
28349
|
// Re-add this entity to the state after it was removed
|
|
@@ -28366,7 +28376,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
28366
28376
|
}), this.calledByEntry.forEach((i) => {
|
|
28367
28377
|
t.push(i), i.addCall(this);
|
|
28368
28378
|
}), {
|
|
28369
|
-
affected:
|
|
28379
|
+
affected: A(t),
|
|
28370
28380
|
self: this
|
|
28371
28381
|
});
|
|
28372
28382
|
}
|
|
@@ -28669,7 +28679,7 @@ const fe = class fe {
|
|
|
28669
28679
|
new T({
|
|
28670
28680
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
28671
28681
|
code: p.InvalidParentUpdate,
|
|
28672
|
-
severity:
|
|
28682
|
+
severity: f.Error,
|
|
28673
28683
|
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.`,
|
|
28674
28684
|
issue: null
|
|
28675
28685
|
})
|
|
@@ -28916,7 +28926,7 @@ function W8(n) {
|
|
|
28916
28926
|
U({
|
|
28917
28927
|
id: `${n.id}--${b.InternalCallParentMissingDataType}`,
|
|
28918
28928
|
code: b.InternalCallParentMissingDataType,
|
|
28919
|
-
severity:
|
|
28929
|
+
severity: f.Error,
|
|
28920
28930
|
message: `Entity of type "${n.type}" with id "${n.id}", belongs to a variable whose data type entity doesn't contain its declaration method (function-declaration) its id "${n.declaration}".`,
|
|
28921
28931
|
issue: null,
|
|
28922
28932
|
entity: n
|
|
@@ -28931,7 +28941,7 @@ function W8(n) {
|
|
|
28931
28941
|
U({
|
|
28932
28942
|
id: `${n.id}--${b.InternalCallParentDeclarationEntityInvalidType}`,
|
|
28933
28943
|
code: b.InternalCallParentDeclarationEntityInvalidType,
|
|
28934
|
-
severity:
|
|
28944
|
+
severity: f.Error,
|
|
28935
28945
|
message: `Entity of type "${n.type}" with id "${n.id}", belongs to a variable whose data type 'entity' is not a custom entity, built-in base entity or primitive entity.
|
|
28936
28946
|
This variable's data-type has an 'entity' field that references an entity with id '${i.id}' and of type '${i.type}'.`,
|
|
28937
28947
|
issue: null,
|
|
@@ -28970,7 +28980,7 @@ This variable's data-type 'entity' is a non-interactive 'built-in-base-entity'.s
|
|
|
28970
28980
|
U({
|
|
28971
28981
|
id: `${n.id}--${b.InternalCallDeclarationIsNotFunctionDeclaration}`,
|
|
28972
28982
|
code: b.InternalCallDeclarationIsNotFunctionDeclaration,
|
|
28973
|
-
severity:
|
|
28983
|
+
severity: f.Error,
|
|
28974
28984
|
message: `Entity of type "${n.type}" with id "${n.id}", points to a 'declaration' that isn't a 'function-declaration' entity.
|
|
28975
28985
|
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.${o}`,
|
|
28976
28986
|
issue: null,
|
|
@@ -28980,7 +28990,7 @@ The declaration of the internal-call must be a 'function-declaration' entity whi
|
|
|
28980
28990
|
U({
|
|
28981
28991
|
id: `${n.id}--${b.InternalCallDeclarationNotFoundInParentDatatypeEntity}`,
|
|
28982
28992
|
code: b.InternalCallDeclarationNotFoundInParentDatatypeEntity,
|
|
28983
|
-
severity:
|
|
28993
|
+
severity: f.Error,
|
|
28984
28994
|
message: `Entity of type "${n.type}" with id "${n.id}", belongs to a variable whose data type entity doesn't contain its declaration method (function-declaration) with id "${n.declaration}".${o}`,
|
|
28985
28995
|
issue: null,
|
|
28986
28996
|
entity: n
|
|
@@ -29052,11 +29062,11 @@ const ae = class ae {
|
|
|
29052
29062
|
process: null,
|
|
29053
29063
|
error: null,
|
|
29054
29064
|
parent: a
|
|
29055
|
-
},
|
|
29065
|
+
}, h = E(
|
|
29056
29066
|
m,
|
|
29057
29067
|
t
|
|
29058
29068
|
);
|
|
29059
|
-
return
|
|
29069
|
+
return h.setParent(a), h.initChildren(), h;
|
|
29060
29070
|
}
|
|
29061
29071
|
// Validates the entity payload after generation and returns any errors
|
|
29062
29072
|
static validateGenerationTarget(e, t) {
|
|
@@ -29100,7 +29110,7 @@ const ae = class ae {
|
|
|
29100
29110
|
new T({
|
|
29101
29111
|
id: `${i.id}--${b.InternalCallParentMissingDataType}`,
|
|
29102
29112
|
code: b.InternalCallParentMissingDataType,
|
|
29103
|
-
severity:
|
|
29113
|
+
severity: f.Error,
|
|
29104
29114
|
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}".`,
|
|
29105
29115
|
issue: null
|
|
29106
29116
|
})
|
|
@@ -29114,7 +29124,7 @@ const ae = class ae {
|
|
|
29114
29124
|
new T({
|
|
29115
29125
|
id: `${i.id}--${b.InternalCallParentDeclarationEntityInvalidType}`,
|
|
29116
29126
|
code: b.InternalCallParentDeclarationEntityInvalidType,
|
|
29117
|
-
severity:
|
|
29127
|
+
severity: f.Error,
|
|
29118
29128
|
message: `Entity of type "${i.type}" with id "${i.id}", belongs to a variable whose data type 'entity' is not a custom entity, built-in base entity or primitive entity.
|
|
29119
29129
|
This variable's data-type has an 'entity' field that references an entity with id '${y.id}' and of type '${y.type}'.`,
|
|
29120
29130
|
issue: null
|
|
@@ -29124,22 +29134,22 @@ This variable's data-type has an 'entity' field that references an entity with i
|
|
|
29124
29134
|
const m = _f(
|
|
29125
29135
|
y
|
|
29126
29136
|
);
|
|
29127
|
-
let
|
|
29128
|
-
m ? y.methods.length ?
|
|
29137
|
+
let h = "";
|
|
29138
|
+
m ? y.methods.length ? h = `
|
|
29129
29139
|
All 'function-declaration' entities attached as methods to the parent data-type 'entity' field, available to be called as 'internal-calls' in this variable are:
|
|
29130
29140
|
- ${y.methods.map(($) => $.id).join(
|
|
29131
29141
|
`
|
|
29132
29142
|
- `
|
|
29133
29143
|
)}
|
|
29134
|
-
You can reference any of them as the 'delcaration' property on a new 'internal-call' entity.` : y.type === r.CustomEntity ?
|
|
29144
|
+
You can reference any of them as the 'delcaration' property on a new 'internal-call' entity.` : y.type === r.CustomEntity ? h = `
|
|
29135
29145
|
This variable's data-type 'entity' is a custom entity which doesn't have any methods attached to it yet.
|
|
29136
29146
|
You can attach methods to it by creating 'function-declaration' entities which have the entity as its 'parent' field. Then you can reference them as the 'declaration' property on a new 'internal-call' entity in a variable` : [r.BuiltInBaseEntity, r.PrimitiveEntity].includes(
|
|
29137
29147
|
y.type
|
|
29138
|
-
) && (
|
|
29148
|
+
) && (h = `
|
|
29139
29149
|
This variable's data-type 'entity' is a ${y.type} which doesn't have any methods attached to it yet.
|
|
29140
|
-
Built-in entity types can't have methods attached to them by the user. They are predefined entities that can't be modified. You can reference them as the 'declaration' property on a new 'internal-call' entity in a variable`) : y.type === r.CustomEntity ?
|
|
29150
|
+
Built-in entity types can't have methods attached to them by the user. They are predefined entities that can't be modified. You can reference them as the 'declaration' property on a new 'internal-call' entity in a variable`) : y.type === r.CustomEntity ? h = `
|
|
29141
29151
|
This variable's data-type 'entity' is a custom entity which extends or implements a non-interactive 'built-in-base-entity'.
|
|
29142
|
-
${xn}` : y.type === r.BuiltInBaseEntity && (
|
|
29152
|
+
${xn}` : y.type === r.BuiltInBaseEntity && (h = `
|
|
29143
29153
|
This variable's data-type 'entity' is a non-interactive 'built-in-base-entity'.
|
|
29144
29154
|
${xn}`);
|
|
29145
29155
|
const R = i.declaration;
|
|
@@ -29150,8 +29160,8 @@ ${xn}`);
|
|
|
29150
29160
|
new T({
|
|
29151
29161
|
id: `${i.id}--${p.ReferencedEntityNotFound}`,
|
|
29152
29162
|
code: p.ReferencedEntityNotFound,
|
|
29153
|
-
severity:
|
|
29154
|
-
message: `Entity of type "${i.type}" with id "${i.id}", has a declaration method (function-declaration) that doesn't exist in the project.${
|
|
29163
|
+
severity: f.Error,
|
|
29164
|
+
message: `Entity of type "${i.type}" with id "${i.id}", has a declaration method (function-declaration) that doesn't exist in the project.${h}`,
|
|
29155
29165
|
issue: null
|
|
29156
29166
|
})
|
|
29157
29167
|
);
|
|
@@ -29171,17 +29181,17 @@ ${xn}`);
|
|
|
29171
29181
|
new T({
|
|
29172
29182
|
id: `${i.id}--${b.InternalCallDeclarationIsNotFunctionDeclaration}`,
|
|
29173
29183
|
code: b.InternalCallDeclarationIsNotFunctionDeclaration,
|
|
29174
|
-
severity:
|
|
29184
|
+
severity: f.Error,
|
|
29175
29185
|
message: `Entity of type "${i.type}" with id "${i.id}", points to a 'declaration' that isn't a 'function-declaration' entity.
|
|
29176
|
-
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.${
|
|
29186
|
+
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.${h}`,
|
|
29177
29187
|
issue: null
|
|
29178
29188
|
})
|
|
29179
29189
|
) : a.push(
|
|
29180
29190
|
new T({
|
|
29181
29191
|
id: `${i.id}--${b.InternalCallDeclarationNotFoundInParentDatatypeEntity}`,
|
|
29182
29192
|
code: b.InternalCallDeclarationNotFoundInParentDatatypeEntity,
|
|
29183
|
-
severity:
|
|
29184
|
-
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}".${
|
|
29193
|
+
severity: f.Error,
|
|
29194
|
+
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}".${h}`,
|
|
29185
29195
|
issue: null
|
|
29186
29196
|
})
|
|
29187
29197
|
);
|
|
@@ -29191,7 +29201,7 @@ The declaration of the internal-call must be a 'function-declaration' entity whi
|
|
|
29191
29201
|
new T({
|
|
29192
29202
|
id: `${i.id}--${p.InvalidInternalCallParentRelation}`,
|
|
29193
29203
|
code: p.InvalidInternalCallParentRelation,
|
|
29194
|
-
severity:
|
|
29204
|
+
severity: f.Error,
|
|
29195
29205
|
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.
|
|
29196
29206
|
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.
|
|
29197
29207
|
The you can attach the new internal-call to it.`,
|
|
@@ -29213,7 +29223,7 @@ The you can attach the new internal-call to it.`,
|
|
|
29213
29223
|
new T({
|
|
29214
29224
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
29215
29225
|
code: p.InvalidParentUpdate,
|
|
29216
|
-
severity:
|
|
29226
|
+
severity: f.Error,
|
|
29217
29227
|
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.
|
|
29218
29228
|
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.`,
|
|
29219
29229
|
issue: null
|
|
@@ -29443,8 +29453,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
29443
29453
|
}), e || this.calledBy.forEach((o) => {
|
|
29444
29454
|
i.push(o), o.removeCall(this);
|
|
29445
29455
|
}), {
|
|
29446
|
-
affected:
|
|
29447
|
-
removed:
|
|
29456
|
+
affected: A(i),
|
|
29457
|
+
removed: A(a)
|
|
29448
29458
|
};
|
|
29449
29459
|
}
|
|
29450
29460
|
// Re-add this entity to the state after it was removed
|
|
@@ -29477,7 +29487,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
29477
29487
|
}), this.calledByEntry.forEach((i) => {
|
|
29478
29488
|
t.push(i), i.addCall(this);
|
|
29479
29489
|
}), {
|
|
29480
|
-
affected:
|
|
29490
|
+
affected: A(t),
|
|
29481
29491
|
self: this
|
|
29482
29492
|
};
|
|
29483
29493
|
}
|
|
@@ -29675,14 +29685,14 @@ function H8(n) {
|
|
|
29675
29685
|
const a = [];
|
|
29676
29686
|
if (n.id === "exec-sequentially-argument-map-id") {
|
|
29677
29687
|
const s = U({
|
|
29678
|
-
id: `${n.id}--${
|
|
29688
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
29679
29689
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
29680
29690
|
n,
|
|
29681
29691
|
n.project
|
|
29682
29692
|
)}" with id "${n.id}".`,
|
|
29683
29693
|
issue: null,
|
|
29684
|
-
severity:
|
|
29685
|
-
code:
|
|
29694
|
+
severity: f.Error,
|
|
29695
|
+
code: S.PropertyImplementsNonAbstact,
|
|
29686
29696
|
entity: n
|
|
29687
29697
|
});
|
|
29688
29698
|
a.push(s.error);
|
|
@@ -29781,8 +29791,8 @@ const se = class se {
|
|
|
29781
29791
|
// @ts-ignore
|
|
29782
29792
|
((o == null ? void 0 : o.inputs) || []).find(
|
|
29783
29793
|
(m) => {
|
|
29784
|
-
var
|
|
29785
|
-
return i.declaration && ((
|
|
29794
|
+
var h;
|
|
29795
|
+
return i.declaration && ((h = m.declaration) == null ? void 0 : h.id) === i.declaration;
|
|
29786
29796
|
}
|
|
29787
29797
|
)
|
|
29788
29798
|
);
|
|
@@ -29798,7 +29808,7 @@ const se = class se {
|
|
|
29798
29808
|
new T({
|
|
29799
29809
|
id: `${i.id}--${p.InvalidInputMapDeclaration}`,
|
|
29800
29810
|
code: p.InvalidInputMapDeclaration,
|
|
29801
|
-
severity:
|
|
29811
|
+
severity: f.Error,
|
|
29802
29812
|
message: `Entity of type '${r.InputMap}' with id '${i.id}' has a 'declaration' property pointing to an entity with type '${r.ArgumentDeclaration}' with id '${i.declaration}'.
|
|
29803
29813
|
The parent entity of type '${o.type}' with id '${o.id}' is not compatible with this type of declaration.
|
|
29804
29814
|
Only 'function-call', 'search' and 'internal-call' entities can have input-maps whose 'declaration' points to 'argument-declaration' entities.`,
|
|
@@ -29808,7 +29818,7 @@ Only 'function-call', 'search' and 'internal-call' entities can have input-maps
|
|
|
29808
29818
|
new T({
|
|
29809
29819
|
id: `${i.id}--${p.InvalidInputMapDeclaration}`,
|
|
29810
29820
|
code: p.InvalidInputMapDeclaration,
|
|
29811
|
-
severity:
|
|
29821
|
+
severity: f.Error,
|
|
29812
29822
|
message: `Entity of type '${r.InputMap}' with id '${i.id}' has a 'declaration' property pointing to an entity with type '${r.Property}' with id '${i.declaration}'.
|
|
29813
29823
|
The parent entity of type '${o.type}' with id '${o.id}' is not compatible with this type of declaration.
|
|
29814
29824
|
Only variables can have input-maps whose 'declaration' points to 'property' entities.`,
|
|
@@ -29820,7 +29830,7 @@ Only variables can have input-maps whose 'declaration' points to 'property' enti
|
|
|
29820
29830
|
new T({
|
|
29821
29831
|
id: `${i.id}--${p.InvalidInputMapDeclaration}`,
|
|
29822
29832
|
code: p.InvalidInputMapDeclaration,
|
|
29823
|
-
severity:
|
|
29833
|
+
severity: f.Error,
|
|
29824
29834
|
message: `Entity of type '${r.InputMap}' with id '${i.id}' has a 'declaration' property pointing to an entity with type '${r.ValueDescriptor}' with id '${i.declaration}'.
|
|
29825
29835
|
The parent entity of type '${o.type}' with id '${o.id}' is not compatible with this type of declaration.
|
|
29826
29836
|
Only 'condition', 'operation' and 'loop' entities can have input-maps whose 'declaration' points to 'value-descriptor' entities.`,
|
|
@@ -29830,7 +29840,7 @@ Only 'condition', 'operation' and 'loop' entities can have input-maps whose 'dec
|
|
|
29830
29840
|
new T({
|
|
29831
29841
|
id: `${i.id}--${p.InvalidInputMapDeclaration}`,
|
|
29832
29842
|
code: p.InvalidInputMapDeclaration,
|
|
29833
|
-
severity:
|
|
29843
|
+
severity: f.Error,
|
|
29834
29844
|
message: `Entity of type '${r.InputMap}' with id '${i.id}' must have a 'declaration' property pointing to a '${_(
|
|
29835
29845
|
[
|
|
29836
29846
|
r.Property,
|
|
@@ -29848,7 +29858,7 @@ This is because a dynamically assembled object can have new properties added to
|
|
|
29848
29858
|
new T({
|
|
29849
29859
|
id: `${i.id}--${p.ReferencedEntityNotFound}`,
|
|
29850
29860
|
code: p.ReferencedEntityNotFound,
|
|
29851
|
-
severity:
|
|
29861
|
+
severity: f.Error,
|
|
29852
29862
|
message: `Entity of type '${r.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.`,
|
|
29853
29863
|
issue: null
|
|
29854
29864
|
})
|
|
@@ -29856,7 +29866,7 @@ This is because a dynamically assembled object can have new properties added to
|
|
|
29856
29866
|
new T({
|
|
29857
29867
|
id: `${i.id}--${p.InvalidInputMapDeclaration}`,
|
|
29858
29868
|
code: p.InvalidInputMapDeclaration,
|
|
29859
|
-
severity:
|
|
29869
|
+
severity: f.Error,
|
|
29860
29870
|
message: `Entity of type '${r.InputMap}' with id '${i.id}' must have a 'declaration' property pointing to a 'argument-declaration' or 'property' entity.
|
|
29861
29871
|
Only input-map entities for variables with an inferred data type are allowed to not have a declaration.
|
|
29862
29872
|
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`,
|
|
@@ -29868,7 +29878,7 @@ This is because a dynamically assembled object can have new properties added to
|
|
|
29868
29878
|
new T({
|
|
29869
29879
|
id: `${i.id}--${p.InputOverwrite}`,
|
|
29870
29880
|
code: p.InputOverwrite,
|
|
29871
|
-
severity:
|
|
29881
|
+
severity: f.Error,
|
|
29872
29882
|
message: `Entity of type '${r.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.
|
|
29873
29883
|
Any value reads can be done with that input-map instead.
|
|
29874
29884
|
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.`,
|
|
@@ -29881,7 +29891,7 @@ You can't edit input-map entities as they need to match their argument declarati
|
|
|
29881
29891
|
new T({
|
|
29882
29892
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
29883
29893
|
code: b.NoOverlapWithImplementedSignature,
|
|
29884
|
-
severity:
|
|
29894
|
+
severity: f.Error,
|
|
29885
29895
|
message: `Entity of type '${r.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.
|
|
29886
29896
|
This means it can hold a function-call or operation as its value, to be executed programatically.
|
|
29887
29897
|
Input maps can only be added to variables which hold an entity with properties.`,
|
|
@@ -29891,7 +29901,7 @@ Input maps can only be added to variables which hold an entity with properties.`
|
|
|
29891
29901
|
new T({
|
|
29892
29902
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
29893
29903
|
code: b.NoOverlapWithImplementedSignature,
|
|
29894
|
-
severity:
|
|
29904
|
+
severity: f.Error,
|
|
29895
29905
|
message: `Entity of type '${r.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'.
|
|
29896
29906
|
The entity of the data-type has the following properties that can be reads as input maps, ids: '${_(
|
|
29897
29907
|
g.properties.map(
|
|
@@ -29906,10 +29916,10 @@ The entity of the data-type has the following properties that can be reads as in
|
|
|
29906
29916
|
} else if (Me.filter(
|
|
29907
29917
|
(m) => Ge.includes(m)
|
|
29908
29918
|
).includes(o.type)) {
|
|
29909
|
-
const
|
|
29919
|
+
const h = Cf(o), R = h.find(
|
|
29910
29920
|
(O) => O.id === i.declaration
|
|
29911
29921
|
), g = `The parent entity has the following argument declarations that can be referenced by input-maps, ids: '${_(
|
|
29912
|
-
|
|
29922
|
+
h.map((O) => O.id),
|
|
29913
29923
|
"', '",
|
|
29914
29924
|
"' and '"
|
|
29915
29925
|
)}'`;
|
|
@@ -29917,7 +29927,7 @@ The entity of the data-type has the following properties that can be reads as in
|
|
|
29917
29927
|
new T({
|
|
29918
29928
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
29919
29929
|
code: b.NoOverlapWithImplementedSignature,
|
|
29920
|
-
severity:
|
|
29930
|
+
severity: f.Error,
|
|
29921
29931
|
message: `Entity of type '${r.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}'.
|
|
29922
29932
|
You can't add an input-map to an entity that doesn't have a matching 'argument-declaration'.
|
|
29923
29933
|
${g}`,
|
|
@@ -29947,7 +29957,7 @@ ${g}`,
|
|
|
29947
29957
|
new T({
|
|
29948
29958
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
29949
29959
|
code: p.InvalidParentUpdate,
|
|
29950
|
-
severity:
|
|
29960
|
+
severity: f.Error,
|
|
29951
29961
|
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.
|
|
29952
29962
|
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.`,
|
|
29953
29963
|
issue: null
|
|
@@ -30236,14 +30246,14 @@ function Y8(n) {
|
|
|
30236
30246
|
const a = [];
|
|
30237
30247
|
if (n.id === "exec-sequentially-return-map-id") {
|
|
30238
30248
|
const s = U({
|
|
30239
|
-
id: `${n.id}--${
|
|
30249
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
30240
30250
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
30241
30251
|
n,
|
|
30242
30252
|
n.project
|
|
30243
30253
|
)}" with id "${n.id}".`,
|
|
30244
30254
|
issue: null,
|
|
30245
|
-
severity:
|
|
30246
|
-
code:
|
|
30255
|
+
severity: f.Error,
|
|
30256
|
+
code: S.PropertyImplementsNonAbstact,
|
|
30247
30257
|
entity: n
|
|
30248
30258
|
});
|
|
30249
30259
|
a.push(s.error);
|
|
@@ -30340,7 +30350,7 @@ const oe = class oe {
|
|
|
30340
30350
|
new T({
|
|
30341
30351
|
id: `${i.id}--${p.OutputOverwrite}`,
|
|
30342
30352
|
code: p.OutputOverwrite,
|
|
30343
|
-
severity:
|
|
30353
|
+
severity: f.Error,
|
|
30344
30354
|
message: `Entity of type '${r.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'.
|
|
30345
30355
|
Any value reads can be done with that output-map instead.
|
|
30346
30356
|
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.`,
|
|
@@ -30350,12 +30360,12 @@ You can't edit output-map entities as they need to match their return declaratio
|
|
|
30350
30360
|
else {
|
|
30351
30361
|
const y = t.get(i.declaration);
|
|
30352
30362
|
if (y && Ge.includes(o.type)) {
|
|
30353
|
-
const m = df(o),
|
|
30354
|
-
|
|
30363
|
+
const m = df(o), h = m.dataType, R = (d = m.dataType) == null ? void 0 : d.entity;
|
|
30364
|
+
h ? R ? R.type === r.ActionDescriptor ? a.push(
|
|
30355
30365
|
new T({
|
|
30356
30366
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
30357
30367
|
code: b.NoOverlapWithImplementedSignature,
|
|
30358
|
-
severity:
|
|
30368
|
+
severity: f.Error,
|
|
30359
30369
|
message: `Entity of type '${r.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.
|
|
30360
30370
|
This means it can hold a function-call or operation as its value, to be executed programatically.
|
|
30361
30371
|
Output maps can only be added to variables which hold an entity with properties.`,
|
|
@@ -30367,7 +30377,7 @@ Output maps can only be added to variables which hold an entity with properties.
|
|
|
30367
30377
|
new T({
|
|
30368
30378
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
30369
30379
|
code: b.NoOverlapWithImplementedSignature,
|
|
30370
|
-
severity:
|
|
30380
|
+
severity: f.Error,
|
|
30371
30381
|
message: `Entity of type '${r.OutputMap}' with id '${i.id}' cannot be added to the parent entity of type '${o.type}' with id '${o.id}'. The 'declaration' with '${y.id}' of the 'output-map' does not exist in the entity of the 'data-type'.
|
|
30372
30382
|
The entity of the data-type has the following properties that can be reads as output maps, ids: '${_(
|
|
30373
30383
|
R.properties.map((O) => O.id),
|
|
@@ -30380,7 +30390,7 @@ The entity of the data-type has the following properties that can be reads as ou
|
|
|
30380
30390
|
new T({
|
|
30381
30391
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
30382
30392
|
code: b.NoOverlapWithImplementedSignature,
|
|
30383
|
-
severity:
|
|
30393
|
+
severity: f.Error,
|
|
30384
30394
|
message: `Entity of type '${r.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.
|
|
30385
30395
|
${Wc}`,
|
|
30386
30396
|
issue: null
|
|
@@ -30389,7 +30399,7 @@ ${Wc}`,
|
|
|
30389
30399
|
new T({
|
|
30390
30400
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
30391
30401
|
code: b.NoOverlapWithImplementedSignature,
|
|
30392
|
-
severity:
|
|
30402
|
+
severity: f.Error,
|
|
30393
30403
|
message: `Entity of type '${r.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.
|
|
30394
30404
|
${Wc}`,
|
|
30395
30405
|
issue: null
|
|
@@ -30397,13 +30407,13 @@ ${Wc}`,
|
|
|
30397
30407
|
);
|
|
30398
30408
|
} else if (y) {
|
|
30399
30409
|
const m = o.outputs.find(
|
|
30400
|
-
(
|
|
30410
|
+
(h) => h.declaration.id === i.declaration
|
|
30401
30411
|
);
|
|
30402
30412
|
m && a.push(
|
|
30403
30413
|
new T({
|
|
30404
30414
|
id: `${i.id}--${p.OutputOverwrite}`,
|
|
30405
30415
|
code: p.OutputOverwrite,
|
|
30406
|
-
severity:
|
|
30416
|
+
severity: f.Error,
|
|
30407
30417
|
message: `Entity of type '${r.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 '${m.id}' that points to the same declaration.
|
|
30408
30418
|
Any value reads can be done with that output-map instead.
|
|
30409
30419
|
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.`,
|
|
@@ -30427,7 +30437,7 @@ You can't edit output-map entities as they need to match their return declaratio
|
|
|
30427
30437
|
new T({
|
|
30428
30438
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
30429
30439
|
code: p.InvalidParentUpdate,
|
|
30430
|
-
severity:
|
|
30440
|
+
severity: f.Error,
|
|
30431
30441
|
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.
|
|
30432
30442
|
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.`,
|
|
30433
30443
|
issue: null
|
|
@@ -30666,28 +30676,28 @@ function z8(n) {
|
|
|
30666
30676
|
const a = [];
|
|
30667
30677
|
if (n.id === "company-dto-func-declaration-argument-dcl-id") {
|
|
30668
30678
|
const o = U({
|
|
30669
|
-
id: `${n.id}--${
|
|
30679
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
30670
30680
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
30671
30681
|
n,
|
|
30672
30682
|
n.project
|
|
30673
30683
|
)}" with id "${n.id}".`,
|
|
30674
30684
|
issue: null,
|
|
30675
|
-
severity:
|
|
30676
|
-
code:
|
|
30685
|
+
severity: f.Error,
|
|
30686
|
+
code: S.PropertyImplementsNonAbstact,
|
|
30677
30687
|
entity: n
|
|
30678
30688
|
});
|
|
30679
30689
|
a.push(o.error);
|
|
30680
30690
|
}
|
|
30681
30691
|
if (n.id === "manual-hello-world-loop-current-iteration-number-output-map-id") {
|
|
30682
30692
|
const o = U({
|
|
30683
|
-
id: `${n.id}--${
|
|
30693
|
+
id: `${n.id}--${S.PropertyImplementsNonAbstact}`,
|
|
30684
30694
|
message: `Property "${D(n, n.project)}" with id "${n.id}" implements a non-abstract property "${D(
|
|
30685
30695
|
n,
|
|
30686
30696
|
n.project
|
|
30687
30697
|
)}" with id "${n.id}".`,
|
|
30688
30698
|
issue: null,
|
|
30689
|
-
severity:
|
|
30690
|
-
code:
|
|
30699
|
+
severity: f.Error,
|
|
30700
|
+
code: S.PropertyImplementsNonAbstact,
|
|
30691
30701
|
entity: n
|
|
30692
30702
|
});
|
|
30693
30703
|
a.push(o.error);
|
|
@@ -30780,7 +30790,7 @@ const le = class le {
|
|
|
30780
30790
|
Bt.type === r.ArgumentDeclaration && // @ts-ignore
|
|
30781
30791
|
Bt.name === $.name
|
|
30782
30792
|
)
|
|
30783
|
-
)),
|
|
30793
|
+
)), h = (
|
|
30784
30794
|
// @ts-ignore
|
|
30785
30795
|
d.inputs.filter(
|
|
30786
30796
|
// @ts-ignore
|
|
@@ -30789,10 +30799,10 @@ const le = class le {
|
|
|
30789
30799
|
$.type === r.ArgumentDeclaration
|
|
30790
30800
|
)
|
|
30791
30801
|
)
|
|
30792
|
-
), R =
|
|
30802
|
+
), R = h.find(
|
|
30793
30803
|
($) => $.name === i.name
|
|
30794
|
-
), g =
|
|
30795
|
-
|
|
30804
|
+
), g = h.length ? `The parent entity already implements the following arguments: ${_(
|
|
30805
|
+
h.map(
|
|
30796
30806
|
($) => `'${$.id}' (${$.name})`
|
|
30797
30807
|
),
|
|
30798
30808
|
", ",
|
|
@@ -30808,7 +30818,7 @@ const le = class le {
|
|
|
30808
30818
|
new T({
|
|
30809
30819
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
30810
30820
|
code: b.NoOverlapWithImplementedSignature,
|
|
30811
|
-
severity:
|
|
30821
|
+
severity: f.Error,
|
|
30812
30822
|
message: `Entity of type '${r.ArgumentDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${d.type}' with id '${d.id}' that implements a ${r.ActionDescriptor} with fixed arguments.
|
|
30813
30823
|
Adding a new argument would make the implementation invalid. An argument with the same name already exists in the parent entity.
|
|
30814
30824
|
${g}
|
|
@@ -30819,7 +30829,7 @@ ${O}`,
|
|
|
30819
30829
|
new T({
|
|
30820
30830
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
30821
30831
|
code: b.NoOverlapWithImplementedSignature,
|
|
30822
|
-
severity:
|
|
30832
|
+
severity: f.Error,
|
|
30823
30833
|
message: `Entity of type '${r.ArgumentDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${d.type}' with id '${d.id}' that implements a ${r.ActionDescriptor} with fixed arguments.
|
|
30824
30834
|
Adding a new argument would make the implementation invalid. There are no arguments in the descriptor with the same name.
|
|
30825
30835
|
${g}
|
|
@@ -30832,7 +30842,7 @@ ${O}`,
|
|
|
30832
30842
|
new T({
|
|
30833
30843
|
id: `${i.id}--${b.NoOverlapWithImplementedSignature}`,
|
|
30834
30844
|
code: b.NoOverlapWithImplementedSignature,
|
|
30835
|
-
severity:
|
|
30845
|
+
severity: f.Error,
|
|
30836
30846
|
message: `Entity of type '${r.ArgumentDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${d.type}' with id '${d.id}' that implements a ${r.ActionDescriptor} with no arguments.
|
|
30837
30847
|
Adding a new argument would make the implementation invalid.`,
|
|
30838
30848
|
issue: null
|
|
@@ -30852,7 +30862,7 @@ Adding a new argument would make the implementation invalid.`,
|
|
|
30852
30862
|
new T({
|
|
30853
30863
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
30854
30864
|
code: p.InvalidParentUpdate,
|
|
30855
|
-
severity:
|
|
30865
|
+
severity: f.Error,
|
|
30856
30866
|
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.
|
|
30857
30867
|
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.`,
|
|
30858
30868
|
issue: null
|
|
@@ -30934,8 +30944,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
30934
30944
|
i.push(...s.affected), a.push(...s.removed);
|
|
30935
30945
|
}
|
|
30936
30946
|
return {
|
|
30937
|
-
affected:
|
|
30938
|
-
removed:
|
|
30947
|
+
affected: A(i),
|
|
30948
|
+
removed: A(a)
|
|
30939
30949
|
};
|
|
30940
30950
|
}
|
|
30941
30951
|
// Re-add this entity to the state after it was removed
|
|
@@ -30958,7 +30968,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
30958
30968
|
t.push(...i);
|
|
30959
30969
|
}
|
|
30960
30970
|
return {
|
|
30961
|
-
affected:
|
|
30971
|
+
affected: A(t),
|
|
30962
30972
|
self: this
|
|
30963
30973
|
};
|
|
30964
30974
|
}
|
|
@@ -31126,7 +31136,7 @@ function X8(n, e) {
|
|
|
31126
31136
|
new T({
|
|
31127
31137
|
id: `${n.id}--${n.parent}--${p.NewEntityWouldOverriteExisting}`,
|
|
31128
31138
|
code: p.NewEntityWouldOverriteExisting,
|
|
31129
|
-
severity:
|
|
31139
|
+
severity: f.Error,
|
|
31130
31140
|
message: `Entity of type "${n.type}" with id "${n.id}", has a 'parent' of type 'data-type' which already has an existing default value entity with id "${i.defaultValue.id}".
|
|
31131
31141
|
Data types can only have one 'primitive-value' entity as 'defaultValue'.
|
|
31132
31142
|
You can update the existing 'primitive-value' with the 'update' action, for example, like so:
|
|
@@ -31146,7 +31156,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
31146
31156
|
new T({
|
|
31147
31157
|
id: `${n.id}--${n.parent}--${p.InvalidParentReference}`,
|
|
31148
31158
|
code: p.InvalidParentReference,
|
|
31149
|
-
severity:
|
|
31159
|
+
severity: f.Error,
|
|
31150
31160
|
message: `Entity of type "${n.type}" with id "${n.id}", has a parent reference that isn't pointing to an entity of type 'input-map' or 'data-type'.`,
|
|
31151
31161
|
issue: null
|
|
31152
31162
|
})
|
|
@@ -31154,7 +31164,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
31154
31164
|
new T({
|
|
31155
31165
|
id: `${n.id}--${n.parent}--${p.ReferencedEntityNotFound}`,
|
|
31156
31166
|
code: p.ReferencedEntityNotFound,
|
|
31157
|
-
severity:
|
|
31167
|
+
severity: f.Error,
|
|
31158
31168
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${n.parent}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
31159
31169
|
issue: null
|
|
31160
31170
|
})
|
|
@@ -31164,7 +31174,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
31164
31174
|
new T({
|
|
31165
31175
|
id: `${n.id}--${b.InvalidObjectStructure}`,
|
|
31166
31176
|
code: b.InvalidObjectStructure,
|
|
31167
|
-
severity:
|
|
31177
|
+
severity: f.Error,
|
|
31168
31178
|
message: `Entity of type "${n.type}" with id "${n.id}" is missing a 'parent' reference. The 'parent' of a primitive value entity must be a reference to an entity of type 'input-map' or 'data-type'.`,
|
|
31169
31179
|
issue: null
|
|
31170
31180
|
})
|
|
@@ -31174,7 +31184,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
31174
31184
|
new T({
|
|
31175
31185
|
id: `${n.id}--${b.InvalidObjectStructure}`,
|
|
31176
31186
|
code: b.InvalidObjectStructure,
|
|
31177
|
-
severity:
|
|
31187
|
+
severity: f.Error,
|
|
31178
31188
|
message: `Entity of type "${n.type}" with id "${n.id}" is missing a 'parent' reference. The 'parent' of a primitive value entity must be a reference to an entity of type 'input-map' or 'data-type'.`,
|
|
31179
31189
|
issue: null
|
|
31180
31190
|
})
|
|
@@ -31194,7 +31204,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
31194
31204
|
new T({
|
|
31195
31205
|
id: `${n.id}--${o}--${p.InvalidImplementsReference}`,
|
|
31196
31206
|
code: p.InvalidImplementsReference,
|
|
31197
|
-
severity:
|
|
31207
|
+
severity: f.Error,
|
|
31198
31208
|
message: `Entity of type "${n.type}" with id "${n.id}", has an 'valueAsType' reference that isn't pointing to an entity of type 'custom-entity', 'function-declaration' or 'operation'.`,
|
|
31199
31209
|
issue: null
|
|
31200
31210
|
})
|
|
@@ -31202,7 +31212,7 @@ Or 'delete' and then 'post' actions to replace it.`,
|
|
|
31202
31212
|
new T({
|
|
31203
31213
|
id: `${n.id}--${o}--${p.ReferencedEntityNotFound}`,
|
|
31204
31214
|
code: p.ReferencedEntityNotFound,
|
|
31205
|
-
severity:
|
|
31215
|
+
severity: f.Error,
|
|
31206
31216
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${o}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
31207
31217
|
issue: null
|
|
31208
31218
|
})
|
|
@@ -31278,7 +31288,7 @@ const me = class me {
|
|
|
31278
31288
|
new T({
|
|
31279
31289
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
31280
31290
|
code: p.InvalidParentUpdate,
|
|
31281
|
-
severity:
|
|
31291
|
+
severity: f.Error,
|
|
31282
31292
|
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.
|
|
31283
31293
|
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.`,
|
|
31284
31294
|
issue: null
|
|
@@ -31339,8 +31349,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
31339
31349
|
affected: [],
|
|
31340
31350
|
removed: []
|
|
31341
31351
|
} : (t.add(this.id), a.push(this), this.unsubscribe(), {
|
|
31342
|
-
affected:
|
|
31343
|
-
removed:
|
|
31352
|
+
affected: A(i),
|
|
31353
|
+
removed: A(a)
|
|
31344
31354
|
});
|
|
31345
31355
|
}
|
|
31346
31356
|
// Re-add this entity to the state after it was removed
|
|
@@ -31528,14 +31538,14 @@ const Te = class Te {
|
|
|
31528
31538
|
*/
|
|
31529
31539
|
static fromGenerationTarget(e, t) {
|
|
31530
31540
|
const i = P(e.parent), a = t.get(i), s = e.calledByEntry.map((m) => {
|
|
31531
|
-
const
|
|
31532
|
-
return t.get(
|
|
31541
|
+
const h = P(m);
|
|
31542
|
+
return t.get(h);
|
|
31533
31543
|
}), o = e.calledBySuccess.map((m) => {
|
|
31534
|
-
const
|
|
31535
|
-
return t.get(
|
|
31544
|
+
const h = P(m);
|
|
31545
|
+
return t.get(h);
|
|
31536
31546
|
}), d = e.calledByError.map((m) => {
|
|
31537
|
-
const
|
|
31538
|
-
return t.get(
|
|
31547
|
+
const h = P(m);
|
|
31548
|
+
return t.get(h);
|
|
31539
31549
|
}), u = {
|
|
31540
31550
|
id: e.id,
|
|
31541
31551
|
version: 1,
|
|
@@ -31595,7 +31605,7 @@ const Te = class Te {
|
|
|
31595
31605
|
new T({
|
|
31596
31606
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
31597
31607
|
code: p.InvalidParentUpdate,
|
|
31598
|
-
severity:
|
|
31608
|
+
severity: f.Error,
|
|
31599
31609
|
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.
|
|
31600
31610
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
31601
31611
|
You shouldn't have to manually update a 'parent' property.
|
|
@@ -31715,8 +31725,8 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
31715
31725
|
return this.parent.removeContinueStatement(this), e || this.calledBy.forEach((s) => {
|
|
31716
31726
|
i.push(s), s.removeCall(this);
|
|
31717
31727
|
}), {
|
|
31718
|
-
affected:
|
|
31719
|
-
removed:
|
|
31728
|
+
affected: A(i),
|
|
31729
|
+
removed: A(a)
|
|
31720
31730
|
};
|
|
31721
31731
|
}
|
|
31722
31732
|
// Re-add this entity to the state after it was removed
|
|
@@ -31742,7 +31752,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
31742
31752
|
}), this.calledByEntry.forEach((i) => {
|
|
31743
31753
|
t.push(i), i.addCall(this);
|
|
31744
31754
|
}), {
|
|
31745
|
-
affected:
|
|
31755
|
+
affected: A(t),
|
|
31746
31756
|
self: this
|
|
31747
31757
|
};
|
|
31748
31758
|
}
|
|
@@ -31926,14 +31936,14 @@ const Qe = class Qe {
|
|
|
31926
31936
|
const i = P(e.parent), a = t.get(
|
|
31927
31937
|
i
|
|
31928
31938
|
), s = e.calledByEntry.map((m) => {
|
|
31929
|
-
const
|
|
31930
|
-
return t.get(
|
|
31939
|
+
const h = P(m);
|
|
31940
|
+
return t.get(h);
|
|
31931
31941
|
}), o = e.calledBySuccess.map((m) => {
|
|
31932
|
-
const
|
|
31933
|
-
return t.get(
|
|
31942
|
+
const h = P(m);
|
|
31943
|
+
return t.get(h);
|
|
31934
31944
|
}), d = e.calledByError.map((m) => {
|
|
31935
|
-
const
|
|
31936
|
-
return t.get(
|
|
31945
|
+
const h = P(m);
|
|
31946
|
+
return t.get(h);
|
|
31937
31947
|
}), u = {
|
|
31938
31948
|
id: e.id,
|
|
31939
31949
|
version: 1,
|
|
@@ -31994,7 +32004,7 @@ const Qe = class Qe {
|
|
|
31994
32004
|
new T({
|
|
31995
32005
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
31996
32006
|
code: p.InvalidParentUpdate,
|
|
31997
|
-
severity:
|
|
32007
|
+
severity: f.Error,
|
|
31998
32008
|
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.
|
|
31999
32009
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
32000
32010
|
You shouldn't have to manually update a 'parent' property.
|
|
@@ -32114,8 +32124,8 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
32114
32124
|
return this.parent.removeReturnStatement(this), e || this.calledBy.forEach((s) => {
|
|
32115
32125
|
i.push(s), s.removeCall(this);
|
|
32116
32126
|
}), {
|
|
32117
|
-
affected:
|
|
32118
|
-
removed:
|
|
32127
|
+
affected: A(i),
|
|
32128
|
+
removed: A(a)
|
|
32119
32129
|
};
|
|
32120
32130
|
}
|
|
32121
32131
|
// Re-add this entity to the state after it was removed
|
|
@@ -32141,7 +32151,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
32141
32151
|
}), this.calledByEntry.forEach((i) => {
|
|
32142
32152
|
t.push(i), i.addCall(this);
|
|
32143
32153
|
}), {
|
|
32144
|
-
affected:
|
|
32154
|
+
affected: A(t),
|
|
32145
32155
|
self: this
|
|
32146
32156
|
};
|
|
32147
32157
|
}
|
|
@@ -32326,14 +32336,14 @@ const Ee = class Ee {
|
|
|
32326
32336
|
*/
|
|
32327
32337
|
static fromGenerationTarget(e, t) {
|
|
32328
32338
|
const i = P(e.parent), a = t.get(i), s = e.calledByEntry.map((m) => {
|
|
32329
|
-
const
|
|
32330
|
-
return t.get(
|
|
32339
|
+
const h = P(m);
|
|
32340
|
+
return t.get(h);
|
|
32331
32341
|
}), o = e.calledBySuccess.map((m) => {
|
|
32332
|
-
const
|
|
32333
|
-
return t.get(
|
|
32342
|
+
const h = P(m);
|
|
32343
|
+
return t.get(h);
|
|
32334
32344
|
}), d = e.calledByError.map((m) => {
|
|
32335
|
-
const
|
|
32336
|
-
return t.get(
|
|
32345
|
+
const h = P(m);
|
|
32346
|
+
return t.get(h);
|
|
32337
32347
|
}), u = {
|
|
32338
32348
|
id: e.id,
|
|
32339
32349
|
version: 1,
|
|
@@ -32393,7 +32403,7 @@ const Ee = class Ee {
|
|
|
32393
32403
|
new T({
|
|
32394
32404
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
32395
32405
|
code: p.InvalidParentUpdate,
|
|
32396
|
-
severity:
|
|
32406
|
+
severity: f.Error,
|
|
32397
32407
|
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.
|
|
32398
32408
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
32399
32409
|
You shouldn't have to manually update a 'parent' property.
|
|
@@ -32513,8 +32523,8 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
32513
32523
|
return this.parent.removeBreakStatement(this), e || this.calledBy.forEach((s) => {
|
|
32514
32524
|
i.push(s), s.removeCall(this);
|
|
32515
32525
|
}), {
|
|
32516
|
-
affected:
|
|
32517
|
-
removed:
|
|
32526
|
+
affected: A(i),
|
|
32527
|
+
removed: A(a)
|
|
32518
32528
|
};
|
|
32519
32529
|
}
|
|
32520
32530
|
// Re-add this entity to the state after it was removed
|
|
@@ -32540,7 +32550,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
32540
32550
|
}), this.calledByEntry.forEach((i) => {
|
|
32541
32551
|
t.push(i), i.addCall(this);
|
|
32542
32552
|
}), {
|
|
32543
|
-
affected:
|
|
32553
|
+
affected: A(t),
|
|
32544
32554
|
self: this
|
|
32545
32555
|
};
|
|
32546
32556
|
}
|
|
@@ -32776,7 +32786,7 @@ const ce = class ce {
|
|
|
32776
32786
|
if (y.length) {
|
|
32777
32787
|
let m = y.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements multiple '${r.BuiltInBaseEntity}' entities that are non-interactive ("${_(
|
|
32778
32788
|
y.map(
|
|
32779
|
-
(
|
|
32789
|
+
(h) => D(h, h.project)
|
|
32780
32790
|
),
|
|
32781
32791
|
'", "',
|
|
32782
32792
|
'" and "'
|
|
@@ -32789,7 +32799,7 @@ ${xn}`, a.push(
|
|
|
32789
32799
|
new T({
|
|
32790
32800
|
id: `${e.id}--${p.NonInteractiveEntityReferenced}`,
|
|
32791
32801
|
code: p.NonInteractiveEntityReferenced,
|
|
32792
|
-
severity:
|
|
32802
|
+
severity: f.Error,
|
|
32793
32803
|
message: m,
|
|
32794
32804
|
issue: null
|
|
32795
32805
|
})
|
|
@@ -32801,7 +32811,7 @@ ${xn}`, a.push(
|
|
|
32801
32811
|
new T({
|
|
32802
32812
|
id: `${e.id}--${p.NewEntityWouldOverriteExisting}`,
|
|
32803
32813
|
code: p.NewEntityWouldOverriteExisting,
|
|
32804
|
-
severity:
|
|
32814
|
+
severity: f.Error,
|
|
32805
32815
|
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.
|
|
32806
32816
|
You can inspect the existing 'entity' field with the 'describe_entity' action. Like so:
|
|
32807
32817
|
${Xt(
|
|
@@ -32828,7 +32838,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
32828
32838
|
new T({
|
|
32829
32839
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
32830
32840
|
code: p.InvalidParentUpdate,
|
|
32831
|
-
severity:
|
|
32841
|
+
severity: f.Error,
|
|
32832
32842
|
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.
|
|
32833
32843
|
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.`,
|
|
32834
32844
|
issue: null
|
|
@@ -32945,8 +32955,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
32945
32955
|
i.push(...s.affected), a.push(...s.removed);
|
|
32946
32956
|
}
|
|
32947
32957
|
return {
|
|
32948
|
-
affected:
|
|
32949
|
-
removed:
|
|
32958
|
+
affected: A(i),
|
|
32959
|
+
removed: A(a)
|
|
32950
32960
|
};
|
|
32951
32961
|
}
|
|
32952
32962
|
// Re-add this entity to the state after it was removed
|
|
@@ -32977,7 +32987,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
32977
32987
|
t.push(...i.affected);
|
|
32978
32988
|
}
|
|
32979
32989
|
return {
|
|
32980
|
-
affected:
|
|
32990
|
+
affected: A(t),
|
|
32981
32991
|
self: this
|
|
32982
32992
|
};
|
|
32983
32993
|
}
|
|
@@ -33108,7 +33118,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
33108
33118
|
), i = [], a = [];
|
|
33109
33119
|
if (this.fixedReturns.length) {
|
|
33110
33120
|
const o = this.fixedReturns.map(
|
|
33111
|
-
(m,
|
|
33121
|
+
(m, h) => {
|
|
33112
33122
|
var g;
|
|
33113
33123
|
const R = {
|
|
33114
33124
|
id: e + "--return-statement--" + m.id + "--parent-ref",
|
|
@@ -33125,7 +33135,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
33125
33135
|
readsValue: null,
|
|
33126
33136
|
required: m.required,
|
|
33127
33137
|
isError: !1,
|
|
33128
|
-
index:
|
|
33138
|
+
index: h,
|
|
33129
33139
|
dataType: ((g = m.dataType) == null ? void 0 : g.toJSON()) || null,
|
|
33130
33140
|
parent: R
|
|
33131
33141
|
};
|
|
@@ -33583,7 +33593,7 @@ const de = class de {
|
|
|
33583
33593
|
new T({
|
|
33584
33594
|
id: `${e.id}--${p.BuiltInEntityParent}`,
|
|
33585
33595
|
code: p.BuiltInEntityParent,
|
|
33586
|
-
severity:
|
|
33596
|
+
severity: f.Error,
|
|
33587
33597
|
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}'.
|
|
33588
33598
|
You can't modify system entities that are built-in.`,
|
|
33589
33599
|
issue: null
|
|
@@ -33592,7 +33602,7 @@ You can't modify system entities that are built-in.`,
|
|
|
33592
33602
|
new T({
|
|
33593
33603
|
id: `${e.id}--${p.InvalidParentRelationType}`,
|
|
33594
33604
|
code: p.InvalidParentRelationType,
|
|
33595
|
-
severity:
|
|
33605
|
+
severity: f.Error,
|
|
33596
33606
|
message: `The entity with id '${e.id}' and type '${e.type}', must have a 'parentRelationType' property set to either '${C.FixedArguments}', '${C.FixedReturns}', or '${C.ReturnedError}' when being added as a child to an entity of type 'action-descriptor'.`,
|
|
33597
33607
|
issue: null
|
|
33598
33608
|
})
|
|
@@ -33600,7 +33610,7 @@ You can't modify system entities that are built-in.`,
|
|
|
33600
33610
|
new T({
|
|
33601
33611
|
id: `${e.id}--${p.NewEntityWouldOverriteExisting}`,
|
|
33602
33612
|
code: p.NewEntityWouldOverriteExisting,
|
|
33603
|
-
severity:
|
|
33613
|
+
severity: f.Error,
|
|
33604
33614
|
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}'.
|
|
33605
33615
|
An action descriptor can only have one error value descriptor child.
|
|
33606
33616
|
Either remove the existing error value descriptor or update it with the 'update' action.
|
|
@@ -33681,8 +33691,8 @@ ${Xt(
|
|
|
33681
33691
|
i.push(...s), a.push(...o);
|
|
33682
33692
|
}
|
|
33683
33693
|
return {
|
|
33684
|
-
affected:
|
|
33685
|
-
removed:
|
|
33694
|
+
affected: A(i),
|
|
33695
|
+
removed: A(a)
|
|
33686
33696
|
};
|
|
33687
33697
|
}
|
|
33688
33698
|
// Re-add this entity to the state after it was removed
|
|
@@ -33699,7 +33709,7 @@ ${Xt(
|
|
|
33699
33709
|
t.push(...i);
|
|
33700
33710
|
}
|
|
33701
33711
|
return {
|
|
33702
|
-
affected:
|
|
33712
|
+
affected: A(t),
|
|
33703
33713
|
self: this
|
|
33704
33714
|
};
|
|
33705
33715
|
}
|
|
@@ -33846,14 +33856,14 @@ function h3(n, e) {
|
|
|
33846
33856
|
new T({
|
|
33847
33857
|
id: `last-generated-entity-payload--${p.MissingTypeProperty}`,
|
|
33848
33858
|
message: "Last generated entity payload is missing a 'type' property.",
|
|
33849
|
-
severity:
|
|
33859
|
+
severity: f.Error,
|
|
33850
33860
|
code: p.MissingTypeProperty,
|
|
33851
33861
|
issue: null
|
|
33852
33862
|
}),
|
|
33853
33863
|
new T({
|
|
33854
33864
|
id: `last-generated-entity-payload--${p.MissingIdProperty}`,
|
|
33855
33865
|
message: "Last generated entity payload is missing an 'id' property.",
|
|
33856
|
-
severity:
|
|
33866
|
+
severity: f.Error,
|
|
33857
33867
|
code: p.MissingIdProperty,
|
|
33858
33868
|
issue: null
|
|
33859
33869
|
})
|
|
@@ -33867,7 +33877,7 @@ function h3(n, e) {
|
|
|
33867
33877
|
new T({
|
|
33868
33878
|
id: `last-generated-entity-payload--${p.MissingIdProperty}`,
|
|
33869
33879
|
message: `Last generated entity, with type "${n.type}" is missing an 'id' property.`,
|
|
33870
|
-
severity:
|
|
33880
|
+
severity: f.Error,
|
|
33871
33881
|
code: p.MissingIdProperty,
|
|
33872
33882
|
issue: null
|
|
33873
33883
|
})
|
|
@@ -33880,7 +33890,7 @@ function h3(n, e) {
|
|
|
33880
33890
|
new T({
|
|
33881
33891
|
id: `${n.id}--${p.MissingTypeProperty}`,
|
|
33882
33892
|
message: `Entity with id "${n.id}" is missing a 'type' property.`,
|
|
33883
|
-
severity:
|
|
33893
|
+
severity: f.Error,
|
|
33884
33894
|
code: p.MissingTypeProperty,
|
|
33885
33895
|
issue: null
|
|
33886
33896
|
})
|
|
@@ -33893,7 +33903,7 @@ function h3(n, e) {
|
|
|
33893
33903
|
new T({
|
|
33894
33904
|
id: `${n.id}--${p.RootReference}`,
|
|
33895
33905
|
message: `Generic reference entity with id "${n.id}". A generic reference cannot be generated as a standalone entity. Only in the body of another entity.`,
|
|
33896
|
-
severity:
|
|
33906
|
+
severity: f.Error,
|
|
33897
33907
|
code: p.RootReference,
|
|
33898
33908
|
issue: null
|
|
33899
33909
|
})
|
|
@@ -33914,7 +33924,7 @@ If you are trying to create a new entity, please use a different id, for example
|
|
|
33914
33924
|
new T({
|
|
33915
33925
|
id: `duplicate--${t.id}--${p.EntityIdNotUnique}`,
|
|
33916
33926
|
message: s,
|
|
33917
|
-
severity:
|
|
33927
|
+
severity: f.Error,
|
|
33918
33928
|
code: p.EntityIdNotUnique,
|
|
33919
33929
|
issue: null
|
|
33920
33930
|
})
|
|
@@ -33930,7 +33940,7 @@ If you are trying to create a new entity, please use a different id, for example
|
|
|
33930
33940
|
t,
|
|
33931
33941
|
e
|
|
33932
33942
|
)}".`,
|
|
33933
|
-
severity:
|
|
33943
|
+
severity: f.Error,
|
|
33934
33944
|
code: p.EntityIdNotUnique,
|
|
33935
33945
|
issue: null
|
|
33936
33946
|
})
|
|
@@ -34072,7 +34082,7 @@ If you are trying to create a new entity, please use a different id, for example
|
|
|
34072
34082
|
id: `${t.id}--${p.BuiltInEntityGenerated}`,
|
|
34073
34083
|
message: `Entity with id "${t.id} is of "${t.type}" type and should not be generated. Built in entities can only be referenced by user created entities.
|
|
34074
34084
|
${d}`,
|
|
34075
|
-
severity:
|
|
34085
|
+
severity: f.Error,
|
|
34076
34086
|
code: p.BuiltInEntityGenerated,
|
|
34077
34087
|
issue: null
|
|
34078
34088
|
})
|
|
@@ -34088,7 +34098,7 @@ ${d}`,
|
|
|
34088
34098
|
new T({
|
|
34089
34099
|
id: `${s.id}--${p.UnknownEntityType}`,
|
|
34090
34100
|
message: `Incorrect entity implementation for entity with id "${s.id}". Entity type "${s.type}" is not supported.`,
|
|
34091
|
-
severity:
|
|
34101
|
+
severity: f.Error,
|
|
34092
34102
|
code: p.UnknownEntityType,
|
|
34093
34103
|
issue: null
|
|
34094
34104
|
})
|
|
@@ -34134,7 +34144,7 @@ function f3(n, e) {
|
|
|
34134
34144
|
new T({
|
|
34135
34145
|
id: `${e.id}--${p.BuiltInEntityGenerated}`,
|
|
34136
34146
|
message: `Entity with id "${e.id} is of "${e.type}" type and should not be updated. Built in entities can only be referenced by user created entities.`,
|
|
34137
|
-
severity:
|
|
34147
|
+
severity: f.Error,
|
|
34138
34148
|
code: p.BuiltInEntityGenerated,
|
|
34139
34149
|
issue: null
|
|
34140
34150
|
})
|
|
@@ -34142,7 +34152,7 @@ function f3(n, e) {
|
|
|
34142
34152
|
new T({
|
|
34143
34153
|
id: `last-action--${p.InvalidUpdateEntityOperation}`,
|
|
34144
34154
|
code: p.InvalidUpdateEntityOperation,
|
|
34145
|
-
severity:
|
|
34155
|
+
severity: f.Error,
|
|
34146
34156
|
message: `The 'id' property cannot be updated in the 'update' action payload. The id of the entity is '${n.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'.`,
|
|
34147
34157
|
issue: null
|
|
34148
34158
|
})
|
|
@@ -34150,7 +34160,7 @@ function f3(n, e) {
|
|
|
34150
34160
|
new T({
|
|
34151
34161
|
id: `last-action--${p.InvalidUpdateEntityOperation}`,
|
|
34152
34162
|
code: p.InvalidUpdateEntityOperation,
|
|
34153
|
-
severity:
|
|
34163
|
+
severity: f.Error,
|
|
34154
34164
|
message: `The 'type' property cannot be updated in the 'update' action payload. The type of the entity is '${e.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'.`,
|
|
34155
34165
|
issue: null
|
|
34156
34166
|
})
|
|
@@ -34165,7 +34175,7 @@ function f3(n, e) {
|
|
|
34165
34175
|
id: `${e.id}--${p.InvalidInmutablePropertyOverride}`,
|
|
34166
34176
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "calls" updated.
|
|
34167
34177
|
${Cn}`,
|
|
34168
|
-
severity:
|
|
34178
|
+
severity: f.Error,
|
|
34169
34179
|
code: p.InvalidInmutablePropertyOverride,
|
|
34170
34180
|
issue: null
|
|
34171
34181
|
})
|
|
@@ -34174,7 +34184,7 @@ ${Cn}`,
|
|
|
34174
34184
|
id: `${e.id}--${p.InvalidInmutablePropertyOverride}`,
|
|
34175
34185
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "successCalls" updated.
|
|
34176
34186
|
${Cn}`,
|
|
34177
|
-
severity:
|
|
34187
|
+
severity: f.Error,
|
|
34178
34188
|
code: p.InvalidInmutablePropertyOverride,
|
|
34179
34189
|
issue: null
|
|
34180
34190
|
})
|
|
@@ -34183,7 +34193,7 @@ ${Cn}`,
|
|
|
34183
34193
|
id: `${e.id}--${p.InvalidInmutablePropertyOverride}`,
|
|
34184
34194
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "errorCalls" updated.
|
|
34185
34195
|
${Cn}`,
|
|
34186
|
-
severity:
|
|
34196
|
+
severity: f.Error,
|
|
34187
34197
|
code: p.InvalidInmutablePropertyOverride,
|
|
34188
34198
|
issue: null
|
|
34189
34199
|
})
|
|
@@ -34192,7 +34202,7 @@ ${Cn}`,
|
|
|
34192
34202
|
id: `${e.id}--${p.InvalidInmutablePropertyOverride}`,
|
|
34193
34203
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "calledBy" updated.
|
|
34194
34204
|
${Cn}`,
|
|
34195
|
-
severity:
|
|
34205
|
+
severity: f.Error,
|
|
34196
34206
|
code: p.InvalidInmutablePropertyOverride,
|
|
34197
34207
|
issue: null
|
|
34198
34208
|
})
|
|
@@ -34201,7 +34211,7 @@ ${Cn}`,
|
|
|
34201
34211
|
id: `${e.id}--${p.InvalidInmutablePropertyOverride}`,
|
|
34202
34212
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "calledByEntry" updated.
|
|
34203
34213
|
${Cn}`,
|
|
34204
|
-
severity:
|
|
34214
|
+
severity: f.Error,
|
|
34205
34215
|
code: p.InvalidInmutablePropertyOverride,
|
|
34206
34216
|
issue: null
|
|
34207
34217
|
})
|
|
@@ -34210,7 +34220,7 @@ ${Cn}`,
|
|
|
34210
34220
|
id: `${e.id}--${p.InvalidInmutablePropertyOverride}`,
|
|
34211
34221
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "calledBySuccess" updated.
|
|
34212
34222
|
${Cn}`,
|
|
34213
|
-
severity:
|
|
34223
|
+
severity: f.Error,
|
|
34214
34224
|
code: p.InvalidInmutablePropertyOverride,
|
|
34215
34225
|
issue: null
|
|
34216
34226
|
})
|
|
@@ -34219,7 +34229,7 @@ ${Cn}`,
|
|
|
34219
34229
|
id: `${e.id}--${p.InvalidInmutablePropertyOverride}`,
|
|
34220
34230
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "calledByError" updated.
|
|
34221
34231
|
${Cn}`,
|
|
34222
|
-
severity:
|
|
34232
|
+
severity: f.Error,
|
|
34223
34233
|
code: p.InvalidInmutablePropertyOverride,
|
|
34224
34234
|
issue: null
|
|
34225
34235
|
})
|
|
@@ -34240,7 +34250,7 @@ ${Cn}`,
|
|
|
34240
34250
|
id: `${e.id}--${p.InvalidInmutablePropertyOverride}`,
|
|
34241
34251
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "${k}" updated. It is an inmutable property that is set only when the entity is created.
|
|
34242
34252
|
If you need to update this property, you should delete the entity and create a new one with the updated value.`,
|
|
34243
|
-
severity:
|
|
34253
|
+
severity: f.Error,
|
|
34244
34254
|
code: p.InvalidInmutablePropertyOverride,
|
|
34245
34255
|
issue: null
|
|
34246
34256
|
})
|
|
@@ -34255,7 +34265,7 @@ If you need to update this property, you should delete the entity and create a n
|
|
|
34255
34265
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "${k}" set directly. It is a downstream property that points to a downstream nested entity.
|
|
34256
34266
|
All downstream references are managed by the downstream entity. Entities only manage their own upstream references.
|
|
34257
34267
|
To modify '${k}', target the entity that it points to and its equivalent property.`,
|
|
34258
|
-
severity:
|
|
34268
|
+
severity: f.Error,
|
|
34259
34269
|
code: p.InvalidDownstreamPropertyOverride,
|
|
34260
34270
|
issue: null
|
|
34261
34271
|
})
|
|
@@ -34269,7 +34279,7 @@ To modify '${k}', target the entity that it points to and its equivalent propert
|
|
|
34269
34279
|
id: `${e.id}--${p.InvalidInmutablePropertyOverride}`,
|
|
34270
34280
|
message: `Entity of type "${e.type}" with id "${e.id}" cannot have the property "${k}" updated. It is an inmutable property that is set only when the entity is created.
|
|
34271
34281
|
If you need to update this property, you should delete the entity and create a new one with the updated value.`,
|
|
34272
|
-
severity:
|
|
34282
|
+
severity: f.Error,
|
|
34273
34283
|
code: p.InvalidInmutablePropertyOverride,
|
|
34274
34284
|
issue: null
|
|
34275
34285
|
})
|
|
@@ -34281,7 +34291,7 @@ If you need to update this property, you should delete the entity and create a n
|
|
|
34281
34291
|
new T({
|
|
34282
34292
|
id: `${e.id}--${p.UnrecognizedProperty}`,
|
|
34283
34293
|
message: `Entity of type "${e.type}" with id "${e.id}" has an unrecognized property "${k}" that will be ignored.`,
|
|
34284
|
-
severity:
|
|
34294
|
+
severity: f.Warning,
|
|
34285
34295
|
code: p.UnrecognizedProperty,
|
|
34286
34296
|
issue: null
|
|
34287
34297
|
})
|
|
@@ -34308,13 +34318,13 @@ If you need to update this property, you should delete the entity and create a n
|
|
|
34308
34318
|
modifiedData: null,
|
|
34309
34319
|
messageAddition: i ? _s(e) : ""
|
|
34310
34320
|
};
|
|
34311
|
-
const
|
|
34321
|
+
const h = (
|
|
34312
34322
|
// @ts-ignore
|
|
34313
34323
|
e.validateGeneratedUpdate(n)
|
|
34314
34324
|
);
|
|
34315
34325
|
return {
|
|
34316
|
-
errors: [...t, ...
|
|
34317
|
-
modifiedData:
|
|
34326
|
+
errors: [...t, ...h.errors],
|
|
34327
|
+
modifiedData: h.modifiedData,
|
|
34318
34328
|
messageAddition: i ? _s(e) : ""
|
|
34319
34329
|
};
|
|
34320
34330
|
}
|
|
@@ -34444,7 +34454,7 @@ function uc(n) {
|
|
|
34444
34454
|
new T({
|
|
34445
34455
|
id: `${n}--${p.InvalidReferenceObjectStructure}`,
|
|
34446
34456
|
message: `Reference object with id "${n}" is not an object. References should be objects with exactly 4 properties: 'entityId', 'entityType', 'id', and 'type'.`,
|
|
34447
|
-
severity:
|
|
34457
|
+
severity: f.Error,
|
|
34448
34458
|
code: p.InvalidReferenceObjectStructure,
|
|
34449
34459
|
issue: null
|
|
34450
34460
|
})
|
|
@@ -34454,7 +34464,7 @@ function uc(n) {
|
|
|
34454
34464
|
new T({
|
|
34455
34465
|
id: `${t}--${p.InvalidReferenceObjectStructure}`,
|
|
34456
34466
|
message: `${i} is missing an 'entityId' property.`,
|
|
34457
|
-
severity:
|
|
34467
|
+
severity: f.Error,
|
|
34458
34468
|
code: p.InvalidReferenceObjectStructure,
|
|
34459
34469
|
issue: null
|
|
34460
34470
|
})
|
|
@@ -34462,7 +34472,7 @@ function uc(n) {
|
|
|
34462
34472
|
new T({
|
|
34463
34473
|
id: `${t}--${p.InvalidReferenceObjectStructure}`,
|
|
34464
34474
|
message: `${i} is missing an 'entityType' property.`,
|
|
34465
|
-
severity:
|
|
34475
|
+
severity: f.Error,
|
|
34466
34476
|
code: p.InvalidReferenceObjectStructure,
|
|
34467
34477
|
issue: null
|
|
34468
34478
|
})
|
|
@@ -34470,7 +34480,7 @@ function uc(n) {
|
|
|
34470
34480
|
new T({
|
|
34471
34481
|
id: `${t}--${p.MissingIdProperty}`,
|
|
34472
34482
|
message: `${i} is missing an 'id' property.`,
|
|
34473
|
-
severity:
|
|
34483
|
+
severity: f.Error,
|
|
34474
34484
|
code: p.MissingIdProperty,
|
|
34475
34485
|
issue: null
|
|
34476
34486
|
})
|
|
@@ -34478,7 +34488,7 @@ function uc(n) {
|
|
|
34478
34488
|
new T({
|
|
34479
34489
|
id: `${t}--${p.MissingTypeProperty}`,
|
|
34480
34490
|
message: `${i} is missing a 'type' property.`,
|
|
34481
|
-
severity:
|
|
34491
|
+
severity: f.Error,
|
|
34482
34492
|
code: p.MissingTypeProperty,
|
|
34483
34493
|
issue: null
|
|
34484
34494
|
})
|
|
@@ -34489,7 +34499,7 @@ function bf(n, e) {
|
|
|
34489
34499
|
(t) => new T({
|
|
34490
34500
|
id: `${n.id}--${b.InvalidObjectStructure}`,
|
|
34491
34501
|
message: `Entity of type "${n.type}" and with id "${n.id}", has an invalid structure: ${wF(t).toString().replace("Validation error: ", "")}`,
|
|
34492
|
-
severity:
|
|
34502
|
+
severity: f.Error,
|
|
34493
34503
|
code: b.InvalidObjectStructure,
|
|
34494
34504
|
issue: t
|
|
34495
34505
|
})
|
|
@@ -34511,7 +34521,7 @@ function Ae(n, e) {
|
|
|
34511
34521
|
message: `Entity of type "${n.type}" with id "${n.id}" cannot have the property "${d}" set directly. It is a downstream property that points to a downstream nested entity.
|
|
34512
34522
|
All downstream references are managed by the downstream entity. Entities only manage their own upstream references.
|
|
34513
34523
|
To modify '${d}', target the entity that it points to and its equivalent property.`,
|
|
34514
|
-
severity:
|
|
34524
|
+
severity: f.Error,
|
|
34515
34525
|
code: p.InvalidDownstreamPropertyOverride,
|
|
34516
34526
|
issue: null
|
|
34517
34527
|
})
|
|
@@ -34523,7 +34533,7 @@ To modify '${d}', target the entity that it points to and its equivalent propert
|
|
|
34523
34533
|
new T({
|
|
34524
34534
|
id: `${n.id}--${p.UnrecognizedProperty}`,
|
|
34525
34535
|
message: `Entity of type "${n.type}" with id "${n.id}" has an unrecognized property "${d}" that will be ignored.`,
|
|
34526
|
-
severity:
|
|
34536
|
+
severity: f.Warning,
|
|
34527
34537
|
code: p.UnrecognizedProperty,
|
|
34528
34538
|
issue: null
|
|
34529
34539
|
})
|
|
@@ -34543,7 +34553,7 @@ function m3(n, e) {
|
|
|
34543
34553
|
new T({
|
|
34544
34554
|
id: `${n.id}--${p.BuiltInEntityParent}`,
|
|
34545
34555
|
message: `Entity of type "${n.type}" with id "${n.id}" cannot have the parent with id "${i.id}", because it is a built in entity. Built in entities cannot be modified.`,
|
|
34546
|
-
severity:
|
|
34556
|
+
severity: f.Error,
|
|
34547
34557
|
code: p.BuiltInEntityParent,
|
|
34548
34558
|
issue: null
|
|
34549
34559
|
})
|
|
@@ -34553,7 +34563,7 @@ function m3(n, e) {
|
|
|
34553
34563
|
new T({
|
|
34554
34564
|
id: `${n.id}--${p.BuiltInEntityParent}`,
|
|
34555
34565
|
message: `Entity of type "${n.type}" with id "${n.id}" cannot have the parent with id "${i.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.`,
|
|
34556
|
-
severity:
|
|
34566
|
+
severity: f.Error,
|
|
34557
34567
|
code: p.BuiltInEntityParent,
|
|
34558
34568
|
issue: null
|
|
34559
34569
|
})
|
|
@@ -34570,7 +34580,7 @@ function vf(n, e, t) {
|
|
|
34570
34580
|
", ",
|
|
34571
34581
|
" or "
|
|
34572
34582
|
)}.`,
|
|
34573
|
-
severity:
|
|
34583
|
+
severity: f.Error,
|
|
34574
34584
|
code: b.InvalidObjectStructure,
|
|
34575
34585
|
issue: null
|
|
34576
34586
|
})
|
|
@@ -34589,7 +34599,7 @@ function vf(n, e, t) {
|
|
|
34589
34599
|
new T({
|
|
34590
34600
|
id: `${n.id}--${s}--${p.SelfReference}`,
|
|
34591
34601
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to itself at '${e.key}'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
34592
|
-
severity:
|
|
34602
|
+
severity: f.Error,
|
|
34593
34603
|
code: p.SelfReference,
|
|
34594
34604
|
issue: null
|
|
34595
34605
|
})
|
|
@@ -34603,7 +34613,7 @@ function vf(n, e, t) {
|
|
|
34603
34613
|
"', '",
|
|
34604
34614
|
"' or '"
|
|
34605
34615
|
)}'.`,
|
|
34606
|
-
severity:
|
|
34616
|
+
severity: f.Error,
|
|
34607
34617
|
code: p.InvalidReference,
|
|
34608
34618
|
issue: null
|
|
34609
34619
|
})
|
|
@@ -34611,7 +34621,7 @@ function vf(n, e, t) {
|
|
|
34611
34621
|
new T({
|
|
34612
34622
|
id: `${n.id}--${s}--${p.ReferencedEntityNotFound}`,
|
|
34613
34623
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${s}" at '${e.key}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
34614
|
-
severity:
|
|
34624
|
+
severity: f.Error,
|
|
34615
34625
|
code: p.ReferencedEntityNotFound,
|
|
34616
34626
|
issue: null
|
|
34617
34627
|
})
|
|
@@ -34634,7 +34644,7 @@ function Ns(n, e, t) {
|
|
|
34634
34644
|
new T({
|
|
34635
34645
|
id: `${n.id}--${e}--${p.InvalidReference}`,
|
|
34636
34646
|
message: `Entity of type "${n.type}" with id "${n.id}", has a missing reference at '${e}'. A reference needs to be a 'id' string of an existing entity in the project.`,
|
|
34637
|
-
severity:
|
|
34647
|
+
severity: f.Error,
|
|
34638
34648
|
code: p.InvalidReference,
|
|
34639
34649
|
issue: null
|
|
34640
34650
|
})
|
|
@@ -34645,7 +34655,7 @@ function Ns(n, e, t) {
|
|
|
34645
34655
|
new T({
|
|
34646
34656
|
id: `${n.id}--${d}--${p.ReferencedEntityNotFound}`,
|
|
34647
34657
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${d}" at '${e}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
34648
|
-
severity:
|
|
34658
|
+
severity: f.Error,
|
|
34649
34659
|
code: p.ReferencedEntityNotFound,
|
|
34650
34660
|
issue: null
|
|
34651
34661
|
})
|
|
@@ -34654,7 +34664,7 @@ function Ns(n, e, t) {
|
|
|
34654
34664
|
new T({
|
|
34655
34665
|
id: `${n.id}--${e}--${b.InvalidObjectStructure}`,
|
|
34656
34666
|
message: `Entity of type "${n.type}" with id "${n.id}" has an invalid structure for the "${e}" property. It should be an array of references.`,
|
|
34657
|
-
severity:
|
|
34667
|
+
severity: f.Error,
|
|
34658
34668
|
code: b.InvalidObjectStructure,
|
|
34659
34669
|
issue: null
|
|
34660
34670
|
})
|
|
@@ -34662,7 +34672,7 @@ function Ns(n, e, t) {
|
|
|
34662
34672
|
new T({
|
|
34663
34673
|
id: `${n.id}--${e}--${b.InvalidObjectStructure}`,
|
|
34664
34674
|
message: `Entity of type "${n.type}" with id "${n.id}" is missing a list of references to "${e}" entities.`,
|
|
34665
|
-
severity:
|
|
34675
|
+
severity: f.Error,
|
|
34666
34676
|
code: b.InvalidObjectStructure,
|
|
34667
34677
|
issue: null
|
|
34668
34678
|
})
|
|
@@ -34678,7 +34688,7 @@ function qc(n, e, t) {
|
|
|
34678
34688
|
new T({
|
|
34679
34689
|
id: `${n.id}--${s.id}--${p.InvalidReference}`,
|
|
34680
34690
|
code: p.InvalidReference,
|
|
34681
|
-
severity:
|
|
34691
|
+
severity: f.Error,
|
|
34682
34692
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to "${e.key}" that isn't pointing to an entity of type '${_(
|
|
34683
34693
|
e.types,
|
|
34684
34694
|
"', '",
|
|
@@ -34690,7 +34700,7 @@ function qc(n, e, t) {
|
|
|
34690
34700
|
new T({
|
|
34691
34701
|
id: `${n.id}--${s.id}--${p.SelfReference}`,
|
|
34692
34702
|
code: p.SelfReference,
|
|
34693
|
-
severity:
|
|
34703
|
+
severity: f.Error,
|
|
34694
34704
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to itself at '${e.key}'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
34695
34705
|
issue: null
|
|
34696
34706
|
})
|
|
@@ -34812,7 +34822,7 @@ function o6(n, e) {
|
|
|
34812
34822
|
new T({
|
|
34813
34823
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34814
34824
|
code: p.InvalidReference,
|
|
34815
|
-
severity:
|
|
34825
|
+
severity: f.Warning,
|
|
34816
34826
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to an entry-point entity at 'calledBySuccess' with id "${e.id}".
|
|
34817
34827
|
Entry-point entities can only be referenced as 'calledByEntry'.
|
|
34818
34828
|
${Ts}
|
|
@@ -34836,7 +34846,7 @@ This ${e.type} is called by ${_(
|
|
|
34836
34846
|
new T({
|
|
34837
34847
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34838
34848
|
code: p.InvalidReference,
|
|
34839
|
-
severity:
|
|
34849
|
+
severity: f.Error,
|
|
34840
34850
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a '${e.type}' entity at 'calledBySuccess' with id "${e.id}".
|
|
34841
34851
|
${e.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
34842
34852
|
Termination entities are ${_(
|
|
@@ -34852,7 +34862,7 @@ Termination entities are ${_(
|
|
|
34852
34862
|
new T({
|
|
34853
34863
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34854
34864
|
code: p.InvalidReference,
|
|
34855
|
-
severity:
|
|
34865
|
+
severity: f.Error,
|
|
34856
34866
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a caller entity at 'calledBySuccess' with id "${e.id}" that isn't a pass-through callable entity.
|
|
34857
34867
|
${Nn}`,
|
|
34858
34868
|
issue: null
|
|
@@ -34863,7 +34873,7 @@ ${Nn}`,
|
|
|
34863
34873
|
new T({
|
|
34864
34874
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34865
34875
|
code: p.InvalidReference,
|
|
34866
|
-
severity:
|
|
34876
|
+
severity: f.Error,
|
|
34867
34877
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a caller entity at 'calledBySuccess' with id "${e.id}" that isn't a caller entity.
|
|
34868
34878
|
All caller entity types are: ${_(
|
|
34869
34879
|
yn,
|
|
@@ -34884,7 +34894,7 @@ function l6(n, e) {
|
|
|
34884
34894
|
new T({
|
|
34885
34895
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34886
34896
|
code: p.InvalidReference,
|
|
34887
|
-
severity:
|
|
34897
|
+
severity: f.Error,
|
|
34888
34898
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to an entry-point entity at 'calledByError' with id "${e.id}".
|
|
34889
34899
|
Entry-point entities can only be referenced as 'calledByEntry'.
|
|
34890
34900
|
${Ts}`,
|
|
@@ -34905,7 +34915,7 @@ This ${e.type} is called by ${_(
|
|
|
34905
34915
|
new T({
|
|
34906
34916
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34907
34917
|
code: p.InvalidReference,
|
|
34908
|
-
severity:
|
|
34918
|
+
severity: f.Error,
|
|
34909
34919
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a '${e.type}' entity at 'calledByError' with id "${e.id}".
|
|
34910
34920
|
${e.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
34911
34921
|
Termination entities are ${_(
|
|
@@ -34921,7 +34931,7 @@ Termination entities are ${_(
|
|
|
34921
34931
|
new T({
|
|
34922
34932
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34923
34933
|
code: p.InvalidReference,
|
|
34924
|
-
severity:
|
|
34934
|
+
severity: f.Error,
|
|
34925
34935
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a caller entity at 'calledByError' with id "${e.id}" that isn't a pass-through callable entity.
|
|
34926
34936
|
${Nn}`,
|
|
34927
34937
|
issue: null
|
|
@@ -34932,7 +34942,7 @@ ${Nn}`,
|
|
|
34932
34942
|
new T({
|
|
34933
34943
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34934
34944
|
code: p.InvalidReference,
|
|
34935
|
-
severity:
|
|
34945
|
+
severity: f.Error,
|
|
34936
34946
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a caller entity at 'calledByError' with id "${e.id}" that isn't a caller entity.
|
|
34937
34947
|
All caller entity types are: ${_(
|
|
34938
34948
|
yn,
|
|
@@ -34962,7 +34972,7 @@ This ${e.type} is called by ${_(
|
|
|
34962
34972
|
new T({
|
|
34963
34973
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34964
34974
|
code: p.InvalidReference,
|
|
34965
|
-
severity:
|
|
34975
|
+
severity: f.Error,
|
|
34966
34976
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a '${e.type}' entity at 'calledByEntry' with id "${e.id}".
|
|
34967
34977
|
${e.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
34968
34978
|
Termination entities are ${_(
|
|
@@ -34978,7 +34988,7 @@ Termination entities are ${_(
|
|
|
34978
34988
|
new T({
|
|
34979
34989
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34980
34990
|
code: p.InvalidReference,
|
|
34981
|
-
severity:
|
|
34991
|
+
severity: f.Warning,
|
|
34982
34992
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a caller entity at 'calledByEntry' with id "${e.id}" that is a pass-through callable entity, not an entry-point entity.
|
|
34983
34993
|
${Nn}.
|
|
34984
34994
|
${Ts}.
|
|
@@ -34992,7 +35002,7 @@ We have moved the reference to 'calledBySuccess' for you.`,
|
|
|
34992
35002
|
new T({
|
|
34993
35003
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
34994
35004
|
code: p.InvalidReference,
|
|
34995
|
-
severity:
|
|
35005
|
+
severity: f.Error,
|
|
34996
35006
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a caller entity at 'calledByEntry' with id "${e.id}" that isn't a caller entity.
|
|
34997
35007
|
All caller entity types are: ${_(
|
|
34998
35008
|
yn,
|
|
@@ -35077,7 +35087,7 @@ function d6(n, e) {
|
|
|
35077
35087
|
new T({
|
|
35078
35088
|
id: `${i.id}--${p.DuplicateReference}`,
|
|
35079
35089
|
code: p.DuplicateReference,
|
|
35080
|
-
severity:
|
|
35090
|
+
severity: f.Warning,
|
|
35081
35091
|
message: `Entity of type "${i.type}" with id "${i.id}" has duplicate caller references. Each caller reference should be unique. Duplicate caller reference will be ignored.`,
|
|
35082
35092
|
issue: null
|
|
35083
35093
|
})
|
|
@@ -35087,7 +35097,7 @@ function d6(n, e) {
|
|
|
35087
35097
|
new T({
|
|
35088
35098
|
id: `${i.id}--${p.IncompatibleScope}`,
|
|
35089
35099
|
code: p.IncompatibleScope,
|
|
35090
|
-
severity:
|
|
35100
|
+
severity: f.Error,
|
|
35091
35101
|
message: `Entity of type "${i.type}" with id "${i.id}" has an explicitly set parent, but it isn't a '${_(
|
|
35092
35102
|
xe,
|
|
35093
35103
|
"', '",
|
|
@@ -35099,7 +35109,7 @@ function d6(n, e) {
|
|
|
35099
35109
|
new T({
|
|
35100
35110
|
id: `${i.id}--${p.IncompatibleScope}`,
|
|
35101
35111
|
code: p.IncompatibleScope,
|
|
35102
|
-
severity:
|
|
35112
|
+
severity: f.Error,
|
|
35103
35113
|
message: `Entity of type "${i.type}" with id "${i.id}" has an explicitly set parent, but it isn't a '${r.Loop}' entity. A continue statement's parent should always be resolved to a loop entity.${xs}`,
|
|
35104
35114
|
issue: null
|
|
35105
35115
|
})
|
|
@@ -35107,7 +35117,7 @@ function d6(n, e) {
|
|
|
35107
35117
|
new T({
|
|
35108
35118
|
id: `${i.id}--${p.IncompatibleScope}`,
|
|
35109
35119
|
code: p.IncompatibleScope,
|
|
35110
|
-
severity:
|
|
35120
|
+
severity: f.Error,
|
|
35111
35121
|
message: `Entity of type "${i.type}" with id "${i.id}" has an explicitly set parent, but it isn't a '${r.Loop}' entity. A break statement's parent should always be resolved to a loop entity.${xs}`,
|
|
35112
35122
|
issue: null
|
|
35113
35123
|
})
|
|
@@ -35115,76 +35125,76 @@ function d6(n, e) {
|
|
|
35115
35125
|
const d = [], u = [];
|
|
35116
35126
|
let y = null;
|
|
35117
35127
|
if (s.forEach((m) => {
|
|
35118
|
-
const
|
|
35119
|
-
if (!
|
|
35128
|
+
const h = e.get(m);
|
|
35129
|
+
if (!h) {
|
|
35120
35130
|
t.push(
|
|
35121
35131
|
new T({
|
|
35122
35132
|
id: `${i.id}--${m}--${p.ReferencedEntityNotFound}`,
|
|
35123
35133
|
code: p.ReferencedEntityNotFound,
|
|
35124
|
-
severity:
|
|
35134
|
+
severity: f.Error,
|
|
35125
35135
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a caller entity with id "${m}" that doesn't exist in the project.`,
|
|
35126
35136
|
issue: null
|
|
35127
35137
|
})
|
|
35128
35138
|
);
|
|
35129
35139
|
return;
|
|
35130
35140
|
}
|
|
35131
|
-
const R = pt(
|
|
35141
|
+
const R = pt(h, e);
|
|
35132
35142
|
if (o)
|
|
35133
35143
|
Ia(
|
|
35134
35144
|
o,
|
|
35135
35145
|
R,
|
|
35136
35146
|
e
|
|
35137
35147
|
) ? (Se.includes(i.type) && ((i.calledBySuccess || []).find(
|
|
35138
|
-
(O) => O ===
|
|
35139
|
-
) ? (
|
|
35148
|
+
(O) => O === h.id
|
|
35149
|
+
) ? (h.successCalls || []).find(
|
|
35140
35150
|
(k) => Se.includes(k.type)
|
|
35141
35151
|
) && t.push(
|
|
35142
35152
|
new T({
|
|
35143
|
-
id: `${i.id}--${
|
|
35153
|
+
id: `${i.id}--${h.id}--${b.UnreachableEntity}`,
|
|
35144
35154
|
code: b.UnreachableEntity,
|
|
35145
|
-
severity:
|
|
35146
|
-
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${
|
|
35155
|
+
severity: f.Error,
|
|
35156
|
+
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${h.type}" with id "${h.id}" that already calls a termination statement.
|
|
35147
35157
|
The new termination statement is redundant because both entities would be called from the same parent caller branch "successCalls", at the same time.`,
|
|
35148
35158
|
issue: null
|
|
35149
35159
|
})
|
|
35150
35160
|
) : (i.calledByError || []).find(
|
|
35151
|
-
(O) => O ===
|
|
35152
|
-
) ? (
|
|
35161
|
+
(O) => O === h.id
|
|
35162
|
+
) ? (h.errorCalls || []).find(
|
|
35153
35163
|
(k) => Se.includes(k.type)
|
|
35154
35164
|
) && t.push(
|
|
35155
35165
|
new T({
|
|
35156
|
-
id: `${i.id}--${
|
|
35166
|
+
id: `${i.id}--${h.id}--${b.UnreachableEntity}`,
|
|
35157
35167
|
code: b.UnreachableEntity,
|
|
35158
|
-
severity:
|
|
35159
|
-
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${
|
|
35168
|
+
severity: f.Error,
|
|
35169
|
+
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${h.type}" with id "${h.id}" that already calls a termination statement.
|
|
35160
35170
|
The new termination statement is redundant because both entities would be called from the same parent caller branch "errorCalls", at the same time.`,
|
|
35161
35171
|
issue: null
|
|
35162
35172
|
})
|
|
35163
35173
|
) : (i.calledByEntry || []).find(
|
|
35164
|
-
(O) => O ===
|
|
35165
|
-
) && (
|
|
35174
|
+
(O) => O === h.id
|
|
35175
|
+
) && (h.calls || []).find(
|
|
35166
35176
|
(k) => Se.includes(k.type)
|
|
35167
35177
|
) && t.push(
|
|
35168
35178
|
new T({
|
|
35169
|
-
id: `${i.id}--${
|
|
35179
|
+
id: `${i.id}--${h.id}--${b.UnreachableEntity}`,
|
|
35170
35180
|
code: b.UnreachableEntity,
|
|
35171
|
-
severity:
|
|
35172
|
-
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${
|
|
35181
|
+
severity: f.Error,
|
|
35182
|
+
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${h.type}" with id "${h.id}" that already calls a termination statement.
|
|
35173
35183
|
The new termination statement is redundant because both entities would be called from the same parent caller branch (entry-point), at the same time.`,
|
|
35174
35184
|
issue: null
|
|
35175
35185
|
})
|
|
35176
35186
|
)), d.push({
|
|
35177
|
-
caller:
|
|
35187
|
+
caller: h,
|
|
35178
35188
|
scope: R
|
|
35179
35189
|
})) : u.push({
|
|
35180
|
-
caller:
|
|
35190
|
+
caller: h,
|
|
35181
35191
|
scope: R,
|
|
35182
35192
|
errors: [
|
|
35183
35193
|
new T({
|
|
35184
|
-
id: `${i.id}--${
|
|
35194
|
+
id: `${i.id}--${h.id}--${p.CallerWithIncompatibleScope}`,
|
|
35185
35195
|
code: p.CallerWithIncompatibleScope,
|
|
35186
|
-
severity:
|
|
35187
|
-
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${
|
|
35196
|
+
severity: f.Warning,
|
|
35197
|
+
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${h.type}" with id "${h.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.`,
|
|
35188
35198
|
issue: null
|
|
35189
35199
|
})
|
|
35190
35200
|
]
|
|
@@ -35198,56 +35208,56 @@ The new termination statement is redundant because both entities would be called
|
|
|
35198
35208
|
e
|
|
35199
35209
|
);
|
|
35200
35210
|
g ? (Se.includes(i.type) && ((i.calledBySuccess || []).find(
|
|
35201
|
-
(O) => O ===
|
|
35202
|
-
) ? (
|
|
35211
|
+
(O) => O === h.id
|
|
35212
|
+
) ? (h.successCalls || []).find(
|
|
35203
35213
|
(k) => Se.includes(k.type)
|
|
35204
35214
|
) && t.push(
|
|
35205
35215
|
new T({
|
|
35206
|
-
id: `${i.id}--${
|
|
35216
|
+
id: `${i.id}--${h.id}--${b.UnreachableEntity}`,
|
|
35207
35217
|
code: b.UnreachableEntity,
|
|
35208
|
-
severity:
|
|
35209
|
-
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${
|
|
35218
|
+
severity: f.Error,
|
|
35219
|
+
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${h.type}" with id "${h.id}" that already calls a termination statement.
|
|
35210
35220
|
The new termination statement is redundant because both entities would be called from the same parent caller branch "successCalls", at the same time.`,
|
|
35211
35221
|
issue: null
|
|
35212
35222
|
})
|
|
35213
35223
|
) : (i.calledByError || []).find(
|
|
35214
|
-
(O) => O ===
|
|
35215
|
-
) ? (
|
|
35224
|
+
(O) => O === h.id
|
|
35225
|
+
) ? (h.errorCalls || []).find(
|
|
35216
35226
|
(k) => Se.includes(k.type)
|
|
35217
35227
|
) && t.push(
|
|
35218
35228
|
new T({
|
|
35219
|
-
id: `${i.id}--${
|
|
35229
|
+
id: `${i.id}--${h.id}--${b.UnreachableEntity}`,
|
|
35220
35230
|
code: b.UnreachableEntity,
|
|
35221
|
-
severity:
|
|
35222
|
-
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${
|
|
35231
|
+
severity: f.Error,
|
|
35232
|
+
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${h.type}" with id "${h.id}" that already calls a termination statement.
|
|
35223
35233
|
The new termination statement is redundant because both entities would be called from the same parent caller branch "errorCalls", at the same time.`,
|
|
35224
35234
|
issue: null
|
|
35225
35235
|
})
|
|
35226
35236
|
) : (i.calledByEntry || []).find(
|
|
35227
|
-
(O) => O ===
|
|
35228
|
-
) && (
|
|
35237
|
+
(O) => O === h.id
|
|
35238
|
+
) && (h.calls || []).find(
|
|
35229
35239
|
(k) => Se.includes(k.type)
|
|
35230
35240
|
) && t.push(
|
|
35231
35241
|
new T({
|
|
35232
|
-
id: `${i.id}--${
|
|
35242
|
+
id: `${i.id}--${h.id}--${b.UnreachableEntity}`,
|
|
35233
35243
|
code: b.UnreachableEntity,
|
|
35234
|
-
severity:
|
|
35235
|
-
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${
|
|
35244
|
+
severity: f.Error,
|
|
35245
|
+
message: `Entity of type "${i.type}" with id "${i.id}" is being called by an entity of type "${h.type}" with id "${h.id}" that already calls a termination statement.
|
|
35236
35246
|
The new termination statement is redundant because both entities would be called from the same parent caller branch (entry-point), at the same time.`,
|
|
35237
35247
|
issue: null
|
|
35238
35248
|
})
|
|
35239
35249
|
)), d.push({
|
|
35240
|
-
caller:
|
|
35250
|
+
caller: h,
|
|
35241
35251
|
scope: R
|
|
35242
35252
|
})) : u.push({
|
|
35243
|
-
caller:
|
|
35253
|
+
caller: h,
|
|
35244
35254
|
scope: R,
|
|
35245
35255
|
errors: [
|
|
35246
35256
|
new T({
|
|
35247
|
-
id: `${i.id}--${
|
|
35257
|
+
id: `${i.id}--${h.id}--${p.CallerWithIncompatibleScope}`,
|
|
35248
35258
|
code: p.CallerWithIncompatibleScope,
|
|
35249
|
-
severity:
|
|
35250
|
-
message: `Entity of type "${i.type}" with id "${i.id}" has multiple caller, but not all of them have compatible scopes. Caller of type "${
|
|
35259
|
+
severity: f.Warning,
|
|
35260
|
+
message: `Entity of type "${i.type}" with id "${i.id}" has multiple caller, but not all of them have compatible scopes. Caller of type "${h.type}" with id "${h.id}" is in a different scope than caller of type "${y.type}" with id "${y.id}". All callers should be in the same scope or a higher valid scope. Or all callers should share the global project scope.`,
|
|
35251
35261
|
issue: null
|
|
35252
35262
|
})
|
|
35253
35263
|
]
|
|
@@ -35259,13 +35269,13 @@ The new termination statement is redundant because both entities would be called
|
|
|
35259
35269
|
});
|
|
35260
35270
|
else if (d.length && !o && Zc.includes(i.type)) {
|
|
35261
35271
|
const m = d.filter(
|
|
35262
|
-
(
|
|
35272
|
+
(h) => h.scope !== e
|
|
35263
35273
|
);
|
|
35264
35274
|
if (m.length) {
|
|
35265
|
-
const
|
|
35275
|
+
const h = k6(
|
|
35266
35276
|
m.map((R) => R.scope)
|
|
35267
35277
|
);
|
|
35268
|
-
i.parent =
|
|
35278
|
+
i.parent = h.id;
|
|
35269
35279
|
} else
|
|
35270
35280
|
i.parent = e.id;
|
|
35271
35281
|
}
|
|
@@ -35282,7 +35292,7 @@ It is recommended to have a caller reference already at the moment of creation i
|
|
|
35282
35292
|
id: `${i.id}--${b.MissingCaller}`,
|
|
35283
35293
|
code: b.MissingCaller,
|
|
35284
35294
|
// If it is a termination statement, make it an error, otherwise a warning
|
|
35285
|
-
severity: Se.includes(i.type) ?
|
|
35295
|
+
severity: Se.includes(i.type) ? f.Error : f.Warning,
|
|
35286
35296
|
message: s,
|
|
35287
35297
|
issue: null
|
|
35288
35298
|
})
|
|
@@ -35301,7 +35311,7 @@ function Pf(n, e) {
|
|
|
35301
35311
|
new T({
|
|
35302
35312
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
35303
35313
|
code: p.InvalidReference,
|
|
35304
|
-
severity:
|
|
35314
|
+
severity: f.Error,
|
|
35305
35315
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a primitive value entity. Primitive value entities aren't value writting entities.
|
|
35306
35316
|
All value writting entity types are: ${_(
|
|
35307
35317
|
Be,
|
|
@@ -35319,7 +35329,7 @@ This primitive-value entity belongs to an input map entity with id "${o.id}". In
|
|
|
35319
35329
|
new T({
|
|
35320
35330
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
35321
35331
|
code: p.InvalidReference,
|
|
35322
|
-
severity:
|
|
35332
|
+
severity: f.Error,
|
|
35323
35333
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a primitive value entity. Primitive value entities can't be referenced as value writting entities.
|
|
35324
35334
|
All value writting entity types are: ${_(
|
|
35325
35335
|
Be,
|
|
@@ -35336,7 +35346,7 @@ This primitive-value entity belongs to a data type entity with id "${u.id}", whi
|
|
|
35336
35346
|
new T({
|
|
35337
35347
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
35338
35348
|
code: p.InvalidReference,
|
|
35339
|
-
severity:
|
|
35349
|
+
severity: f.Error,
|
|
35340
35350
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a primitive value entity. Primitive value entities can't be referenced as value writting entities.
|
|
35341
35351
|
All value writting entity types are: ${_(
|
|
35342
35352
|
Be,
|
|
@@ -35352,7 +35362,7 @@ All value writting entity types are: ${_(
|
|
|
35352
35362
|
new T({
|
|
35353
35363
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
35354
35364
|
code: p.InvalidReference,
|
|
35355
|
-
severity:
|
|
35365
|
+
severity: f.Error,
|
|
35356
35366
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a primitive value entity. Primitive value entities can't be referenced as value writting entities.
|
|
35357
35367
|
All value writting entity types are: ${_(
|
|
35358
35368
|
Be,
|
|
@@ -35367,7 +35377,7 @@ This data type entity belongs to a ${o.type} entity with id "${o.id}". ${o.type}
|
|
|
35367
35377
|
new T({
|
|
35368
35378
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
35369
35379
|
code: p.InvalidReference,
|
|
35370
|
-
severity:
|
|
35380
|
+
severity: f.Error,
|
|
35371
35381
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that is a primitive value entity. Primitive value entities can't be referenced as value writting entities.
|
|
35372
35382
|
All value writting entity types are: ${_(
|
|
35373
35383
|
Be,
|
|
@@ -35382,7 +35392,7 @@ All value writting entity types are: ${_(
|
|
|
35382
35392
|
new T({
|
|
35383
35393
|
id: `${n.id}--${e.id}--${p.InvalidReference}`,
|
|
35384
35394
|
code: p.InvalidReference,
|
|
35385
|
-
severity:
|
|
35395
|
+
severity: f.Error,
|
|
35386
35396
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" that isn't a value writting entity.
|
|
35387
35397
|
All value writting entity types are: ${_(
|
|
35388
35398
|
Be,
|
|
@@ -35422,7 +35432,7 @@ Two value holding entities need to be in the same scope or in scopes nested insi
|
|
|
35422
35432
|
new T({
|
|
35423
35433
|
id: `${n.id}--${e.id}--${p.IncompatibleScope}`,
|
|
35424
35434
|
code: p.IncompatibleScope,
|
|
35425
|
-
severity:
|
|
35435
|
+
severity: f.Error,
|
|
35426
35436
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a value writting entity at 'readsValue' with id "${e.id}" with an incompatible scope.
|
|
35427
35437
|
${d}`,
|
|
35428
35438
|
issue: null
|
|
@@ -35458,7 +35468,7 @@ function Ve(n, e, t, i = !1) {
|
|
|
35458
35468
|
new T({
|
|
35459
35469
|
id: `${o.id}--${p.InvalidReference}`,
|
|
35460
35470
|
code: p.InvalidReference,
|
|
35461
|
-
severity:
|
|
35471
|
+
severity: f.Error,
|
|
35462
35472
|
message: `Entity of type "${o.type}" with id "${o.id}" has a 'readsValue' property that is only valid for entities of type: ${_(
|
|
35463
35473
|
nr,
|
|
35464
35474
|
", ",
|
|
@@ -35471,7 +35481,7 @@ ${to}`,
|
|
|
35471
35481
|
new T({
|
|
35472
35482
|
id: `${o.id}--${p.InvalidReference}`,
|
|
35473
35483
|
code: p.InvalidReference,
|
|
35474
|
-
severity:
|
|
35484
|
+
severity: f.Error,
|
|
35475
35485
|
message: `Entity of type "${o.type}" with id "${o.id}" has a 'readsValue' property that is only valid for entities of type: ${_(
|
|
35476
35486
|
nr,
|
|
35477
35487
|
", ",
|
|
@@ -35484,7 +35494,7 @@ ${If}`,
|
|
|
35484
35494
|
new T({
|
|
35485
35495
|
id: `${o.id}--${p.InvalidReference}`,
|
|
35486
35496
|
code: p.InvalidReference,
|
|
35487
|
-
severity:
|
|
35497
|
+
severity: f.Error,
|
|
35488
35498
|
message: `Entity of type "${o.type}" with id "${o.id}" has a 'readsValue' property that is only valid for entities of type: ${_(
|
|
35489
35499
|
nr,
|
|
35490
35500
|
", ",
|
|
@@ -35498,7 +35508,7 @@ ${gf}`,
|
|
|
35498
35508
|
new T({
|
|
35499
35509
|
id: `${o.id}--${p.InvalidReference}`,
|
|
35500
35510
|
code: p.InvalidReference,
|
|
35501
|
-
severity:
|
|
35511
|
+
severity: f.Warning,
|
|
35502
35512
|
message: `Entity of type "${o.type}" with id "${o.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.
|
|
35503
35513
|
${Hc}`,
|
|
35504
35514
|
issue: null
|
|
@@ -35507,7 +35517,7 @@ ${Hc}`,
|
|
|
35507
35517
|
new T({
|
|
35508
35518
|
id: `${o.id}--${p.InvalidReference}`,
|
|
35509
35519
|
code: p.InvalidReference,
|
|
35510
|
-
severity:
|
|
35520
|
+
severity: f.Warning,
|
|
35511
35521
|
message: `Entity of type "${o.type}" with id "${o.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.
|
|
35512
35522
|
${to}
|
|
35513
35523
|
${Hc}`,
|
|
@@ -35519,13 +35529,13 @@ ${Hc}`,
|
|
|
35519
35529
|
}
|
|
35520
35530
|
const d = Object.entries(s);
|
|
35521
35531
|
for (const [u, y] of d) {
|
|
35522
|
-
const m = y.types,
|
|
35532
|
+
const m = y.types, h = y.optional, R = o[u];
|
|
35523
35533
|
if (!R) {
|
|
35524
|
-
|
|
35534
|
+
h || a.push(
|
|
35525
35535
|
new T({
|
|
35526
35536
|
id: `${o.id}--${u}--${b.InvalidObjectStructure}`,
|
|
35527
35537
|
code: b.InvalidObjectStructure,
|
|
35528
|
-
severity:
|
|
35538
|
+
severity: f.Error,
|
|
35529
35539
|
message: `Entity of type "${o.type}" with id "${o.id}" is missing a reference to a "${u}" entity. The '${u}' property of a "${o.type}" entity can be ${_(m, ", ", " or ")}`,
|
|
35530
35540
|
issue: null
|
|
35531
35541
|
})
|
|
@@ -35537,7 +35547,7 @@ ${Hc}`,
|
|
|
35537
35547
|
for (const g of R) {
|
|
35538
35548
|
const O = qc(
|
|
35539
35549
|
o,
|
|
35540
|
-
{ key: u, types: m, optional:
|
|
35550
|
+
{ key: u, types: m, optional: h },
|
|
35541
35551
|
t
|
|
35542
35552
|
);
|
|
35543
35553
|
a.push(...O);
|
|
@@ -35547,7 +35557,7 @@ ${Hc}`,
|
|
|
35547
35557
|
new T({
|
|
35548
35558
|
id: `${o.id}--${u}--${p.ContainsSingleButShouldBeReferenceList}`,
|
|
35549
35559
|
code: p.ContainsSingleButShouldBeReferenceList,
|
|
35550
|
-
severity:
|
|
35560
|
+
severity: f.Error,
|
|
35551
35561
|
message: `Entity of type "${o.type}" with id "${o.id}", should have a property "${u}" which is a list, but it isn't.`,
|
|
35552
35562
|
issue: null
|
|
35553
35563
|
})
|
|
@@ -35559,7 +35569,7 @@ ${Hc}`,
|
|
|
35559
35569
|
new T({
|
|
35560
35570
|
id: `${o.id}--${u}--${p.ContainsListButShouldReferenceSingle}`,
|
|
35561
35571
|
code: p.ContainsListButShouldReferenceSingle,
|
|
35562
|
-
severity:
|
|
35572
|
+
severity: f.Error,
|
|
35563
35573
|
message: `Entity of type "${o.type}" with id "${o.id}", should have a property "${u}" which holds a single reference, but it is a list.`,
|
|
35564
35574
|
issue: null
|
|
35565
35575
|
})
|
|
@@ -35568,7 +35578,7 @@ ${Hc}`,
|
|
|
35568
35578
|
} else {
|
|
35569
35579
|
const g = qc(
|
|
35570
35580
|
o,
|
|
35571
|
-
{ key: u, types: m, optional:
|
|
35581
|
+
{ key: u, types: m, optional: h },
|
|
35572
35582
|
t
|
|
35573
35583
|
);
|
|
35574
35584
|
a.push(...g);
|
|
@@ -35589,7 +35599,7 @@ function b3(n, e, t = "calledBy") {
|
|
|
35589
35599
|
new T({
|
|
35590
35600
|
id: `${n}--${p.ReferencedEntityNotFound}`,
|
|
35591
35601
|
code: p.ReferencedEntityNotFound,
|
|
35592
|
-
severity:
|
|
35602
|
+
severity: f.Error,
|
|
35593
35603
|
message: `Entity with id "${n}" referenced in '${t}' property not found in the project. Perhaps it should be created first? Perhaps it is the wrong ID?`,
|
|
35594
35604
|
issue: null
|
|
35595
35605
|
})
|
|
@@ -35610,7 +35620,7 @@ This ${a.type} is called by ${_(
|
|
|
35610
35620
|
new T({
|
|
35611
35621
|
id: `last-action--${a.id}--${p.InvalidReference}`,
|
|
35612
35622
|
code: p.InvalidReference,
|
|
35613
|
-
severity:
|
|
35623
|
+
severity: f.Error,
|
|
35614
35624
|
message: `Entity with id '${a.id}' referenced in '${t}' property is of type '${a.type}'.
|
|
35615
35625
|
${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
35616
35626
|
Termination entities are ${_(
|
|
@@ -35626,7 +35636,7 @@ Termination entities are ${_(
|
|
|
35626
35636
|
new T({
|
|
35627
35637
|
id: `last-action--${a.id}--${p.InvalidReference}`,
|
|
35628
35638
|
code: p.InvalidReference,
|
|
35629
|
-
severity:
|
|
35639
|
+
severity: f.Error,
|
|
35630
35640
|
message: `Entity with id '${a.id}' referenced in '${t}' property is of type '${a.type}' which is not a valid caller entity type.
|
|
35631
35641
|
All caller entity types are: ${_(
|
|
35632
35642
|
yn,
|
|
@@ -35648,7 +35658,7 @@ function v3(n, e, t = "calledByError") {
|
|
|
35648
35658
|
new T({
|
|
35649
35659
|
id: `${n}--${p.ReferencedEntityNotFound}`,
|
|
35650
35660
|
code: p.ReferencedEntityNotFound,
|
|
35651
|
-
severity:
|
|
35661
|
+
severity: f.Error,
|
|
35652
35662
|
message: `Entity with id "${n}" referenced in '${t}' property not found in the project. Perhaps it should be created first? Perhaps it is the wrong ID?`,
|
|
35653
35663
|
issue: null
|
|
35654
35664
|
})
|
|
@@ -35669,7 +35679,7 @@ This ${a.type} is called by ${_(
|
|
|
35669
35679
|
new T({
|
|
35670
35680
|
id: `last-action--${a.id}--${p.InvalidReference}`,
|
|
35671
35681
|
code: p.InvalidReference,
|
|
35672
|
-
severity:
|
|
35682
|
+
severity: f.Error,
|
|
35673
35683
|
message: `Entity with id '${a.id}' referenced in '${t}' property is of type '${a.type}'.
|
|
35674
35684
|
${a.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
35675
35685
|
Termination entities are ${_(
|
|
@@ -35685,7 +35695,7 @@ Termination entities are ${_(
|
|
|
35685
35695
|
new T({
|
|
35686
35696
|
id: `last-action--${a.id}--${p.InvalidReference}`,
|
|
35687
35697
|
code: p.InvalidReference,
|
|
35688
|
-
severity:
|
|
35698
|
+
severity: f.Error,
|
|
35689
35699
|
message: `Entity with id '${a.id}' referenced in '${t}' property is of type '${a.type}' which is an entry-point entity and doesn't thrown errors.
|
|
35690
35700
|
${Ts}`,
|
|
35691
35701
|
issue: null
|
|
@@ -35694,7 +35704,7 @@ ${Ts}`,
|
|
|
35694
35704
|
new T({
|
|
35695
35705
|
id: `last-action--${a.id}--${p.InvalidReference}`,
|
|
35696
35706
|
code: p.InvalidReference,
|
|
35697
|
-
severity:
|
|
35707
|
+
severity: f.Error,
|
|
35698
35708
|
message: `Entity with id '${a.id}' referenced in '${t}' property is of type '${a.type}' which is not a valid caller entity type.
|
|
35699
35709
|
For any error branch caller, for the 'calledByError' property of an entity, you specifically need to reference a pass-through callable entity.
|
|
35700
35710
|
${Nn}`,
|
|
@@ -35712,7 +35722,7 @@ function g3(n, e) {
|
|
|
35712
35722
|
new T({
|
|
35713
35723
|
id: `last-action--${p.ReferencedEntityNotFound}`,
|
|
35714
35724
|
code: p.ReferencedEntityNotFound,
|
|
35715
|
-
severity:
|
|
35725
|
+
severity: f.Error,
|
|
35716
35726
|
message: `The 'readsValue' property references an entity with id '${n}' that was not found in the project. Perhaps it should be created? Perhaps the ID is incorrect?`,
|
|
35717
35727
|
issue: null
|
|
35718
35728
|
})
|
|
@@ -35725,7 +35735,7 @@ function g3(n, e) {
|
|
|
35725
35735
|
new T({
|
|
35726
35736
|
id: `last-action--${i.id}--${p.InvalidReference}`,
|
|
35727
35737
|
code: p.InvalidReference,
|
|
35728
|
-
severity:
|
|
35738
|
+
severity: f.Error,
|
|
35729
35739
|
message: `The 'readsValue' property references an entity with id "${i.id}" that is a primitive value entity. Primitive value entities aren't value writting entities.
|
|
35730
35740
|
All value writting entity types are: ${_(
|
|
35731
35741
|
Be,
|
|
@@ -35743,7 +35753,7 @@ This primitive-value entity belongs to an input map entity with id "${s.id}". In
|
|
|
35743
35753
|
new T({
|
|
35744
35754
|
id: `last-action--${i.id}--${p.InvalidReference}`,
|
|
35745
35755
|
code: p.InvalidReference,
|
|
35746
|
-
severity:
|
|
35756
|
+
severity: f.Error,
|
|
35747
35757
|
message: `The 'readsValue' property references an entity with id "${i.id}" that is a primitive value entity. Primitive value entities can't be referenced as value writting entities.
|
|
35748
35758
|
All value writting entity types are: ${_(
|
|
35749
35759
|
Be,
|
|
@@ -35760,7 +35770,7 @@ This primitive-value entity belongs to a data type entity with id "${d.id}", whi
|
|
|
35760
35770
|
new T({
|
|
35761
35771
|
id: `last-action--${i.id}--${p.InvalidReference}`,
|
|
35762
35772
|
code: p.InvalidReference,
|
|
35763
|
-
severity:
|
|
35773
|
+
severity: f.Error,
|
|
35764
35774
|
message: `The 'readsValue' property references an entity with id "${i.id}" that is a primitive value entity. Primitive value entities can't be referenced as value writting entities.
|
|
35765
35775
|
All value writting entity types are: ${_(
|
|
35766
35776
|
Be,
|
|
@@ -35776,7 +35786,7 @@ All value writting entity types are: ${_(
|
|
|
35776
35786
|
new T({
|
|
35777
35787
|
id: `last-action--${i.id}--${p.InvalidReference}`,
|
|
35778
35788
|
code: p.InvalidReference,
|
|
35779
|
-
severity:
|
|
35789
|
+
severity: f.Error,
|
|
35780
35790
|
message: `The 'readsValue' property references an entity with id "${i.id}" that is a primitive value entity. Primitive value entities can't be referenced as value writting entities.
|
|
35781
35791
|
All value writting entity types are: ${_(
|
|
35782
35792
|
Be,
|
|
@@ -35791,7 +35801,7 @@ This data type entity belongs to a ${s.type} entity with id "${s.id}". ${s.type}
|
|
|
35791
35801
|
new T({
|
|
35792
35802
|
id: `last-action--${i.id}--${p.InvalidReference}`,
|
|
35793
35803
|
code: p.InvalidReference,
|
|
35794
|
-
severity:
|
|
35804
|
+
severity: f.Error,
|
|
35795
35805
|
message: `The 'readsValue' property references an entity with id "${i.id}" that is a primitive value entity. Primitive value entities can't be referenced as value writting entities.
|
|
35796
35806
|
All value writting entity types are: ${_(
|
|
35797
35807
|
Be,
|
|
@@ -35806,7 +35816,7 @@ All value writting entity types are: ${_(
|
|
|
35806
35816
|
new T({
|
|
35807
35817
|
id: `last-action--${i.id}--${p.InvalidReference}`,
|
|
35808
35818
|
code: p.InvalidReference,
|
|
35809
|
-
severity:
|
|
35819
|
+
severity: f.Error,
|
|
35810
35820
|
message: `The 'readsValue' property references an entity with id "${i.id}" that isn't a value writting entity.
|
|
35811
35821
|
All value writting entity types are: ${_(
|
|
35812
35822
|
Be,
|
|
@@ -35855,7 +35865,7 @@ function p6(n, e) {
|
|
|
35855
35865
|
new T({
|
|
35856
35866
|
id: `last-action--${p.ReferencedEntityNotFound}`,
|
|
35857
35867
|
code: p.ReferencedEntityNotFound,
|
|
35858
|
-
severity:
|
|
35868
|
+
severity: f.Error,
|
|
35859
35869
|
message: `The entity with id '${n}' that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
35860
35870
|
issue: null
|
|
35861
35871
|
})
|
|
@@ -35865,7 +35875,7 @@ function p6(n, e) {
|
|
|
35865
35875
|
new T({
|
|
35866
35876
|
id: `last-action--${p.InvalidFunctionDeclarationForFunctionCall}`,
|
|
35867
35877
|
code: p.InvalidFunctionDeclarationForFunctionCall,
|
|
35868
|
-
severity:
|
|
35878
|
+
severity: f.Error,
|
|
35869
35879
|
message: `The 'functionDeclarationId' reference is pointing to entity with id '${n}' which is of type '${i.type}' entity. If you meant to reference an 'action-descriptor', you can use the 'implement_operation' generation action instead.
|
|
35870
35880
|
Otherwise, if you were trying to implement a 'function-call' from a globally declarated 'function-declaration':
|
|
35871
35881
|
${a}`,
|
|
@@ -35877,7 +35887,7 @@ ${a}`,
|
|
|
35877
35887
|
new T({
|
|
35878
35888
|
id: `last-action--${p.InvalidFunctionDeclarationForFunctionCall}`,
|
|
35879
35889
|
code: p.InvalidFunctionDeclarationForFunctionCall,
|
|
35880
|
-
severity:
|
|
35890
|
+
severity: f.Error,
|
|
35881
35891
|
message: `The 'functionDeclarationId' reference is pointing to entity with id '${n}' which is of type '${i.type}' entity. Only 'function-declaration' entities can be implemented as function calls.
|
|
35882
35892
|
${a}`,
|
|
35883
35893
|
issue: null
|
|
@@ -35900,7 +35910,7 @@ ${xn}`), t.push(
|
|
|
35900
35910
|
new T({
|
|
35901
35911
|
id: `last-action--${p.InvalidFunctionDeclarationForFunctionCall}`,
|
|
35902
35912
|
code: p.InvalidFunctionDeclarationForFunctionCall,
|
|
35903
|
-
severity:
|
|
35913
|
+
severity: f.Error,
|
|
35904
35914
|
message: `The function declaration entity with id '${n}' is a method of the 'custom-entity' with id '${i.parent.id}'. Only globally declared, standalone functions can be implemented as function calls.
|
|
35905
35915
|
If you want to call a method of a custom entity, use a '${r.InternalCall}' entity on any variable which is an instance of that custom entity.
|
|
35906
35916
|
${a}${d}`,
|
|
@@ -35912,7 +35922,7 @@ ${a}${d}`,
|
|
|
35912
35922
|
new T({
|
|
35913
35923
|
id: `last-action--${p.InvalidFunctionDeclarationForFunctionCall}`,
|
|
35914
35924
|
code: p.InvalidFunctionDeclarationForFunctionCall,
|
|
35915
|
-
severity:
|
|
35925
|
+
severity: f.Error,
|
|
35916
35926
|
message: `The function declaration entity with id '${n}' is the body of the 'loop' with id '${i.parent.id}'. Only globally declared, standalone functions can be implemented as function calls.
|
|
35917
35927
|
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.
|
|
35918
35928
|
${a}`,
|
|
@@ -35922,7 +35932,7 @@ ${a}`,
|
|
|
35922
35932
|
new T({
|
|
35923
35933
|
id: `last-action--${p.InvalidFunctionDeclarationForFunctionCall}`,
|
|
35924
35934
|
code: p.InvalidFunctionDeclarationForFunctionCall,
|
|
35925
|
-
severity:
|
|
35935
|
+
severity: f.Error,
|
|
35926
35936
|
message: `The function declaration entity with id '${n}' has a 'parent' entity which isn't the root project. Only globally declared, standalone functions can be implemented as function calls.${a}`,
|
|
35927
35937
|
issue: null
|
|
35928
35938
|
})
|
|
@@ -35946,7 +35956,7 @@ All built-in 'action-descriptor' entities that define 'operation' entity, are (I
|
|
|
35946
35956
|
new T({
|
|
35947
35957
|
id: `last-action--${p.InvalidActionDescriptorForOperation}`,
|
|
35948
35958
|
code: p.InvalidActionDescriptorForOperation,
|
|
35949
|
-
severity:
|
|
35959
|
+
severity: f.Error,
|
|
35950
35960
|
message: `The entity with id '${n}' is of type '${i.type}' entity. Only 'action-descriptor' entities can be implemented as operations instances.${a}`,
|
|
35951
35961
|
issue: null
|
|
35952
35962
|
})
|
|
@@ -35956,7 +35966,7 @@ All built-in 'action-descriptor' entities that define 'operation' entity, are (I
|
|
|
35956
35966
|
new T({
|
|
35957
35967
|
id: `last-action--${p.InvalidActionDescriptorForOperation}`,
|
|
35958
35968
|
code: p.InvalidActionDescriptorForOperation,
|
|
35959
|
-
severity:
|
|
35969
|
+
severity: f.Error,
|
|
35960
35970
|
message: `The entity with id '${n}' is of type '${i.type}' entity but it isn't one of the allowed operation descriptors.${a}`,
|
|
35961
35971
|
issue: null
|
|
35962
35972
|
})
|
|
@@ -35964,7 +35974,7 @@ All built-in 'action-descriptor' entities that define 'operation' entity, are (I
|
|
|
35964
35974
|
new T({
|
|
35965
35975
|
id: `last-action--${p.InvalidActionDescriptorForOperation}`,
|
|
35966
35976
|
code: p.InvalidActionDescriptorForOperation,
|
|
35967
|
-
severity:
|
|
35977
|
+
severity: f.Error,
|
|
35968
35978
|
message: `The entity with id '${n}' is of type '${i.type}' entity. Only 'action-descriptor' entities can be implemented as operations instances.${a}`,
|
|
35969
35979
|
issue: null
|
|
35970
35980
|
})
|
|
@@ -35972,7 +35982,7 @@ All built-in 'action-descriptor' entities that define 'operation' entity, are (I
|
|
|
35972
35982
|
new T({
|
|
35973
35983
|
id: `last-action--${p.ReferencedEntityNotFound}`,
|
|
35974
35984
|
code: p.ReferencedEntityNotFound,
|
|
35975
|
-
severity:
|
|
35985
|
+
severity: f.Error,
|
|
35976
35986
|
message: `The entity with id '${n}' that isn't yet found in the project.${a}`,
|
|
35977
35987
|
issue: null
|
|
35978
35988
|
})
|
|
@@ -35995,7 +36005,7 @@ All built-in 'action-descriptor' entities that define 'condition' entity, are (I
|
|
|
35995
36005
|
new T({
|
|
35996
36006
|
id: `last-action--${p.InvalidActionDescriptorForCondition}`,
|
|
35997
36007
|
code: p.InvalidActionDescriptorForCondition,
|
|
35998
|
-
severity:
|
|
36008
|
+
severity: f.Error,
|
|
35999
36009
|
message: `The entity with id '${n}' is of type '${i.type}' entity. Only 'action-descriptor' entities can be implemented as conditions instances.${a}`,
|
|
36000
36010
|
issue: null
|
|
36001
36011
|
})
|
|
@@ -36005,7 +36015,7 @@ All built-in 'action-descriptor' entities that define 'condition' entity, are (I
|
|
|
36005
36015
|
new T({
|
|
36006
36016
|
id: `last-action--${p.InvalidActionDescriptorForOperation}`,
|
|
36007
36017
|
code: p.InvalidActionDescriptorForOperation,
|
|
36008
|
-
severity:
|
|
36018
|
+
severity: f.Error,
|
|
36009
36019
|
message: `The entity with id '${n}' is of type '${i.type}' entity but it isn't one of the allowed condition descriptors.${a}`,
|
|
36010
36020
|
issue: null
|
|
36011
36021
|
})
|
|
@@ -36013,7 +36023,7 @@ All built-in 'action-descriptor' entities that define 'condition' entity, are (I
|
|
|
36013
36023
|
new T({
|
|
36014
36024
|
id: `last-action--${p.InvalidActionDescriptorForCondition}`,
|
|
36015
36025
|
code: p.InvalidActionDescriptorForCondition,
|
|
36016
|
-
severity:
|
|
36026
|
+
severity: f.Error,
|
|
36017
36027
|
message: `The entity with id '${n}' is of type '${i.type}' entity. Only 'action-descriptor' entities can be implemented as conditions instances.${a}`,
|
|
36018
36028
|
issue: null
|
|
36019
36029
|
})
|
|
@@ -36021,7 +36031,7 @@ All built-in 'action-descriptor' entities that define 'condition' entity, are (I
|
|
|
36021
36031
|
new T({
|
|
36022
36032
|
id: `last-action--${p.ReferencedEntityNotFound}`,
|
|
36023
36033
|
code: p.ReferencedEntityNotFound,
|
|
36024
|
-
severity:
|
|
36034
|
+
severity: f.Error,
|
|
36025
36035
|
message: `The entity with id '${n}' that isn't yet found in the project.${a}`,
|
|
36026
36036
|
issue: null
|
|
36027
36037
|
})
|
|
@@ -36041,7 +36051,7 @@ All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
|
|
|
36041
36051
|
new T({
|
|
36042
36052
|
id: `last-action--${p.InvalidActionDescriptorForLoop}`,
|
|
36043
36053
|
code: p.InvalidActionDescriptorForLoop,
|
|
36044
|
-
severity:
|
|
36054
|
+
severity: f.Error,
|
|
36045
36055
|
message: `The entity with id '${n}' is of type '${i.type}' entity. Only 'action-descriptor' entities can be implemented as loops instances.${a}`,
|
|
36046
36056
|
issue: null
|
|
36047
36057
|
})
|
|
@@ -36051,7 +36061,7 @@ All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
|
|
|
36051
36061
|
new T({
|
|
36052
36062
|
id: `last-action--${p.InvalidActionDescriptorForOperation}`,
|
|
36053
36063
|
code: p.InvalidActionDescriptorForOperation,
|
|
36054
|
-
severity:
|
|
36064
|
+
severity: f.Error,
|
|
36055
36065
|
message: `The entity with id '${n}' is of type '${i.type}' entity but it isn't one of the allowed loop descriptors.${a}`,
|
|
36056
36066
|
issue: null
|
|
36057
36067
|
})
|
|
@@ -36059,7 +36069,7 @@ All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
|
|
|
36059
36069
|
new T({
|
|
36060
36070
|
id: `last-action--${p.InvalidActionDescriptorForLoop}`,
|
|
36061
36071
|
code: p.InvalidActionDescriptorForLoop,
|
|
36062
|
-
severity:
|
|
36072
|
+
severity: f.Error,
|
|
36063
36073
|
message: `The entity with id '${n}' is of type '${i.type}' entity. Only 'action-descriptor' entities can be implemented as loops instances.${a}`,
|
|
36064
36074
|
issue: null
|
|
36065
36075
|
})
|
|
@@ -36067,14 +36077,14 @@ All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
|
|
|
36067
36077
|
new T({
|
|
36068
36078
|
id: `last-action--${p.ReferencedEntityNotFound}`,
|
|
36069
36079
|
code: p.ReferencedEntityNotFound,
|
|
36070
|
-
severity:
|
|
36080
|
+
severity: f.Error,
|
|
36071
36081
|
message: `The entity with id '${n}' that isn't yet found in the project.${a}`,
|
|
36072
36082
|
issue: null
|
|
36073
36083
|
})
|
|
36074
36084
|
), t;
|
|
36075
36085
|
}
|
|
36076
36086
|
function h6(n, e, t) {
|
|
36077
|
-
var u, y, m,
|
|
36087
|
+
var u, y, m, h;
|
|
36078
36088
|
if (t.compatible)
|
|
36079
36089
|
return "";
|
|
36080
36090
|
const i = `entity of type "${n.type}" with id "${n.id}"`, a = `entity with id "${n.id}"`, s = `entity of type "${e.type}" with id "${e.id}"`, o = `entity with id "${e.id}"`, d = Qs(
|
|
@@ -36090,7 +36100,7 @@ ${a} is not a template, but ${o} is. A data type that provides an entity as a "t
|
|
|
36090
36100
|
Their 'entity' property is of different types. They must be of the same type to be connected. For example, the 'entity' can be a '${r.CustomEntity}' or a '${r.PrimitiveEntity}'.` : t.type === Mt.IncompatibleCustomEntities ? `${d}
|
|
36091
36101
|
Both point to custom entities, but they are not compatible to be connected. They must be either the same custom entity, or a custom entity that has equivalent shape, which includes the same properties all with compatible data types with the properties in the counterpart entity.` : t.type === Mt.IncompatiblePrimitiveEntities ? `${d}
|
|
36092
36102
|
${a} is of primitive type '${((u = n.getDataType()) == null ? void 0 : u.entity).name}' and ${o} is of primitive type '${((y = e.getDataType()) == null ? void 0 : y.entity).name}'. They must be of the same primitive type to be connected.` : t.type === Mt.IncompatibleBuiltInBaseEntities ? `${d}
|
|
36093
|
-
Both point to a built-in-base-entity. But${a} is of built-in base type '${((m = n.getDataType()) == null ? void 0 : m.entity).name}' and ${o} is of built-in base type '${((
|
|
36103
|
+
Both point to a built-in-base-entity. But${a} is of built-in base type '${((m = n.getDataType()) == null ? void 0 : m.entity).name}' and ${o} is of built-in base type '${((h = e.getDataType()) == null ? void 0 : h.entity).name}'. They must be of the same built-in base type to be connected.` : d;
|
|
36094
36104
|
}
|
|
36095
36105
|
function Es(n, e) {
|
|
36096
36106
|
const t = [];
|
|
@@ -36105,7 +36115,7 @@ function Es(n, e) {
|
|
|
36105
36115
|
new T({
|
|
36106
36116
|
id: `${e.id}--${p.InvalidBuiltInEntityReference}`,
|
|
36107
36117
|
code: p.InvalidBuiltInEntityReference,
|
|
36108
|
-
severity:
|
|
36118
|
+
severity: f.Error,
|
|
36109
36119
|
message: `The entity of type '${e.type}' with id '${e.id}' cannot update 'readsValue' to a built-in entity with id '${n.readsValue}'. Only user-created entities can be referenced.`,
|
|
36110
36120
|
issue: null
|
|
36111
36121
|
})
|
|
@@ -36115,7 +36125,7 @@ function Es(n, e) {
|
|
|
36115
36125
|
new T({
|
|
36116
36126
|
id: `${e.id}--${p.ReferencedEntityNotFound}`,
|
|
36117
36127
|
code: p.ReferencedEntityNotFound,
|
|
36118
|
-
severity:
|
|
36128
|
+
severity: f.Error,
|
|
36119
36129
|
message: `The entity of type '${e.type}' with id '${e.id}' cannot update 'readsValue' to entity with id '${n.readsValue}' because the entity was not found in the project state.`,
|
|
36120
36130
|
issue: null
|
|
36121
36131
|
})
|
|
@@ -36127,7 +36137,7 @@ function Es(n, e) {
|
|
|
36127
36137
|
new T({
|
|
36128
36138
|
id: `${e.id}--${p.InvalidBuiltInEntityReference}`,
|
|
36129
36139
|
code: p.InvalidBuiltInEntityReference,
|
|
36130
|
-
severity:
|
|
36140
|
+
severity: f.Error,
|
|
36131
36141
|
message: `The entity of type '${e.type}' with id '${e.id}' cannot update 'readsValue' to entity with id '${n.readsValue}' because the entity belongs to a built-in '${s.type}' entity with id '${s.id}' (${D(
|
|
36132
36142
|
s,
|
|
36133
36143
|
e.project
|
|
@@ -36152,7 +36162,7 @@ function Es(n, e) {
|
|
|
36152
36162
|
new T({
|
|
36153
36163
|
id: `${e.id}--${b.ReaderWriterIncompatibleDataType}`,
|
|
36154
36164
|
code: b.ReaderWriterIncompatibleDataType,
|
|
36155
|
-
severity:
|
|
36165
|
+
severity: f.Error,
|
|
36156
36166
|
message: h6(
|
|
36157
36167
|
e,
|
|
36158
36168
|
i,
|
|
@@ -36171,9 +36181,9 @@ function On(n) {
|
|
|
36171
36181
|
if (n.parent === n.project)
|
|
36172
36182
|
n.calledBy.length || e.push(
|
|
36173
36183
|
new dr({
|
|
36174
|
-
id: `${n.id}--${
|
|
36175
|
-
code:
|
|
36176
|
-
severity:
|
|
36184
|
+
id: `${n.id}--${S.DisconnectedCallableEntity}`,
|
|
36185
|
+
code: S.DisconnectedCallableEntity,
|
|
36186
|
+
severity: f.Warning,
|
|
36177
36187
|
message: `This '${n.type}' entity "${D(
|
|
36178
36188
|
n,
|
|
36179
36189
|
n.project
|
|
@@ -36208,7 +36218,7 @@ This '${n.type}' is blocked `;
|
|
|
36208
36218
|
new dr({
|
|
36209
36219
|
id: `${n.id}--${b.UnreachableEntity}`,
|
|
36210
36220
|
code: b.UnreachableEntity,
|
|
36211
|
-
severity:
|
|
36221
|
+
severity: f.Warning,
|
|
36212
36222
|
message: `${i}${a}`,
|
|
36213
36223
|
issue: null,
|
|
36214
36224
|
entity: n
|
|
@@ -36224,66 +36234,66 @@ function Df(n) {
|
|
|
36224
36234
|
return e;
|
|
36225
36235
|
if (n.readsValue) {
|
|
36226
36236
|
const t = U({
|
|
36227
|
-
id: `${n.id}--${
|
|
36237
|
+
id: `${n.id}--${S.VariableReadsValueAndInternalCall}`,
|
|
36228
36238
|
message: `Variable "${D(n, n.project)}" with id "${n.id}" reads a value. A variable with internal calls can't read a value.`,
|
|
36229
36239
|
issue: null,
|
|
36230
|
-
severity:
|
|
36231
|
-
code:
|
|
36240
|
+
severity: f.Error,
|
|
36241
|
+
code: S.VariableReadsValueAndInternalCall,
|
|
36232
36242
|
entity: n
|
|
36233
36243
|
});
|
|
36234
36244
|
e.push(t.error);
|
|
36235
36245
|
}
|
|
36236
36246
|
if (n.writesValues.length) {
|
|
36237
36247
|
const t = U({
|
|
36238
|
-
id: `${n.id}--${
|
|
36248
|
+
id: `${n.id}--${S.VariableWritesValuesAndInternalCall}`,
|
|
36239
36249
|
message: `Variable "${D(n, n.project)}" with id "${n.id}" writes values. A variable with internal calls can't write a value.`,
|
|
36240
36250
|
issue: null,
|
|
36241
|
-
severity:
|
|
36242
|
-
code:
|
|
36251
|
+
severity: f.Error,
|
|
36252
|
+
code: S.VariableWritesValuesAndInternalCall,
|
|
36243
36253
|
entity: n
|
|
36244
36254
|
});
|
|
36245
36255
|
e.push(t.error);
|
|
36246
36256
|
}
|
|
36247
36257
|
if (n.getUsedInputs().length) {
|
|
36248
36258
|
const t = U({
|
|
36249
|
-
id: `${n.id}--${
|
|
36259
|
+
id: `${n.id}--${S.VariableHasInputsAndInternalCall}`,
|
|
36250
36260
|
message: `Variable "${D(n, n.project)}" with id "${n.id}" has inputs. A variable with internal calls can't have inputs.`,
|
|
36251
36261
|
issue: null,
|
|
36252
|
-
severity:
|
|
36253
|
-
code:
|
|
36262
|
+
severity: f.Error,
|
|
36263
|
+
code: S.VariableHasInputsAndInternalCall,
|
|
36254
36264
|
entity: n
|
|
36255
36265
|
});
|
|
36256
36266
|
e.push(t.error);
|
|
36257
36267
|
}
|
|
36258
36268
|
if (n.getUsedOutputs().length) {
|
|
36259
36269
|
const t = U({
|
|
36260
|
-
id: `${n.id}--${
|
|
36270
|
+
id: `${n.id}--${S.VariableHasOutputsAndInternalCall}`,
|
|
36261
36271
|
message: `Variable "${D(n, n.project)}" with id "${n.id}" has outputs. A variable with internal calls can't have outputs.`,
|
|
36262
36272
|
issue: null,
|
|
36263
|
-
severity:
|
|
36264
|
-
code:
|
|
36273
|
+
severity: f.Error,
|
|
36274
|
+
code: S.VariableHasOutputsAndInternalCall,
|
|
36265
36275
|
entity: n
|
|
36266
36276
|
});
|
|
36267
36277
|
e.push(t.error);
|
|
36268
36278
|
}
|
|
36269
36279
|
if (n.calledBy.length) {
|
|
36270
36280
|
const t = U({
|
|
36271
|
-
id: `${n.id}--${
|
|
36281
|
+
id: `${n.id}--${S.VariableIsCalledAndHasInternalCall}`,
|
|
36272
36282
|
message: `Variable "${D(n, n.project)}" with id "${n.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
|
|
36273
36283
|
issue: null,
|
|
36274
|
-
severity:
|
|
36275
|
-
code:
|
|
36284
|
+
severity: f.Error,
|
|
36285
|
+
code: S.VariableIsCalledAndHasInternalCall,
|
|
36276
36286
|
entity: n
|
|
36277
36287
|
});
|
|
36278
36288
|
e.push(t.error);
|
|
36279
36289
|
}
|
|
36280
36290
|
if ([...n.successCalls, ...n.errorCalls].length) {
|
|
36281
36291
|
const t = U({
|
|
36282
|
-
id: `${n.id}--${
|
|
36292
|
+
id: `${n.id}--${S.VariableCallsOthersAndHasInternalCall}`,
|
|
36283
36293
|
message: `Variable "${D(n, n.project)}" with id "${n.id}" calls other entities. A variable with internal calls can't call other entities.`,
|
|
36284
36294
|
issue: null,
|
|
36285
|
-
severity:
|
|
36286
|
-
code:
|
|
36295
|
+
severity: f.Error,
|
|
36296
|
+
code: S.VariableCallsOthersAndHasInternalCall,
|
|
36287
36297
|
entity: n
|
|
36288
36298
|
});
|
|
36289
36299
|
e.push(t.error);
|
|
@@ -36335,19 +36345,19 @@ const Re = class Re {
|
|
|
36335
36345
|
static fromGenerationTarget(e, t) {
|
|
36336
36346
|
let i = t;
|
|
36337
36347
|
if (e.parent) {
|
|
36338
|
-
const
|
|
36339
|
-
i = t.get(
|
|
36348
|
+
const h = P(e.parent);
|
|
36349
|
+
i = t.get(h);
|
|
36340
36350
|
}
|
|
36341
36351
|
const a = P(e.declaration), s = t.get(
|
|
36342
36352
|
a
|
|
36343
|
-
), o = e.calledByEntry.map((
|
|
36344
|
-
const R = P(
|
|
36353
|
+
), o = e.calledByEntry.map((h) => {
|
|
36354
|
+
const R = P(h);
|
|
36345
36355
|
return t.get(R);
|
|
36346
|
-
}), d = e.calledBySuccess.map((
|
|
36347
|
-
const R = P(
|
|
36356
|
+
}), d = e.calledBySuccess.map((h) => {
|
|
36357
|
+
const R = P(h);
|
|
36348
36358
|
return t.get(R);
|
|
36349
|
-
}), u = e.calledByError.map((
|
|
36350
|
-
const R = P(
|
|
36359
|
+
}), u = e.calledByError.map((h) => {
|
|
36360
|
+
const R = P(h);
|
|
36351
36361
|
return t.get(R);
|
|
36352
36362
|
}), y = {
|
|
36353
36363
|
id: e.id,
|
|
@@ -36427,7 +36437,7 @@ The project currently has no global 'function-declaration' entities that can be
|
|
|
36427
36437
|
new T({
|
|
36428
36438
|
id: `${i.id}--${p.InvalidReference}`,
|
|
36429
36439
|
code: p.InvalidReference,
|
|
36430
|
-
severity:
|
|
36440
|
+
severity: f.Error,
|
|
36431
36441
|
message: `Entity of type "${r.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.
|
|
36432
36442
|
References can either be an ID string or an object with exacly four properties: 'id', 'entityId', 'entityType', 'type'.${d}`,
|
|
36433
36443
|
issue: null
|
|
@@ -36445,7 +36455,7 @@ References can either be an ID string or an object with exacly four properties:
|
|
|
36445
36455
|
new T({
|
|
36446
36456
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
36447
36457
|
code: p.InvalidParentUpdate,
|
|
36448
|
-
severity:
|
|
36458
|
+
severity: f.Error,
|
|
36449
36459
|
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.
|
|
36450
36460
|
If an entity is called by another, they must be in the same scope, which means they have the same parent.
|
|
36451
36461
|
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.`,
|
|
@@ -36699,8 +36709,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
36699
36709
|
}), e || this.calledBy.forEach((o) => {
|
|
36700
36710
|
i.push(o), o.removeCall(this);
|
|
36701
36711
|
}), {
|
|
36702
|
-
affected:
|
|
36703
|
-
removed:
|
|
36712
|
+
affected: A(i),
|
|
36713
|
+
removed: A(a)
|
|
36704
36714
|
};
|
|
36705
36715
|
}
|
|
36706
36716
|
// Re-add this entity to the state after it was removed
|
|
@@ -36733,7 +36743,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
36733
36743
|
}), this.calledByEntry.forEach((i) => {
|
|
36734
36744
|
t.push(i), i.addCall(this);
|
|
36735
36745
|
}), {
|
|
36736
|
-
affected:
|
|
36746
|
+
affected: A(t),
|
|
36737
36747
|
self: this
|
|
36738
36748
|
};
|
|
36739
36749
|
}
|
|
@@ -36929,18 +36939,18 @@ function m6(n) {
|
|
|
36929
36939
|
case $e["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.id: {
|
|
36930
36940
|
const a = n.project.entities.filter(
|
|
36931
36941
|
(m) => !!m.implements.find(
|
|
36932
|
-
(
|
|
36942
|
+
(h) => h.id === $e["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.id
|
|
36933
36943
|
)
|
|
36934
36944
|
);
|
|
36935
|
-
if (a.find((m) => !!m.properties.find((
|
|
36945
|
+
if (a.find((m) => !!m.properties.find((h) => {
|
|
36936
36946
|
var R;
|
|
36937
|
-
return
|
|
36947
|
+
return h.implements && h.implements.id === $e["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default && ((R = h.getDefaultValue()) == null ? void 0 : R.value) === !0;
|
|
36938
36948
|
}))) {
|
|
36939
|
-
const
|
|
36949
|
+
const h = a[0].properties.find((g) => g.implements && g.implements.id === $e["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default), R = (e = h == null ? void 0 : h.dataType) == null ? void 0 : e.defaultValue;
|
|
36940
36950
|
if (R)
|
|
36941
36951
|
R.value = !0;
|
|
36942
|
-
else if (
|
|
36943
|
-
const g = (t =
|
|
36952
|
+
else if (h != null && h.dataType) {
|
|
36953
|
+
const g = (t = h == null ? void 0 : h.dataType) == null ? void 0 : t.id.split("-id")[0], O = E(
|
|
36944
36954
|
{
|
|
36945
36955
|
id: g + "-default-value-id",
|
|
36946
36956
|
version: 1,
|
|
@@ -36949,11 +36959,11 @@ function m6(n) {
|
|
|
36949
36959
|
autogeneration: null,
|
|
36950
36960
|
value: !0,
|
|
36951
36961
|
valueAsType: null,
|
|
36952
|
-
parent:
|
|
36962
|
+
parent: h == null ? void 0 : h.dataType.toReference()
|
|
36953
36963
|
},
|
|
36954
36964
|
n.project
|
|
36955
36965
|
);
|
|
36956
|
-
return O.setParent(
|
|
36966
|
+
return O.setParent(h == null ? void 0 : h.dataType), O.initChildren(), O.addSelfToProject(), {
|
|
36957
36967
|
newEntities: [O]
|
|
36958
36968
|
};
|
|
36959
36969
|
}
|
|
@@ -36972,7 +36982,7 @@ function m6(n) {
|
|
|
36972
36982
|
if (y)
|
|
36973
36983
|
y.value = !0;
|
|
36974
36984
|
else if (u != null && u.dataType) {
|
|
36975
|
-
const m = u == null ? void 0 : u.dataType.id.split("-id")[0],
|
|
36985
|
+
const m = u == null ? void 0 : u.dataType.id.split("-id")[0], h = E(
|
|
36976
36986
|
{
|
|
36977
36987
|
id: m + "-default-value-id",
|
|
36978
36988
|
version: 1,
|
|
@@ -36985,7 +36995,7 @@ function m6(n) {
|
|
|
36985
36995
|
},
|
|
36986
36996
|
n.project
|
|
36987
36997
|
);
|
|
36988
|
-
|
|
36998
|
+
h.setParent(u == null ? void 0 : u.dataType), h.initChildren(), h.addSelfToProject();
|
|
36989
36999
|
}
|
|
36990
37000
|
return {
|
|
36991
37001
|
newEntities: [d.implemented]
|
|
@@ -37083,7 +37093,7 @@ function pc(n, e, t) {
|
|
|
37083
37093
|
n.project
|
|
37084
37094
|
), $ = g.clone(y, O);
|
|
37085
37095
|
return $.abstract = !1, $.implements = g, $.setParent(y), y.addProperty($), $;
|
|
37086
|
-
}),
|
|
37096
|
+
}), h = n.abstractMethods.map(
|
|
37087
37097
|
(g) => {
|
|
37088
37098
|
const O = s + en(
|
|
37089
37099
|
g.name,
|
|
@@ -37105,7 +37115,7 @@ function pc(n, e, t) {
|
|
|
37105
37115
|
return y.addMethod(_e), _e.setParent(y), _e.initChildren(), _e.implements = g, _e;
|
|
37106
37116
|
}
|
|
37107
37117
|
);
|
|
37108
|
-
o.properties = m, o.methods =
|
|
37118
|
+
o.properties = m, o.methods = h;
|
|
37109
37119
|
const R = T6(y);
|
|
37110
37120
|
return {
|
|
37111
37121
|
implemented: y,
|
|
@@ -37140,11 +37150,11 @@ function yc(n, e) {
|
|
|
37140
37150
|
};
|
|
37141
37151
|
}
|
|
37142
37152
|
function E6(n, e, t = /* @__PURE__ */ new Set()) {
|
|
37143
|
-
const i = $n(n), a = $n(e), s = i.filter((u) => !a.includes(u)), o = i.filter((u) => a.includes(u)), d = s.reduce((u, y) => t.has(y.id) ? u : (t.add(y.id),
|
|
37153
|
+
const i = $n(n), a = $n(e), s = i.filter((u) => !a.includes(u)), o = i.filter((u) => a.includes(u)), d = s.reduce((u, y) => t.has(y.id) ? u : (t.add(y.id), A([
|
|
37144
37154
|
...u,
|
|
37145
37155
|
...E6(y, e, t)
|
|
37146
37156
|
])), []);
|
|
37147
|
-
return
|
|
37157
|
+
return A([
|
|
37148
37158
|
...o,
|
|
37149
37159
|
...d
|
|
37150
37160
|
]);
|
|
@@ -37234,7 +37244,7 @@ function ht(n) {
|
|
|
37234
37244
|
const e = n.map(
|
|
37235
37245
|
(t) => He(t)
|
|
37236
37246
|
);
|
|
37237
|
-
return
|
|
37247
|
+
return A(e);
|
|
37238
37248
|
}
|
|
37239
37249
|
function Sf(n) {
|
|
37240
37250
|
return Me.includes(n.type) ? [
|
|
@@ -37518,7 +37528,7 @@ function Qr(n) {
|
|
|
37518
37528
|
...n.outputs || []
|
|
37519
37529
|
].map((a) => Yc(a)).filter((a) => a !== null);
|
|
37520
37530
|
e.push(
|
|
37521
|
-
...
|
|
37531
|
+
...A(
|
|
37522
37532
|
i
|
|
37523
37533
|
)
|
|
37524
37534
|
);
|
|
@@ -37527,7 +37537,7 @@ function Qr(n) {
|
|
|
37527
37537
|
const t = Yc(n);
|
|
37528
37538
|
t && e.push(t);
|
|
37529
37539
|
}
|
|
37530
|
-
return
|
|
37540
|
+
return A(
|
|
37531
37541
|
e
|
|
37532
37542
|
);
|
|
37533
37543
|
}
|
|
@@ -37560,9 +37570,9 @@ function Yc(n) {
|
|
|
37560
37570
|
}
|
|
37561
37571
|
function B6(n) {
|
|
37562
37572
|
const e = n.internalCalls || [];
|
|
37563
|
-
return
|
|
37573
|
+
return A(
|
|
37564
37574
|
ht(
|
|
37565
|
-
|
|
37575
|
+
A(
|
|
37566
37576
|
e.flatMap((t) => [...t.successCalls, ...t.errorCalls])
|
|
37567
37577
|
)
|
|
37568
37578
|
)
|
|
@@ -37590,7 +37600,7 @@ function ei(n) {
|
|
|
37590
37600
|
);
|
|
37591
37601
|
}), t;
|
|
37592
37602
|
}
|
|
37593
|
-
function
|
|
37603
|
+
function A(n) {
|
|
37594
37604
|
const e = /* @__PURE__ */ new Set();
|
|
37595
37605
|
return n.filter((t) => !t || e.has(t.id) ? !1 : (e.add(t.id), !0));
|
|
37596
37606
|
}
|
|
@@ -37631,7 +37641,7 @@ function $n(n, e = !1) {
|
|
|
37631
37641
|
(s) => He(s)
|
|
37632
37642
|
);
|
|
37633
37643
|
t.push(
|
|
37634
|
-
...
|
|
37644
|
+
...A(
|
|
37635
37645
|
i
|
|
37636
37646
|
),
|
|
37637
37647
|
...a
|
|
@@ -37640,7 +37650,7 @@ function $n(n, e = !1) {
|
|
|
37640
37650
|
if (Me.includes(n.type) && n.type !== r.Condition) {
|
|
37641
37651
|
const i = n == null ? void 0 : n.outputs.map((o) => ei(o)).flat(), a = n.successCalls.map((o) => He(o)), s = n.errorCalls.map((o) => He(o));
|
|
37642
37652
|
t.push(
|
|
37643
|
-
...
|
|
37653
|
+
...A(
|
|
37644
37654
|
i
|
|
37645
37655
|
),
|
|
37646
37656
|
...a,
|
|
@@ -37669,7 +37679,7 @@ function $n(n, e = !1) {
|
|
|
37669
37679
|
(o) => He(o)
|
|
37670
37680
|
), s = n.successCalls.map((o) => He(o));
|
|
37671
37681
|
t.push(
|
|
37672
|
-
...
|
|
37682
|
+
...A(
|
|
37673
37683
|
i
|
|
37674
37684
|
),
|
|
37675
37685
|
...s,
|
|
@@ -37681,13 +37691,13 @@ function $n(n, e = !1) {
|
|
|
37681
37691
|
return [];
|
|
37682
37692
|
const i = n.inputs.map((s) => ei(s)).flat(), a = n.calls.map((s) => He(s));
|
|
37683
37693
|
t.push(
|
|
37684
|
-
...
|
|
37694
|
+
...A(
|
|
37685
37695
|
i
|
|
37686
37696
|
),
|
|
37687
37697
|
...a
|
|
37688
37698
|
);
|
|
37689
37699
|
}
|
|
37690
|
-
return
|
|
37700
|
+
return A(
|
|
37691
37701
|
t
|
|
37692
37702
|
);
|
|
37693
37703
|
}
|
|
@@ -37702,14 +37712,14 @@ function M6(n, e = !1) {
|
|
|
37702
37712
|
...M6(s, e)
|
|
37703
37713
|
], [])
|
|
37704
37714
|
];
|
|
37705
|
-
return
|
|
37715
|
+
return A(i);
|
|
37706
37716
|
}
|
|
37707
37717
|
function _6(n) {
|
|
37708
37718
|
const e = Qr(n), t = [
|
|
37709
37719
|
...e,
|
|
37710
37720
|
...e.reduce((i, a) => [...i, ..._6(a)], [])
|
|
37711
37721
|
];
|
|
37712
|
-
return
|
|
37722
|
+
return A(t);
|
|
37713
37723
|
}
|
|
37714
37724
|
function hc(n) {
|
|
37715
37725
|
return n.implements.reduce((e, t) => t.type === r.CustomEntity ? [
|
|
@@ -37796,7 +37806,7 @@ function Kn(n) {
|
|
|
37796
37806
|
] : t,
|
|
37797
37807
|
[]
|
|
37798
37808
|
);
|
|
37799
|
-
return
|
|
37809
|
+
return A(e);
|
|
37800
37810
|
}
|
|
37801
37811
|
function _f(n) {
|
|
37802
37812
|
return n.type === r.PrimitiveEntity ? !0 : n.type === r.BuiltInBaseEntity ? n.interactive : !Kn(n).find(
|
|
@@ -38109,15 +38119,15 @@ function sa(n) {
|
|
|
38109
38119
|
].forEach((u) => {
|
|
38110
38120
|
Se.includes(u.type) && u !== n && (Ie(
|
|
38111
38121
|
n
|
|
38112
|
-
).find((
|
|
38122
|
+
).find((h) => h === u) || i(s, u));
|
|
38113
38123
|
});
|
|
38114
38124
|
let d;
|
|
38115
38125
|
if (Me.includes(s.type) && (d = s), d) {
|
|
38116
38126
|
const u = sa(d);
|
|
38117
38127
|
u.reachable || Ie(
|
|
38118
38128
|
n
|
|
38119
|
-
).find((
|
|
38120
|
-
i(s,
|
|
38129
|
+
).find((h) => h === s) || u.blocks.forEach((h) => {
|
|
38130
|
+
i(s, h.blockedByCalling);
|
|
38121
38131
|
});
|
|
38122
38132
|
}
|
|
38123
38133
|
}), n.calledByError.forEach((s) => {
|
|
@@ -38126,22 +38136,22 @@ function sa(n) {
|
|
|
38126
38136
|
].forEach((u) => {
|
|
38127
38137
|
Se.includes(u.type) && u !== n && (Ie(
|
|
38128
38138
|
n
|
|
38129
|
-
).find((
|
|
38139
|
+
).find((h) => h === u) || i(s, u));
|
|
38130
38140
|
});
|
|
38131
38141
|
let d;
|
|
38132
38142
|
if (Me.includes(s.type) && (d = s), d) {
|
|
38133
38143
|
const u = sa(d);
|
|
38134
38144
|
u.reachable || Ie(
|
|
38135
38145
|
n
|
|
38136
|
-
).find((
|
|
38137
|
-
i(s,
|
|
38146
|
+
).find((h) => h === s) || u.blocks.forEach((h) => {
|
|
38147
|
+
i(s, h.blockedByCalling);
|
|
38138
38148
|
});
|
|
38139
38149
|
}
|
|
38140
38150
|
}), n.calledByEntry.forEach((s) => {
|
|
38141
38151
|
if ([...s.calls || []].forEach((u) => {
|
|
38142
38152
|
Se.includes(u.type) && u !== n && (Ie(
|
|
38143
38153
|
n
|
|
38144
|
-
).find((
|
|
38154
|
+
).find((h) => h === u) || i(s, u));
|
|
38145
38155
|
}), s === a)
|
|
38146
38156
|
return;
|
|
38147
38157
|
let d;
|
|
@@ -38195,7 +38205,7 @@ function q6(n, e) {
|
|
|
38195
38205
|
new T({
|
|
38196
38206
|
id: `${n.id}--${n.parent}--${p.SelfReference}`,
|
|
38197
38207
|
code: p.SelfReference,
|
|
38198
|
-
severity:
|
|
38208
|
+
severity: f.Error,
|
|
38199
38209
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to itself at 'parent'. This is not allowed. Change the reference string or the 'entityId' property of the reference object.`,
|
|
38200
38210
|
issue: null
|
|
38201
38211
|
})
|
|
@@ -38208,7 +38218,7 @@ function q6(n, e) {
|
|
|
38208
38218
|
new T({
|
|
38209
38219
|
id: `${n.id}--${n.parent}--${p.InvalidParentReference}`,
|
|
38210
38220
|
code: p.InvalidParentReference,
|
|
38211
|
-
severity:
|
|
38221
|
+
severity: f.Error,
|
|
38212
38222
|
message: `Entity of type "${n.type}" with id "${n.id}", has a parent reference that isn't pointing to an entity of type 'project' or 'data-type'.`,
|
|
38213
38223
|
issue: null
|
|
38214
38224
|
})
|
|
@@ -38216,7 +38226,7 @@ function q6(n, e) {
|
|
|
38216
38226
|
new T({
|
|
38217
38227
|
id: `${n.id}--${n.parent}--${p.ReferencedEntityNotFound}`,
|
|
38218
38228
|
code: p.ReferencedEntityNotFound,
|
|
38219
|
-
severity:
|
|
38229
|
+
severity: f.Error,
|
|
38220
38230
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${n.parent}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
38221
38231
|
issue: null
|
|
38222
38232
|
})
|
|
@@ -38228,7 +38238,7 @@ function q6(n, e) {
|
|
|
38228
38238
|
new T({
|
|
38229
38239
|
id: `${n.id}--${i}--${p.SelfReference}`,
|
|
38230
38240
|
code: p.SelfReference,
|
|
38231
|
-
severity:
|
|
38241
|
+
severity: f.Error,
|
|
38232
38242
|
message: `Entity of type "${n.type}" with id "${n.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.`,
|
|
38233
38243
|
issue: null
|
|
38234
38244
|
})
|
|
@@ -38242,7 +38252,7 @@ function q6(n, e) {
|
|
|
38242
38252
|
new T({
|
|
38243
38253
|
id: `${n.id}--${i}--${p.InvalidImplementsReference}`,
|
|
38244
38254
|
code: p.InvalidImplementsReference,
|
|
38245
|
-
severity:
|
|
38255
|
+
severity: f.Error,
|
|
38246
38256
|
message: `Entity of type "${n.type}" with id "${n.id}", has an 'implements' reference that isn't pointing to an abstract entity.`,
|
|
38247
38257
|
issue: null
|
|
38248
38258
|
})
|
|
@@ -38250,7 +38260,7 @@ function q6(n, e) {
|
|
|
38250
38260
|
new T({
|
|
38251
38261
|
id: `${n.id}--${i}--${p.InvalidImplementsReference}`,
|
|
38252
38262
|
code: p.InvalidImplementsReference,
|
|
38253
|
-
severity:
|
|
38263
|
+
severity: f.Error,
|
|
38254
38264
|
message: `Entity of type "${n.type}" with id "${n.id}", has an 'implements' reference that isn't pointing to an entity of type 'custom-entity' or 'built-in-base-entity'.`,
|
|
38255
38265
|
issue: null
|
|
38256
38266
|
})
|
|
@@ -38258,7 +38268,7 @@ function q6(n, e) {
|
|
|
38258
38268
|
new T({
|
|
38259
38269
|
id: `${n.id}--${i}--${p.ReferencedEntityNotFound}`,
|
|
38260
38270
|
code: p.ReferencedEntityNotFound,
|
|
38261
|
-
severity:
|
|
38271
|
+
severity: f.Error,
|
|
38262
38272
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${i}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
38263
38273
|
issue: null
|
|
38264
38274
|
})
|
|
@@ -38267,7 +38277,7 @@ function q6(n, e) {
|
|
|
38267
38277
|
new T({
|
|
38268
38278
|
id: `${n.id}--${b.InvalidObjectStructure}`,
|
|
38269
38279
|
code: b.InvalidObjectStructure,
|
|
38270
|
-
severity:
|
|
38280
|
+
severity: f.Error,
|
|
38271
38281
|
message: `Entity of type "${n.type}" with id "${n.id}", has an 'implements' property that isn't an array.`,
|
|
38272
38282
|
issue: null
|
|
38273
38283
|
})
|
|
@@ -38279,7 +38289,7 @@ function q6(n, e) {
|
|
|
38279
38289
|
new T({
|
|
38280
38290
|
id: `${n.id}--${i}--${p.InvalidExtendsReference}`,
|
|
38281
38291
|
code: p.InvalidExtendsReference,
|
|
38282
|
-
severity:
|
|
38292
|
+
severity: f.Error,
|
|
38283
38293
|
message: `Entity of type "${n.type}" with id "${n.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?`,
|
|
38284
38294
|
issue: null
|
|
38285
38295
|
})
|
|
@@ -38287,7 +38297,7 @@ function q6(n, e) {
|
|
|
38287
38297
|
new T({
|
|
38288
38298
|
id: `${n.id}--${i}--${p.InvalidExtendsReference}`,
|
|
38289
38299
|
code: p.InvalidExtendsReference,
|
|
38290
|
-
severity:
|
|
38300
|
+
severity: f.Error,
|
|
38291
38301
|
message: `Entity of type "${n.type}" with id "${n.id}", has an 'extends' reference that isn't pointing to an entity of type 'custom-entity' or 'built-in-base-entity'.`,
|
|
38292
38302
|
issue: null
|
|
38293
38303
|
})
|
|
@@ -38295,7 +38305,7 @@ function q6(n, e) {
|
|
|
38295
38305
|
new T({
|
|
38296
38306
|
id: `${n.id}--${i}--${p.ReferencedEntityNotFound}`,
|
|
38297
38307
|
code: p.ReferencedEntityNotFound,
|
|
38298
|
-
severity:
|
|
38308
|
+
severity: f.Error,
|
|
38299
38309
|
message: `Entity of type "${n.type}" with id "${n.id}", is referencing an entity with id "${i}" that isn't yet found in the project. Perhaps it should be created first. Or perhaps the ID is incorrect.`,
|
|
38300
38310
|
issue: null
|
|
38301
38311
|
})
|
|
@@ -38396,7 +38406,7 @@ const ue = class ue {
|
|
|
38396
38406
|
new T({
|
|
38397
38407
|
id: `${e.id}--${p.NewEntityWouldOverriteExisting}`,
|
|
38398
38408
|
code: p.NewEntityWouldOverriteExisting,
|
|
38399
|
-
severity:
|
|
38409
|
+
severity: f.Error,
|
|
38400
38410
|
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.
|
|
38401
38411
|
You can inspect the existing 'entity' field with the 'describe_entity' action. Like so:
|
|
38402
38412
|
${Xt(
|
|
@@ -38416,7 +38426,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
38416
38426
|
}
|
|
38417
38427
|
// Returns the properties that are not abstract from the entities extended by this entity
|
|
38418
38428
|
get extendedProperties() {
|
|
38419
|
-
return
|
|
38429
|
+
return A([
|
|
38420
38430
|
...this.extends.reduce((e, t) => [...[
|
|
38421
38431
|
...t.properties,
|
|
38422
38432
|
...t.extendedProperties
|
|
@@ -38433,7 +38443,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
38433
38443
|
new T({
|
|
38434
38444
|
id: `${this.id}--${p.InvalidParentUpdate}`,
|
|
38435
38445
|
code: p.InvalidParentUpdate,
|
|
38436
|
-
severity:
|
|
38446
|
+
severity: f.Error,
|
|
38437
38447
|
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.`,
|
|
38438
38448
|
issue: null
|
|
38439
38449
|
})
|
|
@@ -38623,8 +38633,8 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
38623
38633
|
});
|
|
38624
38634
|
i.push(...o), a.push(...d);
|
|
38625
38635
|
}), {
|
|
38626
|
-
affected:
|
|
38627
|
-
removed:
|
|
38636
|
+
affected: A(i),
|
|
38637
|
+
removed: A(a)
|
|
38628
38638
|
});
|
|
38629
38639
|
}
|
|
38630
38640
|
// Re-add this entity to the state after it was removed
|
|
@@ -38652,7 +38662,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
38652
38662
|
const { affected: a } = i.restore({ seenEntities: e });
|
|
38653
38663
|
t.push(...a);
|
|
38654
38664
|
}), {
|
|
38655
|
-
affected:
|
|
38665
|
+
affected: A(t),
|
|
38656
38666
|
self: this
|
|
38657
38667
|
});
|
|
38658
38668
|
}
|
|
@@ -38816,13 +38826,13 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
38816
38826
|
const e = this.implements.filter(
|
|
38817
38827
|
(i) => i.type === r.CustomEntity || i.type === r.BuiltInBaseEntity && i.interactive
|
|
38818
38828
|
);
|
|
38819
|
-
return [
|
|
38829
|
+
return A([
|
|
38820
38830
|
...this.methods,
|
|
38821
38831
|
...this.extends.flatMap((i) => i.getAllInteractiveMethods()),
|
|
38822
38832
|
...e.flatMap(
|
|
38823
38833
|
(i) => i.getAllInteractiveMethods()
|
|
38824
38834
|
)
|
|
38825
|
-
];
|
|
38835
|
+
]);
|
|
38826
38836
|
}
|
|
38827
38837
|
};
|
|
38828
38838
|
l(ue, "MUTABLE_BASE_PROPERTIES", [
|
|
@@ -38909,7 +38919,7 @@ class $t {
|
|
|
38909
38919
|
}
|
|
38910
38920
|
// Returns the properties that are not abstract from the entities extended by this entity
|
|
38911
38921
|
get extendedProperties() {
|
|
38912
|
-
return
|
|
38922
|
+
return A(
|
|
38913
38923
|
this.extends.reduce((e, t) => {
|
|
38914
38924
|
const i = [
|
|
38915
38925
|
...t.properties,
|
|
@@ -39088,7 +39098,7 @@ class $t {
|
|
|
39088
39098
|
(i) => i.type === r.BuiltInBaseEntity && i.interactive || i.type === r.PrimitiveEntity
|
|
39089
39099
|
).forEach((i) => {
|
|
39090
39100
|
i instanceof $t && e.push(...i.getAllInteractiveMethods());
|
|
39091
|
-
})), e;
|
|
39101
|
+
})), A(e);
|
|
39092
39102
|
}
|
|
39093
39103
|
}
|
|
39094
39104
|
function W6(n) {
|
|
@@ -39137,7 +39147,7 @@ class Nt {
|
|
|
39137
39147
|
}
|
|
39138
39148
|
// Returns the properties that are not abstract from the entities extended by this entity
|
|
39139
39149
|
get extendedProperties() {
|
|
39140
|
-
return
|
|
39150
|
+
return A(
|
|
39141
39151
|
this.extends.reduce((e, t) => {
|
|
39142
39152
|
const i = [
|
|
39143
39153
|
...t.properties,
|
|
@@ -39307,7 +39317,7 @@ class Nt {
|
|
|
39307
39317
|
(i) => i.type === r.BuiltInBaseEntity && i.interactive || i.type === r.PrimitiveEntity
|
|
39308
39318
|
).forEach((i) => {
|
|
39309
39319
|
i instanceof $t && e.push(...i.getAllInteractiveMethods());
|
|
39310
|
-
}), e;
|
|
39320
|
+
}), A(e);
|
|
39311
39321
|
}
|
|
39312
39322
|
}
|
|
39313
39323
|
function bs(n, e) {
|
|
@@ -40363,7 +40373,7 @@ const H = class H {
|
|
|
40363
40373
|
];
|
|
40364
40374
|
}
|
|
40365
40375
|
getVariableDeclarations() {
|
|
40366
|
-
return
|
|
40376
|
+
return A([
|
|
40367
40377
|
...this.variableDeclarations,
|
|
40368
40378
|
...this.getEntryPoints().reduce((t, i) => {
|
|
40369
40379
|
const s = z(i).filter(
|
|
@@ -40848,10 +40858,10 @@ export {
|
|
|
40848
40858
|
d9 as EXECUTABLE_TYPES,
|
|
40849
40859
|
iE as EXECUTION_OPERATIONS,
|
|
40850
40860
|
dr as EntityError,
|
|
40851
|
-
|
|
40861
|
+
f as EntityErrorSeverity,
|
|
40852
40862
|
T as EntityGenerationError,
|
|
40853
40863
|
p as EntityGenerationErrorCode,
|
|
40854
|
-
|
|
40864
|
+
S as EntityInstanceErrorCode,
|
|
40855
40865
|
nt as EntityOperations,
|
|
40856
40866
|
r as EntityType,
|
|
40857
40867
|
c3 as EntityWithLogicScopeClass,
|
|
@@ -41075,7 +41085,7 @@ export {
|
|
|
41075
41085
|
Cd as executionBuiltInEntity,
|
|
41076
41086
|
Od as executionBuiltInEntityAbortMethod,
|
|
41077
41087
|
pv as executionBuiltInEntityAbortMethodParentRef,
|
|
41078
|
-
|
|
41088
|
+
A as filterOutDuplicateEntities,
|
|
41079
41089
|
S9 as filterOutDuplicateErrors,
|
|
41080
41090
|
C6 as findReferenceToSelfInList,
|
|
41081
41091
|
x3 as findReferencesToSelfInProject,
|