]>
Commit | Line | Data |
---|---|---|
7ed1edbb C |
1 | import { ValidatorFn } from '@angular/forms' |
2 | ||
3 | export type BuildFormValidator = { | |
4 | VALIDATORS: ValidatorFn[], | |
5 | MESSAGES: { [ name: string ]: string } | |
6 | } | |
7 | ||
8 | export type BuildFormArgument = { | |
9 | [ id: string ]: BuildFormValidator | BuildFormArgument | |
10 | } | |
11 | ||
12 | export type BuildFormDefaultValues = { | |
13 | [ name: string ]: string | string[] | BuildFormDefaultValues | |
14 | } |