Commit Graph
40 Commits
Author SHA1 Message Date
Nathan Shively-Sanders 625451856a Merge pull request #24475 from hisorange/master
Add missing 'bclient' type to Bull types
2018-03-28 09:09:30 -07:00
hisorange f3b3166bb0 Add missing 'bclient' type 2018-03-23 10:16:38 +01:00
Daniel Rosenwasser e8bc07e649 Merge pull request #23719 from hisorange/bull-fix
Add missing limit option to bull package.
2018-03-17 18:19:06 -07:00
Arthur Ozga 692bef999e Merge pull request #23806 from alexsasharegan/master
fix(bull): adds `Queue.process` overloads
2018-03-15 13:37:44 -07:00
Alex Regan c8e95cf226 fix(bull): switch overload to Promise return 2018-02-27 19:32:33 -07:00
Alex Regan 1426182dcd fix(bull): union callback param, not return val 2018-02-27 08:19:14 -07:00
Oleg Repin be24886f7a [bull] add defaultJobOptions to QueueOptions 2018-02-26 11:28:31 +03:00
Alex Regan ebcbc212b7 fix(bull): merge overload decls with same arity 2018-02-20 15:20:04 -07:00
Alex Regan 2cd2bd8726 fix(bull): adds Queue.process overloads 2018-02-20 15:09:07 -07:00
Andy 38a16c7ac7 bull: Remove duplicate getWaiting definition (#23715) 2018-02-20 08:34:40 -08:00
hisorange 7b5682c241 Add missing limit option 2018-02-16 21:10:24 +01:00
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Daniel Rosenwasser 325dfee714 Merge pull request #23231 from btkostner/master
update bull pause and resume params
2018-02-13 12:01:10 -08:00
Andy 2a9d2f8d59 Convert more "import *" to "import =" (#23446) 2018-02-05 18:27:31 -08:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Matthew Scharley 2b2aaf8b2d bull: Add Queue#getWaiting (#23148)
* bull: Add Queue#getWaiting

* bull: Add isLocal flags for pause/resume

* bull: Fix JobCounts#waiting
2018-01-30 10:55:19 -08:00
Blake Kostner a852fbf34c update JobStatus wait to waiting 2018-01-27 14:57:15 -07:00
Blake Kostner f6955298ff add getWaiting function to queue 2018-01-27 13:38:31 -07:00
Blake Kostner 2409f1b11f update bull pause and resume params 2018-01-27 13:26:13 -07:00
Gabriel Terwesten a63026685a @types/bull add jobId to signature of removeRepeatable (#22785) 2018-01-10 10:20:32 -08:00
Patt-tom McDonnell 6449d48de9 [@types/bull] Update JobStatus type to be compatible with all Queue methods (#21952)
* Update JobStatus type to be compatible with all Queue methods

The docs for Bull suggest that methods can take `waiting` as a valid JobStatus but this is incorrect.

For example [here](https://github.com/OptimalBits/bull/blob/master/lib/queue.js#L995) the `.clean` method will fail when trying to clean the status `waiting`. This should be changed to `wait` but is currently incompatible with the typings here

* use `// tslint:disable-next-line` instead of `// tslint:disable`
2018-01-02 17:34:24 -08:00
Andy 30957ad3d8 Remove // tslint:disable comments (#22198) 2017-12-14 13:24:24 -08:00
Gregor Yushinov c32c6ba153 Set Typescript version to 2.3 for Bluebird 2017-11-14 15:36:22 +01:00
Gregor Yushinov 30763aa85f Disable tslint for unified signatures 2017-11-14 15:21:35 +01:00
Gregor Yushinov ef92e136d1 Most tslint issues fixed 2017-11-06 19:21:20 +01:00
Gregor Yushinov 1c4f1ef167 Don't include patch version in header 2017-11-06 17:51:28 +01:00
Gregor Yushinov 811ab53955 Bull 3.3.5 update 2017-11-06 17:28:28 +01:00
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy 097d2acf71 Miscellaneous lint fixes (#20849) 2017-10-22 15:22:50 -07:00
Andy 14df840b7d Fixup strictFunctionTypes settings (#20374) 2017-10-06 14:21:13 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
akulikov e83ac3932c bull: added missing method "promote" from bull v3 to typings 2017-09-19 10:43:53 +03:00
marshall007 baf6a3bb98 @types/bull: ready event was replaced by Queue#isReady() 2017-06-07 17:37:49 -05:00
marshall007 e99d48a0e1 @types/bull: add missing createClient option 2017-06-07 16:47:13 -05:00
marshall007 0ccd259f04 @types/bull: fix typeRoots and baseUrl for v2 2017-06-06 14:43:09 -05:00
marshall007 6845530269 @types/bull: fix redis import 2017-06-06 13:31:53 -05:00
marshall007 92f5e11c43 @types/bull: fix all linting issues 2017-06-06 13:20:16 -05:00
marshall007 7b31b3d5c3 @types/bull: add tslint config 2017-06-06 12:21:02 -05:00
marshall007 dcfbea5aeb @types/bull: updates for API changes in v3 2017-06-06 12:08:25 -05:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00