@optique/logtape 0.9.0-dev.185 → 0.9.0-dev.186
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/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Config, LogLevel, LogLevel as LogLevel$1, LogRecord, Sink, Sink as Sink$1 } from "@logtape/logtape";
|
|
2
|
-
import { ValueParser } from "@optique/core/valueparser";
|
|
2
|
+
import { NonEmptyString, ValueParser } from "@optique/core/valueparser";
|
|
3
3
|
import { Message } from "@optique/core/message";
|
|
4
4
|
import { Parser } from "@optique/core/parser";
|
|
5
5
|
|
|
@@ -18,7 +18,7 @@ interface LogLevelOptions {
|
|
|
18
18
|
* indicate what kind of value this parser expects.
|
|
19
19
|
* @default `"LEVEL"`
|
|
20
20
|
*/
|
|
21
|
-
readonly metavar?:
|
|
21
|
+
readonly metavar?: NonEmptyString;
|
|
22
22
|
/**
|
|
23
23
|
* Custom error messages for log level parsing failures.
|
|
24
24
|
*/
|
|
@@ -264,7 +264,7 @@ interface LogOutputOptions {
|
|
|
264
264
|
* The metavariable name shown in help text.
|
|
265
265
|
* @default `"FILE"`
|
|
266
266
|
*/
|
|
267
|
-
readonly metavar?:
|
|
267
|
+
readonly metavar?: NonEmptyString;
|
|
268
268
|
/**
|
|
269
269
|
* Description to show in help text.
|
|
270
270
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValueParser } from "@optique/core/valueparser";
|
|
1
|
+
import { NonEmptyString, ValueParser } from "@optique/core/valueparser";
|
|
2
2
|
import { Message } from "@optique/core/message";
|
|
3
3
|
import { Config, LogLevel, LogLevel as LogLevel$1, LogRecord, Sink, Sink as Sink$1 } from "@logtape/logtape";
|
|
4
4
|
import { Parser } from "@optique/core/parser";
|
|
@@ -18,7 +18,7 @@ interface LogLevelOptions {
|
|
|
18
18
|
* indicate what kind of value this parser expects.
|
|
19
19
|
* @default `"LEVEL"`
|
|
20
20
|
*/
|
|
21
|
-
readonly metavar?:
|
|
21
|
+
readonly metavar?: NonEmptyString;
|
|
22
22
|
/**
|
|
23
23
|
* Custom error messages for log level parsing failures.
|
|
24
24
|
*/
|
|
@@ -264,7 +264,7 @@ interface LogOutputOptions {
|
|
|
264
264
|
* The metavariable name shown in help text.
|
|
265
265
|
* @default `"FILE"`
|
|
266
266
|
*/
|
|
267
|
-
readonly metavar?:
|
|
267
|
+
readonly metavar?: NonEmptyString;
|
|
268
268
|
/**
|
|
269
269
|
* Description to show in help text.
|
|
270
270
|
*/
|