@adaas/a-concept 0.3.3 → 0.3.4

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.
@@ -964,6 +964,20 @@ var A_EntityError = class extends A_Error {
964
964
  */
965
965
  A_EntityError.ValidationError = "A-Entity Validation Error";
966
966
 
967
+ // src/lib/A-Entity/A-Entity.constants.ts
968
+ var A_TYPES__EntityMetaKey = /* @__PURE__ */ ((A_TYPES__EntityMetaKey2) => {
969
+ A_TYPES__EntityMetaKey2["EXTENSIONS"] = "a-component-extensions";
970
+ A_TYPES__EntityMetaKey2["FEATURES"] = "a-component-features";
971
+ A_TYPES__EntityMetaKey2["ABSTRACTIONS"] = "a-component-abstractions";
972
+ A_TYPES__EntityMetaKey2["INJECTIONS"] = "a-component-injections";
973
+ return A_TYPES__EntityMetaKey2;
974
+ })(A_TYPES__EntityMetaKey || {});
975
+ var A_TYPES__EntityFeatures = {
976
+ SAVE: "_A_Entity__Save",
977
+ DESTROY: "_A_Entity__Destroy",
978
+ LOAD: "_A_Entity__Load"
979
+ };
980
+
967
981
  // src/lib/A-Entity/A-Entity.class.ts
968
982
  var A_Entity = class {
969
983
  // ====================================================================
@@ -1119,20 +1133,20 @@ var A_Entity = class {
1119
1133
  /**
1120
1134
  * The default method that can be called and extended to load entity data.
1121
1135
  */
1122
- async load(scope) {
1123
- return this.call("load", scope);
1136
+ load(scope) {
1137
+ return this.call(A_TYPES__EntityFeatures.LOAD, scope);
1124
1138
  }
1125
1139
  /**
1126
1140
  * The default method that can be called and extended to destroy entity data.
1127
1141
  */
1128
- async destroy(scope) {
1129
- return this.call("destroy", scope);
1142
+ destroy(scope) {
1143
+ return this.call(A_TYPES__EntityFeatures.DESTROY, scope);
1130
1144
  }
1131
1145
  /**
1132
1146
  * The default method that can be called and extended to save entity data.
1133
1147
  */
1134
- async save(scope) {
1135
- return this.call("save", scope);
1148
+ save(scope) {
1149
+ return this.call(A_TYPES__EntityFeatures.SAVE, scope);
1136
1150
  }
1137
1151
  // ====================================================================
1138
1152
  // ================== Entity Serialization ============================
@@ -1431,21 +1445,6 @@ var A_Meta = class _A_Meta {
1431
1445
  }
1432
1446
  };
1433
1447
 
1434
- // src/lib/A-Entity/A-Entity.constants.ts
1435
- var A_TYPES__EntityMetaKey = /* @__PURE__ */ ((A_TYPES__EntityMetaKey2) => {
1436
- A_TYPES__EntityMetaKey2["EXTENSIONS"] = "a-component-extensions";
1437
- A_TYPES__EntityMetaKey2["FEATURES"] = "a-component-features";
1438
- A_TYPES__EntityMetaKey2["ABSTRACTIONS"] = "a-component-abstractions";
1439
- A_TYPES__EntityMetaKey2["INJECTIONS"] = "a-component-injections";
1440
- return A_TYPES__EntityMetaKey2;
1441
- })(A_TYPES__EntityMetaKey || {});
1442
- var A_TYPES__EntityFeatures = /* @__PURE__ */ ((A_TYPES__EntityFeatures2) => {
1443
- A_TYPES__EntityFeatures2["SAVE"] = "save";
1444
- A_TYPES__EntityFeatures2["DESTROY"] = "destroy";
1445
- A_TYPES__EntityFeatures2["LOAD"] = "load";
1446
- return A_TYPES__EntityFeatures2;
1447
- })(A_TYPES__EntityFeatures || {});
1448
-
1449
1448
  // src/lib/A-Entity/A-Entity.meta.ts
1450
1449
  var A_EntityMeta = class extends A_Meta {
1451
1450
  /**