mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-10 04:50:11 +08:00
10 lines
385 B
TypeScript
10 lines
385 B
TypeScript
|
|
import { Task } from '../managers/tasks';
|
||
|
|
import ReaderSync from '../readers/sync';
|
||
|
|
import { Entry, EntryItem, ReaderOptions } from '../types';
|
||
|
|
import Provider from './provider';
|
||
|
|
export default class ProviderSync extends Provider<EntryItem[]> {
|
||
|
|
protected _reader: ReaderSync;
|
||
|
|
read(task: Task): EntryItem[];
|
||
|
|
api(root: string, task: Task, options: ReaderOptions): Entry[];
|
||
|
|
}
|