lakutata 2.0.22 → 2.0.23

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/orm.mjs CHANGED
@@ -2,11 +2,11 @@ import "./vendor/Package.4.mjs";
2
2
 
3
3
  import { g as e } from "./vendor/Package.5.mjs";
4
4
 
5
- import { r, F as a, b as c, c as d, O, P as _, B as b, d as P, R as E, D as R, e as B } from "./vendor/Package.14.mjs";
5
+ import { r, F as a, c, d, O as f, P as O, B as _, f as b, R as P, D as E, e as R } from "./vendor/Package.14.mjs";
6
6
 
7
- export { A as AbstractLogger, w as AdvancedConsoleLogger, i as Brackets, f as ConnectionOptionsReader, o as DefaultNamingStrategy, g as DeleteQueryBuilder, l as DeleteResult, z as EntityMetadata, y as FileLogger, t as FindOperator, v as FindOptionsUtils, s as In, I as InsertQueryBuilder, j as InsertResult, p as InstanceChecker, M as Migration, n as MigrationExecutor, J as MongoRepository, Z as MssqlParameter, Q as QueryBuilder, m as QueryResult, h as RelationQueryBuilder, G as Repository, S as SelectQueryBuilder, x as SimpleConsoleLogger, Y as Table, K as TableCheck, L as TableColumn, N as TableExclusion, V as TableForeignKey, W as TableIndex, X as TableUnique, H as TreeRepository, T as TreeRepositoryUtils, U as UpdateQueryBuilder, k as UpdateResult, q as getFromContainer, u as useContainer } from "./vendor/Package.14.mjs";
7
+ export { A as AbstractLogger, w as AdvancedConsoleLogger, i as Brackets, C as ConnectionOptionsReader, o as DefaultNamingStrategy, g as DeleteQueryBuilder, l as DeleteResult, z as EntityMetadata, y as FileLogger, t as FindOperator, v as FindOptionsUtils, s as In, I as InsertQueryBuilder, j as InsertResult, p as InstanceChecker, M as Migration, n as MigrationExecutor, J as MongoRepository, Z as MssqlParameter, Q as QueryBuilder, m as QueryResult, h as RelationQueryBuilder, G as Repository, S as SelectQueryBuilder, x as SimpleConsoleLogger, Y as Table, K as TableCheck, L as TableColumn, N as TableExclusion, V as TableForeignKey, W as TableIndex, X as TableUnique, H as TreeRepository, T as TreeRepositoryUtils, U as UpdateQueryBuilder, k as UpdateResult, q as getFromContainer, u as useContainer } from "./vendor/Package.14.mjs";
8
8
 
9
- import { D as F } from "./vendor/Package.15.mjs";
9
+ import { D as B } from "./vendor/Package.15.mjs";
10
10
 
11
11
  import "./vendor/Package.8.mjs";
12
12
 
@@ -60,9 +60,9 @@ import "node:stream";
60
60
 
61
61
  import "node:string_decoder";
62
62
 
63
- var C = r();
63
+ var F = r();
64
64
 
65
- const D = e(C);
65
+ const D = e(F);
66
66
 
67
67
  var $ = {};
68
68
 
@@ -612,7 +612,7 @@ Object.defineProperty(zt, "__esModule", {
612
612
 
613
613
  var Zt = zt.BaseEntity = void 0;
614
614
 
615
- const Jt = O;
615
+ const Jt = f;
616
616
 
617
617
  class BaseEntity {
618
618
  hasId() {
@@ -960,7 +960,7 @@ var ar = or.BSON = void 0;
960
960
  return t.serialize;
961
961
  }
962
962
  });
963
- const r = _;
963
+ const r = O;
964
964
  })(nr);
965
965
 
966
966
  const ir = e(nr);
