@types/bull
Advanced tools
Comparing version 3.3.16 to 3.3.17
@@ -11,2 +11,3 @@ // Type definitions for bull 3.3 | ||
// Bond Akinmade <https://github.com/bondz> | ||
// Wuha Team <https://github.com/wuha-team> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -538,3 +539,3 @@ // TypeScript Version: 2.8 | ||
*/ | ||
removeRepeatable(repeat: RepeatOptions & { jobId?: JobId }): Promise<void>; | ||
removeRepeatable(repeat: (CronRepeatOptions | EveryRepeatOptions) & { jobId?: JobId }): Promise<void>; | ||
@@ -547,5 +548,11 @@ /** | ||
*/ | ||
removeRepeatable(name: string, repeat: RepeatOptions & { jobId?: JobId }): Promise<void>; | ||
removeRepeatable(name: string, repeat: (CronRepeatOptions | EveryRepeatOptions) & { jobId?: JobId }): Promise<void>; | ||
/** | ||
* Returns a promise that will return an array of job instances of the given types. | ||
* Optional parameters for range and ordering are provided. | ||
*/ | ||
getJobs(types: string[], start?: number, end?: number, asc?: boolean): Promise<Job[]>; | ||
/** | ||
* Returns a promise that resolves with the job counts for the given queue. | ||
@@ -552,0 +559,0 @@ */ |
{ | ||
"name": "@types/bull", | ||
"version": "3.3.16", | ||
"version": "3.3.17", | ||
"description": "TypeScript definitions for bull", | ||
@@ -46,2 +46,7 @@ "license": "MIT", | ||
"githubUsername": "bondz" | ||
}, | ||
{ | ||
"name": "Wuha Team", | ||
"url": "https://github.com/wuha-team", | ||
"githubUsername": "wuha-team" | ||
} | ||
@@ -59,4 +64,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "c2eae555bca8a41e43a0eac1bf4ff6e8564e8e2f43264931063981bd848e84c0", | ||
"typesPublisherContentHash": "7862513f9399801fed82bb7691f751cc1a205f1dcdd8392b05d56786424cbe25", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 23 Jul 2018 23:44:11 GMT | ||
* Last updated: Thu, 26 Jul 2018 23:47:21 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>. | ||
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>. |
28240
577