Much better support for frontend field validation
This commit is contained in:
@ -243,6 +243,12 @@ export type Validators = Partial<{
|
||||
"person-name-prohibited-characters": Validators.DoIgnoreEmpty & Validators.ErrorMessage;
|
||||
uri: Validators.DoIgnoreEmpty;
|
||||
"username-prohibited-characters": Validators.DoIgnoreEmpty & Validators.ErrorMessage;
|
||||
/** Made up validator that only exists in Keycloakify */
|
||||
_compareToOther: Validators.DoIgnoreEmpty &
|
||||
Validators.ErrorMessage & {
|
||||
name: string;
|
||||
shouldBe: "equal" | "different";
|
||||
};
|
||||
}>;
|
||||
|
||||
export declare namespace Validators {
|
||||
@ -256,8 +262,8 @@ export declare namespace Validators {
|
||||
|
||||
export type Range = {
|
||||
/** "0", "1", "2"... yeah I know, don't tell me */
|
||||
min?: string;
|
||||
max?: string;
|
||||
min?: `${number}`;
|
||||
max?: `${number}`;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user