@golemio/pid
Version:
Golemio PID Module
13 lines (12 loc) • 782 B
TypeScript
import { ITableStorageRetentionParams } from "../interfaces/ITableStorageRetentionParams";
import { TableStorageRetentionSchema } from "../schema/TableStorageRetentionSchema";
import { ITableStorageService } from "@golemio/core/dist/helpers/data-access/table-storage/providers/interfaces/ITableStorageService";
import { AbstractTask } from "@golemio/core/dist/integration-engine";
export declare class TableStorageRetentionTask extends AbstractTask<ITableStorageRetentionParams> {
private storageService;
readonly queueName = "deleteMonthOldStorageData";
readonly queueTtl: number;
readonly schema: typeof TableStorageRetentionSchema;
constructor(storageService: ITableStorageService);
protected execute(data: ITableStorageRetentionParams): Promise<void>;
}