Initiale Konfiguration für Abfallkalender

This commit is contained in:
Carsten Keller 2024-02-16 18:42:30 +01:00
parent 79363af3ec
commit 5d6f14fbba
Signed by: carsten
GPG Key ID: F120DCD2D6C1CC54

30
Server/server/Config.ts Normal file
View File

@ -0,0 +1,30 @@
export interface Config {
abfall: Abfall;
abfall_after: Abfall;
}
export interface Abfall {
uri: string;
text: string;
date: string;
in_days: string;
type: string;
}
export const cfg: Config = {
"abfall": {
"uri": "/abfall",
"text": "Nächste Abholung",
"date": "trashschedule.0.next.dateFormat",
"in_days": "trashschedule.0.next.daysLeft",
"type": "trashschedule.0.next.typesText"
},
"abfall_after": {
"uri": "/danachabfall",
"text": "Kommende Abholung",
"date": "trashschedule.0.nextAfter.dateFormat",
"in_days": "trashschedule.0.nextAfter.daysLeft",
"type": "trashschedule.0.nextAfter.typesText"
}
}