diff --git a/Server/server/Config.ts b/Server/server/Config.ts new file mode 100644 index 0000000..0bd6e38 --- /dev/null +++ b/Server/server/Config.ts @@ -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" + } +} \ No newline at end of file