blob: 31c253b9b61e317e685872896d056573e8826276 (
plain) (
tree)
|
|
import { AsyncValidatorFn, ValidatorFn } from '@angular/forms'
export type BuildFormValidator = {
VALIDATORS: ValidatorFn[]
ASYNC_VALIDATORS?: AsyncValidatorFn[]
MESSAGES: { [ name: string ]: string }
}
export type BuildFormArgument = {
[ id: string ]: BuildFormValidator | BuildFormArgument
}
export type BuildFormDefaultValues = {
[ name: string ]: number | string | string[] | BuildFormDefaultValues
}
|