Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Andy
954ee278de
Update TypeScript Versions to be at least as high as dependencies' versions ( #21288 )
...
* Update `TypeScript Version`s to be at least as high as dependencies' versions
* Run through again
2017-11-08 09:12:14 -08: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
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Simon Ramsay
fc10803f20
Patch 1 ( #20255 )
...
* call Job.priority() to get the current number priority
* added parameterless definition for Job.priority()
- when called without a priority parameter, it returns the current priority of the job
relevant source https://github.com/Automattic/kue/blob/master/lib/queue/job.js#L520-L536
note: JSDocs in Kue source code appear to not include optional parameters
* priority() returns string if priority set to unexpected priority string
2017-10-05 11:23:27 -07:00
Andy
5d6c651a1a
Apply stricter lint rules ( #19063 )
2017-08-17 14:53:41 -07:00
Christian D
c707391f99
[kue] added overloaded shutdown function ( #18800 )
...
* added overloaded shutdown
https://github.com/Automattic/kue/blob/master/lib/kue.js#L366
* Update index.d.ts
2017-08-14 11:41:55 -07:00
amiram
4b4941bac5
Fix process callback signature
2017-06-21 22:54:21 +03:00
Mine Starks
76fb0d3cf6
Merge pull request #17182 from amiram/kue-process
...
Kue process - add option to call it with a type and a callback
2017-06-19 11:31:38 -07:00
amiram
7b23bb554f
add get job callback definition
...
https://github.com/Automattic/kue/blob/master/lib/queue/job.js#L161
2017-06-18 12:24:40 +03:00
amiram
ccdd34441d
add created_at
2017-06-18 10:38:46 +03:00
amiram
3db1d4c9b4
add result to job and process done callback.
...
https://github.com/Automattic/kue/blob/master/lib/queue/job.js#L205
https://github.com/Automattic/kue/blob/master/lib/queue/worker.js#L181
2017-06-18 09:57:00 +03:00
amiram
61a9bd3f85
add author
2017-06-14 16:58:53 +03:00
amiram
779dcecfa7
add option to call process with type and callback only
2017-06-14 16:55:16 +03:00
Christian
9f15944c5d
Add "events" function to Job class for kue
2017-06-04 11:44:25 +02:00
Ahto Jussila
f07524f928
Fix wrong signature for Kue testMode.enter().
...
The function look like this
module.exports.enter = function(process) {
processQueue = process || false;
Job.prototype.save = testJobSave;
Job.prototype.update = testJobUpdate;
};
2017-05-15 16:00:06 +03:00
David Poetzsch-Heffter
e2f6325d6b
fixed version number
2017-04-10 12:50:03 +02:00
David Poetzsch-Heffter
0ea3339d8f
fixed returns
2017-04-10 12:40:52 +02:00
Andy Hanson
354cec620d
Move all packages to a types directory
2017-03-24 14:27:52 -07:00