mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
feature: stations stats
This commit is contained in:
@@ -32,10 +32,7 @@ export const useMainStore = defineStore('mainStore', {
|
||||
modalLastClickedTarget: null,
|
||||
|
||||
mousePos: { x: 0, y: 0 },
|
||||
popUpData: { key: null, content: '' },
|
||||
|
||||
stations: [] as Station[],
|
||||
trainsOnline: [] as Train[]
|
||||
popUpData: { key: null, content: '' }
|
||||
}) as MainStoreState,
|
||||
|
||||
getters: {
|
||||
|
||||
@@ -17,8 +17,6 @@ export interface MainStoreState {
|
||||
modalLastClickedTarget: EventTarget | null;
|
||||
mousePos: { x: number; y: number };
|
||||
popUpData: { key: PopUpType | null; content: string };
|
||||
stations: Station[];
|
||||
trainsOnline: Train[];
|
||||
}
|
||||
|
||||
export interface StationJSONData {
|
||||
|
||||
Reference in New Issue
Block a user