- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
20 lines
592 B
TypeScript
20 lines
592 B
TypeScript
import { JobsOptions } from '../types';
|
|
import { QueueOptions } from './queue-options';
|
|
export interface FlowJobBase<T> {
|
|
name: string;
|
|
queueName: string;
|
|
data?: any;
|
|
prefix?: string;
|
|
opts?: Omit<T, 'repeat'>;
|
|
children?: FlowChildJob[];
|
|
}
|
|
export type FlowChildJob = FlowJobBase<Omit<JobsOptions, 'parent'>>;
|
|
export type FlowJob = FlowJobBase<JobsOptions>;
|
|
export type FlowQueuesOpts = Record<string, Omit<QueueOptions, 'connection' | 'prefix'>>;
|
|
export interface FlowOpts {
|
|
/**
|
|
* Map of options for Queue classes.
|
|
*/
|
|
queuesOptions: FlowQueuesOpts;
|
|
}
|