mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
restrukturyzacja storów
This commit is contained in:
@@ -11,24 +11,7 @@ export interface RegionCounters {
|
||||
}
|
||||
|
||||
export interface StoreState {
|
||||
stationList: Station[];
|
||||
activeData: API.ActiveData.Response;
|
||||
rollingStockData?: API.RollingStock.Response;
|
||||
donatorsData: API.Donators.Response;
|
||||
|
||||
regionOnlineCounters: RegionCounters[];
|
||||
|
||||
lastDispatcherStatuses: {
|
||||
hash: string;
|
||||
statusTimestamp: number;
|
||||
statusID: Status.ActiveDispatcher;
|
||||
}[];
|
||||
|
||||
sceneryData: any[][];
|
||||
|
||||
region: { id: string; value: string };
|
||||
trainCount: number;
|
||||
stationCount: number;
|
||||
|
||||
isOffline: boolean;
|
||||
|
||||
@@ -41,24 +24,8 @@ export interface StoreState {
|
||||
|
||||
chosenModalTrainId?: string;
|
||||
|
||||
dataStatuses: {
|
||||
connection: Status.Data;
|
||||
sceneries: Status.Data;
|
||||
timetables: Status.Data;
|
||||
dispatchers: Status.Data;
|
||||
trains: Status.Data;
|
||||
};
|
||||
|
||||
listenerLaunched: boolean;
|
||||
blockScroll: boolean;
|
||||
modalLastClickedTarget: EventTarget | null;
|
||||
|
||||
tooltip: {
|
||||
visible: boolean;
|
||||
x: number;
|
||||
y: number;
|
||||
content: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface StationRoutesInfo {
|
||||
|
||||
Reference in New Issue
Block a user