forked from MapComplete/MapComplete
Refactoring: remove some old, UIElement based code
This commit is contained in:
parent
b84655f2cb
commit
56a55e8b54
14 changed files with 58 additions and 261 deletions
|
|
@ -28,6 +28,7 @@ import VeloparkValidator from "./Validators/VeloparkValidator"
|
|||
import NameSuggestionIndexValidator from "./Validators/NameSuggestionIndexValidator"
|
||||
import CurrencyValidator from "./Validators/CurrencyValidator"
|
||||
import RegexValidator from "./Validators/RegexValidator"
|
||||
import { TimeValidator } from "./Validators/TimeValidator"
|
||||
|
||||
export type ValidatorType = (typeof Validators.availableTypes)[number]
|
||||
|
||||
|
|
@ -36,6 +37,7 @@ export default class Validators {
|
|||
"color",
|
||||
"currency",
|
||||
"date",
|
||||
"time",
|
||||
"direction",
|
||||
"distance",
|
||||
"email",
|
||||
|
|
@ -68,6 +70,7 @@ export default class Validators {
|
|||
new StringValidator(),
|
||||
new TextValidator(),
|
||||
new DateValidator(),
|
||||
new TimeValidator(),
|
||||
new NatValidator(),
|
||||
new IntValidator(),
|
||||
new DistanceValidator(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue