@anglr/common 18.0.0-beta.20230823095018 → 18.0.0-beta.20230823100805
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/modules/logger/misc/types.ts"],"names":[],"mappings":"","sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/modules/logger/misc/types.ts"],"names":[],"mappings":"","sourcesContent":["import {Action1} from '@jscrpt/common';\n\nimport {LogLevel} from '../types';\nimport {LoggerConfiguration, LoggerSinkType} from '../interfaces';\n\n/**\n * Getter for obtaining minimum log level\n */\nexport type MinLogLevelGetter = () => LogLevel;\n\n/**\n * Factory that is used for obtaining minimum log level getter\n */\nexport type MinLogLevelGetterFactory = () => MinLogLevelGetter;\n\n/**\n * Static log level, or function that returns log level or function that returns function which is used like getter for log level\n */\nexport type MinimumLevelConfig = LogLevel|MinLogLevelGetter|MinLogLevelGetterFactory;\n\n/**\n * Type of sink or function that creates sublogger with custom configuration\n */\nexport type WriteToConfig = LoggerSinkType|Action1<LoggerConfiguration>;"]}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Action1 } from '@jscrpt/common';
|
|
2
2
|
import { LogLevel } from '../types';
|
|
3
3
|
import { LoggerConfiguration, LoggerSinkType } from '../interfaces';
|
|
4
4
|
/**
|
|
@@ -16,5 +16,5 @@ export type MinimumLevelConfig = LogLevel | MinLogLevelGetter | MinLogLevelGette
|
|
|
16
16
|
/**
|
|
17
17
|
* Type of sink or function that creates sublogger with custom configuration
|
|
18
18
|
*/
|
|
19
|
-
export type WriteToConfig = LoggerSinkType |
|
|
19
|
+
export type WriteToConfig = LoggerSinkType | Action1<LoggerConfiguration>;
|
|
20
20
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAEvC,OAAO,EAAC,QAAQ,EAAC,MAAM,UAAU,CAAC;AAClC,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,eAAe,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,QAAQ,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,MAAM,iBAAiB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAC,iBAAiB,GAAC,wBAAwB,CAAC;AAErF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,cAAc,GAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC"}
|
package/version.bak
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
18.0.0-beta.
|
|
1
|
+
18.0.0-beta.20230823100805
|