encore.dev/validate

Type Aliases

EndsWith

type EndsWith<S> = { [___validate]?: { endsWith: S; }; };

Type Parameters

S

S extends string

Properties

[___validate]?
optional [___validate]?: { endsWith: S; };
endsWith

endsWith: S


IsEmail

type IsEmail = { [___validate]?: { isEmail: true; }; };

Properties

[___validate]?
optional [___validate]?: { isEmail: true; };
isEmail

isEmail: true


IsURL

type IsURL = { [___validate]?: { isURL: true; }; };

Properties

[___validate]?
optional [___validate]?: { isURL: true; };
isURL

isURL: true


MatchesRegexp

type MatchesRegexp<S> = { [___validate]?: { matchesRegexp: S; }; };

Type Parameters

S

S extends string

Properties

[___validate]?
optional [___validate]?: { matchesRegexp: S; };
matchesRegexp

matchesRegexp: S


Max

type Max<N> = { [___validate]?: { maxValue: N; }; };

Type Parameters

N

N extends number

Properties

[___validate]?
optional [___validate]?: { maxValue: N; };
maxValue

maxValue: N


MaxLen

type MaxLen<N> = { [___validate]?: { maxLen: N; }; };

Type Parameters

N

N extends number

Properties

[___validate]?
optional [___validate]?: { maxLen: N; };
maxLen

maxLen: N


Min

type Min<N> = { [___validate]?: { minValue: N; }; };

Type Parameters

N

N extends number

Properties

[___validate]?
optional [___validate]?: { minValue: N; };
minValue

minValue: N


MinLen

type MinLen<N> = { [___validate]?: { minLen: N; }; };

Type Parameters

N

N extends number

Properties

[___validate]?
optional [___validate]?: { minLen: N; };
minLen

minLen: N


StartsWith

type StartsWith<S> = { [___validate]?: { startsWith: S; }; };

Type Parameters

S

S extends string

Properties

[___validate]?
optional [___validate]?: { startsWith: S; };
startsWith

startsWith: S