This commit is contained in:
@@ -4,6 +4,18 @@ import type {IssuesResponse} from "../types/issues";
|
||||
import type { DepartureType } from "../types/liveboard";
|
||||
import type { WeatherData } from "../types/weather";
|
||||
|
||||
export type RSS = {
|
||||
title: string,
|
||||
link: string
|
||||
}
|
||||
|
||||
export type Config = {
|
||||
trainScheduleShow: number,
|
||||
trainDelayCompute: number,
|
||||
trainCancelCompute: number,
|
||||
rssFollow: string,
|
||||
}
|
||||
|
||||
export type State = {
|
||||
trainScheduleLoading: boolean,
|
||||
departures: DepartureType[] | undefined,
|
||||
@@ -23,4 +35,10 @@ export type State = {
|
||||
|
||||
stations: undefined | Station[],
|
||||
selectedLocation: string,
|
||||
config: Config,
|
||||
|
||||
rss: RSS[] | undefined,
|
||||
rssLoading: boolean,
|
||||
rssError: Error | undefined,
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user