import { IDocument } from '.'; export interface IWorkerTask extends IDocument { functionName: string; input: Date; hash: string; output?: any; error?: any; status: string; started?: Date; finished?: Date; locks?: string[]; }