diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-02 09:15:09 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-02 09:15:09 +0200 |
| commit | 5cb003e51b7388a6acc50b8fd9acb0c69c119eb4 (patch) | |
| tree | da07bfcdcf8bd1baf29cdf4d6d080614692b7385 /src/config.ts | |
| parent | 567a0f7a2f248cd25b8a5e0e357f9b10c16a9036 (diff) | |
| download | splus-5cb003e51b7388a6acc50b8fd9acb0c69c119eb4.tar.gz splus-5cb003e51b7388a6acc50b8fd9acb0c69c119eb4.zip | |
rm ISource & FileSource, combine request & parsing, split filter from parser
Diffstat (limited to 'src/config.ts')
| -rw-r--r-- | src/config.ts | 6 |
1 files changed, 2 insertions, 4 deletions
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 => { |
