@types/bull
Advanced tools
Comparing version 3.4.0 to 3.4.1
@@ -14,2 +14,3 @@ // Type definitions for bull 3.4 | ||
// Dan Manastireanu <https://github.com/danmana> | ||
// Kjell-Morten Bratsberg Thorsen <https://github.com/kjellmorten> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -198,2 +199,3 @@ // TypeScript Version: 2.8 | ||
type JobStatus = 'completed' | 'waiting' | 'active' | 'delayed' | 'failed'; | ||
type JobStatusClean = 'completed' | 'wait' | 'active' | 'delayed' | 'failed'; | ||
@@ -640,3 +642,3 @@ interface BackoffOptions { | ||
* Tells the queue remove all jobs created outside of a grace period in milliseconds. | ||
* You can clean the jobs with the following states: completed, waiting, active, delayed, and failed. | ||
* You can clean the jobs with the following states: completed, wait (typo for waiting), active, delayed, and failed. | ||
* @param grace Grace period in milliseconds. | ||
@@ -646,3 +648,3 @@ * @param status Status of the job to clean. Values are completed, wait, active, delayed, and failed. Defaults to completed. | ||
*/ | ||
clean(grace: number, status?: JobStatus, limit?: number): Promise<Array<Job<T>>>; | ||
clean(grace: number, status?: JobStatusClean, limit?: number): Promise<Array<Job<T>>>; | ||
@@ -741,3 +743,3 @@ /** | ||
type CleanedEventCallback<T = any> = (jobs: Array<Job<T>>, status: JobStatus) => void; | ||
type CleanedEventCallback<T = any> = (jobs: Array<Job<T>>, status: JobStatusClean) => void; | ||
@@ -744,0 +746,0 @@ type RemovedEventCallback<T = any> = (job: Job<T>) => void; |
{ | ||
"name": "@types/bull", | ||
"version": "3.4.0", | ||
"version": "3.4.1", | ||
"description": "TypeScript definitions for bull", | ||
@@ -61,6 +61,11 @@ "license": "MIT", | ||
"githubUsername": "danmana" | ||
}, | ||
{ | ||
"name": "Kjell-Morten Bratsberg Thorsen", | ||
"url": "https://github.com/kjellmorten", | ||
"githubUsername": "kjellmorten" | ||
} | ||
], | ||
"main": "", | ||
"types": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -75,4 +80,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "25ee7e0608dc37a84c7e3548b1de266dbd0a057bb6fb4afb0e29761c5e2b5b76", | ||
"typesPublisherContentHash": "1111cb7a8059a096a4d1dd47b1e2a2cba79c0c6488bfa09efce598e0882a9c5a", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 22 Oct 2018 19:29:27 GMT | ||
* Last updated: Thu, 15 Nov 2018 22:27:03 GMT | ||
* Dependencies: ioredis, bluebird | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Bruno Grieder <https://github.com/bgrieder>, Cameron Crothers <https://github.com/JProgrammer>, Marshall Cottrell <https://github.com/marshall007>, Weeco <https://github.com/weeco>, Gabriel Terwesten <https://github.com/blaugold>, Oleg Repin <https://github.com/iamolegga>, David Koblas <https://github.com/koblas>, Bond Akinmade <https://github.com/bondz>, Wuha Team <https://github.com/wuha-team>, Alec Brunelle <https://github.com/aleccool213>, Dan Manastireanu <https://github.com/danmana>. | ||
These definitions were written by Bruno Grieder <https://github.com/bgrieder>, Cameron Crothers <https://github.com/JProgrammer>, Marshall Cottrell <https://github.com/marshall007>, Weeco <https://github.com/weeco>, Gabriel Terwesten <https://github.com/blaugold>, Oleg Repin <https://github.com/iamolegga>, David Koblas <https://github.com/koblas>, Bond Akinmade <https://github.com/bondz>, Wuha Team <https://github.com/wuha-team>, Alec Brunelle <https://github.com/aleccool213>, Dan Manastireanu <https://github.com/danmana>, Kjell-Morten Bratsberg Thorsen <https://github.com/kjellmorten>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31351
629