enonic-wizardry
Advanced tools
Comparing version 0.3.4 to 0.3.5
{ | ||
"name": "enonic-wizardry", | ||
"sideEffects": false, | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Functional utility library for Enonic XP", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
@@ -13,4 +13,4 @@ import { Type } from 'io-ts'; | ||
} | ||
export declare function RegexpValidatedString<A extends string>(props: RegexpValidatedStringProps): t.Type<A, A, unknown>; | ||
export declare function RegexpValidatedString<A extends string | undefined>(props: RegexpValidatedStringProps<true>): t.Type<A, A, unknown>; | ||
export declare function RegexpValidatedString(props: RegexpValidatedStringProps): t.Type<string, string>; | ||
export declare function RegexpValidatedString(props: RegexpValidatedStringProps<true>): t.Type<string | undefined, string | undefined>; | ||
export interface MaxLengthValidatedStringProps<A extends boolean = false> { | ||
@@ -20,4 +20,4 @@ readonly maxLength: number; | ||
} | ||
export declare function MaxLengthValidatedString<A extends string>(props: MaxLengthValidatedStringProps): t.Type<A, A, unknown>; | ||
export declare function MaxLengthValidatedString<A extends string | undefined>(props: MaxLengthValidatedStringProps<true>): t.Type<A, A, unknown>; | ||
export declare function MaxLengthValidatedString(props: MaxLengthValidatedStringProps): t.Type<string, string>; | ||
export declare function MaxLengthValidatedString(props: MaxLengthValidatedStringProps<true>): t.Type<string | undefined, string | undefined>; | ||
export interface MinMaxValidatedNumberProps<A extends boolean = false> { | ||
@@ -28,3 +28,3 @@ readonly min?: number; | ||
} | ||
export declare function MinMaxValidatedNumber<A extends number>(props: MinMaxValidatedNumberProps): t.Type<A, A, unknown>; | ||
export declare function MinMaxValidatedNumber<A extends number | undefined>(props: MinMaxValidatedNumberProps<true>): t.Type<A, A, unknown>; | ||
export declare function MinMaxValidatedNumber(props: MinMaxValidatedNumberProps): t.Type<string, string>; | ||
export declare function MinMaxValidatedNumber(props: MinMaxValidatedNumberProps<true>): t.Type<string | undefined, string | undefined>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21961