Test with name suggestion index

This commit is contained in:
Robin van der Linde 2024-04-25 00:56:36 +02:00
parent 00ab3a1b77
commit 6786c8f321
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
7 changed files with 371 additions and 5 deletions

View file

@ -28,6 +28,7 @@ import TagValidator from "./Validators/TagValidator"
import IdValidator from "./Validators/IdValidator"
import SlopeValidator from "./Validators/SlopeValidator"
import VeloparkValidator from "./Validators/VeloparkValidator"
import NameSuggestionIndexValidator from "./Validators/NameSuggestionIndexValidator"
export type ValidatorType = (typeof Validators.availableTypes)[number]
@ -60,6 +61,7 @@ export default class Validators {
"id",
"slope",
"velopark",
"nsi",
] as const
public static readonly AllValidators: ReadonlyArray<Validator> = [
@ -89,6 +91,7 @@ export default class Validators {
new IdValidator(),
new SlopeValidator(),
new VeloparkValidator(),
new NameSuggestionIndexValidator(),
]
private static _byType = Validators._byTypeConstructor()