UNPKG

@unchainedshop/plugins

Version:

Because of a Typescript issue with upstream "postfinancecheckout", the Postfinance plugin has been disabled from transpilation, import the source ts files from src and enable node_module tsc or copy over the src/payment/postfinance-checkout to your projec

30 lines 831 B
import { Work } from '@unchainedshop/core-worker'; export type IWorker<P extends { workerId?: string; }> = { key: string; label: string; version: string; type: string; external: boolean; getFloorDate: (date?: Date) => Date; actions: (params: P, unchainedAPI: any) => { autorescheduleTypes: (options: { referenceDate: Date; }) => Promise<Array<Work | null>>; process: (options: { maxWorkItemCount?: number; referenceDate?: Date; }) => Promise<void>; reset: () => Promise<void>; start: () => void; stop: () => void; }; }; interface WorkerParams { workerId?: string; worker: IWorker<any>; } export declare const BaseWorker: IWorker<WorkerParams>; export {}; //# sourceMappingURL=BaseWorker.d.ts.map