Files
simple-mail-cleaner/backend/node_modules/bullmq/dist/esm/interfaces/parent.d.ts
2026-01-22 15:49:12 +01:00

25 lines
503 B
TypeScript

import { JobsOptions } from '../types/job-options';
/**
* Describes the parent for a Job.
*/
export interface Parent<T> {
name: string;
prefix?: string;
queue?: string;
data?: T;
opts?: JobsOptions;
}
export interface ParentKeys {
id?: string;
queueKey: string;
fpof?: boolean;
rdof?: boolean;
idof?: boolean;
cpof?: boolean;
}
export type ParentKeyOpts = {
addToWaitingChildren?: boolean;
parentDependenciesKey?: string;
parentKey?: string;
};