@optique/valibot 0.9.0-dev.185 → 0.9.0-dev.187

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 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 * as v from "valibot";
4
4
 
@@ -15,7 +15,7 @@ interface ValibotParserOptions {
15
15
  * word in uppercase, like `VALUE` or `SCHEMA`.
16
16
  * @default `"VALUE"`
17
17
  */
18
- readonly metavar?: string;
18
+ readonly metavar?: NonEmptyString;
19
19
  /**
20
20
  * Custom error messages for Valibot validation failures.
21
21
  */
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Message } from "@optique/core/message";
2
2
  import * as v from "valibot";
3
- import { ValueParser } from "@optique/core/valueparser";
3
+ import { NonEmptyString, ValueParser } from "@optique/core/valueparser";
4
4
 
5
5
  //#region src/index.d.ts
6
6
 
@@ -15,7 +15,7 @@ interface ValibotParserOptions {
15
15
  * word in uppercase, like `VALUE` or `SCHEMA`.
16
16
  * @default `"VALUE"`
17
17
  */
18
- readonly metavar?: string;
18
+ readonly metavar?: NonEmptyString;
19
19
  /**
20
20
  * Custom error messages for Valibot validation failures.
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/valibot",
3
- "version": "0.9.0-dev.185+de757baf",
3
+ "version": "0.9.0-dev.187+992128e2",
4
4
  "description": "Valibot value parsers for Optique",
5
5
  "keywords": [
6
6
  "CLI",