Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

provider.d.ts 836B

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. }