Initial commit of working RSS Aggregator build
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
import { ParserOptions } from 'cron-parser';
|
||||
/**
|
||||
* Settings for repeatable jobs
|
||||
*
|
||||
* @see {@link https://docs.bullmq.io/guide/jobs/repeatable}
|
||||
*/
|
||||
export interface RepeatOptions extends Omit<ParserOptions, 'iterator'> {
|
||||
/**
|
||||
* A repeat pattern
|
||||
*/
|
||||
pattern?: string;
|
||||
/**
|
||||
* Number of times the job should repeat at max.
|
||||
*/
|
||||
limit?: number;
|
||||
/**
|
||||
* Repeat after this amount of milliseconds
|
||||
* (`pattern` setting cannot be used together with this setting.)
|
||||
*/
|
||||
every?: number;
|
||||
/**
|
||||
* Repeated job should start right now
|
||||
* ( work only with every settings)
|
||||
*/
|
||||
immediately?: boolean;
|
||||
/**
|
||||
* The start value for the repeat iteration count.
|
||||
*/
|
||||
count?: number;
|
||||
prevMillis?: number;
|
||||
offset?: number;
|
||||
jobId?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user