mapcomplete/Customizations/Questions/bike/PumpOperationalStatus.ts

16 lines
553 B
TypeScript
Raw Normal View History

import {TagRenderingOptions} from "../../TagRendering";
import {Tag} from "../../../Logic/TagsFilter";
2020-07-16 14:21:06 +02:00
export default class PumpOperationalStatus extends TagRenderingOptions{
2020-07-16 14:21:06 +02:00
constructor() {
super({
question: "Is the bicycle pump still operational?",
mappings: [
{k: new Tag("service:bicycle:pump:operational_status","broken"), txt: "This pump is broken"},
{k: new Tag("service:bicycle:pump:operational_status",""), txt: "This pump is operational"}
]
});
}
}