@elyx-code/project-logic-tree 0.0.6170 → 0.0.6171

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.
@@ -35,7 +35,7 @@ export declare enum EntityType {
35
35
  export interface IVersionMetadata {
36
36
  version: EntityVersion;
37
37
  author: string;
38
- createdAt: string | Date;
38
+ createdAt: string;
39
39
  previousVersion: EntityVersion | null;
40
40
  deleted: boolean;
41
41
  }
package/dist/index.js CHANGED
@@ -29094,7 +29094,7 @@ class R {
29094
29094
  return this.autoclose && this.autoCloseActionName && this.autoCloseActionName === s && (this.self && e === ((t = this.self) == null ? void 0 : t.id) || !this.self) && this.close(), this;
29095
29095
  }
29096
29096
  close() {
29097
- return this.open = !1, !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.isEmpty ? (console.warn(`Empty change-set (${this.id}) discarded upon closing.`), this.project.discardChangeSet(this), this) : (this.discardOrphans(), this.project.closeChangeSet(this), this);
29097
+ return this.open = !1, !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], this.isEmpty ? (this.project.discardChangeSet(this), this) : (this.discardOrphans(), this.project.closeChangeSet(this), this);
29098
29098
  }
29099
29099
  get(s) {
29100
29100
  return this.added[s] ? this.added[s] : this.updated[s] ? this.updated[s] : this.removed[s] ? this.removed[s] : null;
@@ -29174,19 +29174,19 @@ class R {
29174
29174
  return this;
29175
29175
  }
29176
29176
  toJSON() {
29177
- const s = {}, e = {}, t = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
29177
+ const s = {}, e = {}, t = {}, r = /* @__PURE__ */ new Set();
29178
29178
  for (const a of Object.values(this.added))
29179
29179
  s[a.id] = a.toShallowJSON();
29180
29180
  for (const a of Object.values(this.updated))
29181
29181
  e[a.id] = a.toShallowJSON();
29182
29182
  for (const a of Object.values(this.removed))
29183
- t.add(a.id);
29183
+ t[a.id] = a.toShallowJSON();
29184
29184
  for (const a of Object.values(this.affected))
29185
29185
  r.add(a.id);
29186
29186
  return {
29187
29187
  added: s,
29188
29188
  updated: e,
29189
- removed: Array.from(t),
29189
+ removed: t,
29190
29190
  affected: Array.from(r),
29191
29191
  self: this.self ? this.self.toShallowJSON() : null,
29192
29192
  seenEntities: this.seenEntities
@@ -29212,7 +29212,7 @@ function kJ(i) {
29212
29212
  return /* @__PURE__ */ new Set([
29213
29213
  ...Object.keys(i.added),
29214
29214
  ...Object.keys(i.updated),
29215
- ...Array.from(i.removed),
29215
+ ...Object.keys(i.removed),
29216
29216
  ...Array.from(i.affected)
29217
29217
  ]);
29218
29218
  }
@@ -29676,7 +29676,7 @@ ${Pd}`,
29676
29676
  ), this;
29677
29677
  }
29678
29678
  async APIDelete(e = N, ...t) {
29679
- return await Ee.repository.APIDelete(this.id, ...t), this;
29679
+ return await Ee.repository.APIDelete(this.toShallowJSON(), ...t), this;
29680
29680
  }
29681
29681
  async APIClone(e = N, ...t) {
29682
29682
  return await Ee.repository.APIClone(this.id, ...t), this;
@@ -30045,8 +30045,7 @@ ${Pd}`,
30045
30045
  f(Ee, "repository", {
30046
30046
  APICreate: async (e, ...t) => e,
30047
30047
  APIUpdate: async (e, ...t) => e,
30048
- APIDelete: async (e, ...t) => {
30049
- },
30048
+ APIDelete: async (e, ...t) => e,
30050
30049
  APIClone: async (e, ...t) => {
30051
30050
  },
30052
30051
  APILoad: async (e, ...t) => null,
@@ -30705,7 +30704,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
30705
30704
  ), this;
30706
30705
  }
30707
30706
  async APIDelete(e = N, ...t) {
30708
- return await be.repository.APIDelete(this.id, ...t), this;
30707
+ return await be.repository.APIDelete(this.toShallowJSON(), ...t), this;
30709
30708
  }
30710
30709
  async APIClone(e = N, ...t) {
30711
30710
  return await be.repository.APIClone(this.id, ...t), this;
@@ -31148,8 +31147,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
31148
31147
  f(be, "repository", {
31149
31148
  APICreate: async (e, ...t) => e,
31150
31149
  APIUpdate: async (e, ...t) => e,
31151
- APIDelete: async (e, ...t) => {
31152
- },
31150
+ APIDelete: async (e, ...t) => e,
31153
31151
  APIClone: async (e, ...t) => {
31154
31152
  },
31155
31153
  APILoad: async (e, ...t) => null,
@@ -31717,7 +31715,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
31717
31715
  ), this;
31718
31716
  }
31719
31717
  async APIDelete(e = N, ...t) {
31720
- return await xe.repository.APIDelete(this.id, ...t), this;
31718
+ return await xe.repository.APIDelete(this.toShallowJSON(), ...t), this;
31721
31719
  }
31722
31720
  async APIClone(e = N, ...t) {
31723
31721
  return await xe.repository.APIClone(this.id, ...t), this;
@@ -32039,8 +32037,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
32039
32037
  f(xe, "repository", {
32040
32038
  APICreate: async (e, ...t) => e,
32041
32039
  APIUpdate: async (e, ...t) => e,
32042
- APIDelete: async (e, ...t) => {
32043
- },
32040
+ APIDelete: async (e, ...t) => e,
32044
32041
  APIClone: async (e, ...t) => {
32045
32042
  },
32046
32043
  APILoad: async (e, ...t) => null,
@@ -32590,7 +32587,7 @@ Specifically for return statements the parent needs to always be the 'function-d
32590
32587
  ), this;
32591
32588
  }
32592
32589
  async APIDelete(e = N, ...t) {
32593
- return await Ye.repository.APIDelete(this.id, ...t), this;
32590
+ return await Ye.repository.APIDelete(this.toShallowJSON(), ...t), this;
32594
32591
  }
32595
32592
  async APIClone(e = N, ...t) {
32596
32593
  return await Ye.repository.APIClone(this.id, ...t), this;
@@ -32908,8 +32905,7 @@ Specifically for return statements the parent needs to always be the 'function-d
32908
32905
  f(Ye, "repository", {
32909
32906
  APICreate: async (e, ...t) => e,
32910
32907
  APIUpdate: async (e, ...t) => e,
32911
- APIDelete: async (e, ...t) => {
32912
- },
32908
+ APIDelete: async (e, ...t) => e,
32913
32909
  APIClone: async (e, ...t) => {
32914
32910
  },
32915
32911
  APILoad: async (e, ...t) => null,
@@ -33591,7 +33587,7 @@ Please consider that any updates might affect the overlap with the signature of
33591
33587
  ), this;
33592
33588
  }
33593
33589
  async APIDelete(e = N, ...t) {
33594
- return await Re.repository.APIDelete(this.id, ...t), this;
33590
+ return await Re.repository.APIDelete(this.toShallowJSON(), ...t), this;
33595
33591
  }
33596
33592
  async APIClone(e = N, ...t) {
33597
33593
  return await Re.repository.APIClone(this.id, ...t), this;
@@ -34022,8 +34018,7 @@ Please consider that any updates might affect the overlap with the signature of
34022
34018
  f(Re, "repository", {
34023
34019
  APICreate: async (e, ...t) => e,
34024
34020
  APIUpdate: async (e, ...t) => e,
34025
- APIDelete: async (e, ...t) => {
34026
- },
34021
+ APIDelete: async (e, ...t) => e,
34027
34022
  APIClone: async (e, ...t) => {
34028
34023
  },
34029
34024
  APILoad: async (e, ...t) => null,
@@ -34725,7 +34720,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
34725
34720
  ), this;
34726
34721
  }
34727
34722
  async APIDelete(e = N, ...t) {
34728
- return await Ae.repository.APIDelete(this.id, ...t), this;
34723
+ return await Ae.repository.APIDelete(this.toShallowJSON(), ...t), this;
34729
34724
  }
34730
34725
  async APIClone(e = N, ...t) {
34731
34726
  return await Ae.repository.APIClone(this.id, ...t), this;
@@ -35288,8 +35283,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
35288
35283
  f(Ae, "repository", {
35289
35284
  APICreate: async (e, ...t) => e,
35290
35285
  APIUpdate: async (e, ...t) => e,
35291
- APIDelete: async (e, ...t) => {
35292
- },
35286
+ APIDelete: async (e, ...t) => e,
35293
35287
  APIClone: async (e, ...t) => {
35294
35288
  },
35295
35289
  APILoad: async (e, ...t) => null,
@@ -36039,7 +36033,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
36039
36033
  ), this;
36040
36034
  }
36041
36035
  async APIDelete(e = N, ...t) {
36042
- return await De.repository.APIDelete(this.id, ...t), this;
36036
+ return await De.repository.APIDelete(this.toShallowJSON(), ...t), this;
36043
36037
  }
36044
36038
  async APIClone(e = N, ...t) {
36045
36039
  return await De.repository.APIClone(this.id, ...t), this;
@@ -36649,8 +36643,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
36649
36643
  f(De, "repository", {
36650
36644
  APICreate: async (e, ...t) => e,
36651
36645
  APIUpdate: async (e, ...t) => e,
36652
- APIDelete: async (e, ...t) => {
36653
- },
36646
+ APIDelete: async (e, ...t) => e,
36654
36647
  APIClone: async (e, ...t) => {
36655
36648
  },
36656
36649
  APILoad: async (e, ...t) => null,
@@ -37239,7 +37232,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
37239
37232
  ), this;
37240
37233
  }
37241
37234
  async APIDelete(e = N, ...t) {
37242
- return await Pe.repository.APIDelete(this.id, ...t), this;
37235
+ return await Pe.repository.APIDelete(this.toShallowJSON(), ...t), this;
37243
37236
  }
37244
37237
  async APIClone(e = N, ...t) {
37245
37238
  return await Pe.repository.APIClone(this.id, ...t), this;
@@ -37574,8 +37567,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
37574
37567
  f(Pe, "repository", {
37575
37568
  APICreate: async (e, ...t) => e,
37576
37569
  APIUpdate: async (e, ...t) => e,
37577
- APIDelete: async (e, ...t) => {
37578
- },
37570
+ APIDelete: async (e, ...t) => e,
37579
37571
  APIClone: async (e, ...t) => {
37580
37572
  },
37581
37573
  APILoad: async (e, ...t) => null,
@@ -38133,7 +38125,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
38133
38125
  ), this;
38134
38126
  }
38135
38127
  async APIDelete(e = N, ...t) {
38136
- return await Ue.repository.APIDelete(this.id, ...t), this;
38128
+ return await Ue.repository.APIDelete(this.toShallowJSON(), ...t), this;
38137
38129
  }
38138
38130
  async APIClone(e = N, ...t) {
38139
38131
  return await Ue.repository.APIClone(this.id, ...t), this;
@@ -38452,8 +38444,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
38452
38444
  f(Ue, "repository", {
38453
38445
  APICreate: async (e, ...t) => e,
38454
38446
  APIUpdate: async (e, ...t) => e,
38455
- APIDelete: async (e, ...t) => {
38456
- },
38447
+ APIDelete: async (e, ...t) => e,
38457
38448
  APIClone: async (e, ...t) => {
38458
38449
  },
38459
38450
  APILoad: async (e, ...t) => null,
@@ -39011,7 +39002,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
39011
39002
  ), this;
39012
39003
  }
39013
39004
  async APIDelete(e = N, ...t) {
39014
- return await Oe.repository.APIDelete(this.id, ...t), this;
39005
+ return await Oe.repository.APIDelete(this.toShallowJSON(), ...t), this;
39015
39006
  }
39016
39007
  async APIClone(e = N, ...t) {
39017
39008
  return await Oe.repository.APIClone(this.id, ...t), this;
@@ -39772,8 +39763,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
39772
39763
  f(Oe, "repository", {
39773
39764
  APICreate: async (e, ...t) => e,
39774
39765
  APIUpdate: async (e, ...t) => e,
39775
- APIDelete: async (e, ...t) => {
39776
- },
39766
+ APIDelete: async (e, ...t) => e,
39777
39767
  APIClone: async (e, ...t) => {
39778
39768
  },
39779
39769
  APILoad: async (e, ...t) => null,
@@ -40521,7 +40511,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
40521
40511
  return await ae.repository.APIUpdate(this.toShallowJSON(), ...t), this;
40522
40512
  }
40523
40513
  async APIDelete(e = N, ...t) {
40524
- return await ae.repository.APIDelete(this.id, ...t), this;
40514
+ return await ae.repository.APIDelete(this.toShallowJSON(), ...t), this;
40525
40515
  }
40526
40516
  async APIClone(e = N, ...t) {
40527
40517
  return await ae.repository.APIClone(this.id, ...t), this;
@@ -42417,8 +42407,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
42417
42407
  f(ae, "repository", {
42418
42408
  APICreate: async (e, ...t) => e,
42419
42409
  APIUpdate: async (e, ...t) => e,
42420
- APIDelete: async (e, ...t) => {
42421
- },
42410
+ APIDelete: async (e, ...t) => e,
42422
42411
  APIClone: async (e, ...t) => {
42423
42412
  },
42424
42413
  APILoad: async (e, ...t) => null,
@@ -43105,7 +43094,7 @@ If an entity is called by another, they must be in the same scope, which means t
43105
43094
  ), this;
43106
43095
  }
43107
43096
  async APIDelete(e = N, ...t) {
43108
- return await $e.repository.APIDelete(this.id, ...t), this;
43097
+ return await $e.repository.APIDelete(this.toShallowJSON(), ...t), this;
43109
43098
  }
43110
43099
  async APIClone(e = N, ...t) {
43111
43100
  return await $e.repository.APIClone(this.id, ...t), this;
@@ -43524,8 +43513,7 @@ If an entity is called by another, they must be in the same scope, which means t
43524
43513
  f($e, "repository", {
43525
43514
  APICreate: async (e, ...t) => e,
43526
43515
  APIUpdate: async (e, ...t) => e,
43527
- APIDelete: async (e, ...t) => {
43528
- },
43516
+ APIDelete: async (e, ...t) => e,
43529
43517
  APIClone: async (e, ...t) => {
43530
43518
  },
43531
43519
  APILoad: async (e, ...t) => null,
@@ -44397,7 +44385,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
44397
44385
  ), this;
44398
44386
  }
44399
44387
  async APIDelete(e = N, ...t) {
44400
- return await we.repository.APIDelete(this.id, ...t), this;
44388
+ return await we.repository.APIDelete(this.toShallowJSON(), ...t), this;
44401
44389
  }
44402
44390
  async APIClone(e = N, ...t) {
44403
44391
  return await we.repository.APIClone(this.id, ...t), this;
@@ -45147,8 +45135,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
45147
45135
  f(we, "repository", {
45148
45136
  APICreate: async (e, ...t) => e,
45149
45137
  APIUpdate: async (e, ...t) => e,
45150
- APIDelete: async (e, ...t) => {
45151
- },
45138
+ APIDelete: async (e, ...t) => e,
45152
45139
  APIClone: async (e, ...t) => {
45153
45140
  },
45154
45141
  APILoad: async (e, ...t) => null,
@@ -46103,7 +46090,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
46103
46090
  ), this;
46104
46091
  }
46105
46092
  async APIDelete(e = N, ...t) {
46106
- return await Ve.repository.APIDelete(this.id, ...t), this;
46093
+ return await Ve.repository.APIDelete(this.toShallowJSON(), ...t), this;
46107
46094
  }
46108
46095
  async APIClone(e = N, ...t) {
46109
46096
  return await Ve.repository.APIClone(this.id, ...t), this;
@@ -46919,8 +46906,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
46919
46906
  f(Ve, "repository", {
46920
46907
  APICreate: async (e, ...t) => e,
46921
46908
  APIUpdate: async (e, ...t) => e,
46922
- APIDelete: async (e, ...t) => {
46923
- },
46909
+ APIDelete: async (e, ...t) => e,
46924
46910
  APIClone: async (e, ...t) => {
46925
46911
  },
46926
46912
  APILoad: async (e, ...t) => null,
@@ -47619,7 +47605,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47619
47605
  return await ke.repository.APIUpdate(this.toShallowJSON(), ...t), this;
47620
47606
  }
47621
47607
  async APIDelete(e = N, ...t) {
47622
- return await ke.repository.APIDelete(this.id, ...t), this;
47608
+ return await ke.repository.APIDelete(this.toShallowJSON(), ...t), this;
47623
47609
  }
47624
47610
  async APIClone(e = N, ...t) {
47625
47611
  return await ke.repository.APIClone(this.id, ...t), this;
@@ -48174,8 +48160,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48174
48160
  f(ke, "repository", {
48175
48161
  APICreate: async (e, ...t) => e,
48176
48162
  APIUpdate: async (e, ...t) => e,
48177
- APIDelete: async (e, ...t) => {
48178
- },
48163
+ APIDelete: async (e, ...t) => e,
48179
48164
  APIClone: async (e, ...t) => {
48180
48165
  },
48181
48166
  APILoad: async (e, ...t) => null,
@@ -48603,7 +48588,7 @@ const Ge = class Ge extends tt {
48603
48588
  ), this;
48604
48589
  }
48605
48590
  async APIDelete(e = N, ...t) {
48606
- return await Ge.repository.APIDelete(this.id, ...t), this;
48591
+ return await Ge.repository.APIDelete(this.toShallowJSON(), ...t), this;
48607
48592
  }
48608
48593
  async APIClone(e = N, ...t) {
48609
48594
  return await Ge.repository.APIClone(this.id, ...t), this;
@@ -48895,8 +48880,7 @@ const Ge = class Ge extends tt {
48895
48880
  f(Ge, "repository", {
48896
48881
  APICreate: async (e, ...t) => e,
48897
48882
  APIUpdate: async (e, ...t) => e,
48898
- APIDelete: async (e, ...t) => {
48899
- },
48883
+ APIDelete: async (e, ...t) => e,
48900
48884
  APIClone: async (e, ...t) => {
48901
48885
  },
48902
48886
  APILoad: async (e, ...t) => null,
@@ -49766,7 +49750,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
49766
49750
  ), this;
49767
49751
  }
49768
49752
  async APIDelete(e = N, ...t) {
49769
- return await Ce.repository.APIDelete(this.id, ...t), this;
49753
+ return await Ce.repository.APIDelete(this.toShallowJSON(), ...t), this;
49770
49754
  }
49771
49755
  async APIClone(e = N, ...t) {
49772
49756
  return await Ce.repository.APIClone(this.id, ...t), this;
@@ -50380,8 +50364,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
50380
50364
  f(Ce, "repository", {
50381
50365
  APICreate: async (e, ...t) => e,
50382
50366
  APIUpdate: async (e, ...t) => e,
50383
- APIDelete: async (e, ...t) => {
50384
- },
50367
+ APIDelete: async (e, ...t) => e,
50385
50368
  APIClone: async (e, ...t) => {
50386
50369
  },
50387
50370
  APILoad: async (e, ...t) => null,
@@ -51066,7 +51049,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
51066
51049
  ), this;
51067
51050
  }
51068
51051
  async APIDelete(e = N, ...t) {
51069
- return await Be.repository.APIDelete(this.id, ...t), this;
51052
+ return await Be.repository.APIDelete(this.toShallowJSON(), ...t), this;
51070
51053
  }
51071
51054
  async APIClone(e = N, ...t) {
51072
51055
  return await Be.repository.APIClone(this.id, ...t), this;
@@ -51392,8 +51375,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
51392
51375
  f(Be, "repository", {
51393
51376
  APICreate: async (e, ...t) => e,
51394
51377
  APIUpdate: async (e, ...t) => e,
51395
- APIDelete: async (e, ...t) => {
51396
- },
51378
+ APIDelete: async (e, ...t) => e,
51397
51379
  APIClone: async (e, ...t) => {
51398
51380
  },
51399
51381
  APILoad: async (e, ...t) => null,
@@ -52015,7 +51997,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
52015
51997
  ), this;
52016
51998
  }
52017
51999
  async APIDelete(e = N, ...t) {
52018
- return await _e.repository.APIDelete(this.id, ...t), this;
52000
+ return await _e.repository.APIDelete(this.toShallowJSON(), ...t), this;
52019
52001
  }
52020
52002
  async APIClone(e = N, ...t) {
52021
52003
  return await _e.repository.APIClone(this.id, ...t), this;
@@ -52342,8 +52324,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
52342
52324
  f(_e, "repository", {
52343
52325
  APICreate: async (e, ...t) => e,
52344
52326
  APIUpdate: async (e, ...t) => e,
52345
- APIDelete: async (e, ...t) => {
52346
- },
52327
+ APIDelete: async (e, ...t) => e,
52347
52328
  APIClone: async (e, ...t) => {
52348
52329
  },
52349
52330
  APILoad: async (e, ...t) => null,
@@ -52948,7 +52929,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
52948
52929
  ), this;
52949
52930
  }
52950
52931
  async APIDelete(e = N, ...t) {
52951
- return await ge.repository.APIDelete(this.id, ...t), this;
52932
+ return await ge.repository.APIDelete(this.toShallowJSON(), ...t), this;
52952
52933
  }
52953
52934
  async APIClone(e = N, ...t) {
52954
52935
  return await ge.repository.APIClone(this.id, ...t), this;
@@ -53308,8 +53289,7 @@ Received type: ${typeof e}
53308
53289
  f(ge, "repository", {
53309
53290
  APICreate: async (e, ...t) => e,
53310
53291
  APIUpdate: async (e, ...t) => e,
53311
- APIDelete: async (e, ...t) => {
53312
- },
53292
+ APIDelete: async (e, ...t) => e,
53313
53293
  APIClone: async (e, ...t) => {
53314
53294
  },
53315
53295
  APILoad: async (e, ...t) => null,
@@ -53969,7 +53949,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
53969
53949
  ), this;
53970
53950
  }
53971
53951
  async APIDelete(e = N, ...t) {
53972
- return await Me.repository.APIDelete(this.id, ...t), this;
53952
+ return await Me.repository.APIDelete(this.toShallowJSON(), ...t), this;
53973
53953
  }
53974
53954
  async APIClone(e = N, ...t) {
53975
53955
  return await Me.repository.APIClone(this.id, ...t), this;
@@ -54235,8 +54215,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
54235
54215
  f(Me, "repository", {
54236
54216
  APICreate: async (e, ...t) => e,
54237
54217
  APIUpdate: async (e, ...t) => e,
54238
- APIDelete: async (e, ...t) => {
54239
- },
54218
+ APIDelete: async (e, ...t) => e,
54240
54219
  APIClone: async (e, ...t) => {
54241
54220
  },
54242
54221
  APILoad: async (e, ...t) => null,
@@ -54701,7 +54680,7 @@ ${jr(
54701
54680
  ), this;
54702
54681
  }
54703
54682
  async APIDelete(e = N, ...t) {
54704
- return await Ne.repository.APIDelete(this.id, ...t), this;
54683
+ return await Ne.repository.APIDelete(this.toShallowJSON(), ...t), this;
54705
54684
  }
54706
54685
  async APIClone(e = N, ...t) {
54707
54686
  return await Ne.repository.APIClone(this.id, ...t), this;
@@ -55025,8 +55004,7 @@ ${jr(
55025
55004
  f(Ne, "repository", {
55026
55005
  APICreate: async (e, ...t) => e,
55027
55006
  APIUpdate: async (e, ...t) => e,
55028
- APIDelete: async (e, ...t) => {
55029
- },
55007
+ APIDelete: async (e, ...t) => e,
55030
55008
  APIClone: async (e, ...t) => {
55031
55009
  },
55032
55010
  APILoad: async (e, ...t) => null,
@@ -58207,7 +58185,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
58207
58185
  ), this;
58208
58186
  }
58209
58187
  async APIDelete(e = N, ...t) {
58210
- return await je.repository.APIDelete(this.id, ...t), this;
58188
+ return await je.repository.APIDelete(this.toShallowJSON(), ...t), this;
58211
58189
  }
58212
58190
  async APIClone(e = N, ...t) {
58213
58191
  return await je.repository.APIClone(this.id, ...t), this;
@@ -58824,8 +58802,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
58824
58802
  f(je, "repository", {
58825
58803
  APICreate: async (e, ...t) => e,
58826
58804
  APIUpdate: async (e, ...t) => e,
58827
- APIDelete: async (e, ...t) => {
58828
- },
58805
+ APIDelete: async (e, ...t) => e,
58829
58806
  APIClone: async (e, ...t) => {
58830
58807
  },
58831
58808
  APILoad: async (e, ...t) => null,
@@ -61534,7 +61511,7 @@ function Mq(i) {
61534
61511
  const s = {
61535
61512
  added: {},
61536
61513
  updated: {},
61537
- removed: [],
61514
+ removed: {},
61538
61515
  affected: [],
61539
61516
  seenEntities: [],
61540
61517
  self: i == null ? void 0 : i.self
@@ -61543,9 +61520,11 @@ function Mq(i) {
61543
61520
  s.added[e.id] = e;
61544
61521
  }), i == null || i.updated.forEach((e) => {
61545
61522
  s.updated[e.id] = e;
61546
- }), s.removed = Array.from(new Set(
61547
- i == null ? void 0 : i.removed.map((e) => e.id)
61548
- )), s;
61523
+ }), i == null || i.removed.forEach((e) => {
61524
+ s.removed[e.id] = e;
61525
+ }), s.affected = Array.from(
61526
+ new Set(i == null ? void 0 : i.affected.map((e) => e.id))
61527
+ ), s;
61549
61528
  }
61550
61529
  function dt(i, s) {
61551
61530
  const e = ko(
@@ -62381,7 +62360,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
62381
62360
  ), this;
62382
62361
  }
62383
62362
  async APIDelete(e = N, ...t) {
62384
- return await Le.repository.APIDelete(this.id, ...t), this;
62363
+ return await Le.repository.APIDelete(this.toShallowJSON(), ...t), this;
62385
62364
  }
62386
62365
  async APIClone(e = N, ...t) {
62387
62366
  return await Le.repository.APIClone(this.id, ...t), this;
@@ -63026,8 +63005,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
63026
63005
  f(Le, "repository", {
63027
63006
  APICreate: async (e, ...t) => e,
63028
63007
  APIUpdate: async (e, ...t) => e,
63029
- APIDelete: async (e, ...t) => {
63030
- },
63008
+ APIDelete: async (e, ...t) => e,
63031
63009
  APIClone: async (e, ...t) => {
63032
63010
  },
63033
63011
  APILoad: async (e, ...t) => null,
@@ -63835,8 +63813,7 @@ const N = {
63835
63813
  }, Lq = {
63836
63814
  APICreate: async (i, ...s) => i,
63837
63815
  APIUpdate: async (i, ...s) => i,
63838
- APIDelete: async (i, ...s) => {
63839
- },
63816
+ APIDelete: async (i, ...s) => i,
63840
63817
  APIClone: async (i, ...s) => {
63841
63818
  },
63842
63819
  APILoadVersion: async (i, s, ...e) => null,
@@ -64438,7 +64415,7 @@ const oe = class oe extends tt {
64438
64415
  return await oe.repository.APIUpdate(this.toShallowJSON(), ...t), this;
64439
64416
  }
64440
64417
  async APIDelete(e = N, ...t) {
64441
- return await oe.repository.APIDelete(this.id, ...t), this;
64418
+ return await oe.repository.APIDelete(this.toShallowJSON(), ...t), this;
64442
64419
  }
64443
64420
  async APIClone(e = N, ...t) {
64444
64421
  return await oe.repository.APIClone(this.id, ...t), this;
@@ -65342,8 +65319,7 @@ f(oe, "UUID", {
65342
65319
  }), f(oe, "repository", {
65343
65320
  APICreate: async (e, ...t) => e,
65344
65321
  APIUpdate: async (e, ...t) => e,
65345
- APIDelete: async (e, ...t) => {
65346
- },
65322
+ APIDelete: async (e, ...t) => e,
65347
65323
  APIClone: async (e, ...t) => {
65348
65324
  },
65349
65325
  APILoad: async (e, ...t) => null,