1 | import {DocCollection} from './DocCollection';
|
2 |
|
3 | export type ProcessorDef = Processor | (((...args: any[]) => Processor) & { name?: string });
|
4 |
|
5 | export interface Processor {
|
6 | $process(docs: DocCollection): DocCollection | PromiseLike<DocCollection> | void;
|
7 | name?: string;
|
8 | description?: string;
|
9 | $runBefore?: string[];
|
10 | $runAfter?: string[];
|
11 | $enabled?: boolean;
|
12 | $package?: string;
|
13 | }
|
14 |
|
\ | No newline at end of file |