Skip to content

Commit

Permalink
chore(release): 1.25.1 [skip ci]
Browse files Browse the repository at this point in the history
## [1.25.1](v1.25.0...v1.25.1) (2021-05-13)

### Bug Fixes

* **addbulk:** should not consider repeat option ([c85357e](c85357e))
  • Loading branch information
semantic-release-bot committed May 13, 2021
1 parent c85357e commit 0c50dbf
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 6 deletions.
7 changes: 7 additions & 0 deletions docs/gitbook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
13 changes: 13 additions & 0 deletions docs/gitbook/api/bullmq.bulkjoboptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bullmq](./bullmq.md) &gt; [BulkJobOptions](./bullmq.bulkjoboptions.md)

## BulkJobOptions type

<b>Signature:</b>

```typescript
export declare type BulkJobOptions = Omit<JobsOptions, 'repeat'>;
```
<b>References:</b> [JobsOptions](./bullmq.jobsoptions.md)

4 changes: 2 additions & 2 deletions docs/gitbook/api/bullmq.job.createbulk.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
static createBulk<T = any, R = any, N extends string = string>(queue: MinimalQueue, jobs: {
name: N;
data: T;
opts?: JobsOptions;
opts?: BulkJobOptions;
}[]): Promise<Job<T, R, N>[]>;
```
Expand All @@ -19,7 +19,7 @@ static createBulk<T = any, R = any, N extends string = string>(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)<!-- -->; }\[\] | |
<b>Returns:</b>
Expand Down
1 change: 1 addition & 0 deletions docs/gitbook/api/bullmq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) | |
Expand Down
6 changes: 3 additions & 3 deletions docs/gitbook/api/bullmq.queue.addbulk.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ Adds an array of jobs to the queue. add
<b>Signature:</b>

```typescript
addBulk<ParentDataType>(jobs: {
addBulk(jobs: {
name: N;
data: T;
opts?: JobsOptions;
opts?: BulkJobOptions;
}[]): Promise<Job<T, any, N>[]>;
```

## Parameters

| 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'. |

<b>Returns:</b>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 0c50dbf

Please sign in to comment.