@elyx-code/project-logic-tree 0.0.6225 → 0.0.6227
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 +70 -79
- package/dist/index.umd.cjs +12 -12
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31471,18 +31471,20 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
31471
31471
|
)) {
|
|
31472
31472
|
const l = this.getCounterparts();
|
|
31473
31473
|
l.length && l.forEach((u) => {
|
|
31474
|
-
|
|
31475
|
-
|
|
31476
|
-
|
|
31477
|
-
|
|
31478
|
-
|
|
31479
|
-
|
|
31480
|
-
|
|
31481
|
-
|
|
31482
|
-
|
|
31483
|
-
|
|
31484
|
-
|
|
31485
|
-
|
|
31474
|
+
if (!(t != null && t.hasRemoved(u.id))) {
|
|
31475
|
+
const {
|
|
31476
|
+
updated: h,
|
|
31477
|
+
removed: c,
|
|
31478
|
+
added: T,
|
|
31479
|
+
affected: I
|
|
31480
|
+
} = u.remove(
|
|
31481
|
+
{
|
|
31482
|
+
ignoreUpstream: e
|
|
31483
|
+
},
|
|
31484
|
+
t
|
|
31485
|
+
);
|
|
31486
|
+
r.push(...h), s.push(...c), d.push(...T), o.push(...I);
|
|
31487
|
+
}
|
|
31486
31488
|
});
|
|
31487
31489
|
}
|
|
31488
31490
|
return !e && this.parent && this.parent.removeOutputDeclaration(this, t), t == null || t.attemptAutoclose("remove-entity", this.id), {
|
|
@@ -32295,17 +32297,17 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
32295
32297
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
32296
32298
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
32297
32299
|
const o = _(d), l = this.project.get(o);
|
|
32298
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
32300
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
32299
32301
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
32300
32302
|
const o = _(d), l = this.project.get(
|
|
32301
32303
|
o
|
|
32302
32304
|
);
|
|
32303
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
32305
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
32304
32306
|
}), this.initialData.calledByError.forEach((d) => {
|
|
32305
32307
|
const o = _(d), l = this.project.get(
|
|
32306
32308
|
o
|
|
32307
32309
|
);
|
|
32308
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
32310
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
32309
32311
|
}), {
|
|
32310
32312
|
updated: p(e),
|
|
32311
32313
|
added: p(t),
|
|
@@ -32396,7 +32398,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
32396
32398
|
"add-error-caller"
|
|
32397
32399
|
)
|
|
32398
32400
|
), r = !1) {
|
|
32399
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
32401
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
32400
32402
|
}
|
|
32401
32403
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
32402
32404
|
new E(
|
|
@@ -32408,7 +32410,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
32408
32410
|
"add-entry-caller"
|
|
32409
32411
|
)
|
|
32410
32412
|
), r = !1) {
|
|
32411
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
32413
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
32412
32414
|
}
|
|
32413
32415
|
removeCaller(e, t = this.project.addChangeSet(
|
|
32414
32416
|
new E(
|
|
@@ -33242,17 +33244,17 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
33242
33244
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
33243
33245
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
33244
33246
|
const o = _(d), l = this.project.get(o);
|
|
33245
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
33247
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
33246
33248
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
33247
33249
|
const o = _(d), l = this.project.get(
|
|
33248
33250
|
o
|
|
33249
33251
|
);
|
|
33250
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
33252
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
33251
33253
|
}), this.initialData.calledByError.forEach((d) => {
|
|
33252
33254
|
const o = _(d), l = this.project.get(
|
|
33253
33255
|
o
|
|
33254
33256
|
);
|
|
33255
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
33257
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
33256
33258
|
}), {
|
|
33257
33259
|
updated: p(e),
|
|
33258
33260
|
added: p(t),
|
|
@@ -33350,7 +33352,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
33350
33352
|
"add-error-caller"
|
|
33351
33353
|
)
|
|
33352
33354
|
), r = !1) {
|
|
33353
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
33355
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
33354
33356
|
}
|
|
33355
33357
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
33356
33358
|
new E(
|
|
@@ -33362,7 +33364,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
33362
33364
|
"add-entry-caller"
|
|
33363
33365
|
)
|
|
33364
33366
|
), r = !1) {
|
|
33365
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
33367
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
33366
33368
|
}
|
|
33367
33369
|
removeCaller(e, t = this.project.addChangeSet(
|
|
33368
33370
|
new E(
|
|
@@ -36924,17 +36926,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
36924
36926
|
}
|
|
36925
36927
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
36926
36928
|
const o = _(d), l = this.project.get(o);
|
|
36927
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
36929
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
36928
36930
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
36929
36931
|
const o = _(d), l = this.project.get(
|
|
36930
36932
|
o
|
|
36931
36933
|
);
|
|
36932
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
36934
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
36933
36935
|
}), this.initialData.calledByError.forEach((d) => {
|
|
36934
36936
|
const o = _(d), l = this.project.get(
|
|
36935
36937
|
o
|
|
36936
36938
|
);
|
|
36937
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
36939
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
36938
36940
|
}), {
|
|
36939
36941
|
updated: p(e),
|
|
36940
36942
|
added: p(t),
|
|
@@ -37135,7 +37137,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37135
37137
|
"add-error-caller"
|
|
37136
37138
|
)
|
|
37137
37139
|
), r = !1) {
|
|
37138
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
37140
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
37139
37141
|
}
|
|
37140
37142
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
37141
37143
|
new E(
|
|
@@ -37147,7 +37149,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37147
37149
|
"add-entry-caller"
|
|
37148
37150
|
)
|
|
37149
37151
|
), r = !1) {
|
|
37150
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
37152
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
37151
37153
|
}
|
|
37152
37154
|
addErrorCall(e, t = this.project.addChangeSet(
|
|
37153
37155
|
new E(
|
|
@@ -39384,17 +39386,17 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
39384
39386
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
39385
39387
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
39386
39388
|
const o = _(d), l = this.project.get(o);
|
|
39387
|
-
l && (
|
|
39389
|
+
l && (this.addEntryCaller(l, null), e.push(l));
|
|
39388
39390
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
39389
39391
|
const o = _(d), l = this.project.get(
|
|
39390
39392
|
o
|
|
39391
39393
|
);
|
|
39392
|
-
l && (
|
|
39394
|
+
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
39393
39395
|
}), this.initialData.calledByError.forEach((d) => {
|
|
39394
39396
|
const o = _(d), l = this.project.get(
|
|
39395
39397
|
o
|
|
39396
39398
|
);
|
|
39397
|
-
l && (
|
|
39399
|
+
l && (this.addErrorCaller(l, null), e.push(l));
|
|
39398
39400
|
}), {
|
|
39399
39401
|
updated: p(e),
|
|
39400
39402
|
added: p(t),
|
|
@@ -39485,7 +39487,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
39485
39487
|
"add-error-caller"
|
|
39486
39488
|
)
|
|
39487
39489
|
), r = !1) {
|
|
39488
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
39490
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
39489
39491
|
}
|
|
39490
39492
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
39491
39493
|
new E(
|
|
@@ -39497,7 +39499,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
39497
39499
|
"add-entry-caller"
|
|
39498
39500
|
)
|
|
39499
39501
|
), r = !1) {
|
|
39500
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
39502
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
39501
39503
|
}
|
|
39502
39504
|
removeCaller(e, t = this.project.addChangeSet(
|
|
39503
39505
|
new E(
|
|
@@ -41968,17 +41970,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
41968
41970
|
}
|
|
41969
41971
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
41970
41972
|
const o = _(d), l = this.project.get(o);
|
|
41971
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
41973
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
41972
41974
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
41973
41975
|
const o = _(d), l = this.project.get(
|
|
41974
41976
|
o
|
|
41975
41977
|
);
|
|
41976
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
41978
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
41977
41979
|
}), this.initialData.calledByError.forEach((d) => {
|
|
41978
41980
|
const o = _(d), l = this.project.get(
|
|
41979
41981
|
o
|
|
41980
41982
|
);
|
|
41981
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
41983
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
41982
41984
|
}), {
|
|
41983
41985
|
updated: p(e),
|
|
41984
41986
|
added: p(t),
|
|
@@ -42159,7 +42161,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
42159
42161
|
"add-error-caller"
|
|
42160
42162
|
)
|
|
42161
42163
|
), r = !1) {
|
|
42162
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
42164
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
42163
42165
|
}
|
|
42164
42166
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
42165
42167
|
new E(
|
|
@@ -42171,7 +42173,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
42171
42173
|
"add-entry-caller"
|
|
42172
42174
|
)
|
|
42173
42175
|
), r = !1) {
|
|
42174
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
42176
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
42175
42177
|
}
|
|
42176
42178
|
addErrorCall(e, t = this.project.addChangeSet(
|
|
42177
42179
|
new E(
|
|
@@ -42460,18 +42462,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
42460
42462
|
)
|
|
42461
42463
|
)) {
|
|
42462
42464
|
const t = [], r = [], s = [], d = [];
|
|
42463
|
-
return e != null && e.hasAdded(this.id) ? (e == null || e.attemptAutoclose("restore-entity", this.id), { added: [], updated: [], removed: [], affected: [], self: this }) : (this.subscribe(), this.project.unsubscribeDeletedInstance(this), this.metaSync({ deleted: !1 }, e),
|
|
42464
|
-
const {
|
|
42465
|
-
updated: l,
|
|
42466
|
-
removed: u,
|
|
42467
|
-
added: h
|
|
42468
|
-
} = o.entity.onDetachedDependencyRestored(
|
|
42469
|
-
this,
|
|
42470
|
-
o.field,
|
|
42471
|
-
e
|
|
42472
|
-
);
|
|
42473
|
-
r.push(...l), s.push(...u), t.push(...h);
|
|
42474
|
-
}), this.inputs.forEach((o) => {
|
|
42465
|
+
return e != null && e.hasAdded(this.id) ? (e == null || e.attemptAutoclose("restore-entity", this.id), { added: [], updated: [], removed: [], affected: [], self: this }) : (this.subscribe(), this.project.unsubscribeDeletedInstance(this), this.metaSync({ deleted: !1 }, e), this.inputs.forEach((o) => {
|
|
42475
42466
|
const { updated: l } = o.restore({}, e);
|
|
42476
42467
|
r.push(...l);
|
|
42477
42468
|
}), this.outputs.forEach((o) => {
|
|
@@ -44774,17 +44765,17 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
44774
44765
|
}
|
|
44775
44766
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
44776
44767
|
const o = _(d), l = this.project.get(o);
|
|
44777
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
44768
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
44778
44769
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
44779
44770
|
const o = _(d), l = this.project.get(
|
|
44780
44771
|
o
|
|
44781
44772
|
);
|
|
44782
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
44773
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
44783
44774
|
}), this.initialData.calledByError.forEach((d) => {
|
|
44784
44775
|
const o = _(d), l = this.project.get(
|
|
44785
44776
|
o
|
|
44786
44777
|
);
|
|
44787
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
44778
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
44788
44779
|
}), {
|
|
44789
44780
|
updated: p(e),
|
|
44790
44781
|
added: p(t),
|
|
@@ -44916,7 +44907,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
44916
44907
|
"add-error-caller"
|
|
44917
44908
|
)
|
|
44918
44909
|
), r = !1) {
|
|
44919
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
44910
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
44920
44911
|
}
|
|
44921
44912
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
44922
44913
|
new E(
|
|
@@ -44928,7 +44919,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
44928
44919
|
"add-entry-caller"
|
|
44929
44920
|
)
|
|
44930
44921
|
), r = !1) {
|
|
44931
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
44922
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
44932
44923
|
}
|
|
44933
44924
|
addErrorCall(e, t = this.project.addChangeSet(
|
|
44934
44925
|
new E(
|
|
@@ -46094,17 +46085,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
46094
46085
|
}
|
|
46095
46086
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
46096
46087
|
const o = _(d), l = this.project.get(o);
|
|
46097
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
46088
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
46098
46089
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
46099
46090
|
const o = _(d), l = this.project.get(
|
|
46100
46091
|
o
|
|
46101
46092
|
);
|
|
46102
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
46093
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
46103
46094
|
}), this.initialData.calledByError.forEach((d) => {
|
|
46104
46095
|
const o = _(d), l = this.project.get(
|
|
46105
46096
|
o
|
|
46106
46097
|
);
|
|
46107
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
46098
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
46108
46099
|
}), Ai.hydrateReadsValue(this), {
|
|
46109
46100
|
updated: p(e),
|
|
46110
46101
|
added: p(t),
|
|
@@ -46317,7 +46308,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
46317
46308
|
"add-error-caller"
|
|
46318
46309
|
)
|
|
46319
46310
|
), r = !1) {
|
|
46320
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
46311
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
46321
46312
|
}
|
|
46322
46313
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
46323
46314
|
new E(
|
|
@@ -46329,7 +46320,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
46329
46320
|
"add-entry-caller"
|
|
46330
46321
|
)
|
|
46331
46322
|
), r = !1) {
|
|
46332
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
46323
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
46333
46324
|
}
|
|
46334
46325
|
addErrorCall(e, t = this.project.addChangeSet(
|
|
46335
46326
|
new E(
|
|
@@ -47837,17 +47828,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
47837
47828
|
}
|
|
47838
47829
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
47839
47830
|
const o = _(d), l = this.project.get(o);
|
|
47840
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
47831
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
47841
47832
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
47842
47833
|
const o = _(d), l = this.project.get(
|
|
47843
47834
|
o
|
|
47844
47835
|
);
|
|
47845
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
47836
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
47846
47837
|
}), this.initialData.calledByError.forEach((d) => {
|
|
47847
47838
|
const o = _(d), l = this.project.get(
|
|
47848
47839
|
o
|
|
47849
47840
|
);
|
|
47850
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
47841
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
47851
47842
|
}), Ai.hydrateReadsValue(this), {
|
|
47852
47843
|
updated: p(e),
|
|
47853
47844
|
added: p(t),
|
|
@@ -48054,7 +48045,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
48054
48045
|
"add-error-caller"
|
|
48055
48046
|
)
|
|
48056
48047
|
), r = !1) {
|
|
48057
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
48048
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
48058
48049
|
}
|
|
48059
48050
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
48060
48051
|
new E(
|
|
@@ -48066,7 +48057,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
48066
48057
|
"add-entry-caller"
|
|
48067
48058
|
)
|
|
48068
48059
|
), r = !1) {
|
|
48069
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
48060
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
48070
48061
|
}
|
|
48071
48062
|
addErrorCall(e, t = this.project.addChangeSet(
|
|
48072
48063
|
new E(
|
|
@@ -49779,17 +49770,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
49779
49770
|
throw new Error(`${this.type} with id '${this.id}' must have a 'parent'`);
|
|
49780
49771
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
49781
49772
|
const o = _(d), l = this.project.get(o);
|
|
49782
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
49773
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
49783
49774
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
49784
49775
|
const o = _(d), l = this.project.get(
|
|
49785
49776
|
o
|
|
49786
49777
|
);
|
|
49787
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
49778
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
49788
49779
|
}), this.initialData.calledByError.forEach((d) => {
|
|
49789
49780
|
const o = _(d), l = this.project.get(
|
|
49790
49781
|
o
|
|
49791
49782
|
);
|
|
49792
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
49783
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
49793
49784
|
}), {
|
|
49794
49785
|
updated: p(e),
|
|
49795
49786
|
added: p(t),
|
|
@@ -50001,7 +49992,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
50001
49992
|
"add-error-caller"
|
|
50002
49993
|
)
|
|
50003
49994
|
), r = !1) {
|
|
50004
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
49995
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
50005
49996
|
}
|
|
50006
49997
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
50007
49998
|
new E(
|
|
@@ -50013,7 +50004,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
50013
50004
|
"add-entry-caller"
|
|
50014
50005
|
)
|
|
50015
50006
|
), r = !1) {
|
|
50016
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
50007
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
50017
50008
|
}
|
|
50018
50009
|
addErrorCall(e, t = this.project.addChangeSet(
|
|
50019
50010
|
new E(
|
|
@@ -52188,17 +52179,17 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
52188
52179
|
}
|
|
52189
52180
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
52190
52181
|
const o = _(d), l = this.project.get(o);
|
|
52191
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
52182
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
52192
52183
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
52193
52184
|
const o = _(d), l = this.project.get(
|
|
52194
52185
|
o
|
|
52195
52186
|
);
|
|
52196
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
52187
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
52197
52188
|
}), this.initialData.calledByError.forEach((d) => {
|
|
52198
52189
|
const o = _(d), l = this.project.get(
|
|
52199
52190
|
o
|
|
52200
52191
|
);
|
|
52201
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
52192
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
52202
52193
|
}), {
|
|
52203
52194
|
updated: p(e),
|
|
52204
52195
|
added: p(t),
|
|
@@ -52383,7 +52374,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
52383
52374
|
"add-error-caller"
|
|
52384
52375
|
)
|
|
52385
52376
|
), r = !1) {
|
|
52386
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
52377
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
52387
52378
|
}
|
|
52388
52379
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
52389
52380
|
new E(
|
|
@@ -52395,7 +52386,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
52395
52386
|
"add-entry-caller"
|
|
52396
52387
|
)
|
|
52397
52388
|
), r = !1) {
|
|
52398
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
52389
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
52399
52390
|
}
|
|
52400
52391
|
addErrorCall(e, t = this.project.addChangeSet(
|
|
52401
52392
|
new E(
|
|
@@ -61314,17 +61305,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
61314
61305
|
}
|
|
61315
61306
|
return this.initialData.calledByEntry.forEach((d) => {
|
|
61316
61307
|
const o = _(d), l = this.project.get(o);
|
|
61317
|
-
l && (this.addEntryCaller(l, null), e.push(l));
|
|
61308
|
+
l && (this.addEntryCaller(l, null), l.addCall(this, null), e.push(l));
|
|
61318
61309
|
}), this.initialData.calledBySuccess.forEach((d) => {
|
|
61319
61310
|
const o = _(d), l = this.project.get(
|
|
61320
61311
|
o
|
|
61321
61312
|
);
|
|
61322
|
-
l && (this.addSuccessCaller(l, null), e.push(l));
|
|
61313
|
+
l && (this.addSuccessCaller(l, null), l.addSuccessCall(this, null), e.push(l));
|
|
61323
61314
|
}), this.initialData.calledByError.forEach((d) => {
|
|
61324
61315
|
const o = _(d), l = this.project.get(
|
|
61325
61316
|
o
|
|
61326
61317
|
);
|
|
61327
|
-
l && (this.addErrorCaller(l, null), e.push(l));
|
|
61318
|
+
l && (this.addErrorCaller(l, null), l.addErrorCall(this, null), e.push(l));
|
|
61328
61319
|
}), {
|
|
61329
61320
|
updated: p(e),
|
|
61330
61321
|
added: p(t),
|
|
@@ -61509,7 +61500,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
61509
61500
|
"add-error-caller"
|
|
61510
61501
|
)
|
|
61511
61502
|
), r = !1) {
|
|
61512
|
-
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-error-caller", this.id)
|
|
61503
|
+
return this.calledByError.find((s) => s.id === e.id) || (this.calledByError.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-error-caller", this.id), this;
|
|
61513
61504
|
}
|
|
61514
61505
|
addEntryCaller(e, t = this.project.addChangeSet(
|
|
61515
61506
|
new E(
|
|
@@ -61521,7 +61512,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
61521
61512
|
"add-entry-caller"
|
|
61522
61513
|
)
|
|
61523
61514
|
), r = !1) {
|
|
61524
|
-
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t), t == null || t.attemptAutoclose("add-entry-caller", this.id)
|
|
61515
|
+
return this.calledByEntry.find((s) => s.id === e.id) || (this.calledByEntry.push(e), t == null || t.add(this, A.Updated), r && H(this, t)), t == null || t.attemptAutoclose("add-entry-caller", this.id), this;
|
|
61525
61516
|
}
|
|
61526
61517
|
addErrorCall(e, t = this.project.addChangeSet(
|
|
61527
61518
|
new E(
|