mapcomplete/Customizations/Questions/BikePumpManometer.ts

20 lines
569 B
TypeScript
Raw Normal View History

2020-07-16 09:54:32 +02:00
import {TagRenderingOptions} from "../TagRendering";
import {Tag} from "../../Logic/TagsFilter";
export class BikePumpManometer extends TagRenderingOptions{
constructor() {
super({
question: "Does the pump have a pressure indicator or manometer?",
mappings: [
{k: new Tag("manometer", "yes"), txt: "Yes, there is a manometer"},
{k: new Tag("manometer","broken"), txt: "Yes, but it is broken"},
{k: new Tag("manometer", "yes"), txt: "No"}
]
});
}
}