diff --git a/docs/gitbook/CHANGELOG.md b/docs/gitbook/CHANGELOG.md index 0aa79af1b5..ea0faad473 100644 --- a/docs/gitbook/CHANGELOG.md +++ b/docs/gitbook/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.25.1](https://github.com/taskforcesh/bullmq/compare/v1.25.0...v1.25.1) (2021-05-13) + + +### Bug Fixes + +* **addbulk:** should not consider repeat option ([c85357e](https://github.com/taskforcesh/bullmq/commit/c85357e415b9ea66f845f751a4943b5c48c2bb18)) + # [1.25.0](https://github.com/taskforcesh/bullmq/compare/v1.24.5...v1.25.0) (2021-05-11) diff --git a/docs/gitbook/api/bullmq.bulkjoboptions.md b/docs/gitbook/api/bullmq.bulkjoboptions.md new file mode 100644 index 0000000000..71f4b4aa70 --- /dev/null +++ b/docs/gitbook/api/bullmq.bulkjoboptions.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bullmq](./bullmq.md) > [BulkJobOptions](./bullmq.bulkjoboptions.md) + +## BulkJobOptions type + +Signature: + +```typescript +export declare type BulkJobOptions = Omit; +``` +References: [JobsOptions](./bullmq.jobsoptions.md) + diff --git a/docs/gitbook/api/bullmq.job.createbulk.md b/docs/gitbook/api/bullmq.job.createbulk.md index 003d114700..81443f758f 100644 --- a/docs/gitbook/api/bullmq.job.createbulk.md +++ b/docs/gitbook/api/bullmq.job.createbulk.md @@ -10,7 +10,7 @@ static createBulk(queue: MinimalQueue, jobs: { name: N; data: T; - opts?: JobsOptions; + opts?: BulkJobOptions; }[]): Promise[]>; ``` @@ -19,7 +19,7 @@ static createBulk(queue: MinimalQue | Parameter | Type | Description | | --- | --- | --- | | queue | [MinimalQueue](./bullmq.minimalqueue.md) | | -| jobs | { name: N; data: T; opts?: [JobsOptions](./bullmq.jobsoptions.md); }\[\] | | +| jobs | { name: N; data: T; opts?: [BulkJobOptions](./bullmq.bulkjoboptions.md); }\[\] | | Returns: diff --git a/docs/gitbook/api/bullmq.md b/docs/gitbook/api/bullmq.md index 6422105cb3..72009b6350 100644 --- a/docs/gitbook/api/bullmq.md +++ b/docs/gitbook/api/bullmq.md @@ -72,6 +72,7 @@ | Type Alias | Description | | --- | --- | | [BackoffFunction](./bullmq.backofffunction.md) | | +| [BulkJobOptions](./bullmq.bulkjoboptions.md) | | | [ConnectionOptions](./bullmq.connectionoptions.md) | | | [MinimalQueue](./bullmq.minimalqueue.md) | | | [ParentOpts](./bullmq.parentopts.md) | | diff --git a/docs/gitbook/api/bullmq.queue.addbulk.md b/docs/gitbook/api/bullmq.queue.addbulk.md index 86291b4b59..55ff941c22 100644 --- a/docs/gitbook/api/bullmq.queue.addbulk.md +++ b/docs/gitbook/api/bullmq.queue.addbulk.md @@ -9,10 +9,10 @@ Adds an array of jobs to the queue. add Signature: ```typescript -addBulk(jobs: { +addBulk(jobs: { name: N; data: T; - opts?: JobsOptions; + opts?: BulkJobOptions; }[]): Promise[]>; ``` @@ -20,7 +20,7 @@ addBulk(jobs: { | Parameter | Type | Description | | --- | --- | --- | -| jobs | { name: N; data: T; opts?: [JobsOptions](./bullmq.jobsoptions.md); }\[\] | : \[\] The array of jobs to add to the queue. Each job is defined by 3 properties, 'name', 'data' and 'opts'. They follow the same signature as 'Queue.add'. | +| jobs | { name: N; data: T; opts?: [BulkJobOptions](./bullmq.bulkjoboptions.md); }\[\] | : \[\] The array of jobs to add to the queue. Each job is defined by 3 properties, 'name', 'data' and 'opts'. They follow the same signature as 'Queue.add'. | Returns: diff --git a/package.json b/package.json index 8ba707ff3e..f96ac69c67 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bullmq", - "version": "1.25.0", + "version": "1.25.1", "description": "Queue for messages and jobs based on Redis", "main": "dist/index.js", "types": "dist/index.d.ts",