22 lines
720 B
TypeScript
22 lines
720 B
TypeScript
import { Component, Prop } from "vue-property-decorator";
|
|
import store, { DeparturesSettings } from "../../store";
|
|
import Vue from "vue";
|
|
import { DeparturesSettingsState } from "../../store/settings/departures";
|
|
|
|
@Component({ template: require("../../../components/settings/departures.html"), store })
|
|
export class SettingsDepartures extends Vue {
|
|
@DeparturesSettings.State
|
|
public autorefresh: boolean;
|
|
|
|
@DeparturesSettings.State
|
|
public autorefreshInterval: number;
|
|
|
|
@DeparturesSettings.State
|
|
public displayedEntriesCount: number;
|
|
|
|
@DeparturesSettings.Mutation
|
|
public update: (state: Partial<DeparturesSettingsState>) => void;
|
|
}
|
|
|
|
Vue.component('SettingsDepartures', SettingsDepartures);
|