UNPKG

@golemio/energetics

Version:
12 lines (11 loc) 556 B
import { IFetchDataInput } from "../interfaces/IFetchDataInput"; import { FetchDataValidationSchema } from "../schema/FetchDataSchema"; import { AbstractTask } from "@golemio/core/dist/integration-engine/workers"; export declare class FetchDataTask extends AbstractTask<IFetchDataInput> { readonly queueName = "fetchData"; readonly queueTtl: number; readonly schema: typeof FetchDataValidationSchema; constructor(queuePrefix: string); protected execute({ targetDays }: IFetchDataInput): Promise<void>; private generateDateParams; }