toolcraft-schema 0.0.94 → 0.0.96
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.ts +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ type InferObject<TShape extends ObjectShape> = {
|
|
|
49
49
|
};
|
|
50
50
|
type SchemaOptions<TDefault> = {
|
|
51
51
|
description?: string;
|
|
52
|
+
cliDescription?: string;
|
|
52
53
|
cliAliases?: readonly string[];
|
|
53
54
|
default?: TDefault;
|
|
54
55
|
nullable?: boolean;
|
|
@@ -67,6 +68,7 @@ type WithNullable<TSchema extends AnySchema, TOptions extends {
|
|
|
67
68
|
export interface SchemaBase<TKind extends SchemaKind, TStatic> {
|
|
68
69
|
readonly kind: TKind;
|
|
69
70
|
readonly description?: string;
|
|
71
|
+
readonly cliDescription?: string;
|
|
70
72
|
readonly cliAliases?: readonly string[];
|
|
71
73
|
readonly default?: TStatic;
|
|
72
74
|
readonly nullable?: boolean;
|