MapComplete/src/UI/InputElement/Validators/CollectionTimesValidator.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
610 B
TypeScript
Raw Normal View History

import StringValidator from "./StringValidator"
2025-07-28 03:14:33 +02:00
import { ComponentType } from "svelte/types/runtime/internal/dev"
import CollectionTimes from "../Helpers/CollectionTimes/CollectionTimes.svelte"
2025-08-13 23:06:38 +02:00
export default class CollectionTimesValidator extends StringValidator {
2025-07-28 03:14:33 +02:00
public readonly inputHelper: ComponentType = CollectionTimes
constructor() {
2025-08-13 23:06:38 +02:00
super(
"points_in_time",
"'Points in time' are points according to a fixed schedule, e.g. 'every monday at 10:00'. They are typically used for postbox collection times or times of mass at a place of worship"
)
}
}