mapcomplete/Customizations/Questions/bike/StationStand.ts

19 lines
599 B
TypeScript
Raw Normal View History

import {Tag} from "../../../Logic/TagsFilter";
2020-07-20 21:43:42 +00:00
import Translations from "../../../UI/i18n/Translations";
2020-07-31 15:38:03 +00:00
import {TagRenderingOptions} from "../../TagRenderingOptions";
export default class BikeStationStand extends TagRenderingOptions {
constructor() {
const to = Translations.t.cyclofix.station.stand;
super({
priority: 10,
question: to.question,
mappings: [
{k: new Tag("service:bicycle:stand", "yes"), txt: to.yes},
{k: new Tag("service:bicycle:stand", "no"), txt: to.no},
]
});
}
}