mapcomplete/Customizations/Questions/bike/PumpManometer.ts

17 lines
572 B
TypeScript
Raw Normal View History

import {TagRenderingOptions} from "../../TagRendering";
import {Tag} from "../../../Logic/TagsFilter";
2020-07-16 09:54:32 +02:00
export default class PumpManometer extends TagRenderingOptions {
2020-07-16 09:54:32 +02:00
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"}
]
});
2020-07-16 09:54:32 +02:00
}
}