diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-02 10:46:09 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2018-05-02 10:46:09 +0200 |
| commit | 56e56860fce961eaefdf90dcfb5c705c76426ac5 (patch) | |
| tree | b582404b697bde659e8f1e3031d7d434389264bf /src/config.ts | |
| parent | 89dc57311e3a64086a4224b79015161080aef885 (diff) | |
| download | splus-56e56860fce961eaefdf90dcfb5c705c76426ac5.tar.gz splus-56e56860fce961eaefdf90dcfb5c705c76426ac5.zip | |
Fetch data for multiple weeks
Diffstat (limited to 'src/config.ts')
| -rw-r--r-- | src/config.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.ts b/src/config.ts index 77ab16e..a4f6691 100644 --- a/src/config.ts +++ b/src/config.ts @@ -6,6 +6,7 @@ import {IcalSink} from './sinks/IcalSink'; export interface SplusConfig { course: string; sink: ISink; + prefetchWeeks: number; lectureFilter?: ILectureFilter; } @@ -13,6 +14,7 @@ export interface SplusConfig { export const config: SplusConfig = { course: '#SPLUS7A3292', sink: new IcalSink('docs/informatik1.ics'), + prefetchWeeks: 4, lectureFilter: lecture => { // Filter some lectures out |
