Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

provider.d.ts 817B

12345678910111213141516171819
  1. import { Task } from '../managers/tasks';
  2. import Settings from '../settings';
  3. import { MicromatchOptions, ReaderOptions } from '../types';
  4. import DeepFilter from './filters/deep';
  5. import EntryFilter from './filters/entry';
  6. import ErrorFilter from './filters/error';
  7. import EntryTransformer from './transformers/entry';
  8. export default abstract class Provider<T> {
  9. protected readonly _settings: Settings;
  10. readonly errorFilter: ErrorFilter;
  11. readonly entryFilter: EntryFilter;
  12. readonly deepFilter: DeepFilter;
  13. readonly entryTransformer: EntryTransformer;
  14. constructor(_settings: Settings);
  15. abstract read(_task: Task): T;
  16. protected _getRootDirectory(task: Task): string;
  17. protected _getReaderOptions(task: Task): ReaderOptions;
  18. protected _getMicromatchOptions(): MicromatchOptions;
  19. }