@venizia/ignis-helpers 0.2.1-2 → 0.2.1-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/common/types/const-value.d.ts +3 -3
- package/dist/cjs/common/types/const-value.d.ts.map +1 -1
- package/dist/cjs/modules/logger/pino/backing.d.ts +2 -2
- package/dist/esm/common/types/const-value.d.ts +3 -3
- package/dist/esm/common/types/const-value.d.ts.map +1 -1
- package/dist/esm/modules/logger/pino/backing.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TClass } from './class';
|
|
2
2
|
import type { ValueOf } from './utility';
|
|
3
|
-
export type TStringConstValue<T extends TClass<any>> = Extract<ValueOf<T>, string
|
|
4
|
-
export type TNumberConstValue<T extends TClass<any>> = Extract<ValueOf<T>, number
|
|
5
|
-
export type TConstValue<T extends TClass<any>> = Extract<ValueOf<T>, string | number
|
|
3
|
+
export type TStringConstValue<T extends TClass<any>> = Extract<ValueOf<T>, string> & {};
|
|
4
|
+
export type TNumberConstValue<T extends TClass<any>> = Extract<ValueOf<T>, number> & {};
|
|
5
|
+
export type TConstValue<T extends TClass<any>> = Extract<ValueOf<T>, string | number> & {};
|
|
6
6
|
//# sourceMappingURL=const-value.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const-value.d.ts","sourceRoot":"","sources":["../../../../src/common/types/const-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"const-value.d.ts","sourceRoot":"","sources":["../../../../src/common/types/const-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOzC,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC;AACxF,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC;AACxF,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare class PinoBackingLogger {
|
|
|
7
7
|
/** Pure: pino constructor options derived from env at CALL time. Public so tests can build a REAL instance against an in-memory destination, without the impure singleton. */
|
|
8
8
|
static buildOptions(): {
|
|
9
9
|
name: string;
|
|
10
|
-
level:
|
|
10
|
+
level: import("../common").TLogLevel;
|
|
11
11
|
customLevels: Record<"emerg", number>;
|
|
12
12
|
};
|
|
13
13
|
/** Lazy, env-driven singleton, built once and reused by every scope entirely synchronously - the very first log line already targets the real env-configured destination, no stdout bootstrap. `set()` is the only way to replace it; this getter never resets it. */
|
|
@@ -20,7 +20,7 @@ export declare class PinoBackingLogger {
|
|
|
20
20
|
}
|
|
21
21
|
export declare const buildPinoOptions: () => {
|
|
22
22
|
name: string;
|
|
23
|
-
level:
|
|
23
|
+
level: import("../common").TLogLevel;
|
|
24
24
|
customLevels: Record<"emerg", number>;
|
|
25
25
|
};
|
|
26
26
|
export declare const getPinoBackingLogger: () => TPinoInstance;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TClass } from './class.js';
|
|
2
2
|
import type { ValueOf } from './utility.js';
|
|
3
|
-
export type TStringConstValue<T extends TClass<any>> = Extract<ValueOf<T>, string
|
|
4
|
-
export type TNumberConstValue<T extends TClass<any>> = Extract<ValueOf<T>, number
|
|
5
|
-
export type TConstValue<T extends TClass<any>> = Extract<ValueOf<T>, string | number
|
|
3
|
+
export type TStringConstValue<T extends TClass<any>> = Extract<ValueOf<T>, string> & {};
|
|
4
|
+
export type TNumberConstValue<T extends TClass<any>> = Extract<ValueOf<T>, number> & {};
|
|
5
|
+
export type TConstValue<T extends TClass<any>> = Extract<ValueOf<T>, string | number> & {};
|
|
6
6
|
//# sourceMappingURL=const-value.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const-value.d.ts","sourceRoot":"","sources":["../../../../src/common/types/const-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"const-value.d.ts","sourceRoot":"","sources":["../../../../src/common/types/const-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOzC,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC;AACxF,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC;AACxF,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare class PinoBackingLogger {
|
|
|
7
7
|
/** Pure: pino constructor options derived from env at CALL time. Public so tests can build a REAL instance against an in-memory destination, without the impure singleton. */
|
|
8
8
|
static buildOptions(): {
|
|
9
9
|
name: string;
|
|
10
|
-
level:
|
|
10
|
+
level: import("../index.js").TLogLevel;
|
|
11
11
|
customLevels: Record<"emerg", number>;
|
|
12
12
|
};
|
|
13
13
|
/** Lazy, env-driven singleton, built once and reused by every scope entirely synchronously - the very first log line already targets the real env-configured destination, no stdout bootstrap. `set()` is the only way to replace it; this getter never resets it. */
|
|
@@ -20,7 +20,7 @@ export declare class PinoBackingLogger {
|
|
|
20
20
|
}
|
|
21
21
|
export declare const buildPinoOptions: () => {
|
|
22
22
|
name: string;
|
|
23
|
-
level:
|
|
23
|
+
level: import("../index.js").TLogLevel;
|
|
24
24
|
customLevels: Record<"emerg", number>;
|
|
25
25
|
};
|
|
26
26
|
export declare const getPinoBackingLogger: () => TPinoInstance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venizia/ignis-helpers",
|
|
3
|
-
"version": "0.2.1-
|
|
3
|
+
"version": "0.2.1-3",
|
|
4
4
|
"description": "Production-ready TypeScript utility library: pluggable logging (winston or pino behind one ILogger contract), Redis single/cluster/sentinel with pub/sub, BullMQ/MQTT/Kafka message queues, MinIO/Disk/Bun-S3 object storage, AES-256/RSA/ECDH cryptography, Snowflake UID generation, cron scheduling, Socket.IO/WebSocket, TCP/TLS/UDP networking, HTTP clients, secrets/Vault, worker thread pools, and environment management. Sub-path imports isolate optional peer dependencies so the root barrel never forces a peer into your bundle.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aes",
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
},
|
|
229
229
|
"dependencies": {
|
|
230
230
|
"zod": "^4.5.4",
|
|
231
|
-
"@venizia/ignis-inversion": "^0.2.1-
|
|
231
|
+
"@venizia/ignis-inversion": "^0.2.1-1",
|
|
232
232
|
"reflect-metadata": "^0.2.2"
|
|
233
233
|
},
|
|
234
234
|
"peerDependencies": {
|