@golemio/pid
Version:
Golemio PID Module
17 lines (16 loc) • 1.02 kB
TypeScript
import { JISInfotextsDataService } from "../../services/JISInfotextsDataService";
import { JISInfotextsTransformation } from "../../transformations/JISInfotextsTransformation";
import { AbstractTaskJsonSchema } from "@golemio/core/dist/integration-engine/workers/AbstractTaskJsonSchema";
import { JSONSchemaValidator } from "@golemio/core/dist/shared/golemio-validator";
import { IJISInfotext } from "../../../../schema-definitions/jis/datasources/interfaces";
export declare class RefreshJISInfotextsTask extends AbstractTaskJsonSchema<IJISInfotext[]> {
private infotextsDataService;
private infotextsTransformation;
readonly schema: JSONSchemaValidator;
readonly queueName = "refreshJISInfotexts";
readonly queueTtl: number;
constructor(infotextsDataService: JISInfotextsDataService, infotextsTransformation: JISInfotextsTransformation);
/** refresh JIS Infotexts data in database */
protected execute(data: IJISInfotext[]): Promise<void>;
private getEntitiesFromTransformationResult;
}