Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
817 bytes
|
Rev | Line | |
---|
[6a3a178] | 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 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.