mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge remote-tracking branch 'DefinitelyTyped/master' into HEAD
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
*.map
|
||||
*.swp
|
||||
.DS_Store
|
||||
npm-debug.log
|
||||
|
||||
_Resharper.DefinitelyTyped
|
||||
bin
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "iojs-v2"
|
||||
- 4
|
||||
|
||||
sudo: false
|
||||
|
||||
|
||||
+174
-67
@@ -2,6 +2,8 @@
|
||||
|
||||
This document generated by [dt-contributors-generator](https://github.com/vvakame/dt-contributors-generator).
|
||||
(but run scripts are manual operation. please wait :P)
|
||||
* [:link:](abs/abs.d.ts) [abs](https://github.com/IonicaBizau/node-abs) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
* [:link:](absolute/absolute.d.ts) [absolute](https://github.com/bahamas10/node-absolute) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
* [:link:](acc-wizard/acc-wizard.d.ts) [acc-wizard](https://github.com/sathomas/acc-wizard) by [Cyril Schumacher](https://github.com/cyrilschumacher)
|
||||
* [:link:](accounting/accounting.d.ts) [accounting.js](http://josscrowcroft.github.io/accounting.js) by [Sergey Gerasimov](https://github.com/gerich-home)
|
||||
* [:link:](ace/ace.d.ts) [Ace Ajax.org Cloud9 Editor](http://ace.ajax.org) by [Diullei Gomes](https://github.com/Diullei)
|
||||
@@ -58,6 +60,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](angular-signalr-hub/angular-signalr-hub.d.ts) [angular-signalr-hub](https://github.com/JustMaier/angular-signalr-hub) by [Adam Santaniello](https://github.com/AdamSantaniello)
|
||||
* [:link:](angular-spinner/angular-spinner.d.ts) [angular-spinner.js](https://github.com/urish/angular-spinner) by [Marcin Biegała](https://github.com/Biegal)
|
||||
* [:link:](angular-storage/angular-storage.d.ts) [angular-storage](https://github.com/auth0/angular-storage) by [Matthew DeKrey](https://github.com/mdekrey)
|
||||
* [:link:](angular-strap/angular-strap.d.ts) [angular-strap v2.2.x](http://mgcrea.github.io/angular-strap) by [Sam Herrmann](https://github.com/samherrmann)
|
||||
* [:link:](angular-ui-tree/angular-ui-tree.d.ts) [angular-ui-tree](https://github.com/angular-ui-tree/angular-ui-tree) by [Calvin Fernandez](https://github.com/CalvinFernandez)
|
||||
* [:link:](angular.throttle/angular.throttle.d.ts) [angular.throttle](https://github.com/BaggersIO/angular.throttle) by [Stefan Steinhart](https://github.com/reppners)
|
||||
* [:link:](angular-ui-sortable/angular-ui-sortable.d.ts) [angular.ui.sortable module](https://github.com/angular-ui/ui-sortable) by [Thodoris Greasidis](https://github.com/thgreasi)
|
||||
@@ -91,6 +94,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](assertion-error/assertion-error.d.ts) [assertion-error](https://github.com/chaijs/assertion-error) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](assertsharp/assertsharp.d.ts) [assertsharp](https://www.npmjs.com/package/assertsharp) by [Bruno Leonardo Michels](https://github.com/brunolm)
|
||||
* [:link:](async/async.d.ts) [Async](https://github.com/caolan/async) by [Boris Yankov](https://github.com/borisyankov), [Arseniy Maximov](https://github.com/kern0), [Joe Herman](https://github.com/Penryn)
|
||||
* [:link:](async-writer/async-writer.d.ts) [async-writer](https://github.com/marko-js/async-writer) by [Yuce Tekol](http://yuce.me)
|
||||
* [:link:](asyncblock/asyncblock.d.ts) [asyncblock](https://github.com/scriby/asyncblock) by [Hiroki Horiuchi](https://github.com/horiuchi)
|
||||
* [:link:](atmosphere/atmosphere.d.ts) [Atmosphere](https://github.com/Atmosphere/atmosphere-javascript) by [Kai Toedter](https://github.com/toedter)
|
||||
* [:link:](atom/atom.d.ts) [Atom](https://atom.io) by [vvakame](https://github.com/vvakame)
|
||||
@@ -98,19 +102,21 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](atom-keymap/atom-keymap.d.ts) [atom-keymap](https://github.com/atom/atom-keymap) by [Vadim Macagon](https://github.com/enlight)
|
||||
* [:link:](atpl/atpl.d.ts) [atpl](https://github.com/soywiz/atpl.js) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](auth0/auth0.d.ts) [Auth0.js](http://auth0.com) by [Robert McLaws](https://github.com/advancedrei)
|
||||
* [:link:](auth0.widget/auth0.widget.d.ts) [Auth0Widget.js](http://auth0.com) by [Robert McLaws](https://github.com/advancedrei)
|
||||
* [:link:](auth0.lock/auth0.lock.d.ts) [Auth0Widget.js](http://auth0.com) by [Robert McLaws](https://github.com/advancedrei)
|
||||
* [:link:](auth0.widget/auth0.widget.d.ts) [Auth0Widget.js](http://auth0.com) by [Robert McLaws](https://github.com/advancedrei)
|
||||
* [:link:](auto-launch/auto-launch.d.ts) [auto-launch](https://github.com/Teamwork/node-auto-launch) by [rhysd](https://github.com/rhysd)
|
||||
* [:link:](autobahn/autobahn.d.ts) [AutobahnJS](http://autobahn.ws/js) by [Elad Zelingher](https://github.com/darkl), [Andy Hawkins](https://github.com/a904guy/,http://a904guy.com/,http://www.bmbsqd.com)
|
||||
* [:link:](autoprefixer-core/autoprefixer-core.d.ts) [Autoprefixer Core](https://github.com/postcss/autoprefixer-core) by [Asana](https://asana.com)
|
||||
* [:link:](aws-sdk/aws-sdk.d.ts) [aws-sdk](https://github.com/aws/aws-sdk-js) by [midknight41](https://github.com/midknight41)
|
||||
* [:link:](axios/axios.d.ts) [axios](https://github.com/mzabriskie/axios) by [Marcel Buesing](https://github.com/marcelbuesing)
|
||||
* [:link:](node-azure/azure.d.ts) [Azure SDK for Node](https://github.com/WindowsAzure/azure-sdk-for-node) by [Andrew Gaspar](https://github.com/AndrewGaspar), [Anti Veeranna](https://github.com/antiveeranna), [Maxime LUCE](https://github.com/SomaticIT)
|
||||
* [:link:](babylonjs/babylon.d.ts) [BabylonJS](http://www.babylonjs.com) by [David Catuhe](https://github.com/deltakosh)
|
||||
* [:link:](backbone/backbone-global.d.ts) [Backbone](http://backbonejs.org) by [Boris Yankov](https://github.com/borisyankov), [Natan Vivo](https://github.com/nvivo)
|
||||
* [:link:](backbone/backbone.d.ts) [Backbone](http://backbonejs.org) by [Boris Yankov](https://github.com/borisyankov), [Natan Vivo](https://github.com/nvivo)
|
||||
* [:link:](backbone-associations/backbone-associations.d.ts) [Backbone-associations](https://github.com/dhruvaray/backbone-associations) by [Craig Brett](https://github.com/craigbrett17)
|
||||
* [:link:](backbone-relational/backbone-relational.d.ts) [Backbone-relational](http://backbonerelational.org) by [Eirik Hoem](https://github.com/eirikhm)
|
||||
* [:link:](backbone.layoutmanager/backbone.layoutmanager.d.ts) [Backbone.LayoutManager](http://layoutmanager.org) by [He Jiang](https://github.com/hejiang2000)
|
||||
* [:link:](backbone.localstorage/backbone.localstorage.d.ts) [backbone.localStorage](https://github.com/jeromegn/Backbone.localStorage) by [Louis Grignon](https://github.com/lgrignon)
|
||||
* [:link:](backbone.paginator/backbone.paginator.d.ts) [backbone.paginator](https://github.com/backbone-paginator/backbone.paginator) by [Nyamazing](https://github.com/Nyamazing)
|
||||
* [:link:](backbone.radio/backbone.radio.d.ts) [Backbone.Radio](https://github.com/marionettejs/backbone.radio) by [Peter Palotas](https://github.com/alphaleonis)
|
||||
* [:link:](backgrid/backgrid.d.ts) [Backgrid](http://backgridjs.com) by [Jeremy Lujan](https://github.com/jlujan)
|
||||
@@ -120,8 +126,11 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](basic-auth/basic-auth.d.ts) [basic-auth](https://github.com/jshttp/basic-auth) by [Clément Bourgeois](https://github.com/moonpyk)
|
||||
* [:link:](batch-stream/batch-stream.d.ts) [batch-stream](https://github.com/segmentio/batch-stream) by [Nicholas Penree](http://github.com/drudge)
|
||||
* [:link:](bcrypt/bcrypt.d.ts) [bcrypt](https://www.npmjs.org/package/bcrypt) by [Peter Harris](https://github.com/codeanimal)
|
||||
* [:link:](bcrypt-nodejs/bcrypt-nodejs.d.ts) [bcrypt-nodejs](https://github.com/shaneGirish/bcrypt-nodejs) by [David Broder-Rodgers](https://github.com/DavidBR-SW)
|
||||
* [:link:](bcryptjs/bcryptjs.d.ts) [bcryptjs](https://github.com/dcodeIO/bcrypt.js) by [Joshua Filby](https://github.com/Joshua-F)
|
||||
* [:link:](benchmark/benchmark.d.ts) [Benchmark](http://benchmarkjs.com) by [Asana](https://asana.com)
|
||||
* [:link:](better-curry/better-curry.d.ts) [better-curry](https://github.com/pocesar/js-bettercurry) by [Paulo Cesar](https://github.com/pocesar)
|
||||
* [:link:](bezier-easing/bezier-easing.d.ts) [bezier-easing](https://github.com/gre/bezier-easing) by [brian ridley](https://github.com/ptlis)
|
||||
* [:link:](bgiframe/typescript.bgiframe.d.ts) [bgiframe](https://github.com/sumegizoltan/BgiFrame) by [Zoltan Sumegi](https://github.com/sumegizoltan)
|
||||
* [:link:](big.js/big.js.d.ts) [big.js](https://github.com/MikeMcl/big.js) by [Steve Ognibene](https://github.com/nycdotnet)
|
||||
* [:link:](bigint/bigint.d.ts) [BigInt](https://github.com/Evgenus/BigInt) by [Eugene Chernyshov](https://github.com/Evgenus)
|
||||
@@ -130,7 +139,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](bigscreen/bigscreen.d.ts) [BigScreen](http://brad.is/coding/BigScreen) by [Douglas Eichelberger](https://github.com/dduugg)
|
||||
* [:link:](bitwise-xor/bitwise-xor.d.ts) [bitwise-xor](https://github.com/czzarr/node-bitwise-xor) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](blob-stream/blob-stream.d.ts) [blob-stream](https://github.com/devongovett/blob-stream) by [Eric Hillah](https://github.com/erichillah)
|
||||
* [:link:](bluebird/bluebird.d.ts) [bluebird](https://github.com/petkaantonov/bluebird) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](blue-tape/blue-tape.d.ts) [blue-tape](https://github.com/spion/blue-tape) by [Haoqun Jiang](https://github.com/sodatea)
|
||||
* [:link:](bluebird/bluebird.d.ts) [bluebird](https://github.com/petkaantonov/bluebird) by [Bart van der Schoor](https://github.com/Bartvds), [falsandtru](https://github.com/falsandtru)
|
||||
* [:link:](bluebird-retry/bluebird-retry.d.ts) [bluebird-retry](https://github.com/jut-io/bluebird-retry) by [Pascal Vomhoff](https://github.com/pvomhoff)
|
||||
* [:link:](blueimp-md5/blueimp-md5.d.ts) [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) by [Ray Martone](https://github.com/rmartone)
|
||||
* [:link:](body-parser/body-parser.d.ts) [body-parser](http://expressjs.com) by [Santi Albo](https://github.com/santialbo), [VILIC VANE](https://vilic.info), [Jonathan Häberle](https://github.com/dreampulse)
|
||||
@@ -154,30 +164,36 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](breeze/breeze.d.ts) [Breeze 1.5.x](http://www.breezejs.com) by [Boris Yankov](https://github.com/borisyankov), [IdeaBlade](https://github.com/IdeaBlade/Breeze)
|
||||
* [:link:](browser-harness/browser-harness.d.ts) [Browser Harness](https://github.com/scriby/browser-harness) by [Chris Scribner](https://github.com/scriby)
|
||||
* [:link:](browser-sync/browser-sync.d.ts) [browser-sync](http://www.browsersync.io) by [Asana](https://asana.com), [Joe Skeen](http://github.com/joeskeen)
|
||||
* [:link:](browserify/browserify.d.ts) [Browserify](http://browserify.org) by [Andrew Gaspar](https://github.com/AndrewGaspar)
|
||||
* [:link:](browserify/browserify.d.ts) [Browserify](http://browserify.org) by [Andrew Gaspar](https://github.com/AndrewGaspar), [John Vilk](https://github.com/jvilk)
|
||||
* [:link:](bucks/bucks.d.ts) [bucks.js](https://github.com/CyberAgent/bucks.js) by [Shunsuke Ohtani](https://github.com/zaneli)
|
||||
* [:link:](buffer-compare/buffer-compare.d.ts) [buffer-compare](https://github.com/soldair/node-buffer-compare) by [Ilya Mochalov](https://github.com/chrootsu)
|
||||
* [:link:](buffer-equal/buffer-equal.d.ts) [buffer-equal](https://github.com/substack/node-buffer-equal) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](bl/bl.d.ts) [BufferList](https://github.com/rvagg/bl) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](buffers/buffers.d.ts) [buffers](https://github.com/substack/node-buffers) by [Robert Hencke](https://github.com/rhencke)
|
||||
* [:link:](bufferstream/bufferstream.d.ts) [bufferstream](https://github.com/dodo/node-bufferstream) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](bull/bull.d.ts) [bull](https://github.com/OptimalBits/bull) by [Bruno Grieder](https://github.com/bgrieder)
|
||||
* [:link:](bunyan-prettystream/bunyan-prettystream.d.ts) [bunyan-prettystream](https://www.npmjs.com/package/bunyan-prettystream) by [Jason Swearingen](https://github.com/jasonswearingen), [Vadim Macagon](https://github.com/enlight)
|
||||
* [:link:](business-rules-engine/business-rules-engine.d.ts) [business-rules-engine](https://github.com/rsamec/form) by [Roman Samec](https://github.com/rsamec)
|
||||
* [:link:](dw-bxslider-4/dw-bxslider-4.d.ts) [bxSlider](https://github.com/stevenwanderski/bxslider-4) by [Piotr Sałkowski](https://github.com/namerci)
|
||||
* [:link:](byline/byline.d.ts) [byline](https://github.com/jahewson/node-byline) by [Stefan Steinhart](https://github.com/reppners)
|
||||
* [:link:](bytebuffer/bytebuffer.d.ts) [bytebuffer.js](https://github.com/dcodeIO/bytebuffer.js) by [Denis Cappellin](http://github.com/cappellin)
|
||||
* [:link:](bytes/bytes.d.ts) [bytes](https://github.com/visionmedia/bytes.js) by [Zhiyuan Wang](https://github.com/danny8002)
|
||||
* [:link:](c3/c3.d.ts) [C3js](http://c3js.org) by [Marc Climent](https://github.com/mcliment)
|
||||
* [:link:](cal-heatmap/cal-heatmap.d.ts) [cal-heatmap](https://github.com/wa0x6e/cal-heatmap) by [Chris Baker](https://github.com/RetroChrisB)
|
||||
* [:link:](calq/calq.d.ts) [calq](https://calq.io/docs/client/javascript/reference) by [Eirik Hoem](https://github.com/eirikhm)
|
||||
* [:link:](camel-case/camel-case.d.ts) [camel-case](https://github.com/blakeembrey/camel-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
* [:link:](camljs/camljs.d.ts) [camljs](http://camljs.codeplex.com) by [Andrey Markeev](http://markeev.com)
|
||||
* [:link:](canvasjs/canvasjs.d.ts) [CanvasJS](http://canvasjs.com) by [Mark Overholt](https://github.com/mover5)
|
||||
* [:link:](casperjs/casperjs.d.ts) [CasperJS](http://casperjs.org) by [Jed Mao](https://github.com/jedmao)
|
||||
* [:link:](chai/chai.d.ts) [chai](http://chaijs.com) by [Jed Mao](https://github.com/jedmao), [Bart van der Schoor](https://github.com/Bartvds), [Andrew Brown](https://github.com/AGBrown), [Olivier Chevet](https://github.com/olivr70)
|
||||
* [:link:](chai/chai.d.ts) [chai](http://chaijs.com) by [Jed Mao](https://github.com/jedmao), [Bart van der Schoor](https://github.com/Bartvds), [Andrew Brown](https://github.com/AGBrown), [Olivier Chevet](https://github.com/olivr70), [Matt Wistrand](https://github.com/mwistrand)
|
||||
* [:link:](chai-as-promised/chai-as-promised.d.ts) [chai-as-promised](https://github.com/domenic/chai-as-promised) by [jt000](https://github.com/jt000), [Yuki Kokubun](https://github.com/Kuniwak)
|
||||
* [:link:](chai-datetime/chai-datetime.d.ts) [chai-datetime](https://github.com/gaslight/chai-datetime.git) by [Cliff Burger](https://github.com/cliffburger)
|
||||
* [:link:](chai-fuzzy/chai-fuzzy.d.ts) [chai-fuzzy](http://chaijs.com/plugins/chai-fuzzy) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](chai-http/chai-http.d.ts) [chai-http](https://github.com/chaijs/chai-http) by [Wim Looman](https://github.com/Nemo157)
|
||||
* [:link:](chai-jquery/chai-jquery.d.ts) [chai-jquery](https://github.com/chaijs/chai-jquery) by [Kazi Manzur Rashid](https://github.com/kazimanzurrashid)
|
||||
* [:link:](chai-string/chai-string.d.ts) [chai-string](https://github.com/onechiporenko/chai-string) by [Nick Malaguti](https://github.com/nmalaguti)
|
||||
* [:link:](chai-subset/chai-subset.d.ts) [chai-subset](https://github.com/e-conomic/chai-subset) by [Sam Noedel](https://github.com/delta62), [Andrew Brown](https://github.com/AGBrown)
|
||||
* [:link:](chai-things/chai-things.d.ts) [chai-things](https://github.com/chaijs/chai-things) by [David Broder-Rodgers](https://github.com/DavidBR-SW)
|
||||
* [:link:](chalk/chalk.d.ts) [chalk](https://github.com/sindresorhus/chalk) by [Diullei Gomes](https://github.com/Diullei), [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](chance/chance.d.ts) [Chance](http://chancejs.com) by [Chris Bowdon](https://github.com/cbowdon)
|
||||
* [:link:](change-case/change-case.d.ts) [change-case](https://github.com/blakeembrey/change-case) by [Asana](https://asana.com)
|
||||
@@ -190,7 +206,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](chosen/chosen.jquery.d.ts) [Chosen.JQuery](http://harvesthq.github.com/chosen) by [Boris Yankov](https://github.com/borisyankov)
|
||||
* [:link:](chroma-js/chroma-js.d.ts) [Chroma.js](https://github.com/gka/chroma.js) by [Sebastian Brückner](https://github.com/invliD)
|
||||
* [:link:](chrome/chrome-cast.d.ts) [Chrome Cast application development](https://developers.google.com/cast) by [Thomas Stig Jacobsen](https://github.com/eXeDK)
|
||||
* [:link:](chrome/chrome.d.ts) [Chrome extension development](http://developer.chrome.com/extensions) by [Matthew Kimber](https://github.com/matthewkimber), [otiai10](https://github.com/otiai10), [couven92](https://gitbus.com/couven92)
|
||||
* [:link:](chrome/chrome.d.ts) [Chrome extension development](http://developer.chrome.com/extensions) by [Matthew Kimber](https://github.com/matthewkimber), [otiai10](https://github.com/otiai10), [couven92](https://github.com/couven92)
|
||||
* [:link:](chrome/chrome-app.d.ts) [Chrome packaged application development](http://developer.chrome.com/apps) by [Adam Lay](https://github.com/AdamLay), [MIZUNE Pine](https://github.com/pine613), [MIZUSHIMA Junki](https://github.com/mzsm)
|
||||
* [:link:](chui/chui.d.ts) [chui](https://github.com/chocolatechipui/chocolatechip-ui) by [Robert Biggs](http://chocolatechip-ui.com)
|
||||
* [:link:](circular-json/circular-json.d.ts) [circular-json](https://github.com/WebReflection/circular-json) by [Jonathan Pevarnek](https://github.com/jpevarnek)
|
||||
@@ -199,16 +215,20 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](cli-color/cli-color.d.ts) [cli-color](https://github.com/medikoo/cli-color) by [Joel Spadin](https://github.com/ChaosinaCan)
|
||||
* [:link:](clone/clone.d.ts) [clone](https://github.com/pvorb/node-clone) by [Kieran Simpson](https://github.com/kierans/DefinitelyTyped)
|
||||
* [:link:](closure-compiler/closure-compiler.d.ts) [closure-compiler](https://github.com/tim-smart/node-closure) by [Martin Probst](https://github.com/mprobst)
|
||||
* [:link:](codemirror/codemirror-showhint.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [jacqt](https://github.com/jacqt), [basarat](https://github.com/basarat)
|
||||
* [:link:](codemirror/codemirror-matchbrackets.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [Sixin Li](https://github.com/sixinli)
|
||||
* [:link:](codemirror/codemirror.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [mihailik](https://github.com/mihailik)
|
||||
* [:link:](codemirror/searchcursor.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [jacqt](https://github.com/jacqt)
|
||||
* [:link:](codemirror/codemirror-showhint.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [jacqt](https://github.com/jacqt), [basarat](https://github.com/basarat)
|
||||
* [:link:](codemirror/codemirror-matchbrackets.d.ts) [CodeMirror](https://github.com/marijnh/CodeMirror) by [Sixin Li](https://github.com/sixinli)
|
||||
* [:link:](coffeeify/coffeeify.d.ts) [coffeeify](https://github.com/jnordberg/coffeeify) by [Qubo](https://github.com/tkQubo)
|
||||
* [:link:](colorbrewer/colorbrewer.d.ts) [colorbrewer](https://github.com/jeanlauliac/colorbrewer) by [Matt Traynham](https://github.com/mtraynham)
|
||||
* [:link:](colors/colors.d.ts) [Colors.js 0.6.0-1](https://github.com/Marak/colors.js) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](cometd/cometd.d.ts) [CometD](http://cometd.org) by [Derek Cicerone](https://github.com/derekcicerone)
|
||||
* [:link:](commander/commander.d.ts) [commanderjs](https://github.com/visionmedia/commander.js) by [Marcelo Dezem](http://github.com/mdezem), [vvakame](http://github.com/vvakame)
|
||||
* [:link:](commonmark/commonmark.d.ts) [commonmark.js](https://github.com/jgm/commonmark.js) by [Nico Jansen](https://github.com/nicojs)
|
||||
* [:link:](compare-version/compare-version.d.ts) [compare-version](https://www.npmjs.com/package/compare-version) by [Jonathan Pevarnek](https://github.com/jpevarnek)
|
||||
* [:link:](complex/complex.d.ts) [Complex](https://github.com/arian/Complex) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
* [:link:](debounce/debounce.d.ts) [compose-function](https://github.com/component/debounce) by [Denis Sokolov](https://github.com/denis-sokolov)
|
||||
* [:link:](compose-function/compose-function.d.ts) [compose-function](https://github.com/stoeffel/compose-function) by [Denis Sokolov](https://github.com/denis-sokolov)
|
||||
* [:link:](compression/compression.d.ts) [compression](https://github.com/expressjs/compression) by [Santi Albo](https://github.com/santialbo)
|
||||
* [:link:](configstore/configstore.d.ts) [configstore](https://github.com/yeoman/configstore) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](connect/connect.d.ts) [connect](https://github.com/senchalabs/connect) by [Maxime LUCE](https://github.com/SomaticIT)
|
||||
@@ -217,23 +237,31 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](connect-modrewrite/connect-modrewrite.d.ts) [connect-modrewrite](https://github.com/tinganho/connect-modrewrite) by [Tingan Ho](https://github.com/tinganho)
|
||||
* [:link:](connect-mongo/connect-mongo.d.ts) [connect-mongo](https://github.com/kcbanner/connect-mongo) by [Mizuki Yamamoto](https://github.com/Syati)
|
||||
* [:link:](connect-slashes/connect-slashes.d.ts) [connect-slashes](https://github.com/avinoamr/connect-slashes) by [Sam Herrmann](https://github.com/samherrmann)
|
||||
* [:link:](connect-timeout/connect-timeout.d.ts) [connect-timeout](https://github.com/expressjs/timeout) by [Cyril Schumacher](https://github.com/cyrilschumacher)
|
||||
* [:link:](console-stamp/console-stamp.d.ts) [console-stamp](https://github.com/starak/node-console-stamp) by [Eric Byers](https://github.com/ericbyers)
|
||||
* [:link:](consolidate/consolidate.d.ts) [consolidate](https://github.com/visionmedia/consolidate.js) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](constant-case/constant-case.d.ts) [constant-case](https://github.com/blakeembrey/constant-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
* [:link:](content-type/content-type.d.ts) [content-type](https://github.com/deoxxa/content-type) by [Pine Mizune](https://github.com/pine613)
|
||||
* [:link:](contentful-resolve-response/contentful-resolve-response.d.ts) [contentful-resolve-response](https://github.com/contentful/contentful-resolve-response) by [Anton Karsten](https://github.com/antonkarsten)
|
||||
* [:link:](contextjs/contextjs.d.ts) [contextjs](https://github.com/jakiestfu/Context.js) by [Kern Handa](https://github.com/kernhanda)
|
||||
* [:link:](convert-source-map/convert-source-map.d.ts) [convert-source-map](https://github.com/thlorenz/convert-source-map) by [Andrew Gaspar](https://github.com/AndrewGaspar)
|
||||
* [:link:](cookie/cookie.d.ts) [cookie](https://github.com/jshttp/cookie) by [Pine Mizune](https://github.com/pine613)
|
||||
* [:link:](cookie-parser/cookie-parser.d.ts) [cookie-parser](https://github.com/expressjs/cookie-parser) by [Santi Albo](https://github.com/santialbo)
|
||||
* [:link:](cookies/cookies.d.ts) [cookie-parser](https://github.com/pillarjs/cookies) by [Wang Zishi](https://github.com/WangZishi)
|
||||
* [:link:](cookiejs/cookiejs.d.ts) [cookie.js](https://github.com/js-coder/cookie.js) by [Boltmade](https://github.com/Boltmade)
|
||||
* [:link:](cordova-ionic/plugins/keyboard.d.ts) [Cordova Keyboard plugin](https://github.com/driftyco/ionic-plugins-keyboard) by [Hendrik Maus](https://github.com/hendrikmaus)
|
||||
* [:link:](cordova-plugin-app-version/cordova-plugin-app-version.d.ts) [cordova-plugin-app-version](https://github.com/whiteoctober/cordova-plugin-app-version) by [Markus Wagner](https://github.com/Ritzlgrmft)
|
||||
* [:link:](cordova-plugin-ibeacon/cordova-plugin-ibeacon.d.ts) [cordova-plugin-ibeacon](https://github.com/petermetz/cordova-plugin-ibeacon) by [Markus Wagner](https://github.com/Ritzlgrmft)
|
||||
* [:link:](cordova-plugin-mapsforge/cordova-plugin-mapsforge.d.ts) [cordova-plugin-mapsforge](https://github.com/afsuarez/mapsforge-cordova-plugin) by [rafw87](https://github.com/rafw87)
|
||||
* [:link:](cordova-plugin-ouralabs/cordova-plugin-ouralabs.d.ts) [cordova-plugin-ouralabs](https://github.com/Justin-Credible/cordova-plugin-ouralabs) by [Justin Unterreiner](https://github.com/Justin-Credible)
|
||||
* [:link:](cordova-plugin-spinner/cordova-plugin-spinner.d.ts) [cordova-plugin-spinner](https://github.com/Justin-Credible/cordova-plugin-spinner) by [Justin Unterreiner](https://github.com/Justin-Credible)
|
||||
* [:link:](cordovarduino/cordovarduino.d.ts) [Cordovarduino plugin](https://github.com/stereolux/cordovarduino) by [Hendrik Maus](https://github.com/hendrikmaus)
|
||||
* [:link:](core-decorators/core-decorators.d.ts) [core-decorators.js](https://github.com/jayphelps/core-decorators.js) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](core-js/core-js.d.ts) [core-js](https://github.com/zloirock/core-js) by [Ron Buckton](http://github.com/rbuckton)
|
||||
* [:link:](cors/cors.d.ts) [cors](https://github.com/troygoode/node-cors) by [Mihhail Lapushkin](https://github.com/mihhail-lapushkin)
|
||||
* [:link:](couchbase/couchbase.d.ts) [Couchbase Couchnode](https://github.com/couchbase/couchnode) by [Basarat Ali Syed](https://github.com/basarat)
|
||||
* [:link:](couchbase/couchbase.d.ts) [Couchbase Node.js SDK](https://github.com/couchbase/couchnode) by [Marwan Aouida](https://github.com/maouida)
|
||||
* [:link:](cradle/cradle.d.ts) [cradle](https://github.com/flatiron/cradle) by [Panu Horsmalahti](https://github.com/panuhorsmalahti)
|
||||
* [:link:](create-error/create-error.d.ts) [create-error.js](https://github.com/tgriesser/create-error) by [Tanguy Krotoff](https://github.com/tkrotoff)
|
||||
* [:link:](createjs/createjs.d.ts) [CreateJS](http://www.createjs.com) by [Pedro Ferreira](https://bitbucket.org/drk4), [Chris Smith](https://github.com/evilangelist), [Satoru Kimura](https://github.com/gyohk)
|
||||
* [:link:](credential/credential.d.ts) [credential](https://github.com/ericelliott/credential) by [Phú](https://github.com/phuvo)
|
||||
* [:link:](cron/cron.d.ts) [cron](https://www.npmjs.com/package/cron) by [Hiroki Horiuchi](https://github.com/horiuchi)
|
||||
@@ -246,6 +274,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](googlemaps.infobubble/google.maps.infobubble.d.ts) [CSS3 InfoBubble with tabs for Google Maps API V3](http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/src) by [Johan Nilsson](https://github.com/Dashue)
|
||||
* [:link:](csurf/csurf.d.ts) [csurf](https://www.npmjs.org/package/csurf) by [Hiroki Horiuchi](https://github.com/horiuchi)
|
||||
* [:link:](csv-stringify/csv-stringify.d.ts) [csv-stringify](https://github.com/wdavidw/node-csv-stringify) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](cucumber/cucumber.d.ts) [cucumber-js](https://github.com/cucumber/cucumber-js) by [Abraão Alves](https://github.com/abraaoalves)
|
||||
* [:link:](cuid/cuid.d.ts) [cuid](https://github.com/ericelliott/cuid) by [Dave Keen](http://www.keendevelopment.ch)
|
||||
* [:link:](custom-error-generator/custom-error-generator.d.ts) [custom-error-generator](https://github.com/jproulx/node-custom-error) by [Thierry Miceli](https://github.com/thmiceli)
|
||||
* [:link:](md5/md5.d.ts) [CybozuLabs.MD5](http://labs.cybozu.co.jp/blog/mitsunari/2007/07/md5js_1.html) by [MIZUNE Pine](https://github.com/pine613)
|
||||
@@ -259,7 +288,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](date.format.js/date.format.d.ts) [Date Format](http://blog.stevenlevithan.com/archives/date-time-format) by [Rob Stutton](https://github.com/balrob)
|
||||
* [:link:](datejs/datejs.d.ts) [DateJS](http://www.datejs.com) by [David Khristepher Santos](http://github.com/rupertavery)
|
||||
* [:link:](dcjs/dc.d.ts) [DCJS](https://github.com/dc-js/dc.js) by [hans windhoff](https://github.com/hansrwindhoff), [matt traynham](https://github.com/mtraynham)
|
||||
* [:link:](debug/debug.d.ts) [debug](https://github.com/visionmedia/debug) by [Seon-Wook Park](https://github.com/swook)
|
||||
* [:link:](debug/debug.d.ts) [debug](https://github.com/visionmedia/debug) by [Seon-Wook Park](https://github.com/swook), [Gal Talmor](https://github.com/galtalmor)
|
||||
* [:link:](decimal.js/decimal.js.d.ts) [decimal.js](http://mikemcl.github.io/decimal.js) by [Joseph Rossi](http://github.com/musicist288)
|
||||
* [:link:](decorum/decorum.d.ts) [Decorum JS](https://github.com/dflor003/decorum) by [Danil Flores](https://github.com/dflor003)
|
||||
* [:link:](deep-diff/deep-diff.d.ts) [deep-diff](https://github.com/flitbit/diff) by [ZauberNerd](https://github.com/ZauberNerd)
|
||||
@@ -284,8 +313,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](dojo/dojo.d.ts) [Dojo](http://dojotoolkit.org) by [Michael Van Sickle](https://github.com/vansimke)
|
||||
* [:link:](dompurify/dompurify.d.ts) [DOM Purify](https://github.com/cure53/DOMPurify) by [Dave Taylor](http://davetayls.me), [Samira Bazuzi](https://github.com/bazuzi)
|
||||
* [:link:](domo/domo.d.ts) [Domo](http://domo-js.com) by [Steve Fenton](https://github.com/Steve-Fenton)
|
||||
* [:link:](requirejs-domready/domready.d.ts) [domReady](https://github.com/requirejs/domReady) by [Nobuhiro Nakamura](https://github.com/lefb766)
|
||||
* [:link:](domready/domready.d.ts) [domready](https://github.com/ded/domready) by [Christian Holm Nielsen](https://github.com/dotnetnerd)
|
||||
* [:link:](requirejs-domready/domready.d.ts) [domReady](https://github.com/requirejs/domReady) by [Nobuhiro Nakamura](https://github.com/lefb766)
|
||||
* [:link:](donna/donna.d.ts) [donna](https://github.com/atom/donna) by [vvakame](https://github.com/vvakame)
|
||||
* [:link:](dot/dot.d.ts) [doT](https://github.com/olado/doT) by [ZombieHunter](https://github.com/ZombieHunter)
|
||||
* [:link:](dot-case/dot-case.d.ts) [dot-case](https://github.com/blakeembrey/dot-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
@@ -305,8 +334,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](easy-jsend/easy-jsend.d.ts) [easy-jsend](https://github.com/DeadAlready/easy-jsend) by [Karl Düüna](https://github.com/DeadAlready)
|
||||
* [:link:](easy-session/easy-session.d.ts) [easy-session](https://github.com/DeadAlready/node-easy-session) by [Karl Düüna](https://github.com/DeadAlready)
|
||||
* [:link:](easy-table/easy-table.d.ts) [easy-table](https://github.com/eldargab/easy-table) by [Niklas Mollenhauer](https://github.com/nikeee)
|
||||
* [:link:](easy-xapi-supertest/easy-xapi-supertest.d.ts) [easy-x-headers](https://github.com/DeadAlready/easy-x-headers) by [Karl Düüna](https://github.com/DeadAlready)
|
||||
* [:link:](easy-x-headers/easy-x-headers.d.ts) [easy-x-headers](https://github.com/DeadAlready/easy-x-headers) by [Karl Düüna](https://github.com/DeadAlready)
|
||||
* [:link:](easy-xapi-supertest/easy-xapi-supertest.d.ts) [easy-x-headers](https://github.com/DeadAlready/easy-x-headers) by [Karl Düüna](https://github.com/DeadAlready)
|
||||
* [:link:](easy-xapi/easy-xapi.d.ts) [easy-xapi](https://github.com/DeadAlready/easy-xapi) by [Karl Düüna](https://github.com/DeadAlready)
|
||||
* [:link:](easy-xapi-utils/easy-xapi-utils.d.ts) [easy-xapi-utils](https://github.com/DeadAlready/easy-xapi-utils) by [Karl Düüna](https://github.com/DeadAlready)
|
||||
* [:link:](easystarjs/easystarjs.d.ts) [EasyStar.js](http://easystarjs.com) by [Magnus Gustafsson](https://github.com/borundin)
|
||||
@@ -314,17 +343,20 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](ejs-locals/ejs-locals.d.ts) [ejs-locals](https://github.com/randometc/ejs-locals) by [jt000](https://github.com/jt000)
|
||||
* [:link:](ejs/ejs.d.ts) [ejs.js](http://ejs.co) by [Ben Liddicott](https://github.com/benliddicott/DefinitelyTyped)
|
||||
* [:link:](jquery.elang/jquery.elang.d.ts) [eLang](https://github.com/sumegizoltan/ELang) by [Zoltan Sumegi](https://github.com/sumegizoltan)
|
||||
* [:link:](github-electron/github-electron.d.ts) [Electron (shared between main and rederer processes)](http://electron.atom.io) by [jedmao](https://github.com/jedmao)
|
||||
* [:link:](github-electron/github-electron.d.ts) [Electron](http://electron.atom.io) by [jedmao](https://github.com/jedmao), [rhysd](https://rhysd.github.io)
|
||||
* [:link:](electron-builder/electron-builder.d.ts) [electron-builder](https://github.com/loopline-systems/electron-builder) by [Maxime LUCE](https://github.com/SomaticIT)
|
||||
* [:link:](electron-packager/electron-packager.d.ts) [electron-packager](https://github.com/maxogden/electron-packager) by [Maxime LUCE](https://github.com/SomaticIT)
|
||||
* [:link:](github-electron/electron-prebuilt.d.ts) [electron-prebuilt](https://github.com/mafintosh/electron-prebuilt) by [rhysd](https://github.com/rhysd)
|
||||
* [:link:](element-resize-event/element-resize-event.d.ts) [element-resize-event](https://github.com/KyleAMathews/element-resize-event) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](elm/elm.d.ts) [Elm](http://elm-lang.org) by [Dénes Harmath](https://github.com/thSoft)
|
||||
* [:link:](email-addresses/email-addresses.d.ts) [email-addresses](https://github.com/jackbowman/email-addresses) by [John Grimsey](https://github.com/johngrimsey)
|
||||
* [:link:](email-validator/email-validator.d.ts) [email-validator](https://github.com/Sembiance/email-validator) by [Paul Lessing](https://github.com/paullessing)
|
||||
* [:link:](ember/ember.d.ts) [Ember.js](http://emberjs.com) by [Jed Mao](https://github.com/jedmao)
|
||||
* [:link:](emissary/emissary.d.ts) [emissary](https://github.com/atom/emissary) by [vvakame](https://github.com/vvakame)
|
||||
* [:link:](empower/empower.d.ts) [empower](https://github.com/twada/empower) by [vvakame](https://github.com/vvakame)
|
||||
* [:link:](emscripten/emscripten.d.ts) [Emscripten](http://kripken.github.io/emscripten-site/index.html) by [Kensuke Matsuzaki](https://github.com/zakki)
|
||||
* [:link:](envify/envify.d.ts) [envify](https://github.com/hughsk/envify) by [Qubo](https://github.com/tkQubo)
|
||||
* [:link:](enzyme/enzyme.d.ts) [Enzyme](https://github.com/airbnb/enzyme) by [Marian Palkus](https://github.com/MarianPalkus), [Cap3](http://www.cap3.de)
|
||||
* [:link:](epiceditor/epiceditor.d.ts) [EpicEditor](http://epiceditor.com) by [Boris Yankov](https://github.com/borisyankov)
|
||||
* [:link:](eq.js/eq.js.d.ts) [eq.js](https://github.com/Snugug/eq.js) by [Stephen Lautier](https://github.com/stephenlautier)
|
||||
* [:link:](errorhandler/errorhandler.d.ts) [errorhandler](https://github.com/expressjs/errorhandler) by [Santi Albo](https://github.com/santialbo)
|
||||
@@ -338,12 +370,14 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](event-kit/event-kit.d.ts) [event-kit](https://github.com/atom/event-kit) by [Vadim Macagon](https://github.com/enlight)
|
||||
* [:link:](event-loop-lag/event-loop-lag.d.ts) [event-loop-lag](https://github.com/pebble/event-loop-lag) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](eventemitter2/eventemitter2.d.ts) [EventEmitter2](https://github.com/asyncly/EventEmitter2) by [ryiwamoto](https://github.com/ryiwamoto)
|
||||
* [:link:](eventemitter3/eventemitter3.d.ts) [EventEmitter3](https://github.com/primus/eventemitter3) by [Yuichi Murata](https://github.com/mrk21)
|
||||
* [:link:](eventemitter3/eventemitter3.d.ts) [EventEmitter3](https://github.com/primus/eventemitter3) by [Yuichi Murata](https://github.com/mrk21), [Leon Yu](https://github.com/leonyu)
|
||||
* [:link:](evernote/evernote.d.ts) [evernote v](https://www.npmjs.com/package/evernote) by [Zachary Collins](https://github.com/corps)
|
||||
* [:link:](exit/exit.d.ts) [exit](https://github.com/cowboy/node-exit) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](expect.js/expect.js.d.ts) [expect.js](https://github.com/Automattic/expect.js) by [Teppei Sato](https://github.com/teppeis)
|
||||
* [:link:](expectations/expectations.d.ts) [expectations.js](https://github.com/spmason/expectations) by [vvakame](https://github.com/vvakame)
|
||||
* [:link:](express/express.d.ts) [Express 4.x](http://expressjs.com) by [Boris Yankov](https://github.com/borisyankov)
|
||||
* [:link:](express-brute/express-brute.d.ts) [express-brute](https://github.com/AdamPflug/express-brute) by [Cyril Schumacher](https://github.com/cyrilschumacher)
|
||||
* [:link:](express-brute-mongo/express-brute-mongo.d.ts) [express-brute-mongo](https://github.com/auth0/express-brute-mongo) by [Cyril Schumacher](https://github.com/cyrilschumacher)
|
||||
* [:link:](express-debug/express-debug.d.ts) [express-debug](https://github.com/devoidfury/express-debug) by [Federico Bond](https://github.com/federicobond)
|
||||
* [:link:](express-handlebars/express-handlebars.d.ts) [express-handlebars](https://github.com/ericf/express-handlebars) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
* [:link:](express-jwt/express-jwt.d.ts) [express-jwt](https://www.npmjs.org/package/express-jwt) by [Wonshik Kim](https://github.com/wokim)
|
||||
@@ -359,6 +393,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](eyes/eyes.d.ts) [eyes](https://github.com/cloudhead/eyes.js) by [bryn austin bellomy](https://github.com/brynbellomy)
|
||||
* [:link:](fabricjs/fabricjs.d.ts) [FabricJS](http://fabricjs.com) by [Oliver Klemencic](https://github.com/oklemencic), [Joseph Livecchi](https://github.com/joewashear007), [Michael Randolph](https://github.com/mrand01)
|
||||
* [:link:](fbsdk/fbsdk.d.ts) [Facebook Javascript SDK](https://developers.facebook.com/docs/javascript) by [Joshua Strobl](https://github.com/JoshStrobl)
|
||||
* [:link:](fbemitter/fbemitter.d.ts) [Facebook's EventEmitter](https://github.com/facebook/emitter) by [kmxz](https://github.com/kmxz)
|
||||
* [:link:](faker/faker.d.ts) [faker](http://marak.com/faker.js) by [Bas Pennings](https://github.com/basp), [Yuki Kokubun](https://github.com/Kuniwak)
|
||||
* [:link:](famous/famous.d.ts) [Famous Engine](http://famous.org) by [Boris Vasilenko](https://github.com/borisvasilenko)
|
||||
* [:link:](fancybox/fancybox.d.ts) [fancyBox](https://github.com/fancyapps/fancyBox) by [Boris Yankov](https://github.com/borisyankov)
|
||||
@@ -370,6 +405,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](whatwg-fetch/whatwg-fetch.d.ts) [fetch API](https://github.com/github/fetch) by [Ryan Graham](https://github.com/ryan-codingintrigue)
|
||||
* [:link:](fhir/fhir.d.ts) [FHIR DSTU2](http://www.hl7.org/fhir/2015Sep/index.html) by [Artifact Health](http://www.artifacthealth.com)
|
||||
* [:link:](fibers/fibers.d.ts) [fibers](https://github.com/laverdet/node-fibers) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](field/field.d.ts) [field](https://www.npmjs.com/package/field) by [Leo Liang](https://github.com/aleung/DefinitelyTyped)
|
||||
* [:link:](filewriter/filewriter.d.ts) [File API: Writer](http://www.w3.org/TR/file-writer-api) by [Kon](http://phyzkit.net)
|
||||
* [:link:](filesystem/filesystem.d.ts) [File System API](http://www.w3.org/TR/file-system-api) by [Kon](http://phyzkit.net)
|
||||
* [:link:](file-url/file-url.d.ts) [file-url](https://github.com/sindresorhus/file-url) by [MEDIA CHECK s.r.o.](http://www.mediacheck.cz)
|
||||
@@ -383,7 +419,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](firebase-client/firebase-client.d.ts) [Firebase Client](https://www.github.com/jpstevens/firebase-client) by [Andrew Breen](https://github.com/fpsscarecrow)
|
||||
* [:link:](firebase/firebase-simplelogin.d.ts) [Firebase Simple Login](https://www.firebase.com/docs/security/simple-login-overview.html) by [Wilker Lucio](http://github.com/wilkerlucio)
|
||||
* [:link:](first-mate/first-mate.d.ts) [first-mate](https://github.com/atom/first-mate) by [Vadim Macagon](https://github.com/enlight)
|
||||
* [:link:](fixed-data-table/fixed-data-table.d.ts) [fixed-data-table](https://github.com/facebook/fixed-data-table) by [Petar Paar](https://github.com/pepaar)
|
||||
* [:link:](fixed-data-table/fixed-data-table.d.ts) [fixed-data-table](https://github.com/facebook/fixed-data-table) by [Petar Paar](https://github.com/pepaar), [Stephen Jelfs](https://github.com/stephenjelfs)
|
||||
* [:link:](flake-idgen/flake-idgen.d.ts) [flakge-idgen](https://github.com/T-PWK/flake-idgen) by [Yuce Tekol](http://yuce.me)
|
||||
* [:link:](flat/flat.d.ts) [flat](https://github.com/hughsk/flat) by [Ilya Mochalov](https://github.com/chrootsu)
|
||||
* [:link:](flexSlider/flexSlider.d.ts) [FlexSlider 2 jquery plugin](https://github.com/woothemes/FlexSlider) by [Diullei Gomes](https://github.com/diullei)
|
||||
@@ -391,19 +427,20 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](flipsnap/flipsnap.d.ts) [flipsnap.js](http://pxgrid.github.io/js-flipsnap) by [kubosho](https://github.com/kubosho), [gsino](https://github.com/gsino), [Mayuki Sawatari](https://github.com/mayuki)
|
||||
* [:link:](flot/jquery.flot.d.ts) [Flot](http://www.flotcharts.org) by [Matt Burland](https://github.com/burlandm)
|
||||
* [:link:](flowjs/flowjs.d.ts) [flowjs](https://github.com/flowjs/flow.js) by [Ryan McNamara](https://github.com/ryan10132)
|
||||
* [:link:](flux/flux.d.ts) [Flux](http://facebook.github.io/flux) by [Steve Baker](https://github.com/stkb)
|
||||
* [:link:](flux/flux.d.ts) [Flux](http://facebook.github.io/flux) by [Steve Baker](https://github.com/stkb), [Giedrius Grabauskas](https://github.com/QuatroDevOfficial)
|
||||
* [:link:](flux-standard-action/flux-standard-action.d.ts) [flux-standard-action](https://github.com/acdlite/flux-standard-action) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](fluxxor/fluxxor.d.ts) [Fluxxor](https://github.com/BinaryMuse/fluxxor) by [Yuichi Murata](https://github.com/mrk21)
|
||||
* [:link:](fontoxml/fontoxml.d.ts) [FontoXML](http://www.fontoxml.com) by [Roland Zwaga](https://github.com/rolandzwaga)
|
||||
* [:link:](ion.rangeSlider/ion.rangeSlider.d.ts) [for Ion.RangeSlider](https://github.com/IonDen/ion.rangeSlider) by [Sixin Li](https://github.com/sixinli)
|
||||
* [:link:](jee-jsf/jsf.d.ts) [for the JSF 2.0 Ajax request API](https://docs.oracle.com/cd/E17802_01/j2ee/javaee/javaserverfaces/2.0/docs/js-api/symbols/jsf.ajax.html) by [Lars Michaelis and Stephan Zerhusen](https://github.com/ButterFaces/ButterFaces)
|
||||
* [:link:](forge-di/forge-di.d.ts) [forge-di](https://github.com/nkohari/forge) by [Adam Carr](https://github.com/adamcarr)
|
||||
* [:link:](form-data/form-data.d.ts) [form-data](https://github.com/felixge/node-form-data) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](formidable/formidable.d.ts) [Formidable](https://github.com/felixge/node-formidable) by [Wim Looman](https://github.com/Nemo157)
|
||||
* [:link:](foundation/foundation.d.ts) [Foundation](http://foundation.zurb.com) by [Boris Yankov](https://github.com/borisyankov)
|
||||
* [:link:](foundation-sites/foundation-sites.d.ts) [Foundation Sites](http://foundation.zurb.com) by [Sam Vloeberghs](https://github.com/samvloeberghs)
|
||||
* [:link:](fpsmeter/FPSMeter.d.ts) [FPSmeter](http://darsa.in/fpsmeter) by [Aaron Lampros](http://github.com/alampros)
|
||||
* [:link:](freedom/freedom-core-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek)
|
||||
* [:link:](freedom/freedom-module-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek)
|
||||
* [:link:](freedom/freedom.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek)
|
||||
* [:link:](freedom/freedom-core-env.d.ts) [freedom](https://github.com/freedomjs/freedom) by [Jonathan Pevarnek](https://github.com/jpevarnek)
|
||||
* [:link:](from/from.d.ts) [from](https://github.com/dominictarr/from) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](fs-ext/fs-ext.d.ts) [fs-ext](https://github.com/baudehlo/node-fs-ext) by [Oguzhan Ergin](https://github.com/OguzhanE)
|
||||
* [:link:](fs-extra/fs-extra.d.ts) [fs-extra](https://github.com/jprichardson/node-fs-extra) by [midknight41](https://github.com/midknight41)
|
||||
@@ -413,6 +450,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](ftp/ftp.d.ts) [ftp](https://github.com/mscdex/node-ftp) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](ftpd/ftpd.d.ts) [ftpd](https://github.com/sstur/nodeftpd) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](fullCalendar/fullCalendar.d.ts) [FullCalendar](http://arshaw.com/fullcalendar) by [Neil Stalker](https://github.com/nestalk), [Marcelo Camargo](https://github.com/hasellcamargo)
|
||||
* [:link:](fullname/fullname.d.ts) [fullname](https://www.npmjs.com/package/fullname) by [Klaus Reimer](https://github.com/kayahr)
|
||||
* [:link:](fuse/fuse.d.ts) [Fuse.js](https://github.com/krisk/Fuse) by [Greg Smith](https://github.com/smrq)
|
||||
* [:link:](jquery-galleria/jquery-galleria.d.ts) [galleria.js](https://github.com/aino/galleria) by [Robert Imig](https://github.com/rimig)
|
||||
* [:link:](gamepad/gamepad.d.ts) [Gamepad API](http://www.w3.org/TR/gamepad) by [Kon](http://phyzkit.net)
|
||||
@@ -434,33 +472,33 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](goJS/goJS.d.ts) [GoJS](http://gojs.net) by [Northwoods Software](https://github.com/NorthwoodsSoftware)
|
||||
* [:link:](google.analytics/ga.d.ts) [Google Analytics (Classic and Universal)](https://developers.google.com/analytics/devguides/collection/gajs) by [Ronnie Haakon Hegelund](http://ronniehegelund.blogspot.dk), [Pat Kujawa](http://patkujawa.com)
|
||||
* [:link:](gapi/gapi.d.ts) [Google API Client](https://code.google.com/p/google-api-javascript-client) by [Frank M](https://github.com/sgtfrankieboy)
|
||||
* [:link:](google-apps-script/google-apps-script.html.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.groups.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.gmail.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.calendar.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.script.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.properties.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.maps.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.url-fetch.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.optimization.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.ui.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.forms.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.document.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.content.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.mail.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.drive.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.types.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.spreadsheet.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.lock.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.sites.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.groups.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.xml-service.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.sites.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.utilities.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.language.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.jdbc.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.html.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.optimization.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.url-fetch.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.properties.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.ui.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.maps.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.mail.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.lock.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.language.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.types.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.base.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.cache.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.calendar.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.spreadsheet.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.charts.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.contacts.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.content.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.document.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.drive.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.forms.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google-apps-script/google-apps-script.gmail.d.ts) [Google Apps Script 2015-11-12](https://developers.google.com/apps-script) by [motemen](https://github.com/motemen)
|
||||
* [:link:](google.feeds/google.feed.api.d.ts) [Google Feed Apis](https://developers.google.com/feed) by [RodneyJT](https://github.com/RodneyJT)
|
||||
* [:link:](google.geolocation/google.geolocation.d.ts) [Google Geolocation](https://code.google.com/p/geo-location-javascript) by [Vincent Bortone](https://github.com/vbortone)
|
||||
* [:link:](googlemaps/google.maps.d.ts) [Google Maps JavaScript API](https://developers.google.com/maps) by [Folia A/S](http://www.folia.dk), [Chris Wrench](https://github.com/cgwrench)
|
||||
@@ -472,6 +510,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](gapi.translate/gapi.translate.d.ts) [Google Translate API](https://developers.google.com/translate) by [Frank M](https://github.com/sgtfrankieboy)
|
||||
* [:link:](gapi.urlshortener/gapi.urlshortener.d.ts) [Google Url Shortener API](https://developers.google.com/url-shortener) by [Frank M](https://github.com/sgtfrankieboy)
|
||||
* [:link:](google.visualization/google.visualization.d.ts) [Google Visualisation Apis](https://developers.google.com/chart) by [Dan Ludwig](https://github.com/danludwig)
|
||||
* [:link:](google-maps/google-maps.d.ts) [google-maps](https://www.npmjs.com/package/google-maps) by [Deividas Bakanas](https://github.com/DeividasBakanas), [Giedrius Grabauskas](https://github.com/GiedriusGrabauskas)
|
||||
* [:link:](gae.channel.api/gae.channel.api.d.ts) [GoogleAppEngine's Channel API](https://developers.google.com/appengine/docs/java/channel/javascript) by [vvakame](https://github.com/vvakame)
|
||||
* [:link:](graceful-fs/graceful-fs.d.ts) [graceful-fs](https://github.com/cowboy/graceful-fs) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](graham_scan/graham_scan.d.ts) [graham_scan](https://github.com/brian3kb/graham_scan_js) by [Harm Berntsen](https://github.com/hberntsen)
|
||||
@@ -486,6 +525,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](gsap/TweenLite.d.ts) [GSAP](http://greensock.com) by [VILIC VANE](https://vilic.github.io)
|
||||
* [:link:](gulp/gulp.d.ts) [Gulp v3.8.x](http://gulpjs.com) by [Drew Noakes](https://drewnoakes.com)
|
||||
* [:link:](gulp-autoprefixer/gulp-autoprefixer.d.ts) [gulp-autoprefixer](https://github.com/sindresorhus/gulp-autoprefixer) by [Asana](https://asana.com)
|
||||
* [:link:](gulp-babel/gulp-babel.d.ts) [gulp-babel](https://github.com/babel/gulp-babel) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
* [:link:](gulp-cached/gulp-cached.d.ts) [gulp-cached](https://github.com/wearefractal/gulp-cached) by [Thomas Corbière](https://github.com/tomc974)
|
||||
* [:link:](gulp-changed/gulp-changed.d.ts) [gulp-changed](https://github.com/sindresorhus/gulp-changed) by [Thomas Corbière](https://github.com/tomc974)
|
||||
* [:link:](gulp-cheerio/gulp-cheerio.d.ts) [gulp-cheerio](https://github.com/KenPowers/gulp-cheerio) by [Qubo](https://github.com/tkQubo)
|
||||
@@ -552,7 +592,9 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](highland/highland.d.ts) [Highland](http://highlandjs.org) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](highlightjs/highlightjs.d.ts) [highlight.js](https://github.com/isagalaev/highlight.js) by [Niklas Mollenhauer](https://github.com/nikeee), [Jeremy Hull](https://github.com/sourrust)
|
||||
* [:link:](highcharts/highstock.d.ts) [Highstock](http://www.highcharts.com) by [David Deutsch](http://github.com/DavidKDeutsch)
|
||||
* [:link:](react-router/history.d.ts) [history](https://github.com/rackt/history) by [Sergey Buturlakin](http://github.com/sergey-buturlakin)
|
||||
* [:link:](history/history.d.ts) [History.js](https://github.com/browserstate/history.js) by [Boris Yankov](https://github.com/borisyankov), [Gidon Junge](https://github.com/gjunge)
|
||||
* [:link:](hopscotch/hopscotch.d.ts) [Hopscotch](http://linkedin.github.io/hopscotch) by [Tim Perry](https://github.com/pimterry)
|
||||
* [:link:](howlerjs/howler.d.ts) [howler.js](https://github.com/goldfire/howler.js) by [Pedro Casaubon](https://github.com/xperiments)
|
||||
* [:link:](touch-events/touch-events.d.ts) [HTML Touch Events](http://www.w3.org/TR/touch-events) by [Kevin Barabash](https://github.com/kevinb7)
|
||||
* [:link:](html-to-text/html-to-text.d.ts) [html-to-text](https://github.com/werk85/node-html-to-text) by [Eryk Warren](https://github.com/erykwarren)
|
||||
@@ -566,9 +608,10 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](humane/humane.d.ts) [Humane](http://wavded.github.com/humane-js) by [jmvrbanac](https://github.com/jmvrbanac)
|
||||
* [:link:](hypertext-application-language/hypertext-application-language.d.ts) [Hypertext Application Language Draft 6](https://tools.ietf.org/html/draft-kelly-json-hal-06) by [Maks3w](https://github.com/maks3w)
|
||||
* [:link:](i18n-node/i18n-node.d.ts) [i18n-node](https://github.com/mashpie/i18n-node) by [Maxime LUCE](https://github.com/SomaticIT)
|
||||
* [:link:](ng-i18next/ng-i18next.d.ts) [i18next](https://github.com/i18next/ng-i18next) by [Cyril Schumacher](https://github.com/cyrilschumacher)
|
||||
* [:link:](i18next/i18next.d.ts) [i18next](http://i18next.com) by [Maarten Docter](https://github.com/mdocter)
|
||||
* [:link:](ng-i18next/ng-i18next.d.ts) [i18next](https://github.com/i18next/ng-i18next) by [Cyril Schumacher](https://github.com/cyrilschumacher)
|
||||
* [:link:](iban/iban.d.ts) [iban.js](https://github.com/arhs/iban.js) by [Cyril Schumacher](https://github.com/cyrilschumacher)
|
||||
* [:link:](icepick/icepick.d.ts) [icepick](https://github.com/aearly/icepick) by [Nathan Brown](https://github.com/ngbrown)
|
||||
* [:link:](icheck/icheck.d.ts) [iCheck](http://damirfoy.com/iCheck) by [Dániel Tar](https://github.com/qcz)
|
||||
* [:link:](imagemagick/imagemagick.d.ts) [imagemagick](http://github.com/rsms/node-imagemagick) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](imagemagick-native/imagemagick-native.d.ts) [imagemagick-native](https://www.npmjs.org/package/imagemagick-native) by [Hiroki Horiuchi](https://github.com/horiuchi)
|
||||
@@ -578,6 +621,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](impress/impress.d.ts) [Impress.js](https://github.com/bartaz/impress.js) by [Boris Yankov](https://github.com/borisyankov)
|
||||
* [:link:](incremental-dom/incremental-dom.d.ts) [Incremetal DOM](https://github.com/google/incremental-dom) by [Basarat Ali Syed](https://github.com/basarat)
|
||||
* [:link:](inflection/inflection.d.ts) [inflection](https://github.com/dreamerslab/node.inflection) by [Shogo Iwano](https://github.com/shiwano)
|
||||
* [:link:](inherits/inherits.d.ts) [inherits](https://github.com/isaacs/inherits) by [Ilya Mochalov](https://github.com/chrootsu)
|
||||
* [:link:](ini/ini.d.ts) [ini](https://github.com/isaacs/ini) by [Marcin Porębski](https://github.com/marcinporebski)
|
||||
* [:link:](iniparser/iniparser.d.ts) [iniparser](https://github.com/shockie/node-iniparser) by [Ilya Mochalov](https://github.com/chrootsu)
|
||||
* [:link:](inline-css/inline-css.d.ts) [inline-css](https://github.com/jonkemp/inline-css) by [Philip Spain](https://github.com/philipisapain)
|
||||
@@ -598,6 +642,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](iscroll/iscroll-lite.d.ts) [iScroll Lite](http://cubiq.org/iscroll-4) by [Boris Yankov](https://github.com/borisyankov), [Christiaan Rakowski](https://github.com/csrakowski)
|
||||
* [:link:](iscroll/iscroll-5-lite.d.ts) [iScroll Lite 5](http://cubiq.org/iscroll-5-ready-for-beta-test) by [Christiaan Rakowski](https://github.com/csrakowski)
|
||||
* [:link:](iso8601-localizer/iso8601-localizer.d.ts) [ISO8601-Localizer](https://github.com/avielfedida/ISO8601-Localizer) by [Aviel Fedida](https://github.com/avielfedida)
|
||||
* [:link:](istanbul/istanbul.d.ts) [Istanbul](https://github.com/gotwarlost/istanbul) by [Tanguy Krotoff](https://github.com/tkrotoff)
|
||||
* [:link:](ix.js/ix.d.ts) [IxJS 1.0.6 / ix.js](https://github.com/Reactive-Extensions/IxJS) by [Igor Oleinikov](https://github.com/Igorbek)
|
||||
* [:link:](ix.js/l2o.d.ts) [IxJS 1.0.6 / l2o.js](https://github.com/Reactive-Extensions/IxJS) by [Igor Oleinikov](https://github.com/Igorbek)
|
||||
* [:link:](jade/jade.d.ts) [jade](https://github.com/jadejs/jade) by [Panu Horsmalahti](https://github.com/panuhorsmalahti)
|
||||
@@ -606,6 +651,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](jasmine-data_driven_tests/jasmine-data_driven_tests.d.ts) [Jasmine Data Driven Tests](https://github.com/gburghardt/jasmine-data_driven_tests) by [Anthony MacKinnon](https://github.com/AnthonyMacKinnon)
|
||||
* [:link:](jasmine-ajax/jasmine-ajax.d.ts) [jasmine-ajax](https://github.com/jasmine/jasmine-ajax) by [Louis Grignon](https://github.com/lgrignon)
|
||||
* [:link:](jasmine-es6-promise-matchers/jasmine-es6-promise-matchers.d.ts) [jasmine-es6-promise-matchers](https://github.com/bvaughn/jasmine-es6-promise-matchers) by [Stephen Lautier](https://github.com/stephenlautier)
|
||||
* [:link:](jasmine-expect/jasmine-expect.d.ts) [jasmine-expect](https://github.com/JamieMason/Jasmine-Matchers) by [UserPixel](https://github.com/UserPixel)
|
||||
* [:link:](jasmine-fixture/jasmine-fixture.d.ts) [Jasmine-fixture](https://github.com/searls/jasmine-fixture) by [Craig Brett](https://github.com/craigbrett17)
|
||||
* [:link:](jasmine-jquery/jasmine-jquery.d.ts) [Jasmine-JQuery](https://github.com/velesin/jasmine-jquery) by [Gregor Stamac](https://github.com/gstamac)
|
||||
* [:link:](jasmine-matchers/jasmine-matchers.d.ts) [jasmine-matchers](https://github.com/uxebu/jasmine-matchers) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
@@ -614,6 +660,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](java-applet/java-applet.d.ts) [Java Applet](https://www.java.com) by [Cyril Schumacher](https://github.com/cyrilschumacher)
|
||||
* [:link:](hooker/hooker.d.ts) [JavaScript Hooker](https://github.com/cowboy/javascript-hooker) by [Michael Zabka](https://github.com/misak113)
|
||||
* [:link:](oauth.js/oauth.js.d.ts) [JavaScript software for implementing an OAuth consumer](https://code.google.com/p/oauth) by [NOBUOKA Yu](https://github.com/nobuoka)
|
||||
* [:link:](javascript-bignum/javascript-bignum.d.ts) [javascript-bignum](https://github.com/jtobey/javascript-bignum) by [Nathan Shively-Sanders](https://github.com/sandersn)
|
||||
* [:link:](jbinary/jbinary.d.ts) [jBinary](https://github.com/jDataView/jBinary) by [Tim Bureck](https://github.com/tbureck)
|
||||
* [:link:](jdataview/jdataview.d.ts) [jDataView](https://github.com/jDataView/jDataView) by [Ingvar Stepanyan](https://github.com/RReverser)
|
||||
* [:link:](jest/jest.d.ts) [Jest](http://facebook.github.io/jest) by [Asana](https://asana.com)
|
||||
@@ -621,7 +668,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](jjve/jjve.d.ts) [JJVE](https://github.com/silas/jjve) by [Wim Looman](https://github.com/Nemo157)
|
||||
* [:link:](joData/joData.d.ts) [joData](https://github.com/mccow002/joData) by [Chris Wrench](https://github.com/cgwrench)
|
||||
* [:link:](johnny-five/johnny-five.d.ts) [johnny-five](https://github.com/rwaldron/johnny-five) by [Toshiya Nakakura](https://github.com/nakakura)
|
||||
* [:link:](joi/joi.d.ts) [joi](https://github.com/spumko/joi) by [Bart van der Schoor](https://github.com/Bartvds), [Laurence Dougal Myers](https://github.com/laurence-myers), [Christopher Glantschnig](https://github.com/cglantschnig)
|
||||
* [:link:](joi/joi.d.ts) [joi](https://github.com/spumko/joi) by [Bart van der Schoor](https://github.com/Bartvds), [Laurence Dougal Myers](https://github.com/laurence-myers), [Christopher Glantschnig](https://github.com/cglantschnig), [David Broder-Rodgers](https://github.com/DavidBR-SW)
|
||||
* [:link:](jointjs/jointjs.d.ts) [Joint JS](http://www.jointjs.com) by [Aidan Reel](http://github.com/areel), [David Durman](http://github.com/DavidDurman), [Ewout Van Gossum](https://github.com/DenEwout)
|
||||
* [:link:](jqrangeslider/jqrangeslider.d.ts) [jQRangeSlider](http://ghusse.github.com/jQRangeSlider) by [Dániel Tar](https://github.com/qcz)
|
||||
* [:link:](jquery/jquery.d.ts) [jQuery 1.10.x / 2.0.x](http://jquery.com) by [Boris Yankov](https://github.com/borisyankov), [Christian Hoffmeister](https://github.com/choffmeister), [Steve Fenton](https://github.com/Steve-Fenton), [Diullei Gomes](https://github.com/Diullei), [Tass Iliopoulos](https://github.com/tasoili), [Jason Swearingen](https://github.com/jasons-novaleaf), [Sean Hill](https://github.com/seanski), [Guus Goossens](https://github.com/Guuz), [Kelly Summerlin](https://github.com/ksummerlin), [Basarat Ali Syed](https://github.com/basarat), [Nicholas Wolverson](https://github.com/nwolverson), [Derek Cicerone](https://github.com/derekcicerone), [Andrew Gaspar](https://github.com/AndrewGaspar), [James Harrison Fisher](https://github.com/jameshfisher), [Seikichi Kondo](https://github.com/seikichi), [Benjamin Jackman](https://github.com/benjaminjackman), [Poul Sorensen](https://github.com/s093294), [Josh Strobl](https://github.com/JoshStrobl), [John Reilly](https://github.com/johnnyreilly), [Dick van den Brink](https://github.com/DickvdBrink)
|
||||
@@ -637,6 +684,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](jquery.joyride/jquery.joyride.d.ts) [jQuery JoyRide Plugin](https://github.com/zurb/joyride) by [Vincent Bortone](https://github.com/vbortone)
|
||||
* [:link:](jqgrid/jqgrid.d.ts) [jQuery jqgrid Plugin](https://github.com/tonytomov/jqGrid) by [Lokesh Peta](https://github.com/lokeshpeta)
|
||||
* [:link:](jquery-knob/jquery-knob.d.ts) [jQuery Knob](http://anthonyterrien.com/knob) by [Iain Buchanan](https://github.com/iain8)
|
||||
* [:link:](jquery.mmenu/jquery.mmenu.d.ts) [jQuery mmenu](http://mmenu.frebsite.nl) by [John Gouigouix](https://github.com/orchestra-ts/DefinitelyTyped)
|
||||
* [:link:](jquerymobile/jquerymobile.d.ts) [jQuery Mobile](http://jquerymobile.com) by [Boris Yankov](https://github.com/borisyankov)
|
||||
* [:link:](jquery.notifyBar/jquery.notifyBar.d.ts) [jQuery Notify Bar](http://www.whoop.ee/posts/2013-04-05-the-resurrection-of-jquery-notify-bar) by [Shunsuke Ohtani](https://github.com/zaneli)
|
||||
* [:link:](jquery.base64/jquery.base64.d.ts) [jQuery Plugin - base64 codec](https://github.com/yatt/jquery.base64) by [Shinya Mochizuki](https://github.com/enrapt-mochizuki)
|
||||
@@ -688,6 +736,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](jquery.placeholder/jquery.placeholder.d.ts) [jquery.placeholder.js](https://github.com/mathiasbynens/jquery-placeholder) by [Peter Gill](https://github.com/majorsilence), [Neil Culver](https://github.com/EnableSoftware)
|
||||
* [:link:](jquery.pnotify/jquery.pnotify.d.ts) [jquery.pnotify 2.x](https://github.com/sciactive/pnotify) by [David Sichau](https://github.com/DavidSichau)
|
||||
* [:link:](jquery.qrcode/jquery.qrcode.d.ts) [jQuery.qrcode](https://github.com/lrsjng/jquery-qrcode) by [Dan Manastireanu](https://github.com/danmana)
|
||||
* [:link:](raty/raty.d.ts) [jQuery.raty](https://github.com/wbotelhos/raty) by [Matt Wheatley](http://github.com/terrawheat)
|
||||
* [:link:](jquery.scrollTo/jquery.scrollTo.d.ts) [jQuery.scrollTo.js](https://github.com/flesler/jquery.scrollTo) by [Neil Stalker](https://github.com/nestalk)
|
||||
* [:link:](form-serializer/form-serializer.d.ts) [jquery.serialize-object](https://github.com/macek/jquery-serialize-object) by [Florian Wagner](https://github.com/flqw)
|
||||
* [:link:](jquery.simulate/jquery.simulate.d.ts) [jquery.simulate.js](https://github.com/jquery/jquery-simulate) by [Derek Cicerone](https://github.com/derekcicerone)
|
||||
@@ -704,8 +753,10 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](jquery.total-storage/jquery.total-storage.d.ts) [jQueryTotalStorage](https://github.com/Upstatement/jquery-total-storage) by [Jeremy Brooks](https://github.com/JeremyCBrooks)
|
||||
* [:link:](jqueryui/jqueryui.d.ts) [jQueryUI](http://jqueryui.com) by [Boris Yankov](https://github.com/borisyankov), [John Reilly](https://github.com/johnnyreilly)
|
||||
* [:link:](js-beautify/js-beautify.d.ts) [js_beautify](https://github.com/beautify-web/js-beautify) by [Josh Goldberg](https://github.com/JoshuaKGoldberg)
|
||||
* [:link:](js-cookie/js-cookie.d.ts) [js-cookie](https://github.com/js-cookie/js-cookie) by [Theodore Brown](https://github.com/theodorejb)
|
||||
* [:link:](js-combinatorics/js-combinatorics.d.ts) [js-combinatorics](https://github.com/dankogai/js-combinatorics) by [Vasya Aksyonov](https://github.com/outring)
|
||||
* [:link:](js-combinatorics/js-combinatorics-global.d.ts) [js-combinatorics (global)](https://github.com/dankogai/js-combinatorics) by [Vasya Aksyonov](https://github.com/outring)
|
||||
* [:link:](ua-parser-js/ua-parser-js.d.ts) [js-cookie](https://github.com/faisalman/ua-parser-js) by [Viktor Miroshnikov](https://github.com/superduper)
|
||||
* [:link:](js-cookie/js-cookie.d.ts) [js-cookie](https://github.com/js-cookie/js-cookie) by [Theodore Brown](https://github.com/theodorejb)
|
||||
* [:link:](js-fixtures/fixtures.d.ts) [js-fixtures](https://github.com/badunk/js-fixtures) by [Kazi Manzur Rashid](https://github.com/kazimanzurrashid)
|
||||
* [:link:](js-git/js-git.d.ts) [js-git](https://github.com/creationix/js-git) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](js-md5/md5.d.ts) [js-md5](https://github.com/emn178/js-md5) by [Roland Greim](https://github.com/tigerxy)
|
||||
@@ -736,17 +787,20 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](jsonwebtoken/jsonwebtoken.d.ts) [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) by [Maxime LUCE](https://github.com/SomaticIT)
|
||||
* [:link:](jsplumb/jquery.jsPlumb.d.ts) [jsPlumb 1.3.16 jQuery adapter](http://jsplumb.org) by [Steve Shearn](https://github.com/shearnie)
|
||||
* [:link:](jsrender/jsrender.d.ts) [JsRender](http://www.jsviews.com/#jsrender) by [Kensuke Matsuzaki](https://github.com/zakki)
|
||||
* [:link:](jssha/jssha.d.ts) [jsSHA](https://github.com/Caligatio/jsSHA) by [David Li](https://github.com/randombk)
|
||||
* [:link:](jssha/jssha.d.ts) [jsSHA](https://github.com/Caligatio/jsSHA) by [David Li](https://github.com/randombk), [Tobias Kahlert](https://github.com/SrTobi)
|
||||
* [:link:](jstorage/jstorage.d.ts) [jStorage](http://www.jstorage.info) by [Danil Flores](https://github.com/dflor003)
|
||||
* [:link:](jstree/jstree.d.ts) [jsTree](http://www.jstree.com) by [Adam Pluciński](https://github.com/adaskothebeast)
|
||||
* [:link:](jsts/jsts.d.ts) [jsts](https://github.com/bjornharrtell/jsts) by [Stephane Alie](https://github.com/StephaneAlie)
|
||||
* [:link:](jsuri/jsuri.d.ts) [jsUri](https://github.com/derek-watson/jsUri) by [Chris Charabaruk](http://github.com/coldacid), [Florian Wagner](http://github.com/flqw)
|
||||
* [:link:](jsurl/jsurl.d.ts) [jsurl](https://github.com/Mikhus/jsurl) by [Alexey Gorshkov](https://github.com/agorshkov23)
|
||||
* [:link:](jszip/jszip.d.ts) [JSZip](http://stuk.github.com/jszip) by [mzeiher](https://github.com/mzeiher)
|
||||
* [:link:](jug/jug.d.ts) [jug](https://github.com/kaiquewdev/Graph) by [yevt](https://github.com/yevt)
|
||||
* [:link:](jwplayer/jwplayer.d.ts) [JW Player](http://developer.longtailvideo.com/trac) by [Martin Duparc](https://github.com/martinduparc)
|
||||
* [:link:](jwt-decode/jwt-decode.d.ts) [jwt-decode](https://github.com/auth0/jwt-decode) by [Giedrius Grabauskas](https://github.com/QuatroDevOfficial)
|
||||
* [:link:](jwt-simple/jwt-simple.d.ts) [jwt-simple](https://github.com/hokaccha/node-jwt-simple) by [Ken Fukuyama](https://github.com/kenfdev)
|
||||
* [:link:](kafka-node/kafka-node.d.ts) [kafka-node](https://github.com/SOHU-Co/kafka-node) by [Daniel Imrie-Situnayake](https://github.com/dansitu)
|
||||
* [:link:](karma/karma.d.ts) [karma](https://github.com/karma-runner/karma) by [Tanguy Krotoff](https://github.com/tkrotoff)
|
||||
* [:link:](karma-coverage/karma-coverage.d.ts) [karma-coverage](https://github.com/karma-runner/karma-coverage) by [Tanguy Krotoff](https://github.com/tkrotoff)
|
||||
* [:link:](karma-jasmine/karma-jasmine.d.ts) [karma-jasmine plugin](https://github.com/karma-runner/karma-jasmine) by [Michel Salib](https://github.com/michelsalib)
|
||||
* [:link:](katex/katex.d.ts) [KaTeX v.0.5.0](http://khan.github.io/KaTeX) by [Michael Randolph](https://github.com/mrand01)
|
||||
* [:link:](kefir/kefir.d.ts) [Kefir](http://rpominov.github.io/kefir) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
@@ -754,6 +808,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](keyboardjs/keyboardjs.d.ts) [KeyboardJS](https://github.com/RobertWHurst/KeyboardJS) by [Vincent Bortone](https://github.com/vbortone)
|
||||
* [:link:](keymaster/keymaster.d.ts) [keymaster](https://github.com/madrobby/keymaster) by [Martin W. Kirst](https://github.com/nitram509)
|
||||
* [:link:](keypress/keypress.d.ts) [Keypress](https://github.com/dmauro/Keypress) by [Roger Chen](https://github.com/rcchen)
|
||||
* [:link:](keytar/keytar.d.ts) [keytar](http://atom.github.io/node-keytar) by [Milan Burda](https://github.com/miniak)
|
||||
* [:link:](kii-cloud-sdk/kii-cloud-sdk.d.ts) [Kii Cloud SDK](http://en.kii.com) by [Kii Consortium](http://jp.kii.com/consortium)
|
||||
* [:link:](kineticjs/kineticjs.d.ts) [KineticJS](http://kineticjs.com) by [Basarat Ali Syed](http://www.github.com/basarat), [Ralph de Ruijter](http://www.superdopey.nl/techblog)
|
||||
* [:link:](knex/knex.d.ts) [Knex.js](https://github.com/tgriesser/knex) by [Qubo](https://github.com/tkQubo)
|
||||
@@ -792,9 +847,12 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](leapmotionTS/LeapMotionTS.d.ts) [Leap Motion TS](https://github.com/logotype/LeapMotionTS) by [Victor Norgren](https://github.com/logotype)
|
||||
* [:link:](less/less.d.ts) [LESS](http://lesscss.org) by [Tom Hasner](https://github.com/thasner)
|
||||
* [:link:](less-middleware/less-middleware.d.ts) [less-middleware](https://github.com/emberfeather/less.js-middleware) by [Federico Bond](https://github.com/federicobond)
|
||||
* [:link:](lestate/lestate.d.ts) [LeState](https://github.com/LeTools/LeState) by [Hadrian Oliveira](https://github.com/thelambdaparty)
|
||||
* [:link:](level-sublevel/level-sublevel.d.ts) [level-sublevel](https://github.com/dominictarr/level-sublevel) by [Bas Pennings](https://github.com/basp)
|
||||
* [:link:](levelup/levelup.d.ts) [LevelUp](https://github.com/rvagg/node-levelup) by [Bret Little](https://github.com/blittle)
|
||||
* [:link:](libxmljs/libxmljs.d.ts) [Libxmljs](https://github.com/polotek/libxmljs) by [François de Campredon](https://github.com/fdecampredon)
|
||||
* [:link:](lwip/lwip.d.ts) [Light-weight image processor](https://github.com/EyalAr/lwip) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
* [:link:](lime-js/lime-js.d.ts) [lime-js](https://github.com/takenet/lime-js) by [Arthur Xavier](https://github.com/arthur-xavier)
|
||||
* [:link:](line-reader/line-reader.d.ts) [line-reader](https://github.com/nickewing/line-reader) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
* [:link:](dustjs-linkedin/dustjs-linkedin.d.ts) [linkedin dustjs](https://github.com/linkedin/dustjs) by [Marcelo Dezem](http://github.com/mdezem)
|
||||
* [:link:](linq/linq.jquery.d.ts) [linq.jquery (from linq.js)](http://linqjs.codeplex.com) by [neuecc](http://www.codeplex.com/site/users/view/neuecc)
|
||||
@@ -802,6 +860,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](linqsharp/linqsharp.d.ts) [linqsharp](https://www.npmjs.com/package/linqsharp) by [Bruno Leonardo Michels](https://github.com/brunolm)
|
||||
* [:link:](jquery.livestampjs/jquery.livestampjs.d.ts) [Livestamp.js](http://mattbradley.github.com/livestampjs) by [Vincent Bortone](https://github.com/vbortone)
|
||||
* [:link:](lodash/lodash.d.ts) [Lo-Dash](http://lodash.com) by [Brian Zengel](https://github.com/bczengel), [Ilya Mochalov](https://github.com/chrootsu)
|
||||
* [:link:](lobibox/lobibox.d.ts) [lobibox](https://github.com/arboshiki/lobibox) by [Sabeeh Ul Hussnain](https://github.com/itboy87)
|
||||
* [:link:](lockfile/lockfile.d.ts) [lockfile](https://github.com/isaacs/lockfile) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](lodash-decorators/lodash-decorators.d.ts) [lodash-decorators](https://github.com/steelsojka/lodash-decorators) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](log4javascript/log4javascript.d.ts) [log4javascript](http://log4javascript.org) by [Markus Wagner](https://github.com/Ritzlgrmft)
|
||||
@@ -812,7 +871,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](logrotate-stream/logrotate-stream.d.ts) [logrotate-stream](https://github.com/dstokes/logrotate-stream) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](lokijs/lokijs.d.ts) [lokijs](https://github.com/techfort/LokiJS) by [TeamworkGuy2](https://github.com/TeamworkGuy2)
|
||||
* [:link:](lolex/lolex.d.ts) [lolex](https://github.com/sinonjs/lolex) by [Wim Looman](https://github.com/Nemo157)
|
||||
* [:link:](long/long.d.ts) [Long.js](https://github.com/dcodeIO/Long.js) by [Peter Kooijmans](https://github.com/peterkooijmans)
|
||||
* [:link:](long/long.d.ts) [long.js](https://github.com/dcodeIO/long.js) by [Peter Kooijmans](https://github.com/peterkooijmans)
|
||||
* [:link:](lory.js/lory.js.d.ts) [lory](https://github.com/meandmax/lory) by [kubosho](https://github.com/kubosho)
|
||||
* [:link:](lovefield/lovefield.d.ts) [Lovefield](http://google.github.io/lovefield) by [freshp86](https://github.com/freshp86)
|
||||
* [:link:](lower-case/lower-case.d.ts) [lower-case](https://github.com/blakeembrey/lower-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
@@ -836,6 +895,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](mariasql/mariasql.d.ts) [mariasql](https://github.com/mscdex/node-mariasql) by [MichaelBennett](https://github.com/bennett000)
|
||||
* [:link:](marionette/marionette.d.ts) [Marionette](https://github.com/marionettejs) by [Zeeshan Hamid](https://github.com/zhamid), [Natan Vivo](https://github.com/nvivo), [Sven Tschui](https://github.com/sventschui)
|
||||
* [:link:](marked/marked.d.ts) [Marked](https://github.com/chjj/marked) by [William Orr](https://github.com/worr)
|
||||
* [:link:](ngwysiwyg/ngwysiwyg.d.ts) [Marked](https://github.com/psergus/ngWYSIWYG) by [Patrick Mac Kay](https://github.com/patrick-mackay)
|
||||
* [:link:](markerclustererplus/markerclustererplus.d.ts) [MarkerClustererPlus for Google Maps V3](http://github.com/mahnunchik/markerclustererplus) by [Mathias Rodriguez](http://github.com/enanox)
|
||||
* [:link:](markitup/markitup.d.ts) [markitup 1.x](https://github.com/markitup/1.x) by [drillbits](https://github.com/drillbits)
|
||||
* [:link:](maskedinput/maskedinput.d.ts) [Masked Input plugin for jQuery](http://digitalbush.com/projects/masked-input-plugin) by [Lokesh Peta](https://github.com/lokeshpeta)
|
||||
@@ -881,21 +941,24 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](mixto/mixto.d.ts) [mixto](https://github.com/atom/mixto) by [vvakame](https://github.com/vvakame)
|
||||
* [:link:](mkdirp/mkdirp.d.ts) [mkdirp](http://github.com/substack/node-mkdirp) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](mkpath/mkpath.d.ts) [mkpath](https://www.npmjs.com/package/mkpath) by [Jared Klopper](https://github.com/optical)
|
||||
* [:link:](mmmagic/mmmagic.d.ts) [mmmagic](https://github.com/mscdex/mmmagic) by [Andrei Sebastian Cîmpean](http://andreime.com)
|
||||
* [:link:](mobile-detect/mobile-detect.d.ts) [mobile-detect](http://hgoebl.github.io/mobile-detect.js) by [Martin McWhorter](https://github.com/martinmcwhorter)
|
||||
* [:link:](mobservable-react/mobservable-react.d.ts) [mobservable](https://github.com/mweststrate/mobservable-react) by [Michel Weststrate](https://github.com/mweststrate)
|
||||
* [:link:](mobservable/mobservable.d.ts) [mobservable](https://mweststrate.github.io/mobservable) by [Michel Weststrate](https://github.com/mweststrate)
|
||||
* [:link:](mobservable-react/mobservable-react.d.ts) [mobservable](https://github.com/mweststrate/mobservable-react) by [Michel Weststrate](https://github.com/mweststrate)
|
||||
* [:link:](mocha/mocha.d.ts) [mocha](http://mochajs.org) by [Kazi Manzur Rashid](https://github.com/kazimanzurrashid), [otiai10](https://github.com/otiai10), [jt000](https://github.com/jt000), [Vadim Macagon](https://github.com/enlight)
|
||||
* [:link:](mocha/mocha-node.d.ts) [mocha](http://mochajs.org) by [Vadim Macagon](https://github.com/enlight), [vvakame](https://github.com/vvakame)
|
||||
* [:link:](mocha-phantomjs/mocha-phantomjs.d.ts) [mocha-phantomjs](http://metaskills.net/mocha-phantomjs) by [Erik Schierboom](https://github.com/ErikSchierboom)
|
||||
* [:link:](mock-fs/mock-fs.d.ts) [mock-fs](https://github.com/tschaub/mock-fs) by [Wim Looman](https://github.com/Nemo157)
|
||||
* [:link:](mockery/mockery.d.ts) [mockery](https://github.com/mfncooper/mockery) by [jt000](https://github.com/jt000)
|
||||
* [:link:](modernizr/modernizr.d.ts) [Modernizr](http://modernizr.com) by [Boris Yankov](https://github.com/borisyankov), [Theodore Brown](https://github.com/theodorejb)
|
||||
* [:link:](modernizr/modernizr.d.ts) [Modernizr](http://modernizr.com) by [Boris Yankov](https://github.com/borisyankov), [Theodore Brown](https://github.com/theodorejb), [Leon Yu](https://github.com/leonyu)
|
||||
* [:link:](moment-timezone/moment-timezone.d.ts) [moment-timezone.js](http://momentjs.com/timezone) by [Michel Salib](https://github.com/michelsalib)
|
||||
* [:link:](moment/moment.d.ts) [Moment.js](https://github.com/timrwood/moment) by [Michael Lakerveld](https://github.com/Lakerfield), [Aaron King](https://github.com/kingdango), [Hiroki Horiuchi](https://github.com/horiuchi), [Dick van den Brink](https://github.com/DickvdBrink), [Adi Dahiya](https://github.com/adidahiya), [Matt Brooks](https://github.com/EnableSoftware)
|
||||
* [:link:](moment/moment-node.d.ts) [Moment.js](https://github.com/timrwood/moment) by [Michael Lakerveld](https://github.com/Lakerfield), [Aaron King](https://github.com/kingdango), [Hiroki Horiuchi](https://github.com/horiuchi), [Dick van den Brink](https://github.com/DickvdBrink), [Adi Dahiya](https://github.com/adidahiya), [Matt Brooks](https://github.com/EnableSoftware)
|
||||
* [:link:](moment-range/moment-range.d.ts) [Moment.js](https://github.com/gf3/moment-range) by [Bart van den Burg](https://github.com/Burgov), [Wilgert Velinga](https://github.com/wilgert)
|
||||
* [:link:](moment/moment-node.d.ts) [Moment.js](https://github.com/timrwood/moment) by [Michael Lakerveld](https://github.com/Lakerfield), [Aaron King](https://github.com/kingdango), [Hiroki Horiuchi](https://github.com/horiuchi), [Dick van den Brink](https://github.com/DickvdBrink), [Adi Dahiya](https://github.com/adidahiya), [Matt Brooks](https://github.com/EnableSoftware)
|
||||
* [:link:](moment/moment.d.ts) [Moment.js](https://github.com/timrwood/moment) by [Michael Lakerveld](https://github.com/Lakerfield), [Aaron King](https://github.com/kingdango), [Hiroki Horiuchi](https://github.com/horiuchi), [Dick van den Brink](https://github.com/DickvdBrink), [Adi Dahiya](https://github.com/adidahiya), [Matt Brooks](https://github.com/EnableSoftware)
|
||||
* [:link:](mongodb/mongodb.d.ts) [MongoDB](https://github.com/mongodb/node-mongodb-native) by [Boris Yankov](https://github.com/borisyankov)
|
||||
* [:link:](mongoose/mongoose.d.ts) [Mongoose](http://mongoosejs.com) by [horiuchi](https://github.com/horiuchi)
|
||||
* [:link:](mongoose-auto-increment/mongoose-auto-increment.d.ts) [mongoose-auto-increment](https://github.com/codetunnel/mongoose-auto-increment) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
* [:link:](mongoose-deep-populate/mongoose-deep-populate.d.ts) [mongoose-deep-populate](https://github.com/buunguyen/mongoose-deep-populate) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
* [:link:](mongoose-mock/mongoose-mock.d.ts) [mongoose-mock](https://github.com/JohanObrink/mongoose-mock) by [jt000](https://github.com/jt000)
|
||||
* [:link:](morgan/morgan.d.ts) [morgan](https://github.com/expressjs/morgan) by [James Roland Cabresos](https://github.com/staticfunction)
|
||||
* [:link:](mousetrap/mousetrap-global-bind.d.ts) [Mousetrap 1.4.6's global-bind extension](http://craig.is/killing/mice#extensions.global) by [Andrew Bradley](https://github.com/cspotcode)
|
||||
@@ -910,7 +973,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](msportalfx-test/msportalfx-test.d.ts) [msportalfx-test](https://msazure.visualstudio.com/DefaultCollection/AzureUX/_git/portalfx-msportalfx-test) by [Julio Casal](https://github.com/julioct)
|
||||
* [:link:](mssql/mssql.d.ts) [mssql](https://www.npmjs.com/package/mssql) by [COLSA Corporation](http://www.colsa.com), [Ben Farr](https://github.com/jaminfarr)
|
||||
* [:link:](mu2/mu2.d.ts) [mu2](http://github.com/raycmorgan/mu) by [Jeff Goddard](https://github.com/jedigo)
|
||||
* [:link:](multer/multer.d.ts) [multer](https://github.com/expressjs/multer) by [jt000](https://github.com/jt000), [vilicvane](https://vilic.github.io)
|
||||
* [:link:](multer/multer.d.ts) [multer](https://github.com/expressjs/multer) by [jt000](https://github.com/jt000), [vilicvane](https://vilic.github.io), [David Broder-Rodgers](https://github.com/DavidBR-SW)
|
||||
* [:link:](multiplexjs/multiplexjs.d.ts) [Multiplex.js](http://github.com/multiplex/multiplex.js) by [Kamyar Nazeri](http://github.com/KamyarNazeri)
|
||||
* [:link:](mustache/mustache.d.ts) [Mustache](https://github.com/janl/mustache.js) by [Mark Ashley Bell](https://github.com/markashleybell)
|
||||
* [:link:](natural/natural.d.ts) [Natural](https://github.com/NaturalNode/natural) by [Dylan R. E. Moonfire](https://github.com/dmoonfire)
|
||||
@@ -925,23 +988,30 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](ng-flow/ng-flow.d.ts) [ng-flow](https://github.com/flowjs/ng-flow) by [Ryan McNamara](https://github.com/ryan10132)
|
||||
* [:link:](ng-grid/ng-grid.d.ts) [ng-grid](http://angular-ui.github.io/ng-grid) by [Ken Smith](https://github.com/smithkl42), [Roland Zwaga](https://github.com/rolandzwaga), [Kent Cooper](https://github.com/kentcooper)
|
||||
* [:link:](angular-idle/angular-idle.d.ts) [ng-idle](http://hackedbychinese.github.io/ng-idle) by [mthamil](https://github.com/mthamil)
|
||||
* [:link:](ng-notify/ng-notify.d.ts) [ng-notify](https://github.com/matowens/ng-notify) by [Nick Zamosenchuk](https://github.com/nzamosenchuk)
|
||||
* [:link:](ngbootbox/ngbootbox.d.ts) [ngbootbox](https://github.com/eriktufvesson/ngBootbox) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
* [:link:](ng-cordova/actionSheet.d.ts) [ngCordova Action Sheet plugin](https://github.com/driftyco/ng-cordova) by [Phil McCloghry-Laing](https://github.com/pmccloghrylaing)
|
||||
* [:link:](ng-cordova/appAvailability.d.ts) [ngCordova AppAvailability plugin](https://github.com/driftyco/ng-cordova) by [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/datepicker.d.ts) [ngCordova datepicker plugin](https://github.com/VitaliiBlagodir/cordova-plugin-datepicker) by [Jacques Kang](https://www.linkedin.com/in/jacqueskang)
|
||||
* [:link:](ng-cordova/badge.d.ts) [ngCordova badge plugin](https://github.com/driftyco/ng-cordova) by [Phil McCloghry-Laing](https://github.com/pmccloghrylaing)
|
||||
* [:link:](ng-cordova/app-version.d.ts) [ngCordova datepicker plugin](https://github.com/driftyco/ng-cordova) by [Jacques Kang](https://www.linkedin.com/in/jacqueskang)
|
||||
* [:link:](ng-cordova/datepicker.d.ts) [ngCordova datepicker plugin](https://github.com/VitaliiBlagodir/cordova-plugin-datepicker) by [Jacques Kang](https://www.linkedin.com/in/jacqueskang)
|
||||
* [:link:](ng-cordova/deviceMotion.d.ts) [ngCordova device motion plugin](https://github.com/driftyco/ng-cordova) by [Michel Vidailhet](https://github.com/mvidailhet), [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/deviceOrientation.d.ts) [ngCordova device orientation plugin](https://github.com/driftyco/ng-cordova) by [Michel Vidailhet](https://github.com/mvidailhet), [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/device.d.ts) [ngCordova device plugin](https://github.com/driftyco/ng-cordova) by [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/dialogs.d.ts) [ngCordova dialogs plugin](https://github.com/driftyco/ng-cordova) by [Michel Vidailhet](https://github.com/mvidailhet), [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/emailComposer.d.ts) [ngCordova emailComposer plugin](https://github.com/driftyco/ng-cordova) by [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/file.d.ts) [ngCordova file plugin](https://github.com/driftyco/ng-cordova) by [Phil McCloghry-Laing](https://github.com/pmccloghrylaing)
|
||||
* [:link:](ng-cordova/fileTransfer.d.ts) [ngCordova file-transfer plugin](https://github.com/driftyco/ng-cordova) by [Phil McCloghry-Laing](https://github.com/pmccloghrylaing)
|
||||
* [:link:](ng-cordova/geolocation.d.ts) [ngCordova geolocation plugin](https://github.com/driftyco/ng-cordova) by [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/network.d.ts) [ngCordova network plugin](https://github.com/driftyco/ng-cordova) by [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/tsd.d.ts) [ngCordova plugins](https://github.com/driftyco/ng-cordova) by [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/toast.d.ts) [ngCordova toast plugin](https://github.com/driftyco/ng-cordova) by [Kapil Sachdeva](https://github.com/ksachdeva)
|
||||
* [:link:](ng-cordova/camera.d.ts) [ngCordova.plugins.camera](https://github.com/driftyco/ng-cordova) by [Jacques Kang](https://www.linkedin.com/in/jacqueskang)
|
||||
* [:link:](ng-dialog/ng-dialog.d.ts) [ngDialog](https://github.com/likeastore/ngDialog) by [Stephen Lautier](https://github.com/stephenlautier)
|
||||
* [:link:](ngkookies/ngkookies.d.ts) [ngKookes](https://github.com/voronianski/ngKookies) by [Martin McWhorter](https://github.com/martinmcwhorter)
|
||||
* [:link:](ngprogress/ngprogress.d.ts) [ngProgress](http://victorbjelkholm.github.io/ngProgress) by [Martin McWhorter](https://github.com/martinmcwhorter)
|
||||
* [:link:](ngprogress-lite/ngprogress-lite.d.ts) [ngprogress-lite](https://github.com/voronianski/ngprogress-lite) by [Luke Forder](https://github.com/LukeForder)
|
||||
* [:link:](ng-stomp/ng-stomp.d.ts) [ngStomp](https://github.com/beevelop/ng-stomp) by [Lukasz Potapczuk](https://github.com/lpotapczuk)
|
||||
* [:link:](nightmare/nightmare.d.ts) [Nightmare](https://github.com/segmentio/nightmare) by [horiuchi](https://github.com/horiuchi)
|
||||
* [:link:](noble/noble.d.ts) [noble](https://github.com/sandeepmistry/noble) by [Seon-Wook Park](https://github.com/swook)
|
||||
* [:link:](nock/nock.d.ts) [nock](https://github.com/pgte/nock) by [bonnici](https://github.com/bonnici)
|
||||
@@ -959,6 +1029,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](config/config.d.ts) [node-config](https://github.com/lorenwest/node-config) by [Roman Korneev](https://github.com/RWander)
|
||||
* [:link:](node-config-manager/node-config-manager.d.ts) [node-config-manager](https://www.npmjs.com/package/node-config-manager) by [TANAKA Koichi](https://gitnub.com/mugeso)
|
||||
* [:link:](convict/convict.d.ts) [node-convict](https://github.com/mozilla/node-convict) by [Wim Looman](https://github.com/Nemo157)
|
||||
* [:link:](node-dir/node-dir.d.ts) [node-dir](https://github.com/fshost/node-dir) by [Panu Horsmalahti](https://github.com/panuhorsmalahti)
|
||||
* [:link:](email-templates/email-templates.d.ts) [node-email-templates](https://github.com/niftylettuce/node-email-templates) by [Cyril Schumacher](https://github.com/cyrilschumacher)
|
||||
* [:link:](node-ffi/node-ffi.d.ts) [node-ffi](https://github.com/rbranson/node-ffi) by [Paul Loyd](https://github.com/loyd)
|
||||
* [:link:](node-fibers/node-fibers.d.ts) [node-fibers](https://github.com/laverdet/node-fibers) by [Cary Haynie](https://github.com/caryhaynie)
|
||||
* [:link:](node-form/node-form.d.ts) [node-form](https://github.com/rsamec/form) by [Roman Samec](https://github.com/rsamec)
|
||||
@@ -980,10 +1052,10 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](node-slack/node-slack.d.ts) [node-slack](https://github.com/xoxco/node-slack) by [Qubo](https://github.com/tkQubo)
|
||||
* [:link:](srp/srp.d.ts) [node-srp](https://github.com/mozilla/node-srp) by [Pat Smuk](https://github.com/Patman64)
|
||||
* [:link:](stack-trace/stack-trace.d.ts) [node-stack-trace](https://github.com/felixge/node-stack-trace) by [Exceptionless](https://github.com/exceptionless)
|
||||
* [:link:](node-uuid/node-uuid-base.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
|
||||
* [:link:](node-uuid/node-uuid-cjs.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
|
||||
* [:link:](node-uuid/node-uuid-global.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
|
||||
* [:link:](node-uuid/node-uuid-base.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
|
||||
* [:link:](node-uuid/node-uuid.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
|
||||
* [:link:](node-uuid/node-uuid-global.d.ts) [node-uuid.js](https://github.com/broofa/node-uuid) by [Jeff May](https://github.com/jeffmay)
|
||||
* [:link:](node-validator/node-validator.d.ts) [node-validator](https://www.npmjs.com/package/node-validator) by [Ken Gorab](https://github.com/kengorab)
|
||||
* [:link:](node-webkit/node-webkit.d.ts) [node-webkit](https://github.com/rogerwang/node-webkit) by [Pedro Casaubon](https://github.com/xperiments)
|
||||
* [:link:](xml2js/xml2js.d.ts) [node-xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) by [Michel Salib](https://github.com/michelsalib), [Jason McNeil](https://github.com/jasonrm)
|
||||
@@ -991,6 +1063,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](restify/restify.d.ts) [node.js REST framework](https://github.com/mcavage/node-restify) by [Bret Little](https://github.com/blittle)
|
||||
* [:link:](node/node.d.ts) [Node.js v4.x](http://nodejs.org) by [Microsoft TypeScript](http://typescriptlang.org), [DefinitelyTyped](https://github.com/borisyankov/DefinitelyTyped)
|
||||
* [:link:](each/each.d.ts) [NodeEach](http://www.adaltas.com/projects/node-each) by [Michael Zabka](https://github.com/misak113)
|
||||
* [:link:](yandex-money-sdk/yandex-money-sdk.d.ts) [NodeJS Yandex.Money API SDK](https://github.com/yandex-money/yandex-money-sdk-nodejs) by [Ilya Mochalov](https://github.com/chrootsu)
|
||||
* [:link:](nodemailer/nodemailer.d.ts) [Nodemailer](https://github.com/andris9/Nodemailer) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](nodemailer/nodemailer-types.d.ts) [Nodemailer](https://github.com/andris9/Nodemailer) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](nodemailer-direct-transport/nodemailer-direct-transport.d.ts) [nodemailer-direct-transport](https://github.com/andris9/nodemailer-direct-transport) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
@@ -1000,8 +1073,8 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](nodeunit/nodeunit.d.ts) [nodeunit](https://github.com/caolan/nodeunit) by [Jeff Goddard](https://github.com/jedigo)
|
||||
* [:link:](nomnom/nomnom.d.ts) [nomnom](https://github.com/harthur/nomnom) by [Paul Vick](https://github.com/panopticoncentral)
|
||||
* [:link:](nopt/nopt.d.ts) [nopt](https://github.com/npm/nopt) by [jbondc](https://github.com/jbondc)
|
||||
* [:link:](notifyjs/notifyjs.d.ts) [notify.js](https://github.com/alexgibson/notify.js) by [soundTricker](https://github.com/soundTricker)
|
||||
* [:link:](notify/notify.d.ts) [Notify.js](https://github.com/jpillora/notifyjs) by [Xiaohan Zhang](https://github.com/hellochar)
|
||||
* [:link:](notifyjs/notifyjs.d.ts) [notify.js](https://github.com/alexgibson/notify.js) by [soundTricker](https://github.com/soundTricker)
|
||||
* [:link:](wnumb/wnumb.d.ts) [nouislider](https://github.com/leongersen/wnumb) by [Corey Jepperson](https://github.com/acoreyj)
|
||||
* [:link:](nouislider/nouislider.d.ts) [nouislider](https://github.com/leongersen/noUiSlider) by [Patrick Davies](https://github.com/bleuarg)
|
||||
* [:link:](noVNC/noVNC.d.ts) [noVNC](https://github.com/kanaka/noVNC) by [Ken Smith](https://github.com/smithkl42)
|
||||
@@ -1026,23 +1099,25 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](OpenJsCad/openjscad.d.ts) [OpenJsCad.js](https://github.com/joostn/OpenJsCad) by [Dan Marshall](https://github.com/danmarshall)
|
||||
* [:link:](openlayers/openlayers.d.ts) [OpenLayers](http://openlayers.org) by [Wouter Goedhart](https://github.com/woutergd)
|
||||
* [:link:](openpgp/openpgp.d.ts) [openpgpjs](http://openpgpjs.org) by [Guillaume Lacasa](https://blog.lacasa.fr)
|
||||
* [:link:](opn/opn.d.ts) [opn](https://github.com/sindresorhus/opn) by [Shinnosuke Watanabe](https://github.com/shinnn)
|
||||
* [:link:](opn/opn.d.ts) [opn](https://github.com/sindresorhus/opn) by [Shinnosuke Watanabe](https://github.com/shinnn), [Maxime LUCE](https://github.com/SomaticIT)
|
||||
* [:link:](optimist/optimist.d.ts) [optimist](https://github.com/substack/node-optimist) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](orchestrator/orchestrator.d.ts) [Orchestrator](https://github.com/orchestrator/orchestrator) by [Qubo](https://github.com/tkQubo)
|
||||
* [:link:](os-locale/os-locale.d.ts) [os-locale](https://github.com/sindresorhus/os-locale) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
* [:link:](owlcarousel/owlcarousel.d.ts) [OwlCarousel v.1.3.3](https://github.com/OwlFonk/OwlCarousel) by [Damian Piątkowski](https://github.com/dpiatkowski)
|
||||
* [:link:](p2/p2.d.ts) [p2.js](https://github.com/schteppe/p2.js) by [Clark Stevenson](https://github.com/clark-stevenson)
|
||||
* [:link:](packery/packery.d.ts) [Packery](http://packery.metafizzy.co) by [Piraveen Kamalathas from Kilix](https://github.com/piraveen)
|
||||
* [:link:](page/page.d.ts) [page](http://visionmedia.github.io/page.js) by [Alan Norbauer](http://alan.norbauer.com)
|
||||
* [:link:](pako/pako.d.ts) [pako](https://github.com/nodeca/pako) by [Denis Cappellin](http://github.com/cappellin)
|
||||
* [:link:](papaparse/papaparse.d.ts) [PapaParse](https://github.com/mholt/PapaParse) by [Pedro Flemming](https://github.com/torpedro)
|
||||
* [:link:](parallel/parallel.d.ts) [parallel.js](http://adambom.github.io/parallel.js) by [Josh Baldwin](https://github.com/jbaldwin)
|
||||
* [:link:](param-case/param-case.d.ts) [param-case](https://github.com/blakeembrey/param-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
* [:link:](parse/parse.d.ts) [Parse](https://parse.com) by [Ullisen Media Group](http://ullisenmedia.com)
|
||||
* [:link:](parsimmon/parsimmon.d.ts) [Parsimmon](https://github.com/jneen/parsimmon) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](parsimmon/parsimmon.d.ts) [Parsimmon](https://github.com/jneen/parsimmon) by [Bart van der Schoor](https://github.com/Bartvds), [Mizunashi Mana](https://github.com/mizunashi-mana)
|
||||
* [:link:](pascal-case/pascal-case.d.ts) [pascal-case](https://github.com/blakeembrey/pascal-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
* [:link:](passport/passport.d.ts) [Passport](http://passportjs.org) by [Horiuchi_H](https://github.com/horiuchi)
|
||||
* [:link:](passport-strategy/passport-strategy.d.ts) [Passport Strategy module](https://github.com/jaredhanson/passport-strategy) by [Lior Mualem](https://github.com/liorm)
|
||||
* [:link:](passport-facebook/passport-facebook.d.ts) [passport-facebook](https://github.com/jaredhanson/passport-facebook) by [James Roland Cabresos](https://github.com/staticfunction)
|
||||
* [:link:](passport-google-oauth/passport-google-oauth.d.ts) [passport-facebook](https://github.com/jaredhanson/passport-facebook) by [James Roland Cabresos](https://github.com/staticfunction)
|
||||
* [:link:](passport-facebook/passport-facebook.d.ts) [passport-facebook](https://github.com/jaredhanson/passport-facebook) by [James Roland Cabresos](https://github.com/staticfunction)
|
||||
* [:link:](passport-twitter/passport-twitter.d.ts) [passport-facebook](https://github.com/jaredhanson/passport-facebook) by [James Roland Cabresos](https://github.com/staticfunction)
|
||||
* [:link:](passport-facebook-token/passport-facebook-token.d.ts) [passport-facebook-token](https://github.com/drudge/passport-facebook-token) by [Ray Martone](https://github.com/rmartone)
|
||||
* [:link:](passport-local/passport-local.d.ts) [passport-local](https://github.com/jaredhanson/passport-local) by [Maxime LUCE](https://github.com/SomaticIT)
|
||||
@@ -1085,6 +1160,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](poly2tri/poly2tri.d.ts) [poly2tri](http://github.com/r3mi/poly2tri.js) by [Elemar Junior](https://github.com/elemarjr)
|
||||
* [:link:](polyline/polyline.d.ts) [Polyline](https://github.com/mapbox/polyline) by [Arseniy Maximov](https://github.com/Kern0)
|
||||
* [:link:](polymer/polymer.d.ts) [polymer](https://github.com/Polymer/polymer) by [Louis Grignon](https://github.com/lgrignon), [Suguru Inatomi](https://github.com/laco0416)
|
||||
* [:link:](polymer-ts/polymer-ts.d.ts) [PolymerTS](https://github.com/nippur72/PolymerTS) by [Louis Grignon](https://github.com/lgrignon)
|
||||
* [:link:](popcorn/popcorn.d.ts) [Popcorn](https://github.com/mozilla/popcorn-js) by [grapswiz](https://github.com/grapswiz)
|
||||
* [:link:](postal/postal.d.ts) [Postal](https://github.com/postaljs/postal.js) by [Lokesh Peta](https://github.com/lokeshpeta), [Paul Jolly](https://github.com/myitcv)
|
||||
* [:link:](pouchDB/pouch.d.ts) [Pouch](http://pouchdb.com) by [Bill Sears](https://github.com/MrBigDog2U)
|
||||
@@ -1099,6 +1175,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](promise-pool/promise-pool.d.ts) [promise-pool](https://github.com/vilic/promise-pool) by [VILIC VANE](https://github.com/vilic)
|
||||
* [:link:](promises-a-plus/promises-a-plus.d.ts) [promises-a-plus](http://promisesaplus.com) by [Igor Oleinikov](https://github.com/Igorbek)
|
||||
* [:link:](protobufjs/protobufjs.d.ts) [ProtoBuf.js](https://github.com/dcodeIO/ProtoBuf.js) by [Panu Horsmalahti](https://github.com/panuhorsmalahti)
|
||||
* [:link:](protractor-http-mock/protractor-http-mock.d.ts) [protractor-http-mock](https://github.com/atecarlos/protractor-http-mock) by [Crevil](https://github.com/Crevil)
|
||||
* [:link:](proxyquire/proxyquire.d.ts) [Proxyquire](https://github.com/thlorenz/proxyquire) by [jt000](https://github.com/jt000)
|
||||
* [:link:](pty.js/pty.js.d.ts) [pty.js 0.2.7-1](https://github.com/chjj/pty.js) by [Vadim Macagon](https://github.com/enlight)
|
||||
* [:link:](pubsubjs/pubsub.d.ts) [PubSubJS](https://github.com/mroderick/PubSubJS) by [Boris Yankov](https://github.com/borisyankov)
|
||||
@@ -1110,6 +1187,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](qajax/qajax.d.ts) [Qajax](https://github.com/gre/qajax) by [Boltmade](https://github.com/Boltmade)
|
||||
* [:link:](qs/qs.d.ts) [qs](https://github.com/hapijs/qs) by [Roman Korneev](https://github.com/RWander)
|
||||
* [:link:](qtip2/qtip2.d.ts) [qtip2](http://qtip2.com) by [Nathan Pitman](https://github.com/Seltzer)
|
||||
* [:link:](query-string/query-string.d.ts) [query-string](https://github.com/sindresorhus/query-string) by [Sam Verschueren](https://github.com/SamVerschueren)
|
||||
* [:link:](quixote/quixote.d.ts) [quixote](http://quixote-css.com) by [Aleksandr Filatov](https://github.com/greybax)
|
||||
* [:link:](qunit/qunit.d.ts) [QUnit](http://qunitjs.com) by [Diullei Gomes](https://github.com/diullei)
|
||||
* [:link:](qwest/qwest.d.ts) [qwest](https://github.com/pyrsmk/qwest) by [Lindsay Evans](https://github.com/lindsayevans)
|
||||
@@ -1119,13 +1197,15 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](rangy/rangy.d.ts) [Rangy](https://github.com/timdown/rangy) by [Rudolph Gottesheim](http://www.midnight-design.at)
|
||||
* [:link:](raphael/raphael.d.ts) [Raphael](http://raphaeljs.com) by [CheCoxshall](https://github.com/CheCoxshall)
|
||||
* [:link:](rappid/rappid.d.ts) [Rappid](http://jointjs.com/about-rappid) by [Ewout Van Gossum](https://github.com/DenEwout)
|
||||
* [:link:](ratelimiter/ratelimiter.d.ts) [ratelimiter](https://github.com/tj/node-ratelimiter) by [Aya Morisawa](https://github.com/AyaMorisawa)
|
||||
* [:link:](ravenjs/ravenjs.d.ts) [Raven.js](https://github.com/getsentry/raven-js) by [Santi Albo](https://github.com/santialbo)
|
||||
* [:link:](raygun4js/raygun4js.d.ts) [raygun4js](https://github.com/MindscapeHQ/raygun4js) by [Brian Surowiec](https://github.com/xt0rted)
|
||||
* [:link:](rcloader/rcloader.d.ts) [rcloader](https://github.com/spalger/rcloader) by [Panu Horsmalahti](https://github.com/panuhorsmalahti)
|
||||
* [:link:](react/react.d.ts) [React](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react/react-global.d.ts) [React (namespace)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react/react-addons-create-fragment.d.ts) [React (react-addons-create-fragment)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react/react-addons-shallow-compare.d.ts) [React (react-addons-css-transition-group)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react/react-addons-css-transition-group.d.ts) [React (react-addons-css-transition-group)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react/react-addons-shallow-compare.d.ts) [React (react-addons-css-transition-group)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react/react-addons-linked-state-mixin.d.ts) [React (react-addons-linked-state-mixin)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react/react-addons-perf.d.ts) [React (react-addons-perf)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react/react-addons-pure-render-mixin.d.ts) [React (react-addons-pure-render-mixin)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
@@ -1134,16 +1214,19 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](react/react-addons-update.d.ts) [React (react-addons-update)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react/react-dom.d.ts) [React (react-dom)](http://facebook.github.io/react) by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com)
|
||||
* [:link:](react-dnd/react-dnd.d.ts) [React DnD](https://github.com/gaearon/react-dnd) by [Asana](https://asana.com)
|
||||
* [:link:](react-router/react-router.d.ts) [React Router](https://github.com/rackt/react-router) by [Yuichi Murata](https://github.com/mrk21), [Václav Ostrožlík](https://github.com/vasek17)
|
||||
* [:link:](react-bootstrap/react-bootstrap.d.ts) [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) by [Walker Burgin](https://github.com/walkerburgin)
|
||||
* [:link:](react-datagrid/react-datagrid.d.ts) [react-datagrid](https://github.com/zippyui/react-datagrid.git) by [Stephen Jelfs](https://github.com/stephenjelfs)
|
||||
* [:link:](react-day-picker/react-day-picker.d.ts) [react-day-picker](https://github.com/gpbl/react-day-picker) by [Giampaolo Bellavite](https://github.com/gpbl), [Jason Killian](https://github.com/jkillian)
|
||||
* [:link:](react-dropzone/react-dropzone.d.ts) [react-dropzone](https://github.com/paramaggarwal/react-dropzone) by [Mathieu Larouche Dube](https://github.com/matdube)
|
||||
* [:link:](react-infinite/react-infinite.d.ts) [react-infinite](https://github.com/seatgeek/react-infinite) by [rhysd](https://github.com/rhysd)
|
||||
* [:link:](react-input-calendar/react-input-calendar.d.ts) [react-input-calendar](https://github.com/Rudeg/react-input-calendar) by [Stepan Mikhaylyuk](https://github.com/stepancar)
|
||||
* [:link:](react-intl/react-intl.d.ts) [react-intl](http://formatjs.io/react) by [Bruno Grieder](https://github.com/bgrieder), [Christian Droulers](https://github.com/cdroulers)
|
||||
* [:link:](react-mixin/react-mixin.d.ts) [react-mixin](https://github.com/brigand/react-mixin) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](react-native/react-native.d.ts) [react-native](https://github.com/facebook/react-native) by [Bruno Grieder](https://github.com/bgrieder)
|
||||
* [:link:](react-props-decorators/react-props-decorators.d.ts) [react-props-decorators](https://github.com/popkirby/react-props-decorators) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](react-redux/react-redux.d.ts) [react-redux](https://github.com/rackt/react-redux) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](react-router/react-router.d.ts) [react-router](https://github.com/rackt/react-router) by [Sergey Buturlakin](http://github.com/sergey-buturlakin), [Yuichi Murata](https://github.com/mrk21), [Václav Ostrožlík](https://github.com/vasek17)
|
||||
* [:link:](react-select/react-select.d.ts) [react-select](https://github.com/JedWatson/react-select) by [ESQUIBET Hugo](https://github.com/Hesquibet)
|
||||
* [:link:](react-spinkit/react-spinkit.d.ts) [react-spinkit](https://github.com/KyleAMathews/react-spinkit) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](react-swf/react-swf.d.ts) [react-swf](https://github.com/syranide/react-swf) by [Stepan Mikhaylyuk](https://github.com/stepancar)
|
||||
* [:link:](read/read.d.ts) [read](https://github.com/isaacs/read) by [Tim JK](https://github.com/timjk)
|
||||
@@ -1155,11 +1238,10 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](redux-action-utils/redux-action-utils.d.ts) [redux-action-utils](https://github.com/insin/redux-action-utils) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](redux-actions/redux-actions.d.ts) [redux-actions](https://github.com/acdlite/redux-actions) by [Jack Hsu](https://github.com/jaysoo)
|
||||
* [:link:](redux-devtools/redux-devtools.d.ts) [redux-devtools](https://github.com/gaearon/redux-devtools) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](redux-form/redux-form.d.ts) [redux-form](https://github.com/erikras/redux-form) by [Daniel Lytkin](https://github.com/aikoven)
|
||||
* [:link:](redux-logger/redux-logger.d.ts) [redux-logger](https://github.com/fcomb/redux-logger) by [Alexander Rusakov](https://github.com/arusakov)
|
||||
* [:link:](redux-thunk/redux-thunk.d.ts) [redux-thunk](https://github.com/gaearon/redux-thunk) by [Qubo](https://github.com/tkqubo)
|
||||
* [:link:](ref/ref.d.ts) [ref](https://github.com/TooTallNate/ref) by [Paul Loyd](https://github.com/loyd)
|
||||
* [:link:](ref-array/ref-array.d.ts) [ref-array](https://github.com/TooTallNate/ref-array) by [Paul Loyd](https://github.com/loyd)
|
||||
* [:link:](ref-struct/ref-struct.d.ts) [ref-struct](https://github.com/TooTallNate/ref-struct) by [Paul Loyd](https://github.com/loyd)
|
||||
* [:link:](ref-union/ref-union.d.ts) [ref-union](https://github.com/TooTallNate/ref-union) by [Paul Loyd](https://github.com/loyd)
|
||||
* [:link:](reflux/reflux.d.ts) [RefluxJS](https://github.com/reflux/refluxjs) by [Maurice de Beijer](https://github.com/mauricedb)
|
||||
* [:link:](request/request.d.ts) [request](https://github.com/mikeal/request) by [Carlos Ballesteros Velasco](https://github.com/soywiz), [bonnici](https://github.com/bonnici), [Bart van der Schoor](https://github.com/Bartvds), [Joe Skeen](http://github.com/joeskeen)
|
||||
@@ -1186,6 +1268,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](routie/routie.d.ts) [routie](https://github.com/jgallen23/routie) by [Adilson](https://github.com/Adilson)
|
||||
* [:link:](rsmq/rsmq.d.ts) [rsmq](http://smrchy.github.io/rsmq) by [Qubo](https://github.com/MugeSo)
|
||||
* [:link:](rsmq-worker/rsmq-worker.d.ts) [rsmq-worker](http://smrchy.github.io/rsmq/rsmq-worker) by [TANAKA Koichi](https://github.com/MugeSo)
|
||||
* [:link:](rss/rss.d.ts) [rss](https://github.com/dylang/node-rss) by [Second Datke](https://github.com/secondwtq)
|
||||
* [:link:](rtree/rtree.d.ts) [rtree](https://github.com/leaflet-extras/RTree) by [Omede Firouz](https://github.com/oefirouz)
|
||||
* [:link:](run-sequence/run-sequence.d.ts) [run-sequence](https://github.com/OverZealous/run-sequence) by [Keita Kagurazaka](https://github.com/k-kagurazaka)
|
||||
* [:link:](rx/rx.d.ts) [RxJS](http://rx.codeplex.com) by [gsino](http://www.codeplex.com/site/users/view/gsino), [Igor Oleinikov](https://github.com/Igorbek)
|
||||
@@ -1203,7 +1286,9 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](rx/rx.time.d.ts) [RxJS-Time](http://rx.codeplex.com) by [Carl de Billy](http://carl.debilly.net), [Igor Oleinikov](https://github.com/Igorbek)
|
||||
* [:link:](rx/rx.virtualtime.d.ts) [RxJS-VirtualTime](http://rx.codeplex.com) by [gsino](http://www.codeplex.com/site/users/view/gsino), [Igor Oleinikov](https://github.com/Igorbek)
|
||||
* [:link:](s3-uploader/s3-uploader.d.ts) [s3-uploader](https://www.npmjs.com/package/s3-uploader) by [COLSA Corporation](http://www.colsa.com)
|
||||
* [:link:](s3rver/s3rver.d.ts) [S3rver](https://github.com/jamhall/s3rver) by [David Broder-Rodgers](https://github.com/DavidBR-SW)
|
||||
* [:link:](sammyjs/sammyjs.d.ts) [Sammy.js](http://sammyjs.org) by [Boris Yankov](https://github.com/borisyankov), [Oisin Grehan](https://github.com/oising)
|
||||
* [:link:](sandboxed-module/sandboxed-module.d.ts) [sandboxed-module](https://github.com/felixge/node-sandboxed-module) by [Sven Reglitzki](https://github.com/svi3c)
|
||||
* [:link:](sanitize-filename/sanitize-filename.d.ts) [sanitize-filename](https://github.com/parshap/node-sanitize-filename) by [Wim Looman](https://github.com/Nemo157)
|
||||
* [:link:](sanitize-html/sanitize-html.d.ts) [sanitize-html](https://github.com/punkave/sanitize-html) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](sanitizer/sanitizer.d.ts) [Sanitizer](https://github.com/theSmaw/Caja-HTML-Sanitizer) by [Dave Taylor](http://davetayls.me)
|
||||
@@ -1212,6 +1297,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](scalike/scalike.d.ts) [scalike API](https://github.com/ryoppy/scalike-typescript) by [ryoppy](https://github.com/ryoppy)
|
||||
* [:link:](screenfull/screenfull.d.ts) [screenfull.js](https://github.com/sindresorhus/screenfull.js) by [Ilia Choly](http://github.com/icholy)
|
||||
* [:link:](scrolltofixed/scrolltofixed.d.ts) [ScrollToFixed](https://github.com/bigspotteddog/ScrollToFixed) by [Ben Dixon](https://github.com/bmdixon)
|
||||
* [:link:](scrypt-async/scrypt-async.d.ts) [scrypt-async](https://github.com/dchest/scrypt-async-js) by [Kaur Kuut](https://github.com/xStrom)
|
||||
* [:link:](seedrandom/seedrandom.d.ts) [seedrandom](https://github.com/davidbau/seedrandom) by [Kern Handa](https://github.com/kernhanda)
|
||||
* [:link:](segment-analytics/segment-analytics.d.ts) [Segment's analytics.js](https://segment.com/docs/libraries/analytics.js) by [Andrew Fong](https://github.com/fongandrew)
|
||||
* [:link:](analytics-node/analytics-node.d.ts) [Segment's analytics.js for Node.js](https://segment.com/docs/libraries/node) by [Andrew Fong](https://github.com/fongandrew)
|
||||
@@ -1226,6 +1312,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](sequelize-fixtures/sequelize-fixtures.d.ts) [Sequelize-Fixtures](https://github.com/domasx2/sequelize-fixtures) by [Christian Schwarz](https://github.com/cschwarz)
|
||||
* [:link:](serve-favicon/serve-favicon.d.ts) [serve-favicon](https://github.com/expressjs/serve-favicon) by [Uros Smolnik](https://github.com/urossmolnik)
|
||||
* [:link:](on-headers/on-headers.d.ts) [serve-favicon](https://github.com/jshttp/on-headers) by [John Jeffery](https://github.com/jjeffery)
|
||||
* [:link:](serve-index/serve-index.d.ts) [serve-index](https://github.com/expressjs/serve-index) by [Tanguy Krotoff](https://github.com/tkrotoff)
|
||||
* [:link:](serve-static/serve-static.d.ts) [serve-static](https://github.com/expressjs/serve-static) by [Uros Smolnik](https://github.com/urossmolnik)
|
||||
* [:link:](sharedworker/SharedWorker.d.ts) [SharedWorker](http://www.w3.org/TR/workers) by [Toshiya Nakakura](https://github.com/nakakura)
|
||||
* [:link:](sharepoint/SharePoint.d.ts) [SharePoint 2010 and 2013](https://github.com/gandjustas/sptypescript) by [Stanislav Vyshchepan](http://blog.gandjustas.ru), [Andrey Markeev](http://markeev.com)
|
||||
@@ -1234,11 +1321,13 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](should-promised/should-promised.d.ts) [should-promised](https://github.com/shouldjs/promised) by [Yaroslav Admin](https://github.com/devoto13)
|
||||
* [:link:](should/should.d.ts) [should.js](https://github.com/visionmedia/should.js) by [Alex Varju](https://github.com/varju), [Maxime LUCE](https://github.com/SomaticIT)
|
||||
* [:link:](showdown/showdown.d.ts) [Showdown](https://github.com/coreyti/showdown) by [cbowdon](https://github.com/cbowdon)
|
||||
* [:link:](shuffle-array/shuffle-array.d.ts) [shuffle-array](https://github.com/pazguille/shuffle-array) by [rhysd](https://rhysd.github.io)
|
||||
* [:link:](siesta/siesta.d.ts) [Siesta](http://www.bryntum.com/products/siesta) by [bquarmby](https://github.com/bquarmby)
|
||||
* [:link:](sigmajs/sigmajs.d.ts) [sigma.js](https://github.com/jacomyal/sigma.js) by [Qinfeng Chen](https://github.com/qinfchen)
|
||||
* [:link:](signalr/signalr.d.ts) [SignalR](http://www.asp.net/signalr) by [Boris Yankov](https://github.com/borisyankov), [T. Michael Keesey](https://github.com/keesey)
|
||||
* [:link:](signature_pad/signature_pad.d.ts) [signature_pad](https://github.com/szimek/signature_pad) by [Abubaker Bashir](https://github.com/AbubakerB)
|
||||
* [:link:](simple-cw-node/simple-cw-node.d.ts) [simple-cw-node](https://github.com/astronaughts/simple-cw-node) by [vvakame](https://github.com/vvakame)
|
||||
* [:link:](simple-mock/simple-mock.d.ts) [simple-mock](https://github.com/jupiter/simple-mock) by [Leon Yu](https://github.com/leonyu)
|
||||
* [:link:](simplebar/simplebar.d.ts) [simplebar.js](https://github.com/Grsmto/simplebar) by [Gregor Woiwode](https://github.com/gregonnet)
|
||||
* [:link:](jquery.simplemodal/jquery.simplemodal.d.ts) [SimpleModal](http://www.ericmmartin.com/projects/simplemodal) by [Friedrich von Never](https://github.com/ForNeVeR)
|
||||
* [:link:](simplestorage.js/simplestorage.js.d.ts) [simpleStorage](https://github.com/andris9/simpleStorage) by [Áxel Costas Pena](https://github.com/axelcostaspena)
|
||||
@@ -1259,6 +1348,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](socket.io/socket.io.d.ts) [socket.io](http://socket.io) by [PROGRE](https://github.com/progre), [Damian Connolly](https://github.com/divillysausages)
|
||||
* [:link:](socket.io-client/socket.io-client.d.ts) [socket.io-client](http://socket.io) by [PROGRE](https://github.com/progre), [Damian Connolly](https://github.com/divillysausages)
|
||||
* [:link:](socket.io.users/socket.io.users.d.ts) [socket.io.users](https://github.com/nodets/socket.io.users) by [Makis Maropoulos](https://github.com/kataras)
|
||||
* [:link:](socketty/socketty.d.ts) [Socketty](https://www.npmjs.com/package/socketty) by [Nax](https://github.com/Nax)
|
||||
* [:link:](sockjs/sockjs.d.ts) [SockJS 0.3.x](https://github.com/sockjs/sockjs-client) by [Emil Ivanov](https://github.com/vladev)
|
||||
* [:link:](sockjs-client/sockjs-client.d.ts) [sockjs-client](https://github.com/sockjs/sockjs-client) by [Emil Ivanov](https://github.com/vladev), [Alexander Rusakov](https://github.com/arusakov)
|
||||
* [:link:](sockjs-node/sockjs-node.d.ts) [sockjs-node 0.3.x](https://github.com/sockjs/sockjs-node) by [Phil McCloghry-Laing](https://github.com/pmccloghrylaing)
|
||||
@@ -1272,6 +1362,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](split/split.d.ts) [split](https://github.com/dominictarr/split) by [Marcin Porębski](https://github.com/marcinporebski)
|
||||
* [:link:](sprintf-js/sprintf-js.d.ts) [sprintf-js](https://www.npmjs.com/package/sprintf-js) by [Jason Swearingen](https://jasonswearingen.github.io)
|
||||
* [:link:](sprintf/sprintf.d.ts) [sprintff](https://github.com/maritz/node-sprintff) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](sql.js/sql.js.d.ts) [sql.js](https://github.com/kripken/sql.js) by [George Wu](https://github.com/Hozuki)
|
||||
* [:link:](sqlite3/sqlite3.d.ts) [sqlite3](https://github.com/mapbox/node-sqlite3) by [Nick Malaguti](https://github.com/nmalaguti)
|
||||
* [:link:](squirejs/squirejs.d.ts) [Squire](https://github.com/iammerrick/Squire.js) by [Bradley Ayers](https://github.com/bradleyayers)
|
||||
* [:link:](ssh2/ssh2.d.ts) [ssh2](https://github.com/mscdex/ssh2) by [Qubo](https://github.com/tkQubo)
|
||||
@@ -1285,13 +1376,15 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](status-bar/status-bar.d.ts) [status-bar](https://github.com/atom/status-bar) by [vvakame](https://github.com/vvakame)
|
||||
* [:link:](statuses/statuses.d.ts) [statuses](https://github.com/jshttp/statuses) by [Tanguy Krotoff](https://github.com/tkrotoff)
|
||||
* [:link:](steam/steam.d.ts) [steam](https://github.com/seishun/node-steam) by [Andrey Kurdyumov](https://github.com/kant2002)
|
||||
* [:link:](slick-carousel/slick-carousel.d.ts) [stick](http://kenwheeler.github.io/slick) by [John Gouigouix](https://github.com/orchestra-ts/DefinitelyTyped)
|
||||
* [:link:](storejs/storejs.d.ts) [store.js](https://github.com/marcuswestin/store.js) by [Vincent Bortone](https://github.com/vbortone)
|
||||
* [:link:](stream-series/stream-series.d.ts) [stream-series](https://github.com/rschmukler/stream-series) by [Keita Kagurazaka](https://github.com/k-kagurazaka)
|
||||
* [:link:](stream-to-array/stream-to-array.d.ts) [stream-to-array](https://github.com/stream-utils/stream-to-array) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](streamjs/streamjs.d.ts) [streamjs](http://winterbe.github.io/streamjs) by [Bence Eros](https://github.com/erosb)
|
||||
* [:link:](string_score/string_score.d.ts) [string_score](https://github.com/joshaven/string_score) by [Marcin Porębski](https://github.com/marcinporebski)
|
||||
* [:link:](string/string.d.ts) [string.js](http://stringjs.com) by [Bas Pennings](https://github.com/basp)
|
||||
* [:link:](stripe/stripe.d.ts) [stripe](https://stripe.com) by [Andy Hawkins](https://github.com/a904guy/,http://a904guy.com), [Eric J. Smith](https://github.com/ejsmith)
|
||||
* [:link:](strip-json-comments/strip-json-comments.d.ts) [strip-json-comments](https://github.com/sindresorhus/strip-json-comments) by [Dylan R. E. Moonfire](https://github.com/dmoonfire)
|
||||
* [:link:](stripe/stripe.d.ts) [stripe](https://stripe.com) by [Andy Hawkins](https://github.com/a904guy/,http://a904guy.com), [Eric J. Smith](https://github.com/ejsmith), [Amrit Kahlon](https://github.com/amritk)
|
||||
* [:link:](stripe-checkout/stripe-checkout.d.ts) [Stripe Checkout](https://stripe.com/checkout) by [Chris Wrench](https://github.com/cgwrench)
|
||||
* [:link:](stripe/stripe-node.d.ts) [stripe-node](https://github.com/stripe/stripe-node) by [William Johnston](https://github.com/wjohnsto)
|
||||
* [:link:](strophe/strophe.d.ts) [Strophe.js](http://strophe.im/strophejs) by [David Deutsch](https://github.com/DavidKDeutsch)
|
||||
@@ -1299,6 +1392,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](sugar/sugar.d.ts) [Sugar](http://sugarjs.com) by [Josh Baldwin](https://github.com/jbaldwin)
|
||||
* [:link:](superagent/superagent.d.ts) [SuperAgent](https://github.com/visionmedia/superagent) by [Alex Varju](https://github.com/varju)
|
||||
* [:link:](supertest/supertest.d.ts) [SuperTest](https://github.com/visionmedia/supertest) by [Alex Varju](https://github.com/varju)
|
||||
* [:link:](supertest-as-promised/supertest-as-promised.d.ts) [SuperTest as Promised](https://github.com/WhoopInc/supertest-as-promised) by [Tanguy Krotoff](https://github.com/tkrotoff)
|
||||
* [:link:](svg-injector/svg-injector.d.ts) [SVG Injector](https://github.com/iconic/SVGInjector) by [Patrick Westerhoff](https://github.com/poke)
|
||||
* [:link:](svg-pan-zoom/svg-pan-zoom.d.ts) [svg-pan-zoom](https://github.com/ariutta/svg-pan-zoom) by [Chintan Shah](https://github.com/Promact)
|
||||
* [:link:](svg-sprite/svg-sprite.d.ts) [svg-sprite](https://github.com/jkphl/svg-sprite) by [Qubo](https://github.com/tkqubo)
|
||||
@@ -1310,6 +1404,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](swap-case/swap-case.d.ts) [swap-case](https://github.com/blakeembrey/swap-case) by [Sam Saint-Pettersen](https://github.com/stpettersens)
|
||||
* [:link:](sweetalert/sweetalert.d.ts) [SweetAlert](https://github.com/t4t5/sweetalert) by [Markus Peloso](https://github.com/ToastHawaii)
|
||||
* [:link:](swfobject/swfobject.d.ts) [swfobject](https://code.google.com/p/swfobject) by [rou](https://github.com/rou)
|
||||
* [:link:](swiftclick/swiftclick.d.ts) [SwiftClick](https://github.com/munkychop/swiftclick) by [Laurence C](https://github.com/Laurence-C)
|
||||
* [:link:](swig/swig.d.ts) [swig](http://github.com/paularmstrong/swig) by [Peter Harris](https://github.com/CodeAnimal), [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](swig-email-templates/swig-email-templates.d.ts) [swig-email-templates](https://github.com/andrewrk/swig-email-templates) by [Adam Babcock](https://github.com/mrhen)
|
||||
* [:link:](swipe/swipe.d.ts) [Swipe](https://github.com/thebird/Swipe) by [Andrey Kurdyumov](https://github.com/kant2002)
|
||||
@@ -1320,20 +1415,20 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](systemjs/systemjs.d.ts) [System.js](https://github.com/systemjs/systemjs) by [Ludovic HENIN](https://github.com/ludohenin), [Nathan Walker](https://github.com/NathanWalker)
|
||||
* [:link:](tabris/tabris.d.ts) [Tabris.js](http://tabrisjs.com) by [Tabris.js team](http://github.com/eclipsesource/tabris)
|
||||
* [:link:](tabtab/tabtab.d.ts) [tabtab](https://github.com/mklabs/node-tabtab) by [Vojtěch Habarta](https://github.com/vojtechhabarta)
|
||||
* [:link:](tape/tape.d.ts) [tape](https://github.com/substack/tape) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](tape/tape.d.ts) [tape](https://github.com/substack/tape) by [Bart van der Schoor](https://github.com/Bartvds), [Haoqun Jiang](https://github.com/sodatea)
|
||||
* [:link:](tar/tar.d.ts) [tar](https://github.com/npm/node-tar) by [Maxime LUCE](https://github.com/SomaticIT)
|
||||
* [:link:](tcomb/tcomb.d.ts) [tcomb](http://gcanti.github.io/tcomb/guide/index.html) by [Hans Windhoff](https://github.com/hansrwindhoff)
|
||||
* [:link:](tea-merge/tea-merge.d.ts) [tea-merge](https://github.com/qualiancy/tea-merge) by [Mihhail Lapushkin](https://github.com/mihhail-lapushkin)
|
||||
* [:link:](tedious/tedious.d.ts) [tedious](https://pekim.github.io/tedious) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
* [:link:](tedious-connection-pool/tedious-connection-pool.d.ts) [tedious-connection-pool](https://github.com/pekim/tedious-connection-pool) by [Cyprien Autexier](https://github.com/sandorfr)
|
||||
* [:link:](teechart/teechart.d.ts) [TeeChart](http://www.steema.com) by [Steema Software](https://steema.com)
|
||||
* [:link:](temp/temp.d.ts) [temp](https://www.npmjs.com/package/temp) by [Daniel Rosenwasser](https://github.com/DanielRosenwasser)
|
||||
* [:link:](temp-fs/temp-fs.d.ts) [temp-fs](https://github.com/jakwings/node-temp-fs) by [MEDIA CHECK s.r.o.](http://www.mediacheck.cz)
|
||||
* [:link:](tether/tether.d.ts) [Tether](http://github.hubspot.com/tether) by [Adi Dahiya](https://github.com/adidahiya)
|
||||
* [:link:](tether-shepherd/tether-shepherd.d.ts) [Tether-Shepherd](http://github.hubspot.com/shepherd) by [Matt Gibbs](https://github.com/mtgibbs)
|
||||
* [:link:](text-buffer/text-buffer.d.ts) [text-buffer](https://github.com/atom/text-buffer) by [vvakame](https://github.com/vvakame)
|
||||
* [:link:](text-encoding/text-encoding.d.ts) [text-encoding](https://github.com/inexorabletash/text-encoding) by [MIZUNE Pine](https://github.com/pine613)
|
||||
* [:link:](github-electron/github-electron-main.d.ts) [the Electron 0.25.2 main process](http://electron.atom.io) by [jedmao](https://github.com/jedmao)
|
||||
* [:link:](github-electron/github-electron-renderer.d.ts) [the Electron 0.25.2 renderer process (web page)](http://electron.atom.io) by [jedmao](https://github.com/jedmao)
|
||||
* [:link:](spotify-api/spotify-api.d.ts) [The Spotify Web API](https://developer.spotify.com/web-api) by [Niels Kristian Hansen Skovmand](https://github.com/skovmand)
|
||||
* [:link:](threejs/three-FirstPersonControls.d.ts) [three.js](http://mrdoob.github.com/three.js) by [Poul Kjeldager Sørensen](https://github.com/s093294)
|
||||
* [:link:](threejs/three-canvasrenderer.d.ts) [three.js (CanvasRenderer.js)](https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/CanvasRenderer.js) by [Satoru Kimura](https://github.com/gyohk)
|
||||
* [:link:](threejs/three-copyshader.d.ts) [three.js (CopyShader.js)](https://github.com/mrdoob/three.js/blob/r68/examples/js/shaders/CopyShader.js) by [Satoru Kimura](https://github.com/gyohk)
|
||||
@@ -1353,7 +1448,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](threejs/three.d.ts) [three.js r73](http://mrdoob.github.com/three.js) by [Kon](http://phyzkit.net), [Satoru Kimura](https://github.com/gyohk)
|
||||
* [:link:](thrift/thrift.d.ts) [thrift](https://www.npmjs.com/package/thrift) by [Zachary Collins](https://github.com/corps)
|
||||
* [:link:](through/through.d.ts) [through](https://github.com/dominictarr/through) by [Andrew Gaspar](https://github.com/AndrewGaspar)
|
||||
* [:link:](through2/through2.d.ts) [through2 v](https://github.com/rvagg/through2) by [Bart van der Schoor](https://github.com/Bartvds), [jedmao](https://github.com/jedmao)
|
||||
* [:link:](through2/through2.d.ts) [through2 v](https://github.com/rvagg/through2) by [Bart van der Schoor](https://github.com/Bartvds), [jedmao](https://github.com/jedmao), [Georgios Valotasios](https://github.com/valotas)
|
||||
* [:link:](timelinejs/timelinejs.d.ts) [timelinejs](https://github.com/NUKnightLab/TimelineJS) by [Roland Zwaga](https://github.com/rolandzwaga)
|
||||
* [:link:](timezone-js/timezone-js.d.ts) [timezone-js](https://github.com/mde/timezone-js) by [bonnici](https://github.com/bonnici)
|
||||
* [:link:](timezonecomplete/timezonecomplete.d.ts) [timezonecomplete](https://github.com/SpiritIT/timezonecomplete) by [Rogier Schouten](https://github.com/rogierschouten)
|
||||
@@ -1367,10 +1462,12 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](tooltipster/tooltipster.d.ts) [tooltipster](https://github.com/iamceege/tooltipster) by [Stephen Lautier](https://github.com/stephenlautier)
|
||||
* [:link:](sencha_touch/SenchaTouch.d.ts) [Touch](http://www.sencha.com/products/touch) by [Brian Kotek](https://github.com/brian428)
|
||||
* [:link:](traceback/traceback.d.ts) [Traceback](http://github.com/iriscouch/traceback) by [Michael Zabka](https://github.com/misak113)
|
||||
* [:link:](tracking/tracking.d.ts) [Tracking.js](https://github.com/eduardolundgren/tracking.js) by [Tim Perry](https://github.com/pimterry)
|
||||
* [:link:](traverson/traverson.d.ts) [Traverson](https://github.com/basti1302/traverson) by [Marcin Porębski](https://github.com/marcinporebski)
|
||||
* [:link:](trunk8/trunk8.d.ts) [trunk8](https://github.com/rviscomi/trunk8) by [Blake Niemyjski](https://github.com/niemyjski)
|
||||
* [:link:](tsmonad/tsmonad.d.ts) [TsMonad](https://github.com/cbowdon/TsMonad) by [Chris Bowdon](https://github.com/cbowdon)
|
||||
* [:link:](tspromise/tspromise.d.ts) [tspromise](https://github.com/soywiz/tspromise) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](turf/turf.d.ts) [Turf](http://turfjs.org) by [Guillaume Croteau](https://github.com/gcroteau)
|
||||
* [:link:](tween.js/tween.js.d.ts) [tween.js r12](https://github.com/sole/tween.js) by [sunetos](https://github.com/sunetos), [jzarnikov](https://github.com/jzarnikov)
|
||||
* [:link:](tweenjs/tweenjs.d.ts) [TweenJS](http://www.createjs.com/#!/TweenJS) by [Pedro Ferreira](https://bitbucket.org/drk4), [Chris Smith](https://github.com/evilangelist)
|
||||
* [:link:](twig/twig.d.ts) [twig](https://github.com/justjohn/twig.js) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
@@ -1389,9 +1486,10 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](ui-grid/ui-grid.d.ts) [ui-grid](http://www.ui-grid.info) by [Ben Tesser](https://github.com/btesser), [Joe Skeen](http://github.com/joeskeen)
|
||||
* [:link:](ui-router-extras/ui-router-extras.d.ts) [UI-Router Extras (ct.ui.router.extras module)](https://github.com/christopherthielen/ui-router-extras) by [Michael Putters](https://github.com/mputters), [Marcel van de Kamp](https://github.com/marcel-k)
|
||||
* [:link:](uikit/uikit.d.ts) [uikit](http://getuikit.org) by [Giovanni Silva](https://github.com/giovannicandido)
|
||||
* [:link:](umbraco/umbraco.d.ts) [Umbraco](https://github.com/umbraco) by [DeCareSystemsIreland](https://github.com/DeCareSystemsIreland)
|
||||
* [:link:](umbraco/umbraco-resources.d.ts) [Umbraco](https://github.com/umbraco) by [DeCareSystemsIreland](https://github.com/DeCareSystemsIreland)
|
||||
* [:link:](umbraco/umbraco-services.d.ts) [Umbraco](https://github.com/umbraco) by [DeCareSystemsIreland](https://github.com/DeCareSystemsIreland)
|
||||
* [:link:](umbraco/umbraco-resources.d.ts) [Umbraco](https://github.com/umbraco) by [DeCareSystemsIreland](https://github.com/DeCareSystemsIreland)
|
||||
* [:link:](umbraco/umbraco.d.ts) [Umbraco](https://github.com/umbraco) by [DeCareSystemsIreland](https://github.com/DeCareSystemsIreland)
|
||||
* [:link:](umzug/umzug.d.ts) [Umzug](https://github.com/sequelize/umzug) by [Ivan Drinchev](https://github.com/drinchev)
|
||||
* [:link:](underscore/underscore.d.ts) [Underscore](http://underscorejs.org) by [Boris Yankov](https://github.com/borisyankov), [Josh Baldwin](https://github.com/jbaldwin)
|
||||
* [:link:](underscore-ko/underscore-ko.d.ts) [Underscore-ko 1.2.2 with underscore](https://github.com/kamranayub/UnderscoreKO) by [Maurits Elbers](https://github.com/MagicMau)
|
||||
* [:link:](underscore.string/underscore.string.d.ts) [underscore.string](https://github.com/epeli/underscore.string) by [Ry Racherbaumer](http://github.com/rygine)
|
||||
@@ -1399,6 +1497,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](jquery.uniform/jquery.uniform.d.ts) [Uniform.js](https://github.com/pixelmatrix/uniform) by [flyfishMT](https://github.com/flyfishMT)
|
||||
* [:link:](uniq/uniq.d.ts) [uniq](https://www.npmjs.com/package/uniq) by [Hans Windhoff](https://github.com/hansrwindhoff)
|
||||
* [:link:](unique-random/unique-random.d.ts) [unique-random](https://github.com/sindresorhus/unique-random) by [Yuki Kokubun](https://github.com/Kuniwak)
|
||||
* [:link:](winrt/winrt-uwp.d.ts) [Universal Windows Platform](http://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx) by [Kagami Sascha Rosylight](https://github.com/saschanaz), [Taylor Starfield](https://github.com/taylor224)
|
||||
* [:link:](universal-analytics/universal-analytics.d.ts) [universal-analytics](https://github.com/peaksandpies/universal-analytics) by [Bart van der Schoor](https://github.com/Bartvds)
|
||||
* [:link:](unorm/unorm.d.ts) [unorm](https://github.com/walling/unorm) by [Christopher Brown](https://github.com/chbrown)
|
||||
* [:link:](update-notifier/update-notifier.d.ts) [update-notifier](https://github.com/yeoman/update-notifier) by [vvakame](https://github.com/vvakame)
|
||||
@@ -1411,12 +1510,14 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](urlrouter/urlrouter.d.ts) [urlrouter](https://github.com/fengmk2/urlrouter) by [soywiz](https://github.com/soywiz)
|
||||
* [:link:](urlsafe-base64/urlsafe-base64.d.ts) [urlsafe-base64](https://github.com/RGBboy/urlsafe-base64) by [Tanguy Krotoff](https://github.com/tkrotoff)
|
||||
* [:link:](usage/usage.d.ts) [usage](https://github.com/arunoda/node-usage) by [Pascal Vomhoff](https://github.com/pvomhoff)
|
||||
* [:link:](username/username.d.ts) [username](https://www.npmjs.com/package/username) by [Klaus Reimer](https://github.com/kayahr)
|
||||
* [:link:](utils-merge/utils-merge.d.ts) [utils-merge](https://github.com/jaredhanson/utils-merge) by [Ilya Mochalov](https://github.com/chrootsu)
|
||||
* [:link:](UUID/UUID.d.ts) [UUID.js core](https://github.com/LiosK/UUID.js) by [Jason Jarrett](https://github.com/staxmanade)
|
||||
* [:link:](uuid/UUID.d.ts) [UUID.js core](https://github.com/LiosK/UUID.js) by [Jason Jarrett](https://github.com/staxmanade)
|
||||
* [:link:](valerie/valerie.d.ts) [valerie](https://github.com/davewatts/valerie) by [Howard Richards](https://github.com/conficient)
|
||||
* [:link:](validator/validator.d.ts) [validator.js](https://github.com/chriso/validator.js) by [tgfjt](https://github.com/tgfjt)
|
||||
* [:link:](vega/vega.d.ts) [Vega](http://trifacta.github.io/vega) by [Tom Crockett](http://github.com/pelotom)
|
||||
* [:link:](velocity-animate/velocity-animate.d.ts) [Velocity](http://velocityjs.org) by [Greg Smith](https://github.com/smrq)
|
||||
* [:link:](verror/verror.d.ts) [verror](https://github.com/davepacheco/node-verror) by [Sven Reglitzki](https://github.com/svi3c)
|
||||
* [:link:](vex-js/vex-js.d.ts) [Vex](https://github.com/HubSpot/vex) by [Greg Cohan](https://github.com/gdcohan)
|
||||
* [:link:](vexflow/vexflow.d.ts) [VexFlow](http://vexflow.com) by [Roman Quiring](https://github.com/rquiring)
|
||||
* [:link:](victor/victor.d.ts) [Victor.js](http://victorjs.org) by [Ivane Gegia](https://twitter.com/ivanegegia)
|
||||
@@ -1431,7 +1532,9 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](vortex-web-client/vortex-web-client.d.ts) [Vortex Web 1.2.0p1](http://www.prismtech.com/vortex/vortex-web) by [Stefan Profanter](https://github.com/Pro)
|
||||
* [:link:](voximplant-websdk/voximplant-websdk.d.ts) [VoxImplant Web SDK 3.0.x](http://voximplant.com) by [Alexey Aylarov](https://github.com/aylarov)
|
||||
* [:link:](vso-node-api/vso-node-api.d.ts) [vso-node-api](https://github.com/Microsoft/vso-node-api) by [Teddy Ward](https://github.com/teddyward)
|
||||
* [:link:](vue/vue.d.ts) [vuejs](https://github.com/yyx990803/vue) by [odangosan](https://github.com/odangosan)
|
||||
* [:link:](vue-router/vue-router.d.ts) [vue-router](https://github.com/vuejs/vue-router) by [kaorun343](https://github.com/kaorun343)
|
||||
* [:link:](vue/vue.d.ts) [vuejs](https://github.com/vuejs/vue) by [odangosan](https://github.com/odangosan), [kaorun343](https://github.com/kaorun343)
|
||||
* [:link:](wake_on_lan/wake_on_lan.d.ts) [wake_on_lan](https://github.com/agnat/node_wake_on_lan) by [Tobias Kahlert](https://github.com/SrTobi)
|
||||
* [:link:](watch/watch.d.ts) [watch](https://github.com/mikeal/watch) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](jquery.watermark/jquery.watermark.d.ts) [Watermark plugin for jQuery](http://jquery-watermark.googlecode.com) by [Anwar Javed](https://github.com/anwarjaved)
|
||||
* [:link:](webaudioapi/waa.d.ts) [Web Audio API](http://www.w3.org/TR/webaudio) by [Baruch Berger](https://github.com/bbss), [Kon](http://phyzkit.net), [kubosho](https://github.com/kubosho)
|
||||
@@ -1441,6 +1544,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](webcola/webcola.d.ts) [webcola](https://github.com/tgdwyer/WebCola) by [Qinfeng Chen](https://github.com/qinfchen), [Tim Dwyer](https://github.com/tgdwyer), [Noah Chen](https://github.com/nchen63)
|
||||
* [:link:](webcomponents.js/webcomponents.js.d.ts) [webcomponents.js](https://github.com/webcomponents/webcomponentsjs) by [Adi Dahiya](https://github.com/adidahiya)
|
||||
* [:link:](webcrypto/WebCrypto.d.ts) [WebCrypto](http://www.w3.org/TR/WebCryptoAPI) by [Lucas Dixon](https://github.com/iislucas)
|
||||
* [:link:](webdriverio/webdriverio.d.ts) [webdriverio](http://www.webdriver.io) by [Nick Malaguti](https://github.com/nmalaguti)
|
||||
* [:link:](webgl-ext/webgl-ext.d.ts) [WebGL Extensions](http://webgl.org) by [Arthur Langereis](https://github.com/zenmumbler)
|
||||
* [:link:](webix/webix.d.ts) [Webix UI](http://webix.com) by [Maksim Kozhukh](http://github.com/mkozhukh)
|
||||
* [:link:](webpack/webpack.d.ts) [webpack](https://github.com/webpack/webpack) by [Qubo](https://github.com/tkqubo)
|
||||
@@ -1457,8 +1561,11 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](winrt/winrt.d.ts) [WinRT](http://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx) by [TypeScript samples](https://www.typescriptlang.org)
|
||||
* [:link:](winston/winston.d.ts) [winston](https://github.com/flatiron/winston) by [bonnici](https://github.com/bonnici), [Peter Harris](https://github.com/codeanimal)
|
||||
* [:link:](wolfy87-eventemitter/wolfy87-eventemitter.d.ts) [wolfy87-eventemitter](https://github.com/Wolfy87/EventEmitter) by [ryiwamoto](https://github.com/ryiwamoto)
|
||||
* [:link:](wordcloud/wordcloud.d.ts) [wordcloud](https://github.com/timdream/wordcloud2.js) by [Joe Skeen](http://github.com/joeskeen)
|
||||
* [:link:](wreck/wreck.d.ts) [wreck](https://github.com/hapijs/wreck) by [Marcin Porębski](http://github.com/marcinporebski)
|
||||
* [:link:](wrench/wrench.d.ts) [wrench](https://github.com/ryanmcgrath/wrench-js) by [Carlos Ballesteros Velasco](https://github.com/soywiz)
|
||||
* [:link:](ws/ws.d.ts) [ws](https://github.com/einaros/ws) by [Paul Loyd](https://github.com/loyd)
|
||||
* [:link:](wu/wu.d.ts) [wu.js](https://fitzgen.github.io/wu.js) by [phiresky](https://github.com/phiresky)
|
||||
* [:link:](x-editable/x-editable.d.ts) [X-Editable](http://vitalets.github.io/x-editable/index.html) by [Chris Kirby](https://github.com/sirkirby)
|
||||
* [:link:](x2js/xml2json.d.ts) [x2js](https://code.google.com/p/x2js) by [Horiuchi_H](https://github.com/horiuchi)
|
||||
* [:link:](xdate/xdate.d.ts) [XDate](http://arshaw.com/xdate) by [yamada28go](https://github.com/yamada28go)
|
||||
@@ -1481,7 +1588,7 @@ This document generated by [dt-contributors-generator](https://github.com/vvakam
|
||||
* [:link:](yui/yui.d.ts) [yui](https://github.com/yui/yui3) by [Gia Bảo @ Sân Đình](https://github.com/giabao)
|
||||
* [:link:](z-schema/z-schema.d.ts) [z-schema](https://github.com/zaggino/z-schema) by [Adam Meadows](https://github.com/job13er)
|
||||
* [:link:](zepto/zepto.d.ts) [Zepto](http://zeptojs.com) by [Josh Baldwin](https://github.com/jbaldwin)
|
||||
* [:link:](zeroclipboard/zeroclipboard.d.ts) [ZeroClipboard](https://github.com/jonrohan/ZeroClipboard) by [Eric J. Smith](https://github.com/ejsmith), [Blake Niemyjski](https://github.com/niemyjski), [György Balássy](https://github.com/balassy)
|
||||
* [:link:](zeroclipboard/zeroclipboard.d.ts) [ZeroClipboard v2.x.x](https://github.com/zeroclipboard/zeroclipboard) by [Eric J. Smith](https://github.com/ejsmith), [Blake Niemyjski](https://github.com/niemyjski), [György Balássy](https://github.com/balassy), [Leon Yu](https://github.com/leonyu)
|
||||
* [:link:](node_zeromq/zmq.d.ts) [ZeroMQ Node](https://github.com/JustinTulloss/zeromq.node) by [Dave McKeown](http://github.com/davemckeown)
|
||||
* [:link:](zip.js/zip.js.d.ts) [zip.js 2.x](https://github.com/gildas-lormeau/zip.js) by [Louis Grignon](https://github.com/lgrignon)
|
||||
* [:link:](zone.js/zone.js.d.ts) [Zone.js](https://github.com/angular/zone.js) by [angular team](https://github.com/angular)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# DefinitelyTyped [](https://travis-ci.org/borisyankov/DefinitelyTyped)
|
||||
# DefinitelyTyped [](https://travis-ci.org/DefinitelyTyped/DefinitelyTyped)
|
||||
|
||||
[](https://gitter.im/borisyankov/DefinitelyTyped?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
/// <reference path="adm-zip.d.ts" />
|
||||
import AdmZip = require("adm-zip");
|
||||
|
||||
|
||||
// reading archives
|
||||
var zip = new AdmZip("./my_file.zip");
|
||||
var zipEntries = zip.getEntries(); // an array of ZipEntry records
|
||||
var zipEntries: AdmZip.IZipEntry[] = zip.getEntries(); // an array of ZipEntry records
|
||||
|
||||
zipEntries.forEach(function (zipEntry) {
|
||||
console.log(zipEntry.toString()); // outputs zip entries information
|
||||
@@ -31,3 +30,32 @@ zip.addLocalFile("/home/me/some_picture.png");
|
||||
var willSendthis = zip.toBuffer();
|
||||
// or write everything to disk
|
||||
zip.writeZip(/*target file name*/"/home/me/files.zip");
|
||||
|
||||
function processZipEntry(zipEntry: AdmZip.IZipEntry) {
|
||||
console.log('comment', zipEntry.comment);
|
||||
}
|
||||
|
||||
//tests taken from examples at https://github.com/cthackers/adm-zip/wiki/ADM-ZIP
|
||||
import Zip = require("adm-zip");
|
||||
// loads and parses existing zip file local_file.zip
|
||||
var zip = new Zip("local_file.zip");
|
||||
// creates new in memory zip
|
||||
zip = new Zip();
|
||||
// loads and parses existing zip file local_file.zip
|
||||
zip = new Zip("local_file.zip");
|
||||
// get all entries and iterate them
|
||||
zip.getEntries().forEach((entry) => {
|
||||
var entryName = entry.entryName;
|
||||
var decompressedData = zip.readFile(entry); // decompressed buffer of the entry
|
||||
console.log(zip.readAsText(entry)); // outputs the decompressed content of the entry
|
||||
});
|
||||
|
||||
// will extract the file myfile.txt from the archive to /home/user/folder/subfolder/myfile.txt
|
||||
zip.extractEntryTo("folder/subfolder/myfile.txt", "/home/user/", true, true);
|
||||
|
||||
// will extract the file myfile.txt from the archive to /home/user/myfile.txt
|
||||
zip.extractEntryTo("folder/subfolder/myfile.txt", "/home/user/", false, true);
|
||||
|
||||
function isAdmZipEntry(obj: any): obj is AdmZip.IZipEntry {
|
||||
return obj !== null && typeof obj === "object" && typeof obj['entryName'] === 'string';
|
||||
}
|
||||
Vendored
+80
-81
@@ -5,8 +5,8 @@
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
declare module AdmZip {
|
||||
class ZipFile {
|
||||
declare module "adm-zip" {
|
||||
class AdmZip {
|
||||
/**
|
||||
* Create a new, empty archive.
|
||||
*/
|
||||
@@ -28,7 +28,7 @@ declare module AdmZip {
|
||||
* @param entry ZipEntry object
|
||||
* @return Buffer or Null in case of error
|
||||
*/
|
||||
readFile(entry: IZipEntry): Buffer;
|
||||
readFile(entry: AdmZip.IZipEntry): Buffer;
|
||||
/**
|
||||
* Asynchronous readFile
|
||||
* @param entry String with the full path of the entry
|
||||
@@ -41,7 +41,7 @@ declare module AdmZip {
|
||||
* @param callback Called with a Buffer or Null in case of error
|
||||
* @return Buffer or Null in case of error
|
||||
*/
|
||||
readFileAsync(entry: IZipEntry, callback: (data: Buffer, err: string) => any): void;
|
||||
readFileAsync(entry: AdmZip.IZipEntry, callback: (data: Buffer, err: string) => any): void;
|
||||
/**
|
||||
* Extracts the given entry from the archive and returns the content as
|
||||
* plain text in the given encoding
|
||||
@@ -57,7 +57,7 @@ declare module AdmZip {
|
||||
* @param encoding Optional. If no encoding is specified utf8 is used
|
||||
* @return String
|
||||
*/
|
||||
readAsText(fileName: IZipEntry, encoding?: string): string;
|
||||
readAsText(fileName: AdmZip.IZipEntry, encoding?: string): string;
|
||||
/**
|
||||
* Asynchronous readAsText
|
||||
* @param entry String with the full path of the entry
|
||||
@@ -71,7 +71,7 @@ declare module AdmZip {
|
||||
* @param callback Called with the resulting string.
|
||||
* @param encoding Optional. If no encoding is specified utf8 is used
|
||||
*/
|
||||
readAsTextAsync(fileName: IZipEntry, callback: (data: string) => any, encoding?: string): void;
|
||||
readAsTextAsync(fileName: AdmZip.IZipEntry, callback: (data: string) => any, encoding?: string): void;
|
||||
/**
|
||||
* Remove the entry from the file or the entry and all its nested directories
|
||||
* and files if the given entry is a directory
|
||||
@@ -83,7 +83,7 @@ declare module AdmZip {
|
||||
* and files if the given entry is a directory
|
||||
* @param entry A ZipEntry object.
|
||||
*/
|
||||
deleteFile(entry: IZipEntry): void;
|
||||
deleteFile(entry: AdmZip.IZipEntry): void;
|
||||
/**
|
||||
* Adds a comment to the zip. The zip must be rewritten after
|
||||
* adding the comment.
|
||||
@@ -110,7 +110,7 @@ declare module AdmZip {
|
||||
* @param entry ZipEntry object.
|
||||
* @param comment The comment to add to the entry.
|
||||
*/
|
||||
addZipEntryComment(entry: IZipEntry, comment: string): void;
|
||||
addZipEntryComment(entry: AdmZip.IZipEntry, comment: string): void;
|
||||
/**
|
||||
* Returns the comment of the specified entry.
|
||||
* @param entry String with the full path of the entry.
|
||||
@@ -122,7 +122,7 @@ declare module AdmZip {
|
||||
* @param entry ZipEntry object.
|
||||
* @return String The comment of the specified entry.
|
||||
*/
|
||||
getZipEntryComment(entry: IZipEntry): string;
|
||||
getZipEntryComment(entry: AdmZip.IZipEntry): string;
|
||||
/**
|
||||
* Updates the content of an existing entry inside the archive. The zip
|
||||
* must be rewritten after updating the content
|
||||
@@ -136,7 +136,7 @@ declare module AdmZip {
|
||||
* @param entry ZipEntry object.
|
||||
* @param content The entry's new contents.
|
||||
*/
|
||||
updateFile(entry: IZipEntry, content: Buffer): void;
|
||||
updateFile(entry: AdmZip.IZipEntry, content: Buffer): void;
|
||||
/**
|
||||
* Adds a file from the disk to the archive.
|
||||
* @param localPath Path to a file on disk.
|
||||
@@ -167,14 +167,14 @@ declare module AdmZip {
|
||||
* Returns an array of ZipEntry objects representing the files and folders
|
||||
* inside the archive
|
||||
*/
|
||||
getEntries(): IZipEntry[];
|
||||
getEntries(): AdmZip.IZipEntry[];
|
||||
/**
|
||||
* Returns a ZipEntry object representing the file or folder specified by
|
||||
* ``name``.
|
||||
* @param name Name of the file or folder to retrieve.
|
||||
* @return ZipEntry The entry corresponding to the name.
|
||||
*/
|
||||
getEntry(name: string): IZipEntry;
|
||||
getEntry(name: string): AdmZip.IZipEntry;
|
||||
/**
|
||||
* Extracts the given entry to the given targetPath.
|
||||
* If the entry is a directory inside the archive, the entire directory and
|
||||
@@ -203,7 +203,7 @@ declare module AdmZip {
|
||||
* will be overwriten if this is true. Default is FALSE
|
||||
* @return Boolean
|
||||
*/
|
||||
extractEntryTo(entryPath: IZipEntry, targetPath: string, maintainEntryPath?: boolean, overwrite?: boolean): boolean;
|
||||
extractEntryTo(entryPath: AdmZip.IZipEntry, targetPath: string, maintainEntryPath?: boolean, overwrite?: boolean): boolean;
|
||||
/**
|
||||
* Extracts the entire archive to the given location
|
||||
* @param targetPath Target location
|
||||
@@ -225,76 +225,75 @@ declare module AdmZip {
|
||||
toBuffer(): Buffer;
|
||||
}
|
||||
|
||||
/**
|
||||
* The ZipEntry is more than a structure representing the entry inside the
|
||||
* zip file. Beside the normal attributes and headers a entry can have, the
|
||||
* class contains a reference to the part of the file where the compressed
|
||||
* data resides and decompresses it when requested. It also compresses the
|
||||
* data and creates the headers required to write in the zip file.
|
||||
*/
|
||||
interface IZipEntry {
|
||||
module AdmZip {
|
||||
/**
|
||||
* Represents the full name and path of the file
|
||||
* The ZipEntry is more than a structure representing the entry inside the
|
||||
* zip file. Beside the normal attributes and headers a entry can have, the
|
||||
* class contains a reference to the part of the file where the compressed
|
||||
* data resides and decompresses it when requested. It also compresses the
|
||||
* data and creates the headers required to write in the zip file.
|
||||
*/
|
||||
entryName: string;
|
||||
rawEntryName: Buffer;
|
||||
/**
|
||||
* Extra data associated with this entry.
|
||||
*/
|
||||
extra: Buffer;
|
||||
/**
|
||||
* Entry comment.
|
||||
*/
|
||||
comment: string;
|
||||
name: string;
|
||||
/**
|
||||
* Read-Only property that indicates the type of the entry.
|
||||
*/
|
||||
isDirectory: boolean;
|
||||
/**
|
||||
* Get the header associated with this ZipEntry.
|
||||
*/
|
||||
header: Buffer;
|
||||
/**
|
||||
* Retrieve the compressed data for this entry. Note that this may trigger
|
||||
* compression if any properties were modified.
|
||||
*/
|
||||
getCompressedData(): Buffer;
|
||||
/**
|
||||
* Asynchronously retrieve the compressed data for this entry. Note that
|
||||
* this may trigger compression if any properties were modified.
|
||||
*/
|
||||
getCompressedDataAsync(callback: (data: Buffer) => void): void;
|
||||
/**
|
||||
* Set the (uncompressed) data to be associated with this entry.
|
||||
*/
|
||||
setData(value: string): void;
|
||||
/**
|
||||
* Set the (uncompressed) data to be associated with this entry.
|
||||
*/
|
||||
setData(value: Buffer): void;
|
||||
/**
|
||||
* Get the decompressed data associated with this entry.
|
||||
*/
|
||||
getData(): Buffer;
|
||||
/**
|
||||
* Asynchronously get the decompressed data associated with this entry.
|
||||
*/
|
||||
getDataAsync(callback: (data: Buffer) => void): void;
|
||||
/**
|
||||
* Returns the CEN Entry Header to be written to the output zip file, plus
|
||||
* the extra data and the entry comment.
|
||||
*/
|
||||
packHeader(): Buffer;
|
||||
/**
|
||||
* Returns a nicely formatted string with the most important properties of
|
||||
* the ZipEntry.
|
||||
*/
|
||||
toString(): string;
|
||||
interface IZipEntry {
|
||||
/**
|
||||
* Represents the full name and path of the file
|
||||
*/
|
||||
entryName: string;
|
||||
rawEntryName: Buffer;
|
||||
/**
|
||||
* Extra data associated with this entry.
|
||||
*/
|
||||
extra: Buffer;
|
||||
/**
|
||||
* Entry comment.
|
||||
*/
|
||||
comment: string;
|
||||
name: string;
|
||||
/**
|
||||
* Read-Only property that indicates the type of the entry.
|
||||
*/
|
||||
isDirectory: boolean;
|
||||
/**
|
||||
* Get the header associated with this ZipEntry.
|
||||
*/
|
||||
header: Buffer;
|
||||
/**
|
||||
* Retrieve the compressed data for this entry. Note that this may trigger
|
||||
* compression if any properties were modified.
|
||||
*/
|
||||
getCompressedData(): Buffer;
|
||||
/**
|
||||
* Asynchronously retrieve the compressed data for this entry. Note that
|
||||
* this may trigger compression if any properties were modified.
|
||||
*/
|
||||
getCompressedDataAsync(callback: (data: Buffer) => void): void;
|
||||
/**
|
||||
* Set the (uncompressed) data to be associated with this entry.
|
||||
*/
|
||||
setData(value: string): void;
|
||||
/**
|
||||
* Set the (uncompressed) data to be associated with this entry.
|
||||
*/
|
||||
setData(value: Buffer): void;
|
||||
/**
|
||||
* Get the decompressed data associated with this entry.
|
||||
*/
|
||||
getData(): Buffer;
|
||||
/**
|
||||
* Asynchronously get the decompressed data associated with this entry.
|
||||
*/
|
||||
getDataAsync(callback: (data: Buffer) => void): void;
|
||||
/**
|
||||
* Returns the CEN Entry Header to be written to the output zip file, plus
|
||||
* the extra data and the entry comment.
|
||||
*/
|
||||
packHeader(): Buffer;
|
||||
/**
|
||||
* Returns a nicely formatted string with the most important properties of
|
||||
* the ZipEntry.
|
||||
*/
|
||||
toString(): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
declare module "adm-zip" {
|
||||
import zipFile = AdmZip.ZipFile;
|
||||
export = zipFile;
|
||||
export = AdmZip;
|
||||
}
|
||||
|
||||
@@ -5,6 +5,11 @@
|
||||
|
||||
/// <reference path="../angularjs/angular.d.ts" />
|
||||
|
||||
declare module "angular-dynamic-locale" {
|
||||
import ng = angular.dynamicLocale;
|
||||
export = ng;
|
||||
}
|
||||
|
||||
declare module angular.dynamicLocale {
|
||||
|
||||
interface tmhDynamicLocaleService {
|
||||
|
||||
@@ -24,7 +24,7 @@ class FormConfig {
|
||||
}
|
||||
|
||||
class AppController {
|
||||
fields: AngularFormly.IFieldConfigurationObject[];
|
||||
fields: AngularFormly.IFieldArray;
|
||||
constructor() {
|
||||
var vm = this;
|
||||
vm.fields = [
|
||||
@@ -99,6 +99,21 @@ class AppController {
|
||||
templateOptions: {
|
||||
label: 'no wrapper here...'
|
||||
}
|
||||
},
|
||||
{
|
||||
//From http://angular-formly.com/#/example/other/nested-formly-forms
|
||||
key: 'address',
|
||||
wrapper: 'panel',
|
||||
templateOptions: { label: 'Address' },
|
||||
fieldGroup: [{
|
||||
key: 'town',
|
||||
type: 'input',
|
||||
templateOptions: {
|
||||
required: true,
|
||||
type: 'text',
|
||||
label: 'Town'
|
||||
}
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+31
-15
@@ -1,7 +1,7 @@
|
||||
// Type definitions for angular-formly 6.18.0
|
||||
// Type definitions for angular-formly 7.2.3
|
||||
// Project: https://github.com/formly-js/angular-formly
|
||||
// Definitions by: Scott Hatcher <https://github.com/scatcher>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference path="../angularjs/angular.d.ts" />
|
||||
|
||||
@@ -16,18 +16,23 @@ declare module 'angular-formly' {
|
||||
|
||||
declare module AngularFormly {
|
||||
|
||||
interface IFieldArray extends Array<IFieldConfigurationObject|IFieldGroup> {
|
||||
|
||||
}
|
||||
|
||||
interface IFieldGroup {
|
||||
data?: Object;
|
||||
className?: string;
|
||||
elementAttributes?: { [key: string]: string };
|
||||
fieldGroup: IFieldConfigurationObject[];
|
||||
elementAttributes?: string;
|
||||
fieldGroup: IFieldArray;
|
||||
form?: Object;
|
||||
hide?: boolean;
|
||||
hideExpression?: string | IExpresssionFunction;
|
||||
hideExpression?: string | IExpressionFunction;
|
||||
key?: string | number;
|
||||
model?: string | Object;
|
||||
options?: IFormOptionsAPI
|
||||
options?: IFormOptionsAPI;
|
||||
templateOptions?: ITemplateOptions;
|
||||
wrapper?: string | string[];
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +51,7 @@ declare module AngularFormly {
|
||||
/**
|
||||
* see http://docs.angular-formly.com/docs/formly-expressions#expressionproperties-validators--messages
|
||||
*/
|
||||
interface IExpresssionFunction {
|
||||
interface IExpressionFunction {
|
||||
($viewValue: any, $modelValue: any, scope: ITemplateScope): any;
|
||||
}
|
||||
|
||||
@@ -70,6 +75,11 @@ declare module AngularFormly {
|
||||
postWrapper?: ITemplateManipulator[];
|
||||
}
|
||||
|
||||
interface ISelectOption {
|
||||
name: string;
|
||||
value?: string;
|
||||
group?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* see http://docs.angular-formly.com/docs/ngmodelattrstemplatemanipulator
|
||||
@@ -104,6 +114,12 @@ declare module AngularFormly {
|
||||
description?: string;
|
||||
[key: string]: any;
|
||||
|
||||
// types for select/radio fields
|
||||
options?: Array<ISelectOption>;
|
||||
groupProp?: string; // default: group
|
||||
valueProp?: string; // default: value
|
||||
labelProp?: string; // default: name
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -111,8 +127,8 @@ declare module AngularFormly {
|
||||
* see http://docs.angular-formly.com/docs/field-configuration-object#validators-object
|
||||
*/
|
||||
interface IValidator {
|
||||
expression: string | IExpresssionFunction;
|
||||
message?: string | IExpresssionFunction;
|
||||
expression: string | IExpressionFunction;
|
||||
message?: string | IExpressionFunction;
|
||||
}
|
||||
|
||||
|
||||
@@ -143,7 +159,7 @@ declare module AngularFormly {
|
||||
* see http://angular-formly.com/#/example/other/unique-value-async-validation
|
||||
*/
|
||||
asyncValidators?: {
|
||||
[key: string]: string | IExpresssionFunction | IValidator;
|
||||
[key: string]: string | IExpressionFunction | IValidator;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -193,7 +209,7 @@ declare module AngularFormly {
|
||||
* see http://docs.angular-formly.com/docs/field-configuration-object#expressionproperties-object
|
||||
*/
|
||||
expressionProperties?: {
|
||||
[key: string]: string | IExpresssionFunction | IValidator;
|
||||
[key: string]: string | IExpressionFunction | IValidator;
|
||||
}
|
||||
|
||||
|
||||
@@ -213,7 +229,7 @@ declare module AngularFormly {
|
||||
*
|
||||
* see http://docs.angular-formly.com/docs/field-configuration-object#hideexpression-string--function
|
||||
*/
|
||||
hideExpression?: string | IExpresssionFunction;
|
||||
hideExpression?: string | IExpressionFunction;
|
||||
|
||||
|
||||
/**
|
||||
@@ -405,7 +421,7 @@ declare module AngularFormly {
|
||||
* like in this example.
|
||||
*/
|
||||
messages?: {
|
||||
[key: string]: IExpresssionFunction | string;
|
||||
[key: string]: IExpressionFunction | string;
|
||||
}
|
||||
|
||||
|
||||
@@ -429,7 +445,7 @@ declare module AngularFormly {
|
||||
* see http://docs.angular-formly.com/docs/field-configuration-object#validators-object
|
||||
*/
|
||||
validators?: {
|
||||
[key: string]: string | IExpresssionFunction | IValidator;
|
||||
[key: string]: string | IExpressionFunction | IValidator;
|
||||
}
|
||||
|
||||
|
||||
@@ -562,7 +578,7 @@ declare module AngularFormly {
|
||||
//Shortcut to options.formControl
|
||||
fc: ng.IFormController | ng.IFormController[];
|
||||
//all the fields for the form
|
||||
fields: IFieldConfigurationObject[];
|
||||
fields: IFieldArray;
|
||||
//the form controller the field is in
|
||||
form: any;
|
||||
//The object passed as options.formState to the formly-form directive. Use this to share state between fields.
|
||||
|
||||
Vendored
+1
-1
@@ -25,6 +25,6 @@ declare module angular.jwt {
|
||||
}
|
||||
|
||||
interface IJwtInterceptor {
|
||||
tokenGetter(): string;
|
||||
tokenGetter(...params : any[]): string;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,9 +7,17 @@ class TestController {
|
||||
constructor($http: ng.IHttpService) {
|
||||
|
||||
$http.get("http://xyz.com", { ignoreLoadingBar: true })
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
app.controller('TestController', TestController);
|
||||
|
||||
var barConfig: angular.loadingBar.ILoadingBarProvider[] = [];
|
||||
barConfig.push({
|
||||
includeSpinner: true,
|
||||
includeBar: true,
|
||||
spinnerTemplate: 'template',
|
||||
latencyThreshold: 100
|
||||
});
|
||||
|
||||
+26
-1
@@ -14,5 +14,30 @@ declare module angular {
|
||||
*/
|
||||
ignoreLoadingBar?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
declare module angular.loadingBar {
|
||||
|
||||
interface ILoadingBarProvider{
|
||||
/**
|
||||
* Turn the spinner on or off
|
||||
*/
|
||||
includeSpinner?: boolean;
|
||||
|
||||
/**
|
||||
* Turn the loading bar on or off
|
||||
*/
|
||||
includeBar?: boolean;
|
||||
|
||||
/**
|
||||
* HTML template
|
||||
*/
|
||||
spinnerTemplate?: string;
|
||||
|
||||
/**
|
||||
* Latency Threshold
|
||||
*/
|
||||
latencyThreshold?: number;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ declare module angular.material {
|
||||
show(dialog: MDDialogOptions|MDPresetDialog<any>): angular.IPromise<any>;
|
||||
confirm(): MDConfirmDialog;
|
||||
alert(): MDAlertDialog;
|
||||
hide(response?: any): void;
|
||||
hide(response?: any): angular.IPromise<any>;
|
||||
cancel(response?: any): void;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ declare module angular.material {
|
||||
show(dialog: MDDialogOptions|MDAlertDialog|MDConfirmDialog): angular.IPromise<any>;
|
||||
confirm(): MDConfirmDialog;
|
||||
alert(): MDAlertDialog;
|
||||
hide(response?: any): void;
|
||||
hide(response?: any): angular.IPromise<any>;
|
||||
cancel(response?: any): void;
|
||||
}
|
||||
|
||||
|
||||
@@ -96,5 +96,5 @@ myApp.controller('SidenavController', ($scope: ng.IScope, $mdSidenav: ng.materia
|
||||
});
|
||||
|
||||
myApp.controller('ToastController', ($scope: ng.IScope, $mdToast: ng.material.IToastService) => {
|
||||
$scope['openToast'] = () => $mdToast.show($mdToast.simple().content('Hello!'));
|
||||
});
|
||||
$scope['openToast'] = () => $mdToast.show($mdToast.simple().textContent('Hello!'));
|
||||
});
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Angular Material 0.10.1-rc1+ (angular.material module)
|
||||
// Type definitions for Angular Material 1.0.0-rc5+ (angular.material module)
|
||||
// Project: https://github.com/angular/material
|
||||
// Definitions by: Matt Traynham <https://github.com/mtraynham>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -83,7 +83,7 @@ declare module angular.material {
|
||||
show(dialog: IDialogOptions|IAlertDialog|IConfirmDialog): angular.IPromise<any>;
|
||||
confirm(): IConfirmDialog;
|
||||
alert(): IAlertDialog;
|
||||
hide(response?: any): void;
|
||||
hide(response?: any): angular.IPromise<any>;
|
||||
cancel(response?: any): void;
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@ declare module angular.material {
|
||||
}
|
||||
|
||||
interface IToastPreset<T> {
|
||||
content(content: string): T;
|
||||
textContent(content: string): T;
|
||||
action(action: string): T;
|
||||
highlightAction(highlightAction: boolean): T;
|
||||
capsule(capsule: boolean): T;
|
||||
|
||||
@@ -196,6 +196,27 @@ function TestWebDriverUntilModule() {
|
||||
conditionWebElements = protractor.until.elementsLocated(by.className('class'));
|
||||
}
|
||||
|
||||
function TestWebDriverExpectedConditionsModule() {
|
||||
var conditionB: protractor.until.Condition<boolean>;
|
||||
var el: protractor.ElementFinder = element(by.id('id'));
|
||||
|
||||
conditionB = protractor.ExpectedConditions.alertIsPresent();
|
||||
conditionB = protractor.ExpectedConditions.elementToBeClickable(el);
|
||||
conditionB = protractor.ExpectedConditions.textToBePresentInElement(el, 'text');
|
||||
conditionB = protractor.ExpectedConditions.textToBePresentInElementValue(el, 'text');
|
||||
conditionB = protractor.ExpectedConditions.titleContains('text');
|
||||
conditionB = protractor.ExpectedConditions.titleIs('text');
|
||||
conditionB = protractor.ExpectedConditions.presenceOf(el);
|
||||
conditionB = protractor.ExpectedConditions.stalenessOf(el);
|
||||
conditionB = protractor.ExpectedConditions.visibilityOf(el);
|
||||
conditionB = protractor.ExpectedConditions.invisibilityOf(el);
|
||||
conditionB = protractor.ExpectedConditions.elementToBeSelected(el);
|
||||
|
||||
conditionB = protractor.ExpectedConditions.not(protractor.ExpectedConditions.alertIsPresent());
|
||||
conditionB = protractor.ExpectedConditions.and(protractor.ExpectedConditions.alertIsPresent(), protractor.ExpectedConditions.elementToBeClickable(el));
|
||||
conditionB = protractor.ExpectedConditions.or(protractor.ExpectedConditions.alertIsPresent(), protractor.ExpectedConditions.elementToBeClickable(el));
|
||||
}
|
||||
|
||||
function TestProtractor() {
|
||||
var ptor: protractor.Protractor;
|
||||
var driver: webdriver.WebDriver = new webdriver.Builder().
|
||||
|
||||
+149
@@ -501,6 +501,145 @@ declare module protractor {
|
||||
function titleMatches(regex: RegExp): webdriver.until.Condition<boolean>;
|
||||
}
|
||||
|
||||
module ExpectedConditions {
|
||||
/**
|
||||
* Negates the result of a promise.
|
||||
*
|
||||
* @param {webdriver.until.Condition<boolean>} expectedCondition
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns the negated value.
|
||||
*/
|
||||
function not<T>(expectedCondition: webdriver.until.Condition<T>): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* Chain a number of expected conditions using logical_and, short circuiting at the
|
||||
* first expected condition that evaluates to false.
|
||||
*
|
||||
* @param {...webdriver.until.Condition<boolean>[]} fns An array of expected conditions to 'and' together.
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise which evaluates
|
||||
* to the result of the logical and.
|
||||
*/
|
||||
function and<T>(...fns: webdriver.until.Condition<T>[]): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* Chain a number of expected conditions using logical_or, short circuiting at the
|
||||
* first expected condition that evaluates to true.
|
||||
*
|
||||
* @param {...webdriver.until.Condition<boolean>[]} fns An array of expected conditions to 'or' together.
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise which
|
||||
* evaluates to the result of the logical or.
|
||||
*/
|
||||
function or<T>(...fns: webdriver.until.Condition<T>[]): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* Expect an alert to be present.
|
||||
*
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether an alert is present.
|
||||
*/
|
||||
function alertIsPresent<T>(): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An Expectation for checking an element is visible and enabled such that you can click it.
|
||||
*
|
||||
* @param {ElementFinder} element The element to check
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether the element is clickable.
|
||||
*/
|
||||
function elementToBeClickable<T>(element: ElementFinder): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An expectation for checking if the given text is present in the element.
|
||||
* Returns false if the elementFinder does not find an element.
|
||||
*
|
||||
* @param {ElementFinder} element The element to check
|
||||
* @param {string} text The text to verify against
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether the text is present in the element.
|
||||
*/
|
||||
function textToBePresentInElement<T>(element: ElementFinder, text: string): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An expectation for checking if the given text is present in the element’s value.
|
||||
* Returns false if the elementFinder does not find an element.
|
||||
*
|
||||
* @param {ElementFinder} element The element to check
|
||||
* @param {string} text The text to verify against
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether the text is present in the element's value.
|
||||
*/
|
||||
function textToBePresentInElementValue<T>(
|
||||
element: ElementFinder, text: string
|
||||
): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An expectation for checking that the title contains a case-sensitive substring.
|
||||
*
|
||||
* @param {string} title The fragment of title expected
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether the title contains the string.
|
||||
*/
|
||||
function titleContains<T>(title: string): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An expectation for checking the title of a page.
|
||||
*
|
||||
* @param {string} title The expected title, which must be an exact match.
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether the title equals the string.
|
||||
*/
|
||||
function titleIs<T>(title: string): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An expectation for checking that an element is present on the DOM of a page. This does not necessarily
|
||||
* mean that the element is visible. This is the opposite of 'stalenessOf'.
|
||||
*
|
||||
* @param {ElementFinder} elementFinder The element to check
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise
|
||||
* representing whether the element is present.
|
||||
*/
|
||||
function presenceOf<T>(element: ElementFinder): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An expectation for checking that an element is not attached to the DOM of a page.
|
||||
* This is the opposite of 'presenceOf'.
|
||||
*
|
||||
* @param {ElementFinder} elementFinder The element to check
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether the element is stale.
|
||||
*/
|
||||
function stalenessOf<T>(element: ElementFinder): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An expectation for checking that an element is present on the DOM of a page and visible.
|
||||
* Visibility means that the element is not only displayed but also has a height and width that is
|
||||
* greater than 0. This is the opposite of 'invisibilityOf'.
|
||||
*
|
||||
* @param {ElementFinder} elementFinder The element to check
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether the element is visible.
|
||||
*/
|
||||
function visibilityOf<T>(element: ElementFinder): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An expectation for checking that an element is present on the DOM of a page. This does not necessarily
|
||||
* mean that the element is visible. This is the opposite of 'stalenessOf'.
|
||||
*
|
||||
* @param {ElementFinder} elementFinder The element to check
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether the element is invisible.
|
||||
*/
|
||||
function invisibilityOf<T>(element: ElementFinder): webdriver.until.Condition<T>;
|
||||
|
||||
/**
|
||||
* An expectation for checking the selection is selected.
|
||||
*
|
||||
* @param {ElementFinder} elementFinder The element to check
|
||||
* @return {!webdriver.until.Condition<boolean>} An expected condition that returns a promise representing
|
||||
* whether the element is selected.
|
||||
*/
|
||||
function elementToBeSelected<T>(element: ElementFinder): webdriver.until.Condition<T>;
|
||||
}
|
||||
|
||||
//endregion
|
||||
|
||||
/**
|
||||
@@ -1667,6 +1806,16 @@ declare module protractor {
|
||||
* @return {Protractor} a protractor instance.
|
||||
*/
|
||||
forkNewDriverInstance(opt_useSameUrl?: boolean, opt_copyMockModules?: boolean): Protractor;
|
||||
|
||||
/**
|
||||
* Get the processed configuration object that is currently being run. This will contain
|
||||
* the specs and capabilities properties of the current runner instance.
|
||||
*
|
||||
* Set by the runner.
|
||||
*
|
||||
* @return {webdriver.promise.Promise<any>} A promise which resolves to the capabilities object.
|
||||
*/
|
||||
getProcessedConfig(): webdriver.promise.Promise<any>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -0,0 +1,378 @@
|
||||
/// <reference path="../angularjs/angular.d.ts"/>
|
||||
/// <reference path="./angular-strap.d.ts"/>
|
||||
|
||||
module angularStrapTests {
|
||||
|
||||
import ngStrap = mgcrea.ngStrap;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Modal
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module modalTests {
|
||||
|
||||
interface IDemoCtrlScope extends ngStrap.modal.IModalScope {
|
||||
showModal: () => void;
|
||||
}
|
||||
|
||||
angular.module('demoApp')
|
||||
.config($modalConfig)
|
||||
.controller('demoCtrl', demoCtrl);
|
||||
|
||||
function demoCtrl($scope: IDemoCtrlScope,
|
||||
$modal: ngStrap.modal.IModalService): void {
|
||||
|
||||
var myModalOptions: ngStrap.modal.IModalOptions = {};
|
||||
myModalOptions.title = 'My Title';
|
||||
myModalOptions.content = 'Hello Modal<br />This is a multiline message!';
|
||||
myModalOptions.show = true;
|
||||
|
||||
var myModal = $modal(myModalOptions);
|
||||
|
||||
var myOtherModalOptions: ngStrap.modal.IModalOptions = {};
|
||||
myOtherModalOptions.scope = $scope;
|
||||
myOtherModalOptions.template = 'modal/docs/modal.demo.tpl.html';
|
||||
myOtherModalOptions.show = false;
|
||||
|
||||
var myOtherModal = $modal(myOtherModalOptions);
|
||||
|
||||
$scope.showModal = (): void => {
|
||||
myOtherModal.$promise.then(myOtherModal.show);
|
||||
};
|
||||
}
|
||||
|
||||
function $modalConfig($modalProvider: ngStrap.modal.IModalProvider): void {
|
||||
var defaults: ngStrap.modal.IModalOptions = {
|
||||
animation: 'am-flip-x'
|
||||
}
|
||||
angular.extend($modalProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Aside
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module asideTests {
|
||||
|
||||
angular.module('demoApp')
|
||||
.config($asideConfig)
|
||||
.controller('demoCtrl', demoCtrl);
|
||||
|
||||
function demoCtrl($scope: ngStrap.aside.IAsideScope,
|
||||
$aside: ngStrap.aside.IAsideService): void {
|
||||
|
||||
var myAsideOptions: ngStrap.aside.IAsideOptions = {};
|
||||
myAsideOptions.title = 'My Title';
|
||||
myAsideOptions.content = 'My content';
|
||||
myAsideOptions.show = true;
|
||||
|
||||
var myAside = $aside(myAsideOptions);
|
||||
|
||||
var myOtherAsideOptions: ngStrap.aside.IAsideOptions = {};
|
||||
myOtherAsideOptions.scope = $scope;
|
||||
myOtherAsideOptions.template = 'aside/docs/aside.demo.tpl.html';
|
||||
|
||||
var myOtherAside = $aside();
|
||||
|
||||
myOtherAside.$promise.then(() => {
|
||||
myOtherAside.show();
|
||||
});
|
||||
}
|
||||
|
||||
function $asideConfig($asideProvider: ngStrap.aside.IAsideProvider): void {
|
||||
var defaults: ngStrap.aside.IAsideOptions = {};
|
||||
defaults.animation = 'am-fadeAndSlideLeft';
|
||||
defaults.placement = 'left';
|
||||
|
||||
angular.extend($asideProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Alert
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module alertTests {
|
||||
|
||||
angular.module('demoApp')
|
||||
.config($alertConfig)
|
||||
.controller('demoCtrl', demoCtrl);
|
||||
|
||||
function demoCtrl($scope: ngStrap.alert.IAlertScope,
|
||||
$alert: ngStrap.alert.IAlertService): void {
|
||||
|
||||
var options: ngStrap.alert.IAlertOptions = {};
|
||||
options.title = 'Holy guacamole!';
|
||||
options.content = 'Best check yo self, you\'re not looking too good.';
|
||||
options.placement = 'top';
|
||||
options.type = 'info';
|
||||
options.show = true;
|
||||
|
||||
var myAlert = $alert();
|
||||
}
|
||||
|
||||
function $alertConfig($alertProvider: ngStrap.alert.IAlertProvider): void {
|
||||
var defaults: ngStrap.alert.IAlertOptions = {};
|
||||
defaults.animation = 'am-fade-and-slide-top';
|
||||
defaults.placement = 'top';
|
||||
|
||||
angular.extend($alertProvider.defaults, defaults);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Tooltip
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module tooltipTests {
|
||||
|
||||
angular.module('demoApp')
|
||||
.config($tooltipConfig)
|
||||
.controller('demoDrct', demoDrct);
|
||||
|
||||
function demoDrct($tooltip: ngStrap.tooltip.ITooltipService): ng.IDirective {
|
||||
var drct: ng.IDirective = {};
|
||||
drct.restrict = 'EA';
|
||||
drct.link = link;
|
||||
return drct;
|
||||
|
||||
function link(scope: ng.IScope, elem: ng.IAugmentedJQuery, attrs: ng.IAttributes): void {
|
||||
var options: ngStrap.tooltip.ITooltipOptions = {};
|
||||
options.title = 'My Title';
|
||||
$tooltip(elem, options);
|
||||
}
|
||||
}
|
||||
|
||||
function $tooltipConfig($tooltipProvider: ngStrap.tooltip.ITooltipProvider): void {
|
||||
var defaults: ngStrap.tooltip.ITooltipOptions = {};
|
||||
defaults.animation = 'am-flip-x';
|
||||
defaults.trigger = 'hover';
|
||||
|
||||
angular.extend($tooltipProvider.defaults, defaults);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Popover
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module popoverTests {
|
||||
|
||||
angular.module('demoApp')
|
||||
.config($popoverConfig)
|
||||
.controller('demoDrct', demoDrct);
|
||||
|
||||
function demoDrct($popover: ngStrap.popover.IPopoverService): ng.IDirective {
|
||||
var drct: ng.IDirective = {};
|
||||
drct.restrict = 'EA';
|
||||
drct.link = link;
|
||||
return drct;
|
||||
|
||||
function link(scope: ng.IScope, elem: ng.IAugmentedJQuery, attrs: ng.IAttributes): void {
|
||||
var options: ngStrap.tooltip.ITooltipOptions = {};
|
||||
options.title = 'My Title';
|
||||
|
||||
$popover(elem, options);
|
||||
}
|
||||
}
|
||||
|
||||
function $popoverConfig($popoverProvider: ngStrap.popover.IPopoverProvider): void {
|
||||
var defaults: ngStrap.tooltip.ITooltipOptions = {}
|
||||
defaults.animation = 'am-flip-x';
|
||||
defaults.trigger = 'hover';
|
||||
|
||||
angular.extend($popoverProvider.defaults, defaults);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Typeahead
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module typeaheadTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($typeaheadConfig);
|
||||
|
||||
function $typeaheadConfig($typeaheadProvider: ngStrap.typeahead.ITypeaheadProvider) {
|
||||
var defaults: ngStrap.typeahead.ITypeaheadOptions = {}
|
||||
defaults.animation = 'am-flip-x';
|
||||
defaults.minLength = 2;
|
||||
defaults.limit = 8;
|
||||
|
||||
angular.extend($typeaheadProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Datepicker
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module datepickerTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($datepickerConfig);
|
||||
|
||||
function $datepickerConfig($datepickerProvider: ngStrap.datepicker.IDatepickerProvider): void {
|
||||
var defaults: ngStrap.datepicker.IDatepickerOptions = {};
|
||||
defaults.dateFormat = 'dd/MM/yyyy';
|
||||
defaults.startWeek = 1;
|
||||
|
||||
angular.extend($datepickerProvider.defaults, defaults);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Timepicker
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module timepickerTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($timepickerConfig);
|
||||
|
||||
function $timepickerConfig($timepickerProvider: ngStrap.timepicker.ITimepickerProvider): void {
|
||||
var defaults: ngStrap.timepicker.ITimepickerOptions = {};
|
||||
defaults.timeFormat = 'HH:mm';
|
||||
defaults.length = 7;
|
||||
|
||||
angular.extend($timepickerProvider.defaults, defaults);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Select
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module selectTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($selectConfig);
|
||||
|
||||
function $selectConfig($selectProvider: ngStrap.select.ISelectProvider): void {
|
||||
var defaults: ngStrap.select.ISelectOptions = {};
|
||||
defaults.animation = 'am-flip-x';
|
||||
defaults.sort = false;
|
||||
|
||||
angular.extend($selectProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Tabs
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module tabTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($tabConfig);
|
||||
|
||||
function $tabConfig($tabProvider: ngStrap.tab.ITabProvider) {
|
||||
var defaults: ngStrap.tab.ITabOptions = {};
|
||||
defaults.animation = 'am-flip-x';
|
||||
|
||||
angular.extend($tabProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Collapse
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module collapseTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($collapseConfig);
|
||||
|
||||
function $collapseConfig($collapseProvider: ngStrap.collapse.ICollapseProvider):void {
|
||||
var defaults: ngStrap.collapse.ICollapseOptions = {};
|
||||
defaults.animation = 'am-flip-x';
|
||||
|
||||
angular.extend($collapseProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Dropdown
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module dropdownTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($dropdownConfig);
|
||||
|
||||
function $dropdownConfig($dropdownProvider: ngStrap.dropdown.IDropdownProvider):void {
|
||||
var defaults: ngStrap.dropdown.IDropdownOptions = {};
|
||||
defaults.animation = 'am-flip-x';
|
||||
defaults.trigger = 'hover';
|
||||
|
||||
angular.extend($dropdownProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Navbar
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module navbarTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($navbarConfig);
|
||||
|
||||
function $navbarConfig($navbarProvider: ngStrap.navbar.INavbarProvider):void {
|
||||
var defaults: ngStrap.navbar.INavbarOptions = {};
|
||||
defaults.activeClass = 'in';
|
||||
|
||||
angular.extend($navbarProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Scrollspy
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module scrollspyTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($scrollspyConfig);
|
||||
|
||||
function $scrollspyConfig($scrollspyProvider: ngStrap.scrollspy.IScrollspyProvider):void {
|
||||
var defaults: ngStrap.scrollspy.IScrollspyOptions = {};
|
||||
defaults.offset = 0;
|
||||
defaults.target = 'my-selector';
|
||||
|
||||
angular.extend($scrollspyProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Affix
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module affixTests {
|
||||
|
||||
angular.module('myApp')
|
||||
.config($affixConfig);
|
||||
|
||||
function $affixConfig($affixProvider: ngStrap.affix.IAffixProvider):void {
|
||||
var defaults: ngStrap.affix.IAffixOptions = {};
|
||||
defaults.offsetTop = 100;
|
||||
|
||||
angular.extend($affixProvider.defaults, defaults);
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+600
@@ -0,0 +1,600 @@
|
||||
// Type definitions for angular-strap v2.2.x
|
||||
// Project: http://mgcrea.github.io/angular-strap/
|
||||
// Definitions by: Sam Herrmann <https://github.com/samherrmann>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference path="../angularjs/angular.d.ts" />
|
||||
|
||||
declare module mgcrea.ngStrap {
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Modal
|
||||
// see http://mgcrea.github.io/angular-strap/#/modals
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module modal {
|
||||
|
||||
interface IModalService {
|
||||
(config?: IModalOptions): IModal;
|
||||
}
|
||||
|
||||
interface IModalProvider {
|
||||
defaults: IModalOptions;
|
||||
}
|
||||
|
||||
interface IModal {
|
||||
$promise: ng.IPromise<void>;
|
||||
show: () => void;
|
||||
hide: () => void;
|
||||
toggle: () => void;
|
||||
}
|
||||
|
||||
interface IModalOptions {
|
||||
animation?: string;
|
||||
backdropAnimation?: string;
|
||||
placement?: string;
|
||||
title?: string;
|
||||
content?: string;
|
||||
html?: boolean;
|
||||
backdrop?: boolean | string;
|
||||
keyboard?: boolean;
|
||||
show?: boolean;
|
||||
container?: string | boolean;
|
||||
template?: string;
|
||||
contentTemplate?: string;
|
||||
prefixEvent?: string;
|
||||
id?: string;
|
||||
scope?: ng.IScope;
|
||||
}
|
||||
|
||||
interface IModalScope extends ng.IScope {
|
||||
$show: () => void;
|
||||
$hide: () => void;
|
||||
$toggle: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Aside
|
||||
// see http://mgcrea.github.io/angular-strap/#/asides
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module aside {
|
||||
|
||||
interface IAsideService {
|
||||
(config?: IAsideOptions): IAside;
|
||||
}
|
||||
|
||||
interface IAsideProvider {
|
||||
defaults: IAsideOptions;
|
||||
}
|
||||
|
||||
interface IAside {
|
||||
$promise: ng.IPromise<void>;
|
||||
show: () => void;
|
||||
hide: () => void;
|
||||
toggle: () => void;
|
||||
}
|
||||
|
||||
interface IAsideOptions {
|
||||
animation?: string;
|
||||
placement?: string;
|
||||
title?: string;
|
||||
content?: string;
|
||||
html?: boolean;
|
||||
backdrop?: boolean | string;
|
||||
keyboard?: boolean;
|
||||
show?: boolean;
|
||||
container?: string | boolean;
|
||||
template?: string;
|
||||
contentTemplate?: string;
|
||||
scope?: ng.IScope;
|
||||
}
|
||||
|
||||
interface IAsideScope extends ng.IScope {
|
||||
$show: () => void;
|
||||
$hide: () => void;
|
||||
$toggle: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Alert
|
||||
// see http://mgcrea.github.io/angular-strap/#/alerts
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module alert {
|
||||
|
||||
interface IAlertService {
|
||||
(config?: IAlertOptions): IAlert;
|
||||
}
|
||||
|
||||
interface IAlertProvider {
|
||||
defaults: IAlertOptions;
|
||||
}
|
||||
|
||||
interface IAlert {
|
||||
$promise: ng.IPromise<void>;
|
||||
show: () => void;
|
||||
hide: () => void;
|
||||
toggle: () => void;
|
||||
}
|
||||
|
||||
interface IAlertOptions {
|
||||
animation?: string;
|
||||
placement?: string;
|
||||
title?: string;
|
||||
content?: string;
|
||||
type?: string;
|
||||
keyboard?: boolean;
|
||||
show?: boolean;
|
||||
container?: string | boolean;
|
||||
template?: string;
|
||||
duration?: number | boolean;
|
||||
dismissable?: boolean;
|
||||
}
|
||||
|
||||
interface IAlertScope extends ng.IScope {
|
||||
$show: () => void;
|
||||
$hide: () => void;
|
||||
$toggle: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Tooltip
|
||||
// see http://mgcrea.github.io/angular-strap/#/tooltips
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module tooltip {
|
||||
|
||||
interface ITooltipService {
|
||||
(element: ng.IAugmentedJQuery, config?: ITooltipOptions): ITooltip;
|
||||
}
|
||||
|
||||
interface ITooltipProvider {
|
||||
defaults: ITooltipOptions;
|
||||
}
|
||||
|
||||
interface ITooltip {
|
||||
$promise: ng.IPromise<void>;
|
||||
show: () => void;
|
||||
hide: () => void;
|
||||
toggle: () => void;
|
||||
}
|
||||
|
||||
interface ITooltipOptions {
|
||||
animation?: string;
|
||||
placement?: string;
|
||||
trigger?: string;
|
||||
title?: string;
|
||||
html?: boolean;
|
||||
delay?: number | { show: number; hide: number};
|
||||
container?: string | boolean;
|
||||
target?: string | ng.IAugmentedJQuery | boolean;
|
||||
template?: string;
|
||||
contentTemplate?: string;
|
||||
prefixEvent?: string;
|
||||
id?: string;
|
||||
viewport?: string | { selector: string; padding: string | number };
|
||||
}
|
||||
|
||||
interface ITooltipScope extends ng.IScope {
|
||||
$show: () => void;
|
||||
$hide: () => void;
|
||||
$toggle: () => void;
|
||||
$setEnabled: (isEnabled: boolean) => void;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Popover
|
||||
// see http://mgcrea.github.io/angular-strap/#/popovers
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module popover {
|
||||
|
||||
interface IPopoverService {
|
||||
(element: ng.IAugmentedJQuery, config?: IPopoverOptions): IPopover;
|
||||
}
|
||||
|
||||
interface IPopoverProvider {
|
||||
defaults: IPopoverOptions;
|
||||
}
|
||||
|
||||
interface IPopover {
|
||||
$promise: ng.IPromise<void>;
|
||||
show: () => void;
|
||||
hide: () => void;
|
||||
toggle: () => void;
|
||||
}
|
||||
|
||||
interface IPopoverOptions {
|
||||
animation?: string;
|
||||
placement?: string;
|
||||
trigger?: string;
|
||||
title?: string;
|
||||
content?: string;
|
||||
html?: boolean;
|
||||
delay?: number | { show: number; hide: number };
|
||||
container?: string | boolean;
|
||||
target?: string | ng.IAugmentedJQuery | boolean;
|
||||
template?: string;
|
||||
contentTemplate?: string;
|
||||
autoClose?: boolean;
|
||||
id?: string;
|
||||
viewport?: string | { selector: string; padding: string | number };
|
||||
}
|
||||
|
||||
interface IPopoverScope extends ng.IScope {
|
||||
$show: () => void;
|
||||
$hide: () => void;
|
||||
$toggle: () => void;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Typeahead
|
||||
// see http://mgcrea.github.io/angular-strap/#/typeaheads
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module typeahead {
|
||||
|
||||
interface ITypeaheadService {
|
||||
(element: ng.IAugmentedJQuery, controller: any, config?: ITypeaheadOptions): ITypeahead;
|
||||
}
|
||||
|
||||
interface ITypeaheadProvider {
|
||||
defaults: ITypeaheadOptions;
|
||||
}
|
||||
|
||||
interface ITypeahead {
|
||||
$promise: ng.IPromise<void>;
|
||||
show: () => void;
|
||||
hide: () => void;
|
||||
toggle: () => void;
|
||||
}
|
||||
|
||||
interface ITypeaheadOptions {
|
||||
animation?: string;
|
||||
placement?: string;
|
||||
trigger?: string;
|
||||
html?: boolean;
|
||||
delay?: number | { show: number; hide: number };
|
||||
container?: string | boolean;
|
||||
template?: string;
|
||||
limit?: number;
|
||||
minLength?: number;
|
||||
autoSelect?: boolean;
|
||||
comparator?: string;
|
||||
id?: string;
|
||||
watchOptions?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Datepicker
|
||||
// see http://mgcrea.github.io/angular-strap/#/datepickers
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module datepicker {
|
||||
|
||||
interface IDatepickerService {
|
||||
(element: ng.IAugmentedJQuery, controller: any, config?: IDatepickerOptions): IDatepicker;
|
||||
}
|
||||
|
||||
interface IDatepickerProvider {
|
||||
defaults: IDatepickerOptions;
|
||||
}
|
||||
|
||||
interface IDatepicker {
|
||||
update: (date: Date) => void;
|
||||
updateDisabledDates: (dateRanges: IDatepickerDateRange[]) => void;
|
||||
select: (dateConstructorArg: string | number | number[], keep: boolean) => void;
|
||||
setMode: (mode: any) => void;
|
||||
int: () => void;
|
||||
destroy: () => void;
|
||||
show: () => void;
|
||||
hide: () => void;
|
||||
}
|
||||
|
||||
interface IDatepickerDateRange {
|
||||
start: Date;
|
||||
end: Date;
|
||||
}
|
||||
|
||||
interface IDatepickerOptions {
|
||||
animation?: string;
|
||||
placement?: string;
|
||||
trigger?: string;
|
||||
html?: boolean;
|
||||
delay?: number | { show: number; hide: number };
|
||||
container?: string | boolean;
|
||||
template?: string;
|
||||
dateFormat?: string;
|
||||
modelDateFormat?: string;
|
||||
dateType?: string;
|
||||
timezone?: string;
|
||||
autoclose?: boolean;
|
||||
useNative?: boolean;
|
||||
minDate?: Date;
|
||||
maxDate?: Date;
|
||||
startView?: number;
|
||||
minView?: number;
|
||||
startWeek?: number;
|
||||
startDate?: Date;
|
||||
iconLeft?: string;
|
||||
iconRight?: string;
|
||||
daysOfWeekDisabled?: string;
|
||||
disabledDates?: IDatepickerDateRange[];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Timepicker
|
||||
// see http://mgcrea.github.io/angular-strap/#/timepickers
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module timepicker {
|
||||
|
||||
interface ITimepickerService {
|
||||
(element: ng.IAugmentedJQuery, controller: any, config?: ITimepickerOptions): ITimepicker;
|
||||
}
|
||||
|
||||
interface ITimepickerProvider {
|
||||
defaults: ITimepickerOptions;
|
||||
}
|
||||
|
||||
interface ITimepicker {
|
||||
|
||||
}
|
||||
|
||||
interface ITimepickerOptions {
|
||||
animation?: string;
|
||||
placement?: string;
|
||||
trigger?: string;
|
||||
html?: boolean;
|
||||
delay?: number | { show: number; hide: number; };
|
||||
container?: string | boolean;
|
||||
template?: string;
|
||||
timeFormat?: string;
|
||||
modelTimeFormat?: string;
|
||||
timeType?: string;
|
||||
autoclose?: boolean;
|
||||
useNative?: boolean;
|
||||
minTime?: Date; // TODO
|
||||
maxTime?: Date; // TODO
|
||||
length?: number;
|
||||
hourStep?: number;
|
||||
minuteStep?: number;
|
||||
secondStep?: number;
|
||||
roundDisplay?: boolean;
|
||||
iconUp?: string;
|
||||
iconDown?: string;
|
||||
arrowBehaviour?: string;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Button
|
||||
// see http://mgcrea.github.io/angular-strap/#/buttons
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// No definitions for this module
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Select
|
||||
// see http://mgcrea.github.io/angular-strap/#/selects
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module select {
|
||||
|
||||
interface ISelectService {
|
||||
(element: ng.IAugmentedJQuery, controller: any, config: ISelectOptions): ISelect;
|
||||
}
|
||||
|
||||
interface ISelectProvider {
|
||||
defaults: ISelectOptions;
|
||||
}
|
||||
|
||||
interface ISelect {
|
||||
update: (matches: any) => void;
|
||||
active: (index: number) => number;
|
||||
select: (index: number) => void;
|
||||
show: () => void;
|
||||
hide: () => void;
|
||||
}
|
||||
|
||||
interface ISelectOptions {
|
||||
animation?: string;
|
||||
placement?: string;
|
||||
trigger?: string;
|
||||
html?: boolean;
|
||||
delay?: number | { show: number; hide: number; };
|
||||
container?: string | boolean;
|
||||
template?: string;
|
||||
multiple?: boolean;
|
||||
allNoneButtons?: boolean;
|
||||
allText?: string;
|
||||
noneText?: string;
|
||||
maxLength?: number;
|
||||
maxLengthHtml?: string;
|
||||
sort?: boolean;
|
||||
placeholder?: string;
|
||||
iconCheckmark?: string;
|
||||
id?: string;
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Tabs
|
||||
// see http://mgcrea.github.io/angular-strap/#/tabs
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module tab {
|
||||
|
||||
interface ITabProvider {
|
||||
defaults: ITabOptions;
|
||||
}
|
||||
|
||||
interface ITabService {
|
||||
defaults: ITabOptions;
|
||||
controller: any;
|
||||
}
|
||||
|
||||
interface ITabOptions {
|
||||
animation?: string;
|
||||
template?: string;
|
||||
navClass?: string;
|
||||
activeClass?: string;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Collapses
|
||||
// see http://mgcrea.github.io/angular-strap/#/collapses
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module collapse {
|
||||
|
||||
interface ICollapseProvider {
|
||||
defaults: ICollapseOptions;
|
||||
}
|
||||
|
||||
interface ICollapseOptions {
|
||||
animation?: string;
|
||||
activeClass?: string;
|
||||
disallowToggle?: boolean;
|
||||
startCollapsed?: boolean;
|
||||
allowMultiple?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Dropdowsn
|
||||
// see http://mgcrea.github.io/angular-strap/#/dropdowns
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module dropdown {
|
||||
|
||||
interface IDropdownProvider {
|
||||
defaults: IDropdownOptions;
|
||||
}
|
||||
|
||||
interface IDropdownService {
|
||||
(element: ng.IAugmentedJQuery, config: IDropdownOptions): IDropdown;
|
||||
}
|
||||
|
||||
interface IDropdown {
|
||||
show: () => void;
|
||||
hide: () => void;
|
||||
destroy: () => void;
|
||||
}
|
||||
|
||||
interface IDropdownOptions {
|
||||
animation?: string;
|
||||
placement?: string;
|
||||
trigger?: string;
|
||||
html?: boolean;
|
||||
delay?: number | { show: number; hide: number; };
|
||||
container?: string | boolean;
|
||||
template?: string;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Navbar
|
||||
// see http://mgcrea.github.io/angular-strap/#/navbars
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module navbar {
|
||||
|
||||
interface INavbarProvider {
|
||||
defaults: INavbarOptions;
|
||||
}
|
||||
|
||||
interface INavbarOptions {
|
||||
activeClass?: string;
|
||||
routeAttr?: string;
|
||||
}
|
||||
|
||||
interface INavbarService {
|
||||
defaults: INavbarOptions;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Scrollspy
|
||||
// see http://mgcrea.github.io/angular-strap/#/scrollspy
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module scrollspy {
|
||||
|
||||
interface IScrollspyProvider {
|
||||
defaults: IScrollspyOptions;
|
||||
}
|
||||
|
||||
interface IScrollspyService {
|
||||
(element: ng.IAugmentedJQuery, options: IScrollspyOptions): IScrollspy;
|
||||
}
|
||||
|
||||
interface IScrollspy {
|
||||
checkOffsets: () => void;
|
||||
trackElement: (target: any, source: any) => void;
|
||||
untrackElement: (target: any, source: any) => void;
|
||||
activate: (index: number) => void;
|
||||
}
|
||||
|
||||
interface IScrollspyOptions {
|
||||
target?: string;
|
||||
offset?: number;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Affix
|
||||
// see http://mgcrea.github.io/angular-strap/#/affix
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
module affix {
|
||||
|
||||
interface IAffixProvider {
|
||||
defaults: IAffixOptions;
|
||||
}
|
||||
|
||||
interface IAffixService {
|
||||
(element: ng.IAugmentedJQuery, options: IAffixOptions): IAffix;
|
||||
}
|
||||
|
||||
interface IAffix {
|
||||
init: () => void;
|
||||
destroy: () => void;
|
||||
checkPositionWithEventLoop: () => void;
|
||||
checkPosition: () => void;
|
||||
}
|
||||
|
||||
interface IAffixOptions {
|
||||
offsetTop?: number;
|
||||
offsetBottom?: number;
|
||||
offsetParent?: number;
|
||||
offsetUnpin?: number;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -36,4 +36,9 @@ app.controller('Ctrl', ($scope: Scope, $translate: angular.translate.ITranslateS
|
||||
$scope['changeLanguage'] = function (key: any) {
|
||||
$translate.use(key);
|
||||
};
|
||||
}).run(($filter: ng.IFilterService) => {
|
||||
var x: string;
|
||||
x = $filter('translate')('something');
|
||||
x = $filter('translate')('something', {});
|
||||
x = $filter('translate')('something', {}, '');
|
||||
});
|
||||
|
||||
+11
-3
@@ -6,8 +6,8 @@
|
||||
/// <reference path="../angularjs/angular.d.ts" />
|
||||
|
||||
declare module "angular-translate" {
|
||||
var _: string;
|
||||
export = _;
|
||||
import ngt = angular.translate;
|
||||
export = ngt;
|
||||
}
|
||||
|
||||
declare module angular.translate {
|
||||
@@ -22,7 +22,7 @@ declare module angular.translate {
|
||||
|
||||
interface IStorage {
|
||||
get(name: string): string;
|
||||
set(name: string, value: string): void;
|
||||
put(name: string, value: string): void;
|
||||
}
|
||||
|
||||
interface IStaticFilesLoaderOptions {
|
||||
@@ -108,3 +108,11 @@ declare module angular.translate {
|
||||
useLoaderCache(cache?: any): ITranslateProvider;
|
||||
}
|
||||
}
|
||||
|
||||
declare module angular {
|
||||
interface IFilterService {
|
||||
(name:'translate'): {
|
||||
(translationId: string, interpolateParams?: any, interpolation?: string): string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -230,7 +230,7 @@ module UrlRouterProviderTests {
|
||||
// this allows you to configure custom behavior in between
|
||||
// location changes and route synchronization:
|
||||
$urlRouterProvider.deferIntercept();
|
||||
}).run(($rootScope: ng.IRootScopeService, $urlRouter: ng.ui.IUrlRouterService, UserService: ITestUserService) => {
|
||||
}).run(($rootScope: ng.IRootScopeService, $urlRouter: ng.ui.IUrlRouterService, UserService: ITestUserService, $urlMatcher: ng.ui.IUrlMatcher) => {
|
||||
$rootScope.$on('$locationChangeSuccess', e => {
|
||||
// UserService is an example service for managing user state
|
||||
if (UserService.isLoggedIn()) return;
|
||||
@@ -245,6 +245,18 @@ module UrlRouterProviderTests {
|
||||
});
|
||||
|
||||
// Configures $urlRouter's listener *after* your custom listener
|
||||
$urlRouter.listen();
|
||||
var listen: Function = $urlRouter.listen();
|
||||
|
||||
var href: string;
|
||||
href = $urlRouter.href($urlMatcher);
|
||||
href = $urlRouter.href($urlMatcher, {});
|
||||
href = $urlRouter.href($urlMatcher, {}, {});
|
||||
|
||||
$urlRouter.update();
|
||||
$urlRouter.update(false);
|
||||
|
||||
$urlRouter.push($urlMatcher);
|
||||
$urlRouter.push($urlMatcher, {});
|
||||
$urlRouter.push($urlMatcher, {}, {});
|
||||
});
|
||||
}
|
||||
|
||||
+24
-4
@@ -5,10 +5,27 @@
|
||||
|
||||
/// <reference path="../angularjs/angular.d.ts" />
|
||||
|
||||
// Support for AMD require
|
||||
// Support for AMD require and CommonJS
|
||||
declare module 'angular-ui-router' {
|
||||
var _: string;
|
||||
export = _;
|
||||
// Since angular-ui-router adds providers for a bunch of
|
||||
// injectable dependencies, it doesn't really return any
|
||||
// actual data except the plain string 'ui.router'.
|
||||
//
|
||||
// As such, I don't think anybody will ever use the actual
|
||||
// default value of the module. So I've only included the
|
||||
// the types. (@xogeny)
|
||||
export type IState = angular.ui.IState;
|
||||
export type IStateProvider = angular.ui.IStateProvider;
|
||||
export type IUrlMatcher = angular.ui.IUrlMatcher;
|
||||
export type IUrlRouterProvider = angular.ui.IUrlRouterProvider;
|
||||
export type IStateOptions = angular.ui.IStateOptions;
|
||||
export type IHrefOptions = angular.ui.IHrefOptions;
|
||||
export type IStateService = angular.ui.IStateService;
|
||||
export type IResolvedState = angular.ui.IResolvedState;
|
||||
export type IStateParamsService = angular.ui.IStateParamsService;
|
||||
export type IUrlRouterService = angular.ui.IUrlRouterService;
|
||||
export type IUiViewScrollProvider = angular.ui.IUiViewScrollProvider;
|
||||
export type IType = angular.ui.IType;
|
||||
}
|
||||
|
||||
declare module angular.ui {
|
||||
@@ -283,7 +300,10 @@ declare module angular.ui {
|
||||
*
|
||||
*/
|
||||
sync(): void;
|
||||
listen(): void;
|
||||
listen(): Function;
|
||||
href(urlMatcher: IUrlMatcher, params?: IStateParamsService, options?: IHrefOptions): string;
|
||||
update(read?: boolean): void;
|
||||
push(urlMatcher: IUrlMatcher, params?: IStateParamsService, options?: IHrefOptions): void;
|
||||
}
|
||||
|
||||
interface IUiViewScrollProvider {
|
||||
|
||||
@@ -11,3 +11,73 @@ var treeNode2: AngularUITree.ITreeNode = {
|
||||
nodes: [treeNode],
|
||||
title: "test2"
|
||||
};
|
||||
|
||||
// fake jquery node here so that we can pull a pretend
|
||||
// angular scope element out of it
|
||||
var dummyJQueryNode: ng.IAugmentedJQuery;
|
||||
var fakeScope: (ng.IScope | AngularUITree.IParentTreeNodeScope) = dummyJQueryNode.scope();
|
||||
|
||||
(<AngularUITree.ITreeNodeScope> fakeScope).node = treeNode;
|
||||
|
||||
var treeNodeScope: AngularUITree.ITreeNodeScope = <AngularUITree.ITreeNodeScope> fakeScope;
|
||||
|
||||
(<AngularUITree.IParentTreeNodeScope> fakeScope).isParent = (nodeScope: AngularUITree.ITreeNodeScope) => {
|
||||
return true;
|
||||
};
|
||||
|
||||
var parentTreeNodeScope: AngularUITree.IParentTreeNodeScope = <AngularUITree.IParentTreeNodeScope> fakeScope;
|
||||
|
||||
var eventSourceInfo: AngularUITree.IEventSourceInfo = {
|
||||
cloneModel: {},
|
||||
nodeScope: treeNodeScope,
|
||||
index: 0,
|
||||
nodesScope: parentTreeNodeScope
|
||||
};
|
||||
|
||||
var position: AngularUITree.IPosition = {
|
||||
dirAx: 0,
|
||||
dirX: 0,
|
||||
dirY: 0,
|
||||
distAxX: 0,
|
||||
distAxY: 0,
|
||||
distX: 0,
|
||||
distY: 0,
|
||||
lastDirX: 0,
|
||||
lastDirY: 0,
|
||||
lastX: 0,
|
||||
lastY: 0,
|
||||
moving: true,
|
||||
nowX: 0,
|
||||
nowY: 0,
|
||||
offsetX: 0,
|
||||
offsetY: 0,
|
||||
startX: 0,
|
||||
startY: 0
|
||||
|
||||
};
|
||||
|
||||
var eventInfo: AngularUITree.IEventInfo = {
|
||||
source: eventSourceInfo,
|
||||
dest: {
|
||||
index: 0,
|
||||
nodesScope: parentTreeNodeScope
|
||||
},
|
||||
elements: {},
|
||||
pos: position
|
||||
};
|
||||
|
||||
var acceptCallback: AngularUITree.IAcceptCallback = (source: AngularUITree.ITreeNodeScope,
|
||||
destination: AngularUITree.ITreeNodeScope,
|
||||
destinationIndex: number) => {
|
||||
return false;
|
||||
};
|
||||
|
||||
var droppedCallback: AngularUITree.IDroppedCallback = (eventInfo: AngularUITree.IEventInfo) => {
|
||||
return;
|
||||
};
|
||||
|
||||
var callbacks: AngularUITree.ICallbacks = {
|
||||
accept: acceptCallback,
|
||||
dragStart: droppedCallback,
|
||||
dropped: droppedCallback
|
||||
};
|
||||
|
||||
Vendored
+65
@@ -3,7 +3,72 @@
|
||||
// Definitions by: Calvin Fernandez <https://github.com/CalvinFernandez>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path='../angularjs/angular.d.ts' />
|
||||
|
||||
declare module AngularUITree {
|
||||
interface IEventSourceInfo {
|
||||
cloneModel: any;
|
||||
index: number;
|
||||
nodeScope: ITreeNodeScope;
|
||||
nodesScope: ITreeNodeScope;
|
||||
}
|
||||
|
||||
interface IPosition {
|
||||
dirAx: number;
|
||||
dirX: number;
|
||||
dirY: number;
|
||||
distAxX: number;
|
||||
distAxY: number;
|
||||
distX: number;
|
||||
distY: number;
|
||||
lastDirX: number;
|
||||
lastDirY: number;
|
||||
lastX: number;
|
||||
lastY: number;
|
||||
moving: boolean;
|
||||
nowX: number;
|
||||
nowY: number;
|
||||
offsetX: number;
|
||||
offsetY: number;
|
||||
startX: number;
|
||||
startY: number;
|
||||
}
|
||||
|
||||
interface IEventInfo {
|
||||
dest: {
|
||||
index: number;
|
||||
nodesScope: IParentTreeNodeScope;
|
||||
};
|
||||
elements: any;
|
||||
pos: IPosition;
|
||||
source: IEventSourceInfo;
|
||||
}
|
||||
|
||||
interface IAcceptCallback {
|
||||
(source: ITreeNodeScope, destination: ITreeNodeScope, destinationIndex: number): boolean;
|
||||
}
|
||||
|
||||
interface IDroppedCallback {
|
||||
(eventInfo: IEventInfo): void;
|
||||
}
|
||||
|
||||
interface ICallbacks {
|
||||
accept: IAcceptCallback;
|
||||
dragStart: IDroppedCallback;
|
||||
dropped: IDroppedCallback;
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal representation of node in the UI
|
||||
*/
|
||||
interface ITreeNodeScope extends ng.IScope {
|
||||
node: ITreeNode;
|
||||
}
|
||||
|
||||
interface IParentTreeNodeScope extends ITreeNodeScope {
|
||||
isParent(nodeScope: ITreeNodeScope): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Node in list
|
||||
*/
|
||||
|
||||
@@ -89,6 +89,9 @@ resource = resourceClass.save({ key: 'value' }, { key: 'value' }, function () {
|
||||
|
||||
var promise : angular.IPromise<IMyResource>;
|
||||
var arrayPromise : angular.IPromise<IMyResource[]>;
|
||||
var json: {
|
||||
[index: string]: any;
|
||||
};
|
||||
|
||||
promise = resource.$delete();
|
||||
promise = resource.$delete({ key: 'value' });
|
||||
@@ -127,6 +130,8 @@ promise = resource.$save(function () { });
|
||||
promise = resource.$save(function () { }, function () { });
|
||||
promise = resource.$save({ key: 'value' }, function () { }, function () { });
|
||||
|
||||
json = resource.toJSON();
|
||||
|
||||
///////////////////////////////////////
|
||||
// IResourceService
|
||||
///////////////////////////////////////
|
||||
|
||||
Vendored
+8
-1
@@ -5,6 +5,10 @@
|
||||
|
||||
/// <reference path="angular.d.ts" />
|
||||
|
||||
declare module 'angular-resource' {
|
||||
var _: string;
|
||||
export = _;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// ngResource module (angular-resource.js)
|
||||
@@ -136,12 +140,15 @@ declare module angular.resource {
|
||||
/** the promise of the original server interaction that created this instance. **/
|
||||
$promise : angular.IPromise<T>;
|
||||
$resolved : boolean;
|
||||
toJSON: () => {
|
||||
[index: string]: any;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Really just a regular Array object with $promise and $resolve attached to it
|
||||
*/
|
||||
interface IResourceArray<T> extends Array<T> {
|
||||
interface IResourceArray<T> extends Array<T & IResource<T>> {
|
||||
/** the promise of the original server interaction that created this collection. **/
|
||||
$promise : angular.IPromise<IResourceArray<T>>;
|
||||
$resolved : boolean;
|
||||
|
||||
Vendored
+16
@@ -35,6 +35,16 @@ declare module angular.route {
|
||||
// May not always be available. For instance, current will not be available
|
||||
// to a controller that was not initialized as a result of a route maching.
|
||||
current?: ICurrentRoute;
|
||||
|
||||
/**
|
||||
* Causes $route service to update the current URL, replacing current route parameters with those specified in newParams.
|
||||
* Provided property names that match the route's path segment definitions will be interpolated into the
|
||||
* location's path, while remaining properties will be treated as query params.
|
||||
*
|
||||
* @param newParams Object.<string, string> mapping of URL parameter names to values
|
||||
*/
|
||||
updateParams(newParams:{[key:string]:string}): void;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -118,6 +128,12 @@ declare module angular.route {
|
||||
}
|
||||
|
||||
interface IRouteProvider extends IServiceProvider {
|
||||
/**
|
||||
* Match routes without being case sensitive
|
||||
*
|
||||
* This option defaults to false. If the option is set to true, then the particular route can be matched without being case sensitive
|
||||
*/
|
||||
caseInsensitiveMatch?: boolean;
|
||||
/**
|
||||
* Sets route definition that will be used on route change when no other route definition is matched.
|
||||
*
|
||||
|
||||
Vendored
+36
@@ -165,6 +165,12 @@ declare module angular {
|
||||
dot: number;
|
||||
codeName: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap() is called.
|
||||
* @param extraModules An optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with.
|
||||
*/
|
||||
resumeBootstrap?(extraModules?: string[]): ng.auto.IInjectorService;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
@@ -175,6 +181,13 @@ declare module angular {
|
||||
animation(name: string, animationFactory: Function): IModule;
|
||||
animation(name: string, inlineAnnotatedFunction: any[]): IModule;
|
||||
animation(object: Object): IModule;
|
||||
/**
|
||||
* Use this method to register a component.
|
||||
*
|
||||
* @param name The name of the component.
|
||||
* @param options A definition object passed into the component.
|
||||
*/
|
||||
component(name: string, options: IComponentOptions): IModule;
|
||||
/**
|
||||
* Use this method to register work which needs to be performed on module loading.
|
||||
*
|
||||
@@ -1614,6 +1627,29 @@ declare module angular {
|
||||
totalPendingRequests: number;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Component
|
||||
// see http://angularjs.blogspot.com.br/2015/11/angularjs-15-beta2-and-14-releases.html
|
||||
// and http://toddmotto.com/exploring-the-angular-1-5-component-method/
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
interface IComponentOptions {
|
||||
bindings?: Object;
|
||||
controller?: string | Function;
|
||||
controllerAs?: string;
|
||||
isolate?: boolean;
|
||||
template?: string | IComponentTemplateFn;
|
||||
templateUrl?: string | IComponentTemplateFn;
|
||||
transclude?: boolean;
|
||||
restrict?: string;
|
||||
$canActivate?: Function;
|
||||
$routeConfig?: Object;
|
||||
}
|
||||
|
||||
interface IComponentTemplateFn {
|
||||
( $element?: IAugmentedJQuery, $attrs?: IAttributes ): string;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// Directive
|
||||
// see http://docs.angularjs.org/api/ng.$compileProvider#directive
|
||||
|
||||
Vendored
+2
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Angulartics v0.19.2
|
||||
// Type definitions for Angulartics v0.20.2
|
||||
// Project: http://luisfarzati.github.io/angulartics/
|
||||
// Definitions by: Steven Fan <https://github.com/stevenfan>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -21,6 +21,7 @@ declare module angulartics {
|
||||
|
||||
interface IAnalyticsServiceProvider extends angular.IServiceProvider {
|
||||
virtualPageviews(value: boolean): void;
|
||||
excludeRoutes(value: string[]): void;
|
||||
firstPageview(value: boolean): void;
|
||||
withBase(value: boolean): void;
|
||||
withAutoBase(value: boolean): void;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/// <reference path="api-error-handler.d.ts" />
|
||||
|
||||
import errorHandler = require('api-error-handler');
|
||||
import express = require('express');
|
||||
import * as errorHandler from 'api-error-handler';
|
||||
import * as express from 'express';
|
||||
|
||||
var api = express.Router();
|
||||
api.get('/users/:userid', function (req, res, next) {
|
||||
@@ -9,3 +9,5 @@ api.get('/users/:userid', function (req, res, next) {
|
||||
});
|
||||
|
||||
api.use(errorHandler());
|
||||
|
||||
let res: errorHandler.Response;
|
||||
|
||||
+17
-1
@@ -6,7 +6,23 @@
|
||||
/// <reference path="../express/express.d.ts" />
|
||||
|
||||
declare module 'api-error-handler' {
|
||||
import express = require('express');
|
||||
import * as express from 'express';
|
||||
|
||||
namespace apiErrorHandler {
|
||||
|
||||
// Body response: the JSON returned by api-error-handler
|
||||
// See https://github.com/expressjs/api-error-handler/blob/1.0.0/index.js
|
||||
interface Response {
|
||||
status: number;
|
||||
stack?: string;
|
||||
message: string;
|
||||
|
||||
// Client errors
|
||||
code?: any;
|
||||
name?: string;
|
||||
type?: any;
|
||||
}
|
||||
}
|
||||
|
||||
function apiErrorHandler(options?: any): express.ErrorRequestHandler;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
///<reference path='applicationinsights.d.ts' />
|
||||
import appInsights = require("applicationinsights");
|
||||
import * as appInsights from "applicationinsights";
|
||||
|
||||
// basic use
|
||||
appInsights.setup("<instrumentation_key>").start();
|
||||
@@ -24,3 +24,8 @@ appInsights.client.trackDependency("dependency name", "commandName", 500, true);
|
||||
appInsights.client.commonProperties = {
|
||||
environment: "dev"
|
||||
};
|
||||
|
||||
// send any pending data and log the response
|
||||
appInsights.client.sendPendingData(function (response) {
|
||||
console.log(response);
|
||||
});
|
||||
|
||||
+14
-22
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Application Insights v0.15.7
|
||||
// Type definitions for Application Insights v0.15.8
|
||||
// Project: https://github.com/Microsoft/ApplicationInsights-node.js
|
||||
// Definitions by: Scott Southwood <https://github.com/scsouthw/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
@@ -358,7 +358,7 @@ interface Client {
|
||||
/**
|
||||
* Immediately send all queued telemetry.
|
||||
*/
|
||||
sendPendingData(): void;
|
||||
sendPendingData(callback?: (response: string) => void): void;
|
||||
getEnvelope(data: ContractsModule.Data<ContractsModule.Domain>, tagOverrides?: {
|
||||
[key: string]: string;
|
||||
}): ContractsModule.Envelope;
|
||||
@@ -409,66 +409,58 @@ interface Sender {
|
||||
* The singleton meta interface for the default client of the client. This interface is used to setup/start and configure
|
||||
* the auto-collection behavior of the application insights module.
|
||||
*/
|
||||
declare class ApplicationInsights {
|
||||
static client: Client;
|
||||
private static _isConsole;
|
||||
private static _isExceptions;
|
||||
private static _isPerformance;
|
||||
private static _isRequests;
|
||||
private static _console;
|
||||
private static _exceptions;
|
||||
private static _performance;
|
||||
private static _requests;
|
||||
private static _isStarted;
|
||||
interface ApplicationInsights {
|
||||
client: Client;
|
||||
/**
|
||||
* Initializes a client with the given instrumentation key, if this is not specified, the value will be
|
||||
* read from the environment variable APPINSIGHTS_INSTRUMENTATIONKEY
|
||||
* @returns {ApplicationInsights/Client} a new client
|
||||
*/
|
||||
static getClient(instrumentationKey?: string): Client;
|
||||
getClient(instrumentationKey?: string): Client;
|
||||
/**
|
||||
* Initializes the default client of the client and sets the default configuration
|
||||
* @param instrumentationKey the instrumentation key to use. Optional, if this is not specified, the value will be
|
||||
* read from the environment variable APPINSIGHTS_INSTRUMENTATIONKEY
|
||||
* @returns {ApplicationInsights} this interface
|
||||
*/
|
||||
static setup(instrumentationKey?: string): typeof ApplicationInsights;
|
||||
setup(instrumentationKey?: string): ApplicationInsights;
|
||||
/**
|
||||
* Starts automatic collection of telemetry. Prior to calling start no telemetry will be collected
|
||||
* @returns {ApplicationInsights} this interface
|
||||
*/
|
||||
static start(): typeof ApplicationInsights;
|
||||
start(): ApplicationInsights;
|
||||
/**
|
||||
* Sets the state of console tracking (enabled by default)
|
||||
* @param value if true console activity will be sent to Application Insights
|
||||
* @returns {ApplicationInsights} this interface
|
||||
*/
|
||||
static setAutoCollectConsole(value: boolean): typeof ApplicationInsights;
|
||||
setAutoCollectConsole(value: boolean): ApplicationInsights;
|
||||
/**
|
||||
* Sets the state of exception tracking (enabled by default)
|
||||
* @param value if true uncaught exceptions will be sent to Application Insights
|
||||
* @returns {ApplicationInsights} this interface
|
||||
*/
|
||||
static setAutoCollectExceptions(value: boolean): typeof ApplicationInsights;
|
||||
setAutoCollectExceptions(value: boolean): ApplicationInsights;
|
||||
/**
|
||||
* Sets the state of performance tracking (enabled by default)
|
||||
* @param value if true performance counters will be collected every second and sent to Application Insights
|
||||
* @returns {ApplicationInsights} this interface
|
||||
*/
|
||||
static setAutoCollectPerformance(value: boolean): typeof ApplicationInsights;
|
||||
setAutoCollectPerformance(value: boolean): ApplicationInsights;
|
||||
/**
|
||||
* Sets the state of request tracking (enabled by default)
|
||||
* @param value if true requests will be sent to Application Insights
|
||||
* @returns {ApplicationInsights} this interface
|
||||
*/
|
||||
static setAutoCollectRequests(value: boolean): typeof ApplicationInsights;
|
||||
setAutoCollectRequests(value: boolean): ApplicationInsights;
|
||||
/**
|
||||
* Enables verbose debug logging
|
||||
* @returns {ApplicationInsights} this interface
|
||||
*/
|
||||
static enableVerboseLogging(): typeof ApplicationInsights;
|
||||
enableVerboseLogging(): ApplicationInsights;
|
||||
}
|
||||
|
||||
declare module "applicationinsights" {
|
||||
export = ApplicationInsights;
|
||||
const applicationinsights: ApplicationInsights;
|
||||
export = applicationinsights;
|
||||
}
|
||||
Vendored
+440
-241
File diff suppressed because it is too large
Load Diff
Vendored
+2
@@ -72,6 +72,8 @@ interface Auth0LockStatic {
|
||||
|
||||
hide(callback: () => void): void;
|
||||
logout(callback: () => void): void;
|
||||
|
||||
getClient(): Auth0Static;
|
||||
}
|
||||
|
||||
declare var Auth0Lock: Auth0LockStatic;
|
||||
|
||||
Vendored
+2
@@ -51,6 +51,8 @@ interface Auth0UserProfile {
|
||||
user_id: string;
|
||||
/** Represents one or more Identities that may be associated with the User. */
|
||||
identities: Auth0Identity[];
|
||||
user_metadata?: any;
|
||||
app_metadata?: any;
|
||||
}
|
||||
|
||||
/** Represents an Auth0UserProfile that has a Microsoft Account as the primary identity. */
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
--noImplicitAny --module commonjs --target es5
|
||||
Vendored
+6
@@ -154,6 +154,12 @@ declare module "aws-sdk" {
|
||||
constructor(options?: any);
|
||||
}
|
||||
|
||||
export module DynamoDB {
|
||||
export class DocumentClient {
|
||||
constructor(options?: any);
|
||||
}
|
||||
}
|
||||
|
||||
export module SQS {
|
||||
|
||||
export interface SqsOptions {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/// <reference path="babylon.d.ts" />
|
||||
Vendored
+6327
File diff suppressed because it is too large
Load Diff
+10
-9
@@ -35,15 +35,15 @@ declare module Backbone {
|
||||
|
||||
toJSON():any;
|
||||
|
||||
setup();
|
||||
static setup();
|
||||
|
||||
build(attributes:any, options?:any);
|
||||
static build(attributes:any, options?:any);
|
||||
|
||||
findOrCreate(attributes:string, options?:any);
|
||||
static findOrCreate(attributes:string, options?:any);
|
||||
|
||||
findOrCreate(attributes:number, options?:any);
|
||||
static findOrCreate(attributes:number, options?:any);
|
||||
|
||||
findOrCreate(attributes:any, options?:any);
|
||||
static findOrCreate(attributes:any, options?:any);
|
||||
}
|
||||
|
||||
export class Relation extends Model {
|
||||
@@ -147,13 +147,13 @@ declare module Backbone {
|
||||
|
||||
resolveIdForItem(type:any, item:any):any;
|
||||
|
||||
find(type:any, item:string):RelationalModel;
|
||||
static find(type:any, item:string):RelationalModel;
|
||||
|
||||
find(type:any, item:number):RelationalModel;
|
||||
static find(type:any, item:number):RelationalModel;
|
||||
|
||||
find(type:any, item:RelationalModel):RelationalModel;
|
||||
static find(type:any, item:RelationalModel):RelationalModel;
|
||||
|
||||
find(type:any, item:any):RelationalModel;
|
||||
static find(type:any, item:any):RelationalModel;
|
||||
|
||||
register(model:RelationalModel):void;
|
||||
|
||||
@@ -169,3 +169,4 @@ declare module Backbone {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
/// <reference path="./backbone.localstorage.d.ts" />
|
||||
|
||||
var store: Store = new Store('testStore');
|
||||
store.findAll();
|
||||
|
||||
store.save();
|
||||
@@ -0,0 +1,51 @@
|
||||
// Type definitions for backbone.localStorage 1.0.0
|
||||
// Project: https://github.com/jeromegn/Backbone.localStorage
|
||||
// Definitions by: Louis Grignon <https://github.com/lgrignon/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../backbone/backbone.d.ts" />
|
||||
|
||||
declare module Backbone {
|
||||
interface Serializer {
|
||||
serialize(item: any): any;
|
||||
deserialize(data: any): any;
|
||||
}
|
||||
|
||||
class LocalStorage {
|
||||
name: string;
|
||||
serializer: Serializer;
|
||||
records: string[];
|
||||
|
||||
constructor(name: string, serializer?: Serializer);
|
||||
|
||||
save(): void;
|
||||
|
||||
// Add a model, giving it a (hopefully)-unique GUID, if it doesn't already
|
||||
// have an id of it's own.
|
||||
create(model: any): any;
|
||||
|
||||
// Update a model by replacing its copy in `this.data`.
|
||||
update(model: any): any;
|
||||
|
||||
// Retrieve a model from `this.data` by id.
|
||||
find(model: any): any;
|
||||
|
||||
// Return the array of all models currently in storage.
|
||||
findAll(): any;
|
||||
|
||||
// Delete a model from `this.data`, returning it.
|
||||
destroy<T>(model: T): T;
|
||||
|
||||
localStorage(): any;
|
||||
|
||||
// Clear localStorage for specific collection.
|
||||
_clear(): void;
|
||||
|
||||
_storageSize(): number;
|
||||
|
||||
_itemName(id: any): string;
|
||||
}
|
||||
}
|
||||
|
||||
import Store = Backbone.LocalStorage;
|
||||
|
||||
Vendored
+1
@@ -43,6 +43,7 @@ declare module Backbone {
|
||||
|
||||
interface PersistenceOptions {
|
||||
url?: string;
|
||||
data?: any;
|
||||
beforeSend?: (jqxhr: JQueryXHR) => void;
|
||||
success?: (modelOrCollection?: any, response?: any, options?: any) => void;
|
||||
error?: (modelOrCollection?: any, jqxhr?: JQueryXHR, options?: any) => void;
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/// <reference path="bcrypt-nodejs.d.ts" />
|
||||
|
||||
import bCrypt = require("bcrypt-nodejs");
|
||||
|
||||
function test_sync() {
|
||||
var salt1 = bCrypt.genSaltSync();
|
||||
var salt2 = bCrypt.genSaltSync(8);
|
||||
|
||||
var hash1 = bCrypt.hashSync('super secret');
|
||||
var hash2 = bCrypt.hashSync('super secret', salt1);
|
||||
|
||||
var compare1 = bCrypt.compareSync('super secret', hash1);
|
||||
|
||||
var rounds1 = bCrypt.getRounds(hash2);
|
||||
}
|
||||
|
||||
function test_async() {
|
||||
var cbString = (error: Error, result: string) => {};
|
||||
var cbVoid = () => {};
|
||||
var cbBoolean = (error: Error, result: boolean) => {};
|
||||
|
||||
bCrypt.genSalt(8, cbString);
|
||||
|
||||
var salt = bCrypt.genSaltSync();
|
||||
bCrypt.hash('super secret', salt, cbString);
|
||||
bCrypt.hash('super secret', salt, cbVoid, cbString);
|
||||
|
||||
var hash = bCrypt.hashSync('super secret');
|
||||
bCrypt.compare('super secret', hash, cbBoolean);
|
||||
}
|
||||
Vendored
+68
@@ -0,0 +1,68 @@
|
||||
// Type definitions for bcrypt-nodejs
|
||||
// Project: https://github.com/shaneGirish/bcrypt-nodejs
|
||||
// Definitions by: David Broder-Rodgers <https://github.com/DavidBR-SW/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "bcrypt-nodejs" {
|
||||
/**
|
||||
* Generate a salt synchronously
|
||||
* @param rounds Number of rounds to process the data for (default - 10)
|
||||
* @return Generated salt
|
||||
*/
|
||||
export function genSaltSync(rounds?: number): string;
|
||||
|
||||
/**
|
||||
* Generate a salt asynchronously
|
||||
* @param rounds Number of rounds to process the data for (default - 10)
|
||||
* @param callback Callback with error and resulting salt, to be fired once the salt has been generated
|
||||
*/
|
||||
export function genSalt(rounds: number, callback: (error: Error, result: string) => void): void;
|
||||
|
||||
/**
|
||||
* Generate a hash synchronously
|
||||
* @param data Data to be encrypted
|
||||
* @param salt Salt to be used in encryption (default - new salt generated with 10 rounds)
|
||||
* @return Generated hash
|
||||
*/
|
||||
export function hashSync(data: string, salt?: string): string;
|
||||
|
||||
/**
|
||||
* Generate a hash asynchronously
|
||||
* @param data Data to be encrypted
|
||||
* @param salt Salt to be used in encryption
|
||||
* @param callback Callback with error and hashed result, to be fired once the data has been encrypted
|
||||
*/
|
||||
export function hash(data: string, salt: string, callback: (error: Error, result: string) => void): void;
|
||||
|
||||
/**
|
||||
* Generate a hash asynchronously
|
||||
* @param data Data to be encrypted
|
||||
* @param salt Salt to be used in encryption
|
||||
* @param progressCallback Callback to be fired multiple times during the hash calculation to signify progress
|
||||
* @param callback Callback with error and hashed result, to be fired once the data has been encrypted
|
||||
*/
|
||||
export function hash(data: string, salt: string, progressCallback: () => void, callback: (error: Error, result: string) => void): void;
|
||||
|
||||
/**
|
||||
* Compares data with a hash synchronously
|
||||
* @param data Data to be compared
|
||||
* @param hash Hash to be compared to
|
||||
* @return true if matching, false otherwise
|
||||
*/
|
||||
export function compareSync(data: string, hash: string): boolean;
|
||||
|
||||
/**
|
||||
* Compares data with a hash asynchronously
|
||||
* @param data Data to be compared
|
||||
* @param hash Hash to be compared to
|
||||
* @param callback Callback with error and match result, to be fired once the data has been compared
|
||||
*/
|
||||
export function compare(data: string, hash: string, callback: (error: Error, result: boolean) => void): void;
|
||||
|
||||
/**
|
||||
* Get number of rounds used for hash
|
||||
* @param hash Hash from which the number of rounds used should be extracted
|
||||
* @return number of rounds used to encrypt a given hash
|
||||
*/
|
||||
export function getRounds(hash: string): number;
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/// <reference path="./bcryptjs.d.ts"/>
|
||||
|
||||
import bcryptjs = require("bcryptjs");
|
||||
|
||||
let str: string;
|
||||
let num: number;
|
||||
let bool: boolean;
|
||||
|
||||
str = bcryptjs.genSaltSync();
|
||||
str = bcryptjs.genSaltSync(10);
|
||||
|
||||
bcryptjs.genSalt((err: Error, salt: string) => {
|
||||
str = salt;
|
||||
});
|
||||
bcryptjs.genSalt(10, (err: Error, salt: string) => {
|
||||
str = salt;
|
||||
});
|
||||
|
||||
str = bcryptjs.hashSync("string");
|
||||
str = bcryptjs.hashSync("string", 10);
|
||||
str = bcryptjs.hashSync("string", "salt");
|
||||
|
||||
bcryptjs.hash("string", 10, (err: Error, hash: string) => {
|
||||
str = hash;
|
||||
});
|
||||
bcryptjs.hash("string", 10, (err: Error, hash: string) => {
|
||||
str = hash;
|
||||
}, (percent: number) => {
|
||||
num = percent;
|
||||
});
|
||||
|
||||
bcryptjs.hash("string", "salt", (err: Error, hash: string) => {
|
||||
str = hash;
|
||||
});
|
||||
bcryptjs.hash("string", "salt", (err: Error, hash: string) => {
|
||||
str = hash;
|
||||
}, (percent: number) => {
|
||||
num = percent;
|
||||
});
|
||||
|
||||
bool = bcryptjs.compareSync("string1", "string2");
|
||||
|
||||
bcryptjs.compare("string1", "string2", (err: Error, success: boolean) => {
|
||||
bool = success;
|
||||
});
|
||||
bcryptjs.compare("string1", "string2", (err: Error, success: boolean) => {
|
||||
bool = success;
|
||||
}, (percent: number) => {
|
||||
num = percent;
|
||||
});
|
||||
|
||||
num = bcryptjs.getRounds("string");
|
||||
|
||||
str = bcryptjs.getSalt("string");
|
||||
Vendored
+82
@@ -0,0 +1,82 @@
|
||||
// Type definitions for bcryptjs v2.3.0
|
||||
// Project: https://github.com/dcodeIO/bcrypt.js
|
||||
// Definitions by: Joshua Filby <https://github.com/Joshua-F/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module "bcryptjs" {
|
||||
|
||||
/**
|
||||
* Sets the pseudo random number generator to use as a fallback if neither node's crypto module nor the Web Crypto API is available.
|
||||
* Please note: It is highly important that the PRNG used is cryptographically secure and that it is seeded properly!
|
||||
* @param random Function taking the number of bytes to generate as its sole argument, returning the corresponding array of cryptographically secure random byte values.
|
||||
*/
|
||||
export function setRandomFallback(random: (random: number) => number[]): void;
|
||||
|
||||
/**
|
||||
* Synchronously generates a salt.
|
||||
* @param rounds Number of rounds to use, defaults to 10 if omitted
|
||||
* @return Resulting salt
|
||||
*/
|
||||
export function genSaltSync(rounds?: number): string;
|
||||
|
||||
/**
|
||||
* Asynchronously generates a salt.
|
||||
* @param callback Callback receiving the error, if any, and the resulting salt
|
||||
*/
|
||||
export function genSalt(callback: (err: Error, salt: string) => void): void;
|
||||
|
||||
/**
|
||||
* Asynchronously generates a salt.
|
||||
* @param rounds Number of rounds to use, defaults to 10 if omitted
|
||||
* @param callback Callback receiving the error, if any, and the resulting salt
|
||||
*/
|
||||
export function genSalt(rounds: number, callback: (err: Error, salt: string) => void): void;
|
||||
|
||||
/**
|
||||
* Synchronously generates a hash for the given string.
|
||||
* @param s String to hash
|
||||
* @param salt Salt length to generate or salt to use, default to 10
|
||||
* @return Resulting hash
|
||||
*/
|
||||
export function hashSync(s: string, salt?: number | string): string;
|
||||
|
||||
/**
|
||||
* Asynchronously generates a hash for the given string.
|
||||
* @param s String to hash
|
||||
* @param salt Salt length to generate or salt to use
|
||||
* @param callback Callback receiving the error, if any, and the resulting hash
|
||||
* @param progressCallback Callback successively called with the percentage of rounds completed (0.0 - 1.0), maximally once per MAX_EXECUTION_TIME = 100 ms.
|
||||
*/
|
||||
export function hash(s: string, salt: number | string, callback: (err: Error, hash: string) => void, progressCallback?: (percent: number) => void): void;
|
||||
|
||||
/**
|
||||
* Synchronously tests a string against a hash.
|
||||
* @param s String to compare
|
||||
* @param hash Hash to test against
|
||||
* @return true if matching, otherwise false
|
||||
*/
|
||||
export function compareSync(s: string, hash: string): boolean;
|
||||
|
||||
/**
|
||||
* Asynchronously compares the given data against the given hash.
|
||||
* @param s Data to compare
|
||||
* @param hash Data to be compared to
|
||||
* @param callback Callback receiving the error, if any, otherwise the result
|
||||
* @param progressCallback Callback successively called with the percentage of rounds completed (0.0 - 1.0), maximally once per MAX_EXECUTION_TIME = 100 ms.
|
||||
*/
|
||||
export function compare(s: string, hash: string, callback: (err: Error, success: boolean) => void, progressCallback?: (percent: number) => void): void;
|
||||
|
||||
/**
|
||||
* Gets the number of rounds used to encrypt the specified hash.
|
||||
* @param hash Hash to extract the used number of rounds from
|
||||
* @return Number of rounds used
|
||||
*/
|
||||
export function getRounds(hash: string): number;
|
||||
|
||||
/**
|
||||
* Gets the salt portion from a hash. Does not validate the hash.
|
||||
* @param hash Hash to extract the salt from
|
||||
* @return Extracted salt part
|
||||
*/
|
||||
export function getSalt(hash: string): string;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/// <reference path="bezier-easing.d.ts" />
|
||||
|
||||
function test_create_from_array() {
|
||||
let easing: BezierEasing = BezierEasing([0, 0, 1, 0.5]);
|
||||
}
|
||||
|
||||
function test_create_from_params() {
|
||||
let easing: BezierEasing = BezierEasing(0, 0, 1, 0.5);
|
||||
}
|
||||
|
||||
function test_create_from_builtins() {
|
||||
let easing: BezierEasing = BezierEasing.css['ease-in'];
|
||||
}
|
||||
|
||||
function test_methods() {
|
||||
let easing: BezierEasing = BezierEasing.css['ease-in'];
|
||||
let easedRatio: number = easing.get(0.5);
|
||||
let points: Array<number> = easing.getPoints();
|
||||
let stringified: string = easing.toString();
|
||||
let asCSS: string = easing.toCSS();
|
||||
}
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
// Type definitions for bezier-easing
|
||||
// Project: https://github.com/gre/bezier-easing
|
||||
// Definitions by: brian ridley <https://github.com/ptlis/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare interface BezierEasing {
|
||||
get(ratio: number): number;
|
||||
getPoints(): Array<number>;
|
||||
toString(): string;
|
||||
toCSS(): string;
|
||||
}
|
||||
|
||||
declare function BezierEasing(points: Array<number>): BezierEasing;
|
||||
declare function BezierEasing(a: number, b: number, c: number, d: number): BezierEasing;
|
||||
|
||||
declare namespace BezierEasing {
|
||||
let css: {
|
||||
'ease': BezierEasing,
|
||||
'linear': BezierEasing,
|
||||
'ease-in': BezierEasing,
|
||||
'ease-out': BezierEasing,
|
||||
'ease-in-out': BezierEasing
|
||||
};
|
||||
}
|
||||
Vendored
+5
@@ -200,4 +200,9 @@ declare module BigJsLibrary {
|
||||
}
|
||||
}
|
||||
|
||||
declare module "big.js" {
|
||||
var bigjs : BigJsLibrary.BigJS;
|
||||
export = bigjs;
|
||||
}
|
||||
|
||||
declare var Big: BigJsLibrary.BigJS;
|
||||
|
||||
@@ -0,0 +1,170 @@
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference path="../bluebird/bluebird.d.ts" />
|
||||
/// <reference path="blue-tape.d.ts" />
|
||||
|
||||
import tape = require('blue-tape');
|
||||
import P = require('bluebird');
|
||||
|
||||
var name: string;
|
||||
var cb: tape.TestCase;
|
||||
var opts: tape.TestOptions;
|
||||
var t: tape.Test;
|
||||
|
||||
tape(cb);
|
||||
tape(name, cb);
|
||||
tape(opts, cb);
|
||||
tape(name, opts, cb);
|
||||
|
||||
tape(name, (test: tape.Test) => {
|
||||
t = test;
|
||||
});
|
||||
|
||||
tape.skip(name, cb);
|
||||
tape.only(name, cb);
|
||||
|
||||
|
||||
var sopts: tape.StreamOptions;
|
||||
var rs: NodeJS.ReadableStream;
|
||||
rs = tape.createStream();
|
||||
rs = tape.createStream(sopts);
|
||||
|
||||
|
||||
var htest: typeof tape;
|
||||
htest = tape.createHarness();
|
||||
|
||||
|
||||
tape(name, (test: tape.Test) => {
|
||||
var num: number;
|
||||
var ms: number;
|
||||
var value: any;
|
||||
var actual: any;
|
||||
var expected: any;
|
||||
var err: any;
|
||||
var fn = function() {};
|
||||
var msg: string;
|
||||
|
||||
var exceptionExpected: RegExp | (() => void);
|
||||
|
||||
test.plan(num);
|
||||
test.end();
|
||||
test.end(err);
|
||||
|
||||
test.fail(msg);
|
||||
test.pass(msg);
|
||||
test.timeoutAfter(ms);
|
||||
test.skip(msg);
|
||||
|
||||
test.ok(value);
|
||||
test.ok(value, msg);
|
||||
test.true(value);
|
||||
test.true(value, msg);
|
||||
test.assert(value);
|
||||
test.assert(value, msg);
|
||||
|
||||
test.notOk(value);
|
||||
test.notOk(value, msg);
|
||||
test.false(value);
|
||||
test.false(value, msg);
|
||||
test.notok(value);
|
||||
test.notok(value, msg);
|
||||
|
||||
test.error(err, msg);
|
||||
test.ifError(err, msg);
|
||||
test.ifErr(err, msg);
|
||||
test.iferror(err, msg);
|
||||
|
||||
test.equal(actual, expected);
|
||||
test.equal(actual, expected, msg);
|
||||
test.equals(actual, expected);
|
||||
test.equals(actual, expected, msg);
|
||||
test.isEqual(actual, expected);
|
||||
test.isEqual(actual, expected, msg);
|
||||
test.is(actual, expected);
|
||||
test.is(actual, expected, msg);
|
||||
test.strictEqual(actual, expected);
|
||||
test.strictEqual(actual, expected, msg);
|
||||
test.strictEquals(actual, expected);
|
||||
test.strictEquals(actual, expected, msg);
|
||||
|
||||
test.notEqual(actual, expected);
|
||||
test.notEqual(actual, expected, msg);
|
||||
test.notEquals(actual, expected);
|
||||
test.notEquals(actual, expected, msg);
|
||||
test.notStrictEqual(actual, expected);
|
||||
test.notStrictEqual(actual, expected, msg);
|
||||
test.notStrictEquals(actual, expected);
|
||||
test.notStrictEquals(actual, expected, msg);
|
||||
test.isNotEqual(actual, expected);
|
||||
test.isNotEqual(actual, expected, msg);
|
||||
test.isNot(actual, expected);
|
||||
test.isNot(actual, expected, msg);
|
||||
test.not(actual, expected);
|
||||
test.not(actual, expected, msg);
|
||||
test.doesNotEqual(actual, expected);
|
||||
test.doesNotEqual(actual, expected, msg);
|
||||
test.isInequal(actual, expected);
|
||||
test.isInequal(actual, expected, msg);
|
||||
|
||||
test.deepEqual(actual, expected);
|
||||
test.deepEqual(actual, expected, msg);
|
||||
test.deepEquals(actual, expected);
|
||||
test.deepEquals(actual, expected, msg);
|
||||
test.isEquivalent(actual, expected);
|
||||
test.isEquivalent(actual, expected, msg);
|
||||
test.same(actual, expected);
|
||||
test.same(actual, expected, msg);
|
||||
|
||||
test.notDeepEqual(actual, expected);
|
||||
test.notDeepEqual(actual, expected, msg);
|
||||
test.notEquivalent(actual, expected);
|
||||
test.notEquivalent(actual, expected, msg);
|
||||
test.notDeeply(actual, expected);
|
||||
test.notDeeply(actual, expected, msg);
|
||||
test.notSame(actual, expected);
|
||||
test.notSame(actual, expected, msg);
|
||||
test.isNotDeepEqual(actual, expected);
|
||||
test.isNotDeepEqual(actual, expected, msg);
|
||||
test.isNotDeeply(actual, expected);
|
||||
test.isNotDeeply(actual, expected, msg);
|
||||
test.isNotEquivalent(actual, expected);
|
||||
test.isNotEquivalent(actual, expected, msg);
|
||||
test.isInequivalent(actual, expected);
|
||||
test.isInequivalent(actual, expected, msg);
|
||||
|
||||
test.deepLooseEqual(actual, expected);
|
||||
test.deepLooseEqual(actual, expected, msg);
|
||||
test.looseEqual(actual, expected);
|
||||
test.looseEqual(actual, expected, msg);
|
||||
test.looseEquals(actual, expected);
|
||||
test.looseEquals(actual, expected, msg);
|
||||
|
||||
test.notDeepLooseEqual(actual, expected);
|
||||
test.notDeepLooseEqual(actual, expected, msg);
|
||||
test.notLooseEqual(actual, expected);
|
||||
test.notLooseEqual(actual, expected, msg);
|
||||
test.notLooseEquals(actual, expected);
|
||||
test.notLooseEquals(actual, expected, msg);
|
||||
|
||||
test.throws(fn);
|
||||
test.throws(fn, msg);
|
||||
test.throws(fn, exceptionExpected);
|
||||
test.throws(fn, exceptionExpected, msg);
|
||||
|
||||
test.doesNotThrow(fn);
|
||||
test.doesNotThrow(fn, msg);
|
||||
test.doesNotThrow(fn, exceptionExpected);
|
||||
test.doesNotThrow(fn, exceptionExpected, msg);
|
||||
|
||||
test.test(name, (st) => {
|
||||
t = st;
|
||||
});
|
||||
|
||||
test.comment(msg);
|
||||
});
|
||||
|
||||
tape('simple delay', (test) => P.delay(1));
|
||||
|
||||
tape('nested tests with promises', function(test) {
|
||||
test.test('delay1', () => P.delay(1) );
|
||||
test.test('delay2', () => P.delay(1) );
|
||||
});
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
// Type definitions for blue-tape v0.1.11
|
||||
// Project: https://github.com/spion/blue-tape
|
||||
// Definitions by: Haoqun Jiang <https://github.com/sodatea>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference path="../tape/tape.d.ts" />
|
||||
|
||||
declare module 'blue-tape' {
|
||||
import tape = require('tape');
|
||||
export = tape;
|
||||
}
|
||||
Vendored
+1
-1
@@ -394,7 +394,7 @@ declare class Promise<R> implements Promise.Thenable<R> {
|
||||
* Note that the original methods on the object are not overwritten but new methods are created with the `Async`-postfix. For example, if you `promisifyAll()` the node.js `fs` object use `fs.statAsync()` to call the promisified `stat` method.
|
||||
*/
|
||||
// TODO how to model promisifyAll?
|
||||
static promisifyAll(target: Object): Object;
|
||||
static promisifyAll(target: Object): any;
|
||||
|
||||
/**
|
||||
* Returns a function that can use `yield` to run asynchronous code synchronously. This feature requires the support of generators which are drafted in the next version of the language. Node version greater than `0.11.2` is required and needs to be executed with the `--harmony-generators` (or `--harmony`) command-line switch.
|
||||
|
||||
+118
-26
@@ -85,15 +85,15 @@ var bazProm: Promise<Baz>;
|
||||
|
||||
// - - - - - - - - - - - - - - - - -
|
||||
|
||||
var numThen: Promise.Thenable<number>;
|
||||
var strThen: Promise.Thenable<string>;
|
||||
var anyThen: Promise.Thenable<any>;
|
||||
var boolThen: Promise.Thenable<boolean>;
|
||||
var objThen: Promise.Thenable<Object>;
|
||||
var voidThen: Promise.Thenable<void>;
|
||||
var numThen: PromiseLike<number>;
|
||||
var strThen: PromiseLike<string>;
|
||||
var anyThen: PromiseLike<any>;
|
||||
var boolThen: PromiseLike<boolean>;
|
||||
var objThen: PromiseLike<Object>;
|
||||
var voidThen: PromiseLike<void>;
|
||||
|
||||
var fooThen: Promise.Thenable<Foo>;
|
||||
var barThen: Promise.Thenable<Bar>;
|
||||
var fooThen: PromiseLike<Foo>;
|
||||
var barThen: PromiseLike<Bar>;
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
@@ -106,12 +106,12 @@ var barArrProm: Promise<Bar[]>;
|
||||
|
||||
// - - - - - - - - - - - - - - - - -
|
||||
|
||||
var numArrThen: Promise.Thenable<number[]>;
|
||||
var strArrThen: Promise.Thenable<string[]>;
|
||||
var anyArrThen: Promise.Thenable<any[]>;
|
||||
var numArrThen: PromiseLike<number[]>;
|
||||
var strArrThen: PromiseLike<string[]>;
|
||||
var anyArrThen: PromiseLike<any[]>;
|
||||
|
||||
var fooArrThen: Promise.Thenable<Foo[]>;
|
||||
var barArrThen: Promise.Thenable<Bar[]>;
|
||||
var fooArrThen: PromiseLike<Foo[]>;
|
||||
var barArrThen: PromiseLike<Bar[]>;
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
@@ -124,18 +124,18 @@ var barPromArr: Promise<Bar>[];
|
||||
|
||||
// - - - - - - - - - - - - - - - - -
|
||||
|
||||
var numThenArr: Promise.Thenable<number>[];
|
||||
var strThenArr: Promise.Thenable<string>[];
|
||||
var anyThenArr: Promise.Thenable<any>[];
|
||||
var numThenArr: PromiseLike<number>[];
|
||||
var strThenArr: PromiseLike<string>[];
|
||||
var anyThenArr: PromiseLike<any>[];
|
||||
|
||||
var fooThenArr: Promise.Thenable<Foo>[];
|
||||
var barThenArr: Promise.Thenable<Bar>[];
|
||||
var fooThenArr: PromiseLike<Foo>[];
|
||||
var barThenArr: PromiseLike<Bar>[];
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// booya!
|
||||
var fooThenArrThen: Promise.Thenable<Promise.Thenable<Foo>[]>;
|
||||
var barThenArrThen: Promise.Thenable<Promise.Thenable<Bar>[]>;
|
||||
var fooThenArrThen: PromiseLike<PromiseLike<Foo>[]>;
|
||||
var barThenArrThen: PromiseLike<PromiseLike<Bar>[]>;
|
||||
|
||||
var fooResolver: Promise.Resolver<Foo>;
|
||||
var barResolver: Promise.Resolver<Bar>;
|
||||
@@ -607,19 +607,19 @@ Promise.all([fooProm, barProm, fooProm]).then(result => {
|
||||
|
||||
//TODO fix collection inference
|
||||
|
||||
barArrProm = fooProm.map<Foo, Bar>((item: Foo, index: number, arrayLength: number) => {
|
||||
barArrProm = fooArrProm.map<Foo, Bar>((item: Foo, index: number, arrayLength: number) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = fooProm.map<Foo, Bar>((item: Foo) => {
|
||||
barArrProm = fooArrProm.map<Foo, Bar>((item: Foo) => {
|
||||
return bar;
|
||||
});
|
||||
|
||||
barArrProm = fooProm.map<Foo, Bar>((item: Foo, index: number, arrayLength: number) => {
|
||||
barArrProm = fooArrProm.map<Foo, Bar>((item: Foo, index: number, arrayLength: number) => {
|
||||
return bar;
|
||||
}, {
|
||||
concurrency: 1
|
||||
});
|
||||
barArrProm = fooProm.map<Foo, Bar>((item: Foo) => {
|
||||
barArrProm = fooArrProm.map<Foo, Bar>((item: Foo) => {
|
||||
return bar;
|
||||
}, {
|
||||
concurrency: 1
|
||||
@@ -627,10 +627,20 @@ barArrProm = fooProm.map<Foo, Bar>((item: Foo) => {
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
barProm = fooProm.reduce<Foo, Bar>((memo: Bar, item: Foo, index: number, arrayLength: number) => {
|
||||
barArrProm = fooArrProm.mapSeries<Foo, Bar>((item: Foo, index: number, arrayLength: number) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = fooArrProm.mapSeries<Foo, Bar>((item: Foo) => {
|
||||
return bar;
|
||||
});
|
||||
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
barProm = fooArrProm.reduce<Foo, Bar>((memo: Bar, item: Foo, index: number, arrayLength: number) => {
|
||||
return memo;
|
||||
});
|
||||
barProm = fooProm.reduce<Foo, Bar>((memo: Bar, item: Foo) => {
|
||||
barProm = fooArrProm.reduce<Foo, Bar>((memo: Bar, item: Foo) => {
|
||||
return memo;
|
||||
}, bar);
|
||||
|
||||
@@ -756,6 +766,13 @@ func = Promise.promisify(f, obj);
|
||||
obj = Promise.promisifyAll(obj);
|
||||
anyProm = Promise.fromNode(callback => nodeCallbackFunc(callback));
|
||||
anyProm = Promise.fromNode(callback => nodeCallbackFuncErrorOnly(callback));
|
||||
anyProm = Promise.fromNode(callback => nodeCallbackFunc(callback), {multiArgs : true});
|
||||
anyProm = Promise.fromNode(callback => nodeCallbackFuncErrorOnly(callback), {multiArgs : true});
|
||||
|
||||
anyProm = Promise.fromCallback(callback => nodeCallbackFunc(callback));
|
||||
anyProm = Promise.fromCallback(callback => nodeCallbackFuncErrorOnly(callback));
|
||||
anyProm = Promise.fromCallback(callback => nodeCallbackFunc(callback), {multiArgs : true});
|
||||
anyProm = Promise.fromCallback(callback => nodeCallbackFuncErrorOnly(callback), {multiArgs : true});
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
@@ -1008,6 +1025,81 @@ barArrProm = Promise.map(fooArr, (item: Foo, index: number, arrayLength: number)
|
||||
concurrency: 1
|
||||
});
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// mapSeries()
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// fooThenArrThen
|
||||
|
||||
barArrProm = Promise.mapSeries(fooThenArrThen, (item: Foo) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooThenArrThen, (item: Foo) => {
|
||||
return barThen;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooThenArrThen, (item: Foo, index: number, arrayLength: number) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooThenArrThen, (item: Foo, index: number, arrayLength: number) => {
|
||||
return barThen;
|
||||
});
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// fooArrThen
|
||||
|
||||
barArrProm = Promise.mapSeries(fooArrThen, (item: Foo) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooArrThen, (item: Foo) => {
|
||||
return barThen;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooArrThen, (item: Foo, index: number, arrayLength: number) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooArrThen, (item: Foo, index: number, arrayLength: number) => {
|
||||
return barThen;
|
||||
});
|
||||
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// fooThenArr
|
||||
|
||||
barArrProm = Promise.mapSeries(fooThenArr, (item: Foo) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooThenArr, (item: Foo) => {
|
||||
return barThen;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooThenArr, (item: Foo, index: number, arrayLength: number) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooThenArr, (item: Foo, index: number, arrayLength: number) => {
|
||||
return barThen;
|
||||
});
|
||||
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// fooArr
|
||||
|
||||
barArrProm = Promise.mapSeries(fooArr, (item: Foo) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooArr, (item: Foo) => {
|
||||
return barThen;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooArr, (item: Foo, index: number, arrayLength: number) => {
|
||||
return bar;
|
||||
});
|
||||
barArrProm = Promise.mapSeries(fooArr, (item: Foo, index: number, arrayLength: number) => {
|
||||
return barThen;
|
||||
});
|
||||
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
// reduce()
|
||||
|
||||
Vendored
+725
-695
File diff suppressed because it is too large
Load Diff
@@ -97,4 +97,3 @@ class Photo extends bookshelf.Model<Photo> {
|
||||
return this.morphTo('imageable', Site, Post);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Vendored
+33
-33
@@ -11,7 +11,7 @@ declare module 'bookshelf' {
|
||||
import knex = require('knex');
|
||||
import Promise = require('bluebird');
|
||||
import Lodash = require('lodash');
|
||||
|
||||
|
||||
interface Bookshelf extends Bookshelf.Events<any> {
|
||||
VERSION : string;
|
||||
knex : knex;
|
||||
@@ -20,9 +20,9 @@ declare module 'bookshelf' {
|
||||
|
||||
transaction<T>(callback : (transaction : knex.Transaction) => T) : Promise<T>;
|
||||
}
|
||||
|
||||
|
||||
function Bookshelf(knex : knex) : Bookshelf;
|
||||
|
||||
|
||||
namespace Bookshelf {
|
||||
abstract class Events<T> {
|
||||
on(event? : string, callback? : EventFunction<T>, context? : any) : void;
|
||||
@@ -31,20 +31,20 @@ declare module 'bookshelf' {
|
||||
triggerThen(name : string, ...args : any[]) : Promise<any>;
|
||||
once(event : string, callback : EventFunction<T>, context? : any) : void;
|
||||
}
|
||||
|
||||
|
||||
interface IModelBase {
|
||||
/** Should be declared as a getter instead of a plain property. */
|
||||
hasTimestamps? : boolean|string[];
|
||||
/** Should be declared as a getter instead of a plain property. Should be required, but cannot have abstract properties yet. */
|
||||
tableName? : string;
|
||||
}
|
||||
|
||||
|
||||
abstract class ModelBase<T extends Model<any>> extends Events<T|Collection<T>> implements IModelBase {
|
||||
/** If overriding, must use a getter instead of a plain property. */
|
||||
idAttribute : string;
|
||||
|
||||
|
||||
constructor(attributes? : any, options? : ModelOptions);
|
||||
|
||||
|
||||
clear() : T;
|
||||
clone() : T;
|
||||
escape(attribute : string) : string;
|
||||
@@ -63,7 +63,7 @@ declare module 'bookshelf' {
|
||||
timestamp(options? : TimestampOptions) : any;
|
||||
toJSON(options? : SerializeOptions) : any;
|
||||
unset(attribute : string) : T;
|
||||
|
||||
|
||||
// lodash methods
|
||||
invert<R extends {}>() : R;
|
||||
keys() : string[];
|
||||
@@ -74,7 +74,7 @@ declare module 'bookshelf' {
|
||||
pick<R extends {}>(...attributes : string[]) : R;
|
||||
values() : any[];
|
||||
}
|
||||
|
||||
|
||||
class Model<T extends Model<any>> extends ModelBase<T> {
|
||||
static collection<T extends Model<any>>(models? : T[], options? : CollectionOptions<T>) : Collection<T>;
|
||||
static count(column? : string, options? : SyncOptions) : Promise<number>;
|
||||
@@ -83,7 +83,7 @@ declare module 'bookshelf' {
|
||||
static fetchAll<T extends Model<any>>() : Promise<Collection<T>>;
|
||||
/** @deprecated should use `new` objects instead. */
|
||||
static forge<T>(attributes? : any, options? : ModelOptions) : T;
|
||||
|
||||
|
||||
belongsTo<R extends Model<any>>(target : {new(...args : any[]) : R}, foreignKey? : string) : R;
|
||||
belongsToMany<R extends Model<any>>(target : {new(...args : any[]) : R}, table? : string, foreignKey? : string, otherKey? : string) : Collection<R>;
|
||||
count(column? : string, options? : SyncOptions) : Promise<number>;
|
||||
@@ -109,7 +109,7 @@ declare module 'bookshelf' {
|
||||
where(properties : {[key : string] : any}) : T;
|
||||
where(key : string, operatorOrValue : string|number|boolean, valueIfOperator? : string|number|boolean) : T;
|
||||
}
|
||||
|
||||
|
||||
abstract class CollectionBase<T extends Model<any>> extends Events<T> {
|
||||
add(models : T[]|{[key : string] : any}[], options? : CollectionAddOptions) : Collection<T>;
|
||||
at(index : number) : T;
|
||||
@@ -133,7 +133,7 @@ declare module 'bookshelf' {
|
||||
toJSON(options? : SerializeOptions) : any;
|
||||
unshift(model : any, options? : CollectionAddOptions) : void;
|
||||
where(match : {[key : string] : any}, firstOnly : boolean) : T|Collection<T>;
|
||||
|
||||
|
||||
// lodash methods
|
||||
all(predicate? : Lodash.ListIterator<T, boolean>|Lodash.DictionaryIterator<T, boolean>|string, thisArg? : any) : boolean;
|
||||
all<R extends {}>(predicate? : R) : boolean;
|
||||
@@ -200,13 +200,13 @@ declare module 'bookshelf' {
|
||||
toArray() : T[];
|
||||
without(...values : any[]) : T[];
|
||||
}
|
||||
|
||||
|
||||
class Collection<T extends Model<any>> extends CollectionBase<T> {
|
||||
/** @deprecated use Typescript classes */
|
||||
static extend<T>(prototypeProperties? : any, classProperties? : any) : Function;
|
||||
/** @deprecated should use `new` objects instead. */
|
||||
static forge<T>(attributes? : any, options? : ModelOptions) : T;
|
||||
|
||||
|
||||
attach(ids : any[], options? : SyncOptions) : Promise<Collection<T>>;
|
||||
count(column? : string, options? : SyncOptions) : Promise<number>;
|
||||
create(model : {[key : string] : any}, options? : CollectionCreateOptions) : Promise<T>;
|
||||
@@ -222,92 +222,92 @@ declare module 'bookshelf' {
|
||||
updatePivot(attributes : any, options? : PivotOptions) : Promise<number>;
|
||||
withPivot(columns : string[]) : Collection<T>;
|
||||
}
|
||||
|
||||
|
||||
interface ModelOptions {
|
||||
tableName? : string;
|
||||
hasTimestamps? : boolean;
|
||||
parse? : boolean;
|
||||
}
|
||||
|
||||
|
||||
interface LoadOptions extends SyncOptions {
|
||||
withRelated: string|any|any[];
|
||||
}
|
||||
|
||||
|
||||
interface FetchOptions extends SyncOptions {
|
||||
require? : boolean;
|
||||
columns? : string|string[];
|
||||
withRelated? : string|any|any[];
|
||||
}
|
||||
|
||||
|
||||
interface FetchAllOptions extends SyncOptions {
|
||||
require? : boolean;
|
||||
}
|
||||
|
||||
|
||||
interface SaveOptions extends SyncOptions {
|
||||
method? : string;
|
||||
defaults? : string;
|
||||
patch? : boolean;
|
||||
require? : boolean;
|
||||
}
|
||||
|
||||
|
||||
interface SerializeOptions {
|
||||
shallow? : boolean;
|
||||
omitPivot? : boolean;
|
||||
}
|
||||
|
||||
|
||||
interface SetOptions {
|
||||
unset? : boolean;
|
||||
}
|
||||
|
||||
|
||||
interface TimestampOptions {
|
||||
method? : string;
|
||||
}
|
||||
|
||||
|
||||
interface SyncOptions {
|
||||
transacting? : knex.Transaction;
|
||||
debug? : boolean;
|
||||
}
|
||||
|
||||
|
||||
interface CollectionOptions<T> {
|
||||
comparator? : boolean|string|((a : T, b : T) => number);
|
||||
}
|
||||
|
||||
|
||||
interface CollectionAddOptions extends EventOptions {
|
||||
at? : number;
|
||||
merge? : boolean;
|
||||
}
|
||||
|
||||
|
||||
interface CollectionFetchOptions {
|
||||
require? : boolean;
|
||||
withRelated? : string|string[];
|
||||
}
|
||||
|
||||
|
||||
interface CollectionFetchOneOptions {
|
||||
require? : boolean;
|
||||
columns? : string|string[];
|
||||
}
|
||||
|
||||
|
||||
interface CollectionSetOptions extends EventOptions {
|
||||
add? : boolean;
|
||||
remove? : boolean;
|
||||
merge?: boolean;
|
||||
}
|
||||
|
||||
|
||||
interface PivotOptions {
|
||||
query? : Function|any;
|
||||
require? : boolean;
|
||||
}
|
||||
|
||||
|
||||
interface EventOptions {
|
||||
silent? : boolean;
|
||||
}
|
||||
|
||||
|
||||
interface EventFunction<T> {
|
||||
(model: T, attrs: any, options: any) : Promise<any>|void;
|
||||
}
|
||||
|
||||
|
||||
interface CollectionCreateOptions extends ModelOptions, SyncOptions, CollectionAddOptions, SaveOptions {}
|
||||
}
|
||||
|
||||
|
||||
export = Bookshelf;
|
||||
}
|
||||
|
||||
@@ -54,6 +54,8 @@ declare module BootstrapV3DatetimePicker {
|
||||
showTodayButton?: boolean;
|
||||
viewMode?: string;
|
||||
inline?: boolean;
|
||||
toolbarPlacement?: string;
|
||||
showClear?: boolean;
|
||||
}
|
||||
|
||||
interface Datetimepicker {
|
||||
|
||||
Vendored
+1
@@ -392,6 +392,7 @@ declare module breeze {
|
||||
constructor(config?: EntityManagerOptions);
|
||||
constructor(config?: string);
|
||||
|
||||
acceptChanges(): void;
|
||||
addEntity(entity: Entity): Entity;
|
||||
attachEntity(entity: Entity, entityState?: EntityStateSymbol, mergeStrategy?: MergeStrategySymbol): Entity;
|
||||
clear(): void;
|
||||
|
||||
@@ -2,11 +2,51 @@
|
||||
|
||||
import browserify = require("browserify");
|
||||
import fs = require("fs");
|
||||
import stream = require('stream');
|
||||
|
||||
var b: BrowserifyObject = browserify();
|
||||
var bNoArg = browserify();
|
||||
|
||||
var b = browserify({
|
||||
baseDir: 'somewhere'
|
||||
});
|
||||
b.add('./browser/main.js');
|
||||
b.transform('deamdify');
|
||||
b.bundle().pipe(fs.createWriteStream('bundle.js'));
|
||||
b.transform('deamdify')
|
||||
.transform(function (file) {
|
||||
return new stream.Transform();
|
||||
}).plugin((b, opts) => { return opts.l; }, {l: 3})
|
||||
.require('foo', { expose: 'bar' })
|
||||
.exclude('baz')
|
||||
.ignore('bat')
|
||||
.reset({ basedir: 'elsewhere' });
|
||||
|
||||
var customBrowsify: Browserify = require("browserify");
|
||||
b.on('file', (file) => {
|
||||
file += "";
|
||||
});
|
||||
|
||||
b.external(bNoArg);
|
||||
|
||||
var b2 = new browserify(['/some/File', {file: '/some/file' }, fs.createReadStream('/somewhere')], { builtins: ['buffer']})
|
||||
.reset({
|
||||
builtins: {
|
||||
'buffer': './customBuffer'
|
||||
}
|
||||
});
|
||||
|
||||
var customBrowsify = require("browserify");
|
||||
customBrowsify({entries: []});
|
||||
|
||||
var b = browserify('./browser/main.js', {
|
||||
noParse: ['jquery'],
|
||||
debug: true,
|
||||
foo: 'bar'
|
||||
});
|
||||
b.add('./browser/other.js');
|
||||
b.transform(function(file: string): NodeJS.ReadWriteStream {
|
||||
return new stream.PassThrough();
|
||||
});
|
||||
|
||||
var record_pipeline = b.pipeline.get('record');
|
||||
|
||||
b.bundle().pipe(process.stdout);
|
||||
|
||||
|
||||
|
||||
Vendored
+169
-28
@@ -1,41 +1,182 @@
|
||||
// Type definitions for Browserify
|
||||
// Type definitions for Browserify v12.0.1
|
||||
// Project: http://browserify.org/
|
||||
// Definitions by: Andrew Gaspar <https://github.com/AndrewGaspar/>
|
||||
// Definitions by: Andrew Gaspar <https://github.com/AndrewGaspar/>, John Vilk <https://github.com/jvilk>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
interface BrowserifyObject extends NodeJS.EventEmitter {
|
||||
add(file:string, opts?:any): BrowserifyObject;
|
||||
require(file:string, opts?:{
|
||||
expose: string;
|
||||
}): BrowserifyObject;
|
||||
bundle(opts?:{
|
||||
insertGlobals?: boolean;
|
||||
detectGlobals?: boolean;
|
||||
debug?: boolean;
|
||||
standalone?: string;
|
||||
insertGlobalVars?: any;
|
||||
}, cb?:(err:any, src:any) => void): NodeJS.ReadableStream;
|
||||
declare module Browserify {
|
||||
/**
|
||||
* Options pertaining to an individual file.
|
||||
*/
|
||||
interface FileOptions {
|
||||
// If true, this is considered an entry point to your app.
|
||||
entry?: boolean;
|
||||
// Expose this file under a custom dependency name.
|
||||
// require('./vendor/angular/angular.js', {expose: 'angular'}) enables require('angular')
|
||||
expose?: string;
|
||||
// Basedir to use to resolve this file's path.
|
||||
basedir?: string;
|
||||
// The name/path to the file.
|
||||
file?: string;
|
||||
// Forward file to external() to be externalized.
|
||||
external?: boolean;
|
||||
// Disable transforms on file if set to false.
|
||||
transform?: boolean;
|
||||
// The ID to use for require() statements.
|
||||
id?: string;
|
||||
}
|
||||
|
||||
external(file:string, opts?:any): BrowserifyObject;
|
||||
ignore(file:string, opts?:any): BrowserifyObject;
|
||||
transform(tr:string, opts?:any): BrowserifyObject;
|
||||
transform(tr:Function, opts?:any): BrowserifyObject;
|
||||
plugin(plugin:string, opts?:any): BrowserifyObject;
|
||||
plugin(plugin:Function, opts?:any): BrowserifyObject;
|
||||
}
|
||||
|
||||
interface Browserify {
|
||||
(): BrowserifyObject;
|
||||
(files:string[]): BrowserifyObject;
|
||||
(opts:{
|
||||
entries?: string[];
|
||||
// Browserify accepts a filename, an input stream for file inputs, or a FileOptions configuration
|
||||
// for each file in a bundle.
|
||||
type InputFile = string | NodeJS.ReadableStream | FileOptions;
|
||||
|
||||
/**
|
||||
* Options pertaining to a Browserify instance.
|
||||
*/
|
||||
interface Options {
|
||||
// Custom properties can be defined on Options.
|
||||
// These options are forwarded along to module-deps and browser-pack directly.
|
||||
[propName: string]: any;
|
||||
// String, file object, or array of those types (they may be mixed) specifying entry file(s).
|
||||
entries?: InputFile | InputFile[];
|
||||
// an array which will skip all require() and global parsing for each file in the array.
|
||||
// Use this for giant libs like jquery or threejs that don't have any requires or node-style globals but take forever to parse.
|
||||
noParse?: string[];
|
||||
}): BrowserifyObject;
|
||||
// an array of optional extra extensions for the module lookup machinery to use when the extension has not been specified.
|
||||
// By default Browserify considers only .js and .json files in such cases.
|
||||
extensions?: string[];
|
||||
// the directory that Browserify starts bundling from for filenames that start with ..
|
||||
basedir?: string;
|
||||
// an array of directories that Browserify searches when looking for modules which are not referenced using relative path.
|
||||
// Can be absolute or relative to basedir. Equivalent of setting NODE_PATH environmental variable when calling Browserify command.
|
||||
paths?: string[];
|
||||
// sets the algorithm used to parse out the common paths. Use false to turn this off, otherwise it uses the commondir module.
|
||||
commondir?: boolean;
|
||||
// disables converting module ids into numerical indexes. This is useful for preserving the original paths that a bundle was generated with.
|
||||
fullPaths?: boolean;
|
||||
// sets the list of built-ins to use, which by default is set in lib/builtins.js in this distribution.
|
||||
builtins?: string[] | {[builtinName: string]: string} | boolean;
|
||||
// set if external modules should be bundled. Defaults to true.
|
||||
bundleExternal?: boolean;
|
||||
// When true, always insert process, global, __filename, and __dirname without analyzing the AST for faster builds but larger output bundles. Default false.
|
||||
insertGlobals?: boolean;
|
||||
// When true, scan all files for process, global, __filename, and __dirname, defining as necessary.
|
||||
// With this option npm modules are more likely to work but bundling takes longer. Default true.
|
||||
detectGlobals?: boolean;
|
||||
// When true, add a source map inline to the end of the bundle. This makes debugging easier because you can see all the original files if you are in a modern enough browser.
|
||||
debug?: boolean;
|
||||
// When a non-empty string, a standalone module is created with that name and a umd wrapper.
|
||||
// You can use namespaces in the standalone global export using a . in the string name as a separator, for example 'A.B.C'.
|
||||
// The global export will be sanitized and camel cased.
|
||||
standalone?: string;
|
||||
// will be passed to insert-module-globals as the opts.vars parameter.
|
||||
insertGlobalVars?: {[globalName: string]: (file: string, basedir: string) => any};
|
||||
// defaults to 'require' in expose mode but you can use another name.
|
||||
externalRequireName?: string;
|
||||
}
|
||||
|
||||
interface BrowserifyConstructor {
|
||||
(files: InputFile[], opts?: Options): BrowserifyObject;
|
||||
(file: InputFile, opts?: Options): BrowserifyObject;
|
||||
(opts: Options): BrowserifyObject;
|
||||
(): BrowserifyObject
|
||||
new(files: InputFile[], opts?: Options): BrowserifyObject;
|
||||
new(file: InputFile, opts?: Options): BrowserifyObject;
|
||||
new(opts: Options): BrowserifyObject;
|
||||
new(): BrowserifyObject
|
||||
}
|
||||
|
||||
interface BrowserifyObject extends NodeJS.EventEmitter {
|
||||
/**
|
||||
* Add an entry file from file that will be executed when the bundle loads.
|
||||
* If file is an array, each item in file will be added as an entry file.
|
||||
*/
|
||||
add(file: InputFile[], opts?: FileOptions): BrowserifyObject;
|
||||
add(file: InputFile, opts?: FileOptions): BrowserifyObject;
|
||||
/**
|
||||
* Make file available from outside the bundle with require(file).
|
||||
* The file param is anything that can be resolved by require.resolve().
|
||||
* file can also be a stream, but you should also use opts.basedir so that relative requires will be resolvable.
|
||||
* If file is an array, each item in file will be required. In file array form, you can use a string or object for each item. Object items should have a file property and the rest of the parameters will be used for the opts.
|
||||
* Use the expose property of opts to specify a custom dependency name. require('./vendor/angular/angular.js', {expose: 'angular'}) enables require('angular')
|
||||
*/
|
||||
require(file: InputFile, opts?: FileOptions): BrowserifyObject;
|
||||
/**
|
||||
* Bundle the files and their dependencies into a single javascript file.
|
||||
* Return a readable stream with the javascript file contents or optionally specify a cb(err, buf) to get the buffered results.
|
||||
*/
|
||||
bundle(cb?: (err: any, src: Buffer) => any): NodeJS.ReadableStream;
|
||||
/**
|
||||
* Prevent file from being loaded into the current bundle, instead referencing from another bundle.
|
||||
* If file is an array, each item in file will be externalized.
|
||||
* If file is another bundle, that bundle's contents will be read and excluded from the current bundle as the bundle in file gets bundled.
|
||||
*/
|
||||
external(file: string[], opts?: { basedir?: string }): BrowserifyObject;
|
||||
external(file: string, opts?: { basedir?: string }): BrowserifyObject;
|
||||
external(file: BrowserifyObject): BrowserifyObject;
|
||||
/**
|
||||
* Prevent the module name or file at file from showing up in the output bundle.
|
||||
* Instead you will get a file with module.exports = {}.
|
||||
*/
|
||||
ignore(file: string, opts?: { basedir?: string }): BrowserifyObject;
|
||||
/**
|
||||
* Prevent the module name or file at file from showing up in the output bundle.
|
||||
* If your code tries to require() that file it will throw unless you've provided another mechanism for loading it.
|
||||
*/
|
||||
exclude(file: string, opts?: { basedir?: string }): BrowserifyObject;
|
||||
/**
|
||||
* Transform source code before parsing it for require() calls with the transform function or module name tr.
|
||||
* If tr is a function, it will be called with tr(file) and it should return a through-stream that takes the raw file contents and produces the transformed source.
|
||||
* If tr is a string, it should be a module name or file path of a transform module
|
||||
*/
|
||||
transform<T extends { basedir?: string }>(tr: string, opts?: T): BrowserifyObject;
|
||||
transform<T extends { basedir?: string }>(tr: (file: string, opts: T) => NodeJS.ReadWriteStream, opts?: T): BrowserifyObject;
|
||||
/**
|
||||
* Register a plugin with opts. Plugins can be a string module name or a function the same as transforms.
|
||||
* plugin(b, opts) is called with the Browserify instance b.
|
||||
*/
|
||||
plugin<T extends { basedir?: string }>(plugin: string, opts?: T): BrowserifyObject;
|
||||
plugin<T extends { basedir?: string }>(plugin: (b: BrowserifyObject, opts: T) => any, opts?: T): BrowserifyObject;
|
||||
/**
|
||||
* Reset the pipeline back to a normal state. This function is called automatically when bundle() is called multiple times.
|
||||
* This function triggers a 'reset' event.
|
||||
*/
|
||||
reset(opts?: Options): void;
|
||||
|
||||
/**
|
||||
* When a file is resolved for the bundle, the bundle emits a 'file' event with the full file path, the id string passed to require(), and the parent object used by browser-resolve.
|
||||
* You could use the file event to implement a file watcher to regenerate bundles when files change.
|
||||
*/
|
||||
on(event: 'file', listener: (file: string, id: string, parent: any) => any): BrowserifyObject;
|
||||
/**
|
||||
* When a package.json file is read, this event fires with the contents.
|
||||
* The package directory is available at pkg.__dirname.
|
||||
*/
|
||||
on(event: 'package', listener: (pkg: any) => any): BrowserifyObject;
|
||||
/**
|
||||
* When .bundle() is called, this event fires with the bundle output stream.
|
||||
*/
|
||||
on(event: 'bundle', listener: (bundle: NodeJS.ReadableStream) => any): BrowserifyObject;
|
||||
/**
|
||||
* When the .reset() method is called or implicitly called by another call to .bundle(), this event fires.
|
||||
*/
|
||||
on(event: 'reset', listener: () => any): BrowserifyObject;
|
||||
/**
|
||||
* When a transform is applied to a file, the 'transform' event fires on the bundle stream with the transform stream tr and the file that the transform is being applied to.
|
||||
*/
|
||||
on(event: 'transform', listener: (tr: NodeJS.ReadWriteStream, file: string) => any): BrowserifyObject;
|
||||
on(event: string, listener: Function): BrowserifyObject;
|
||||
|
||||
/**
|
||||
* Set to any until substack/labeled-stream-splicer is defined
|
||||
*/
|
||||
pipeline: any;
|
||||
}
|
||||
}
|
||||
|
||||
declare module "browserify" {
|
||||
var browserify: Browserify;
|
||||
var browserify: Browserify.BrowserifyConstructor;
|
||||
export = browserify;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
/// <reference path="./buffer-compare.d.ts" />
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
import compare = require('buffer-compare');
|
||||
|
||||
let result: number;
|
||||
|
||||
result = compare(new Buffer(''), new Buffer(''));
|
||||
result = compare([], []);
|
||||
result = compare('', '');
|
||||
result = compare(new Buffer(''), []);
|
||||
result = compare([], '');
|
||||
result = compare('', new Buffer(''));
|
||||
|
||||
result = compare<Buffer>(new Buffer(''), new Buffer(''));
|
||||
result = compare<any[]>([], []);
|
||||
result = compare<string>('', '');
|
||||
result = compare<Buffer|any[]>(new Buffer(''), []);
|
||||
result = compare<any[]|string>([], '');
|
||||
result = compare<string|Buffer>('', new Buffer(''));
|
||||
|
||||
result = compare<Buffer, Buffer>(new Buffer(''), new Buffer(''));
|
||||
result = compare<any[], any[]>([], []);
|
||||
result = compare<string, string>('', '');
|
||||
result = compare<Buffer, any[]>(new Buffer(''), []);
|
||||
result = compare<any[], string>([], '');
|
||||
result = compare<string, Buffer>('', new Buffer(''));
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
// Type definitions for buffer-compare
|
||||
// Project: https://github.com/soldair/node-buffer-compare
|
||||
// Definitions by: Ilya Mochalov <https://github.com/chrootsu>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "buffer-compare" {
|
||||
interface List {
|
||||
[index: number]: any;
|
||||
length: number
|
||||
}
|
||||
|
||||
function compare(cmp: List, to: List): number;
|
||||
function compare<T>(cmp: T, to: T): number;
|
||||
function compare<C, T>(cmp: C, to: T): number;
|
||||
|
||||
export = compare;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
--target es5 --noImplicitAny --module commonjs
|
||||
@@ -0,0 +1,102 @@
|
||||
/**
|
||||
* Created by Bruno Grieder
|
||||
*/
|
||||
|
||||
///<reference path="./bull.d.ts" />
|
||||
|
||||
|
||||
import * as Queue from "bull"
|
||||
|
||||
var videoQueue = Queue( 'video transcoding', 6379, '127.0.0.1' );
|
||||
var audioQueue = Queue( 'audio transcoding', 6379, '127.0.0.1' );
|
||||
var imageQueue = Queue( 'image transcoding', 6379, '127.0.0.1' );
|
||||
|
||||
videoQueue.process( ( job: Queue.Job, done: Queue.DoneCallback ) => {
|
||||
|
||||
// job.data contains the custom data passed when the job was created
|
||||
// job.jobId contains id of this job.
|
||||
|
||||
// transcode video asynchronously and report progress
|
||||
job.progress( 42 );
|
||||
|
||||
// call done when finished
|
||||
done();
|
||||
|
||||
// or give a error if error
|
||||
done( Error( 'error transcoding' ) );
|
||||
|
||||
// or pass it a result
|
||||
done( null, { framerate: 29.5 /* etc... */ } );
|
||||
|
||||
// If the job throws an unhandled exception it is also handled correctly
|
||||
throw (Error( 'some unexpected error' ));
|
||||
} );
|
||||
|
||||
audioQueue.process( ( job: Queue.Job, done: Queue.DoneCallback ) => {
|
||||
// transcode audio asynchronously and report progress
|
||||
job.progress( 42 );
|
||||
|
||||
// call done when finished
|
||||
done();
|
||||
|
||||
// or give a error if error
|
||||
done( Error( 'error transcoding' ) );
|
||||
|
||||
// or pass it a result
|
||||
done( null, { samplerate: 48000 /* etc... */ } );
|
||||
|
||||
// If the job throws an unhandled exception it is also handled correctly
|
||||
throw (Error( 'some unexpected error' ));
|
||||
} );
|
||||
|
||||
imageQueue.process( ( job: Queue.Job, done: Queue.DoneCallback ) => {
|
||||
// transcode image asynchronously and report progress
|
||||
job.progress( 42 );
|
||||
|
||||
// call done when finished
|
||||
done();
|
||||
|
||||
// or give a error if error
|
||||
done( Error( 'error transcoding' ) );
|
||||
|
||||
// or pass it a result
|
||||
done( null, { width: 1280, height: 720 /* etc... */ } );
|
||||
|
||||
// If the job throws an unhandled exception it is also handled correctly
|
||||
throw (Error( 'some unexpected error' ));
|
||||
} );
|
||||
|
||||
videoQueue.add( { video: 'http://example.com/video1.mov' } );
|
||||
audioQueue.add( { audio: 'http://example.com/audio1.mp3' } );
|
||||
imageQueue.add( { image: 'http://example.com/image1.tiff' } );
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Using Promises
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
const fetchVideo = ( url: string ): Promise<any> => { return null }
|
||||
const transcodeVideo = ( data: any ): Promise<void> => { return null }
|
||||
|
||||
interface VideoJob extends Queue.Job {
|
||||
data: {url: string}
|
||||
}
|
||||
|
||||
|
||||
videoQueue.process( ( job: VideoJob ) => { // don't forget to remove the done callback!
|
||||
// Simply return a promise
|
||||
return fetchVideo( job.data.url ).then( transcodeVideo );
|
||||
|
||||
// Handles promise rejection
|
||||
return Promise.reject( new Error( 'error transcoding' ) );
|
||||
|
||||
// Passes the value the promise is resolved with to the "completed" event
|
||||
return Promise.resolve( { framerate: 29.5 /* etc... */ } );
|
||||
|
||||
// If the job throws an unhandled exception it is also handled correctly
|
||||
throw new Error( 'some unexpected error' );
|
||||
// same as
|
||||
return Promise.reject( new Error( 'some unexpected error' ) );
|
||||
} );
|
||||
Vendored
+311
@@ -0,0 +1,311 @@
|
||||
// Type definitions for bull 0.7.0
|
||||
// Project: https://github.com/OptimalBits/bull
|
||||
// Definitions by: Bruno Grieder <https://github.com/bgrieder>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../redis/redis.d.ts" />
|
||||
/// <reference path="../es6-promise/es6-promise.d.ts" />
|
||||
|
||||
|
||||
declare module "bull" {
|
||||
|
||||
import * as Redis from "redis";
|
||||
|
||||
/**
|
||||
* This is the Queue constructor.
|
||||
* It creates a new Queue that is persisted in Redis.
|
||||
* Everytime the same queue is instantiated it tries to process all the old jobs that may exist from a previous unfinished session.
|
||||
*/
|
||||
function Bull(queueName: string, redisPort: number, redisHost: string, redisOpt?: Redis.ClientOpts): Bull.Queue;
|
||||
|
||||
module Bull {
|
||||
|
||||
export interface DoneCallback {
|
||||
(error?: Error, value?: any): void
|
||||
}
|
||||
|
||||
export interface Job {
|
||||
|
||||
id: string
|
||||
|
||||
/**
|
||||
* The custom data passed when the job was created
|
||||
*/
|
||||
data: Object;
|
||||
|
||||
/**
|
||||
* Report progress on a job
|
||||
*/
|
||||
progress(value: any): Promise<void>;
|
||||
|
||||
/**
|
||||
* Removes a Job from the queue from all the lists where it may be included.
|
||||
* @returns {Promise} A promise that resolves when the job is removed.
|
||||
*/
|
||||
remove(): Promise<void>;
|
||||
|
||||
/**
|
||||
* Rerun a Job that has failed.
|
||||
* @returns {Promise} A promise that resolves when the job is scheduled for retry.
|
||||
*/
|
||||
retry(): Promise<void>;
|
||||
}
|
||||
|
||||
export interface Backoff {
|
||||
|
||||
/**
|
||||
* Backoff type, which can be either `fixed` or `exponential`
|
||||
*/
|
||||
type: string
|
||||
|
||||
/**
|
||||
* Backoff delay, in milliseconds
|
||||
*/
|
||||
delay: number;
|
||||
}
|
||||
|
||||
export interface AddOptions {
|
||||
/**
|
||||
* An amount of miliseconds to wait until this job can be processed.
|
||||
* Note that for accurate delays, both server and clients should have their clocks synchronized
|
||||
*/
|
||||
delay?: number;
|
||||
|
||||
/**
|
||||
* A number of attempts to retry if the job fails [optional]
|
||||
*/
|
||||
attempts?: number;
|
||||
|
||||
/**
|
||||
* Backoff setting for automatic retries if the job fails
|
||||
*/
|
||||
backoff?: number | Backoff
|
||||
|
||||
/**
|
||||
* A boolean which, if true, adds the job to the right
|
||||
* of the queue instead of the left (default false)
|
||||
*/
|
||||
lifo?: boolean;
|
||||
|
||||
/**
|
||||
* The number of milliseconds after which the job should be fail with a timeout error
|
||||
*/
|
||||
timeout?: number;
|
||||
}
|
||||
|
||||
export interface Queue {
|
||||
|
||||
/**
|
||||
* Defines a processing function for the jobs placed into a given Queue.
|
||||
*
|
||||
* The callback is called everytime a job is placed in the queue.
|
||||
* It is passed an instance of the job as first argument.
|
||||
*
|
||||
* The done callback can be called with an Error instance, to signal that the job did not complete successfully,
|
||||
* or with a result as second argument as second argument (e.g.: done(null, result);) when the job is successful.
|
||||
* Errors will be passed as a second argument to the "failed" event;
|
||||
* results, as a second argument to the "completed" event.
|
||||
*
|
||||
* concurrency: Bull will then call you handler in parallel respecting this max number.
|
||||
*/
|
||||
process(concurrency: number, callback: (job: Job, done: DoneCallback) => void): void;
|
||||
|
||||
/**
|
||||
* Defines a processing function for the jobs placed into a given Queue.
|
||||
*
|
||||
* The callback is called everytime a job is placed in the queue.
|
||||
* It is passed an instance of the job as first argument.
|
||||
*
|
||||
* The done callback can be called with an Error instance, to signal that the job did not complete successfully,
|
||||
* or with a result as second argument as second argument (e.g.: done(null, result);) when the job is successful.
|
||||
* Errors will be passed as a second argument to the "failed" event;
|
||||
* results, as a second argument to the "completed" event.
|
||||
*/
|
||||
process(callback: (job: Job, done: DoneCallback) => void): void;
|
||||
|
||||
/**
|
||||
* Defines a processing function for the jobs placed into a given Queue.
|
||||
*
|
||||
* The callback is called everytime a job is placed in the queue.
|
||||
* It is passed an instance of the job as first argument.
|
||||
*
|
||||
* A promise must be returned to signal job completion.
|
||||
* If the promise is rejected, the error will be passed as a second argument to the "failed" event.
|
||||
* If it is resolved, its value will be the "completed" event's second argument.
|
||||
*
|
||||
* concurrency: Bull will then call you handler in parallel respecting this max number.
|
||||
*/
|
||||
process(concurrency: number, callback: (job: Job) => void): Promise<any>;
|
||||
|
||||
/**
|
||||
* Defines a processing function for the jobs placed into a given Queue.
|
||||
*
|
||||
* The callback is called everytime a job is placed in the queue.
|
||||
* It is passed an instance of the job as first argument.
|
||||
*
|
||||
* A promise must be returned to signal job completion.
|
||||
* If the promise is rejected, the error will be passed as a second argument to the "failed" event.
|
||||
* If it is resolved, its value will be the "completed" event's second argument.
|
||||
*/
|
||||
process(callback: (job: Job) => void): Promise<any>;
|
||||
|
||||
// process(callback: (job: Job, done?: DoneCallback) => void): Promise<any>;
|
||||
|
||||
/**
|
||||
* Creates a new job and adds it to the queue.
|
||||
* If the queue is empty the job will be executed directly,
|
||||
* otherwise it will be placed in the queue and executed as soon as possible.
|
||||
*/
|
||||
add(data: Object, opts?: AddOptions): Promise<Job>;
|
||||
|
||||
/**
|
||||
* Returns a promise that resolves when the queue is paused.
|
||||
* The pause is global, meaning that all workers in all queue instances for a given queue will be paused.
|
||||
* A paused queue will not process new jobs until resumed,
|
||||
* but current jobs being processed will continue until they are finalized.
|
||||
*
|
||||
* Pausing a queue that is already paused does nothing.
|
||||
*/
|
||||
pause(): Promise<void>;
|
||||
|
||||
/**
|
||||
* Returns a promise that resolves when the queue is resumed after being paused.
|
||||
* The resume is global, meaning that all workers in all queue instances for a given queue will be resumed.
|
||||
*
|
||||
* Resuming a queue that is not paused does nothing.
|
||||
*/
|
||||
resume(): Promise<void>;
|
||||
|
||||
/**
|
||||
* Returns a promise that returns the number of jobs in the queue, waiting or paused.
|
||||
* Since there may be other processes adding or processing jobs, this value may be true only for a very small amount of time.
|
||||
*/
|
||||
count(): Promise<number>;
|
||||
|
||||
/**
|
||||
* Empties a queue deleting all the input lists and associated jobs.
|
||||
*/
|
||||
empty(): Promise<void>;
|
||||
|
||||
/**
|
||||
* Closes the underlying redis client. Use this to perform a graceful shutdown.
|
||||
*
|
||||
* `close` can be called from anywhere, with one caveat:
|
||||
* if called from within a job handler the queue won't close until after the job has been processed
|
||||
*/
|
||||
close(): Promise<void>;
|
||||
|
||||
/**
|
||||
* Returns a promise that will return the job instance associated with the jobId parameter.
|
||||
* If the specified job cannot be located, the promise callback parameter will be set to null.
|
||||
*/
|
||||
getJob(jobId: string): Promise<Job>;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
clean(gracePeriod: number, jobsState?: string): Promise<Job[]>;
|
||||
|
||||
/**
|
||||
* Listens to queue events
|
||||
* 'ready', 'error', 'activ', 'progress', 'completed', 'failed', 'paused', 'resumed', 'cleaned'
|
||||
*/
|
||||
on(eventName: string, callback: EventCallback): void;
|
||||
}
|
||||
|
||||
interface EventCallback {
|
||||
(...args: any[]): void
|
||||
}
|
||||
|
||||
interface ReadyEventCallback extends EventCallback {
|
||||
(): void;
|
||||
}
|
||||
|
||||
interface ErrorEventCallback extends EventCallback {
|
||||
(error: Error): void;
|
||||
}
|
||||
|
||||
interface JobPromise {
|
||||
/**
|
||||
* Abort this job
|
||||
*/
|
||||
cancel(): void
|
||||
}
|
||||
|
||||
interface ActiveEventCallback extends EventCallback {
|
||||
(job: Job, jobPromise: JobPromise): void;
|
||||
}
|
||||
|
||||
interface ProgressEventCallback extends EventCallback {
|
||||
(job: Job, progress: any): void;
|
||||
}
|
||||
|
||||
interface CompletedEventCallback extends EventCallback {
|
||||
(job: Job, result: Object): void;
|
||||
}
|
||||
|
||||
interface FailedEventCallback extends EventCallback {
|
||||
(job: Job, error: Error): void;
|
||||
}
|
||||
|
||||
interface PausedEventCallback extends EventCallback {
|
||||
(): void;
|
||||
}
|
||||
|
||||
interface ResumedEventCallback extends EventCallback {
|
||||
(job?: Job): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* @see clean() for details
|
||||
*/
|
||||
interface CleanedEventCallback extends EventCallback {
|
||||
(jobs: Job[], type: string): void;
|
||||
}
|
||||
}
|
||||
|
||||
export = Bull;
|
||||
}
|
||||
|
||||
declare module "bull/lib/priority-queue" {
|
||||
|
||||
import * as Bull from "bull";
|
||||
import * as Redis from "redis";
|
||||
|
||||
/**
|
||||
* This is the Queue constructor of priority queue.
|
||||
*
|
||||
* It works same a normal queue, with same function and parameters.
|
||||
* The only difference is that the Queue#add() allow an options opts.priority
|
||||
* that could take ["low", "normal", "medium", "hight", "critical"]. If no options provider, "normal" will be taken.
|
||||
*
|
||||
* The priority queue will process more often highter priority jobs than lower.
|
||||
*/
|
||||
function PQueue(queueName: string, redisPort: number, redisHost: string, redisOpt?: Redis.ClientOpts): PQueue.PriorityQueue;
|
||||
|
||||
module PQueue {
|
||||
|
||||
export interface AddOptions extends Bull.AddOptions {
|
||||
|
||||
/**
|
||||
* "low", "normal", "medium", "high", "critical"
|
||||
*/
|
||||
priority?: string;
|
||||
}
|
||||
|
||||
|
||||
export interface PriorityQueue extends Bull.Queue {
|
||||
|
||||
/**
|
||||
* Creates a new job and adds it to the queue.
|
||||
* If the queue is empty the job will be executed directly,
|
||||
* otherwise it will be placed in the queue and executed as soon as possible.
|
||||
*/
|
||||
add(data: Object, opts?: PQueue.AddOptions): Promise<Bull.Job>;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export = PQueue;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/// <reference path="bytebuffer.d.ts" />
|
||||
|
||||
import ByteBuffer = require("bytebuffer");
|
||||
|
||||
var bb = new ByteBuffer()
|
||||
.writeIString("Hello world!")
|
||||
.flip();
|
||||
console.log(bb.readIString()+" from bytebuffer.js");
|
||||
Vendored
+615
@@ -0,0 +1,615 @@
|
||||
// Type definitions for bytebuffer.js 5.0.0
|
||||
// Project: https://github.com/dcodeIO/bytebuffer.js
|
||||
// Definitions by: Denis Cappellin <http://github.com/cappellin>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
// Definitions by: SINTEF-9012 <http://github.com/SINTEF-9012>
|
||||
|
||||
/// <reference path="../long/long.d.ts" />
|
||||
|
||||
declare class ByteBuffer
|
||||
{
|
||||
/**
|
||||
* Constructs a new ByteBuffer.
|
||||
*/
|
||||
constructor( capacity?: number, littleEndian?: boolean, noAssert?: boolean );
|
||||
|
||||
/**
|
||||
* Big endian constant that can be used instead of its boolean value. Evaluates to false.
|
||||
*/
|
||||
static BIG_ENDIAN: boolean;
|
||||
|
||||
/**
|
||||
* Default initial capacity of 16.
|
||||
*/
|
||||
static DEFAULT_CAPACITY: number;
|
||||
|
||||
/**
|
||||
* Default no assertions flag of false.
|
||||
*/
|
||||
static DEFAULT_NOASSERT: boolean;
|
||||
|
||||
/**
|
||||
* Little endian constant that can be used instead of its boolean value. Evaluates to true.
|
||||
*/
|
||||
static LITTLE_ENDIAN: boolean;
|
||||
|
||||
/**
|
||||
* Maximum number of bytes required to store a 32bit base 128 variable-length integer.
|
||||
*/
|
||||
static MAX_VARINT32_BYTES: number;
|
||||
|
||||
/**
|
||||
* Maximum number of bytes required to store a 64bit base 128 variable-length integer.
|
||||
*/
|
||||
static MAX_VARINT64_BYTES: number;
|
||||
|
||||
/**
|
||||
* Metrics representing number of bytes.Evaluates to 2.
|
||||
*/
|
||||
static METRICS_BYTES: number;
|
||||
|
||||
/**
|
||||
* Metrics representing number of UTF8 characters.Evaluates to 1.
|
||||
*/
|
||||
static METRICS_CHARS: number;
|
||||
|
||||
/**
|
||||
* ByteBuffer version.
|
||||
*/
|
||||
static VERSION: string;
|
||||
|
||||
/**
|
||||
* Backing buffer.
|
||||
*/
|
||||
buffer: ArrayBuffer;
|
||||
|
||||
/**
|
||||
* Absolute limit of the contained data. Set to the backing buffer's capacity upon allocation.
|
||||
*/
|
||||
limit: number;
|
||||
|
||||
/**
|
||||
* Whether to use little endian byte order, defaults to false for big endian.
|
||||
*/
|
||||
littleEndian: boolean;
|
||||
|
||||
/**
|
||||
* Marked offset.
|
||||
*/
|
||||
markedOffset: number;
|
||||
|
||||
/**
|
||||
* Whether to skip assertions of offsets and values, defaults to false.
|
||||
*/
|
||||
noAssert: boolean;
|
||||
|
||||
/**
|
||||
* Absolute read/write offset.
|
||||
*/
|
||||
offset: number;
|
||||
|
||||
/**
|
||||
* Data view to manipulate the backing buffer. Becomes null if the backing buffer has a capacity of 0.
|
||||
*/
|
||||
view: DataView;
|
||||
|
||||
/**
|
||||
* Allocates a new ByteBuffer backed by a buffer of the specified capacity.
|
||||
*/
|
||||
static allocate( capacity?: number, littleEndian?: number, noAssert?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Decodes a base64 encoded string to binary like window.atob does.
|
||||
*/
|
||||
static atob( b64: string ): string;
|
||||
|
||||
/**
|
||||
* Encodes a binary string to base64 like window.btoa does.
|
||||
*/
|
||||
static btoa( str: string ): string;
|
||||
|
||||
/**
|
||||
* Calculates the number of UTF8 bytes of a string.
|
||||
*/
|
||||
static calculateUTF8Byte( str: string ): number;
|
||||
|
||||
/**
|
||||
* Calculates the number of UTF8 characters of a string.JavaScript itself uses UTF- 16, so that a string's length property does not reflect its actual UTF8 size if it contains code points larger than 0xFFFF.
|
||||
*/
|
||||
static calculateUTF8Char( str: string ): number;
|
||||
|
||||
/**
|
||||
* Calculates the actual number of bytes required to store a 32bit base 128 variable-length integer.
|
||||
*/
|
||||
static calculateVariant32( value: number ): number;
|
||||
|
||||
/**
|
||||
* Calculates the actual number of bytes required to store a 64bit base 128 variable-length integer.
|
||||
*/
|
||||
static calculateVariant64( value: number | Long ): number;
|
||||
|
||||
/**
|
||||
* Concatenates multiple ByteBuffers into one.
|
||||
*/
|
||||
static concat( buffers: Array<ByteBuffer | ArrayBuffer | Uint8Array | string>, encoding?: string | boolean, litteEndian?: boolean, noAssert?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Decodes a base64 encoded string to a ByteBuffer.
|
||||
*/
|
||||
static fromBase64( str: string, littleEndian?: boolean, noAssert?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Decodes a binary encoded string, that is using only characters 0x00-0xFF as bytes, to a ByteBuffer.
|
||||
*/
|
||||
static fromBinary( str: string, littleEndian?: boolean, noAssert?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Decodes a hex encoded string with marked offsets to a ByteBuffer.
|
||||
*/
|
||||
static fromDebug( str: string, littleEndian?: boolean, noAssert?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Decodes a hex encoded string to a ByteBuffer.
|
||||
*/
|
||||
static fromHex( str: string, littleEndian?: boolean, noAssert?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Decodes an UTF8 encoded string to a ByteBuffer.
|
||||
*/
|
||||
static fromUTF8( str: string, littleEndian?: boolean, noAssert?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Gets the backing buffer type.
|
||||
*/
|
||||
static isByteBuffer( bb: any ): boolean;
|
||||
|
||||
/**
|
||||
* Wraps a buffer or a string. Sets the allocated ByteBuffer's ByteBuffer#offset to 0 and its ByteBuffer#limit to the length of the wrapped data.
|
||||
* @param buffer Anything that can be wrapped
|
||||
* @param encoding String encoding if buffer is a string ("base64", "hex", "binary", defaults to "utf8")
|
||||
* @param littleEndian Whether to use little or big endian byte order. Defaults to ByteBuffer.DEFAULT_ENDIAN.
|
||||
* @param noAssert Whether to skip assertions of offsets and values. Defaults to ByteBuffer.DEFAULT_NOASSERT.
|
||||
*/
|
||||
static wrap( buffer: ByteBuffer | ArrayBuffer | Uint8Array | string, enc?: string | boolean, littleEndian?: boolean, noAssert?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Decodes a zigzag encoded signed 32bit integer.
|
||||
*/
|
||||
static zigZagDecode32( n: number ): number;
|
||||
|
||||
/**
|
||||
* Decodes a zigzag encoded signed 64bit integer.
|
||||
*/
|
||||
static zigZagDecode64( n: number | Long ): Long;
|
||||
|
||||
/**
|
||||
* Zigzag encodes a signed 32bit integer so that it can be effectively used with varint encoding.
|
||||
*/
|
||||
static zigZagEncode32( n: number ): number;
|
||||
|
||||
/**
|
||||
* Zigzag encodes a signed 64bit integer so that it can be effectively used with varint encoding.
|
||||
*/
|
||||
static zigZagEncode64( n: number | Long ): Long;
|
||||
|
||||
/**
|
||||
* Switches (to) big endian byte order.
|
||||
*/
|
||||
BE( bigEndian?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Switches (to) little endian byte order.
|
||||
*/
|
||||
LE( bigEndian?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Appends some data to this ByteBuffer. This will overwrite any contents behind the specified offset up to the appended data's length.
|
||||
*/
|
||||
append( source: ByteBuffer | ArrayBuffer | Uint8Array | string, encoding?: string | number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Appends this ByteBuffer's contents to another ByteBuffer. This will overwrite any contents behind the specified offset up to the length of this ByteBuffer's data.
|
||||
*/
|
||||
appendTo( target: ByteBuffer, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Enables or disables assertions of argument types and offsets. Assertions are enabled by default but you can opt to disable them if your code already makes sure that everything is valid.
|
||||
*/
|
||||
assert( assert: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Gets the capacity of this ByteBuffer's backing buffer.
|
||||
*/
|
||||
capacity(): number;
|
||||
|
||||
/**
|
||||
* Clears this ByteBuffer's offsets by setting ByteBuffer#offset to 0 and
|
||||
* ByteBuffer#limit to the backing buffer's capacity. Discards ByteBuffer#markedOffset.
|
||||
*/
|
||||
clear(): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Creates a cloned instance of this ByteBuffer, preset with this ByteBuffer's values for ByteBuffer#offset, ByteBuffer#markedOffset and ByteBuffer#limit.
|
||||
*/
|
||||
clone( copy?: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Compacts this ByteBuffer to be backed by a ByteBuffer#buffer of its contents' length. Contents are the bytes between ByteBuffer#offset and ByteBuffer#limit. Will set offset = 0 and limit = capacity and adapt ByteBuffer#markedOffset to the same relative position if set.
|
||||
*/
|
||||
compact( begin?: number, end?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Creates a copy of this ByteBuffer's contents. Contents are the bytes between ByteBuffer#offset and ByteBuffer#limit.
|
||||
*/
|
||||
copy( begin?: number, end?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Copies this ByteBuffer's contents to another ByteBuffer. Contents are the bytes between ByteBuffer#offset and ByteBuffer#limit.
|
||||
*/
|
||||
copyTo( target: ByteBuffer, targetOffset?: number, sourceOffset?: number, sourceLimit?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Makes sure that this ByteBuffer is backed by a ByteBuffer#buffer of at least the specified capacity. If the current capacity is exceeded, it will be doubled. If double the current capacity is less than the required capacity, the required capacity will be used instead.
|
||||
*/
|
||||
ensureCapacity( capacity: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Overwrites this ByteBuffer's contents with the specified value. Contents are the bytes between ByteBuffer#offset and ByteBuffer#limit.
|
||||
*/
|
||||
fill( value: number | string, begin?: number, end?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Makes this ByteBuffer ready for a new sequence of write or relative read operations. Sets limit = offset and offset = 0. Make sure always to flip a ByteBuffer when all relative read or write operations are complete.
|
||||
*/
|
||||
flip(): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Marks an offset on this ByteBuffer to be used later.
|
||||
*/
|
||||
mark( offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Sets the byte order.
|
||||
*/
|
||||
order( littleEndian: boolean ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Prepends some data to this ByteBuffer. This will overwrite any contents before the specified offset up to the prepended data's length. If there is not enough space available before the specified offset, the backing buffer will be resized and its contents moved accordingly.
|
||||
*/
|
||||
prepend( source: ByteBuffer | string | ArrayBuffer, encoding?: string | number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Prepends this ByteBuffer to another ByteBuffer. This will overwrite any contents before the specified offset up to the prepended data's length. If there is not enough space available before the specified offset, the backing buffer will be resized and its contents moved accordingly.
|
||||
*/
|
||||
prependTo( target: ByteBuffer, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Prints debug information about this ByteBuffer's contents.
|
||||
*/
|
||||
printDebug( out?: ( text: string ) => void ): void;
|
||||
|
||||
/**
|
||||
* Reads an 8bit signed integer. This is an alias of ByteBuffer#readInt8.
|
||||
*/
|
||||
readByte( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a NULL-terminated UTF8 encoded string. For this to work the string read must not contain any NULL characters itself.
|
||||
*/
|
||||
readCString( offset?: number ): string;
|
||||
|
||||
/**
|
||||
* Reads a 64bit float. This is an alias of ByteBuffer#readFloat64.
|
||||
*/
|
||||
readDouble( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 32bit float. This is an alias of ByteBuffer#readFloat32.
|
||||
*/
|
||||
readFloat( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 32bit float.
|
||||
*/
|
||||
readFloat32( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 64bit float.
|
||||
*/
|
||||
readFloat64( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a length as uint32 prefixed UTF8 encoded string.
|
||||
*/
|
||||
readIString( offset?: number ): string;
|
||||
|
||||
/**
|
||||
* Reads a 32bit signed integer.This is an alias of ByteBuffer#readInt32.
|
||||
*/
|
||||
readInt( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 16bit signed integer.
|
||||
*/
|
||||
readInt16( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 32bit signed integer.
|
||||
*/
|
||||
readInt32( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 64bit signed integer.
|
||||
*/
|
||||
readInt64( offset?: number ): Long;
|
||||
|
||||
/**
|
||||
* Reads an 8bit signed integer.
|
||||
*/
|
||||
readInt8( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 64bit signed integer. This is an alias of ByteBuffer#readInt64.
|
||||
*/
|
||||
readLong( offset?: number ): Long;
|
||||
|
||||
/**
|
||||
* Reads a 16bit signed integer. This is an alias of ByteBuffer#readInt16.
|
||||
*/
|
||||
readShort( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads an UTF8 encoded string. This is an alias of ByteBuffer#readUTF8String.
|
||||
*/
|
||||
readString( length: number, metrics?: number, offset?: number ): string;
|
||||
|
||||
/**
|
||||
* Reads an UTF8 encoded string.
|
||||
*/
|
||||
readUTF8String( chars: number, offset?: number ): string;
|
||||
|
||||
/**
|
||||
* Reads a 16bit unsigned integer.
|
||||
*/
|
||||
readUint16( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 32bit unsigned integer.
|
||||
*/
|
||||
readUint32( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 64bit unsigned integer.
|
||||
*/
|
||||
readUint64( offset?: number ): Long;
|
||||
/**
|
||||
* Reads an 8bit unsigned integer.
|
||||
*/
|
||||
readUint8( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a length as varint32 prefixed UTF8 encoded string.
|
||||
*/
|
||||
readVString( offset?: number ): string;
|
||||
|
||||
/**
|
||||
* Reads a 32bit base 128 variable-length integer.
|
||||
*/
|
||||
readVarint32( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a zig-zag encoded 32bit base 128 variable-length integer.
|
||||
*/
|
||||
readVarint32ZiZag( offset?: number ): number;
|
||||
|
||||
/**
|
||||
* Reads a 64bit base 128 variable-length integer. Requires Long.js.
|
||||
*/
|
||||
readVarint64( offset?: number ): Long;
|
||||
|
||||
/**
|
||||
* Reads a zig-zag encoded 64bit base 128 variable-length integer. Requires Long.js.
|
||||
*/
|
||||
readVarint64ZigZag( offset?: number ): Long;
|
||||
|
||||
/**
|
||||
* Gets the number of remaining readable bytes. Contents are the bytes between ByteBuffer#offset and ByteBuffer#limit, so this returns limit - offset.
|
||||
*/
|
||||
remaining(): number;
|
||||
|
||||
/**
|
||||
* Resets this ByteBuffer's ByteBuffer#offset. If an offset has been marked through ByteBuffer#mark before, offset will be set to ByteBuffer#markedOffset, which will then be discarded. If no offset has been marked, sets offset = 0.
|
||||
*/
|
||||
reset(): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Resizes this ByteBuffer to be backed by a buffer of at least the given capacity. Will do nothing if already that large or larger.
|
||||
*/
|
||||
resize( capacity: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Reverses this ByteBuffer's contents
|
||||
*/
|
||||
reverse( begin?: number, end?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Skips the next length bytes. This will just advance
|
||||
*/
|
||||
skip( length: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Slices this ByteBuffer by creating a cloned instance with offset = begin and limit = end.
|
||||
*/
|
||||
slice( begin?: number, end?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Returns a raw buffer compacted to contain this ByteBuffer's contents. Contents are the bytes between ByteBuffer#offset and ByteBuffer#limit. Will transparently ByteBuffer#flip this ByteBuffer if offset > limit but the actual offsets remain untouched. This is an alias of ByteBuffer#toBuffer.
|
||||
*/
|
||||
toArrayBuffer( forceCopy?: boolean ): ArrayBuffer;
|
||||
|
||||
/**
|
||||
* Encodes this ByteBuffer's contents to a base64 encoded string.
|
||||
*/
|
||||
toBase64( begin?: number, end?: number ): string;
|
||||
|
||||
/**
|
||||
* Encodes this ByteBuffer to a binary encoded string, that is using only characters 0x00-0xFF as bytes.
|
||||
*/
|
||||
toBinary( begin?: number, end?: number ): string;
|
||||
|
||||
/**
|
||||
* Returns a copy of the backing buffer that contains this ByteBuffer's contents. Contents are the bytes between ByteBuffer#offset and ByteBuffer#limit. Will transparently ByteBuffer#flip this ByteBuffer if offset > limit but the actual offsets remain untouched.
|
||||
*/
|
||||
toBuffer( forceCopy?: boolean ): ArrayBuffer;
|
||||
|
||||
/**
|
||||
*Encodes this ByteBuffer to a hex encoded string with marked offsets. Offset symbols are:
|
||||
* < : offset,
|
||||
* ' : markedOffset,
|
||||
* > : limit,
|
||||
* | : offset and limit,
|
||||
* [ : offset and markedOffset,
|
||||
* ] : markedOffset and limit,
|
||||
* ! : offset, markedOffset and limit
|
||||
*/
|
||||
toDebug( columns?: boolean ): string | Array<string>
|
||||
|
||||
/**
|
||||
* Encodes this ByteBuffer's contents to a hex encoded string.
|
||||
*/
|
||||
toHex( begin?: number, end?: number ): string;
|
||||
|
||||
/**
|
||||
* Converts the ByteBuffer's contents to a string.
|
||||
*/
|
||||
toString( encoding?: string ): string;
|
||||
|
||||
/**
|
||||
* Encodes this ByteBuffer's contents between ByteBuffer#offset and ByteBuffer#limit to an UTF8 encoded string.
|
||||
*/
|
||||
toUTF8(): string;
|
||||
|
||||
/**
|
||||
* Writes an 8bit signed integer. This is an alias of ByteBuffer#writeInt8.
|
||||
*/
|
||||
writeByte( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a NULL-terminated UTF8 encoded string. For this to work the specified string must not contain any NULL characters itself.
|
||||
*/
|
||||
writeCString( str: string, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 64bit float. This is an alias of ByteBuffer#writeFloat64.
|
||||
*/
|
||||
writeDouble( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 32bit float. This is an alias of ByteBuffer#writeFloat32.
|
||||
*/
|
||||
writeFloat( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 32bit float.
|
||||
*/
|
||||
writeFloat32( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 64bit float.
|
||||
*/
|
||||
writeFloat64( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a length as uint32 prefixed UTF8 encoded string.
|
||||
*/
|
||||
writeIString( str: string, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 32bit signed integer. This is an alias of ByteBuffer#writeInt32.
|
||||
*/
|
||||
writeInt( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 16bit signed integer.
|
||||
*/
|
||||
writeInt16( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 32bit signed integer.
|
||||
*/
|
||||
writeInt32( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 64bit signed integer.
|
||||
*/
|
||||
writeInt64( value: number | Long, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes an 8bit signed integer.
|
||||
*/
|
||||
writeInt8( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 16bit signed integer. This is an alias of ByteBuffer#writeInt16.
|
||||
*/
|
||||
writeShort( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes an UTF8 encoded string.This is an alias of ByteBuffer#writeUTF8String.
|
||||
*/
|
||||
WriteString( str: string, offset?: number ): ByteBuffer | number;
|
||||
|
||||
/**
|
||||
* Writes an UTF8 encoded string.
|
||||
*/
|
||||
writeUTF8String( str: string, offset?: number ): ByteBuffer | number;
|
||||
|
||||
/**
|
||||
* Writes a 16bit unsigned integer.
|
||||
*/
|
||||
writeUint16( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 32bit unsigned integer.
|
||||
*/
|
||||
writeUint32( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a 64bit unsigned integer.
|
||||
*/
|
||||
writeUint64( value: number | Long, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes an 8bit unsigned integer.
|
||||
*/
|
||||
writeUint8( value: number, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a length as varint32 prefixed UTF8 encoded string.
|
||||
*/
|
||||
writeVString( str: string, offset?: number ): ByteBuffer | number;
|
||||
|
||||
/**
|
||||
* Writes a 32bit base 128 variable-length integer.
|
||||
*/
|
||||
writeVarint32( value: number, offset?: number ): ByteBuffer | number;
|
||||
|
||||
/**
|
||||
* Writes a zig-zag encoded 32bit base 128 variable-length integer.
|
||||
*/
|
||||
writeVarint32ZigZag( value: number, offset?: number ): ByteBuffer | number;
|
||||
|
||||
/**
|
||||
* Writes a 64bit base 128 variable-length integer.
|
||||
*/
|
||||
writeVarint64( value: number | Long, offset?: number ): ByteBuffer;
|
||||
|
||||
/**
|
||||
* Writes a zig-zag encoded 64bit base 128 variable-length integer.
|
||||
*/
|
||||
writeVarint64ZigZag( value: number | Long, offset?: number ): ByteBuffer | number;
|
||||
}
|
||||
|
||||
declare module 'bytebuffer' {
|
||||
export = ByteBuffer;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/// <reference path="chai-string.d.ts" />
|
||||
/// <reference path="../mocha/mocha.d.ts" />
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
var should = chai.should();
|
||||
var assert = chai.assert;
|
||||
var expect = chai.expect;
|
||||
|
||||
var chai_string = require('chai-string');
|
||||
chai.use(chai_string);
|
||||
|
||||
describe('chai-string', function() {
|
||||
|
||||
describe('#startsWith', function() {
|
||||
|
||||
it('check that', function() {
|
||||
var obj = { foo: 'hello world' };
|
||||
expect(obj).to.have.property('foo').that.startsWith('hello');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('#startWith', function() {
|
||||
|
||||
it('should return true', function() {
|
||||
var str = 'abcdef',
|
||||
prefix = 'abc';
|
||||
str.should.startWith(prefix);
|
||||
});
|
||||
|
||||
it('should return false', function() {
|
||||
var str = 'abcdef',
|
||||
prefix = 'cba';
|
||||
str.should.not.startWith(prefix);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('#endWith', function() {
|
||||
|
||||
it('should return true', function() {
|
||||
var str = 'abcdef',
|
||||
suffix = 'def';
|
||||
str.should.endWith(suffix);
|
||||
});
|
||||
|
||||
it('should return false', function() {
|
||||
var str = 'abcdef',
|
||||
suffix = 'fed';
|
||||
str.should.not.endWith(suffix);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('tdd alias', function() {
|
||||
|
||||
beforeEach(function() {
|
||||
this.str = 'abcdef';
|
||||
this.str2 = 'a\nb\tc\r d ef';
|
||||
});
|
||||
|
||||
it('.startsWith', function() {
|
||||
assert.startsWith(this.str, 'abc');
|
||||
});
|
||||
|
||||
it('.notStartsWith', function() {
|
||||
assert.notStartsWith(this.str, 'cba');
|
||||
});
|
||||
|
||||
it('.endsWith', function() {
|
||||
assert.endsWith(this.str, 'def');
|
||||
});
|
||||
|
||||
it('.notEndsWith', function() {
|
||||
assert.notEndsWith(this.str, 'fed');
|
||||
});
|
||||
|
||||
it('.equalIgnoreCase', function() {
|
||||
assert.equalIgnoreCase(this.str, 'AbCdEf');
|
||||
});
|
||||
|
||||
it('.notEqualIgnoreCase', function() {
|
||||
assert.notEqualIgnoreCase(this.str, 'abDDD');
|
||||
});
|
||||
|
||||
it('.equalIgnoreSpaces', function() {
|
||||
assert.equalIgnoreSpaces(this.str, this.str2);
|
||||
});
|
||||
|
||||
it('.notEqualIgnoreSpaces', function() {
|
||||
assert.notEqualIgnoreSpaces(this.str, this.str2 + 'g');
|
||||
});
|
||||
|
||||
it('.singleLine', function() {
|
||||
assert.singleLine(this.str);
|
||||
});
|
||||
|
||||
it('.notSingleLine', function() {
|
||||
assert.notSingleLine("abc\ndef");
|
||||
});
|
||||
|
||||
it('.reverseOf', function() {
|
||||
assert.reverseOf(this.str, 'fedcba');
|
||||
});
|
||||
|
||||
it('.notReverseOf', function() {
|
||||
assert.notReverseOf(this.str, 'aaaaa');
|
||||
});
|
||||
|
||||
it('.palindrome', function() {
|
||||
assert.palindrome('abcba');
|
||||
assert.palindrome('abccba');
|
||||
assert.palindrome('');
|
||||
});
|
||||
|
||||
it('.notPalindrome', function() {
|
||||
assert.notPalindrome(this.str);
|
||||
});
|
||||
|
||||
it('.entriesCount', function() {
|
||||
assert.entriesCount('abcabd', 'ab', 2);
|
||||
assert.entriesCount('ababd', 'ab', 2);
|
||||
assert.entriesCount('abab', 'ab', 2);
|
||||
assert.entriesCount('', 'ab', 0);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
Vendored
+45
@@ -0,0 +1,45 @@
|
||||
// Type definitions for chai-string 1.1.4
|
||||
// Project: https://github.com/onechiporenko/chai-string
|
||||
// Definitions by: Nick Malaguti <https://github.com/nmalaguti/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
///<reference path="../chai/chai.d.ts" />
|
||||
|
||||
declare module Chai {
|
||||
interface Assertion extends LanguageChains, NumericComparison, TypeComparison {
|
||||
startsWith(expected: string, message?: string): Assertion;
|
||||
startWith(expected: string, message?: string): Assertion;
|
||||
endsWith(expected: string, message?: string): Assertion;
|
||||
endWith(expected: string, message?: string): Assertion;
|
||||
equalIgnoreCase(expected: string, message?: string): Assertion;
|
||||
equalIgnoreSpaces(expected: string, message?: string): Assertion;
|
||||
singleLine(message?: string): Assertion;
|
||||
reverseOf(message?: string): Assertion;
|
||||
palindrome(message?: string): Assertion;
|
||||
entriesCount(substr: string, expected: number, message?: string): Assertion;
|
||||
}
|
||||
|
||||
export interface Assert {
|
||||
startsWith(val: string, exp: string, msg?: string): void;
|
||||
notStartsWith(val: string, exp: string, msg?: string): void;
|
||||
endsWith(val: string, exp: string, msg?: string): void;
|
||||
notEndsWith(val: string, exp: string, msg?: string): void;
|
||||
equalIgnoreCase(val: string, exp: string, msg?: string): void;
|
||||
notEqualIgnoreCase(val: string, exp: string, msg?: string): void;
|
||||
equalIgnoreSpaces(val: string, exp: string, msg?: string): void;
|
||||
notEqualIgnoreSpaces(val: string, exp: string, msg?: string): void;
|
||||
singleLine(val: string, msg?: string): void;
|
||||
notSingleLine(val: string, msg?: string): void;
|
||||
reverseOf(val: string, exp: string, msg?: string): void;
|
||||
notReverseOf(val: string, exp: string, msg?: string): void;
|
||||
palindrome(val: string, msg?: string): void;
|
||||
notPalindrome(val: string, msg?: string): void;
|
||||
entriesCount(str: string, substr: string, count: number, msg?: string): void;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'chai-string' {
|
||||
function chaiString(chai: any, utils: any): void;
|
||||
namespace chaiString {}
|
||||
export = chaiString;
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/// <reference path="chai-things.d.ts" />
|
||||
|
||||
import chai = require('chai');
|
||||
import chaiThings = require('chai-things');
|
||||
|
||||
chai.use(chaiThings);
|
||||
|
||||
function test_somethingSyntax() {
|
||||
[].should.not.include.something();
|
||||
[].should.not.include.something.that.equals(1);
|
||||
|
||||
var array = [{ a: 1 }, { b: 2 }];
|
||||
array.should.include.something();
|
||||
array.should.include.something.that.deep.equals({ b: 2 });
|
||||
array.should.include.something.that.not.deep.equals({ b: 2 });
|
||||
array.should.not.include.something.that.deep.equals({ c: 3 });
|
||||
array.should.include.something.that.not.deep.equals({ c: 3 });
|
||||
array.should.include.something.with.property('b', 2);
|
||||
array.should.not.include.something.with.property('b', 3);
|
||||
|
||||
var array2 = [{ a: 'b' }, { a: 'b' }];
|
||||
array2.should.include.something.that.have.property("a");
|
||||
array2.should.include.something.that.have.property("a").not.equal("d");
|
||||
}
|
||||
|
||||
function test_somethingVariantsSyntax() {
|
||||
[].should.not.include.any();
|
||||
[].should.not.include.any.that.deep.equal({ b: 2 });
|
||||
|
||||
var array = [{ a: 1 }, { b: 2 }];
|
||||
array.should.include.a.thing();
|
||||
array.should.include.a.thing.that.deep.equals({ b: 2 });
|
||||
array.should.include.an.item();
|
||||
array.should.include.an.item.that.deep.equals({ b: 2 });
|
||||
array.should.include.one.that.deep.equals({ b: 2 });
|
||||
array.should.include.some();
|
||||
array.should.include.some.that.deep.equal({ b: 2 });
|
||||
}
|
||||
|
||||
function test_allSyntax() {
|
||||
[].should.all.equal(1);
|
||||
[].should.all.not.equal(1);
|
||||
|
||||
var array = [1, 1];
|
||||
array.should.all.equal(1);
|
||||
array.should.all.not.equal(2);
|
||||
array.should.not.all.equal(2);
|
||||
array.should.not.all.not.equal(1);
|
||||
|
||||
var array2 = [1, 2];
|
||||
array2.should.not.all.equal(1);
|
||||
array2.should.not.all.equal(2);
|
||||
array2.should.not.all.not.equal(1);
|
||||
array2.should.not.all.not.equal(2);
|
||||
|
||||
var array3 = [{ a: 'b' }, { a: 'c' }];
|
||||
array3.should.all.have.property("a");
|
||||
array3.should.all.have.property("a").not.equal("d");
|
||||
}
|
||||
Vendored
+55
@@ -0,0 +1,55 @@
|
||||
// Type definitions for chai-things
|
||||
// Project: https://github.com/chaijs/chai-things
|
||||
// Definitions by: David Broder-Rodgers <https://github.com/DavidBR-SW/>
|
||||
// Definitions: https://github.com/DavidBR-SW/DefinitelyTyped
|
||||
|
||||
/// <reference path="../chai/chai.d.ts" />
|
||||
|
||||
declare module Chai {
|
||||
interface ArrayAssertion {
|
||||
include: ArrayInclude;
|
||||
contain: ArrayInclude;
|
||||
not: ArrayAssertion;
|
||||
all: Assertion;
|
||||
}
|
||||
|
||||
interface ArrayInclude {
|
||||
(item: any): any;
|
||||
a: Item;
|
||||
an: Item;
|
||||
one: Something;
|
||||
some: Something;
|
||||
something: Something;
|
||||
any: Anything;
|
||||
}
|
||||
|
||||
interface Anything extends Assertion {
|
||||
(): any;
|
||||
that: Assertion
|
||||
with: Assertion
|
||||
}
|
||||
|
||||
interface Something extends Assertion {
|
||||
(): any;
|
||||
that: Assertion
|
||||
with: Assertion
|
||||
}
|
||||
|
||||
interface Item {
|
||||
item: Something;
|
||||
thing: Something;
|
||||
}
|
||||
|
||||
interface Deep {
|
||||
equals: Equal;
|
||||
}
|
||||
}
|
||||
|
||||
interface Array<T> {
|
||||
should: Chai.ArrayAssertion;
|
||||
}
|
||||
|
||||
declare module "chai-things" {
|
||||
function chaiThings(chai: any, utils: any): void;
|
||||
export = chaiThings;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Vendored
+388
@@ -0,0 +1,388 @@
|
||||
// Type definitions for chai 3.2.0
|
||||
// Project: http://chaijs.com/
|
||||
// Definitions by: Jed Mao <https://github.com/jedmao/>,
|
||||
// Bart van der Schoor <https://github.com/Bartvds>,
|
||||
// Andrew Brown <https://github.com/AGBrown>,
|
||||
// Olivier Chevet <https://github.com/olivr70>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
// <reference path="../assertion-error/assertion-error.d.ts"/>
|
||||
|
||||
declare module Chai {
|
||||
|
||||
interface ChaiStatic {
|
||||
expect: ExpectStatic;
|
||||
should(): Should;
|
||||
/**
|
||||
* Provides a way to extend the internals of Chai
|
||||
*/
|
||||
use(fn: (chai: any, utils: any) => void): any;
|
||||
assert: AssertStatic;
|
||||
config: Config;
|
||||
AssertionError: typeof AssertionError;
|
||||
}
|
||||
|
||||
export interface ExpectStatic extends AssertionStatic {
|
||||
fail(actual?: any, expected?: any, message?: string, operator?: string): void;
|
||||
}
|
||||
|
||||
export interface AssertStatic extends Assert {
|
||||
}
|
||||
|
||||
export interface AssertionStatic {
|
||||
(target: any, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface ShouldAssertion {
|
||||
equal(value1: any, value2: any, message?: string): void;
|
||||
Throw: ShouldThrow;
|
||||
throw: ShouldThrow;
|
||||
exist(value: any, message?: string): void;
|
||||
}
|
||||
|
||||
interface Should extends ShouldAssertion {
|
||||
not: ShouldAssertion;
|
||||
fail(actual: any, expected: any, message?: string, operator?: string): void;
|
||||
}
|
||||
|
||||
interface ShouldThrow {
|
||||
(actual: Function): void;
|
||||
(actual: Function, expected: string|RegExp, message?: string): void;
|
||||
(actual: Function, constructor: Error|Function, expected?: string|RegExp, message?: string): void;
|
||||
}
|
||||
|
||||
interface Assertion extends LanguageChains, NumericComparison, TypeComparison {
|
||||
not: Assertion;
|
||||
deep: Deep;
|
||||
any: KeyFilter;
|
||||
all: KeyFilter;
|
||||
a: TypeComparison;
|
||||
an: TypeComparison;
|
||||
include: Include;
|
||||
includes: Include;
|
||||
contain: Include;
|
||||
contains: Include;
|
||||
ok: Assertion;
|
||||
true: Assertion;
|
||||
false: Assertion;
|
||||
null: Assertion;
|
||||
undefined: Assertion;
|
||||
NaN: Assertion;
|
||||
exist: Assertion;
|
||||
empty: Assertion;
|
||||
arguments: Assertion;
|
||||
Arguments: Assertion;
|
||||
equal: Equal;
|
||||
equals: Equal;
|
||||
eq: Equal;
|
||||
eql: Equal;
|
||||
eqls: Equal;
|
||||
property: Property;
|
||||
ownProperty: OwnProperty;
|
||||
haveOwnProperty: OwnProperty;
|
||||
ownPropertyDescriptor: OwnPropertyDescriptor;
|
||||
haveOwnPropertyDescriptor: OwnPropertyDescriptor;
|
||||
length: Length;
|
||||
lengthOf: Length;
|
||||
match: Match;
|
||||
matches: Match;
|
||||
string(string: string, message?: string): Assertion;
|
||||
keys: Keys;
|
||||
key(string: string): Assertion;
|
||||
throw: Throw;
|
||||
throws: Throw;
|
||||
Throw: Throw;
|
||||
respondTo: RespondTo;
|
||||
respondsTo: RespondTo;
|
||||
itself: Assertion;
|
||||
satisfy: Satisfy;
|
||||
satisfies: Satisfy;
|
||||
closeTo(expected: number, delta: number, message?: string): Assertion;
|
||||
members: Members;
|
||||
increase: PropertyChange;
|
||||
increases: PropertyChange;
|
||||
decrease: PropertyChange;
|
||||
decreases: PropertyChange;
|
||||
change: PropertyChange;
|
||||
changes: PropertyChange;
|
||||
extensible: Assertion;
|
||||
sealed: Assertion;
|
||||
frozen: Assertion;
|
||||
|
||||
}
|
||||
|
||||
interface LanguageChains {
|
||||
to: Assertion;
|
||||
be: Assertion;
|
||||
been: Assertion;
|
||||
is: Assertion;
|
||||
that: Assertion;
|
||||
which: Assertion;
|
||||
and: Assertion;
|
||||
has: Assertion;
|
||||
have: Assertion;
|
||||
with: Assertion;
|
||||
at: Assertion;
|
||||
of: Assertion;
|
||||
same: Assertion;
|
||||
}
|
||||
|
||||
interface NumericComparison {
|
||||
above: NumberComparer;
|
||||
gt: NumberComparer;
|
||||
greaterThan: NumberComparer;
|
||||
least: NumberComparer;
|
||||
gte: NumberComparer;
|
||||
below: NumberComparer;
|
||||
lt: NumberComparer;
|
||||
lessThan: NumberComparer;
|
||||
most: NumberComparer;
|
||||
lte: NumberComparer;
|
||||
within(start: number, finish: number, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface NumberComparer {
|
||||
(value: number, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface TypeComparison {
|
||||
(type: string, message?: string): Assertion;
|
||||
instanceof: InstanceOf;
|
||||
instanceOf: InstanceOf;
|
||||
}
|
||||
|
||||
interface InstanceOf {
|
||||
(constructor: Object, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface Deep {
|
||||
equal: Equal;
|
||||
include: Include;
|
||||
property: Property;
|
||||
members: Members;
|
||||
}
|
||||
|
||||
interface KeyFilter {
|
||||
keys: Keys;
|
||||
}
|
||||
|
||||
interface Equal {
|
||||
(value: any, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface Property {
|
||||
(name: string, value?: any, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface OwnProperty {
|
||||
(name: string, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface OwnPropertyDescriptor {
|
||||
(name: string, descriptor: PropertyDescriptor, message?: string): Assertion;
|
||||
(name: string, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface Length extends LanguageChains, NumericComparison {
|
||||
(length: number, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface Include {
|
||||
(value: Object, message?: string): Assertion;
|
||||
(value: string, message?: string): Assertion;
|
||||
(value: number, message?: string): Assertion;
|
||||
keys: Keys;
|
||||
members: Members;
|
||||
any: KeyFilter;
|
||||
all: KeyFilter;
|
||||
}
|
||||
|
||||
interface Match {
|
||||
(regexp: RegExp|string, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface Keys {
|
||||
(...keys: string[]): Assertion;
|
||||
(keys: any[]): Assertion;
|
||||
(keys: Object): Assertion;
|
||||
}
|
||||
|
||||
interface Throw {
|
||||
(): Assertion;
|
||||
(expected: string, message?: string): Assertion;
|
||||
(expected: RegExp, message?: string): Assertion;
|
||||
(constructor: Error, expected?: string, message?: string): Assertion;
|
||||
(constructor: Error, expected?: RegExp, message?: string): Assertion;
|
||||
(constructor: Function, expected?: string, message?: string): Assertion;
|
||||
(constructor: Function, expected?: RegExp, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface RespondTo {
|
||||
(method: string, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface Satisfy {
|
||||
(matcher: Function, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface Members {
|
||||
(set: any[], message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface PropertyChange {
|
||||
(object: Object, prop: string, msg?: string): Assertion;
|
||||
}
|
||||
|
||||
export interface Assert {
|
||||
/**
|
||||
* @param expression Expression to test for truthiness.
|
||||
* @param message Message to display on error.
|
||||
*/
|
||||
(expression: any, message?: string): void;
|
||||
|
||||
fail(actual?: any, expected?: any, msg?: string, operator?: string): void;
|
||||
|
||||
ok(val: any, msg?: string): void;
|
||||
isOk(val: any, msg?: string): void;
|
||||
notOk(val: any, msg?: string): void;
|
||||
isNotOk(val: any, msg?: string): void;
|
||||
|
||||
equal(act: any, exp: any, msg?: string): void;
|
||||
notEqual(act: any, exp: any, msg?: string): void;
|
||||
|
||||
strictEqual(act: any, exp: any, msg?: string): void;
|
||||
notStrictEqual(act: any, exp: any, msg?: string): void;
|
||||
|
||||
deepEqual(act: any, exp: any, msg?: string): void;
|
||||
notDeepEqual(act: any, exp: any, msg?: string): void;
|
||||
|
||||
isTrue(val: any, msg?: string): void;
|
||||
isFalse(val: any, msg?: string): void;
|
||||
|
||||
isNull(val: any, msg?: string): void;
|
||||
isNotNull(val: any, msg?: string): void;
|
||||
|
||||
isUndefined(val: any, msg?: string): void;
|
||||
isDefined(val: any, msg?: string): void;
|
||||
|
||||
isNaN(val: any, msg?: string): void;
|
||||
isNotNaN(val: any, msg?: string): void;
|
||||
|
||||
isAbove(val: number, abv: number, msg?: string): void;
|
||||
isBelow(val: number, blw: number, msg?: string): void;
|
||||
|
||||
isFunction(val: any, msg?: string): void;
|
||||
isNotFunction(val: any, msg?: string): void;
|
||||
|
||||
isObject(val: any, msg?: string): void;
|
||||
isNotObject(val: any, msg?: string): void;
|
||||
|
||||
isArray(val: any, msg?: string): void;
|
||||
isNotArray(val: any, msg?: string): void;
|
||||
|
||||
isString(val: any, msg?: string): void;
|
||||
isNotString(val: any, msg?: string): void;
|
||||
|
||||
isNumber(val: any, msg?: string): void;
|
||||
isNotNumber(val: any, msg?: string): void;
|
||||
|
||||
isBoolean(val: any, msg?: string): void;
|
||||
isNotBoolean(val: any, msg?: string): void;
|
||||
|
||||
typeOf(val: any, type: string, msg?: string): void;
|
||||
notTypeOf(val: any, type: string, msg?: string): void;
|
||||
|
||||
instanceOf(val: any, type: Function, msg?: string): void;
|
||||
notInstanceOf(val: any, type: Function, msg?: string): void;
|
||||
|
||||
include(exp: string, inc: any, msg?: string): void;
|
||||
include(exp: any[], inc: any, msg?: string): void;
|
||||
|
||||
notInclude(exp: string, inc: any, msg?: string): void;
|
||||
notInclude(exp: any[], inc: any, msg?: string): void;
|
||||
|
||||
match(exp: any, re: RegExp, msg?: string): void;
|
||||
notMatch(exp: any, re: RegExp, msg?: string): void;
|
||||
|
||||
property(obj: Object, prop: string, msg?: string): void;
|
||||
notProperty(obj: Object, prop: string, msg?: string): void;
|
||||
deepProperty(obj: Object, prop: string, msg?: string): void;
|
||||
notDeepProperty(obj: Object, prop: string, msg?: string): void;
|
||||
|
||||
propertyVal(obj: Object, prop: string, val: any, msg?: string): void;
|
||||
propertyNotVal(obj: Object, prop: string, val: any, msg?: string): void;
|
||||
|
||||
deepPropertyVal(obj: Object, prop: string, val: any, msg?: string): void;
|
||||
deepPropertyNotVal(obj: Object, prop: string, val: any, msg?: string): void;
|
||||
|
||||
lengthOf(exp: any, len: number, msg?: string): void;
|
||||
//alias frenzy
|
||||
throw(fn: Function, msg?: string): void;
|
||||
throw(fn: Function, regExp: RegExp): void;
|
||||
throw(fn: Function, errType: Function, msg?: string): void;
|
||||
throw(fn: Function, errType: Function, regExp: RegExp): void;
|
||||
|
||||
throws(fn: Function, msg?: string): void;
|
||||
throws(fn: Function, regExp: RegExp): void;
|
||||
throws(fn: Function, errType: Function, msg?: string): void;
|
||||
throws(fn: Function, errType: Function, regExp: RegExp): void;
|
||||
|
||||
Throw(fn: Function, msg?: string): void;
|
||||
Throw(fn: Function, regExp: RegExp): void;
|
||||
Throw(fn: Function, errType: Function, msg?: string): void;
|
||||
Throw(fn: Function, errType: Function, regExp: RegExp): void;
|
||||
|
||||
doesNotThrow(fn: Function, msg?: string): void;
|
||||
doesNotThrow(fn: Function, regExp: RegExp): void;
|
||||
doesNotThrow(fn: Function, errType: Function, msg?: string): void;
|
||||
doesNotThrow(fn: Function, errType: Function, regExp: RegExp): void;
|
||||
|
||||
operator(val: any, operator: string, val2: any, msg?: string): void;
|
||||
closeTo(act: number, exp: number, delta: number, msg?: string): void;
|
||||
|
||||
sameMembers(set1: any[], set2: any[], msg?: string): void;
|
||||
sameDeepMembers(set1: any[], set2: any[], msg?: string): void;
|
||||
includeMembers(superset: any[], subset: any[], msg?: string): void;
|
||||
|
||||
ifError(val: any, msg?: string): void;
|
||||
|
||||
isExtensible(obj: {}, msg?: string): void;
|
||||
extensible(obj: {}, msg?: string): void;
|
||||
isNotExtensible(obj: {}, msg?: string): void;
|
||||
notExtensible(obj: {}, msg?: string): void;
|
||||
|
||||
isSealed(obj: {}, msg?: string): void;
|
||||
sealed(obj: {}, msg?: string): void;
|
||||
isNotSealed(obj: {}, msg?: string): void;
|
||||
notSealed(obj: {}, msg?: string): void;
|
||||
|
||||
isFrozen(obj: Object, msg?: string): void;
|
||||
frozen(obj: Object, msg?: string): void;
|
||||
isNotFrozen(obj: Object, msg?: string): void;
|
||||
notFrozen(obj: Object, msg?: string): void;
|
||||
|
||||
|
||||
}
|
||||
|
||||
export interface Config {
|
||||
includeStack: boolean;
|
||||
}
|
||||
|
||||
export class AssertionError {
|
||||
constructor(message: string, _props?: any, ssf?: Function);
|
||||
name: string;
|
||||
message: string;
|
||||
showDiff: boolean;
|
||||
stack: string;
|
||||
}
|
||||
}
|
||||
|
||||
declare var chai: Chai.ChaiStatic;
|
||||
|
||||
declare module "chai" {
|
||||
export = chai;
|
||||
}
|
||||
|
||||
interface Object {
|
||||
should: Chai.Assertion;
|
||||
}
|
||||
@@ -1166,6 +1166,25 @@ function closeTo() {
|
||||
}, 'blah: expected -10 to be close to 20 +/- 29');
|
||||
}
|
||||
|
||||
function approximately() {
|
||||
expect(1.5).to.be.approximately(1.0, 0.5);
|
||||
(1.5).should.be.approximately(1.0, 0.5);
|
||||
expect(10).to.be.approximately(20, 20);
|
||||
(10).should.be.approximately(20, 20);
|
||||
expect(-10).to.be.approximately(20, 30);
|
||||
(-10).should.be.approximately(20, 30);
|
||||
|
||||
err(() => {
|
||||
expect(2).to.be.approximately(1.0, 0.5, 'blah');
|
||||
(2).should.be.approximately(1.0, 0.5, 'blah');
|
||||
}, 'blah: expected 2 to be close to 1 +/- 0.5');
|
||||
|
||||
err(() => {
|
||||
expect(-10).to.be.approximately(20, 29, 'blah');
|
||||
(-10).should.be.approximately(20, 29, 'blah');
|
||||
}, 'blah: expected -10 to be close to 20 +/- 29');
|
||||
}
|
||||
|
||||
function includeMembers() {
|
||||
expect([1, 2, 3]).to.include.members([]);
|
||||
[1, 2, 3].should.include.members([]);
|
||||
@@ -1255,6 +1274,20 @@ function increaseDecreaseChange() {
|
||||
same.should.not.change(obj, "val");
|
||||
}
|
||||
|
||||
function oneOf() {
|
||||
var obj = { z: 3 };
|
||||
|
||||
expect(5).to.be.oneOf([1, 5, 4]);
|
||||
expect('z').to.be.oneOf(['x', 'y', 'z']);
|
||||
expect(obj).to.be.oneOf([obj]);
|
||||
|
||||
expect(5).to.not.be.oneOf([1, -12, 4]);
|
||||
expect(5).to.not.be.oneOf([1, [5], 4]);
|
||||
expect('z').to.not.be.oneOf(['w', 'x', 'y']);
|
||||
expect('z').to.not.be.oneOf(['x', 'y', ['z']]);
|
||||
expect(obj).to.not.be.oneOf([{ z: 3 }]);
|
||||
}
|
||||
|
||||
//tdd
|
||||
declare function suite(description: string, action: Function): void;
|
||||
declare function test(description: string, action: Function): void;
|
||||
@@ -1879,6 +1912,20 @@ suite('assert', () => {
|
||||
}, 'expected -10 to be close to 20 +/- 29');
|
||||
});
|
||||
|
||||
test('approximately', () => {
|
||||
assert.approximately(1.5, 1.0, 0.5);
|
||||
assert.approximately(10, 20, 20);
|
||||
assert.approximately(-10, 20, 30);
|
||||
|
||||
err(() => {
|
||||
assert.approximately(2, 1.0, 0.5);
|
||||
}, 'expected 2 to be close to 1 +/- 0.5');
|
||||
|
||||
err(() => {
|
||||
assert.approximately(-10, 20, 29);
|
||||
}, 'expected -10 to be close to 20 +/- 29');
|
||||
});
|
||||
|
||||
test('members', () => {
|
||||
assert.includeMembers([1, 2, 3], [2, 3]);
|
||||
assert.includeMembers([1, 2, 3], []);
|
||||
@@ -1945,4 +1992,55 @@ suite('assert', () => {
|
||||
test('notFrozen', () => { assert.notFrozen({}); });
|
||||
test('isNotFrozen', () => { assert.isNotFrozen({}); });
|
||||
|
||||
test('isNotTrue', () => {
|
||||
assert.isNotTrue(false);
|
||||
|
||||
err(() => {
|
||||
assert.isNotTrue(true);
|
||||
}, 'expected true to not be true');
|
||||
});
|
||||
|
||||
test('isNotFalse', () => {
|
||||
assert.isNotFalse(true);
|
||||
|
||||
err(() => {
|
||||
assert.isNotFalse(false);
|
||||
}, 'expected false to not be false');
|
||||
});
|
||||
|
||||
test('isAtLeast', () => {
|
||||
assert.isAtLeast(5, 3);
|
||||
assert.isAtLeast(5, 5);
|
||||
|
||||
err(() => {
|
||||
assert.isAtLeast(3, 5);
|
||||
}, 'expected 3 to be greater than or equal to 5');
|
||||
});
|
||||
|
||||
test('isAtMost', () => {
|
||||
assert.isAtMost(3, 5);
|
||||
assert.isAtMost(5, 5);
|
||||
|
||||
err(() => {
|
||||
assert.isAtMost(5, 3);
|
||||
}, 'expected 5 to be less than or equal to 3');
|
||||
});
|
||||
|
||||
test('oneOf', () => {
|
||||
var obj = { z: 3 };
|
||||
|
||||
assert.oneOf(5, [1, 5, 4]);
|
||||
assert.oneOf('z', ['x', 'y', 'z']);
|
||||
assert.oneOf(obj, [obj]);
|
||||
|
||||
err(() => {
|
||||
assert.oneOf(5, [1, [5], 4]);
|
||||
}, 'expected 5 to be one of [1, [5], 4]');
|
||||
err(() => {
|
||||
assert.oneOf('z', ['w', 'x', 'y']);
|
||||
}, 'expected "z" to be one of [w, x, y]');
|
||||
err(() => {
|
||||
assert.oneOf(obj, [{ z: 3 }]);
|
||||
}, 'expected { z: 3 } to be one of [{ z: 3 }]');
|
||||
});
|
||||
});
|
||||
|
||||
Vendored
+19
-6
@@ -1,9 +1,10 @@
|
||||
// Type definitions for chai 3.2.0
|
||||
// Type definitions for chai 3.4.0
|
||||
// Project: http://chaijs.com/
|
||||
// Definitions by: Jed Mao <https://github.com/jedmao/>,
|
||||
// Bart van der Schoor <https://github.com/Bartvds>,
|
||||
// Andrew Brown <https://github.com/AGBrown>,
|
||||
// Olivier Chevet <https://github.com/olivr70>
|
||||
// Olivier Chevet <https://github.com/olivr70>,
|
||||
// Matt Wistrand <https://github.com/mwistrand>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
// <reference path="../assertion-error/assertion-error.d.ts"/>
|
||||
@@ -19,7 +20,7 @@ declare module Chai {
|
||||
use(fn: (chai: any, utils: any) => void): any;
|
||||
assert: AssertStatic;
|
||||
config: Config;
|
||||
AssertionError: AssertionError;
|
||||
AssertionError: typeof AssertionError;
|
||||
}
|
||||
|
||||
export interface ExpectStatic extends AssertionStatic {
|
||||
@@ -97,7 +98,8 @@ declare module Chai {
|
||||
itself: Assertion;
|
||||
satisfy: Satisfy;
|
||||
satisfies: Satisfy;
|
||||
closeTo(expected: number, delta: number, message?: string): Assertion;
|
||||
closeTo: CloseTo;
|
||||
approximately: CloseTo;
|
||||
members: Members;
|
||||
increase: PropertyChange;
|
||||
increases: PropertyChange;
|
||||
@@ -108,7 +110,7 @@ declare module Chai {
|
||||
extensible: Assertion;
|
||||
sealed: Assertion;
|
||||
frozen: Assertion;
|
||||
|
||||
oneOf(list: any[], message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface LanguageChains {
|
||||
@@ -155,6 +157,10 @@ declare module Chai {
|
||||
(constructor: Object, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface CloseTo {
|
||||
(expected: number, delta: number, message?: string): Assertion;
|
||||
}
|
||||
|
||||
interface Deep {
|
||||
equal: Equal;
|
||||
include: Include;
|
||||
@@ -259,6 +265,9 @@ declare module Chai {
|
||||
isTrue(val: any, msg?: string): void;
|
||||
isFalse(val: any, msg?: string): void;
|
||||
|
||||
isNotTrue(val: any, msg?: string): void;
|
||||
isNotFalse(val: any, msg?: string): void;
|
||||
|
||||
isNull(val: any, msg?: string): void;
|
||||
isNotNull(val: any, msg?: string): void;
|
||||
|
||||
@@ -271,6 +280,9 @@ declare module Chai {
|
||||
isAbove(val: number, abv: number, msg?: string): void;
|
||||
isBelow(val: number, blw: number, msg?: string): void;
|
||||
|
||||
isAtLeast(val: number, atlst: number, msg?: string): void;
|
||||
isAtMost(val: number, atmst: number, msg?: string): void;
|
||||
|
||||
isFunction(val: any, msg?: string): void;
|
||||
isNotFunction(val: any, msg?: string): void;
|
||||
|
||||
@@ -339,6 +351,7 @@ declare module Chai {
|
||||
|
||||
operator(val: any, operator: string, val2: any, msg?: string): void;
|
||||
closeTo(act: number, exp: number, delta: number, msg?: string): void;
|
||||
approximately(act: number, exp: number, delta: number, msg?: string): void;
|
||||
|
||||
sameMembers(set1: any[], set2: any[], msg?: string): void;
|
||||
sameDeepMembers(set1: any[], set2: any[], msg?: string): void;
|
||||
@@ -361,7 +374,7 @@ declare module Chai {
|
||||
isNotFrozen(obj: Object, msg?: string): void;
|
||||
notFrozen(obj: Object, msg?: string): void;
|
||||
|
||||
|
||||
oneOf(inList: any, list: any[], msg?: string): void;
|
||||
}
|
||||
|
||||
export interface Config {
|
||||
|
||||
+30
-1
@@ -325,7 +325,7 @@ var myDoughnutChart = new Chart(ctx).Doughnut(pieData, {
|
||||
animateRotate: true,
|
||||
animateScale: false,
|
||||
legendTemplate: "<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<segments.length; i++){%><li><span style=\"background-color:<%=segments[i].fillColor%>\"></span><%if(segments[i].label){%><%=segments[i].label%><%}%></li><%}%></ul>"
|
||||
});
|
||||
});
|
||||
|
||||
var myDoughnutChartLegend: string = myDoughnutChart.generateLegend();
|
||||
var myDoughnutChartImage: string = myDoughnutChart.toBase64Image();
|
||||
@@ -341,3 +341,32 @@ myDoughnutChart.resize();
|
||||
myDoughnutChart.update();
|
||||
myDoughnutChart.stop();
|
||||
myDoughnutChart.destroy();
|
||||
|
||||
// Test using charts with overrides of a subset of global options
|
||||
var partialOpts: ChartSettings = {
|
||||
showTooltips: true,
|
||||
tooltipEvents: ["mousemove", "touchstart", "touchmove"],
|
||||
tooltipFillColor: "rgba(0,0,0,0.8)",
|
||||
tooltipFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
|
||||
tooltipFontSize: 14,
|
||||
tooltipFontStyle: "normal",
|
||||
tooltipFontColor: "#fff",
|
||||
tooltipTitleFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
|
||||
tooltipTitleFontSize: 14,
|
||||
tooltipTitleFontStyle: "bold",
|
||||
tooltipTitleFontColor: "#fff",
|
||||
tooltipYPadding: 6,
|
||||
tooltipXPadding: 6,
|
||||
tooltipCaretSize: 8,
|
||||
tooltipCornerRadius: 6,
|
||||
tooltipXOffset: 10,
|
||||
tooltipTemplate: "<%if (label){%><%=label%>: <%}%><%= value %>"
|
||||
};
|
||||
|
||||
var my2ndLineChart = new Chart(ctx).Line(lineData, partialOpts);
|
||||
var my2ndBarChart = new Chart(ctx).Bar(barData, partialOpts);
|
||||
var my2ndRadarChart = new Chart(ctx).Radar(radarData, partialOpts);
|
||||
var my2ndPolarAreaChart = new Chart(ctx).PolarArea(polarAreaData, partialOpts);
|
||||
var my2ndPieChart = new Chart(ctx).Pie(pieData, partialOpts);
|
||||
var my2ndDoughnutChart = new Chart(ctx).Doughnut(pieData, partialOpts);
|
||||
|
||||
|
||||
Vendored
+46
-44
@@ -33,49 +33,49 @@ interface CircularChartData {
|
||||
}
|
||||
|
||||
interface ChartSettings {
|
||||
animation: boolean;
|
||||
animationSteps: number;
|
||||
animationEasing: string;
|
||||
showScale: boolean;
|
||||
scaleOverride: boolean;
|
||||
scaleSteps: number;
|
||||
scaleStepWidth: number;
|
||||
scaleStartValue: number;
|
||||
scaleLineColor: string;
|
||||
scaleLineWidth: number;
|
||||
scaleShowLabels: boolean;
|
||||
scaleLabel: string;
|
||||
scaleIntegersOnly: boolean;
|
||||
scaleBeginAtZero: boolean;
|
||||
scaleFontFamily: string;
|
||||
scaleFontSize: number;
|
||||
scaleFontStyle: string;
|
||||
scaleFontColor: string;
|
||||
responsive: boolean;
|
||||
maintainAspectRatio: boolean;
|
||||
showTooltips: boolean;
|
||||
tooltipEvents: string[];
|
||||
tooltipFillColor: string;
|
||||
tooltipFontFamily: string;
|
||||
tooltipFontSize: number;
|
||||
tooltipFontStyle: string;
|
||||
tooltipFontColor: string;
|
||||
tooltipTitleFontFamily: string;
|
||||
tooltipTitleFontSize: number;
|
||||
tooltipTitleFontStyle: string;
|
||||
tooltipTitleFontColor: string;
|
||||
tooltipYPadding: number;
|
||||
tooltipXPadding: number;
|
||||
tooltipCaretSize: number;
|
||||
tooltipCornerRadius: number;
|
||||
tooltipXOffset: number;
|
||||
tooltipTemplate: string;
|
||||
multiTooltipTemplate: string;
|
||||
onAnimationProgress: () => any;
|
||||
onAnimationComplete: () => any;
|
||||
animation?: boolean;
|
||||
animationSteps?: number;
|
||||
animationEasing?: string;
|
||||
showScale?: boolean;
|
||||
scaleOverride?: boolean;
|
||||
scaleSteps?: number;
|
||||
scaleStepWidth?: number;
|
||||
scaleStartValue?: number;
|
||||
scaleLineColor?: string;
|
||||
scaleLineWidth?: number;
|
||||
scaleShowLabels?: boolean;
|
||||
scaleLabel?: string;
|
||||
scaleIntegersOnly?: boolean;
|
||||
scaleBeginAtZero?: boolean;
|
||||
scaleFontFamily?: string;
|
||||
scaleFontSize?: number;
|
||||
scaleFontStyle?: string;
|
||||
scaleFontColor?: string;
|
||||
responsive?: boolean;
|
||||
maintainAspectRatio?: boolean;
|
||||
showTooltips?: boolean;
|
||||
tooltipEvents?: string[];
|
||||
tooltipFillColor?: string;
|
||||
tooltipFontFamily?: string;
|
||||
tooltipFontSize?: number;
|
||||
tooltipFontStyle?: string;
|
||||
tooltipFontColor?: string;
|
||||
tooltipTitleFontFamily?: string;
|
||||
tooltipTitleFontSize?: number;
|
||||
tooltipTitleFontStyle?: string;
|
||||
tooltipTitleFontColor?: string;
|
||||
tooltipYPadding?: number;
|
||||
tooltipXPadding?: number;
|
||||
tooltipCaretSize?: number;
|
||||
tooltipCornerRadius?: number;
|
||||
tooltipXOffset?: number;
|
||||
tooltipTemplate?: string;
|
||||
multiTooltipTemplate?: string;
|
||||
onAnimationProgress?: () => any;
|
||||
onAnimationComplete?: () => any;
|
||||
}
|
||||
|
||||
interface ChartOptions {
|
||||
interface ChartOptions extends ChartSettings {
|
||||
scaleShowGridLines?: boolean;
|
||||
scaleGridLineColor?: string;
|
||||
scaleGridLineWidth?: number;
|
||||
@@ -136,9 +136,11 @@ interface BarChartOptions extends ChartOptions {
|
||||
barStrokeWidth?: number;
|
||||
barValueSpacing?: number;
|
||||
barDatasetSpacing?: number;
|
||||
scaleShowHorizontalLines?: boolean;
|
||||
scaleShowVerticalLines?: boolean;
|
||||
}
|
||||
|
||||
interface RadarChartOptions {
|
||||
interface RadarChartOptions extends ChartSettings {
|
||||
scaleShowLine?: boolean;
|
||||
angleShowLineOut?: boolean;
|
||||
scaleShowLabels?: boolean;
|
||||
@@ -159,7 +161,7 @@ interface RadarChartOptions {
|
||||
legendTemplate?: string;
|
||||
}
|
||||
|
||||
interface PolarAreaChartOptions {
|
||||
interface PolarAreaChartOptions extends ChartSettings {
|
||||
scaleShowLabelBackdrop?: boolean;
|
||||
scaleBackdropColor?: string;
|
||||
scaleBeginAtZero?: boolean;
|
||||
@@ -176,7 +178,7 @@ interface PolarAreaChartOptions {
|
||||
legendTemplate?: string;
|
||||
}
|
||||
|
||||
interface PieChartOptions {
|
||||
interface PieChartOptions extends ChartSettings {
|
||||
segmentShowStroke?: boolean;
|
||||
segmentStrokeColor?: string;
|
||||
segmentStrokeWidth?: number;
|
||||
|
||||
@@ -254,3 +254,11 @@ function testOptionsPage() {
|
||||
});
|
||||
}
|
||||
|
||||
chrome.storage.sync.get("myKey", function (loadedData) {
|
||||
var myValue: { x: number } = loadedData["myKey"];
|
||||
});
|
||||
|
||||
chrome.storage.onChanged.addListener(function (changes) {
|
||||
var myNewValue: { x: number } = changes["myKey"].newValue;
|
||||
var myOldValue: { x: number } = changes["myKey"].oldValue;
|
||||
});
|
||||
|
||||
Vendored
+39
-38
@@ -1,6 +1,6 @@
|
||||
// Type definitions for Chrome extension development
|
||||
// Project: http://developer.chrome.com/extensions/
|
||||
// Definitions by: Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://gitbus.com/couven92>
|
||||
// Definitions by: Matthew Kimber <https://github.com/matthewkimber>, otiai10 <https://github.com/otiai10>, couven92 <https://github.com/couven92>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path='../webrtc/MediaStream.d.ts'/>
|
||||
@@ -2646,13 +2646,13 @@ declare module chrome.extension {
|
||||
* Parameter request: The request sent by the calling script.
|
||||
* Parameter sendResponse: Function to call (at most once) when you have a response. The argument should be any JSON-ifiable object, or undefined if there is no response. If you have more than one onRequest listener in the same document, then only one may send a response.
|
||||
*/
|
||||
addListener(callback: (request: any, sender: runtime.MessageSender, sendResponse: () => void) => void): void;
|
||||
addListener(callback: (request: any, sender: runtime.MessageSender, sendResponse: (response: any) => void) => void): void;
|
||||
/**
|
||||
* @param callback The callback parameter should be a function that looks like this:
|
||||
* function(runtime.MessageSender sender, function sendResponse) {...};
|
||||
* Parameter sendResponse: Function to call (at most once) when you have a response. The argument should be any JSON-ifiable object, or undefined if there is no response. If you have more than one onRequest listener in the same document, then only one may send a response.
|
||||
*/
|
||||
addListener(callback: (sender: runtime.MessageSender, sendResponse: () => void) => void): void;
|
||||
addListener(callback: (sender: runtime.MessageSender, sendResponse: (response: any) => void) => void): void;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -5553,7 +5553,7 @@ declare module chrome.runtime {
|
||||
* Optional parameter message: The message sent by the calling script.
|
||||
* Parameter sendResponse: Function to call (at most once) when you have a response. The argument should be any JSON-ifiable object. If you have more than one onMessage listener in the same document, then only one may send a response. This function becomes invalid when the event listener returns, unless you return true from the event listener to indicate you wish to send a response asynchronously (this will keep the message channel open to the other end until sendResponse is called).
|
||||
*/
|
||||
addListener(callback: (message: any, sender: MessageSender, sendResponse: Function) => void): void;
|
||||
addListener(callback: (message: any, sender: MessageSender, sendResponse: (response: any) => void) => void): void;
|
||||
}
|
||||
|
||||
interface ExtensionConnectEvent extends chrome.events.Event {
|
||||
@@ -5866,13 +5866,13 @@ declare module chrome.sessions {
|
||||
* @since Chrome 20.
|
||||
*/
|
||||
declare module chrome.storage {
|
||||
interface StorageArea {
|
||||
interface StorageArea {
|
||||
/**
|
||||
* Gets the amount of space (in bytes) being used by one or more items.
|
||||
* @param callback Callback with the amount of space being used by storage, or on failure (in which case runtime.lastError will be set).
|
||||
* Parameter bytesInUse: Amount of space being used in storage, in bytes.
|
||||
*/
|
||||
getBytesInUse(callback: (bytesInUse: number) => void): void;
|
||||
getBytesInUse(callback: (bytesInUse: number) => void): void;
|
||||
/**
|
||||
* Gets the amount of space (in bytes) being used by one or more items.
|
||||
* @param key A single key to get the total usage for. Pass in null to get the total usage of all of storage.
|
||||
@@ -5886,11 +5886,11 @@ declare module chrome.storage {
|
||||
* @param callback Callback with the amount of space being used by storage, or on failure (in which case runtime.lastError will be set).
|
||||
* Parameter bytesInUse: Amount of space being used in storage, in bytes.
|
||||
*/
|
||||
getBytesInUse(keys: string[], callback: (bytesInUse: number) => void): void;
|
||||
getBytesInUse(keys: string[], callback: (bytesInUse: number) => void): void;
|
||||
/**
|
||||
* Removes all items from storage.
|
||||
* @param callback Optional.
|
||||
* Callback on success, or on failure (in which case runtime.lastError will be set).
|
||||
* Callback on success, or on failure (in which case runtime.lastError will be set).
|
||||
*/
|
||||
clear(callback?: () => void): void;
|
||||
/**
|
||||
@@ -5905,14 +5905,14 @@ declare module chrome.storage {
|
||||
* Removes one item from storage.
|
||||
* @param key A single key for items to remove.
|
||||
* @param callback Optional.
|
||||
* Callback on success, or on failure (in which case runtime.lastError will be set).
|
||||
* Callback on success, or on failure (in which case runtime.lastError will be set).
|
||||
*/
|
||||
remove(key: string, callback?: () => void): void;
|
||||
/**
|
||||
* Removes items from storage.
|
||||
* @param keys A list of keys for items to remove.
|
||||
* @param callback Optional.
|
||||
* Callback on success, or on failure (in which case runtime.lastError will be set).
|
||||
* Callback on success, or on failure (in which case runtime.lastError will be set).
|
||||
*/
|
||||
remove(keys: string[], callback?: () => void): void;
|
||||
/**
|
||||
@@ -5920,77 +5920,78 @@ declare module chrome.storage {
|
||||
* @param callback Callback with storage items, or on failure (in which case runtime.lastError will be set).
|
||||
* Parameter items: Object with items in their key-value mappings.
|
||||
*/
|
||||
get(callback: (items: Object) => void): void;
|
||||
get(callback: (items: { [key: string]: any }) => void): void;
|
||||
/**
|
||||
* Gets one or more items from storage.
|
||||
* @param key A single key to get. Pass in null to get the entire contents of storage.
|
||||
* @param callback Callback with storage items, or on failure (in which case runtime.lastError will be set).
|
||||
* Parameter items: Object with items in their key-value mappings.
|
||||
*/
|
||||
get(key: string, callback: (items: Object) => void): void;
|
||||
get(key: string, callback: (items: { [key: string]: any }) => void): void;
|
||||
/**
|
||||
* Gets one or more items from storage.
|
||||
* @param keys A list of keys to get. An empty list or object will return an empty result object. Pass in null to get the entire contents of storage.
|
||||
* @param callback Callback with storage items, or on failure (in which case runtime.lastError will be set).
|
||||
* Parameter items: Object with items in their key-value mappings.
|
||||
*/
|
||||
get(keys: string[], callback: (items: Object) => void): void;
|
||||
get(keys: string[], callback: (items: { [key: string]: any }) => void): void;
|
||||
/**
|
||||
* Gets one or more items from storage.
|
||||
* @param keys A dictionary specifying default values. Pass in null to get the entire contents of storage.
|
||||
* @param callback Callback with storage items, or on failure (in which case runtime.lastError will be set).
|
||||
* Parameter items: Object with items in their key-value mappings.
|
||||
*/
|
||||
get(keys: Object, callback: (items: Object) => void): void;
|
||||
}
|
||||
get(keys: Object, callback: (items: { [key: string]: any }) => void): void;
|
||||
}
|
||||
|
||||
interface StorageChange {
|
||||
interface StorageChange {
|
||||
/** Optional. The new value of the item, if there is a new value. */
|
||||
newValue?: any;
|
||||
newValue?: any;
|
||||
/** Optional. The old value of the item, if there was an old value. */
|
||||
oldValue?: any;
|
||||
}
|
||||
oldValue?: any;
|
||||
}
|
||||
|
||||
interface LocalStorageArea extends StorageArea {
|
||||
/** The maximum amount (in bytes) of data that can be stored in local storage, as measured by the JSON stringification of every value plus every key's length. This value will be ignored if the extension has the unlimitedStorage permission. Updates that would cause this limit to be exceeded fail immediately and set runtime.lastError. */
|
||||
QUOTA_BYTES: number;
|
||||
}
|
||||
QUOTA_BYTES: number;
|
||||
}
|
||||
|
||||
interface SyncStorageArea extends StorageArea {
|
||||
/** @deprecated since Chrome 40. The storage.sync API no longer has a sustained write operation quota. */
|
||||
MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE: number;
|
||||
MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE: number;
|
||||
/** The maximum total amount (in bytes) of data that can be stored in sync storage, as measured by the JSON stringification of every value plus every key's length. Updates that would cause this limit to be exceeded fail immediately and set runtime.lastError. */
|
||||
QUOTA_BYTES: number;
|
||||
QUOTA_BYTES: number;
|
||||
/** The maximum size (in bytes) of each individual item in sync storage, as measured by the JSON stringification of its value plus its key length. Updates containing items larger than this limit will fail immediately and set runtime.lastError. */
|
||||
QUOTA_BYTES_PER_ITEM: number;
|
||||
QUOTA_BYTES_PER_ITEM: number;
|
||||
/** The maximum number of items that can be stored in sync storage. Updates that would cause this limit to be exceeded will fail immediately and set runtime.lastError. */
|
||||
MAX_ITEMS: number;
|
||||
MAX_ITEMS: number;
|
||||
/**
|
||||
* The maximum number of set, remove, or clear operations that can be performed each hour. This is 1 every 2 seconds, a lower ceiling than the short term higher writes-per-minute limit.
|
||||
* Updates that would cause this limit to be exceeded fail immediately and set runtime.lastError.
|
||||
*/
|
||||
MAX_WRITE_OPERATIONS_PER_HOUR: number;
|
||||
MAX_WRITE_OPERATIONS_PER_HOUR: number;
|
||||
/**
|
||||
* The maximum number of set, remove, or clear operations that can be performed each minute. This is 2 per second, providing higher throughput than writes-per-hour over a shorter period of time.
|
||||
* Updates that would cause this limit to be exceeded fail immediately and set runtime.lastError.
|
||||
* @since Chrome 40.
|
||||
*/
|
||||
MAX_WRITE_OPERATIONS_PER_MINUTE: number;
|
||||
}
|
||||
}
|
||||
|
||||
interface StorageChangedEvent extends chrome.events.Event {
|
||||
interface StorageChangedEvent extends chrome.events.Event {
|
||||
/**
|
||||
* @param callback
|
||||
* Parameter changes: Object mapping each key that changed to its corresponding storage.StorageChange for that item.
|
||||
* Parameter areaName: Since Chrome 22. The name of the storage area ("sync", "local" or "managed") the changes are for.
|
||||
*/
|
||||
addListener(callback: (changes: Object, areaName: string) => void): void;
|
||||
}
|
||||
addListener(callback: (changes: { [key: string]: StorageChange }, areaName: string) => void): void;
|
||||
}
|
||||
|
||||
/** Items in the local storage area are local to each machine. */
|
||||
var local: LocalStorageArea;
|
||||
/** Items in the sync storage area are synced using Chrome Sync. */
|
||||
var sync: SyncStorageArea;
|
||||
|
||||
/**
|
||||
* Items in the managed storage area are set by the domain administrator, and are read-only for the extension; trying to modify this namespace results in an error.
|
||||
* @since Chrome 33.
|
||||
@@ -5998,7 +5999,7 @@ declare module chrome.storage {
|
||||
var managed: StorageArea;
|
||||
|
||||
/** Fired when one or more items change. */
|
||||
var onChanged: StorageChangedEvent;
|
||||
var onChanged: StorageChangedEvent;
|
||||
}
|
||||
|
||||
////////////////////
|
||||
@@ -7577,31 +7578,31 @@ declare module chrome.webNavigation {
|
||||
}
|
||||
|
||||
interface WebNavigationEvent extends chrome.events.Event {
|
||||
addListener(callback: (details: WebNavigationCallbackDetails, filters?: WebNavigationEventFilter) => void): void;
|
||||
addListener(callback: (details: WebNavigationCallbackDetails) => void, filters?: WebNavigationEventFilter): void;
|
||||
}
|
||||
|
||||
interface WebNavigationFramedEvent extends WebNavigationEvent {
|
||||
addListener(callback: (details: WebNavigationFramedCallbackDetails, filters?: WebNavigationEventFilter) => void): void;
|
||||
addListener(callback: (details: WebNavigationFramedCallbackDetails) => void, filters?: WebNavigationEventFilter): void;
|
||||
}
|
||||
|
||||
interface WebNavigationFramedErrorEvent extends WebNavigationFramedEvent {
|
||||
addListener(callback: (details: WebNavigationFramedErrorCallbackDetails, filters?: WebNavigationEventFilter) => void): void;
|
||||
addListener(callback: (details: WebNavigationFramedErrorCallbackDetails) => void, filters?: WebNavigationEventFilter): void;
|
||||
}
|
||||
|
||||
interface WebNavigationSourceEvent extends WebNavigationEvent {
|
||||
addListener(callback: (details: WebNavigationSourceCallbackDetails, filters?: WebNavigationEventFilter) => void): void;
|
||||
addListener(callback: (details: WebNavigationSourceCallbackDetails) => void, filters?: WebNavigationEventFilter): void;
|
||||
}
|
||||
|
||||
interface WebNavigationParentedEvent extends WebNavigationEvent {
|
||||
addListener(callback: (details: WebNavigationParentedCallbackDetails, filters?: WebNavigationEventFilter) => void): void;
|
||||
addListener(callback: (details: WebNavigationParentedCallbackDetails) => void, filters?: WebNavigationEventFilter): void;
|
||||
}
|
||||
|
||||
interface WebNavigationTransitionalEvent extends WebNavigationEvent {
|
||||
addListener(callback: (details: WebNavigationTransitionCallbackDetails, filters?: WebNavigationEventFilter) => void): void;
|
||||
addListener(callback: (details: WebNavigationTransitionCallbackDetails) => void, filters?: WebNavigationEventFilter): void;
|
||||
}
|
||||
|
||||
interface WebNavigationReplacementEvent extends WebNavigationEvent {
|
||||
addListener(callback: (details: WebNavigationReplacementCallbackDetails, filters?: WebNavigationEventFilter) => void): void;
|
||||
addListener(callback: (details: WebNavigationReplacementCallbackDetails) => void, filters?: WebNavigationEventFilter): void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+9
-1
@@ -1139,4 +1139,12 @@ declare module CKEDITOR {
|
||||
function isTabEnabled(editor: editor, dialogName: string, tabName: string): boolean;
|
||||
function okButton(): void;
|
||||
}
|
||||
}
|
||||
|
||||
module lang {
|
||||
var languages: any;
|
||||
var rtl: any;
|
||||
|
||||
function load(languageCode: string, defaultLanguage: string, callback: Function): void;
|
||||
function detect(defaultLanguage: string, probeLanguage: string): string;
|
||||
}
|
||||
}
|
||||
Vendored
-2
@@ -41,9 +41,7 @@ declare module CodeMirror {
|
||||
off(eventName: string, handler: (doc: CodeMirror.Doc, event: any) => void): void;
|
||||
}
|
||||
|
||||
/** Extend CodeMirror.Doc with a state object, so that the Doc.state.completionActive property is reachable*/
|
||||
interface Doc {
|
||||
state: any;
|
||||
showHint: (options: ShowHintOptions) => void;
|
||||
}
|
||||
|
||||
|
||||
Vendored
+5
@@ -390,6 +390,9 @@ declare module CodeMirror {
|
||||
The handler may mess with the style of the resulting element, or add event handlers, but should not try to change the state of the editor. */
|
||||
on(eventName: 'renderLine', handler: (instance: CodeMirror.Editor, line: number, element: HTMLElement) => void ): void;
|
||||
off(eventName: 'renderLine', handler: (instance: CodeMirror.Editor, line: number, element: HTMLElement) => void ): void;
|
||||
|
||||
/** Expose the state object, so that the Editor.state.completionActive property is reachable*/
|
||||
state: any;
|
||||
}
|
||||
|
||||
interface EditorFromTextArea extends Editor {
|
||||
@@ -589,6 +592,8 @@ declare module CodeMirror {
|
||||
/** The reverse of posFromIndex. */
|
||||
indexFromPos(object: CodeMirror.Position): number;
|
||||
|
||||
/** Expose the state object, so that the Doc.state.completionActive property is reachable*/
|
||||
state: any;
|
||||
}
|
||||
|
||||
interface LineHandle {
|
||||
|
||||
Vendored
+2
-1
@@ -65,10 +65,11 @@ declare module commander {
|
||||
*
|
||||
* @param {String} name
|
||||
* @param {String} [desc]
|
||||
* @param {Mixed} [opts]
|
||||
* @return {Command} the new command
|
||||
* @api public
|
||||
*/
|
||||
command(name:string, desc?:string):ICommand;
|
||||
command(name:string, desc?:string, opts?: any):ICommand;
|
||||
|
||||
/**
|
||||
* Add an implicit `help [cmd]` subcommand
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
/// <reference path="commonmark.d.ts" />
|
||||
|
||||
import commonmark = require('commonmark');
|
||||
|
||||
function logNode(node: commonmark.Node) {
|
||||
|
||||
console.log(
|
||||
node.destination,
|
||||
node.firstChild,
|
||||
node.info,
|
||||
node.isContainer,
|
||||
node.lastChild,
|
||||
node.level,
|
||||
node.listDelimiter,
|
||||
node.listStart,
|
||||
node.listTight,
|
||||
node.listType,
|
||||
node.literal,
|
||||
node.next,
|
||||
node.onEnter,
|
||||
node.onExit,
|
||||
node.parent,
|
||||
node.prev,
|
||||
node.sourcepos,
|
||||
node.title,
|
||||
node.type);
|
||||
|
||||
}
|
||||
|
||||
var parser = new commonmark.Parser({ smart: true, time: true });
|
||||
var node = parser.parse('# a piece of _markdown_');
|
||||
|
||||
|
||||
let w = node.walker();
|
||||
let step = w.next();
|
||||
if (step.entering) {
|
||||
logNode(step.node);
|
||||
}
|
||||
|
||||
|
||||
let xmlRenderer = new commonmark.XmlRenderer({ sourcepos: true, time: true });
|
||||
let xml = xmlRenderer.render(node);
|
||||
console.log(xml);
|
||||
|
||||
let htmlRenderer = new commonmark.HtmlRenderer({ safe: true, smart: true, sourcepos: true, time: true});
|
||||
let html = htmlRenderer.render(node);
|
||||
console.log(html);
|
||||
Vendored
+214
@@ -0,0 +1,214 @@
|
||||
// Type definitions for commonmark.js 0.22.1
|
||||
// Project: https://github.com/jgm/commonmark.js
|
||||
// Definitions by: Nico Jansen <https://github.com/nicojs>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
declare module commonmark {
|
||||
|
||||
export interface NodeWalkingStep {
|
||||
/**
|
||||
* a boolean, which is true when we enter a Node from a parent or sibling, and false when we reenter it from a child
|
||||
*/
|
||||
entering: boolean;
|
||||
/**
|
||||
* The node belonging to this step
|
||||
*/
|
||||
node: Node;
|
||||
}
|
||||
|
||||
export interface NodeWalker {
|
||||
/**
|
||||
* Returns an object with properties entering and node. Returns null when we have finished walking the tree.
|
||||
*/
|
||||
next(): NodeWalkingStep;
|
||||
/**
|
||||
* Resets the iterator to resume at the specified node and setting for entering. (Normally this isn't needed unless you do destructive updates to the Node tree.)
|
||||
*/
|
||||
resumeAt(node: Node, entering?: boolean): void;
|
||||
}
|
||||
|
||||
export interface Position extends Array<Array<number>> {
|
||||
}
|
||||
|
||||
export interface ListData {
|
||||
type?: string,
|
||||
tight?: boolean,
|
||||
delimiter?: string,
|
||||
bulletChar?: string
|
||||
}
|
||||
|
||||
export class Node {
|
||||
constructor(nodeType: string, sourcepos?: Position);
|
||||
isContainer: boolean;
|
||||
|
||||
/**
|
||||
* (read-only): one of Text, Softbreak, Hardbreak, Emph, Strong, Html, Link, Image, Code, Document, Paragraph, BlockQuote, Item, List, Heading, CodeBlock, HtmlBlock ThematicBreak.
|
||||
*/
|
||||
type: string;
|
||||
/**
|
||||
* (read-only): a Node or null.
|
||||
*/
|
||||
firstChild: Node;
|
||||
/**
|
||||
* (read-only): a Node or null.
|
||||
*/
|
||||
lastChild: Node;
|
||||
/**
|
||||
* (read-only): a Node or null.
|
||||
*/
|
||||
next: Node;
|
||||
/**
|
||||
* (read-only): a Node or null.
|
||||
*/
|
||||
prev: Node;
|
||||
/**
|
||||
* (read-only): a Node or null.
|
||||
*/
|
||||
parent: Node;
|
||||
/**
|
||||
* (read-only): an Array with the following form: [[startline, startcolumn], [endline, endcolumn]]
|
||||
*/
|
||||
sourcepos: Position;
|
||||
/**
|
||||
* the literal String content of the node or null.
|
||||
*/
|
||||
literal: string;
|
||||
/**
|
||||
* link or image destination (String) or null.
|
||||
*/
|
||||
destination: string;
|
||||
/**
|
||||
* link or image title (String) or null.
|
||||
*/
|
||||
title: string;
|
||||
/**
|
||||
* fenced code block info string (String) or null.
|
||||
*/
|
||||
info: string;
|
||||
/**
|
||||
* heading level (Number).
|
||||
*/
|
||||
level: number;
|
||||
/**
|
||||
* either Bullet or Ordered (or undefined).
|
||||
*/
|
||||
listType: string;
|
||||
/**
|
||||
* true if list is tight
|
||||
*/
|
||||
listTight: boolean;
|
||||
/**
|
||||
* a Number, the starting number of an ordered list.
|
||||
*/
|
||||
listStart: number;
|
||||
/**
|
||||
* a String, either ) or . for an ordered list.
|
||||
*/
|
||||
listDelimiter: string;
|
||||
/**
|
||||
* used only for CustomBlock or CustomInline.
|
||||
*/
|
||||
onEnter: string;
|
||||
/**
|
||||
* used only for CustomBlock or CustomInline.
|
||||
*/
|
||||
onExit: string;
|
||||
/**
|
||||
* Append a Node child to the end of the Node's children.
|
||||
*/
|
||||
appendChild(child: Node): void;
|
||||
/**
|
||||
* Prepend a Node child to the beginning of the Node's children.
|
||||
*/
|
||||
prependChild(child: Node): void;
|
||||
/**
|
||||
* Remove the Node from the tree, severing its links with siblings and parents, and closing up gaps as needed.
|
||||
*/
|
||||
unlink(): void;
|
||||
/**
|
||||
* Insert a Node sibling after the Node.
|
||||
*/
|
||||
insertAfter(sibling: Node): void;
|
||||
/**
|
||||
* Insert a Node sibling before the Node.
|
||||
*/
|
||||
insertBefore(sibling: Node): void;
|
||||
/**
|
||||
* Returns a NodeWalker that can be used to iterate through the Node tree rooted in the Node
|
||||
*/
|
||||
walker(): NodeWalker;
|
||||
/**
|
||||
* Setting the backing object of listType, listTight, listStat and listDelimiter directly.
|
||||
* Not needed unless creating list nodes directly. Should be fixed from v>0.22.1
|
||||
* https://github.com/jgm/commonmark.js/issues/74
|
||||
*/
|
||||
_listData: ListData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Instead of converting Markdown directly to HTML, as most converters do, commonmark.js parses Markdown to an AST (abstract syntax tree), and then renders this AST as HTML.
|
||||
* This opens up the possibility of manipulating the AST between parsing and rendering. For example, one could transform emphasis into ALL CAPS.
|
||||
*/
|
||||
export class Parser {
|
||||
/**
|
||||
* Constructs a new Parser
|
||||
*/
|
||||
constructor(options?: ParserOptions);
|
||||
parse(input: string): Node;
|
||||
}
|
||||
|
||||
export interface ParserOptions {
|
||||
/**
|
||||
* if true, straight quotes will be made curly, -- will be changed to an en dash, --- will be changed to an em dash, and ... will be changed to ellipses.
|
||||
*/
|
||||
smart?: boolean;
|
||||
time?: boolean;
|
||||
}
|
||||
|
||||
export interface HtmlRenderingOptions extends XmlRenderingOptions {
|
||||
/**
|
||||
* if true, raw HTML will not be passed through to HTML output (it will be replaced by comments), and potentially unsafe URLs in links and images (those beginning with javascript:, vbscript:, file:, and with a few exceptions data:) will be replaced with empty strings.
|
||||
*/
|
||||
safe?: boolean;
|
||||
/**
|
||||
* if true, straight quotes will be made curly, -- will be changed to an en dash, --- will be changed to an em dash, and ... will be changed to ellipses.
|
||||
*/
|
||||
smart?: boolean;
|
||||
/**
|
||||
* if true, source position information for block-level elements will be rendered in the data-sourcepos attribute (for HTML) or the sourcepos attribute (for XML).
|
||||
*/
|
||||
sourcepos?: boolean;
|
||||
}
|
||||
|
||||
export class HtmlRenderer {
|
||||
constructor(options?: HtmlRenderingOptions)
|
||||
render(root: Node): string;
|
||||
/**
|
||||
* Let's you override the softbreak properties of a renderer. So, to make soft breaks render as hard breaks in HTML:
|
||||
* writer.softbreak = "<br />";
|
||||
*/
|
||||
softbreak: string;
|
||||
/**
|
||||
* Override the function that will be used to escape (sanitize) the html output. Return value is used to add to the html output
|
||||
* @param input the input to escape
|
||||
* @param isAttributeValue indicates wheter or not the input value will be used as value of an html attribute.
|
||||
*/
|
||||
escape: (input: string, isAttributeValue: boolean) => string;
|
||||
}
|
||||
|
||||
export interface XmlRenderingOptions {
|
||||
time?: boolean;
|
||||
sourcepos?: boolean;
|
||||
}
|
||||
|
||||
export class XmlRenderer {
|
||||
constructor(options?: XmlRenderingOptions)
|
||||
render(root: Node): string;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
declare module 'commonmark' {
|
||||
export = commonmark;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/// <reference path="compose-function.d.ts" />
|
||||
|
||||
const numberToNumber = (a: number): number => a + 2;
|
||||
const numberToString = (a: number): string => "foo";
|
||||
const stringToNumber = (a: string): number => 5;
|
||||
|
||||
import composeFunction = require("compose-function");
|
||||
const t1: number = composeFunction(numberToNumber, numberToNumber)(5);
|
||||
const t2: string = composeFunction(numberToString, numberToNumber)(5);
|
||||
const t3: string = composeFunction(numberToString, stringToNumber)("f");
|
||||
const t4: (a: string) => number = composeFunction(
|
||||
(f: (a: string) => number) => ((p: string) => 5),
|
||||
(f: (a: number) => string) => ((p: string) => 4)
|
||||
)(numberToString);
|
||||
|
||||
|
||||
const t5: number = composeFunction(stringToNumber, numberToString, numberToNumber)(5);
|
||||
const t6: string = composeFunction(numberToString, stringToNumber, numberToString, numberToNumber)(5);
|
||||
|
||||
const t7: string = composeFunction<string>(
|
||||
numberToString, numberToNumber, stringToNumber, numberToString, stringToNumber)("fo");
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// Type definitions for compose-function
|
||||
// Project: https://github.com/stoeffel/compose-function
|
||||
// Definitions by: Denis Sokolov <https://github.com/denis-sokolov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module "compose-function" {
|
||||
// Hardcoded signatures for 2-4 parameters
|
||||
function f<A, B, C>(
|
||||
f1: (b: B) => C,
|
||||
f2: (a: A) => B
|
||||
): (a: A) => C
|
||||
function f<A, B, C, D>(
|
||||
f1: (b: C) => D,
|
||||
f2: (a: B) => C,
|
||||
f3: (a: A) => B
|
||||
): (a: A) => D
|
||||
function f<A, B, C, D, E>(
|
||||
f1: (b: D) => E,
|
||||
f2: (a: C) => D,
|
||||
f3: (a: B) => C,
|
||||
f4: (a: A) => B
|
||||
): (a: A) => E
|
||||
|
||||
// Minimal typing for more than 4 parameters
|
||||
function f<Result>(
|
||||
f1: (a: any) => Result,
|
||||
...functions: Function[]
|
||||
): (a: any) => Result
|
||||
|
||||
export = f;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/// <reference path="connect-timeout.d.ts" />
|
||||
/// <reference path="../body-parser/body-parser.d.ts" />
|
||||
/// <reference path="../cookie-parser/cookie-parser.d.ts" />
|
||||
/// <reference path="../express/express.d.ts" />
|
||||
|
||||
import express = require("express");
|
||||
import timeout = require("connect-timeout");
|
||||
import bodyParser = require("body-parser");
|
||||
import cookieParser = require("cookie-parser");
|
||||
|
||||
// example of using this top-level; note the use of haltOnTimedout
|
||||
// after every middleware; it will stop the request flow on a timeout
|
||||
var app = express();
|
||||
app.use(timeout("5s", { respond: false }));
|
||||
app.use(bodyParser());
|
||||
app.use(haltOnTimedout);
|
||||
app.use(cookieParser());
|
||||
app.use(haltOnTimedout);
|
||||
|
||||
// Add your routes here, etc.
|
||||
|
||||
function haltOnTimedout(req: express.Request, res: express.Response, next: Function) {
|
||||
if (!req.timedout) {
|
||||
next();
|
||||
}
|
||||
}
|
||||
|
||||
app.listen(3000);
|
||||
Vendored
+36
@@ -0,0 +1,36 @@
|
||||
// Type definitions for connect-timeout
|
||||
// Project: https://github.com/expressjs/timeout
|
||||
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../express/express.d.ts" />
|
||||
|
||||
declare module Express {
|
||||
export interface Request {
|
||||
/**
|
||||
* @summary Clears the timeout on the request.
|
||||
*/
|
||||
clearTimeout(): void;
|
||||
|
||||
/**
|
||||
*
|
||||
* @return {boolean} true if timeout fired; false otherwise.
|
||||
*/
|
||||
timedout(event: string, message: string): boolean;
|
||||
}
|
||||
}
|
||||
|
||||
declare module "connect-timeout" {
|
||||
import express = require("express");
|
||||
|
||||
interface TimeoutOptions extends Object {
|
||||
/**
|
||||
* @summary Controls if this module will "respond" in the form of forwarding an error.
|
||||
* @type {boolean}
|
||||
*/
|
||||
respond: boolean;
|
||||
}
|
||||
|
||||
function timeout(timeout: string, options?: TimeoutOptions): express.RequestHandler;
|
||||
export = timeout;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/// <reference path="console-stamp.d.ts" />
|
||||
|
||||
import consoleStamp = require("console-stamp");
|
||||
|
||||
consoleStamp(console);
|
||||
|
||||
var options = {};
|
||||
consoleStamp(console, options);
|
||||
|
||||
var options2 = {
|
||||
metadata: function ():string {
|
||||
return 'string';
|
||||
},
|
||||
colors: {
|
||||
stamp: "yellow",
|
||||
label: "white",
|
||||
metadata: "green"
|
||||
},
|
||||
label: true
|
||||
};
|
||||
consoleStamp(console, options2);
|
||||
Vendored
+46
@@ -0,0 +1,46 @@
|
||||
// Type definitions for console-stamp 0.2.0
|
||||
// Project: https://github.com/starak/node-console-stamp
|
||||
// Definitions by: Eric Byers <https://github.com/ericbyers/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module 'console-stamp' {
|
||||
|
||||
function consoleStamp(console:{}, options?: {
|
||||
/**
|
||||
* A string with date format based on Javascript Date Format
|
||||
*/
|
||||
pattern?: string
|
||||
|
||||
/**
|
||||
* If true it will show the label (LOG | INFO | WARN | ERROR)
|
||||
*/
|
||||
label?: boolean;
|
||||
|
||||
/**
|
||||
* An array containing the methods to include in the patch
|
||||
*/
|
||||
include?: any;
|
||||
|
||||
/**
|
||||
* An array containing the methods to exclude in the patch)
|
||||
*/
|
||||
exclude?: any;
|
||||
|
||||
/**
|
||||
* Types can be String, Object (interpreted with util.inspect), or Function. See the test-metadata.js for examples.
|
||||
* Note that metadata can still be sent as the third parameter (as in vesion 1.6) as a backward compatibillity feature, but this is deprecated.
|
||||
*/
|
||||
metadata?: any;
|
||||
|
||||
/**
|
||||
* An object representing a color theme. More info https://www.npmjs.com/package/colors
|
||||
*/
|
||||
colors?: {
|
||||
stamp?: any;
|
||||
label?: any;
|
||||
metadata?: any;
|
||||
};
|
||||
}): void;
|
||||
|
||||
export = consoleStamp;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/// <reference path="contentful-resolve-response.d.ts" />
|
||||
import resolveResponse = require('contentful-resolve-response');
|
||||
|
||||
var response = {
|
||||
items: [
|
||||
{
|
||||
someValue: 'wow',
|
||||
someLink: {sys: {type: 'Link', linkType: 'Entry', id: 'suchId'}}
|
||||
}
|
||||
],
|
||||
includes: {
|
||||
Entry: [
|
||||
{sys: {type: 'Entry', id: 'suchId'}, very: 'doge'}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
var items = resolveResponse(response)
|
||||
|
||||
console.log(items);
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user