@elsikora/cladi 1.0.1 → 1.0.3
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/cjs/domain/interface/container.interface.d.ts +1 -0
- package/dist/cjs/domain/interface/container.interface.d.ts.map +1 -1
- package/dist/cjs/domain/interface/error.interface.d.ts +1 -0
- package/dist/cjs/domain/interface/error.interface.d.ts.map +1 -1
- package/dist/cjs/domain/interface/factory.interface.d.ts +1 -0
- package/dist/cjs/domain/interface/factory.interface.d.ts.map +1 -1
- package/dist/cjs/domain/interface/logger/interface.d.ts +1 -0
- package/dist/cjs/domain/interface/logger/interface.d.ts.map +1 -1
- package/dist/cjs/domain/interface/logger/method-options.interface.d.ts +1 -0
- package/dist/cjs/domain/interface/logger/method-options.interface.d.ts.map +1 -1
- package/dist/cjs/domain/interface/registry.interface.d.ts +1 -0
- package/dist/cjs/domain/interface/registry.interface.d.ts.map +1 -1
- package/dist/cjs/infrastructure/class/base/container.class.d.ts +1 -0
- package/dist/cjs/infrastructure/class/base/container.class.d.ts.map +1 -1
- package/dist/cjs/infrastructure/class/base/container.class.js +1 -0
- package/dist/cjs/infrastructure/class/base/container.class.js.map +1 -1
- package/dist/cjs/infrastructure/class/base/error.class.d.ts +1 -0
- package/dist/cjs/infrastructure/class/base/error.class.d.ts.map +1 -1
- package/dist/cjs/infrastructure/class/base/error.class.js +1 -0
- package/dist/cjs/infrastructure/class/base/error.class.js.map +1 -1
- package/dist/cjs/infrastructure/class/base/factory.class.d.ts +1 -0
- package/dist/cjs/infrastructure/class/base/factory.class.d.ts.map +1 -1
- package/dist/cjs/infrastructure/class/base/factory.class.js +1 -0
- package/dist/cjs/infrastructure/class/base/factory.class.js.map +1 -1
- package/dist/cjs/infrastructure/class/base/registry.class.d.ts +1 -0
- package/dist/cjs/infrastructure/class/base/registry.class.d.ts.map +1 -1
- package/dist/cjs/infrastructure/class/base/registry.class.js +1 -0
- package/dist/cjs/infrastructure/class/base/registry.class.js.map +1 -1
- package/dist/cjs/infrastructure/factory/core.factory.d.ts +7 -0
- package/dist/cjs/infrastructure/factory/core.factory.d.ts.map +1 -1
- package/dist/cjs/infrastructure/factory/core.factory.js +7 -0
- package/dist/cjs/infrastructure/factory/core.factory.js.map +1 -1
- package/dist/cjs/infrastructure/interface/base/container-options.interface.d.ts +2 -0
- package/dist/cjs/infrastructure/interface/base/container-options.interface.d.ts.map +1 -1
- package/dist/cjs/infrastructure/interface/base/error-options.interface.d.ts +1 -0
- package/dist/cjs/infrastructure/interface/base/error-options.interface.d.ts.map +1 -1
- package/dist/cjs/infrastructure/interface/base/factory-options.interface.d.ts +2 -0
- package/dist/cjs/infrastructure/interface/base/factory-options.interface.d.ts.map +1 -1
- package/dist/cjs/infrastructure/interface/base/registry-options.interface.d.ts +2 -0
- package/dist/cjs/infrastructure/interface/base/registry-options.interface.d.ts.map +1 -1
- package/dist/cjs/infrastructure/interface/console-logger-options.interface.d.ts +2 -0
- package/dist/cjs/infrastructure/interface/console-logger-options.interface.d.ts.map +1 -1
- package/dist/cjs/infrastructure/interface/core-factory-options.interface.d.ts +2 -0
- package/dist/cjs/infrastructure/interface/core-factory-options.interface.d.ts.map +1 -1
- package/dist/cjs/infrastructure/service/console-logger.service.d.ts +3 -1
- package/dist/cjs/infrastructure/service/console-logger.service.d.ts.map +1 -1
- package/dist/cjs/infrastructure/service/console-logger.service.js +3 -1
- package/dist/cjs/infrastructure/service/console-logger.service.js.map +1 -1
- package/dist/cjs/presentation/utility/create/container.utility.d.ts +1 -0
- package/dist/cjs/presentation/utility/create/container.utility.d.ts.map +1 -1
- package/dist/cjs/presentation/utility/create/container.utility.js +1 -0
- package/dist/cjs/presentation/utility/create/container.utility.js.map +1 -1
- package/dist/cjs/presentation/utility/create/factory.utility.d.ts +1 -0
- package/dist/cjs/presentation/utility/create/factory.utility.d.ts.map +1 -1
- package/dist/cjs/presentation/utility/create/factory.utility.js +1 -0
- package/dist/cjs/presentation/utility/create/factory.utility.js.map +1 -1
- package/dist/cjs/presentation/utility/create/logger.utility.d.ts +3 -1
- package/dist/cjs/presentation/utility/create/logger.utility.d.ts.map +1 -1
- package/dist/cjs/presentation/utility/create/logger.utility.js +3 -1
- package/dist/cjs/presentation/utility/create/logger.utility.js.map +1 -1
- package/dist/cjs/presentation/utility/create/registry.utility.d.ts +1 -0
- package/dist/cjs/presentation/utility/create/registry.utility.d.ts.map +1 -1
- package/dist/cjs/presentation/utility/create/registry.utility.js +1 -0
- package/dist/cjs/presentation/utility/create/registry.utility.js.map +1 -1
- package/dist/esm/domain/interface/container.interface.d.ts +1 -0
- package/dist/esm/domain/interface/container.interface.d.ts.map +1 -1
- package/dist/esm/domain/interface/error.interface.d.ts +1 -0
- package/dist/esm/domain/interface/error.interface.d.ts.map +1 -1
- package/dist/esm/domain/interface/factory.interface.d.ts +1 -0
- package/dist/esm/domain/interface/factory.interface.d.ts.map +1 -1
- package/dist/esm/domain/interface/logger/interface.d.ts +1 -0
- package/dist/esm/domain/interface/logger/interface.d.ts.map +1 -1
- package/dist/esm/domain/interface/logger/method-options.interface.d.ts +1 -0
- package/dist/esm/domain/interface/logger/method-options.interface.d.ts.map +1 -1
- package/dist/esm/domain/interface/registry.interface.d.ts +1 -0
- package/dist/esm/domain/interface/registry.interface.d.ts.map +1 -1
- package/dist/esm/infrastructure/class/base/container.class.d.ts +1 -0
- package/dist/esm/infrastructure/class/base/container.class.d.ts.map +1 -1
- package/dist/esm/infrastructure/class/base/container.class.js +1 -0
- package/dist/esm/infrastructure/class/base/container.class.js.map +1 -1
- package/dist/esm/infrastructure/class/base/error.class.d.ts +1 -0
- package/dist/esm/infrastructure/class/base/error.class.d.ts.map +1 -1
- package/dist/esm/infrastructure/class/base/error.class.js +1 -0
- package/dist/esm/infrastructure/class/base/error.class.js.map +1 -1
- package/dist/esm/infrastructure/class/base/factory.class.d.ts +1 -0
- package/dist/esm/infrastructure/class/base/factory.class.d.ts.map +1 -1
- package/dist/esm/infrastructure/class/base/factory.class.js +1 -0
- package/dist/esm/infrastructure/class/base/factory.class.js.map +1 -1
- package/dist/esm/infrastructure/class/base/registry.class.d.ts +1 -0
- package/dist/esm/infrastructure/class/base/registry.class.d.ts.map +1 -1
- package/dist/esm/infrastructure/class/base/registry.class.js +1 -0
- package/dist/esm/infrastructure/class/base/registry.class.js.map +1 -1
- package/dist/esm/infrastructure/factory/core.factory.d.ts +7 -0
- package/dist/esm/infrastructure/factory/core.factory.d.ts.map +1 -1
- package/dist/esm/infrastructure/factory/core.factory.js +7 -0
- package/dist/esm/infrastructure/factory/core.factory.js.map +1 -1
- package/dist/esm/infrastructure/interface/base/container-options.interface.d.ts +2 -0
- package/dist/esm/infrastructure/interface/base/container-options.interface.d.ts.map +1 -1
- package/dist/esm/infrastructure/interface/base/error-options.interface.d.ts +1 -0
- package/dist/esm/infrastructure/interface/base/error-options.interface.d.ts.map +1 -1
- package/dist/esm/infrastructure/interface/base/factory-options.interface.d.ts +2 -0
- package/dist/esm/infrastructure/interface/base/factory-options.interface.d.ts.map +1 -1
- package/dist/esm/infrastructure/interface/base/registry-options.interface.d.ts +2 -0
- package/dist/esm/infrastructure/interface/base/registry-options.interface.d.ts.map +1 -1
- package/dist/esm/infrastructure/interface/console-logger-options.interface.d.ts +2 -0
- package/dist/esm/infrastructure/interface/console-logger-options.interface.d.ts.map +1 -1
- package/dist/esm/infrastructure/interface/core-factory-options.interface.d.ts +2 -0
- package/dist/esm/infrastructure/interface/core-factory-options.interface.d.ts.map +1 -1
- package/dist/esm/infrastructure/service/console-logger.service.d.ts +3 -1
- package/dist/esm/infrastructure/service/console-logger.service.d.ts.map +1 -1
- package/dist/esm/infrastructure/service/console-logger.service.js +3 -1
- package/dist/esm/infrastructure/service/console-logger.service.js.map +1 -1
- package/dist/esm/presentation/utility/create/container.utility.d.ts +1 -0
- package/dist/esm/presentation/utility/create/container.utility.d.ts.map +1 -1
- package/dist/esm/presentation/utility/create/container.utility.js +1 -0
- package/dist/esm/presentation/utility/create/container.utility.js.map +1 -1
- package/dist/esm/presentation/utility/create/factory.utility.d.ts +1 -0
- package/dist/esm/presentation/utility/create/factory.utility.d.ts.map +1 -1
- package/dist/esm/presentation/utility/create/factory.utility.js +1 -0
- package/dist/esm/presentation/utility/create/factory.utility.js.map +1 -1
- package/dist/esm/presentation/utility/create/logger.utility.d.ts +3 -1
- package/dist/esm/presentation/utility/create/logger.utility.d.ts.map +1 -1
- package/dist/esm/presentation/utility/create/logger.utility.js +3 -1
- package/dist/esm/presentation/utility/create/logger.utility.js.map +1 -1
- package/dist/esm/presentation/utility/create/registry.utility.d.ts +1 -0
- package/dist/esm/presentation/utility/create/registry.utility.d.ts.map +1 -1
- package/dist/esm/presentation/utility/create/registry.utility.js +1 -0
- package/dist/esm/presentation/utility/create/registry.utility.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.interface.d.ts","sourceRoot":"","sources":["../../../../src/domain/interface/container.interface.ts"],"names":[],"mappings":"AACA
|
|
1
|
+
{"version":3,"file":"container.interface.d.ts","sourceRoot":"","sources":["../../../../src/domain/interface/container.interface.ts"],"names":[],"mappings":"AACA;;;GAGG;AACH,MAAM,WAAW,UAAU;IAC1B;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;IAEd;;;;OAIG;IACH,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC;IAErC;;;OAGG;IACH,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IAEzB;;;;OAIG;IACH,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAE5C;;;;OAIG;IACH,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IAE5B;;;;OAIG;IACH,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC,GAAG,IAAI,CAAC;IAEpD;;;;OAIG;IACH,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC;IAEjF;;;OAGG;IACH,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;OAGG;IACH,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.interface.d.ts","sourceRoot":"","sources":["../../../../src/domain/interface/error.interface.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"error.interface.d.ts","sourceRoot":"","sources":["../../../../src/domain/interface/error.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,MAAO,SAAQ,KAAK;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC"}
|
|
@@ -2,6 +2,7 @@ import type { IRegistry } from "./registry.interface";
|
|
|
2
2
|
/**
|
|
3
3
|
* Generic factory interface for creating items by name.
|
|
4
4
|
* @template T The type of items created by the factory.
|
|
5
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory}
|
|
5
6
|
*/
|
|
6
7
|
export interface IFactory<T> {
|
|
7
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.interface.d.ts","sourceRoot":"","sources":["../../../../src/domain/interface/factory.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD
|
|
1
|
+
{"version":3,"file":"factory.interface.d.ts","sourceRoot":"","sources":["../../../../src/domain/interface/factory.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,QAAQ,CAAC,CAAC;IAC1B;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,CAAC;IAExB;;;OAGG;IACH,WAAW,IAAI,SAAS,CAAC,CAAC,CAAC,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../src/domain/interface/logger/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE
|
|
1
|
+
{"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../../src/domain/interface/logger/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAEvE;;;GAGG;AACH,MAAM,WAAW,OAAO;IACvB;;;;OAIG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAE7D;;;;OAIG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAE7D;;;;OAIG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAE5D;;;;OAIG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAE7D;;;;OAIG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;CAC5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/domain/interface/logger/method-options.interface.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"method-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/domain/interface/logger/method-options.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.interface.d.ts","sourceRoot":"","sources":["../../../../src/domain/interface/registry.interface.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"registry.interface.d.ts","sourceRoot":"","sources":["../../../../src/domain/interface/registry.interface.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,SAAS,CAAC,CAAC;IAC3B;;OAEG;IACH,KAAK,IAAI,IAAI,CAAC;IAEd;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC;IAEjC;;;OAGG;IACH,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC;IAEnB;;;;OAIG;IACH,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAExC;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;IAE3B;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;IAExB;;;OAGG;IACH,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IAEpC;;;OAGG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;;OAGG;IACH,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CAC3C"}
|
|
@@ -2,6 +2,7 @@ import type { IContainer } from '../../../src/domain/interface/container.interfa
|
|
|
2
2
|
import type { IBaseContainerOptions } from '../../../src/infrastructure/interface/index';
|
|
3
3
|
/**
|
|
4
4
|
* Simple dependency injection container implementation.
|
|
5
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/container}
|
|
5
6
|
*/
|
|
6
7
|
export declare class BaseContainer implements IContainer {
|
|
7
8
|
private readonly DEPENDENCIES;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.class.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/class/base/container.class.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAMvE
|
|
1
|
+
{"version":3,"file":"container.class.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/class/base/container.class.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAMvE;;;GAGG;AACH,qBAAa,aAAc,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAuB;IAEpD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAU;IAEjC;;;OAGG;gBACS,OAAO,EAAE,qBAAqB;IAK1C;;OAEG;IACI,KAAK,IAAI,IAAI;IAMpB;;;;;OAKG;IAEI,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAoB3C;;;OAGG;IACI,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC;IAQ/B;;;;OAIG;IACI,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;IAwBlD;;;;OAIG;IACI,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAclC;;;;;OAKG;IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,OAAO,GAAG,IAAI;IAsB7D;;;;;OAKG;IAEI,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAyB1F;;;OAGG;IACI,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAmBtC;;;OAGG;IACI,cAAc,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI;CAwBlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.class.js","sources":["../../../../../../src/infrastructure/class/base/container.class.ts"],"sourcesContent":[null],"names":["ConsoleLoggerService","BaseError"],"mappings":";;;;;AAQA
|
|
1
|
+
{"version":3,"file":"container.class.js","sources":["../../../../../../src/infrastructure/class/base/container.class.ts"],"sourcesContent":[null],"names":["ConsoleLoggerService","BaseError"],"mappings":";;;;;AAQA;;;AAGG;MACU,aAAa,CAAA;AACR,IAAA,YAAY;AAEZ,IAAA,MAAM;AAEvB;;;AAGG;AACH,IAAA,WAAA,CAAY,OAA8B,EAAA;AACzC,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,EAAmB;QAC9C,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,IAAIA,0CAAoB,EAAE;;AAG3D;;AAEG;IACI,KAAK,GAAA;AACX,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,0CAA0C,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;AACtF,QAAA,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE;AACzB,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,gCAAg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face/base/index';
|
|
3
3
|
/**
|
|
4
4
|
* Base error class.
|
|
5
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/error-handling}
|
|
5
6
|
*/
|
|
6
7
|
export declare class BaseError extends Error implements IError {
|
|
7
8
|
readonly CAUSE?: Error;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.class.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/class/base/error.class.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE
|
|
1
|
+
{"version":3,"file":"error.class.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/class/base/error.class.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE;;;GAGG;AACH,qBAAa,SAAU,SAAQ,KAAM,YAAW,MAAM;IACrD,SAAgB,KAAK,CAAC,EAAE,KAAK,CAAC;IAE9B,SAAgB,IAAI,EAAE,MAAM,CAAC;IAE7B,SAAgB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElD,SAAgB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhC;;;;OAIG;gBACS,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB;CAYvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.class.js","sources":["../../../../../../src/infrastructure/class/base/error.class.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGA
|
|
1
|
+
{"version":3,"file":"error.class.js","sources":["../../../../../../src/infrastructure/class/base/error.class.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAGA;;;AAGG;AACG,MAAO,SAAU,SAAQ,KAAK,CAAA;AACnB,IAAA,KAAK;AAEL,IAAA,IAAI;AAEJ,IAAA,OAAO;AAEP,IAAA,MAAM;AAEtB;;;;AAIG;IACH,WAAY,CAAA,OAAe,EAAE,OAA0B,EAAA;QACtD,KAAK,CAAC,OAAO,CAAC;QACd,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI;AACjC,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK;AAC1B,QAAA,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI;AACxB,QAAA,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO;AAC9B,QAAA,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM;AAE5B,QAAA,IAAI,OAAO,KAAK,CAAC,iBAAiB,KAAK,UAAU,EAAE;YAClD,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC;;;AAGjD;;;;"}
|
|
@@ -4,6 +4,7 @@ import type { IBaseFactoryOptions } from '../../../src/infrastructure/interface/
|
|
|
4
4
|
/**
|
|
5
5
|
* Generic factory implementation that creates items by name using a registry as data source.
|
|
6
6
|
* @template T The type of items created by the factory.
|
|
7
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory}
|
|
7
8
|
*/
|
|
8
9
|
export declare class BaseFactory<T> implements IFactory<T> {
|
|
9
10
|
private readonly CACHE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.class.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/class/base/factory.class.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAM1E
|
|
1
|
+
{"version":3,"file":"factory.class.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/class/base/factory.class.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAM1E;;;;GAIG;AACH,qBAAa,WAAW,CAAC,CAAC,CAAE,YAAW,QAAQ,CAAC,CAAC,CAAC;IACjD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiB;IAEvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAU;IAEjC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAe;IAExC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAqB;IAElD;;;OAGG;gBACS,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAO3C;;;;;OAKG;IACI,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI;IAUtC;;;;;OAKG;IACI,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC;IAgC9B;;;OAGG;IACI,WAAW,IAAI,SAAS,CAAC,CAAC,CAAC;CAGlC"}
|
|
@@ -6,6 +6,7 @@ var error_class = require('./error.class.js');
|
|
|
6
6
|
/**
|
|
7
7
|
* Generic factory implementation that creates items by name using a registry as data source.
|
|
8
8
|
* @template T The type of items created by the factory.
|
|
9
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory}
|
|
9
10
|
*/
|
|
10
11
|
class BaseFactory {
|
|
11
12
|
CACHE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.class.js","sources":["../../../../../../src/infrastructure/class/base/factory.class.ts"],"sourcesContent":[null],"names":["ConsoleLoggerService","BaseError"],"mappings":";;;;;AASA
|
|
1
|
+
{"version":3,"file":"factory.class.js","sources":["../../../../../../src/infrastructure/class/base/factory.class.ts"],"sourcesContent":[null],"names":["ConsoleLoggerService","BaseError"],"m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C;;AAG9E,YAAA,OAAO,eAAe,CAAI,UAAU,CAAC;;QAGtC,MAAM,QAAQ,GAAkB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC;QAEvD,IAAI,CAAC,QAAQ,EAAE;AACd,YAAA,MAAM,IAAIC,qBAAS,CAAC,oBAAoB,EAAE;AACzC,gBAAA,IAAI,EAAE,oBAAoB;AAC1B,gBAAA,MAAM,EAAE,SAAS;AACjB,aAAA,CAAC;;;QAIH,MAAM,MAAM,GAAM,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,GAAG,eAAe,CAAI,QAAQ,CAAC;QAE9F,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC;AAE5B,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAiB,cAAA,EAAA,IAAI,CAAE,CAAA,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;;AAGjE,QAAA,OAAO,eAAe,CAAI,MAAM,CAAC;;AAGlC;;;AAGG;IACI,WAAW,GAAA;QACjB,OAAO,IAAI,CAAC,QAAQ;;AAErB;;;;"}
|
|
@@ -3,6 +3,7 @@ import type { IBaseRegistryOptions } from '../../../src/infrastructure/interface
|
|
|
3
3
|
/**
|
|
4
4
|
* Generic registry implementation that stores items by name.
|
|
5
5
|
* @template T The type of items stored in the registry.
|
|
6
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/registry}
|
|
6
7
|
*/
|
|
7
8
|
export declare class BaseRegistry<T extends {
|
|
8
9
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.class.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/class/base/registry.class.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAM3E
|
|
1
|
+
{"version":3,"file":"registry.class.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/class/base/registry.class.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAM3E;;;;GAIG;AACH,qBAAa,YAAY,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAE,YAAW,SAAS,CAAC,CAAC,CAAC;IAC5E,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAwB;IAE9C,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAiB;IAEvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAU;IAEjC;;;OAGG;gBACS,OAAO,EAAE,oBAAoB;IAMzC;;OAEG;IACI,KAAK,IAAI,IAAI;IASpB;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS;IAoBvC;;;OAGG;IACI,MAAM,IAAI,KAAK,CAAC,CAAC,CAAC;IAoBzB;;;;OAIG;IACI,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC;IAkC9C;;;;OAIG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAcjC;;;;OAIG;IACI,QAAQ,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI;IAwB9B;;;;OAIG;IACI,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI;IAwB1C;;;OAGG;IACI,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAqBrC;;;OAGG;IACI,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI;IAwBjD;;;OAGG;IACH,OAAO,CAAC,UAAU;CASlB"}
|
|
@@ -6,6 +6,7 @@ var error_class = require('./error.class.js');
|
|
|
6
6
|
/**
|
|
7
7
|
* Generic registry implementation that stores items by name.
|
|
8
8
|
* @template T The type of items stored in the registry.
|
|
9
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/registry}
|
|
9
10
|
*/
|
|
10
11
|
class BaseRegistry {
|
|
11
12
|
CACHE;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.class.js","sources":["../../../../../../src/infrastructure/class/base/registry.class.ts"],"sourcesContent":[null],"names":["ConsoleLoggerService","BaseError"],"mappings":";;;;;AAQA
|
|
1
|
+
{"version":3,"file":"registry.class.js","sources":["../../../../../../src/infrastructure/class/base/registry.class.ts"],"sourcesContent":[null],"names":["ConsoleLoggerService","BaseError"],"mappings":";;;;;AAQA;;;;AAIG;MACU,YAAY,CAAA;AACP,IAAA,KAAK;AAEL,IAAA,KAAK;AAEL,IAAA,MAAM;AAEvB;;;AAGG;AACH,IAAA,WAAA,CAAY,OAA6B,EAAA;AACxC,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,EAAa;AACjC,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,EAAoB;QACxC,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,IAAIA,0CAAoB,EAAE;;AAG3D;;AAEG;IACI,KAAK,GAAA;AACX,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,mBAAmB,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;AAE9D,QAAA,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;QAClB,IAAI,CAAC,UAAU,EAAE;AAEjB,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,kBAAkB,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;;AAG9D;;;;AAIG;AACI,IAAA,GAAG,CAAC,IAAY,EAAA;AACtB,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAA2B,wBAAA,EAAA,IAAI,CAAE,CAAA,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AC,IAAI,CAAC;;QAGtB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAG,EAAA,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA,mBAAA,CAAqB,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;;AAGxF;;;AAGG;AACK,IAAA,UAAU,CAAC,QAAiB,EAAA;QACnC,IAAI,QAAQ,EAAE;AACb,YAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC;AAC3B,YAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAA0B,uBAAA,EAAA,QAAQ,CAAE,CAAA,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;;aACzE;AACN,YAAA,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;AAClB,YAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAoB,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;;;AAGjE;;;;"}
|
|
@@ -4,6 +4,7 @@ import type { ICoreFactoryOptions } from '../../src/infrastructure/interface/cor
|
|
|
4
4
|
/**
|
|
5
5
|
* Factory for creating infrastructure components.
|
|
6
6
|
* Provides methods to create instances of Registry, Factory, Container, and Logger.
|
|
7
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory} for more details on factories.
|
|
7
8
|
*/
|
|
8
9
|
export declare class CoreFactory {
|
|
9
10
|
private static instance;
|
|
@@ -11,18 +12,21 @@ export declare class CoreFactory {
|
|
|
11
12
|
/**
|
|
12
13
|
* Creates a new infrastructure factory.
|
|
13
14
|
* @param {ICoreFactoryOptions} options - The options to use for the factory.
|
|
15
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory}
|
|
14
16
|
*/
|
|
15
17
|
constructor(options: ICoreFactoryOptions);
|
|
16
18
|
/**
|
|
17
19
|
* Gets the singleton instance of the InfrastructureFactory.
|
|
18
20
|
* @param {ICoreFactoryOptions} options - The options to use for the factory.
|
|
19
21
|
* @returns {CoreFactory} The singleton instance.
|
|
22
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory}
|
|
20
23
|
*/
|
|
21
24
|
static getInstance(options: ICoreFactoryOptions): CoreFactory;
|
|
22
25
|
/**
|
|
23
26
|
* Creates a new container instance.
|
|
24
27
|
* @param {IBaseContainerOptions} options - The options to use for the container.
|
|
25
28
|
* @returns {IContainer} A new container instance.
|
|
29
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/container}
|
|
26
30
|
*/
|
|
27
31
|
createContainer(options: IBaseContainerOptions): IContainer;
|
|
28
32
|
/**
|
|
@@ -30,12 +34,14 @@ export declare class CoreFactory {
|
|
|
30
34
|
* @template T The type of items created by the factory.
|
|
31
35
|
* @param {IBaseFactoryOptions<T>} options Factory creation options.
|
|
32
36
|
* @returns {IFactory<T>} A new factory instance.
|
|
37
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory}
|
|
33
38
|
*/
|
|
34
39
|
createFactory<T>(options: IBaseFactoryOptions<T>): IFactory<T>;
|
|
35
40
|
/**
|
|
36
41
|
* Creates a new logger instance.
|
|
37
42
|
* @param {IConsoleLoggerOptions} options - The options to use for the logger.
|
|
38
43
|
* @returns {ILogger} A new logger instance.
|
|
44
|
+
* @see {@link https://elsikora.com/docs/cladi/services/logging}
|
|
39
45
|
*/
|
|
40
46
|
createLogger(options: IConsoleLoggerOptions): ILogger;
|
|
41
47
|
/**
|
|
@@ -43,6 +49,7 @@ export declare class CoreFactory {
|
|
|
43
49
|
* @template T The type of items stored in the registry (must have a name property).
|
|
44
50
|
* @param {IBaseRegistryOptions} options - The options to use for the registry.
|
|
45
51
|
* @returns {IRegistry<T>} A new registry instance.
|
|
52
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/registry}
|
|
46
53
|
*/
|
|
47
54
|
createRegistry<T extends {
|
|
48
55
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.factory.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/factory/core.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACrI,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAIpG
|
|
1
|
+
{"version":3,"file":"core.factory.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/factory/core.factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACrI,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAIpG;;;;GAIG;AACH,qBAAa,WAAW;IACvB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAc;IAErC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAU;IAEjC;;;;OAIG;gBACS,OAAO,EAAE,mBAAmB;IAIxC;;;;;OAKG;WACW,WAAW,CAAC,OAAO,EAAE,mBAAmB,GAAG,WAAW;IAQpE;;;;;OAKG;IACI,eAAe,CAAC,OAAO,EAAE,qBAAqB,GAAG,UAAU;IAUlE;;;;;;OAMG;IACI,aAAa,CAAC,CAAC,EAAE,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC;IAUrE;;;;;OAKG;IACI,YAAY,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO;IAa5D;;;;;;OAMG;IACI,cAAc,CAAC,CAAC,SAAS;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAAC,CAAC,CAAC;CAS9F"}
|
|
@@ -8,6 +8,7 @@ var consoleLogger_service = require('../service/console-logger.service.js');
|
|
|
8
8
|
/**
|
|
9
9
|
* Factory for creating infrastructure components.
|
|
10
10
|
* Provides methods to create instances of Registry, Factory, Container, and Logger.
|
|
11
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory} for more details on factories.
|
|
11
12
|
*/
|
|
12
13
|
class CoreFactory {
|
|
13
14
|
static instance;
|
|
@@ -15,6 +16,7 @@ class CoreFactory {
|
|
|
15
16
|
/**
|
|
16
17
|
* Creates a new infrastructure factory.
|
|
17
18
|
* @param {ICoreFactoryOptions} options - The options to use for the factory.
|
|
19
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory}
|
|
18
20
|
*/
|
|
19
21
|
constructor(options) {
|
|
20
22
|
this.LOGGER = options.logger ?? new consoleLogger_service.ConsoleLoggerService();
|
|
@@ -23,6 +25,7 @@ class CoreFactory {
|
|
|
23
25
|
* Gets the singleton instance of the InfrastructureFactory.
|
|
24
26
|
* @param {ICoreFactoryOptions} options - The options to use for the factory.
|
|
25
27
|
* @returns {CoreFactory} The singleton instance.
|
|
28
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory}
|
|
26
29
|
*/
|
|
27
30
|
static getInstance(options) {
|
|
28
31
|
if (!CoreFactory.instance) {
|
|
@@ -34,6 +37,7 @@ class CoreFactory {
|
|
|
34
37
|
* Creates a new container instance.
|
|
35
38
|
* @param {IBaseContainerOptions} options - The options to use for the container.
|
|
36
39
|
* @returns {IContainer} A new container instance.
|
|
40
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/container}
|
|
37
41
|
*/
|
|
38
42
|
createContainer(options) {
|
|
39
43
|
this.LOGGER?.debug("Creating new container instance", { source: "InfrastructureFactory" });
|
|
@@ -46,6 +50,7 @@ class CoreFactory {
|
|
|
46
50
|
* @template T The type of items created by the factory.
|
|
47
51
|
* @param {IBaseFactoryOptions<T>} options Factory creation options.
|
|
48
52
|
* @returns {IFactory<T>} A new factory instance.
|
|
53
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory}
|
|
49
54
|
*/
|
|
50
55
|
createFactory(options) {
|
|
51
56
|
this.LOGGER?.debug("Creating new factory instance", { source: "InfrastructureFactory" });
|
|
@@ -57,6 +62,7 @@ class CoreFactory {
|
|
|
57
62
|
* Creates a new logger instance.
|
|
58
63
|
* @param {IConsoleLoggerOptions} options - The options to use for the logger.
|
|
59
64
|
* @returns {ILogger} A new logger instance.
|
|
65
|
+
* @see {@link https://elsikora.com/docs/cladi/services/logging}
|
|
60
66
|
*/
|
|
61
67
|
createLogger(options) {
|
|
62
68
|
this.LOGGER?.debug("Creating new logger instance", {
|
|
@@ -72,6 +78,7 @@ class CoreFactory {
|
|
|
72
78
|
* @template T The type of items stored in the registry (must have a name property).
|
|
73
79
|
* @param {IBaseRegistryOptions} options - The options to use for the registry.
|
|
74
80
|
* @returns {IRegistry<T>} A new registry instance.
|
|
81
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/registry}
|
|
75
82
|
*/
|
|
76
83
|
createRegistry(options) {
|
|
77
84
|
this.LOGGER?.debug("Creating new registry instance", { source: "InfrastructureFactory" });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.factory.js","sources":["../../../../../src/infrastructure/factory/core.factory.ts"],"sourcesContent":[null],"names":["ConsoleLoggerService","BaseContainer","BaseFactory","BaseRegistry"],"mappings":";;;;;;;AAMA
|
|
1
|
+
{"version":3,"file":"core.factory.js","sources":["../../../../../src/infrastructure/factory/core.factory.ts"],"sourcesContent":[null],"names":["ConsoleLoggerService","BaseContainer","BaseFactory","BaseRegistry"],"mappings":";;;;;;;AAMA;;;;AAIG;MACU,WAAW,CAAA;IACf,OAAO,QAAQ;AAEN,IAAA,MAAM;AAEvB;;;;AAIG;AACH,IAAA,WAAA,CAAY,OAA4B,EAAA;Q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A,CAAC;AAEF,QAAA,MAAM,MAAM,GAAY,IAAIF,0CAAoB,CAAC,OAAO,CAAC;AAEzD,QAAA,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,yBAAyB,EAAE,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC;AAElF,QAAA,OAAO,MAAM;;AAGd;;;;;;AAMG;AACI,IAAA,cAAc,CAA6B,OAA6B,EAAA;AAC9E,QAAA,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,gCAAgC,EAAE,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC;AAEzF,QAAA,MAAM,QAAQ,GAAiB,IAAIG,2BAAY,CAAI,OAAO,CAAC;AAE3D,QAAA,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,2BAA2B,EAAE,EAAE,MAAM,EAAE,uBAAuB,EAAE,CAAC;AAEpF,QAAA,OAAO,QAAQ;;AAEhB;;;;"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { ILogger } from '../../../src/domain/interface/index';
|
|
2
2
|
/**
|
|
3
3
|
* The options for the base container.
|
|
4
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/container} for more details.
|
|
4
5
|
*/
|
|
5
6
|
export interface IBaseContainerOptions {
|
|
6
7
|
/**
|
|
7
8
|
* The logger to use for the container.
|
|
9
|
+
* @default new ConsoleLoggerService()
|
|
8
10
|
*/
|
|
9
11
|
logger?: ILogger;
|
|
10
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/interface/base/container-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"container-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/interface/base/container-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACrC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/interface/base/error-options.interface.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"error-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/interface/base/error-options.interface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -3,10 +3,12 @@ import type { ILogger } from '../../../src/domain/interface/logger/interface';
|
|
|
3
3
|
/**
|
|
4
4
|
* Base factory creation options.
|
|
5
5
|
* @template T The type of items in the registry and created by the factory.
|
|
6
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory} for more details.
|
|
6
7
|
*/
|
|
7
8
|
export interface IBaseFactoryOptions<T> {
|
|
8
9
|
/**
|
|
9
10
|
* The logger to use for logging.
|
|
11
|
+
* @default new ConsoleLoggerService()
|
|
10
12
|
*/
|
|
11
13
|
logger?: ILogger;
|
|
12
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/interface/base/factory-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAElE
|
|
1
|
+
{"version":3,"file":"factory-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/interface/base/factory-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAElE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACrC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;CACjC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { ILogger } from '../../../src/domain/interface/logger/interface';
|
|
2
2
|
/**
|
|
3
3
|
* Base registry creation options.
|
|
4
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/registry} for more details.
|
|
4
5
|
*/
|
|
5
6
|
export interface IBaseRegistryOptions {
|
|
6
7
|
/**
|
|
7
8
|
* The logger to use for logging.
|
|
9
|
+
* @default new ConsoleLoggerService()
|
|
8
10
|
*/
|
|
9
11
|
logger?: ILogger;
|
|
10
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/interface/base/registry-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAElE
|
|
1
|
+
{"version":3,"file":"registry-options.interface.d.ts","sourceRoot":"","sources":["../../../../../src/infrastructure/interface/base/registry-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAElE;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACpC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { ELoggerLogLevel } from '../../src/domain/enum/index';
|
|
2
2
|
/**
|
|
3
3
|
* The options for the console logger.
|
|
4
|
+
* @see {@link https://elsikora.com/docs/cladi/services/logging} for more details on logging options.
|
|
4
5
|
*/
|
|
5
6
|
export interface IConsoleLoggerOptions {
|
|
6
7
|
/**
|
|
7
8
|
* The log level to use.
|
|
9
|
+
* @default ELoggerLogLevel.INFO
|
|
8
10
|
*/
|
|
9
11
|
level: ELoggerLogLevel;
|
|
10
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console-logger-options.interface.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/interface/console-logger-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD
|
|
1
|
+
{"version":3,"file":"console-logger-options.interface.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/interface/console-logger-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACrC;;;OAGG;IACH,KAAK,EAAE,eAAe,CAAC;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { ILogger } from '../../src/domain/interface/index';
|
|
2
2
|
/**
|
|
3
3
|
* Options for the CoreFactory.
|
|
4
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory} for more details.
|
|
4
5
|
*/
|
|
5
6
|
export interface ICoreFactoryOptions {
|
|
6
7
|
/**
|
|
7
8
|
* The logger to use for the factory.
|
|
9
|
+
* @default new ConsoleLoggerService()
|
|
8
10
|
*/
|
|
9
11
|
logger?: ILogger;
|
|
10
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-factory-options.interface.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/interface/core-factory-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"core-factory-options.interface.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/interface/core-factory-options.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IACnC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -2,6 +2,7 @@ import type { ILogger, ILoggerMethodOptions } from '../../src/domain/interface/i
|
|
|
2
2
|
import type { IConsoleLoggerOptions } from '../../src/infrastructure/interface/index';
|
|
3
3
|
/**
|
|
4
4
|
* Console logger implementation.
|
|
5
|
+
* @see {@link https://elsikora.com/docs/cladi/services/logging}
|
|
5
6
|
*/
|
|
6
7
|
export declare class ConsoleLoggerService implements ILogger {
|
|
7
8
|
/**
|
|
@@ -14,7 +15,8 @@ export declare class ConsoleLoggerService implements ILogger {
|
|
|
14
15
|
private readonly SOURCE?;
|
|
15
16
|
/**
|
|
16
17
|
* Create a new console logger.
|
|
17
|
-
* @param {IConsoleLoggerOptions} options - The options to use for the logger.
|
|
18
|
+
* @param {IConsoleLoggerOptions} [options] - The options to use for the logger.
|
|
19
|
+
* @default
|
|
18
20
|
*/
|
|
19
21
|
constructor(options?: IConsoleLoggerOptions);
|
|
20
22
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console-logger.service.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/service/console-logger.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAKvE
|
|
1
|
+
{"version":3,"file":"console-logger.service.d.ts","sourceRoot":"","sources":["../../../../src/infrastructure/service/console-logger.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAKvE;;;GAGG;AACH,qBAAa,oBAAqB,YAAW,OAAO;IACnD;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkB;IAExC;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAS;IAEjC;;;;OAIG;gBACS,OAAO,GAAE,qBAAsD;IAK3E;;;;OAIG;IACI,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI;IAMnE;;;;OAIG;IACI,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI;IAMnE;;;;OAIG;IACI,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI;IAMlE;;;;OAIG;IACI,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI;IAMnE;;;;OAIG;IACI,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,IAAI;IAMlE;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAoBrB;;;;;;OAMG;IACH,OAAO,CAAC,aAAa;IAmBrB;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAKjB"}
|
|
@@ -6,6 +6,7 @@ var consoleLoggerDefaultOptions_constant = require('../constant/console-logger-d
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Console logger implementation.
|
|
9
|
+
* @see {@link https://elsikora.com/docs/cladi/services/logging}
|
|
9
10
|
*/
|
|
10
11
|
class ConsoleLoggerService {
|
|
11
12
|
/**
|
|
@@ -18,7 +19,8 @@ class ConsoleLoggerService {
|
|
|
18
19
|
SOURCE;
|
|
19
20
|
/**
|
|
20
21
|
* Create a new console logger.
|
|
21
|
-
* @param {IConsoleLoggerOptions} options - The options to use for the logger.
|
|
22
|
+
* @param {IConsoleLoggerOptions} [options] - The options to use for the logger.
|
|
23
|
+
* @default
|
|
22
24
|
*/
|
|
23
25
|
constructor(options = consoleLoggerDefaultOptions_constant.CONSOLE_LOGGER_DEFAULT_OPTIONS) {
|
|
24
26
|
this.LEVEL = options.level;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console-logger.service.js","sources":["../../../../../src/infrastructure/service/console-logger.service.ts"],"sourcesContent":[null],"names":["CONSOLE_LOGGER_DEFAULT_OPTIONS","ELoggerLogLevel"],"mappings":";;;;;;AAMA
|
|
1
|
+
{"version":3,"file":"console-logger.service.js","sources":["../../../../../src/infrastructure/service/console-logger.service.ts"],"sourcesContent":[null],"names":["CONSOLE_LOGGER_DEFAULT_OPTIONS","ELoggerLogLevel"],"mappings":";;;;;;AAMA;;;AAGG;MACU,oBAAoB,CAAA;AAChC;;AAEG;AACc,IAAA,KAAK;AAEtB;;AAEG;AACc,IAAA,MAAM;AAEvB;;;;AAIG;AACH,IAAA,WAAA,CAAY,UAAiCA,mEAA8B,EAAA;AAC1E,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK;AAC1B,QAAA,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM;;AAG7B;;;;AAIG;IACI,KAAK,CAAC,OAAe,EAAE,OAA8B,EAAA;QAC3D,IAAI,IAAI,CAAC,SAAS,CAACC,mCAAe,CAAC,KAAK,CAAC,EAAE;AAC1C,YAAA,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,CAACA,mCAAe,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,CAA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AAK,CAAC;AAExJ,QAAA,OAAO,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;;AAE3D;;;;"}
|
|
@@ -4,6 +4,7 @@ import { type IBaseContainerOptions } from '../../../src/infrastructure/index';
|
|
|
4
4
|
* Creates a new container instance.
|
|
5
5
|
* @param {IBaseContainerOptions} options - The options to use for the container.
|
|
6
6
|
* @returns {IContainer} A new container instance.
|
|
7
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/container} for more information on containers.
|
|
7
8
|
*/
|
|
8
9
|
export declare function createContainer(options: IBaseContainerOptions): IContainer;
|
|
9
10
|
//# sourceMappingURL=container.utility.d.ts.map
|