]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/form-validators/form-validator.model.ts
Move to sass module
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / form-validators / form-validator.model.ts
CommitLineData
7ed1edbb
C
1import { ValidatorFn } from '@angular/forms'
2
3export type BuildFormValidator = {
4 VALIDATORS: ValidatorFn[],
5 MESSAGES: { [ name: string ]: string }
6}
7
8export type BuildFormArgument = {
9 [ id: string ]: BuildFormValidator | BuildFormArgument
10}
11
12export type BuildFormDefaultValues = {
21e493d4 13 [ name: string ]: number | string | string[] | BuildFormDefaultValues
7ed1edbb 14}