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.

14 lines
607 B

4 years ago
import { DataSourceConfig } from '../utils';
import { StandardDataSource } from '../standard';
export declare class OriginBaseReader {
protected config: DataSourceConfig;
protected report: any;
constructor(config: DataSourceConfig, report: any);
translateChinese(jsonString: string): Promise<string>;
transform2Standard(data: any, _usingOperationId: boolean, _originName: string): any;
fetchMethod(url: string): Promise<string>;
fetchData(): Promise<any>;
fetchRemoteData(): Promise<StandardDataSource>;
protected checkDataSource(dataSource: StandardDataSource): void;
}