czydojade/resources/ts/components/history.ts
2020-11-01 12:11:20 +01:00

14 lines
435 B
TypeScript

import Component from "vue-class-component";
import Vue from "vue";
import { History } from "../store";
import { HistoryEntry } from "../store/history";
import { Mutation } from "vuex-class";
import { Stop } from "../model";
@Component({ template: require('../../components/stop/history.html' )})
export class StopHistory extends Vue {
@History.Getter all: HistoryEntry[];
@Mutation("add") select: (stops: Stop[]) => void;
}