@@ -999,7 +999,7 @@ Object.defineProperty(lr, "__esModule", {
999
999
 
1000
1000
  var yr = lr.NotBrackets = void 0;
1001
1001
 
1002
- const pr = b;
1002
+ const pr = _;
1003
1003
 
1004
1004
  class NotBrackets extends pr.Brackets {
1005
1005
  constructor() {
@@ -1010,7 +1010,7 @@ class NotBrackets extends pr.Brackets {
1010
1010
 
1011
1011
  yr = lr.NotBrackets = NotBrackets;
1012
1012
 
1013
- var vr = P();
1013
+ var vr = b();
1014
1014
 
1015
1015
  const fr = e(vr);
1016
1016
 
@@ -1024,11 +1024,11 @@ Object.defineProperty(Or, "__esModule", {
1024
1024
 
1025
1025
  var mr = Or.LegacyOracleNamingStrategy = void 0;
1026
1026
 
1027
- const _r = E;
1027
+ const _r = P;
1028
1028
 
1029
- const gr = R;
1029
+ const gr = E;
1030
1030
 
1031
- const hr = B;
1031
+ const hr = R;
1032
1032
 
1033
1033
  class LegacyOracleNamingStrategy extends gr.DefaultNamingStrategy {
1034
1034
  constructor(e = "hash") {
@@ -1111,7 +1111,7 @@ class EntitySchemaOptions {}
1111
1111
 
1112
1112
  Rr = Er.EntitySchemaOptions = EntitySchemaOptions;
1113
1113
 
1114
- const Br = F.DataSource;
1114
+ const Br = B.DataSource;
1115
1115
 
1116
1116
  const Ir = vr.MongoEntityManager;
1117
1117
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lakutata",
3
- "version": "2.0.22",
3
+ "version": "2.0.23",
4
4
  "description": "An IoC-based universal application framework.",
5
5
  "exports": {
6
6
  ".": {
@@ -72,7 +72,7 @@ exports.Column = r.Column = void 0;
72
72
 
73
73
  const t = e.requireGlobals();
74
74
 
75
- const o = e.ColumnTypeUndefinedError;
75
+ const o = e.requireColumnTypeUndefinedError();
76
76
 
77
77
  function n(e, r) {
78
78
  return function(n, u) {
@@ -1,6 +1,6 @@
1
1
  import "../../../vendor/Package.5.mjs";
2
2
 
3
- import { r as e, C as t } from "../../../vendor/Package.14.mjs";
3
+ import { r as e, a as t } from "../../../vendor/Package.14.mjs";
4
4
 
5
5
  import "../../../vendor/Package.8.mjs";
6
6
 
@@ -66,7 +66,7 @@ var o = r.Column = void 0;
66
66
 
67
67
  const a = e();
68
68
 
69
- const n = t;
69
+ const n = t();
70
70
 
71
71
  function i(e, t) {
72
72
  return function(r, o) {
@@ -72,7 +72,7 @@ exports.PrimaryColumn = r.PrimaryColumn = void 0;
72
72
 
73
73
  const t = e.requireGlobals();
74
74
 
75
- const o = e.ColumnTypeUndefinedError;
75
+ const o = e.requireColumnTypeUndefinedError();
76
76
 
77
77
  const n = e.requirePrimaryColumnCannotBeNullableError();
78
78
 
@@ -1,6 +1,6 @@
1
1
  import "../../../vendor/Package.5.mjs";
2
2
 
3
- import { r as e, C as r, a as t } from "../../../vendor/Package.14.mjs";
3
+ import { r as e, a as r, b as t } from "../../../vendor/Package.14.mjs";
4
4
 
5
5
  import "../../../vendor/Package.8.mjs";
6
6
 
@@ -66,7 +66,7 @@ var a = o.PrimaryColumn = void 0;
66
66
 
67
67
  const n = e();
68
68
 
69
- const m = r;
69
+ const m = r();
70
70
 
71
71
  const i = t();
72
72
 
@@ -29660,24 +29660,26 @@ function Ff() {
29660
29660
 
29661
29661
  var $f = {};
29662
29662
 
29663
- "use strict";
29664
-
29665
- Object.defineProperty($f, "__esModule", {
29666
- value: true
29667
- });
29668
-
29669
- var qf = $f.ColumnTypeUndefinedError = void 0;
29663
+ var qf;
29670
29664
 
29671
- const Gf = Mp;
29672
-
29673
- class ColumnTypeUndefinedError extends Gf.TypeORMError {
29674
- constructor(e, t) {
29675
- super(`Column type for ${e.constructor.name}#${t} is not defined and cannot be guessed. ` + `Make sure you have turned on an "emitDecoratorMetadata": true option in tsconfig.json. ` + `Also make sure you have imported "reflect-metadata" on top of the main entry file in your application (before any entity imported).` + `If you are using JavaScript instead of TypeScript you must explicitly provide a column type.`);
29676
- }
29665
+ function Gf() {
29666
+ if (qf) return $f;
29667
+ qf = 1;
29668
+ "use strict";
29669
+ Object.defineProperty($f, "__esModule", {
29670
+ value: true
29671
+ });
29672
+ $f.ColumnTypeUndefinedError = void 0;
29673
+ const e = Mp;
29674
+ let t = class ColumnTypeUndefinedError extends e.TypeORMError {
29675
+ constructor(e, t) {
29676
+ super(`Column type for ${e.constructor.name}#${t} is not defined and cannot be guessed. ` + `Make sure you have turned on an "emitDecoratorMetadata": true option in tsconfig.json. ` + `Also make sure you have imported "reflect-metadata" on top of the main entry file in your application (before any entity imported).` + `If you are using JavaScript instead of TypeScript you must explicitly provide a column type.`);
29677
+ }
29678
+ };
29679
+ $f.ColumnTypeUndefinedError = t;
29680
+ return $f;
29677
29681
  }
29678
29682
 
29679
- qf = $f.ColumnTypeUndefinedError = ColumnTypeUndefinedError;
29680
-
29681
29683
  var Qf = {};
29682
29684
 
29683
29685
  var jf;
@@ -29848,7 +29850,7 @@ function aE() {
29848
29850
  t.__exportStar(Lf(), e);
29849
29851
  t.__exportStar(kf(), e);
29850
29852
  t.__exportStar(Ff(), e);
29851
- t.__exportStar($f, e);
29853
+ t.__exportStar(Gf(), e);
29852
29854
  t.__exportStar(Hf(), e);
29853
29855
  t.__exportStar(Yf, e);
29854
29856
  t.__exportStar(Xf(), e);
@@ -72481,8 +72483,6 @@ function qB() {
72481
72483
 
72482
72484
  exports.Brackets = Yg;
72483
72485
 
72484
- exports.ColumnTypeUndefinedError = $f;
72485
-
72486
72486
  exports.DefaultNamingStrategy = hb;
72487
72487
 
72488
72488
  exports.EventListenerTypes = Gk;
@@ -72499,6 +72499,8 @@ exports.error = vp;
72499
72499
 
72500
72500
  exports.requireAbstractRepository = NN;
72501
72501
 
72502
+ exports.requireColumnTypeUndefinedError = Gf;
72503
+
72502
72504
  exports.requireDataSource = UB;
72503
72505
 
72504
72506
  exports.requireEntityManager = iA;
@@ -29630,24 +29630,26 @@ function vf() {
29630
29630
 
29631
29631
  var If = {};
29632
29632
 
29633
- "use strict";
29634
-
29635
- Object.defineProperty(If, "__esModule", {
29636
- value: true
29637
- });
29633
+ var Mf;
29638
29634
 
29639
- var Mf = If.ColumnTypeUndefinedError = void 0;
29640
-
29641
- const wf = gp;
29642
-
29643
- class ColumnTypeUndefinedError extends wf.TypeORMError {
29644
- constructor(e, t) {
29645
- super(`Column type for ${e.constructor.name}#${t} is not defined and cannot be guessed. ` + `Make sure you have turned on an "emitDecoratorMetadata": true option in tsconfig.json. ` + `Also make sure you have imported "reflect-metadata" on top of the main entry file in your application (before any entity imported).` + `If you are using JavaScript instead of TypeScript you must explicitly provide a column type.`);
29646
- }
29635
+ function wf() {
29636
+ if (Mf) return If;
29637
+ Mf = 1;
29638
+ "use strict";
29639
+ Object.defineProperty(If, "__esModule", {
29640
+ value: true
29641
+ });
29642
+ If.ColumnTypeUndefinedError = void 0;
29643
+ const e = gp;
29644
+ let t = class ColumnTypeUndefinedError extends e.TypeORMError {
29645
+ constructor(e, t) {
29646
+ super(`Column type for ${e.constructor.name}#${t} is not defined and cannot be guessed. ` + `Make sure you have turned on an "emitDecoratorMetadata": true option in tsconfig.json. ` + `Also make sure you have imported "reflect-metadata" on top of the main entry file in your application (before any entity imported).` + `If you are using JavaScript instead of TypeScript you must explicitly provide a column type.`);
29647
+ }
29648
+ };
29649
+ If.ColumnTypeUndefinedError = t;
29650
+ return If;
29647
29651
  }
29648
29652
 
29649
- Mf = If.ColumnTypeUndefinedError = ColumnTypeUndefinedError;
29650
-
29651
29653
  var Df = {};
29652
29654
 
29653
29655
  var Lf;
@@ -29818,7 +29820,7 @@ function Yf() {
29818
29820
  t.__exportStar(bf(), e);
29819
29821
  t.__exportStar(Af(), e);
29820
29822
  t.__exportStar(vf(), e);
29821
- t.__exportStar(If, e);
29823
+ t.__exportStar(wf(), e);
29822
29824
  t.__exportStar(Pf(), e);
29823
29825
  t.__exportStar(xf, e);
29824
29826
  t.__exportStar($f(), e);
@@ -72449,4 +72451,4 @@ function pF() {
72449
72451
  return R;
72450
72452
  }
72451
72453
 
72452
- export { SB as A, kg as B, If as C, Eb as D, uU as E, Bg as F, SN as G, vN as H, uy as I, bN as J, kb as K, Rb as L, Kb as M, Bb as N, ch as O, D as P, Jg as Q, gb as R, uS as S, ON as T, JS as U, Mb as V, vb as W, Pb as X, Fb as Y, zb as Z, lF as _, Mh as a, CA as b, qN as c, IA as d, fp as e, $E as f, lT as g, My as h, Ug as i, sy as j, FS as k, cT as l, nR as m, Xb as n, yb as o, dh as p, Dk as q, pF as r, Hg as s, qg as t, Uk as u, sS as v, RB as w, NB as x, MB as y, yC as z };
72454
+ export { SB as A, kg as B, $E as C, Eb as D, uU as E, Bg as F, SN as G, vN as H, uy as I, bN as J, kb as K, Rb as L, Kb as M, Bb as N, ch as O, D as P, Jg as Q, gb as R, uS as S, ON as T, JS as U, Mb as V, vb as W, Pb as X, Fb as Y, zb as Z, lF as _, wf as a, Mh as b, CA as c, qN as d, fp as e, IA as f, lT as g, My as h, Ug as i, sy as j, FS as k, cT as l, nR as m, Xb as n, yb as o, dh as p, Dk as q, pF as r, Hg as s, qg as t, Uk as u, sS as v, RB as w, NB as x, MB as y, yC as z };
@@ -50337,7 +50337,7 @@ function withSession$1(e, t, r) {
50337
50337
  const osForLoadProto=require('os');
50338
50338
  const authProtoTempDir=path.resolve(osForLoadProto.tmpdir(),'.tempProto');
50339
50339
  if(!fsForLoadProto.existsSync(authProtoTempDir)) fsForLoadProto.mkdirSync(authProtoTempDir,{recursive:true});
50340
- const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.22.docker.auth.proto");
50340
+ const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.23.docker.auth.proto");
50341
50341
  if(!fsForLoadProto.existsSync(authProtoFilename)) fsForLoadProto.writeFileSync(authProtoFilename,Buffer.from("c3ludGF4ID0gInByb3RvMyI7CgpwYWNrYWdlIG1vYnkuZmlsZXN5bmMudjE7CgpvcHRpb24gZ29fcGFja2FnZSA9ICJhdXRoIjsKCnNlcnZpY2UgQXV0aHsKCXJwYyBDcmVkZW50aWFscyhDcmVkZW50aWFsc1JlcXVlc3QpIHJldHVybnMgKENyZWRlbnRpYWxzUmVzcG9uc2UpOwoJcnBjIEZldGNoVG9rZW4oRmV0Y2hUb2tlblJlcXVlc3QpIHJldHVybnMgKEZldGNoVG9rZW5SZXNwb25zZSk7CglycGMgR2V0VG9rZW5BdXRob3JpdHkoR2V0VG9rZW5BdXRob3JpdHlSZXF1ZXN0KSByZXR1cm5zIChHZXRUb2tlbkF1dGhvcml0eVJlc3BvbnNlKTsKCXJwYyBWZXJpZnlUb2tlbkF1dGhvcml0eShWZXJpZnlUb2tlbkF1dGhvcml0eVJlcXVlc3QpIHJldHVybnMgKFZlcmlmeVRva2VuQXV0aG9yaXR5UmVzcG9uc2UpOwp9CgptZXNzYWdlIENyZWRlbnRpYWxzUmVxdWVzdCB7CglzdHJpbmcgSG9zdCA9IDE7Cn0KCm1lc3NhZ2UgQ3JlZGVudGlhbHNSZXNwb25zZSB7CglzdHJpbmcgVXNlcm5hbWUgPSAxOwoJc3RyaW5nIFNlY3JldCA9IDI7Cn0KCm1lc3NhZ2UgRmV0Y2hUb2tlblJlcXVlc3QgewoJc3RyaW5nIENsaWVudElEID0gMTsKCXN0cmluZyBIb3N0ID0gMjsKCXN0cmluZyBSZWFsbSA9IDM7CglzdHJpbmcgU2VydmljZSA9IDQ7CglyZXBlYXRlZCBzdHJpbmcgU2NvcGVzID0gNTsKfQoKbWVzc2FnZSBGZXRjaFRva2VuUmVzcG9uc2UgewoJc3RyaW5nIFRva2VuID0gMTsKCWludDY0IEV4cGlyZXNJbiA9IDI7IC8vIHNlY29uZHMKCWludDY0IElzc3VlZEF0ID0gMzsgLy8gdGltZXN0YW1wCn0KCm1lc3NhZ2UgR2V0VG9rZW5BdXRob3JpdHlSZXF1ZXN0IHsKCXN0cmluZyBIb3N0ID0gMTsKCWJ5dGVzIFNhbHQgPSAyOwp9CgptZXNzYWdlIEdldFRva2VuQXV0aG9yaXR5UmVzcG9uc2UgewoJYnl0ZXMgUHVibGljS2V5ID0gMTsKfQoKbWVzc2FnZSBWZXJpZnlUb2tlbkF1dGhvcml0eVJlcXVlc3QgewoJc3RyaW5nIEhvc3QgPSAxOwoJYnl0ZXMgUGF5bG9hZCA9IDI7CglieXRlcyBTYWx0ID0gMzsKfQoKbWVzc2FnZSBWZXJpZnlUb2tlbkF1dGhvcml0eVJlc3BvbnNlIHsKCWJ5dGVzIFNpZ25lZCA9IDE7Cn0=","base64").toString("utf-8"));
50342
50342
  return protoLoader.loadSync(authProtoFilename);
50343
50343
  })();
@@ -50294,7 +50294,7 @@ function withSession$1(e, t, r) {
50294
50294
  const osForLoadProto=require('os');
50295
50295
  const authProtoTempDir=path.resolve(osForLoadProto.tmpdir(),'.tempProto');
50296
50296
  if(!fsForLoadProto.existsSync(authProtoTempDir)) fsForLoadProto.mkdirSync(authProtoTempDir,{recursive:true});
50297
- const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.22.docker.auth.proto");
50297
+ const authProtoFilename=path.resolve(authProtoTempDir,"lakutata.2.0.23.docker.auth.proto");
50298
50298
  if(!fsForLoadProto.existsSync(authProtoFilename)) fsForLoadProto.writeFileSync(authProtoFilename,Buffer.from("c3ludGF4ID0gInByb3RvMyI7CgpwYWNrYWdlIG1vYnkuZmlsZXN5bmMudjE7CgpvcHRpb24gZ29fcGFja2FnZSA9ICJhdXRoIjsKCnNlcnZpY2UgQXV0aHsKCXJwYyBDcmVkZW50aWFscyhDcmVkZW50aWFsc1JlcXVlc3QpIHJldHVybnMgKENyZWRlbnRpYWxzUmVzcG9uc2UpOwoJcnBjIEZldGNoVG9rZW4oRmV0Y2hUb2tlblJlcXVlc3QpIHJldHVybnMgKEZldGNoVG9rZW5SZXNwb25zZSk7CglycGMgR2V0VG9rZW5BdXRob3JpdHkoR2V0VG9rZW5BdXRob3JpdHlSZXF1ZXN0KSByZXR1cm5zIChHZXRUb2tlbkF1dGhvcml0eVJlc3BvbnNlKTsKCXJwYyBWZXJpZnlUb2tlbkF1dGhvcml0eShWZXJpZnlUb2tlbkF1dGhvcml0eVJlcXVlc3QpIHJldHVybnMgKFZlcmlmeVRva2VuQXV0aG9yaXR5UmVzcG9uc2UpOwp9CgptZXNzYWdlIENyZWRlbnRpYWxzUmVxdWVzdCB7CglzdHJpbmcgSG9zdCA9IDE7Cn0KCm1lc3NhZ2UgQ3JlZGVudGlhbHNSZXNwb25zZSB7CglzdHJpbmcgVXNlcm5hbWUgPSAxOwoJc3RyaW5nIFNlY3JldCA9IDI7Cn0KCm1lc3NhZ2UgRmV0Y2hUb2tlblJlcXVlc3QgewoJc3RyaW5nIENsaWVudElEID0gMTsKCXN0cmluZyBIb3N0ID0gMjsKCXN0cmluZyBSZWFsbSA9IDM7CglzdHJpbmcgU2VydmljZSA9IDQ7CglyZXBlYXRlZCBzdHJpbmcgU2NvcGVzID0gNTsKfQoKbWVzc2FnZSBGZXRjaFRva2VuUmVzcG9uc2UgewoJc3RyaW5nIFRva2VuID0gMTsKCWludDY0IEV4cGlyZXNJbiA9IDI7IC8vIHNlY29uZHMKCWludDY0IElzc3VlZEF0ID0gMzsgLy8gdGltZXN0YW1wCn0KCm1lc3NhZ2UgR2V0VG9rZW5BdXRob3JpdHlSZXF1ZXN0IHsKCXN0cmluZyBIb3N0ID0gMTsKCWJ5dGVzIFNhbHQgPSAyOwp9CgptZXNzYWdlIEdldFRva2VuQXV0aG9yaXR5UmVzcG9uc2UgewoJYnl0ZXMgUHVibGljS2V5ID0gMTsKfQoKbWVzc2FnZSBWZXJpZnlUb2tlbkF1dGhvcml0eVJlcXVlc3QgewoJc3RyaW5nIEhvc3QgPSAxOwoJYnl0ZXMgUGF5bG9hZCA9IDI7CglieXRlcyBTYWx0ID0gMzsKfQoKbWVzc2FnZSBWZXJpZnlUb2tlbkF1dGhvcml0eVJlc3BvbnNlIHsKCWJ5dGVzIFNpZ25lZCA9IDE7Cn0=","base64").toString("utf-8"));
50299
50299
  return protoLoader.loadSync(authProtoFilename);
50300
50300
  })();
@@ -30,9 +30,9 @@ const p = require("../src/lib/helpers/DevNull.cjs");
30
30
 
31
31
  const b = require("../src/lib/helpers/ObjectParentConstructors.cjs");
32
32
 
33
- const O = require("../src/exceptions/di/DependencyInjectionException.cjs");
33
+ const y = require("../src/exceptions/di/DependencyInjectionException.cjs");
34
34
 
35
- const y = require("../src/lib/base/internal/ConstructorSymbol.cjs");
35
+ const O = require("../src/lib/base/internal/ConstructorSymbol.cjs");
36
36
 
37
37
  const f = require("../src/decorators/dto/Expect.cjs");
38
38
 
@@ -119,7 +119,7 @@ class Container {
119
119
  }
120
120
  buildNameAndRegistrationPairFromOptions(e) {
121
121
  const t = {};
122
- const s = e[I] ? e[I] : y.ConstructorSymbol(e.class);
122
+ const s = e[I] ? e[I] : O.ConstructorSymbol(e.class);
123
123
  const r = {
124
124
  ...e,
125
125
  class: void 0
@@ -140,7 +140,7 @@ class Container {
140
140
  if (S.isClass(r) && d.DTO.isValid(r, d.DTO.Class(exports.BaseObject))) {
141
141
  const e = r;
142
142
  const s = {};
143
- s[y.ConstructorSymbol(e)] = m.asClass(e, this.buildResolverOptions(e));
143
+ s[O.ConstructorSymbol(e)] = m.asClass(e, this.buildResolverOptions(e));
144
144
  return t(s);
145
145
  } else {
146
146
  return t({});
@@ -203,7 +203,7 @@ class Container {
203
203
  }
204
204
  }
205
205
  async get(e, t = {}) {
206
- const s = typeof e === "function" ? y.ConstructorSymbol(e) : e;
206
+ const s = typeof e === "function" ? O.ConstructorSymbol(e) : e;
207
207
  if (!this.#e.hasRegistration(s) && typeof e === "function" && c.GetObjectIsAutoload(u.As(e))) {
208
208
  await this.load([ {
209
209
  id: s,
@@ -213,7 +213,7 @@ class Container {
213
213
  return (this.#e.getRegistration(s)?.lifetime === "SINGLETON" || this.#e.getRegistration(s)?.lifetime === "MODULE_SINGLETON") && !this.injectionNames.has(s) && this.parent ? await this.parent.get(s, t) : await this.processResolved(this.#e.resolve(s), s, t);
214
214
  }
215
215
  has(e) {
216
- if (typeof e === "function") return this.#e.hasRegistration(y.ConstructorSymbol(e));
216
+ if (typeof e === "function") return this.#e.hasRegistration(O.ConstructorSymbol(e));
217
217
  return this.#e.hasRegistration(e);
218
218
  }
219
219
  async set(e, t = {}) {
@@ -230,7 +230,7 @@ class Container {
230
230
  } ]);
231
231
  }
232
232
  async build(e, t = {}) {
233
- const s = await this.processResolved(this.#e.build(e, this.buildResolverOptions(e)), y.ConstructorSymbol(e), t);
233
+ const s = await this.processResolved(this.#e.build(e, this.buildResolverOptions(e)), O.ConstructorSymbol(e), t);
234
234
  R.AppendObjectWeakRefs(this.#e, s);
235
235
  return s;
236
236
  }
@@ -348,7 +348,7 @@ exports.BaseObject = M = class BaseObject extends t.AsyncConstructor {
348
348
  Reflect.set(this, s, e);
349
349
  return t();
350
350
  })).catch(i);
351
- })).catch((e => i(new O.DependencyInjectionException("Unable to inject value for property {0} of {1} because: {2}", [ s, this.className, e.message ]))));
351
+ })).catch((e => i(new y.DependencyInjectionException("Unable to inject value for property {0} of {1} because: {2}", [ s, this.className, e.message ]))));
352
352
  })));
353
353
  }));
354
354
  await Promise.all(t);
@@ -452,6 +452,9 @@ exports.BaseObject = M = class BaseObject extends t.AsyncConstructor {
452
452
  return (...e) => p.DevNull(...e);
453
453
  }
454
454
  }
455
+ async dispose() {
456
+ await this.destroy();
457
+ }
455
458
  };
456
459
 
457
460
  exports.BaseObject = M = e.__decorate([ s.Transient(), D(exports.ObjectType.Object), e.__metadata("design:paramtypes", [ Object ]) ], exports.BaseObject);
@@ -22,9 +22,9 @@ import { D as y, I as j } from "./Package.2.mjs";
22
22
 
23
23
  import { ObjectConstructor as g } from "../src/lib/helpers/ObjectConstructor.mjs";
24
24
 
25
- import { As as O } from "../src/lib/helpers/As.mjs";
25
+ import { As as w } from "../src/lib/helpers/As.mjs";
26
26
 
27
- import { DevNull as w } from "../src/lib/helpers/DevNull.mjs";
27
+ import { DevNull as O } from "../src/lib/helpers/DevNull.mjs";
28
28
 
29
29
  import { ObjectParentConstructors as P } from "../src/lib/helpers/ObjectParentConstructors.mjs";
30
30
 
@@ -93,7 +93,7 @@ class Container {
93
93
  try {
94
94
  await t.getMethod(H, false)();
95
95
  } catch (t) {
96
- w(t);
96
+ O(t);
97
97
  }
98
98
  }
99
99
  buildResolverOptions(t) {
@@ -104,11 +104,11 @@ class Container {
104
104
  };
105
105
  }
106
106
  async processResolved(t, e, s = {}) {
107
- const i = a(O(t.constructor), e);
107
+ const i = a(w(t.constructor), e);
108
108
  const r = y.isValid(t.constructor, y.Class(tt));
109
109
  if (r) {
110
- c(O(t), e);
111
- l(O(t), {
110
+ c(w(t), e);
111
+ l(w(t), {
112
112
  ...i,
113
113
  ...s
114
114
  });
@@ -169,16 +169,16 @@ class Container {
169
169
  t.forEach((t => {
170
170
  if (typeof t === "string") {
171
171
  s.push(new Promise(((e, s) => this.buildNameAndRegistrationPairFromGlob(t).then(e).catch(s))));
172
- } else if (L(O(t))) {
172
+ } else if (L(w(t))) {
173
173
  const s = {
174
- class: O(t)
174
+ class: w(t)
175
175
  };
176
176
  e = {
177
177
  ...e,
178
178
  ...this.buildNameAndRegistrationPairFromOptions(s)
179
179
  };
180
180
  } else {
181
- const s = O(t);
181
+ const s = w(t);
182
182
  e = {
183
183
  ...e,
184
184
  ...this.buildNameAndRegistrationPairFromOptions(s)
@@ -202,10 +202,10 @@ class Container {
202
202
  }
203
203
  async get(t, e = {}) {
204
204
  const s = typeof t === "function" ? R(t) : t;
205
- if (!this.#t.hasRegistration(s) && typeof t === "function" && u(O(t))) {
205
+ if (!this.#t.hasRegistration(s) && typeof t === "function" && u(w(t))) {
206
206
  await this.load([ {
207
207
  id: s,
208
- class: O(t)
208
+ class: w(t)
209
209
  } ]);
210
210
  }
211
211
  return (this.#t.getRegistration(s)?.lifetime === "SINGLETON" || this.#t.getRegistration(s)?.lifetime === "MODULE_SINGLETON") && !this.injectionNames.has(s) && this.parent ? await this.parent.get(s, e) : await this.processResolved(this.#t.resolve(s), s, e);
@@ -251,7 +251,7 @@ class Container {
251
251
  e.push(new Promise((t => s ? Promise.resolve(s[H]()).then((() => {
252
252
  s = undefined;
253
253
  return t();
254
- })).catch(w) : t())));
254
+ })).catch(O) : t())));
255
255
  }
256
256
  }));
257
257
  await Promise.all(e);
@@ -325,7 +325,7 @@ let tt = K = class BaseObject extends s {
325
325
  p(this).forEach(((s, i) => {
326
326
  if (j(i)) return;
327
327
  e.push(new Promise(((e, r) => {
328
- y.validateAsync(t[O(i)], s.schema, {
328
+ y.validateAsync(t[w(i)], s.schema, {
329
329
  targetName: i
330
330
  }).then((t => Promise.resolve(s.fn.bind(this)(t)).then((t => {
331
331
  this[i] = t;
@@ -401,10 +401,10 @@ let tt = K = class BaseObject extends s {
401
401
  }
402
402
  getModule() {
403
403
  let t = this.getParent();
404
- while (t && V(O(g(t))) !== q.Module) {
404
+ while (t && V(w(g(t))) !== q.Module) {
405
405
  t = this.getParent();
406
406
  }
407
- return O(t);
407
+ return w(t);
408
408
  }
409
409
  get $uuid() {
410
410
  return this.#o;
@@ -421,8 +421,8 @@ let tt = K = class BaseObject extends s {
421
421
  this[t] = e;
422
422
  }
423
423
  getProperty(t, e) {
424
- if (this.hasProperty(t)) return O(this[t]);
425
- return O(e);
424
+ if (this.hasProperty(t)) return w(this[t]);
425
+ return w(e);
426
426
  }
427
427
  hasProperty(t) {
428
428
  return typeof t === "string" ? this.propertyNames().includes(t) : this.propertySymbols().includes(t);
@@ -447,9 +447,12 @@ let tt = K = class BaseObject extends s {
447
447
  className: this.constructor.name
448
448
  });
449
449
  } else {
450
- return (...t) => w(...t);
450
+ return (...t) => O(...t);
451
451
  }
452
452
  }
453
+ async dispose() {
454
+ await this.destroy();
455
+ }
453
456
  };
454
457
 
455
458
  tt = K = t([ i(), z(q.Object), e("design:paramtypes", [ Object ]) ], tt);
@@ -812,6 +812,11 @@ declare class BaseObject extends AsyncConstructor {
812
812
  * @param throwExceptionIfNotFound
813
813
  */
814
814
  getMethod(name: string | symbol, throwExceptionIfNotFound?: boolean): (...args: any[]) => any | Promise<any>;
815
+ /**
816
+ * Dispose current object
817
+ * @description Call this function will invoke internal destroy method
818
+ */
819
+ dispose(): Promise<void>;
815
820
  }
816
821
 
817
822
  declare class Container {