Review funkt

This commit is contained in:
2026-08-09 21:56:00 +00:00
parent f522ae9953
commit fe9dfa4519
11366 changed files with 2335077 additions and 97 deletions

35
node_modules/bullmq/dist/esm/interfaces/flow-job.d.ts generated vendored Normal file
View File

@@ -0,0 +1,35 @@
import { DeduplicationOptions, JobsOptions } from '../types';
import { QueueOptions } from './queue-options';
type FlowDeduplicationOptions = Omit<DeduplicationOptions, 'replace'>;
type FlowJobOpts = Omit<JobsOptions, 'deduplication'> & {
deduplication?: FlowDeduplicationOptions;
};
type FlowParentJobOpts = Omit<FlowJobOpts, 'deduplication' | 'parent' | 'repeat'>;
type FlowNestedLeafJobOpts = Omit<FlowJobOpts, 'parent' | 'repeat'>;
type FlowRootLeafJobOpts = Omit<FlowJobOpts, 'repeat'>;
export interface FlowJobBase<T> {
name: string;
queueName: string;
data?: any;
prefix?: string;
opts?: T;
}
export type FlowNestedLeafJob = FlowJobBase<FlowNestedLeafJobOpts> & {
children?: never;
};
export type FlowParentJob = FlowJobBase<FlowParentJobOpts> & {
children: FlowJobNode[];
};
export type FlowJobNode = FlowParentJob | FlowNestedLeafJob;
export type FlowRootLeafJob = FlowJobBase<FlowRootLeafJobOpts> & {
children?: never;
};
export type FlowJob = FlowRootLeafJob | FlowJobNode;
export type FlowQueuesOpts = Record<string, Omit<QueueOptions, 'connection' | 'prefix'>>;
export interface FlowOpts {
/**
* Map of options for Queue classes.
*/
queuesOptions: FlowQueuesOpts;
}
export {};