From 5cb003e51b7388a6acc50b8fd9acb0c69c119eb4 Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 2 May 2018 09:15:09 +0200 Subject: rm ISource & FileSource, combine request & parsing, split filter from parser --- src/config.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/config.ts') diff --git a/src/config.ts b/src/config.ts index b6ed360..77ab16e 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,19 +1,17 @@ -import {ISource} from './sources/ISource'; import {ISink} from './sinks/ISink'; import {ILectureFilter} from './core/ILecture'; -import {HttpSource} from './sources/HttpSource'; import {IcalSink} from './sinks/IcalSink'; export interface SplusConfig { - source: ISource; + course: string; sink: ISink; lectureFilter?: ILectureFilter; } export const config: SplusConfig = { - source: new HttpSource('#SPLUS7A3292'), + course: '#SPLUS7A3292', sink: new IcalSink('docs/informatik1.ics'), lectureFilter: lecture => { -- cgit v1.3.1