mapcomplete/Customizations/Questions/PumpManual.ts

19 lines
544 B
TypeScript
Raw Normal View History

2020-07-07 16:39:11 +02:00
import {TagRenderingOptions} from "../TagRendering";
import {Tag} from "../../Logic/TagsFilter";
export default class PumpManual extends TagRenderingOptions {
2020-07-07 16:39:11 +02:00
private static options = {
priority: 5,
question: "Is the pump at this bike station manual or automatic (compressed air)?",
2020-07-07 16:39:11 +02:00
mappings: [
{k: new Tag("manual", "yes"), txt: "Manual"},
{k: new Tag("manual", "no"), txt: "Automatic (with compressed air)"}
2020-07-07 16:39:11 +02:00
]
}
constructor() {
super(PumpManual.options);
}
}