30 lines
455 B
TypeScript
30 lines
455 B
TypeScript
interface earthquakeTypes {
|
|
reconnectTimes: number;
|
|
websocketUrl: string;
|
|
areasCsvUrl: string;
|
|
maxScaleMax: number;
|
|
rateLimit: number;
|
|
}
|
|
|
|
interface weatherTypes {
|
|
splitCount: number;
|
|
}
|
|
|
|
interface stopsTypes {
|
|
start: Date;
|
|
stop: Date;
|
|
}
|
|
|
|
interface timeTypes {
|
|
stopTimes: stopsTypes;
|
|
}
|
|
|
|
export interface configTypes {
|
|
time: timeTypes,
|
|
earthquake: earthquakeTypes;
|
|
weather: weatherTypes;
|
|
|
|
apiToken: string;
|
|
uwuzuServer: string;
|
|
}
|