@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":"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"}
|
|
@@ -4,6 +4,7 @@ import { CONSOLE_LOGGER_DEFAULT_OPTIONS } from '../constant/console-logger-defau
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Console logger implementation.
|
|
7
|
+
* @see {@link https://elsikora.com/docs/cladi/services/logging}
|
|
7
8
|
*/
|
|
8
9
|
class ConsoleLoggerService {
|
|
9
10
|
/**
|
|
@@ -16,7 +17,8 @@ class ConsoleLoggerService {
|
|
|
16
17
|
SOURCE;
|
|
17
18
|
/**
|
|
18
19
|
* Create a new console logger.
|
|
19
|
-
* @param {IConsoleLoggerOptions} options - The options to use for the logger.
|
|
20
|
+
* @param {IConsoleLoggerOptions} [options] - The options to use for the logger.
|
|
21
|
+
* @default
|
|
20
22
|
*/
|
|
21
23
|
constructor(options = CONSOLE_LOGGER_DEFAULT_OPTIONS) {
|
|
22
24
|
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":[],"mappings":";;;;AAMA
|
|
1
|
+
{"version":3,"file":"console-logger.service.js","sources":["../../../../../src/infrastructure/service/console-logger.service.ts"],"sourcesContent":[null],"names":[],"mappings":"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"}
|
|
@@ -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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.utility.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/utility/create/container.utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAiB,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAElF
|
|
1
|
+
{"version":3,"file":"container.utility.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/utility/create/container.utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAiB,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAElF;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,qBAAqB,GAAG,UAAU,CAE1E"}
|
|
@@ -7,6 +7,7 @@ import '../../../infrastructure/constant/console-logger-default-options.constant
|
|
|
7
7
|
* Creates a new container instance.
|
|
8
8
|
* @param {IBaseContainerOptions} options - The options to use for the container.
|
|
9
9
|
* @returns {IContainer} A new container instance.
|
|
10
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/container} for more information on containers.
|
|
10
11
|
*/
|
|
11
12
|
function createContainer(options) {
|
|
12
13
|
return new BaseContainer(options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.utility.js","sources":["../../../../../../src/presentation/utility/create/container.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAIA
|
|
1
|
+
{"version":3,"file":"container.utility.js","sources":["../../../../../../src/presentation/utility/create/container.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAIA;;;;;AAKG;AACG,SAAU,eAAe,CAAC,OAA8B,EAAA;AAC7D,IAAA,OAAO,IAAI,aAAa,CAAC,OAAO,CAAC;AAClC;;;;"}
|
|
@@ -5,6 +5,7 @@ import type { IBaseFactoryOptions } from '../../../src/infrastructure/index';
|
|
|
5
5
|
* @param {IBaseFactoryOptions<T>} options - The options to use for the factory.
|
|
6
6
|
* @returns {IFactory<T>} A new factory instance.
|
|
7
7
|
* @template T The type of items created by the factory.
|
|
8
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory} for more information on factories.
|
|
8
9
|
*/
|
|
9
10
|
export declare function createFactory<T>(options: IBaseFactoryOptions<T>): IFactory<T>;
|
|
10
11
|
//# sourceMappingURL=factory.utility.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.utility.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/utility/create/factory.utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAIjE
|
|
1
|
+
{"version":3,"file":"factory.utility.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/utility/create/factory.utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAIjE;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAE7E"}
|
|
@@ -8,6 +8,7 @@ import { BaseFactory } from '../../../infrastructure/class/base/factory.class.js
|
|
|
8
8
|
* @param {IBaseFactoryOptions<T>} options - The options to use for the factory.
|
|
9
9
|
* @returns {IFactory<T>} A new factory instance.
|
|
10
10
|
* @template T The type of items created by the factory.
|
|
11
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/factory} for more information on factories.
|
|
11
12
|
*/
|
|
12
13
|
function createFactory(options) {
|
|
13
14
|
return new BaseFactory(options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.utility.js","sources":["../../../../../../src/presentation/utility/create/factory.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAKA
|
|
1
|
+
{"version":3,"file":"factory.utility.js","sources":["../../../../../../src/presentation/utility/create/factory.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAKA;;;;;;AAMG;AACG,SAAU,aAAa,CAAI,OAA+B,EAAA;AAC/D,IAAA,OAAO,IAAI,WAAW,CAAI,OAAO,CAAC;AACnC;;;;"}
|
|
@@ -2,8 +2,10 @@ import type { ILogger } from '../../../src/domain/interface/index';
|
|
|
2
2
|
import { type IConsoleLoggerOptions } from '../../../src/infrastructure/index';
|
|
3
3
|
/**
|
|
4
4
|
* Creates a new logger instance.
|
|
5
|
-
* @param {IConsoleLoggerOptions} options - The options to use for the logger.
|
|
5
|
+
* @param {IConsoleLoggerOptions} [options] - The options to use for the logger.
|
|
6
|
+
* @default
|
|
6
7
|
* @returns {ILogger} A new logger instance.
|
|
8
|
+
* @see {@link https://elsikora.com/docs/cladi/services/logging} for more information on the logging service.
|
|
7
9
|
*/
|
|
8
10
|
export declare function createLogger(options?: IConsoleLoggerOptions): ILogger;
|
|
9
11
|
//# sourceMappingURL=logger.utility.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.utility.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/utility/create/logger.utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAwD,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEzH
|
|
1
|
+
{"version":3,"file":"logger.utility.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/utility/create/logger.utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,EAAwD,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAEzH;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,OAAO,GAAE,qBAAsD,GAAG,OAAO,CAErG"}
|
|
@@ -3,8 +3,10 @@ import { CONSOLE_LOGGER_DEFAULT_OPTIONS } from '../../../infrastructure/constant
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Creates a new logger instance.
|
|
6
|
-
* @param {IConsoleLoggerOptions} options - The options to use for the logger.
|
|
6
|
+
* @param {IConsoleLoggerOptions} [options] - The options to use for the logger.
|
|
7
|
+
* @default
|
|
7
8
|
* @returns {ILogger} A new logger instance.
|
|
9
|
+
* @see {@link https://elsikora.com/docs/cladi/services/logging} for more information on the logging service.
|
|
8
10
|
*/
|
|
9
11
|
function createLogger(options = CONSOLE_LOGGER_DEFAULT_OPTIONS) {
|
|
10
12
|
return new ConsoleLoggerService(options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.utility.js","sources":["../../../../../../src/presentation/utility/create/logger.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAIA
|
|
1
|
+
{"version":3,"file":"logger.utility.js","sources":["../../../../../../src/presentation/utility/create/logger.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAIA;;;;;;AAMG;AACa,SAAA,YAAY,CAAC,OAAA,GAAiC,8BAA8B,EAAA;AAC3F,IAAA,OAAO,IAAI,oBAAoB,CAAC,OAAO,CAAC;AACzC;;;;"}
|
|
@@ -5,6 +5,7 @@ import type { IBaseRegistryOptions } from '../../../src/infrastructure/index';
|
|
|
5
5
|
* @param {IBaseRegistryOptions} options - The options to use for the registry.
|
|
6
6
|
* @returns {IRegistry<T>} A new registry instance.
|
|
7
7
|
* @template T The type of items stored in the registry.
|
|
8
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/registry} for more information on registries.
|
|
8
9
|
*/
|
|
9
10
|
export declare function createRegistry<T extends {
|
|
10
11
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.utility.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/utility/create/registry.utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAIlE
|
|
1
|
+
{"version":3,"file":"registry.utility.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/utility/create/registry.utility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAIlE;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,OAAO,EAAE,oBAAoB,GAAG,SAAS,CAAC,CAAC,CAAC,CAEtG"}
|
|
@@ -8,6 +8,7 @@ import { BaseRegistry } from '../../../infrastructure/class/base/registry.class.
|
|
|
8
8
|
* @param {IBaseRegistryOptions} options - The options to use for the registry.
|
|
9
9
|
* @returns {IRegistry<T>} A new registry instance.
|
|
10
10
|
* @template T The type of items stored in the registry.
|
|
11
|
+
* @see {@link https://elsikora.com/docs/cladi/core-concepts/registry} for more information on registries.
|
|
11
12
|
*/
|
|
12
13
|
function createRegistry(options) {
|
|
13
14
|
return new BaseRegistry(options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.utility.js","sources":["../../../../../../src/presentation/utility/create/registry.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAKA
|
|
1
|
+
{"version":3,"file":"registry.utility.js","sources":["../../../../../../src/presentation/utility/create/registry.utility.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAKA;;;;;;AAMG;AACG,SAAU,cAAc,CAA6B,OAA6B,EAAA;AACvF,IAAA,OAAO,IAAI,YAAY,CAAI,OAAO,CAAC;AACpC;;;;"}
|