diff --git a/docs/gitbook/CHANGELOG.md b/docs/gitbook/CHANGELOG.md index ac8f20e58d..dd77f04021 100644 --- a/docs/gitbook/CHANGELOG.md +++ b/docs/gitbook/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.20.4](https://github.com/taskforcesh/bullmq/compare/v1.20.3...v1.20.4) (2021-04-23) + + +### Bug Fixes + +* remove internal deps on barrel fixes [#469](https://github.com/taskforcesh/bullmq/issues/469) ([#495](https://github.com/taskforcesh/bullmq/issues/495)) ([60dbeed](https://github.com/taskforcesh/bullmq/commit/60dbeed7ff1d9b6cb0e35590713fee8a7be09477)) + ## [1.20.3](https://github.com/taskforcesh/bullmq/compare/v1.20.2...v1.20.3) (2021-04-23) diff --git a/docs/gitbook/api/bullmq.queue.getrepeatablejobs.md b/docs/gitbook/api/bullmq.queue.getrepeatablejobs.md index 283d1da027..b2a1eeb2f9 100644 --- a/docs/gitbook/api/bullmq.queue.getrepeatablejobs.md +++ b/docs/gitbook/api/bullmq.queue.getrepeatablejobs.md @@ -11,12 +11,7 @@ getRepeatableJobs(start?: number, end?: number, asc?: boolean): Promise<{ key: string; name: string; id: string; - endDate: number; /** - * Drains the queue, i.e., removes all jobs that are waiting - * or delayed, but not active, completed or failed. - * - * TODO: Convert to an atomic LUA script. - */ + endDate: number; tz: string; cron: string; next: number; @@ -33,5 +28,5 @@ getRepeatableJobs(start?: number, end?: number, asc?: boolean): Promise<{ Returns: -Promise<{ key: string; name: string; id: string; endDate: number; /\*\* \* Drains the queue, i.e., removes all jobs that are waiting \* or delayed, but not active, completed or failed. \* \* TODO: Convert to an atomic LUA script. \*/ tz: string; cron: string; next: number; }\[\]> +Promise<{ key: string; name: string; id: string; endDate: number; tz: string; cron: string; next: number; }\[\]> diff --git a/docs/gitbook/api/bullmq.scripts.movetoactive.md b/docs/gitbook/api/bullmq.scripts.movetoactive.md index 7160c00276..5d5ea48942 100644 --- a/docs/gitbook/api/bullmq.scripts.movetoactive.md +++ b/docs/gitbook/api/bullmq.scripts.movetoactive.md @@ -7,7 +7,7 @@ Signature: ```typescript -static moveToActive(worker: Worker, token: string, jobId?: string): Promise<[] | [JobJsonRaw, string] | [number, undefined]>; +static moveToActive(worker: Worker, token: string, jobId?: string): Promise<[] | [number, undefined] | [JobJsonRaw, string]>; ``` ## Parameters @@ -20,5 +20,5 @@ static moveToActive(worker: Worker, token: stri Returns: -Promise<\[\] \| \[[JobJsonRaw](./bullmq.jobjsonraw.md), string\] \| \[number, undefined\]> +Promise<\[\] \| \[number, undefined\] \| \[[JobJsonRaw](./bullmq.jobjsonraw.md), string\]> diff --git a/package.json b/package.json index ccb7fdf257..622b479678 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bullmq", - "version": "1.20.3", + "version": "1.20.4", "description": "Queue for messages and jobs based on Redis", "main": "dist/index.js", "types": "dist/index.d.ts",