mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 06:50:19 +00:00
Merge pull request #7572 into material-ui-v014
This commit is contained in:
+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)
|
||||
|
||||
Vendored
+1
-1
@@ -179,4 +179,4 @@ interface amplifyStatic {
|
||||
}
|
||||
|
||||
declare var amplify: amplifyStatic;
|
||||
|
||||
declare module "amplify" { export =amplify; }
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -20,11 +20,23 @@ class FormConfig {
|
||||
name: 'customInput',
|
||||
extends: 'input'
|
||||
});
|
||||
|
||||
formlyConfig.disableWarnings = true;
|
||||
formlyConfig.templateManipulators = undefined;
|
||||
|
||||
formlyConfig.extras.apiCheckInstance = null;
|
||||
formlyConfig.extras.defaultHideDirective = 'ng-if';
|
||||
formlyConfig.extras.disableNgModelAttrsManipulator = true;
|
||||
formlyConfig.extras.errorExistsAndShouldBeVisibleExpression = angular.noop;
|
||||
formlyConfig.extras.explicitAsync = true;
|
||||
formlyConfig.extras.fieldTransform = angular.noop;
|
||||
formlyConfig.extras.getFieldId = angular.noop;
|
||||
formlyConfig.extras.ngModelAttrsManipulatorPreferUnbound = true;
|
||||
}
|
||||
}
|
||||
|
||||
class AppController {
|
||||
fields: AngularFormly.IFieldConfigurationObject[];
|
||||
fields: AngularFormly.IFieldArray;
|
||||
constructor() {
|
||||
var vm = this;
|
||||
vm.fields = [
|
||||
@@ -99,6 +111,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
+40
-21
@@ -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;
|
||||
}
|
||||
|
||||
@@ -122,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;
|
||||
}
|
||||
|
||||
|
||||
@@ -154,8 +159,8 @@ 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;
|
||||
};
|
||||
|
||||
/**
|
||||
* This is a great way to add custom behavior to a specific field. It is injectable with the $scope of the
|
||||
@@ -204,8 +209,8 @@ 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;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
@@ -214,7 +219,7 @@ declare module AngularFormly {
|
||||
*
|
||||
* see http://docs.angular-formly.com/docs/field-configuration-object#hide-boolean
|
||||
*/
|
||||
hide?: boolean
|
||||
hide?: boolean;
|
||||
|
||||
|
||||
/**
|
||||
@@ -224,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;
|
||||
|
||||
|
||||
/**
|
||||
@@ -416,7 +421,7 @@ declare module AngularFormly {
|
||||
* like in this example.
|
||||
*/
|
||||
messages?: {
|
||||
[key: string]: IExpresssionFunction | string;
|
||||
[key: string]: IExpressionFunction | string;
|
||||
}
|
||||
|
||||
|
||||
@@ -427,7 +432,7 @@ declare module AngularFormly {
|
||||
*/
|
||||
show?: boolean;
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
@@ -440,8 +445,8 @@ 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;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
@@ -553,10 +558,24 @@ declare module AngularFormly {
|
||||
validateOptions?: Function;
|
||||
}
|
||||
|
||||
interface IFormlyConfigExtras {
|
||||
disableNgModelAttrsManipulator: boolean;
|
||||
apiCheckInstance: any;
|
||||
ngModelAttrsManipulatorPreferUnbound: boolean;
|
||||
removeChromeAutoComplete: boolean;
|
||||
defaultHideDirective: string;
|
||||
errorExistsAndShouldBeVisibleExpression: any;
|
||||
getFieldId: Function;
|
||||
fieldTransform: Function;
|
||||
explicitAsync: boolean;
|
||||
}
|
||||
|
||||
interface IFormlyConfig {
|
||||
disableWarnings: boolean;
|
||||
extras: IFormlyConfigExtras;
|
||||
setType(typeOptions: ITypeOptions): void;
|
||||
setWrapper(wrapperOptions: IWrapperOptions): void;
|
||||
|
||||
templateManipulators: ITemplateManipulators;
|
||||
}
|
||||
|
||||
interface ITemplateScopeOptions {
|
||||
@@ -573,7 +592,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.
|
||||
|
||||
@@ -58,4 +58,8 @@ app.controller("Ctrl", ($scope:angular.IScope,
|
||||
growlMessages.destroyAllMessages(0);
|
||||
growlMessages.addMessage(messages[0]);
|
||||
growlMessages.deleteMessage(messages[1]);
|
||||
|
||||
var testMessage = growl.warning(message);
|
||||
testMessage.setText("Some other message");
|
||||
testMessage.destroy();
|
||||
});
|
||||
|
||||
+11
-1
@@ -39,6 +39,16 @@ declare module angular.growl {
|
||||
*/
|
||||
interface IGrowlMessage extends IGrowlMessageConfig {
|
||||
text: string;
|
||||
|
||||
/**
|
||||
* Destroy the message.
|
||||
*/
|
||||
destroy(): void;
|
||||
/**
|
||||
* Update the message body.
|
||||
* @param newText new message body
|
||||
*/
|
||||
setText(newText: string): void;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -223,7 +233,7 @@ declare module angular.growl {
|
||||
* @param referenceId
|
||||
* @param limitMessages
|
||||
*/
|
||||
initDirective(referenceId: number, limitMessages: number): ng.IDirective;
|
||||
initDirective(referenceId: number, limitMessages: number): angular.IDirective;
|
||||
|
||||
/**
|
||||
* Get current messages
|
||||
|
||||
@@ -0,0 +1,133 @@
|
||||
/// <reference path='../angularjs/angular.d.ts' />
|
||||
/// <reference path='angular-locker.d.ts' />
|
||||
|
||||
angular
|
||||
.module('angular-locker-tests', ['angular-locker'])
|
||||
.config(['lockerProvider', function config(lockerProvider: angular.locker.ILockerProvider) {
|
||||
let lockerSettings: angular.locker.ILockerSettings = {
|
||||
driver: 'session',
|
||||
namespace: 'myApp',
|
||||
separator: '.',
|
||||
eventsEnabled: true,
|
||||
extend: <any>{}
|
||||
};
|
||||
|
||||
lockerProvider.defaults(lockerSettings);
|
||||
}])
|
||||
.controller('LockerController', ['$scope', 'locker', function ($scope: angular.IScope, locker: angular.locker.ILockerService) {
|
||||
locker.put('someKey', 'someVal');
|
||||
|
||||
// put an item into session storage
|
||||
locker.driver('session').put('sessionKey', ['some', 'session', 'data']);
|
||||
|
||||
// add an item within a different namespace
|
||||
locker.namespace('otherNamespace').put('foo', 'bar');
|
||||
|
||||
locker.put('someString', 'anyDataType');
|
||||
locker.put('someObject', { foo: 'I will be serialized', bar: 'pretty cool eh' });
|
||||
locker.put('someArray', ['foo', 'bar', 'baz']);
|
||||
// etc
|
||||
|
||||
//Inserts specified key and return value of function
|
||||
locker.put('someKey', function() {
|
||||
var obj = { foo: 'bar', bar: 'baz' };
|
||||
// some other logic
|
||||
return obj;
|
||||
});
|
||||
|
||||
locker.put('someKey', ['foo', 'bar']);
|
||||
|
||||
//The current value will be passed into the function so you can perform logic on the current value, before returning it. e.g.
|
||||
locker.put('someKey', function(current: any) {
|
||||
current.push('baz');
|
||||
|
||||
return current;
|
||||
});
|
||||
|
||||
locker.get('someKey'); // = ['foo', 'bar', 'baz']
|
||||
|
||||
// given locker.get('foo') is not defined
|
||||
locker.put('foo', function (current: any) {
|
||||
// current will equal 'bar'
|
||||
}, 'bar');
|
||||
|
||||
//This will add each key/value pair as a separate item in storage
|
||||
locker.put({
|
||||
someKey: 'johndoe',
|
||||
anotherKey: ['some', 'random', 'array'],
|
||||
boolKey: true
|
||||
});
|
||||
|
||||
locker.add('someKey', 'someVal'); // true or false - whether the item was added or not
|
||||
|
||||
// locker.put('fooArray', ['bar', 'baz', 'bob']);
|
||||
|
||||
locker.get('fooArray'); // ['bar', 'baz', 'bob']
|
||||
|
||||
locker.get('keyDoesNotExist', 'a default value'); // 'a default value'
|
||||
|
||||
locker.get(['someKey', 'anotherKey', 'foo']);
|
||||
/* will return something like...
|
||||
{
|
||||
someKey: 'someValue',
|
||||
anotherKey: true,
|
||||
foo: 'bar'
|
||||
}*/
|
||||
|
||||
// locker.put('someKey', { foo: 'bar', baz: 'bob' });
|
||||
|
||||
locker.pull('someKey', 'defaultVal'); // { foo: 'bar', baz: 'bob' }
|
||||
|
||||
// then...
|
||||
|
||||
locker.get('someKey', 'defaultVal'); // 'defaultVal'
|
||||
|
||||
locker.all();
|
||||
// or
|
||||
locker.namespace('somethingElse').all();
|
||||
|
||||
locker.count();
|
||||
// or
|
||||
locker.namespace('somethingElse').count();
|
||||
|
||||
locker.has('someKey'); // true or false
|
||||
|
||||
// or
|
||||
locker.namespace('foo').has('bar');
|
||||
|
||||
// e.g.
|
||||
if (locker.has('user.authToken') ) {
|
||||
// we're logged in
|
||||
} else {
|
||||
// go to login page or something
|
||||
}
|
||||
|
||||
locker.forget('keyToRemove');
|
||||
// or
|
||||
locker.driver('session').forget('sessionKey');
|
||||
// etc..
|
||||
|
||||
locker.forget(['keyToRemove', 'anotherKeyToRemove', 'something', 'else']);
|
||||
|
||||
locker.clean();
|
||||
// or
|
||||
locker.namespace('someOtherNamespace').clean();
|
||||
|
||||
locker.empty();
|
||||
|
||||
locker.bind($scope, 'foo');
|
||||
$scope['foo'] = ['bar', 'baz'];
|
||||
locker.get('foo'); // = ['bar', 'baz']
|
||||
|
||||
locker.bind($scope, 'foo', 'someDefault');
|
||||
$scope['foo']; // = 'someDefault'
|
||||
locker.get('foo'); // = 'someDefault'
|
||||
|
||||
locker.unbind($scope, 'foo');
|
||||
$scope['foo']; // = undefined
|
||||
locker.get('foo'); // = undefined
|
||||
|
||||
if (! locker.supported()) {
|
||||
// load a polyfill?
|
||||
}
|
||||
}]);
|
||||
Vendored
+170
@@ -0,0 +1,170 @@
|
||||
// Type definitions for Angular Locker v2.0.3
|
||||
// Project: https://github.com/tymondesigns/angular-locker
|
||||
// Definitions by: Niko Kovačič <https://github.com/nkovacic>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../angularjs/angular.d.ts" />
|
||||
|
||||
declare module "angular-locker" {
|
||||
var _: string;
|
||||
export = _;
|
||||
}
|
||||
|
||||
declare module angular.locker {
|
||||
interface ILockerServicePutFunction {
|
||||
(current: any): any
|
||||
}
|
||||
|
||||
interface ILockerService {
|
||||
/**
|
||||
* Add an item to storage if it doesn't already exist
|
||||
*
|
||||
* @param {String} key The key to add
|
||||
* @param {Mixed} value The value to add
|
||||
*/
|
||||
add(key: string, value: any): boolean;
|
||||
/**
|
||||
* Return all items in storage within the current namespace/driver
|
||||
*
|
||||
*/
|
||||
all(): any;
|
||||
/**
|
||||
* Remove all items set within the current namespace/driver
|
||||
*/
|
||||
clean(): ILockerService;
|
||||
/**
|
||||
* Get the total number of items within the current namespace
|
||||
*/
|
||||
count(): number;
|
||||
/**
|
||||
* Retrieve the specified item from storage
|
||||
*
|
||||
* @param {String|Array} key The key to get
|
||||
* @param {Mixed} def The default value if it does not exist
|
||||
*/
|
||||
get(key: string | Array<string>, defaultValue?: any): any;
|
||||
/**
|
||||
* Determine whether the item exists in storage
|
||||
*
|
||||
* @param {String|Function} key - The key to remove
|
||||
*/
|
||||
has(key: string): boolean
|
||||
/**
|
||||
* Get the storage keys as an array
|
||||
*/
|
||||
keys(): Array<string>;
|
||||
/**
|
||||
* Add a new item to storage (even if it already exists)
|
||||
*
|
||||
* @param {Object} keyValuePairs Key value object
|
||||
*/
|
||||
put(keyValuePairs: Object): ILockerService | boolean;
|
||||
/**
|
||||
* Add a new item to storage (even if it already exists)
|
||||
*
|
||||
* @param {Mixed} putFunction The default to pass to function if doesn't already exist
|
||||
*/
|
||||
put(putFunction: Function): ILockerService | boolean;
|
||||
/**
|
||||
* Add a new item to storage (even if it already exists)
|
||||
*
|
||||
* @param {Mixed} key The key to add
|
||||
* @param {Mixed} value The value to add
|
||||
*/
|
||||
put(key: string, value: any): ILockerService | boolean;
|
||||
/**
|
||||
* Add a new item to storage (even if it already exists)
|
||||
*
|
||||
* @param {Mixed} key The key to add
|
||||
* @param {Mixed} putFunction The default to pass to function if doesn't already exist
|
||||
* @param {Mixed} value The value to add
|
||||
*/
|
||||
put(key: string, putFunction: ILockerServicePutFunction, value: any): ILockerService | boolean;
|
||||
/**
|
||||
* Remove specified item(s) from storage
|
||||
*
|
||||
* @param {String} key The key to remove
|
||||
*/
|
||||
forget(key: string): ILockerService;
|
||||
/**
|
||||
* Remove specified item(s) from storage
|
||||
*
|
||||
* @param {Array} keys The array of keys to remove
|
||||
*
|
||||
*/
|
||||
forget(keys: Array<string>): ILockerService;
|
||||
/**
|
||||
* Retrieve the specified item from storage and then remove it
|
||||
*
|
||||
* @param {String|Array} key The key to pull from storage
|
||||
* @param {Mixed} def The default value if it does not exist
|
||||
*/
|
||||
pull(key: string | Array<string>, defaultValue?: any): any;
|
||||
/**
|
||||
* Bind a storage key to a $scope property
|
||||
*
|
||||
* @param {Object} $scope The angular $scope object
|
||||
* @param {String} key The key in storage to bind to
|
||||
* @param {Mixed} def The default value to initially bind
|
||||
*/
|
||||
bind(scope: IScope, property: string, defaultPropertyValue?: any): ILockerService;
|
||||
/**
|
||||
* Set the storage driver on a new instance to enable overriding defaults
|
||||
*
|
||||
* @param {String} driver The driver to switch to
|
||||
*/
|
||||
driver(localStorageType: string): ILockerService;
|
||||
/**
|
||||
* Empty the current storage driver completely. careful now.
|
||||
*/
|
||||
empty(): ILockerService;
|
||||
/**
|
||||
* Get the currently set namespace
|
||||
*/
|
||||
getNamespace(): string;
|
||||
/**
|
||||
* Get a new instance of Locker
|
||||
*
|
||||
* @param {Object} options The config options to instantiate with
|
||||
*/
|
||||
instance(lockerSettings: ILockerSettings): ILockerService;
|
||||
/**
|
||||
* Set the namespace on a new instance to enable overriding defaults
|
||||
*
|
||||
* @param {String} namespace The namespace to switch to
|
||||
*/
|
||||
'namespace'(name: string): ILockerService;
|
||||
/**
|
||||
* Check browser support
|
||||
*
|
||||
* @see github.com/Modernizr/Modernizr/blob/master/feature-detects/storage/localstorage.js#L38-L47
|
||||
*
|
||||
* @param {String} driver The driver to check support with
|
||||
*/
|
||||
supported(): boolean;
|
||||
/**
|
||||
* Unbind a storage key from a $scope property
|
||||
*
|
||||
* @param {Object} $scope The angular $scope object
|
||||
* @param {String} key The key to remove from bindings
|
||||
*/
|
||||
unbind(scope: IScope, property: string): ILockerService;
|
||||
}
|
||||
|
||||
interface ILockerSettings {
|
||||
driver?: string;
|
||||
'namespace'?: string | boolean;
|
||||
separator?: string;
|
||||
eventsEnabled?: boolean;
|
||||
extend?: Object;
|
||||
}
|
||||
|
||||
interface ILockerProvider extends angular.IServiceProvider {
|
||||
/**
|
||||
* Allow the defaults to be specified via the `lockerProvider`
|
||||
*
|
||||
* @param {ILockerSettings} lockerSettings The defaults to override
|
||||
*/
|
||||
defaults(lockerSettings: ILockerSettings): void;
|
||||
}
|
||||
}
|
||||
+2
@@ -16,6 +16,7 @@ declare module angular.material {
|
||||
targetEvent?: MouseEvent;
|
||||
resolve?: {[index: string]: angular.IPromise<any>}
|
||||
controllerAs?: string;
|
||||
bindToController?: boolean;
|
||||
parent?: string|Element|JQuery; // default: root node
|
||||
disableParentScroll?: boolean; // default: true
|
||||
}
|
||||
@@ -76,6 +77,7 @@ declare module angular.material {
|
||||
resolve?: {[index: string]: angular.IPromise<any>}
|
||||
controllerAs?: string;
|
||||
parent?: string|Element|JQuery; // default: root node
|
||||
fullscreen?: boolean;
|
||||
onComplete?: Function;
|
||||
}
|
||||
|
||||
|
||||
Vendored
+22
@@ -39,6 +39,28 @@ declare module angular.meteor {
|
||||
* @return The promise solved successfully when subscription is ready. The success promise holds the subscription handle.
|
||||
*/
|
||||
subscribe(name: string, ...publisherArguments: any[]): angular.IPromise<Meteor.SubscriptionHandle>;
|
||||
|
||||
/**
|
||||
* The helpers method is part of the ReactiveContext, and available on every context and $scope.
|
||||
* These method are defined as Object, where each key is the name of the variable that will be available on the context we run, and each value is a function with a return value.
|
||||
* Under the hood, each helper starts a new Tracker.autorun. When its reactive dependencies change, the helper is rerun.
|
||||
* To trigger a rerun every time an specific Angular variable change, use getReactively](/api/1.3.1/get-reactively) to make your Angular variable reactive inside the helper its used in.
|
||||
* Each helper function should return a MongoDB Cursor and the helpers will expose it as a normal array to the context.
|
||||
*
|
||||
* @param definitions - Object containing `name` => `function` definition, where each name is a string and each function is the helper function. Should return a [MongoDB Cursor](http://docs.meteor.com/#/full/mongo_cursor)
|
||||
* @return This method returns this, which the the reactive context, in order to provide the ability to chain the logic.
|
||||
*/
|
||||
helpers(definitions : { [helperName : string] : () => Mongo.Cursor<any> }): IScope;
|
||||
|
||||
/**
|
||||
* This method is a wrapper of Tracker.autorun and shares exactly the same API.
|
||||
* The autorun method is part of the ReactiveContext, and available on every context and $scope.
|
||||
* The argument of this method is a callback, which will be called each time Autorun will be used.
|
||||
* The Autorun will stop automatically when when it's context ($scope) is destroyed.
|
||||
*
|
||||
* @param runFunc - The function to run. It receives one argument: the Computation object that will be returned.
|
||||
*/
|
||||
autorun(runFunc : () => void) : Tracker.Computation;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+10
@@ -1806,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,64 @@
|
||||
/// <reference path='../angularjs/angular.d.ts' />
|
||||
/// <reference path='angular-toastr.d.ts' />
|
||||
|
||||
|
||||
angular
|
||||
.module('toastr-tests', ['toastr'])
|
||||
.config(function(toastrConfig: angular.toastr.IToastrConfig) {
|
||||
let toastContainerConfig: angular.toastr.IToastContainerConfig = {
|
||||
autoDismiss: false,
|
||||
containerId: 'toast-container',
|
||||
maxOpened: 0,
|
||||
newestOnTop: true,
|
||||
positionClass: 'toast-top-right',
|
||||
preventDuplicates: false,
|
||||
preventOpenDuplicates: false,
|
||||
target: 'body'
|
||||
},
|
||||
toastConfig: angular.toastr.IToastConfig = {
|
||||
allowHtml: false,
|
||||
closeButton: false,
|
||||
closeHtml: '<button>×</button>',
|
||||
extendedTimeOut: 1000,
|
||||
iconClasses: {
|
||||
error: 'toast-error',
|
||||
info: 'toast-info',
|
||||
success: 'toast-success',
|
||||
warning: 'toast-warning'
|
||||
},
|
||||
messageClass: 'toast-message',
|
||||
onHidden: null,
|
||||
onShown: null,
|
||||
onTap: null,
|
||||
progressBar: false,
|
||||
tapToDismiss: true,
|
||||
templates: {
|
||||
|
||||
toast: 'directives/toast/toast.html',
|
||||
progressbar: 'directives/progressbar/progressbar.html'
|
||||
},
|
||||
timeOut: 5000,
|
||||
titleClass: 'toast-title',
|
||||
toastClass: 'toast'
|
||||
};
|
||||
|
||||
angular.extend(toastrConfig, toastContainerConfig, toastConfig);
|
||||
})
|
||||
.controller('ToastrController', function(toastr: angular.toastr.IToastrService) {
|
||||
toastr.info('<input type="checkbox" checked> Success!', 'With HTML', {
|
||||
allowHtml: true
|
||||
});
|
||||
|
||||
toastr.success('What a nice button', 'Button spree', {
|
||||
closeButton: true
|
||||
});
|
||||
|
||||
toastr.info('What a nice apple button', 'Button spree', {
|
||||
closeButton: true,
|
||||
closeHtml: '<button></button>'
|
||||
});
|
||||
|
||||
toastr.info('I am totally custom!', 'Happy toast', {
|
||||
iconClass: 'toast-pink'
|
||||
});
|
||||
});
|
||||
Vendored
+121
@@ -0,0 +1,121 @@
|
||||
// Type definitions for Angular Toastr v1.6.0
|
||||
// Project: https://github.com/Foxandxss/angular-toastr
|
||||
// Definitions by: Niko Kovačič <https://github.com/nkovacic>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../angularjs/angular.d.ts" />
|
||||
|
||||
declare module "angular-toastr" {
|
||||
var _: string;
|
||||
export = _;
|
||||
}
|
||||
|
||||
interface IToastBaseConfig {
|
||||
allowHtml?: boolean;
|
||||
closeButton?: boolean;
|
||||
closeHtml?: string;
|
||||
extendedTimeOut?: number;
|
||||
messageClass?: string;
|
||||
onHidden?: Function;
|
||||
onShown?: Function;
|
||||
onTap?: Function;
|
||||
progressBar?: boolean;
|
||||
tapToDismiss?: boolean;
|
||||
templates?: {
|
||||
toast?: string;
|
||||
progressbar?: string;
|
||||
};
|
||||
timeOut?: number;
|
||||
titleClass?: string;
|
||||
toastClass?: string;
|
||||
}
|
||||
|
||||
declare module angular.toastr {
|
||||
interface IToastContainerConfig {
|
||||
autoDismiss?: boolean;
|
||||
containerId?: string;
|
||||
maxOpened?: number;
|
||||
newestOnTop?: boolean;
|
||||
positionClass?: string;
|
||||
preventDuplicates?: boolean;
|
||||
preventOpenDuplicates?: boolean;
|
||||
target?: string;
|
||||
}
|
||||
|
||||
interface IToastConfig extends IToastBaseConfig {
|
||||
iconClasses?: {
|
||||
error?: string;
|
||||
info?: string;
|
||||
success?: string;
|
||||
warning?: string;
|
||||
};
|
||||
}
|
||||
|
||||
interface IToastrConfig extends IToastContainerConfig, IToastConfig { }
|
||||
|
||||
interface IToastScope extends angular.IScope {
|
||||
message: string;
|
||||
options: IToastConfig;
|
||||
title: string;
|
||||
toastId: number;
|
||||
toastType: string;
|
||||
}
|
||||
|
||||
interface IToast {
|
||||
el: angular.IAugmentedJQuery;
|
||||
iconClass: string;
|
||||
isOpened: boolean;
|
||||
open: angular.IPromise<any>;
|
||||
scope: IToastScope;
|
||||
toastId: number;
|
||||
}
|
||||
|
||||
interface IToastOptions extends IToastBaseConfig {
|
||||
iconClass?: string;
|
||||
}
|
||||
|
||||
interface IToastrService {
|
||||
/**
|
||||
* Return the number of active toasts in screen.
|
||||
*/
|
||||
active(): number;
|
||||
/**
|
||||
* Remove toast from screen. If no toast is passed in, all toasts will be closed.
|
||||
*
|
||||
* @param {IToast} toast Optional toast object to delete
|
||||
*/
|
||||
clear(toast?: IToast): void;
|
||||
/**
|
||||
* Create error toast notification message.
|
||||
*
|
||||
* @param {String} message Message to show on toast
|
||||
* @param {String} title Title to show on toast
|
||||
* @param {IToastOptions} options Override default toast options
|
||||
*/
|
||||
error(message: string, title?: string, options?: IToastOptions): IToast;
|
||||
/**
|
||||
* Create info toast notification message.
|
||||
*
|
||||
* @param {String} message Message to show on toast
|
||||
* @param {String} title Title to show on toast
|
||||
* @param {IToastOptions} options Override default toast options
|
||||
*/
|
||||
info(message: string, title?: string, options?: IToastOptions): IToast;
|
||||
/**
|
||||
* Create success toast notification message.
|
||||
*
|
||||
* @param {String} message Message to show on toast
|
||||
* @param {String} title Title to show on toast
|
||||
* @param {IToastOptions} options Override default toast options
|
||||
*/
|
||||
success(message: string, title?: string, options?: IToastOptions): IToast;
|
||||
/**
|
||||
* Create warning toast notification message.
|
||||
*
|
||||
* @param {String} message Message to show on toast
|
||||
* @param {String} title Title to show on toast
|
||||
* @param {IToastOptions} options Override default toast options
|
||||
*/
|
||||
warning(message: string, title?: string, options?: IToastOptions): IToast;
|
||||
}
|
||||
}
|
||||
@@ -26,6 +26,7 @@ app.config(($translateProvider: angular.translate.ITranslateProvider) => {
|
||||
$translateProvider.preferredLanguage('en');
|
||||
|
||||
$translateProvider.useLoader('customLoader');
|
||||
$translateProvider.forceAsyncReload(true);
|
||||
});
|
||||
|
||||
interface Scope extends ng.IScope {
|
||||
|
||||
+2
-1
@@ -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 {
|
||||
@@ -87,6 +87,7 @@ declare module angular.translate {
|
||||
fallbackLanguage(): ITranslateProvider;
|
||||
fallbackLanguage(language: string): ITranslateProvider;
|
||||
fallbackLanguage(languages: string[]): ITranslateProvider;
|
||||
forceAsyncReload(value: boolean): ITranslateProvider;
|
||||
use(): string;
|
||||
use(key: string): ITranslateProvider;
|
||||
storageKey(): string;
|
||||
|
||||
@@ -177,8 +177,13 @@ class UrlLocatorTestService implements IUrlLocatorTestService {
|
||||
if (this.$state.href("myState") === "/myState") {
|
||||
//
|
||||
}
|
||||
this.$state.get("myState");
|
||||
this.$state.get();
|
||||
this.$state.get("myState");
|
||||
this.$state.get("myState", "yourState");
|
||||
this.$state.get("myState", this.$state.current);
|
||||
this.$state.get(this.$state.current);
|
||||
this.$state.get(this.$state.current, "yourState");
|
||||
this.$state.get(this.$state.current, this.$state.current);
|
||||
this.$state.reload();
|
||||
|
||||
// http://angular-ui.github.io/ui-router/site/#/api/ui.router.state.$state#properties
|
||||
|
||||
+4
-1
@@ -261,7 +261,10 @@ declare module angular.ui {
|
||||
is(state: IState, params?: {}): boolean;
|
||||
href(state: IState, params?: {}, options?: IHrefOptions): string;
|
||||
href(state: string, params?: {}, options?: IHrefOptions): string;
|
||||
get(state: string): IState;
|
||||
get(state: string, context?: string): IState;
|
||||
get(state: IState, context?: string): IState;
|
||||
get(state: string, context?: IState): IState;
|
||||
get(state: IState, context?: IState): IState;
|
||||
get(): IState[];
|
||||
/** A reference to the state's config object. However you passed it in. Useful for accessing custom data. */
|
||||
current: IState;
|
||||
|
||||
@@ -78,5 +78,6 @@ var droppedCallback: AngularUITree.IDroppedCallback = (eventInfo: AngularUITree.
|
||||
|
||||
var callbacks: AngularUITree.ICallbacks = {
|
||||
accept: acceptCallback,
|
||||
dragStart: droppedCallback,
|
||||
dropped: droppedCallback
|
||||
};
|
||||
|
||||
Vendored
+1
@@ -54,6 +54,7 @@ declare module AngularUITree {
|
||||
|
||||
interface ICallbacks {
|
||||
accept: IAcceptCallback;
|
||||
dragStart: IDroppedCallback;
|
||||
dropped: IDroppedCallback;
|
||||
}
|
||||
|
||||
|
||||
+429
@@ -0,0 +1,429 @@
|
||||
// Type definitions for Angular JS 1.5 component router
|
||||
// Project: http://angularjs.org
|
||||
// Definitions by: David Reher <http://github.com/davidreher>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="./angular.d.ts" />
|
||||
/// <reference path="../es6-promise/es6-promise.d.ts" />
|
||||
|
||||
declare module angular {
|
||||
/**
|
||||
* `Instruction` is a tree of {@link ComponentInstruction}s with all the information needed
|
||||
* to transition each component in the app to a given route, including all auxiliary routes.
|
||||
*
|
||||
* `Instruction`s can be created using {@link Router#generate}, and can be used to
|
||||
* perform route changes with {@link Router#navigateByInstruction}.
|
||||
*
|
||||
* ### Example
|
||||
*
|
||||
* ```
|
||||
* import {Component} from 'angular2/core';
|
||||
* import {bootstrap} from 'angular2/platform/browser';
|
||||
* import {Router, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, RouteConfig} from 'angular2/router';
|
||||
*
|
||||
* @Component({directives: [ROUTER_DIRECTIVES]})
|
||||
* @RouteConfig([
|
||||
* {...},
|
||||
* ])
|
||||
* class AppCmp {
|
||||
* constructor(router: Router) {
|
||||
* var instruction = router.generate(['/MyRoute']);
|
||||
* router.navigateByInstruction(instruction);
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* bootstrap(AppCmp, ROUTER_PROVIDERS);
|
||||
* ```
|
||||
*/
|
||||
interface Instruction {
|
||||
|
||||
urlPath(): string;
|
||||
|
||||
urlParams(): string[];
|
||||
|
||||
specificity(): number;
|
||||
|
||||
resolveComponent(): Promise<ComponentInstruction>;
|
||||
|
||||
/**
|
||||
* converts the instruction into a URL string
|
||||
*/
|
||||
toRootUrl(): string;
|
||||
|
||||
toUrlQuery(): string;
|
||||
|
||||
/**
|
||||
* Returns a new instruction that shares the state of the existing instruction, but with
|
||||
* the given child {@link Instruction} replacing the existing child.
|
||||
*/
|
||||
replaceChild(child: Instruction): Instruction;
|
||||
|
||||
/**
|
||||
* If the final URL for the instruction is ``
|
||||
*/
|
||||
toUrlPath(): string;
|
||||
|
||||
/**
|
||||
* default instructions override these
|
||||
*/
|
||||
toLinkUrl(): string;
|
||||
}
|
||||
|
||||
/**
|
||||
* A router outlet is a placeholder that Angular dynamically fills based on the application's route.
|
||||
*
|
||||
* ## Use
|
||||
*
|
||||
* ```
|
||||
* <router-outlet></router-outlet>
|
||||
* ```
|
||||
*/
|
||||
interface RouterOutlet {
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* Called by the Router to instantiate a new component during the commit phase of a navigation.
|
||||
* This method in turn is responsible for calling the `routerOnActivate` hook of its child.
|
||||
*/
|
||||
activate(nextInstruction: ComponentInstruction): Promise<any>;
|
||||
|
||||
/**
|
||||
* Called by the {@link Router} during the commit phase of a navigation when an outlet
|
||||
* reuses a component between different routes.
|
||||
* This method in turn is responsible for calling the `routerOnReuse` hook of its child.
|
||||
*/
|
||||
reuse(nextInstruction: ComponentInstruction): Promise<any>;
|
||||
|
||||
/**
|
||||
* Called by the {@link Router} when an outlet disposes of a component's contents.
|
||||
* This method in turn is responsible for calling the `routerOnDeactivate` hook of its child.
|
||||
*/
|
||||
deactivate(nextInstruction: ComponentInstruction): Promise<any>;
|
||||
|
||||
/**
|
||||
* Called by the {@link Router} during recognition phase of a navigation.
|
||||
*
|
||||
* If this resolves to `false`, the given navigation is cancelled.
|
||||
*
|
||||
* This method delegates to the child component's `routerCanDeactivate` hook if it exists,
|
||||
* and otherwise resolves to true.
|
||||
*/
|
||||
routerCanDeactivate(nextInstruction: ComponentInstruction): Promise<boolean>;
|
||||
|
||||
/**
|
||||
* Called by the {@link Router} during recognition phase of a navigation.
|
||||
*
|
||||
* If the new child component has a different Type than the existing child component,
|
||||
* this will resolve to `false`. You can't reuse an old component when the new component
|
||||
* is of a different Type.
|
||||
*
|
||||
* Otherwise, this method delegates to the child component's `routerCanReuse` hook if it exists,
|
||||
* or resolves to true if the hook is not present.
|
||||
*/
|
||||
routerCanReuse(nextInstruction: ComponentInstruction): Promise<boolean>;
|
||||
}
|
||||
|
||||
interface RouteRegistry {
|
||||
/**
|
||||
* Given a component and a configuration object, add the route to this registry
|
||||
*/
|
||||
config(parentComponent: any, config: RouteDefinition): void;
|
||||
|
||||
/**
|
||||
* Reads the annotations of a component and configures the registry based on them
|
||||
*/
|
||||
configFromComponent(component: any): void;
|
||||
|
||||
/**
|
||||
* Given a URL and a parent component, return the most specific instruction for navigating
|
||||
* the application into the state specified by the url
|
||||
*/
|
||||
recognize(url: string, ancestorInstructions: Instruction[]): Promise<Instruction>;
|
||||
|
||||
/**
|
||||
* Given a normalized list with component names and params like: `['user', {id: 3 }]`
|
||||
* generates a url with a leading slash relative to the provided `parentComponent`.
|
||||
*
|
||||
* If the optional param `_aux` is `true`, then we generate starting at an auxiliary
|
||||
* route boundary.
|
||||
*/
|
||||
generate(linkParams: any[], ancestorInstructions: Instruction[], _aux?: boolean): Instruction;
|
||||
|
||||
hasRoute(name: string, parentComponent: any): boolean;
|
||||
|
||||
generateDefault(componentCursor: any): Instruction;
|
||||
}
|
||||
|
||||
/**
|
||||
* The `Router` is responsible for mapping URLs to components.
|
||||
*
|
||||
* You can see the state of the router by inspecting the read-only field `router.navigating`.
|
||||
* This may be useful for showing a spinner, for instance.
|
||||
*
|
||||
* ## Concepts
|
||||
*
|
||||
* Routers and component instances have a 1:1 correspondence.
|
||||
*
|
||||
* The router holds reference to a number of {@link RouterOutlet}.
|
||||
* An outlet is a placeholder that the router dynamically fills in depending on the current URL.
|
||||
*
|
||||
* When the router navigates from a URL, it must first recognize it and serialize it into an
|
||||
* `Instruction`.
|
||||
* The router uses the `RouteRegistry` to get an `Instruction`.
|
||||
*/
|
||||
interface Router {
|
||||
navigating: boolean;
|
||||
lastNavigationAttempt: string;
|
||||
registry: RouteRegistry;
|
||||
parent: Router;
|
||||
hostComponent: any;
|
||||
|
||||
/**
|
||||
* Constructs a child router. You probably don't need to use this unless you're writing a reusable
|
||||
* component.
|
||||
*/
|
||||
childRouter(hostComponent: any): Router;
|
||||
|
||||
/**
|
||||
* Constructs a child router. You probably don't need to use this unless you're writing a reusable
|
||||
* component.
|
||||
*/
|
||||
auxRouter(hostComponent: any): Router;
|
||||
|
||||
/**
|
||||
* Register an outlet to be notified of primary route changes.
|
||||
*
|
||||
* You probably don't need to use this unless you're writing a reusable component.
|
||||
*/
|
||||
registerPrimaryOutlet(outlet: RouterOutlet): Promise<boolean>;
|
||||
|
||||
/**
|
||||
* Register an outlet to notified of auxiliary route changes.
|
||||
*
|
||||
* You probably don't need to use this unless you're writing a reusable component.
|
||||
*/
|
||||
registerAuxOutlet(outlet: RouterOutlet): Promise<boolean>;
|
||||
|
||||
/**
|
||||
* Given an instruction, returns `true` if the instruction is currently active,
|
||||
* otherwise `false`.
|
||||
*/
|
||||
isRouteActive(instruction: Instruction): boolean;
|
||||
|
||||
/**
|
||||
* Dynamically update the routing configuration and trigger a navigation.
|
||||
*
|
||||
* ### Usage
|
||||
*
|
||||
* ```
|
||||
* router.config([
|
||||
* { 'path': '/', 'component': IndexComp },
|
||||
* { 'path': '/user/:id', 'component': UserComp },
|
||||
* ]);
|
||||
* ```
|
||||
*/
|
||||
config(definitions: RouteDefinition[]): Promise<any>;
|
||||
|
||||
/**
|
||||
* Navigate based on the provided Route Link DSL. It's preferred to navigate with this method
|
||||
* over `navigateByUrl`.
|
||||
*
|
||||
* ### Usage
|
||||
*
|
||||
* This method takes an array representing the Route Link DSL:
|
||||
* ```
|
||||
* ['./MyCmp', {param: 3}]
|
||||
* ```
|
||||
* See the {@link RouterLink} directive for more.
|
||||
*/
|
||||
navigate(linkParams: any[]): Promise<any>;
|
||||
|
||||
/**
|
||||
* Navigate to a URL. Returns a promise that resolves when navigation is complete.
|
||||
* It's preferred to navigate with `navigate` instead of this method, since URLs are more brittle.
|
||||
*
|
||||
* If the given URL begins with a `/`, router will navigate absolutely.
|
||||
* If the given URL does not begin with `/`, the router will navigate relative to this component.
|
||||
*/
|
||||
navigateByUrl(url: string, _skipLocationChange?: boolean): Promise<any>;
|
||||
|
||||
/**
|
||||
* Navigate via the provided instruction. Returns a promise that resolves when navigation is
|
||||
* complete.
|
||||
*/
|
||||
navigateByInstruction(instruction: Instruction,
|
||||
_skipLocationChange?: boolean): Promise<any>;
|
||||
|
||||
/**
|
||||
* Updates this router and all descendant routers according to the given instruction
|
||||
*/
|
||||
commit(instruction: Instruction, _skipLocationChange?: boolean): Promise<any>;
|
||||
|
||||
/**
|
||||
* Subscribe to URL updates from the router
|
||||
*/
|
||||
subscribe(onNext: (value: any) => void): Object;
|
||||
|
||||
/**
|
||||
* Removes the contents of this router's outlet and all descendant outlets
|
||||
*/
|
||||
deactivate(instruction: Instruction): Promise<any>;
|
||||
|
||||
/**
|
||||
* Given a URL, returns an instruction representing the component graph
|
||||
*/
|
||||
recognize(url: string): Promise<Instruction>;
|
||||
|
||||
/**
|
||||
* Navigates to either the last URL successfully navigated to, or the last URL requested if the
|
||||
* router has yet to successfully navigate.
|
||||
*/
|
||||
renavigate(): Promise<any>;
|
||||
|
||||
/**
|
||||
* Generate an `Instruction` based on the provided Route Link DSL.
|
||||
*/
|
||||
generate(linkParams: any[]): Instruction;
|
||||
}
|
||||
|
||||
/**
|
||||
* RouteData is an immutable map of additional data you can configure in your Route.
|
||||
* You can inject RouteData into the constructor of a component to use it.
|
||||
*/
|
||||
interface RouteData {
|
||||
data: {[key: string]: any};
|
||||
get(key: string): any;
|
||||
}
|
||||
|
||||
/**
|
||||
* A `ComponentInstruction` represents the route state for a single component. An `Instruction` is
|
||||
* composed of a tree of these `ComponentInstruction`s.
|
||||
*
|
||||
* `ComponentInstructions` is a public API. Instances of `ComponentInstruction` are passed
|
||||
* to route lifecycle hooks, like {@link CanActivate}.
|
||||
*
|
||||
* `ComponentInstruction`s are [https://en.wikipedia.org/wiki/Hash_consing](hash consed). You should
|
||||
* never construct one yourself with "new." Instead, rely on {@link Router/RouteRecognizer} to
|
||||
* construct `ComponentInstruction`s.
|
||||
*
|
||||
* You should not modify this object. It should be treated as immutable.
|
||||
*/
|
||||
interface ComponentInstruction {
|
||||
reuse: boolean;
|
||||
routeData: RouteData;
|
||||
urlPath: string;
|
||||
urlParams: string[];
|
||||
data: RouteData;
|
||||
componentType: any;
|
||||
terminal: boolean;
|
||||
specificity: number;
|
||||
params: {[key: string]: any};
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines route lifecycle method `routerOnActivate`, which is called by the router at the end of a
|
||||
* successful route navigation.
|
||||
*
|
||||
* For a single component's navigation, only one of either {@link OnActivate} or {@link OnReuse}
|
||||
* will be called depending on the result of {@link CanReuse}.
|
||||
*
|
||||
* The `routerOnActivate` hook is called with two {@link ComponentInstruction}s as parameters, the
|
||||
* first
|
||||
* representing the current route being navigated to, and the second parameter representing the
|
||||
* previous route or `null`.
|
||||
*
|
||||
* If `routerOnActivate` returns a promise, the route change will wait until the promise settles to
|
||||
* instantiate and activate child components.
|
||||
*
|
||||
* ### Example
|
||||
* {@example router/ts/on_activate/on_activate_example.ts region='routerOnActivate'}
|
||||
*/
|
||||
interface OnActivate {
|
||||
$routerOnActivate(next?: angular.ComponentInstruction, prev?: angular.ComponentInstruction): any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines route lifecycle method `routerCanDeactivate`, which is called by the router to determine
|
||||
* if a component can be removed as part of a navigation.
|
||||
*
|
||||
* The `routerCanDeactivate` hook is called with two {@link ComponentInstruction}s as parameters,
|
||||
* the
|
||||
* first representing the current route being navigated to, and the second parameter
|
||||
* representing the previous route.
|
||||
*
|
||||
* If `routerCanDeactivate` returns or resolves to `false`, the navigation is cancelled. If it
|
||||
* returns or
|
||||
* resolves to `true`, then the navigation continues, and the component will be deactivated
|
||||
* (the {@link OnDeactivate} hook will be run) and removed.
|
||||
*
|
||||
* If `routerCanDeactivate` throws or rejects, the navigation is also cancelled.
|
||||
*
|
||||
* ### Example
|
||||
* {@example router/ts/can_deactivate/can_deactivate_example.ts region='routerCanDeactivate'}
|
||||
*/
|
||||
interface CanDeactivate {
|
||||
$routerCanDeactivate(next?: ComponentInstruction, prev?: ComponentInstruction): boolean | Promise<boolean>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines route lifecycle method `routerOnDeactivate`, which is called by the router before
|
||||
* destroying
|
||||
* a component as part of a route change.
|
||||
*
|
||||
* The `routerOnDeactivate` hook is called with two {@link ComponentInstruction}s as parameters, the
|
||||
* first
|
||||
* representing the current route being navigated to, and the second parameter representing the
|
||||
* previous route.
|
||||
*
|
||||
* If `routerOnDeactivate` returns a promise, the route change will wait until the promise settles.
|
||||
*
|
||||
* ### Example
|
||||
* {@example router/ts/on_deactivate/on_deactivate_example.ts region='routerOnDeactivate'}
|
||||
*/
|
||||
interface OnDeactivate {
|
||||
$routerOnDeactivate(next?: angular.ComponentInstruction, prev?: angular.ComponentInstruction): any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines route lifecycle method `routerCanReuse`, which is called by the router to determine
|
||||
* whether a
|
||||
* component should be reused across routes, or whether to destroy and instantiate a new component.
|
||||
*
|
||||
* The `routerCanReuse` hook is called with two {@link ComponentInstruction}s as parameters, the
|
||||
* first
|
||||
* representing the current route being navigated to, and the second parameter representing the
|
||||
* previous route.
|
||||
*
|
||||
* If `routerCanReuse` returns or resolves to `true`, the component instance will be reused and the
|
||||
* {@link OnDeactivate} hook will be run. If `routerCanReuse` returns or resolves to `false`, a new
|
||||
* component will be instantiated, and the existing component will be deactivated and removed as
|
||||
* part of the navigation.
|
||||
*
|
||||
* If `routerCanReuse` throws or rejects, the navigation will be cancelled.
|
||||
*
|
||||
* ### Example
|
||||
* {@example router/ts/reuse/reuse_example.ts region='reuseCmp'}
|
||||
*/
|
||||
interface CanReuse {
|
||||
$routerCanReuse(next?: angular.ComponentInstruction, prev?: angular.ComponentInstruction): boolean | Promise<boolean>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines route lifecycle method `routerOnReuse`, which is called by the router at the end of a
|
||||
* successful route navigation when {@link CanReuse} is implemented and returns or resolves to true.
|
||||
*
|
||||
* For a single component's navigation, only one of either {@link OnActivate} or {@link OnReuse}
|
||||
* will be called, depending on the result of {@link CanReuse}.
|
||||
*
|
||||
* The `routerOnReuse` hook is called with two {@link ComponentInstruction}s as parameters, the
|
||||
* first
|
||||
* representing the current route being navigated to, and the second parameter representing the
|
||||
* previous route or `null`.
|
||||
*
|
||||
* ### Example
|
||||
* {@example router/ts/reuse/reuse_example.ts region='reuseCmp'}
|
||||
*/
|
||||
interface OnReuse {
|
||||
$routerOnReuse(next?: angular.ComponentInstruction, prev?: angular.ComponentInstruction): any;
|
||||
}
|
||||
}
|
||||
Vendored
+87
-6
@@ -1632,18 +1632,99 @@ declare module angular {
|
||||
// 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/
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
/**
|
||||
* Runtime representation a type that a Component or other object is instances of.
|
||||
*
|
||||
* An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by
|
||||
* the `MyCustomComponent` constructor function.
|
||||
*/
|
||||
interface Type extends Function {
|
||||
}
|
||||
|
||||
/**
|
||||
* `RouteDefinition` defines a route within a {@link RouteConfig} decorator.
|
||||
*
|
||||
* Supported keys:
|
||||
* - `path` or `aux` (requires exactly one of these)
|
||||
* - `component`, `loader`, `redirectTo` (requires exactly one of these)
|
||||
* - `name` or `as` (optional) (requires exactly one of these)
|
||||
* - `data` (optional)
|
||||
*
|
||||
* See also {@link Route}, {@link AsyncRoute}, {@link AuxRoute}, and {@link Redirect}.
|
||||
*/
|
||||
interface RouteDefinition {
|
||||
path?: string;
|
||||
aux?: string;
|
||||
component?: Type | ComponentDefinition | string;
|
||||
loader?: Function;
|
||||
redirectTo?: any[];
|
||||
as?: string;
|
||||
name?: string;
|
||||
data?: any;
|
||||
useAsDefault?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents either a component type (`type` is `component`) or a loader function
|
||||
* (`type` is `loader`).
|
||||
*
|
||||
* See also {@link RouteDefinition}.
|
||||
*/
|
||||
interface ComponentDefinition {
|
||||
type: string;
|
||||
loader?: Function;
|
||||
component?: Type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Component definition object (a simplified directive definition object)
|
||||
*/
|
||||
interface IComponentOptions {
|
||||
bindings?: Object;
|
||||
/**
|
||||
* Controller constructor function that should be associated with newly created scope or the name of a registered
|
||||
* controller if passed as a string. Empty function by default.
|
||||
*/
|
||||
controller?: string | Function;
|
||||
/**
|
||||
* An identifier name for a reference to the controller. If present, the controller will be published to scope under
|
||||
* the controllerAs name. If not present, this will default to be the same as the component name.
|
||||
*/
|
||||
controllerAs?: string;
|
||||
isolate?: boolean;
|
||||
template?: string | IComponentTemplateFn;
|
||||
templateUrl?: string | IComponentTemplateFn;
|
||||
/**
|
||||
* html template as a string or a function that returns an html template as a string which should be used as the
|
||||
* contents of this component. Empty string by default.
|
||||
* If template is a function, then it is injected with the following locals:
|
||||
* $element - Current element
|
||||
* $attrs - Current attributes object for the element
|
||||
*/
|
||||
template?: string | Function;
|
||||
/**
|
||||
* path or function that returns a path to an html template that should be used as the contents of this component.
|
||||
* If templateUrl is a function, then it is injected with the following locals:
|
||||
* $element - Current element
|
||||
* $attrs - Current attributes object for the element
|
||||
*/
|
||||
templateUrl?: string | Function;
|
||||
/**
|
||||
* Define DOM attribute binding to component properties. Component properties are always bound to the component
|
||||
* controller and not to the scope.
|
||||
*/
|
||||
bindings?: any;
|
||||
/**
|
||||
* Whether transclusion is enabled. Enabled by default.
|
||||
*/
|
||||
transclude?: boolean;
|
||||
/**
|
||||
* Whether the new scope is isolated. Isolated by default.
|
||||
*/
|
||||
isolate?: boolean;
|
||||
/**
|
||||
* String of subset of EACM which restricts the component to specific directive declaration style. If omitted,
|
||||
* this defaults to 'E'.
|
||||
*/
|
||||
restrict?: string;
|
||||
$canActivate?: Function;
|
||||
$routeConfig?: Object;
|
||||
$canActivate?: () => boolean;
|
||||
$routeConfig?: RouteDefinition[];
|
||||
}
|
||||
|
||||
interface IComponentTemplateFn {
|
||||
|
||||
Vendored
+1
-1
@@ -50,7 +50,7 @@ declare module "any-db" {
|
||||
/**
|
||||
* Result rows
|
||||
*/
|
||||
rows: Object[];
|
||||
rows: any[];
|
||||
/**
|
||||
* Result field descriptions
|
||||
*/
|
||||
|
||||
@@ -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
+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. */
|
||||
|
||||
Vendored
+9
-9
@@ -147,13 +147,20 @@ declare module "aws-sdk" {
|
||||
|
||||
export class S3 {
|
||||
constructor(options?: any);
|
||||
public client: s3.Client;
|
||||
putObject(params: s3.PutObjectRequest, callback: (err: any, data: any) => void): void;
|
||||
getObject(params: s3.GetObjectRequest, callback: (err: any, data: any) => void): void;
|
||||
}
|
||||
|
||||
export class DynamoDB {
|
||||
constructor(options?: any);
|
||||
}
|
||||
|
||||
export module DynamoDB {
|
||||
export class DocumentClient {
|
||||
constructor(options?: any);
|
||||
}
|
||||
}
|
||||
|
||||
export module SQS {
|
||||
|
||||
export interface SqsOptions {
|
||||
@@ -1036,14 +1043,7 @@ declare module "aws-sdk" {
|
||||
}
|
||||
|
||||
export module s3 {
|
||||
|
||||
export interface Client {
|
||||
config: ClientConfig;
|
||||
|
||||
putObject(params: PutObjectRequest, callback: (err: any, data: any) => void): void;
|
||||
getObject(params: GetObjectRequest, callback: (err: any, data: any) => void): void;
|
||||
}
|
||||
|
||||
|
||||
export interface PutObjectRequest {
|
||||
ACL?: string;
|
||||
Body?: any;
|
||||
|
||||
+46
-3
@@ -8,21 +8,64 @@ interface Repository {
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface Issue {
|
||||
id: number;
|
||||
title: string;
|
||||
}
|
||||
|
||||
axios.interceptors.request.use<any>(config => {
|
||||
console.log("Method:" + config.method + " Url:" +config.url);
|
||||
return config;
|
||||
});
|
||||
|
||||
axios.interceptors.response.use<any>(config => {
|
||||
console.log("Status:" + config.status);
|
||||
return config;
|
||||
});
|
||||
|
||||
axios.get<Repository>("https://api.github.com/repos/mzabriskie/axios")
|
||||
.then(r => console.log(r.config.method));
|
||||
|
||||
axios<Repository>({
|
||||
var getRepoDetails = axios<Repository>({
|
||||
url: "https://api.github.com/repos/mzabriskie/axios",
|
||||
method: HttpMethod[HttpMethod.GET],
|
||||
headers: {},
|
||||
}).then(r => console.log("ID:" + r.data.id + " Name: " + r.data.name));
|
||||
}).then(r => {
|
||||
console.log("ID:" + r.data.id + " Name: " + r.data.name);
|
||||
return r;
|
||||
});
|
||||
|
||||
axios.post("http://example.com/", {}, {
|
||||
transformRequest: (data: any) => data
|
||||
});
|
||||
|
||||
axios.post("http://example.com/", {}, {
|
||||
axios.post("http://example.com/", {
|
||||
headers: {'X-Custom-Header': 'foobar'}
|
||||
}, {
|
||||
transformRequest: [
|
||||
(data: any) => data
|
||||
]
|
||||
});
|
||||
|
||||
var getRepoIssue = axios.get<Issue>("https://api.github.com/repos/mzabriskie/axios/issues/1");
|
||||
|
||||
var axiosInstance = axios.create({
|
||||
baseURL: "https://api.github.com/repos/mzabriskie/axios/",
|
||||
timeout: 1000
|
||||
});
|
||||
|
||||
axiosInstance.request({url: "issues/1"});
|
||||
|
||||
axios.all<Repository, Repository>([getRepoDetails, getRepoDetails]).then(([repo1, repo2]) => {
|
||||
var sumIds = repo1.data.id + repo2.data.id;
|
||||
console.log("Sum ID:" + sumIds);
|
||||
return sumIds;
|
||||
});
|
||||
|
||||
var repoSum = (repo1: Axios.AxiosXHR<Repository>, repo2: Axios.AxiosXHR<Repository>) => {
|
||||
var sumIds = repo1.data.id + repo2.data.id;
|
||||
console.log("Sum ID:" + sumIds);
|
||||
return sumIds;
|
||||
};
|
||||
|
||||
axios.all<Repository, Repository>([getRepoDetails, getRepoDetails]).then(axios.spread(repoSum));
|
||||
|
||||
Vendored
+246
-132
@@ -1,162 +1,276 @@
|
||||
// Type definitions for axios 0.5.2
|
||||
// Type definitions for axios 0.8.1
|
||||
// Project: https://github.com/mzabriskie/axios
|
||||
// Definitions by: Marcel Buesing <https://github.com/marcelbuesing>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../es6-promise/es6-promise.d.ts"/>
|
||||
|
||||
declare module Axios {
|
||||
|
||||
/**
|
||||
* <T> - request body data type
|
||||
*/
|
||||
interface AxiosXHRConfigBase<T> {
|
||||
interface IThenable<R> {
|
||||
then<U>(onFulfilled?: (value: R) => U | IThenable<U>, onRejected?: (error: any) => U | IThenable<U>): IThenable<U>;
|
||||
then<U>(onFulfilled?: (value: R) => U | IThenable<U>, onRejected?: (error: any) => void): IThenable<U>;
|
||||
}
|
||||
|
||||
interface IPromise<R> extends IThenable<R> {
|
||||
then<U>(onFulfilled?: (value: R) => U | IThenable<U>, onRejected?: (error: any) => U | IThenable<U>): IPromise<U>;
|
||||
then<U>(onFulfilled?: (value: R) => U | IThenable<U>, onRejected?: (error: any) => void): IPromise<U>;
|
||||
catch<U>(onRejected?: (error: any) => U | IThenable<U>): IPromise<U>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Change the request data before it is sent to the server.
|
||||
* This is only applicable for request methods 'PUT', 'POST', and 'PATCH'
|
||||
* The last function in the array must return a string or an ArrayBuffer
|
||||
* HTTP Basic auth details
|
||||
*/
|
||||
transformRequest?: (<U>(data:T) => U)|[<U>(data:T) => U];
|
||||
interface AxiosHttpBasicAuth {
|
||||
username: string;
|
||||
password: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* change the response data to be made before it is passed to then/catch
|
||||
* Common axios XHR config interface
|
||||
* <T> - request body data type
|
||||
*/
|
||||
transformResponse?: <U>(data:T) => U;
|
||||
interface AxiosXHRConfigBase<T> {
|
||||
/**
|
||||
* will be prepended to `url` unless `url` is absolute.
|
||||
* It can be convenient to set `baseURL` for an instance
|
||||
* of axios to pass relative URLs to methods of that instance.
|
||||
*/
|
||||
baseURL?: string;
|
||||
|
||||
/**
|
||||
* custom headers to be sent
|
||||
*/
|
||||
headers?: Object;
|
||||
|
||||
/**
|
||||
* URL parameters to be sent with the request
|
||||
*/
|
||||
params?: Object;
|
||||
|
||||
/**
|
||||
* optional function in charge of serializing `params`
|
||||
* (e.g. https://www.npmjs.com/package/qs, http://api.jquery.com/jquery.param/)
|
||||
*/
|
||||
paramsSerializer?: (params: Object) => string;
|
||||
|
||||
/**
|
||||
* specifies the number of milliseconds before the request times out.
|
||||
* If the request takes longer than `timeout`, the request will be aborted.
|
||||
*/
|
||||
timeout?: number;
|
||||
|
||||
/**
|
||||
* indicates whether or not cross-site Access-Control requests
|
||||
* should be made using credentials
|
||||
*/
|
||||
withCredentials?: boolean;
|
||||
|
||||
/**
|
||||
* indicates that HTTP Basic auth should be used, and supplies
|
||||
* credentials. This will set an `Authorization` header,
|
||||
* overwriting any existing `Authorization` custom headers you have
|
||||
* set using `headers`.
|
||||
*/
|
||||
auth?: AxiosHttpBasicAuth;
|
||||
|
||||
/**
|
||||
* indicates the type of data that the server will respond with
|
||||
* options are 'arraybuffer', 'blob', 'document', 'json', 'text'
|
||||
*/
|
||||
responseType?: string;
|
||||
|
||||
/**
|
||||
* name of the cookie to use as a value for xsrf token
|
||||
*/
|
||||
xsrfCookieName?: string;
|
||||
|
||||
/**
|
||||
* name of the http header that carries the xsrf token value
|
||||
*/
|
||||
xsrfHeaderName?: string;
|
||||
|
||||
/**
|
||||
* Change the request data before it is sent to the server.
|
||||
* This is only applicable for request methods 'PUT', 'POST', and 'PATCH'
|
||||
* The last function in the array must return a string or an ArrayBuffer
|
||||
*/
|
||||
transformRequest?: (<U>(data: T) => U) | [<U>(data: T) => U];
|
||||
|
||||
/**
|
||||
* change the response data to be made before it is passed to then/catch
|
||||
*/
|
||||
transformResponse?: <U>(data: T) => U;
|
||||
}
|
||||
|
||||
/**
|
||||
* custom headers to be sent
|
||||
* <T> - request body data type
|
||||
*/
|
||||
headers?: Object;
|
||||
interface AxiosXHRConfig<T> extends AxiosXHRConfigBase<T> {
|
||||
/**
|
||||
* server URL that will be used for the request, options are:
|
||||
* GET, PUT, POST, DELETE, CONNECT, HEAD, OPTIONS, TRACE, PATCH
|
||||
*/
|
||||
url: string;
|
||||
|
||||
/**
|
||||
* request method to be used when making the request
|
||||
*/
|
||||
method?: string;
|
||||
|
||||
/**
|
||||
* data to be sent as the request body
|
||||
* Only applicable for request methods 'PUT', 'POST', and 'PATCH'
|
||||
* When no `transformRequest` is set, must be a string, an ArrayBuffer or a hash
|
||||
*/
|
||||
data?: T;
|
||||
}
|
||||
|
||||
/**
|
||||
* URL parameters to be sent with the request
|
||||
* <T> - expected response type,
|
||||
* <U> - request body data type
|
||||
*/
|
||||
params?: Object;
|
||||
interface AxiosXHR<T> {
|
||||
/**
|
||||
* Response that was provided by the server
|
||||
*/
|
||||
data: T;
|
||||
|
||||
/**
|
||||
* HTTP status code from the server response
|
||||
*/
|
||||
status: number;
|
||||
|
||||
/**
|
||||
* HTTP status message from the server response
|
||||
*/
|
||||
statusText: string;
|
||||
|
||||
/**
|
||||
* headers that the server responded with
|
||||
*/
|
||||
headers: Object;
|
||||
|
||||
/**
|
||||
* config that was provided to `axios` for the request
|
||||
*/
|
||||
config: AxiosXHRConfig<T>;
|
||||
}
|
||||
|
||||
interface Interceptor {
|
||||
/**
|
||||
* intercept request before it is sent
|
||||
*/
|
||||
request: RequestInterceptor;
|
||||
|
||||
/**
|
||||
* intercept response of request when it is received.
|
||||
*/
|
||||
response: ResponseInterceptor
|
||||
}
|
||||
|
||||
interface RequestInterceptor {
|
||||
/**
|
||||
* <U> - request body data type
|
||||
*/
|
||||
use<U>(fn: (config: AxiosXHRConfig<U>) => AxiosXHRConfig<U>): void;
|
||||
}
|
||||
|
||||
interface ResponseInterceptor {
|
||||
/**
|
||||
* <T> - expected response type
|
||||
*/
|
||||
use<T>(fn: (config: AxiosXHR<T>) => AxiosXHR<T>): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* indicates whether or not cross-site Access-Control requests
|
||||
* should be made using credentials
|
||||
* <T> - expected response type,
|
||||
* <U> - request body data type
|
||||
*/
|
||||
withCredentials?: boolean;
|
||||
interface AxiosInstance {
|
||||
|
||||
/**
|
||||
* Send request as configured
|
||||
*/
|
||||
<T>(config: AxiosXHRConfig<T>): IPromise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* Send request as configured
|
||||
*/
|
||||
new <T>(config: AxiosXHRConfig<T>): IPromise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* Send request as configured
|
||||
*/
|
||||
request<T>(config: AxiosXHRConfig<T>): IPromise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* intercept requests or responses before they are handled by then or catch
|
||||
*/
|
||||
interceptors: Interceptor;
|
||||
|
||||
/**
|
||||
* equivalent to `Promise.all`
|
||||
*/
|
||||
all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: [T1 | IPromise<AxiosXHR<T1>>, T2 | IPromise<AxiosXHR<T2>>, T3 | IPromise<AxiosXHR<T3>>, T4 | IPromise<AxiosXHR<T4>>, T5 | IPromise<AxiosXHR<T5>>, T6 | IPromise<AxiosXHR<T6>>, T7 | IPromise<AxiosXHR<T7>>, T8 | IPromise<AxiosXHR<T8>>, T9 | IPromise<AxiosXHR<T9>>, T10 | IPromise<AxiosXHR<T10>>]): IPromise<[AxiosXHR<T1>, AxiosXHR<T2>, AxiosXHR<T3>, AxiosXHR<T4>, AxiosXHR<T5>, AxiosXHR<T6>, AxiosXHR<T7>, AxiosXHR<T8>, AxiosXHR<T9>, AxiosXHR<T10>]>;
|
||||
all<T1, T2, T3, T4, T5, T6, T7, T8, T9>(values: [T1 | IPromise<AxiosXHR<T1>>, T2 | IPromise<AxiosXHR<T2>>, T3 | IPromise<AxiosXHR<T3>>, T4 | IPromise<AxiosXHR<T4>>, T5 | IPromise<AxiosXHR<T5>>, T6 | IPromise<AxiosXHR<T6>>, T7 | IPromise<AxiosXHR<T7>>, T8 | IPromise<AxiosXHR<T8>>, T9 | IPromise<AxiosXHR<T9>>]): IPromise<[AxiosXHR<T1>, AxiosXHR<T2>, AxiosXHR<T3>, AxiosXHR<T4>, AxiosXHR<T5>, AxiosXHR<T6>, AxiosXHR<T7>, AxiosXHR<T8>, AxiosXHR<T9>]>;
|
||||
all<T1, T2, T3, T4, T5, T6, T7, T8>(values: [T1 | IPromise<AxiosXHR<T1>>, T2 | IPromise<AxiosXHR<T2>>, T3 | IPromise<AxiosXHR<T3>>, T4 | IPromise<AxiosXHR<T4>>, T5 | IPromise<AxiosXHR<T5>>, T6 | IPromise<AxiosXHR<T6>>, T7 | IPromise<AxiosXHR<T7>>, T8 | IPromise<AxiosXHR<T8>>]): IPromise<[AxiosXHR<T1>, AxiosXHR<T2>, AxiosXHR<T3>, AxiosXHR<T4>, AxiosXHR<T5>, AxiosXHR<T6>, AxiosXHR<T7>, AxiosXHR<T8>]>;
|
||||
all<T1, T2, T3, T4, T5, T6, T7>(values: [T1 | IPromise<AxiosXHR<T1>>, T2 | IPromise<AxiosXHR<T2>>, T3 | IPromise<AxiosXHR<T3>>, T4 | IPromise<AxiosXHR<T4>>, T5 | IPromise<AxiosXHR<T5>>, T6 | IPromise<AxiosXHR<T6>>, T7 | IPromise<AxiosXHR<T7>>]): IPromise<[AxiosXHR<T1>, AxiosXHR<T2>, AxiosXHR<T3>, AxiosXHR<T4>, AxiosXHR<T5>, AxiosXHR<T6>, AxiosXHR<T7>]>;
|
||||
all<T1, T2, T3, T4, T5, T6>(values: [T1 | IPromise<AxiosXHR<T1>>, T2 | IPromise<AxiosXHR<T2>>, T3 | IPromise<AxiosXHR<T3>>, T4 | IPromise<AxiosXHR<T4>>, T5 | IPromise<AxiosXHR<T5>>, T6 | IPromise<AxiosXHR<T6>>]): IPromise<[AxiosXHR<T1>, AxiosXHR<T2>, AxiosXHR<T3>, AxiosXHR<T4>, AxiosXHR<T5>, AxiosXHR<T6>]>;
|
||||
all<T1, T2, T3, T4, T5>(values: [T1 | IPromise<AxiosXHR<T1>>, T2 | IPromise<AxiosXHR<T2>>, T3 | IPromise<AxiosXHR<T3>>, T4 | IPromise<AxiosXHR<T4>>, T5 | IPromise<AxiosXHR<T5>>]): IPromise<[AxiosXHR<T1>, AxiosXHR<T2>, AxiosXHR<T3>, AxiosXHR<T4>, AxiosXHR<T5>]>;
|
||||
all<T1, T2, T3, T4>(values: [T1 | IPromise<AxiosXHR<T1>>, T2 | IPromise<AxiosXHR<T2>>, T3 | IPromise<AxiosXHR<T3>>, T4 | IPromise<AxiosXHR<T4>>]): IPromise<[AxiosXHR<T1>, AxiosXHR<T2>, AxiosXHR<T3>, AxiosXHR<T4>]>;
|
||||
all<T1, T2, T3>(values: [T1 | IPromise<AxiosXHR<T1>>, T2 | IPromise<AxiosXHR<T2>>, T3 | IPromise<AxiosXHR<T3>>]): IPromise<[AxiosXHR<T1>, AxiosXHR<T2>, AxiosXHR<T3>]>;
|
||||
all<T1, T2>(values: [T1 | IPromise<AxiosXHR<T1>>, T2 | IPromise<AxiosXHR<T2>>]): IPromise<[AxiosXHR<T1>, AxiosXHR<T2>]>;
|
||||
|
||||
/**
|
||||
* spread array parameter to `fn`.
|
||||
* note: alternative to `spread`, destructuring assignment.
|
||||
*/
|
||||
spread<T1, T2, U>(fn: (t1: T1, t2: T2) => U): (arr: ([T1, T2])) => U;
|
||||
|
||||
/**
|
||||
* convenience alias, method = GET
|
||||
*/
|
||||
get<T>(url: string, config?: AxiosXHRConfigBase<T>): IPromise<AxiosXHR<T>>;
|
||||
|
||||
|
||||
/**
|
||||
* convenience alias, method = DELETE
|
||||
*/
|
||||
delete<T>(url: string, config?: AxiosXHRConfigBase<T>): IPromise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* convenience alias, method = HEAD
|
||||
*/
|
||||
head<T>(url: string, config?: AxiosXHRConfigBase<T>): IPromise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* convenience alias, method = POST
|
||||
*/
|
||||
post<T>(url: string, data?: any, config?: AxiosXHRConfigBase<T>): IPromise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* convenience alias, method = PUT
|
||||
*/
|
||||
put<T>(url: string, data?: any, config?: AxiosXHRConfigBase<T>): IPromise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* convenience alias, method = PATCH
|
||||
*/
|
||||
patch<T>(url: string, data?: any, config?: AxiosXHRConfigBase<T>): IPromise<AxiosXHR<T>>;
|
||||
}
|
||||
|
||||
/**
|
||||
* indicates the type of data that the server will respond with
|
||||
* options are 'arraybuffer', 'blob', 'document', 'json', 'text'
|
||||
* <T> - expected response type,
|
||||
*/
|
||||
responseType?: string;
|
||||
|
||||
/**
|
||||
* name of the cookie to use as a value for xsrf token
|
||||
*/
|
||||
xsrfCookieName?: string;
|
||||
|
||||
/**
|
||||
* name of the http header that carries the xsrf token value
|
||||
*/
|
||||
xsrfHeaderName?: string;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* <T> - request body data type
|
||||
*/
|
||||
interface AxiosXHRConfig<T> extends AxiosXHRConfigBase<T> {
|
||||
/**
|
||||
* server URL that will be used for the request, options are:
|
||||
* GET, PUT, POST, DELETE, CONNECT, HEAD, OPTIONS, TRACE, PATCH
|
||||
*/
|
||||
url: string;
|
||||
|
||||
/**
|
||||
* request method to be used when making the request
|
||||
*/
|
||||
method?: string;
|
||||
|
||||
/**
|
||||
* data to be sent as the request body
|
||||
* Only applicable for request methods 'PUT', 'POST', and 'PATCH'
|
||||
* When no `transformRequest` is set, must be a string, an ArrayBuffer or a hash
|
||||
*/
|
||||
data?: T;
|
||||
}
|
||||
|
||||
/**
|
||||
* <T> - expected response type,
|
||||
* <U> - request body data type
|
||||
*/
|
||||
interface AxiosXHR<T> {
|
||||
/**
|
||||
* Response that was provided by the server
|
||||
*/
|
||||
data: T;
|
||||
|
||||
/**
|
||||
* HTTP status code from the server response
|
||||
*/
|
||||
status: number;
|
||||
|
||||
/**
|
||||
* HTTP status message from the server response
|
||||
*/
|
||||
statusText: string;
|
||||
|
||||
/**
|
||||
* headers that the server responded with
|
||||
*/
|
||||
headers: Object;
|
||||
|
||||
/**
|
||||
* config that was provided to `axios` for the request
|
||||
*/
|
||||
config: AxiosXHRConfig<T>;
|
||||
}
|
||||
|
||||
/**
|
||||
* <T> - expected response type,
|
||||
* <U> - request body data type
|
||||
*/
|
||||
interface AxiosStatic {
|
||||
|
||||
<T>(config: AxiosXHRConfig<T>): Promise<AxiosXHR<T>>;
|
||||
|
||||
new <T>(config: AxiosXHRConfig<T>): Promise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* convenience alias, method = GET
|
||||
*/
|
||||
get<T>(url: string, config?: AxiosXHRConfigBase<T>): Promise<AxiosXHR<T>>;
|
||||
|
||||
|
||||
/**
|
||||
* convenience alias, method = DELETE
|
||||
*/
|
||||
delete<T>(url: string, config?: AxiosXHRConfigBase<T>): Promise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* convenience alias, method = HEAD
|
||||
*/
|
||||
head<T>(url: string, config?: AxiosXHRConfigBase<T>): Promise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* convenience alias, method = POST
|
||||
*/
|
||||
post<T>(url: string, data?: any, config?: AxiosXHRConfigBase<T>): Promise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* convenience alias, method = PUT
|
||||
*/
|
||||
put<T>(url: string, data?: any, config?: AxiosXHRConfigBase<T>): Promise<AxiosXHR<T>>;
|
||||
|
||||
/**
|
||||
* convenience alias, method = PATCH
|
||||
*/
|
||||
patch<T>(url: string, data?: any, config?: AxiosXHRConfigBase<T>): Promise<AxiosXHR<T>>;
|
||||
}
|
||||
interface AxiosStatic extends AxiosInstance {
|
||||
/**
|
||||
* create a new instance of axios with a custom config
|
||||
*/
|
||||
create<T>(config: AxiosXHRConfigBase<T>): AxiosInstance;
|
||||
}
|
||||
}
|
||||
|
||||
declare var axios: Axios.AxiosStatic;
|
||||
|
||||
declare module "axios" {
|
||||
export = axios;
|
||||
export = axios;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
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,14 @@
|
||||
/// <reference path="./base-x.d.ts" />
|
||||
|
||||
import * as basex from 'base-x';
|
||||
|
||||
let bs16: BaseX.BaseConverter = basex('0123456789ABCDEF');
|
||||
|
||||
{
|
||||
let encoded: string;
|
||||
|
||||
encoded = bs16.encode([255]);
|
||||
encoded = bs16.encode({0: 255, length: 1});
|
||||
}
|
||||
|
||||
let decoded: number[] = bs16.decode('FF');
|
||||
Vendored
+28
@@ -0,0 +1,28 @@
|
||||
// Type definitions for base-x v1.0.1
|
||||
// Project: https://github.com/cryptocoinjs/base-x
|
||||
// Definitions by: Ilya Mochalov <https://github.com/chrootsu>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare namespace BaseX {
|
||||
interface EncodeBuffer {
|
||||
[index: number]: number;
|
||||
length: number;
|
||||
}
|
||||
|
||||
interface BaseConverter {
|
||||
encode: (buffer: EncodeBuffer) => string;
|
||||
decode: (string: string) => number[];
|
||||
}
|
||||
|
||||
interface Base {
|
||||
(ALPHABET: string): BaseX.BaseConverter
|
||||
}
|
||||
}
|
||||
|
||||
declare module "base-x" {
|
||||
namespace base {}
|
||||
|
||||
let base: BaseX.Base;
|
||||
|
||||
export = base;
|
||||
}
|
||||
@@ -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,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
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,445 @@
|
||||
///<reference path="blissfuljs.d.ts" />
|
||||
|
||||
function test_overview() {
|
||||
/*Bliss includes several static methods (on the Bliss or $ object). For example, to copy all properties of an object onto another object, you would
|
||||
call $.extend():*/
|
||||
var yolo = $.extend({ foo: 1 }, { bar: 2 });
|
||||
|
||||
var element = $.create();
|
||||
|
||||
/*Many of Bliss’ methods take an element or an array of elements as their first argument. For example, to set both the width and padding of an element to 0,
|
||||
you could use the $.style() method:*/
|
||||
$.style(element, { width: 0, padding: 0 });
|
||||
|
||||
/*These types of methods are also available on elements and arrays, for convenience. However, since adding convenience methods to elements and arrays directly
|
||||
would be a JS Mortal Sin™, Bliss only adds a _ property on elements & arrays, on which it hangs all its methods, to avoid conflicts. The previous example would
|
||||
be written as: */
|
||||
element._.style({
|
||||
"width": 0,
|
||||
"padding": 0
|
||||
});
|
||||
|
||||
|
||||
var myArray = $$("div");
|
||||
/*The ._. sequence of characters that appears all too often when coding with Bliss is where Bliss gets its logo from. However, the property can be
|
||||
customized to anything you want.
|
||||
|
||||
Methods that are available on elements like this will have an ELEMENT tag in these docs.
|
||||
|
||||
If you wanted to set the width and padding of multiple elements to 0, you could use an array:*/
|
||||
myArray._.style({
|
||||
"width": 0,
|
||||
"padding": 0
|
||||
});
|
||||
|
||||
/*Methods that are available on arrays like this will have an ARRAY tag in these docs.
|
||||
|
||||
/*For example, assume that in addition to these CSS changes you also wanted to add a hidden attribute to this element. Bliss methods that don’t return a value
|
||||
return the element or array they are called on, so you could call more element methods on them, including native ones:*/
|
||||
element._.style({
|
||||
"width": 0,
|
||||
"padding": 0
|
||||
}).setAttribute("hidden", "");
|
||||
|
||||
/*Now assume you also wanted to set a second attribute: The "class" attribute to "foo". The native setAttribute() method is not chainable, it returns undefined.
|
||||
However, all native element methods are also available on the almighty _ property, and there they are also chainable:*/
|
||||
element._.style({
|
||||
"width": 0,
|
||||
"padding": 0
|
||||
})._.setAttribute("hidden", "").setAttribute("class", "foo");
|
||||
|
||||
//This works, but it’s a bit unwieldy. Thankfully, Bliss offers an $.attributes() method for setting multiple attributes at once:
|
||||
element._.style({
|
||||
"width": 0,
|
||||
"padding": 0
|
||||
})._.attributes({
|
||||
"hidden": "",
|
||||
"class": "foo"
|
||||
});
|
||||
|
||||
//This is better and more readable, but still a bit awkward. Turns out there is a special $.set() method to do both at once:
|
||||
element._.set({
|
||||
attributes: {
|
||||
"hidden": "",
|
||||
"class": "foo"
|
||||
},
|
||||
style: {
|
||||
"width": 0,
|
||||
"padding": 0
|
||||
}
|
||||
});
|
||||
|
||||
/*Because $.attributes() and $.style() are also available for $.set() parameters, they will have the special $.SET() tag in these docs.
|
||||
Note that you don’t actually need attributes: {…} in $.set() at all: if there are any unrecognized properties in the parameter object,
|
||||
Bliss will first check if there is a property with that name on the element and if not,
|
||||
set an attribute. So you could rewrite the example above as:*/
|
||||
element._.set({
|
||||
"hidden": "",
|
||||
"class": "foo", // or "className": "foo" to use the property
|
||||
style: {
|
||||
"width": 0,
|
||||
"padding": 0
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
function vanilla_test() {
|
||||
var element = $.create();
|
||||
|
||||
element.classList.add("my-class");
|
||||
element.classList.remove("my-class");
|
||||
element.classList.toggle("my-class");
|
||||
element.classList.contains("my-class")
|
||||
element.remove();
|
||||
//element.contains(otherElement) // Not working
|
||||
//element.matches(selector) // Not working
|
||||
//element.closest(selector) // Not working
|
||||
element.nextElementSibling
|
||||
//element.children // Not working
|
||||
|
||||
$$("div")._.remove();
|
||||
}
|
||||
|
||||
function $_test() {
|
||||
// return the first element with a class of .foo
|
||||
// that is inside the first element with a class of .bar
|
||||
var ret = $(".foo", $(".bar"));
|
||||
// Return the first element with a class of .foo
|
||||
// that is inside any element with a class of .bar
|
||||
var ret = $(".bar .foo");
|
||||
// Get the first element with a class of .foo
|
||||
// and set its title attribute to "yolo"
|
||||
// If there is no such element, this will throw an exception!
|
||||
$(".foo").setAttribute("title", "yolo");
|
||||
|
||||
// Check if the .foo element exists
|
||||
// and set an attribute by using a variable "foo"
|
||||
// as a reference of the element
|
||||
var foo = $(".foo");
|
||||
if (foo) {
|
||||
foo.setAttribute("title", "yolo");
|
||||
}
|
||||
}
|
||||
|
||||
function $$_test() {
|
||||
// Add an id to all <h1> headings that don’t already have one
|
||||
$$<HTMLHeadElement>("h1:not([id])").forEach(function(h1){
|
||||
h1.id = h1.textContent.replace(/\W/g, "");
|
||||
});
|
||||
// Get an array with all ids on the page
|
||||
var ids = $$<HTMLElement>("[id]").map(function(element){
|
||||
return element.id;
|
||||
});
|
||||
// Get all of an element’s attributes starting with data-bliss-
|
||||
var element = $.create("div");
|
||||
|
||||
$$<Attr>(element.attributes).filter(function(attribute){
|
||||
return attribute.name.indexOf("data-bliss-") === 0;
|
||||
}).map(function(attribute){
|
||||
return attribute.name;
|
||||
});
|
||||
}
|
||||
|
||||
function $_create_test() {
|
||||
$.create("ul", {
|
||||
className: "nav",
|
||||
contents: [
|
||||
"Navigation: ",
|
||||
{tag: "li",
|
||||
contents: {tag: "a",
|
||||
href: "index.html",
|
||||
textContent: "Home"
|
||||
}
|
||||
},
|
||||
{tag: "li",
|
||||
contents: {tag: "a",
|
||||
href: "contact.html",
|
||||
textContent: "Contact",
|
||||
target: "_blank"
|
||||
}}
|
||||
]
|
||||
});
|
||||
|
||||
var paragraph = $.create("p");
|
||||
var div = $.create();
|
||||
}
|
||||
|
||||
function $_set_test() {
|
||||
$.set(document.createElement("nav"), {
|
||||
style: {
|
||||
color: "red"
|
||||
},
|
||||
events: {
|
||||
click: function(evt:Event) {
|
||||
console.log("YOLO");
|
||||
}
|
||||
},
|
||||
contents: ["Navigation: ", {tag: "ul",
|
||||
className: "buttons",
|
||||
delegate: {
|
||||
click: {
|
||||
li: function() {
|
||||
console.log("A list item was clicked");
|
||||
}
|
||||
}
|
||||
},
|
||||
contents: [{tag: "li",
|
||||
contents: {tag: "a",
|
||||
href: "index.html",
|
||||
textContent: "Home"
|
||||
}
|
||||
}, {tag: "li",
|
||||
contents: {tag: "a",
|
||||
href: "docs.html",
|
||||
textContent: "Docs"
|
||||
}
|
||||
}
|
||||
]
|
||||
}],
|
||||
inside: $("body > header")
|
||||
});
|
||||
}
|
||||
|
||||
function $_contents_test() {
|
||||
var nav = $.create();
|
||||
|
||||
nav._.contents(["Navigation: ", {tag: "ul",
|
||||
className: "buttons",
|
||||
delegate: {
|
||||
click: {
|
||||
li: function() {
|
||||
console.log("A list item was clicked")
|
||||
}
|
||||
}
|
||||
},
|
||||
contents: [{tag: "li",
|
||||
contents: {tag: "a",
|
||||
href: "index.html",
|
||||
textContent: "Home"
|
||||
}
|
||||
}, {tag: "li",
|
||||
contents: {tag: "a",
|
||||
href: "docs.html",
|
||||
textContent: "Docs"
|
||||
}
|
||||
}
|
||||
]
|
||||
}])
|
||||
}
|
||||
|
||||
function $_clone_test() {
|
||||
var button = $<HTMLButtonElement>("button");
|
||||
button.addEventListener("click", function() { console.log("Click from listener!"); });
|
||||
button.onclick = function() { console.log("Click from inline event!"); };
|
||||
var button2 = button._.clone();
|
||||
// If clicked, button2 will print both messages
|
||||
}
|
||||
|
||||
function $_after_test() {
|
||||
var button = $<HTMLButtonElement>("button");
|
||||
$.after(button, $(".selector"));
|
||||
}
|
||||
|
||||
function $_around_test() {
|
||||
var button = $<HTMLButtonElement>("button");
|
||||
$.around(button, $(".selector"));
|
||||
|
||||
// Wrap headings with a link to their section
|
||||
$$<HTMLElement>("section[id] > h1, article[id] > h1").forEach(function(h1){
|
||||
$.create("a", {
|
||||
href: "#" + (<HTMLElement>h1.parentNode).id,
|
||||
around: h1
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function $_attributes_test() {
|
||||
var button = $<HTMLButtonElement>("button");
|
||||
$.attributes(button, { backgroundColor: "#FFFFFF" });
|
||||
|
||||
button._.attributes({color: "#000000"});
|
||||
}
|
||||
|
||||
function $_before_test() {
|
||||
var button = $<HTMLButtonElement>("button");
|
||||
$.before(button, $(".selector"));
|
||||
|
||||
button._.before($(".selector"));
|
||||
}
|
||||
|
||||
function $_inside_test() {
|
||||
var button = $<HTMLButtonElement>("button");
|
||||
$.inside(button, $(".selector"));
|
||||
|
||||
button._.inside($(".selector"));
|
||||
}
|
||||
|
||||
function $_properties_test() {
|
||||
document.createElement("button")._.properties({
|
||||
className: "continue",
|
||||
textContent: "Next Step",
|
||||
onclick: function() { /*MyApp.next()*/ }
|
||||
});
|
||||
}
|
||||
|
||||
function $_start_test() {
|
||||
var button = $<HTMLButtonElement>("button");
|
||||
$.start(button, $(".selector"));
|
||||
|
||||
button._.start($(".selector"));
|
||||
}
|
||||
|
||||
function $_style_test() {
|
||||
document.body._.style({
|
||||
color: "white",
|
||||
backgroundColor: "red",
|
||||
cssFloat: "left"
|
||||
});
|
||||
}
|
||||
|
||||
function $_transition_test() {
|
||||
var element = $<HTMLDivElement>(".selector");
|
||||
|
||||
// Fade out an element then remove it from the DOM
|
||||
$.transition(element, {opacity: 0}).then($.remove);
|
||||
|
||||
// Fade out and shrink all <div>s on a page,
|
||||
// then remove them from the DOM
|
||||
Promise.all($$<HTMLDivElement>("div")._.transition({
|
||||
opacity: 0,
|
||||
transform: "scale(0)"
|
||||
})).then( (elts) => {
|
||||
elts.forEach(elt => {
|
||||
$.remove(elt);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function $_delegate_test() {
|
||||
var element = $<HTMLDivElement>(".selector");
|
||||
|
||||
$.delegate(element, "locationchange", ".selected", () => {});
|
||||
$.delegate(element, "locationchange", {
|
||||
"callback1" : () => {}
|
||||
});
|
||||
$.delegate(element, {
|
||||
"locationchange" : {
|
||||
"callback1" : () => {}
|
||||
}
|
||||
});
|
||||
|
||||
element._.delegate("locationchange", ".selected", () => {});
|
||||
element._.delegate( "locationchange", {
|
||||
"callback1" : () => {}
|
||||
});
|
||||
element._.delegate({
|
||||
"locationchange" : {
|
||||
"callback1" : () => {}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function $_events_test() {
|
||||
$$('input[type="range"]')._.events({
|
||||
"input change": function(evt) { this.title = this.value}
|
||||
});
|
||||
|
||||
$$("input")._.addEventListener("input", function(){ /* ... */});
|
||||
}
|
||||
|
||||
function $_fire_test() {
|
||||
|
||||
var myMap = $(".myMap");
|
||||
var myInput = $(".myInput");
|
||||
|
||||
// Fire a custom event on a map widget
|
||||
myMap._.fire("locationchange", {
|
||||
location: [42.361667, -71.092751]
|
||||
});
|
||||
// Fire a fake input event
|
||||
myInput._.fire("input");
|
||||
}
|
||||
|
||||
function $_once_test() {
|
||||
$$('input[type="range"]')._.once({
|
||||
"input change": function(evt) { this.title = this.value}
|
||||
});
|
||||
}
|
||||
|
||||
function $_ready_test() {
|
||||
// Add a red border to all divs on a page
|
||||
$.ready().then(function(){
|
||||
$$("div")._.style({ border: "1px solid red" });
|
||||
});
|
||||
}
|
||||
|
||||
function $_all_test() {
|
||||
// Uppercase all strings in an array
|
||||
["Foo", "bar"]._.all("toUpperCase"); // Returns ["FOO", "BAR"]
|
||||
}
|
||||
|
||||
function $_class_test() {
|
||||
var cls = $.Class({
|
||||
constructor: function() {/* ... */}
|
||||
});
|
||||
}
|
||||
|
||||
function $_each_test() {
|
||||
var elt = {a:"a", b:"b"};
|
||||
|
||||
$.each<any>(elt, function (name:string, value:any) {
|
||||
/* ... */
|
||||
}, elt);
|
||||
}
|
||||
|
||||
function $_extend_test() {
|
||||
var o1 = {foo: 1, bar:2}
|
||||
var o2 = $.extend(o1, {foo: 3, baz: 4});
|
||||
// o2 is {foo: 3, bar: 2, baz: 4}
|
||||
// Get typography-related computed style on <body>
|
||||
var type = $.extend({},
|
||||
getComputedStyle(document.body),
|
||||
/^font|^lineHeight$/);
|
||||
}
|
||||
|
||||
function $_lazy_test() {
|
||||
var x = {a:""};
|
||||
$.lazy(x, "foo", () => {return "bar";});
|
||||
|
||||
$.lazy(x, {
|
||||
"foo" : function() {
|
||||
return "bar"
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function $_live_test() {
|
||||
var x = {a:""};
|
||||
$.live(x, "foo", () => {return "bar";});
|
||||
}
|
||||
|
||||
function $_type_test(...args: any[]) {
|
||||
// Check if the second argument of a function is a regexp
|
||||
if ($.type(args[1]) === "regexp") {
|
||||
// ...
|
||||
}
|
||||
}
|
||||
|
||||
function $_value_test() {
|
||||
$.value(document, "body", "nodeType"); // 1
|
||||
$.value(document, "body", "foo", "bar", "baz"); // undefined, no errors
|
||||
$.value("document", "body", "nodeType"); // 1, no root, starting from self
|
||||
}
|
||||
|
||||
function $_fetch_test() {
|
||||
$.fetch("/api/create", {
|
||||
method: "POST",
|
||||
responseType: "json"
|
||||
}).then(function(){
|
||||
alert("success!");
|
||||
}).catch(function(error){
|
||||
console.error(error);
|
||||
});
|
||||
}
|
||||
Vendored
+670
@@ -0,0 +1,670 @@
|
||||
// Type definitions for bliss
|
||||
// Project: http://blissfuljs.com/
|
||||
// Definitions by: François Skorzec <https://github.com/fskorzec>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
///<reference path="../es6-promise/es6-promise.d.ts"/>
|
||||
|
||||
interface Element {
|
||||
_: BlissNS.BlissBindedElement<Element>;
|
||||
}
|
||||
|
||||
interface Array<T> {
|
||||
_: BlissNS.BlissBindedArray<T> & BlissNS.BlissCollectionArray<T>;
|
||||
}
|
||||
|
||||
declare module BlissNS {
|
||||
export type BlissDecoratedElement<T> = Element & T;
|
||||
export type BlissDecoratedArrayElement<T> = Array<T> & BlissNS.BlissCollectionArray<T>;
|
||||
|
||||
interface BlissStatic {
|
||||
<T>(selector: string, context?: Element): BlissDecoratedElement<T>;
|
||||
|
||||
classProps: Object;
|
||||
|
||||
create(tag: "a"): HTMLAnchorElement;
|
||||
create(tag: "applet"): HTMLAppletElement;
|
||||
create(tag: "area"):HTMLAreaElement;
|
||||
create(tag: "audio"): HTMLAudioElement;
|
||||
create(tag: "base"): HTMLBaseElement;
|
||||
create(tag: "basefont"): HTMLBaseFontElement;
|
||||
create(tag: "blockquote"): HTMLBlockElement;
|
||||
create(tag: "body"): HTMLBodyElement;
|
||||
create(tag: "br"): HTMLBRElement;
|
||||
create(tag: "button"): HTMLButtonElement;
|
||||
create(tag: "canvas"): HTMLCanvasElement;
|
||||
create(tag: "datalist"): HTMLDataListElement;
|
||||
create(tag: "dd"): HTMLDDElement;
|
||||
create(tag: "directory"): HTMLDirectoryElement;
|
||||
create(tag: "div"): HTMLDivElement;
|
||||
create(tag: "embeded"): HTMLEmbedElement;
|
||||
create(tag: "fieldset"): HTMLFieldSetElement;
|
||||
create(tag: "form"): HTMLFormElement;
|
||||
create(tag: "frame"): HTMLFrameElement;
|
||||
create(tag: "frameset"): HTMLFrameSetElement;
|
||||
create(tag: "iframe"): HTMLDListElement;
|
||||
create(tag: "image"): HTMLImageElement;
|
||||
create(tag: "input"): HTMLInputElement;
|
||||
create(tag: "i"): HTMLLIElement;
|
||||
create(tag: "label"): HTMLLabelElement;
|
||||
create(tag: "legend"): HTMLLegendElement;
|
||||
create(tag: "li"): HTMLLIElement;
|
||||
create(tag: "link"): HTMLLinkElement;
|
||||
create(tag: "map"): HTMLMapElement;
|
||||
create(tag: "mark"): HTMLMarqueeElement;
|
||||
create(tag: "menu"): HTMLMenuElement;
|
||||
create(tag: "meta"): HTMLMetaElement;
|
||||
create(tag: "object"): HTMLObjectElement;
|
||||
create(tag: "ol"): HTMLOListElement;
|
||||
create(tag: "optgroup"): HTMLOptGroupElement;
|
||||
create(tag: "option"): HTMLOptionElement;
|
||||
create(tag: "p"): HTMLParagraphElement;
|
||||
create(tag: "param"): HTMLParamElement;
|
||||
create(tag: "pre"): HTMLPreElement;
|
||||
create(tag: "progress"): HTMLProgressElement;
|
||||
create(tag: "q"): HTMLQuoteElement;
|
||||
create(tag: "script"): HTMLScriptElement;
|
||||
create(tag: "select"): HTMLSelectElement;
|
||||
create(tag: "source"): HTMLSourceElement;
|
||||
create(tag: "span"): HTMLSpanElement;
|
||||
create(tag: "style"): HTMLStyleElement;
|
||||
create(tag: "table"): HTMLTableElement;
|
||||
create(tag: "thead"): HTMLTableHeaderCellElement;
|
||||
create(tag: "ul"): HTMLUListElement;
|
||||
create(tag: "video"): HTMLVideoElement;
|
||||
create<T>(tag: string): BlissDecoratedElement<T>;
|
||||
|
||||
create<T>(options: Object): BlissDecoratedElement<T>;
|
||||
|
||||
create(tag: "a", options: Object): HTMLAnchorElement;
|
||||
create(tag: "applet", options: Object): HTMLAppletElement;
|
||||
create(tag: "area", options: Object): HTMLAreaElement;
|
||||
create(tag: "audio", options: Object): HTMLAudioElement;
|
||||
create(tag: "base", options: Object): HTMLBaseElement;
|
||||
create(tag: "basefont", options: Object): HTMLBaseFontElement;
|
||||
create(tag: "blockquote", options: Object): HTMLBlockElement;
|
||||
create(tag: "body", options: Object): HTMLBodyElement;
|
||||
create(tag: "br", options: Object): HTMLBRElement;
|
||||
create(tag: "button", options: Object): HTMLButtonElement;
|
||||
create(tag: "canvas", options: Object): HTMLCanvasElement;
|
||||
create(tag: "datalist", options: Object): HTMLDataListElement;
|
||||
create(tag: "dd", options: Object): HTMLDDElement;
|
||||
create(tag: "directory", options: Object): HTMLDirectoryElement;
|
||||
create(tag: "div", options: Object): HTMLDivElement;
|
||||
create(tag: "embeded", options: Object): HTMLEmbedElement;
|
||||
create(tag: "fieldset", options: Object): HTMLFieldSetElement;
|
||||
create(tag: "form", options: Object): HTMLFormElement;
|
||||
create(tag: "frame", options: Object): HTMLFrameElement;
|
||||
create(tag: "frameset", options: Object): HTMLFrameSetElement;
|
||||
create(tag: "iframe", options: Object): HTMLDListElement;
|
||||
create(tag: "image", options: Object): HTMLImageElement;
|
||||
create(tag: "input", options: Object): HTMLInputElement;
|
||||
create(tag: "i", options: Object): HTMLLIElement;
|
||||
create(tag: "label", options: Object): HTMLLabelElement;
|
||||
create(tag: "legend", options: Object): HTMLLegendElement;
|
||||
create(tag: "li", options: Object): HTMLLIElement;
|
||||
create(tag: "link", options: Object): HTMLLinkElement;
|
||||
create(tag: "map", options: Object): HTMLMapElement;
|
||||
create(tag: "mark", options: Object): HTMLMarqueeElement;
|
||||
create(tag: "menu", options: Object): HTMLMenuElement;
|
||||
create(tag: "meta", options: Object): HTMLMetaElement;
|
||||
create(tag: "object", options: Object): HTMLObjectElement;
|
||||
create(tag: "ol", options: Object): HTMLOListElement;
|
||||
create(tag: "optgroup", options: Object): HTMLOptGroupElement;
|
||||
create(tag: "option", options: Object): HTMLOptionElement;
|
||||
create(tag: "p", options: Object): HTMLParagraphElement;
|
||||
create(tag: "param", options: Object): HTMLParamElement;
|
||||
create(tag: "pre", options: Object): HTMLPreElement;
|
||||
create(tag: "progress", options: Object): HTMLProgressElement;
|
||||
create(tag: "q", options: Object): HTMLQuoteElement;
|
||||
create(tag: "script", options: Object): HTMLScriptElement;
|
||||
create(tag: "select", options: Object): HTMLSelectElement;
|
||||
create(tag: "source", options: Object): HTMLSourceElement;
|
||||
create(tag: "span", options: Object): HTMLSpanElement;
|
||||
create(tag: "style", options: Object): HTMLStyleElement;
|
||||
create(tag: "table", options: Object): HTMLTableElement;
|
||||
create(tag: "thead", options: Object): HTMLTableHeaderCellElement;
|
||||
create(tag: "ul", options: Object): HTMLUListElement;
|
||||
create(tag: "video", options: Object): HTMLVideoElement;
|
||||
create<T>(tag: string, options: Object): BlissDecoratedElement<T>;
|
||||
|
||||
create<T>(...args:any[]): BlissDecoratedElement<T>;
|
||||
|
||||
set<T>(subject: BlissDecoratedElement<T>, options: Object): BlissDecoratedElement<T>;
|
||||
contents<T>(subject: BlissDecoratedElement<T> , elements: Object | Array<any> | string | Number | Node): BlissDecoratedElement<T>;
|
||||
contents<T>(subject: BlissDecoratedElement<T>[], elements: Object | Array<any> | string | Number | Node): BlissDecoratedElement<T>[];
|
||||
clone<T>(subject:BlissDecoratedElement<T>) : BlissDecoratedElement<T>;
|
||||
after<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
|
||||
around<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
|
||||
attributes<T>(subject:BlissDecoratedElement<T>, attrs: Object) : BlissDecoratedElement<T>;
|
||||
attributes<T>(subject:BlissDecoratedElement<T>[], attrs: Object) : BlissDecoratedElement<T>[];
|
||||
before<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
|
||||
inside<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
|
||||
properties<T>(subject:BlissDecoratedElement<T>, props: Object) : BlissDecoratedElement<T>;
|
||||
properties<T>(subject:BlissDecoratedElement<T>[], props: Object) : BlissDecoratedElement<T>[];
|
||||
start<T>(subject:BlissDecoratedElement<T>, element: Element) : BlissDecoratedElement<T>;
|
||||
style<T>(subject:BlissDecoratedElement<T>, properties: Object) : BlissDecoratedElement<T>;
|
||||
style<T>(subject:BlissDecoratedElement<T>[], properties: Object) : BlissDecoratedElement<T>[];
|
||||
transition<T>(subject:BlissDecoratedElement<T> | BlissDecoratedElement<T>[], properties: Object, duration?: number) : Promise<T>;
|
||||
delegate<T>(subject:BlissDecoratedElement<T> , type: string, selector: string, callback: (event: Event) => void): BlissDecoratedElement<T>;
|
||||
delegate<T>(subject: BlissDecoratedElement<T>[], type: string, selector: string, callback: (event: Event) => void): BlissDecoratedElement<T>[];
|
||||
delegate<T>(subject:BlissDecoratedElement<T> , type: string, selectorsToCallbacks: {[selector: string] : (event: Event) => void}): BlissDecoratedElement<T>;
|
||||
delegate<T>(subject:BlissDecoratedElement<T>[], type: string, selectorsToCallbacks: {[selector: string] : (event: Event) => void}): BlissDecoratedElement<T>[];
|
||||
delegate<T>(subject:BlissDecoratedElement<T> , typesToSelectorsToCallbacks: {[type: string] : {[selector: string] : (event: Event) => void}}): BlissDecoratedElement<T>;
|
||||
delegate<T>(subject:BlissDecoratedElement<T>[], typesToSelectorsToCallbacks: {[type: string] : {[selector: string] : (event: Event) => void}}): BlissDecoratedElement<T>[];
|
||||
events<T>(subject:BlissDecoratedElement<T> , handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>;
|
||||
events<T>(subject: BlissDecoratedElement<T>[], handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>[];
|
||||
fire<T>(subject:BlissDecoratedElement<T>, type: string, properties?: {[propertyName: string] : any}): BlissDecoratedElement<T>;
|
||||
fire<T>(subject:BlissDecoratedElement<T>[], type: string, properties?: {[propertyName: string] : any}): BlissDecoratedElement<T>[];
|
||||
once<T>(subject:BlissDecoratedElement<T>, handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>;
|
||||
once<T>(subject:BlissDecoratedElement<T>[], handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>[];
|
||||
ready(context?: Document): Promise<any>;
|
||||
|
||||
remove(subject:Element | BlissStatic): void;
|
||||
|
||||
all(array: Array<any>, method: string, ...args: Array<any>): Array<any>;
|
||||
all<T>(array: Array<T>, method: string, ...args: Array<any>): Array<T>;
|
||||
|
||||
Class<T>(options: {
|
||||
constructor?: Function;
|
||||
extends?: Function;
|
||||
abstract?: boolean;
|
||||
lazy?: Object;
|
||||
live?: Object;
|
||||
static?: Object;
|
||||
[propertyName: string]:any;
|
||||
}): T;
|
||||
|
||||
Class(options: {
|
||||
constructor?: Function;
|
||||
extends?: Function;
|
||||
abstract?: boolean;
|
||||
lazy?: Object;
|
||||
live?: Object;
|
||||
static?: Object;
|
||||
[propertyName: string]:any;
|
||||
}): Object;
|
||||
|
||||
each<T>(obj: {[propertyName: string] : any}, callback: Function, ret?: Object): T;
|
||||
each(obj: {[propertyName: string] : any}, callback: Function, ret?: Object): Object;
|
||||
|
||||
extend(target: Object, source: any, whitelist? : string[] | string | Function | RegExp): Object;
|
||||
extend<T>(target: Object, source: any, whitelist? : string[] | string | Function | RegExp): T;
|
||||
|
||||
lazy(object: Object, property: string, getter: () => any): Object;
|
||||
lazy<T>(object:Object, property: string, getter:() => any): T;
|
||||
|
||||
lazy(object: Object, properties: {[propertyName:string]: () => any}): Object;
|
||||
lazy<T>(object: Object, properties: {[propertyName:string]: () => any}): T;
|
||||
|
||||
live(object: Object, property: string, descriptor: Object | Function): Object;
|
||||
live<T>(object: Object, property: string, descriptor: Object | Function): T;
|
||||
|
||||
live(object: Object, properties: {[propertyName: string]: Object | Function}): Object;
|
||||
live<T>(object: Object, properties: {[propertyName: string]: Object | Function}): T;
|
||||
|
||||
type(object: Object): string;
|
||||
|
||||
value(obj: Object, ...properties: string[]): any;
|
||||
value<T>(obj: Object, ...properties: string[]): T;
|
||||
|
||||
value(property: string, ...properties: string[]): any;
|
||||
value<T>(property: string , ...properties: string[]): T;
|
||||
|
||||
fetch(url: string, options?: {
|
||||
method?: string;
|
||||
data?: string;
|
||||
headers?:{[key:string]:string};
|
||||
|
||||
onreadystatechange?: (ev: ProgressEvent) => any;
|
||||
readyState?: number;
|
||||
response?: any;
|
||||
responseBody?: any;
|
||||
responseText?: string;
|
||||
responseType?: string;
|
||||
responseXML?: any;
|
||||
status?: number;
|
||||
statusText?: string;
|
||||
timeout?: number;
|
||||
upload?: XMLHttpRequestUpload;
|
||||
withCredentials?: boolean;
|
||||
|
||||
[propertyName: string]: any;
|
||||
}): Promise<XMLHttpRequest>;
|
||||
|
||||
include(condition: any, url: string ): Promise<void>;
|
||||
include(url: string ): Promise<void>;
|
||||
|
||||
add(name: string, callback: Function, on?: BlissStatic | BlissStaticCollection | Element | Array<any>): void;
|
||||
add(callbacks:{[callbackName: string]: Function}, on?: BlissStatic | BlissStaticCollection | Element | Array<any>): void;
|
||||
|
||||
hooks: {
|
||||
add(name: string, callback: Function): void;
|
||||
run(name: string, env: Object): void;
|
||||
};
|
||||
}
|
||||
|
||||
interface BlissStaticCollection extends BlissStatic {
|
||||
<T>(selector: string, context?: Element): BlissDecoratedArrayElement<T>;
|
||||
<T>(expr: Object, context?: Element): Array<T>;
|
||||
(expr: Window, context?: Element): [Window];
|
||||
(expr: Node, context?: Element): [Node];
|
||||
}
|
||||
|
||||
// Native methods added into "_" property, but methods that return "void" now return thi stype in order to be chainables
|
||||
// Methods are All HTMLElement a ELement methods
|
||||
interface BlissNativeExtentions<T> {
|
||||
blur(): T;
|
||||
click(): T;
|
||||
contains(child: HTMLElement): boolean;
|
||||
dragDrop(): boolean;
|
||||
focus(): T;
|
||||
insertAdjacentElement(position: string, insertedElement: Element): Element;
|
||||
insertAdjacentHTML(where: string, html: string): T;
|
||||
insertAdjacentText(where: string, text: string): T;
|
||||
msGetInputContext(): MSInputMethodContext;
|
||||
scrollIntoView(top?: boolean): T;
|
||||
setActive(): T;
|
||||
addEventListener(type: "MSContentZoom", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureEnd", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureHold", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureStart", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGotPointerCapture", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSInertiaStart", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSLostPointerCapture", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSManipulationStateChanged", listener: (ev: MSManipulationEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerCancel", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerDown", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerEnter", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerLeave", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerMove", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerOut", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerOver", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerUp", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "abort", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "activate", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "ariarequest", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "beforeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "beforecopy", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "beforecut", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "beforedeactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "beforepaste", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "blur", listener: (ev: FocusEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "canplay", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "canplaythrough", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "change", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "click", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "command", listener: (ev: CommandEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "contextmenu", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "copy", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "cuechange", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "cut", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "dblclick", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "deactivate", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "drag", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "dragend", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "dragenter", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "dragleave", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "dragover", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "dragstart", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "drop", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "durationchange", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "emptied", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "ended", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "error", listener: (ev: ErrorEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "focus", listener: (ev: FocusEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "gotpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "input", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "keydown", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "keypress", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "keyup", listener: (ev: KeyboardEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "load", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "loadeddata", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "loadedmetadata", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "loadstart", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "lostpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "mousedown", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "mouseenter", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "mouseleave", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "mousemove", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "mouseout", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "mouseover", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "mouseup", listener: (ev: MouseEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "mousewheel", listener: (ev: MouseWheelEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "paste", listener: (ev: DragEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "play", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "playing", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointercancel", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerdown", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerenter", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerleave", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointermove", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerout", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerover", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerup", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "progress", listener: (ev: ProgressEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "ratechange", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "reset", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "scroll", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "seeked", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "seeking", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "select", listener: (ev: UIEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "selectstart", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "stalled", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "submit", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "suspend", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "timeupdate", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "touchcancel", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "touchend", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "touchmove", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "touchstart", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "volumechange", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "waiting", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "webkitfullscreenchange", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "webkitfullscreenerror", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "wheel", listener: (ev: WheelEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): T;
|
||||
getAttribute(name?: string): string;
|
||||
getAttributeNS(namespaceURI: string, localName: string): string;
|
||||
getAttributeNode(name: string): Attr;
|
||||
getAttributeNodeNS(namespaceURI: string, localName: string): Attr;
|
||||
getBoundingClientRect(): ClientRect;
|
||||
getClientRects(): ClientRectList;
|
||||
getElementsByTagName(name: "a"): NodeListOf<HTMLAnchorElement>;
|
||||
getElementsByTagName(name: "abbr"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "acronym"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "address"): NodeListOf<HTMLBlockElement>;
|
||||
getElementsByTagName(name: "applet"): NodeListOf<HTMLAppletElement>;
|
||||
getElementsByTagName(name: "area"): NodeListOf<HTMLAreaElement>;
|
||||
getElementsByTagName(name: "article"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "aside"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "audio"): NodeListOf<HTMLAudioElement>;
|
||||
getElementsByTagName(name: "b"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "base"): NodeListOf<HTMLBaseElement>;
|
||||
getElementsByTagName(name: "basefont"): NodeListOf<HTMLBaseFontElement>;
|
||||
getElementsByTagName(name: "bdo"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "big"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "blockquote"): NodeListOf<HTMLBlockElement>;
|
||||
getElementsByTagName(name: "body"): NodeListOf<HTMLBodyElement>;
|
||||
getElementsByTagName(name: "br"): NodeListOf<HTMLBRElement>;
|
||||
getElementsByTagName(name: "button"): NodeListOf<HTMLButtonElement>;
|
||||
getElementsByTagName(name: "canvas"): NodeListOf<HTMLCanvasElement>;
|
||||
getElementsByTagName(name: "caption"): NodeListOf<HTMLTableCaptionElement>;
|
||||
getElementsByTagName(name: "center"): NodeListOf<HTMLBlockElement>;
|
||||
getElementsByTagName(name: "circle"): NodeListOf<SVGCircleElement>;
|
||||
getElementsByTagName(name: "cite"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "clippath"): NodeListOf<SVGClipPathElement>;
|
||||
getElementsByTagName(name: "code"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "col"): NodeListOf<HTMLTableColElement>;
|
||||
getElementsByTagName(name: "colgroup"): NodeListOf<HTMLTableColElement>;
|
||||
getElementsByTagName(name: "datalist"): NodeListOf<HTMLDataListElement>;
|
||||
getElementsByTagName(name: "dd"): NodeListOf<HTMLDDElement>;
|
||||
getElementsByTagName(name: "defs"): NodeListOf<SVGDefsElement>;
|
||||
getElementsByTagName(name: "del"): NodeListOf<HTMLModElement>;
|
||||
getElementsByTagName(name: "desc"): NodeListOf<SVGDescElement>;
|
||||
getElementsByTagName(name: "dfn"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "dir"): NodeListOf<HTMLDirectoryElement>;
|
||||
getElementsByTagName(name: "div"): NodeListOf<HTMLDivElement>;
|
||||
getElementsByTagName(name: "dl"): NodeListOf<HTMLDListElement>;
|
||||
getElementsByTagName(name: "dt"): NodeListOf<HTMLDTElement>;
|
||||
getElementsByTagName(name: "ellipse"): NodeListOf<SVGEllipseElement>;
|
||||
getElementsByTagName(name: "em"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "embed"): NodeListOf<HTMLEmbedElement>;
|
||||
getElementsByTagName(name: "feblend"): NodeListOf<SVGFEBlendElement>;
|
||||
getElementsByTagName(name: "fecolormatrix"): NodeListOf<SVGFEColorMatrixElement>;
|
||||
getElementsByTagName(name: "fecomponenttransfer"): NodeListOf<SVGFEComponentTransferElement>;
|
||||
getElementsByTagName(name: "fecomposite"): NodeListOf<SVGFECompositeElement>;
|
||||
getElementsByTagName(name: "feconvolvematrix"): NodeListOf<SVGFEConvolveMatrixElement>;
|
||||
getElementsByTagName(name: "fediffuselighting"): NodeListOf<SVGFEDiffuseLightingElement>;
|
||||
getElementsByTagName(name: "fedisplacementmap"): NodeListOf<SVGFEDisplacementMapElement>;
|
||||
getElementsByTagName(name: "fedistantlight"): NodeListOf<SVGFEDistantLightElement>;
|
||||
getElementsByTagName(name: "feflood"): NodeListOf<SVGFEFloodElement>;
|
||||
getElementsByTagName(name: "fefunca"): NodeListOf<SVGFEFuncAElement>;
|
||||
getElementsByTagName(name: "fefuncb"): NodeListOf<SVGFEFuncBElement>;
|
||||
getElementsByTagName(name: "fefuncg"): NodeListOf<SVGFEFuncGElement>;
|
||||
getElementsByTagName(name: "fefuncr"): NodeListOf<SVGFEFuncRElement>;
|
||||
getElementsByTagName(name: "fegaussianblur"): NodeListOf<SVGFEGaussianBlurElement>;
|
||||
getElementsByTagName(name: "feimage"): NodeListOf<SVGFEImageElement>;
|
||||
getElementsByTagName(name: "femerge"): NodeListOf<SVGFEMergeElement>;
|
||||
getElementsByTagName(name: "femergenode"): NodeListOf<SVGFEMergeNodeElement>;
|
||||
getElementsByTagName(name: "femorphology"): NodeListOf<SVGFEMorphologyElement>;
|
||||
getElementsByTagName(name: "feoffset"): NodeListOf<SVGFEOffsetElement>;
|
||||
getElementsByTagName(name: "fepointlight"): NodeListOf<SVGFEPointLightElement>;
|
||||
getElementsByTagName(name: "fespecularlighting"): NodeListOf<SVGFESpecularLightingElement>;
|
||||
getElementsByTagName(name: "fespotlight"): NodeListOf<SVGFESpotLightElement>;
|
||||
getElementsByTagName(name: "fetile"): NodeListOf<SVGFETileElement>;
|
||||
getElementsByTagName(name: "feturbulence"): NodeListOf<SVGFETurbulenceElement>;
|
||||
getElementsByTagName(name: "fieldset"): NodeListOf<HTMLFieldSetElement>;
|
||||
getElementsByTagName(name: "figcaption"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "figure"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "filter"): NodeListOf<SVGFilterElement>;
|
||||
getElementsByTagName(name: "font"): NodeListOf<HTMLFontElement>;
|
||||
getElementsByTagName(name: "footer"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "foreignobject"): NodeListOf<SVGForeignObjectElement>;
|
||||
getElementsByTagName(name: "form"): NodeListOf<HTMLFormElement>;
|
||||
getElementsByTagName(name: "frame"): NodeListOf<HTMLFrameElement>;
|
||||
getElementsByTagName(name: "frameset"): NodeListOf<HTMLFrameSetElement>;
|
||||
getElementsByTagName(name: "g"): NodeListOf<SVGGElement>;
|
||||
getElementsByTagName(name: "h1"): NodeListOf<HTMLHeadingElement>;
|
||||
getElementsByTagName(name: "h2"): NodeListOf<HTMLHeadingElement>;
|
||||
getElementsByTagName(name: "h3"): NodeListOf<HTMLHeadingElement>;
|
||||
getElementsByTagName(name: "h4"): NodeListOf<HTMLHeadingElement>;
|
||||
getElementsByTagName(name: "h5"): NodeListOf<HTMLHeadingElement>;
|
||||
getElementsByTagName(name: "h6"): NodeListOf<HTMLHeadingElement>;
|
||||
getElementsByTagName(name: "head"): NodeListOf<HTMLHeadElement>;
|
||||
getElementsByTagName(name: "header"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "hgroup"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "hr"): NodeListOf<HTMLHRElement>;
|
||||
getElementsByTagName(name: "html"): NodeListOf<HTMLHtmlElement>;
|
||||
getElementsByTagName(name: "i"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "iframe"): NodeListOf<HTMLIFrameElement>;
|
||||
getElementsByTagName(name: "image"): NodeListOf<SVGImageElement>;
|
||||
getElementsByTagName(name: "img"): NodeListOf<HTMLImageElement>;
|
||||
getElementsByTagName(name: "input"): NodeListOf<HTMLInputElement>;
|
||||
getElementsByTagName(name: "ins"): NodeListOf<HTMLModElement>;
|
||||
getElementsByTagName(name: "isindex"): NodeListOf<HTMLIsIndexElement>;
|
||||
getElementsByTagName(name: "kbd"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "keygen"): NodeListOf<HTMLBlockElement>;
|
||||
getElementsByTagName(name: "label"): NodeListOf<HTMLLabelElement>;
|
||||
getElementsByTagName(name: "legend"): NodeListOf<HTMLLegendElement>;
|
||||
getElementsByTagName(name: "li"): NodeListOf<HTMLLIElement>;
|
||||
getElementsByTagName(name: "line"): NodeListOf<SVGLineElement>;
|
||||
getElementsByTagName(name: "lineargradient"): NodeListOf<SVGLinearGradientElement>;
|
||||
getElementsByTagName(name: "link"): NodeListOf<HTMLLinkElement>;
|
||||
getElementsByTagName(name: "listing"): NodeListOf<HTMLBlockElement>;
|
||||
getElementsByTagName(name: "map"): NodeListOf<HTMLMapElement>;
|
||||
getElementsByTagName(name: "mark"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "marker"): NodeListOf<SVGMarkerElement>;
|
||||
getElementsByTagName(name: "marquee"): NodeListOf<HTMLMarqueeElement>;
|
||||
getElementsByTagName(name: "mask"): NodeListOf<SVGMaskElement>;
|
||||
getElementsByTagName(name: "menu"): NodeListOf<HTMLMenuElement>;
|
||||
getElementsByTagName(name: "meta"): NodeListOf<HTMLMetaElement>;
|
||||
getElementsByTagName(name: "metadata"): NodeListOf<SVGMetadataElement>;
|
||||
getElementsByTagName(name: "nav"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "nextid"): NodeListOf<HTMLNextIdElement>;
|
||||
getElementsByTagName(name: "nobr"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "noframes"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "noscript"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "object"): NodeListOf<HTMLObjectElement>;
|
||||
getElementsByTagName(name: "ol"): NodeListOf<HTMLOListElement>;
|
||||
getElementsByTagName(name: "optgroup"): NodeListOf<HTMLOptGroupElement>;
|
||||
getElementsByTagName(name: "option"): NodeListOf<HTMLOptionElement>;
|
||||
getElementsByTagName(name: "p"): NodeListOf<HTMLParagraphElement>;
|
||||
getElementsByTagName(name: "param"): NodeListOf<HTMLParamElement>;
|
||||
getElementsByTagName(name: "path"): NodeListOf<SVGPathElement>;
|
||||
getElementsByTagName(name: "pattern"): NodeListOf<SVGPatternElement>;
|
||||
getElementsByTagName(name: "plaintext"): NodeListOf<HTMLBlockElement>;
|
||||
getElementsByTagName(name: "polygon"): NodeListOf<SVGPolygonElement>;
|
||||
getElementsByTagName(name: "polyline"): NodeListOf<SVGPolylineElement>;
|
||||
getElementsByTagName(name: "pre"): NodeListOf<HTMLPreElement>;
|
||||
getElementsByTagName(name: "progress"): NodeListOf<HTMLProgressElement>;
|
||||
getElementsByTagName(name: "q"): NodeListOf<HTMLQuoteElement>;
|
||||
getElementsByTagName(name: "radialgradient"): NodeListOf<SVGRadialGradientElement>;
|
||||
getElementsByTagName(name: "rect"): NodeListOf<SVGRectElement>;
|
||||
getElementsByTagName(name: "rt"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "ruby"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "s"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "samp"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "script"): NodeListOf<HTMLScriptElement>;
|
||||
getElementsByTagName(name: "section"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "select"): NodeListOf<HTMLSelectElement>;
|
||||
getElementsByTagName(name: "small"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "source"): NodeListOf<HTMLSourceElement>;
|
||||
getElementsByTagName(name: "span"): NodeListOf<HTMLSpanElement>;
|
||||
getElementsByTagName(name: "stop"): NodeListOf<SVGStopElement>;
|
||||
getElementsByTagName(name: "strike"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "strong"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "style"): NodeListOf<HTMLStyleElement>;
|
||||
getElementsByTagName(name: "sub"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "sup"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "svg"): NodeListOf<SVGSVGElement>;
|
||||
getElementsByTagName(name: "switch"): NodeListOf<SVGSwitchElement>;
|
||||
getElementsByTagName(name: "symbol"): NodeListOf<SVGSymbolElement>;
|
||||
getElementsByTagName(name: "table"): NodeListOf<HTMLTableElement>;
|
||||
getElementsByTagName(name: "tbody"): NodeListOf<HTMLTableSectionElement>;
|
||||
getElementsByTagName(name: "td"): NodeListOf<HTMLTableDataCellElement>;
|
||||
getElementsByTagName(name: "text"): NodeListOf<SVGTextElement>;
|
||||
getElementsByTagName(name: "textpath"): NodeListOf<SVGTextPathElement>;
|
||||
getElementsByTagName(name: "textarea"): NodeListOf<HTMLTextAreaElement>;
|
||||
getElementsByTagName(name: "tfoot"): NodeListOf<HTMLTableSectionElement>;
|
||||
getElementsByTagName(name: "th"): NodeListOf<HTMLTableHeaderCellElement>;
|
||||
getElementsByTagName(name: "thead"): NodeListOf<HTMLTableSectionElement>;
|
||||
getElementsByTagName(name: "title"): NodeListOf<HTMLTitleElement>;
|
||||
getElementsByTagName(name: "tr"): NodeListOf<HTMLTableRowElement>;
|
||||
getElementsByTagName(name: "track"): NodeListOf<HTMLTrackElement>;
|
||||
getElementsByTagName(name: "tspan"): NodeListOf<SVGTSpanElement>;
|
||||
getElementsByTagName(name: "tt"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "u"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "ul"): NodeListOf<HTMLUListElement>;
|
||||
getElementsByTagName(name: "use"): NodeListOf<SVGUseElement>;
|
||||
getElementsByTagName(name: "var"): NodeListOf<HTMLPhraseElement>;
|
||||
getElementsByTagName(name: "video"): NodeListOf<HTMLVideoElement>;
|
||||
getElementsByTagName(name: "view"): NodeListOf<SVGViewElement>;
|
||||
getElementsByTagName(name: "wbr"): NodeListOf<HTMLElement>;
|
||||
getElementsByTagName(name: "x-ms-webview"): NodeListOf<MSHTMLWebViewElement>;
|
||||
getElementsByTagName(name: "xmp"): NodeListOf<HTMLBlockElement>;
|
||||
getElementsByTagName(name: string): NodeListOf<Element>;
|
||||
getElementsByTagNameNS(namespaceURI: string, localName: string): NodeListOf<Element>;
|
||||
hasAttribute(name: string): boolean;
|
||||
hasAttributeNS(namespaceURI: string, localName: string): boolean;
|
||||
msGetRegionContent(): MSRangeCollection;
|
||||
msGetUntransformedBounds(): ClientRect;
|
||||
msMatchesSelector(selectors: string): boolean;
|
||||
msReleasePointerCapture(pointerId: number): T;
|
||||
msSetPointerCapture(pointerId: number): T;
|
||||
msZoomTo(args: MsZoomToOptions): T;
|
||||
releasePointerCapture(pointerId: number): T;
|
||||
removeAttribute(name?: string): T;
|
||||
removeAttributeNS(namespaceURI: string, localName: string): T;
|
||||
removeAttributeNode(oldAttr: Attr): Attr;
|
||||
requestFullscreen(): T;
|
||||
requestPointerLock(): T;
|
||||
setAttribute(name?: string, value?: string): T;
|
||||
setAttributeNS(namespaceURI: string, qualifiedName: string, value: string): T;
|
||||
setAttributeNode(newAttr: Attr): Attr;
|
||||
setAttributeNodeNS(newAttr: Attr): Attr;
|
||||
setPointerCapture(pointerId: number): T;
|
||||
webkitMatchesSelector(selectors: string): boolean;
|
||||
webkitRequestFullScreen(): T;
|
||||
webkitRequestFullscreen(): T;
|
||||
getElementsByClassName(classNames: string): NodeListOf<Element>;
|
||||
addEventListener(type: "MSGestureChange", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureDoubleTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureEnd", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureHold", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureStart", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGestureTap", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSGotPointerCapture", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSInertiaStart", listener: (ev: MSGestureEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSLostPointerCapture", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerCancel", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerDown", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerEnter", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerLeave", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerMove", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerOut", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerOver", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "MSPointerUp", listener: (ev: MSPointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "ariarequest", listener: (ev: AriaRequestEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "command", listener: (ev: CommandEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "gotpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "lostpointercapture", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointercancel", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerdown", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerenter", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerleave", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointermove", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerout", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerover", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "pointerup", listener: (ev: PointerEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "touchcancel", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "touchend", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "touchmove", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "touchstart", listener: (ev: TouchEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "webkitfullscreenchange", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "webkitfullscreenerror", listener: (ev: Event) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: "wheel", listener: (ev: WheelEvent) => any, useCapture?: boolean): T;
|
||||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): T;
|
||||
}
|
||||
|
||||
interface BlissBindedElement<T> extends BlissNativeExtentions<T> {
|
||||
set(options: Object): BlissDecoratedElement<T>
|
||||
contents(elements: Object | Array<any> | string | Number | Node): BlissDecoratedElement<T>
|
||||
clone(): BlissDecoratedElement<T>;
|
||||
after(element:Element) : BlissDecoratedElement<T>;
|
||||
around(element:Element) : BlissDecoratedElement<T>;
|
||||
attributes(attrs: Object) : BlissDecoratedElement<T>;
|
||||
before(element:Element) : BlissDecoratedElement<T>;
|
||||
inside(element:Element) : BlissDecoratedElement<T>;
|
||||
properties(props: Object) : BlissDecoratedElement<T>;
|
||||
start(element:Element) : BlissDecoratedElement<T>;
|
||||
style(properties: Object) : BlissDecoratedElement<T>;
|
||||
transition(properties: Object, duration?: number) : Promise<T>;
|
||||
delegate(type: string, selector: string, callback: (event: Event) => void): BlissDecoratedElement<T>;
|
||||
delegate(type: string, selectorsToCallbacks: {[selector: string] : (event: Event) => void}): BlissDecoratedElement<T>;
|
||||
delegate(typesToSelectorsToCallbacks: {[type: string] : {[selector: string] : (event: Event) => void}}): BlissDecoratedElement<T>;
|
||||
events(handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>;
|
||||
fire(type: string, properties?: {[propertyName: string] : any}): BlissDecoratedElement<T>;
|
||||
once(handlers: {[eventName:string] : (event: Event) => void} | Element): BlissDecoratedElement<T>;
|
||||
|
||||
remove(): BlissDecoratedElement<T>;
|
||||
}
|
||||
|
||||
interface BlissBindedArray<T> {
|
||||
all(method: string, ...args: Array<any>): Array<any>;
|
||||
all<T>(method: string, ...args: Array<any>): Array<T>;
|
||||
}
|
||||
|
||||
interface BlissCollectionArray<T> {
|
||||
set(options: Object): BlissCollectionArray<T>
|
||||
contents(elements: Object | Array<any> | string | Number | Node): BlissCollectionArray<T>
|
||||
clone(): BlissCollectionArray<T>;
|
||||
after(element:Element) : BlissCollectionArray<T>;
|
||||
around(element:Element) : BlissCollectionArray<T>;
|
||||
attributes(attrs: Object) : BlissCollectionArray<T>;
|
||||
before(element:Element) : BlissCollectionArray<T>;
|
||||
inside(element:Element) : BlissCollectionArray<T>;
|
||||
properties(props: Object) : BlissCollectionArray<T>;
|
||||
start(element:Element) : BlissCollectionArray<T>;
|
||||
style(properties: Object) : BlissCollectionArray<T>;
|
||||
transition(properties: Object, duration?: number) : Promise<T>[];
|
||||
delegate(type: string, selector: string, callback: (event: Event) => void): BlissCollectionArray<T>;
|
||||
delegate(type: string, selectorsToCallbacks: {[selector: string] : (event: Event) => void}): BlissCollectionArray<T>;
|
||||
delegate(typesToSelectorsToCallbacks: {[type: string] : {[selector: string] : (event: Event) => void}}): BlissCollectionArray<T>;
|
||||
events(handlers: {[eventName:string] : (event: Event) => void} | Element): BlissCollectionArray<T>;
|
||||
fire(type: string, properties?: {[propertyName: string] : any}): BlissCollectionArray<T>;
|
||||
once(handlers: {[eventName:string] : (event: Event) => void} | Element): BlissCollectionArray<T>;
|
||||
|
||||
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): BlissCollectionArray<T>;
|
||||
|
||||
remove(): BlissCollectionArray<T>;
|
||||
}
|
||||
}
|
||||
|
||||
declare var Bliss: BlissNS.BlissStatic;
|
||||
declare var $: BlissNS.BlissStatic;
|
||||
declare var $$: BlissNS.BlissStaticCollection;
|
||||
@@ -754,8 +754,8 @@ Promise.longStackTraces();
|
||||
|
||||
//TODO enable delay
|
||||
|
||||
fooProm = Promise.delay(fooThen, num);
|
||||
fooProm = Promise.delay(foo, num);
|
||||
fooProm = Promise.delay(num, fooThen);
|
||||
fooProm = Promise.delay(num, foo);
|
||||
voidProm = Promise.delay(num);
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
@@ -766,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});
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
|
||||
Vendored
+4
-3
@@ -106,8 +106,8 @@ interface PromiseConstructor {
|
||||
* Returns a promise that will be fulfilled with `value` (or `undefined`) after given `ms` milliseconds. If `value` is a promise, the delay will start counting down when it is fulfilled and the returned promise will be fulfilled with the fulfillment value of the `value` promise.
|
||||
*/
|
||||
// TODO enable more overloads
|
||||
delay<T>(value: PromiseLike<T>, ms: number): Promise<T>;
|
||||
delay<T>(value: T, ms: number): Promise<T>;
|
||||
delay<T>(ms: number, value: PromiseLike<T>): Promise<T>;
|
||||
delay<T>(ms: number, value: T): Promise<T>;
|
||||
delay(ms: number): Promise<void>;
|
||||
|
||||
/**
|
||||
@@ -137,7 +137,8 @@ interface PromiseConstructor {
|
||||
/**
|
||||
* Returns a promise that is resolved by a node style callback function.
|
||||
*/
|
||||
fromNode(resolver: (callback: (err: any, result?: any) => void) => void): Promise<any>;
|
||||
fromNode(resolver: (callback: (err: any, result?: any) => void) => void, options? : {multiArgs? : boolean}): Promise<any>;
|
||||
fromCallback(resolver: (callback: (err: any, result?: any) => void) => void, options? : {multiArgs? : boolean}): Promise<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.
|
||||
|
||||
@@ -56,6 +56,7 @@ declare module BootstrapV3DatetimePicker {
|
||||
inline?: boolean;
|
||||
toolbarPlacement?: string;
|
||||
showClear?: boolean;
|
||||
ignoreReadonly?: 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;
|
||||
|
||||
Vendored
+2
-8
@@ -34,7 +34,7 @@ declare module "browser-sync" {
|
||||
* Default: undefined
|
||||
* Note: requires at least version 2.6.0
|
||||
*/
|
||||
watchOptions?: ChokidarOptions;
|
||||
watchOptions?: chokidar.WatchOptions;
|
||||
/**
|
||||
* Use the built-in static server for basic HTML/JS/CSS websites.
|
||||
* Default: false
|
||||
@@ -243,19 +243,13 @@ declare module "browser-sync" {
|
||||
* Note: requires at least version 1.6.2
|
||||
*/
|
||||
socket?: SocketOptions;
|
||||
middleware?: MiddlewareHandler | MiddlewareHandler[];
|
||||
}
|
||||
|
||||
interface Hash<T> {
|
||||
[path: string]: T;
|
||||
}
|
||||
|
||||
interface ChokidarOptions {
|
||||
interval?: number;
|
||||
debounceDelay?: number;
|
||||
mode?: string;
|
||||
cwd?: string;
|
||||
}
|
||||
|
||||
interface UIOptions {
|
||||
/** set the default port */
|
||||
port?: number;
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
/// <reference path="./bs58.d.ts" />
|
||||
|
||||
import * as bs58 from 'bs58';
|
||||
|
||||
{
|
||||
let encoded: string;
|
||||
|
||||
encoded = bs58.encode([255]);
|
||||
encoded = bs58.encode({0: 255, length: 1});
|
||||
}
|
||||
|
||||
let decoded: number[] = bs58.decode('5Q');
|
||||
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
// Type definitions for bs58 3.0.0
|
||||
// Project: https://github.com/cryptocoinjs/bs58
|
||||
// Definitions by: Ilya Mochalov <https://github.com/chrootsu>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../base-x/base-x.d.ts" />
|
||||
|
||||
declare module "bs58" {
|
||||
namespace base58 {}
|
||||
|
||||
let base58: BaseX.BaseConverter;
|
||||
|
||||
export = base58;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
/// <reference path="bson.d.ts"/>
|
||||
|
||||
import * as bson from 'bson';
|
||||
|
||||
let BSON = new bson.BSONPure.BSON();
|
||||
let Long = bson.BSONPure.Long;
|
||||
|
||||
let doc = {long: Long.fromNumber(100)}
|
||||
|
||||
// Serialize a document
|
||||
let data = BSON.serialize(doc, false, true, false);
|
||||
console.log("data:", data);
|
||||
|
||||
// Deserialize the resulting Buffer
|
||||
let doc_2 = BSON.deserialize(data);
|
||||
console.log("doc_2:", doc_2);
|
||||
|
||||
|
||||
BSON = new bson.BSONNative.BSON();
|
||||
data = BSON.serialize(doc);
|
||||
doc_2 = BSON.deserialize(data);
|
||||
|
||||
|
||||
Vendored
+133
@@ -0,0 +1,133 @@
|
||||
// Type definitions for bson 0.4.21
|
||||
// Project: https://github.com/mongodb/js-bson
|
||||
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts"/>
|
||||
|
||||
|
||||
declare module 'bson' {
|
||||
|
||||
module bson {
|
||||
|
||||
export module BSONPure {
|
||||
|
||||
export interface DeserializeOptions {
|
||||
/** {Boolean, default:false}, evaluate functions in the BSON document scoped to the object deserialized. */
|
||||
evalFunctions?: boolean;
|
||||
/** {Boolean, default:false}, cache evaluated functions for reuse. */
|
||||
cacheFunctions?: boolean;
|
||||
/** {Boolean, default:false}, use a crc32 code for caching, otherwise use the string of the function. */
|
||||
cacheFunctionsCrc32?: boolean;
|
||||
/** {Boolean, default:false}, deserialize Binary data directly into node.js Buffer object. */
|
||||
promoteBuffers?: boolean;
|
||||
}
|
||||
export class BSON {
|
||||
/**
|
||||
* @param {Object} object the Javascript object to serialize.
|
||||
* @param {Boolean} checkKeys the serializer will check if keys are valid.
|
||||
* @param {Boolean} asBuffer return the serialized object as a Buffer object (ignore).
|
||||
* @param {Boolean} serializeFunctions serialize the javascript functions (default:false)
|
||||
* @return {Buffer} returns a TypedArray or Array depending on what your browser supports
|
||||
*/
|
||||
serialize(object: any, checkKeys?: boolean, asBuffer?: boolean, serializeFunctions?: boolean): Buffer;
|
||||
deserialize(buffer: Buffer, options?: DeserializeOptions, isArray?: boolean): any;
|
||||
}
|
||||
|
||||
|
||||
export interface Binary {}
|
||||
export interface BinaryStatic {
|
||||
SUBTYPE_DEFAULT: number;
|
||||
SUBTYPE_FUNCTION: number;
|
||||
SUBTYPE_BYTE_ARRAY: number;
|
||||
SUBTYPE_UUID_OLD: number;
|
||||
SUBTYPE_UUID: number;
|
||||
SUBTYPE_MD5: number;
|
||||
SUBTYPE_USER_DEFINED: number;
|
||||
|
||||
new (buffer: Buffer, subType?: number): Binary;
|
||||
}
|
||||
export let Binary: BinaryStatic;
|
||||
|
||||
export interface Code {}
|
||||
export interface CodeStatic {
|
||||
new (code: string | Function, scope?: any): Code;
|
||||
}
|
||||
export let Code: CodeStatic;
|
||||
|
||||
export interface DBRef {}
|
||||
export interface DBRefStatic {
|
||||
new (namespace: string, oid: ObjectID, db?: string): DBRef;
|
||||
}
|
||||
export let DBRef: DBRefStatic;
|
||||
|
||||
export interface Double {}
|
||||
export interface DoubleStatic {
|
||||
new (value: number): Double;
|
||||
}
|
||||
export let Double: DoubleStatic;
|
||||
|
||||
export interface Long {}
|
||||
export interface LongStatic {
|
||||
new (low: number, high: number): Long;
|
||||
fromInt(i: number): Long;
|
||||
fromNumber(n: number): Long;
|
||||
fromBits(lowBits: number, highBits: number): Long;
|
||||
fromString(s: string, opt_radix?: number): Long;
|
||||
}
|
||||
export let Long: LongStatic;
|
||||
|
||||
export interface MaxKey {}
|
||||
export interface MaxKeyStatic {
|
||||
new (): MaxKey;
|
||||
}
|
||||
export let MaxKey: MaxKeyStatic;
|
||||
|
||||
export interface MinKey {}
|
||||
export interface MinKeyStatic {
|
||||
new (): MinKey;
|
||||
}
|
||||
export let MinKey: MinKeyStatic;
|
||||
|
||||
export interface ObjectID {}
|
||||
export interface ObjectIDStatic {
|
||||
new (id?: number | string | ObjectID): ObjectID;
|
||||
createPk(): ObjectID;
|
||||
createFromTime(time: number): ObjectID;
|
||||
createFromHexString(hexString: string): ObjectID;
|
||||
isValid(id: number | string | ObjectID): boolean;
|
||||
}
|
||||
export let ObjectID: ObjectIDStatic;
|
||||
export let ObjectId: ObjectIDStatic;
|
||||
|
||||
export interface BSONRegExp {}
|
||||
export interface BSONRegExpStatic {
|
||||
new (pattern: string, options: string): BSONRegExp;
|
||||
}
|
||||
export let BSONRegExp: BSONRegExpStatic;
|
||||
|
||||
export interface Symbol {}
|
||||
export interface SymbolStatic {
|
||||
new (value: string): Symbol;
|
||||
}
|
||||
export let Symbol: SymbolStatic;
|
||||
|
||||
export interface Timestamp {}
|
||||
export interface TimestampStatic {
|
||||
new (low: number, high: number): Timestamp;
|
||||
fromInt(i: number): Timestamp;
|
||||
fromNumber(n: number): Timestamp;
|
||||
fromBits(lowBits: number, highBits: number): Timestamp;
|
||||
fromString(s: string, opt_radix?: number): Timestamp;
|
||||
}
|
||||
export let Timestamp: TimestampStatic;
|
||||
|
||||
}
|
||||
|
||||
export let BSONNative: typeof BSONPure;
|
||||
|
||||
}
|
||||
|
||||
export = bson;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
/// <reference path="./camelcase.d.ts" />
|
||||
|
||||
import camelCase from 'camelcase';
|
||||
|
||||
camelCase('foo-bar');
|
||||
camelCase('foo_bar');
|
||||
camelCase('Foo-Bar');
|
||||
camelCase('--foo.bar');
|
||||
camelCase('__foo__bar__');
|
||||
camelCase('foo bar');
|
||||
camelCase('foo', 'bar');
|
||||
camelCase('__foo__', '--bar');
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// Type definitions for camelcase
|
||||
// Project: https://github.com/sindresorhus/camelcase
|
||||
// Definitions by: Sam Verschueren <https://github.com/samverschueren>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "camelcase" {
|
||||
export default function camelcase(...args: string[]): string;
|
||||
}
|
||||
Vendored
+3
-1
@@ -107,7 +107,7 @@ interface LinearInstance extends ChartInstance {
|
||||
getPointsAtEvent: (event: Event) => PointsAtEvent[];
|
||||
update: () => void;
|
||||
addData: (valuesArray: number[], label: string) => void;
|
||||
removeData: () => void;
|
||||
removeData: (index?: number) => void;
|
||||
}
|
||||
|
||||
interface CircularInstance extends ChartInstance {
|
||||
@@ -136,6 +136,8 @@ interface BarChartOptions extends ChartOptions {
|
||||
barStrokeWidth?: number;
|
||||
barValueSpacing?: number;
|
||||
barDatasetSpacing?: number;
|
||||
scaleShowHorizontalLines?: boolean;
|
||||
scaleShowVerticalLines?: boolean;
|
||||
}
|
||||
|
||||
interface RadarChartOptions extends ChartSettings {
|
||||
|
||||
@@ -316,3 +316,12 @@ function testSocketsTcpServerTypes(): void {
|
||||
socketInfo.localAddress = "192.168.0.2";
|
||||
socketInfo.localPort = 8000;
|
||||
}
|
||||
|
||||
function testSystemNetwork() {
|
||||
chrome.system.network.getNetworkInterfaces((networkInterfaces) => {
|
||||
var iface: chrome.system.network.NetworkInterface;
|
||||
for (var i in networkInterfaces) {
|
||||
iface = networkInterfaces[i];
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Vendored
+13
@@ -378,3 +378,16 @@ declare module chrome.sockets.tcpServer {
|
||||
var onAccept: Event<AcceptEventArgs>;
|
||||
var onAcceptError: Event<AcceptErrorEventArgs>;
|
||||
}
|
||||
|
||||
////////////////////
|
||||
// System - Network
|
||||
////////////////////
|
||||
declare module chrome.system.network {
|
||||
interface NetworkInterface {
|
||||
name: string;
|
||||
address: string;
|
||||
prefixLength: number;
|
||||
}
|
||||
|
||||
export function getNetworkInterfaces(callback: (networkInterfaces: NetworkInterface[]) => void): void;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
/// <reference path="clean-css.d.ts" />
|
||||
|
||||
import * as CleanCSS from 'clean-css';
|
||||
|
||||
var source = 'a{font-weight:bold;}';
|
||||
var minified = new CleanCSS().minify(source).styles;
|
||||
|
||||
var source = '@import url(http://path/to/remote/styles);';
|
||||
new CleanCSS().minify(source, function (error, minified) {
|
||||
console.log(minified.styles);
|
||||
});
|
||||
|
||||
const pathToOutputDirectory = 'path';
|
||||
|
||||
new CleanCSS({ sourceMap: true, target: pathToOutputDirectory })
|
||||
.minify(source, function (error, minified) {
|
||||
// access minified.sourceMap for SourceMapGenerator object
|
||||
// see https://github.com/mozilla/source-map/#sourcemapgenerator for more details
|
||||
// see https://github.com/jakubpawlowicz/clean-css/blob/master/bin/cleancss#L114 on how it's used in clean-css' CLI
|
||||
console.log(minified.sourceMap);
|
||||
});
|
||||
|
||||
const inputSourceMapAsString = 'input';
|
||||
new CleanCSS({ sourceMap: inputSourceMapAsString, target: pathToOutputDirectory })
|
||||
.minify(source, function (error, minified) {
|
||||
// access minified.sourceMap to access SourceMapGenerator object
|
||||
// see https://github.com/mozilla/source-map/#sourcemapgenerator for more details
|
||||
// see https://github.com/jakubpawlowicz/clean-css/blob/master/bin/cleancss#L114 on how it's used in clean-css' CLI
|
||||
console.log(minified.sourceMap);
|
||||
});
|
||||
|
||||
new CleanCSS({ sourceMap: true, target: pathToOutputDirectory }).minify({
|
||||
'path/to/source/1': {
|
||||
styles: '...styles...',
|
||||
sourceMap: '...source-map...'
|
||||
},
|
||||
'path/to/source/2': {
|
||||
styles: '...styles...',
|
||||
sourceMap: '...source-map...'
|
||||
}
|
||||
}, function (error, minified) {
|
||||
// access minified.sourceMap as above
|
||||
console.log(minified.sourceMap);
|
||||
});
|
||||
|
||||
new CleanCSS().minify(['path/to/file/one', 'path/to/file/two']);
|
||||
|
||||
new CleanCSS().minify({
|
||||
'path/to/file/one': {
|
||||
styles: 'contents of file one'
|
||||
},
|
||||
'path/to/file/two': {
|
||||
styles: 'contents of file two'
|
||||
}
|
||||
});
|
||||
Vendored
+109
@@ -0,0 +1,109 @@
|
||||
// Type definitions for clean-css v3.4.9
|
||||
// Project: https://github.com/jakubpawlowicz/clean-css
|
||||
// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module 'clean-css' {
|
||||
namespace CleanCSS {
|
||||
interface Options {
|
||||
// Set to false to disable advanced optimizations - selector & property merging, reduction, etc.
|
||||
advanced?: boolean;
|
||||
|
||||
// Set to false to disable aggressive merging of properties.
|
||||
aggressiveMerging?: boolean;
|
||||
|
||||
// Turns on benchmarking mode measuring time spent on cleaning up (run npm run bench to see example)
|
||||
benchmark?: boolean;
|
||||
|
||||
// Enables compatibility mode
|
||||
compatibility?: Object;
|
||||
|
||||
// Set to true to get minification statistics under stats property (see test/custom-test.js for examples)
|
||||
debug?: boolean;
|
||||
|
||||
// A hash of options for @import inliner, see test/protocol-imports-test.js for examples, or this comment for a proxy use case.
|
||||
inliner?: Object;
|
||||
|
||||
// Whether to keep line breaks (default is false)
|
||||
keepBreaks?: boolean;
|
||||
|
||||
// * for keeping all (default), 1 for keeping first one only, 0 for removing all
|
||||
keepSpecialComments?: string | number;
|
||||
|
||||
// Whether to merge @media at-rules (default is true)
|
||||
mediaMerging?: boolean;
|
||||
|
||||
// Whether to process @import rules
|
||||
processImport?: boolean;
|
||||
|
||||
// A list of @import rules, can be ['all'] (default), ['local'], ['remote'], or a blacklisted path e.g. ['!fonts.googleapis.com']
|
||||
processImportFrom?: Array<string>;
|
||||
|
||||
// Set to false to skip URL rebasing
|
||||
rebase?: boolean;
|
||||
|
||||
// Path to resolve relative @import rules and URLs
|
||||
relativeTo?: string;
|
||||
|
||||
// Set to false to disable restructuring in advanced optimizations
|
||||
restructuring?: boolean;
|
||||
|
||||
// Path to resolve absolute @import rules and rebase relative URLs
|
||||
root?: string;
|
||||
|
||||
// Rounding precision; defaults to 2; -1 disables rounding
|
||||
roundingPrecision?: number;
|
||||
|
||||
// Set to true to enable semantic merging mode which assumes BEM-like content (default is false as it's highly likely this will break your stylesheets - use with caution!)
|
||||
semanticMerging?: boolean;
|
||||
|
||||
// Set to false to skip shorthand compacting (default is true unless sourceMap is set when it's false)
|
||||
shorthandCompacting?: boolean;
|
||||
|
||||
// Exposes source map under sourceMap property, e.g. new CleanCSS().minify(source).sourceMap (default is false) If input styles are a product of CSS preprocessor (Less, Sass) an input source map can be passed as a string.
|
||||
sourceMap?: boolean | string;
|
||||
|
||||
// Set to true to inline sources inside a source map's sourcesContent field (defaults to false) It is also required to process inlined sources from input source maps.
|
||||
sourceMapInlineSources?: boolean;
|
||||
|
||||
// Path to a folder or an output file to which rebase all URLs
|
||||
target?: string;
|
||||
}
|
||||
|
||||
interface Output {
|
||||
// Optimized output CSS as a string
|
||||
styles: string;
|
||||
|
||||
// Output source map (if requested with sourceMap option)
|
||||
sourceMap: string;
|
||||
|
||||
// A list of errors raised
|
||||
errors: Array<string>;
|
||||
|
||||
// A list of warnings raised
|
||||
warnings: Array<string>;
|
||||
|
||||
// A hash of statistic information (if requested with debug option)
|
||||
stats: {
|
||||
// Original content size (after import inlining)
|
||||
originalSize: number;
|
||||
|
||||
// Optimized content size
|
||||
minifiedSize: number;
|
||||
|
||||
// Time spent on optimizations
|
||||
timeSpent: number;
|
||||
|
||||
// A ratio of output size to input size (e.g. 25% if content was reduced from 100 bytes to 75 bytes)
|
||||
efficiency: number;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
class CleanCSS {
|
||||
constructor(options?: CleanCSS.Options);
|
||||
minify(sources: string | Array<string> | Object, callback?: (error: any, minified: CleanCSS.Output) => void): CleanCSS.Output;
|
||||
}
|
||||
|
||||
export = CleanCSS;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
/// <reference path="clipboard.d.ts" />
|
||||
|
||||
var cb1 = new clipboard.Clipboard('.btn');
|
||||
var cb2 = new clipboard.Clipboard('.btn', {
|
||||
action: elem => 'copy'
|
||||
});
|
||||
var cb3 = new clipboard.Clipboard('.btn', {
|
||||
text: elem => null
|
||||
});
|
||||
var cb4 = new clipboard.Clipboard('.btn', {
|
||||
target: elem => null
|
||||
});
|
||||
var cb5 = new clipboard.Clipboard('.btn', {
|
||||
action: elem => 'copy',
|
||||
target: elem => null
|
||||
});
|
||||
|
||||
cb1.destroy();
|
||||
|
||||
cb2.on('success', function(e) { });
|
||||
cb2.on('error', function(e) { });
|
||||
|
||||
Vendored
+52
@@ -0,0 +1,52 @@
|
||||
// Type definitions for clipboard.js 1.5.5
|
||||
// Project: https://github.com/zenorocha/clipboard.js
|
||||
// Definitions by: Andrei Kurosh <https://github.com/impworks>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module clipboard {
|
||||
|
||||
export class Clipboard {
|
||||
constructor(selector: string, options?: IOptions);
|
||||
|
||||
/**
|
||||
* Subscribes to events that indicate the result of a copy/cut operation.
|
||||
* @param type {String} Event type ('success' or 'error').
|
||||
* @param handler Callback function.
|
||||
*/
|
||||
on(type: "success", handler: (e: Event) => void): void;
|
||||
on(type: "error", handler: (e: Event) => void): void;
|
||||
on(type: string, handler: (e: Event) => void): void;
|
||||
|
||||
/**
|
||||
* Clears all event bindings.
|
||||
*/
|
||||
destroy(): void;
|
||||
}
|
||||
|
||||
interface IOptions {
|
||||
/**
|
||||
* Overwrites default command ('cut' or 'copy').
|
||||
* @param {Element} elem Current element
|
||||
* @returns {String} Only 'cut' or 'copy'.
|
||||
*/
|
||||
action?: (elem: Element) => string;
|
||||
|
||||
/**
|
||||
* Overwrites default target input element.
|
||||
* @param {Element} elem Current element
|
||||
* @returns {Element} <input> element to use.
|
||||
*/
|
||||
target?: (elem: Element) => Element;
|
||||
|
||||
/**
|
||||
* Returns the explicit text to copy.
|
||||
* @param {Element} elem Current element
|
||||
* @returns {String} Text to be copied.
|
||||
*/
|
||||
text?: (elem: Element) => string;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'clipboard' {
|
||||
export = clipboard;
|
||||
}
|
||||
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,79 @@
|
||||
/// <reference path="confidence.d.ts" />
|
||||
|
||||
import Confidence = require('confidence');
|
||||
|
||||
let criteria = {
|
||||
"env": "production",
|
||||
"platform": "ios",
|
||||
"xfactor": "yes",
|
||||
"random": {
|
||||
"a": 15
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* The configurations in Confidence style
|
||||
*/
|
||||
let config = {
|
||||
"key1": "abc",
|
||||
"key2": {
|
||||
"$filter": "env",
|
||||
"production": {
|
||||
"deeper": {
|
||||
"$value": "value"
|
||||
}
|
||||
},
|
||||
"$default": {
|
||||
"$filter": "platform",
|
||||
"android": 0,
|
||||
"ios": 1,
|
||||
"$default": 2
|
||||
}
|
||||
},
|
||||
"key3": {
|
||||
"sub1": 123,
|
||||
"sub2": {
|
||||
"$filter": "xfactor",
|
||||
"yes": 6
|
||||
}
|
||||
},
|
||||
"ab": {
|
||||
"$filter": "random.a",
|
||||
"$range": [
|
||||
{ "limit": 10, "value": 4 },
|
||||
{ "limit": 20, "value": 5 }
|
||||
],
|
||||
"$default": 6
|
||||
},
|
||||
"$meta": {
|
||||
"description": "example file"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Creates an empty configuration storage container
|
||||
*/
|
||||
let store = new Confidence.Store(config);
|
||||
|
||||
|
||||
/**
|
||||
* Validates the provided configuration, clears any existing configuration, then loads the configuration
|
||||
*/
|
||||
store.load(config);
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves a value from the configuration document after applying the provided criteria
|
||||
*/
|
||||
store.get('/key1');
|
||||
//criteria - optional object
|
||||
store.get('/key2', criteria);
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves the metadata (if any) from the configuration document after applying the provided criteria
|
||||
*/
|
||||
store.meta('/key1');
|
||||
//criteria - optional object
|
||||
store.meta('/key2', criteria);
|
||||
Vendored
+48
@@ -0,0 +1,48 @@
|
||||
// Type definitions for Confidence v1.4.2
|
||||
// Project: https://github.com/hapijs/confidence.git
|
||||
// Definitions by: Jean-Philippe Pellerin <https://github.com/jppellerin>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/**
|
||||
* Confidence is a configuration document format, an API, and a foundation for A/B testing.
|
||||
* The configuration format is designed to work with any existing JSON-based configuration,
|
||||
* serving values based on object path ('/a/b/c' translates to a.b.c). In addition,
|
||||
* confidence defines special $-prefixed keys used to filter values for a given criteria.
|
||||
*/
|
||||
declare module 'confidence' {
|
||||
|
||||
export class Store {
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
* @param {any} document - the configuration document for this document store
|
||||
*/
|
||||
constructor(document?: any);
|
||||
|
||||
/**
|
||||
* Validates the provided configuration, clears any existing configuration, then loads the configuration where:
|
||||
* @param {any} document - an object containing a confidence configuration object generated from a parsed JSON document. If the document is invlaid, will throw an error.
|
||||
*/
|
||||
load(document: any): void;
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves a value from the configuration document after applying the provided criteria where:
|
||||
* @param {string} key - the requested key path. All keys must begin with '/'. '/' returns the the entire document.
|
||||
* @param {any} criteria - optional object used as criteria for applying filters in the configuration document. Defaults to {}.
|
||||
*
|
||||
* @return {any} Returns the value found after applying the criteria. If the key is invalid or not found, returns undefined.
|
||||
*/
|
||||
get(key: string, criteria?: any): any;
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves the metadata (if any) from the configuration document after applying the provided criteria where:
|
||||
* @param {string} key - the requested key path. All keys must begin with '/'. '/' returns the the entire document.
|
||||
* @param {any} criteria - optional object used as criteria for applying filters in the configuration document. Defaults to {}.
|
||||
*
|
||||
* @return {any} Returns the metadata found after applying the criteria. If the key is invalid or not found, or if no metadata is available, returns undefined.
|
||||
*/
|
||||
meta(key: string, criteria?: any): any;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -1,27 +1,168 @@
|
||||
/// <reference path="consolidate.d.ts" />
|
||||
import cons = require('consolidate');
|
||||
|
||||
import consolidate = require('consolidate');
|
||||
var path: string = 'test/path';
|
||||
var options = {user: 'tobi'};
|
||||
var fn = function(err: Error, html: string) {};
|
||||
|
||||
cons.atpl(path);
|
||||
cons.atpl(path, options);
|
||||
cons.atpl(path, options, fn);
|
||||
|
||||
cons.dot(path);
|
||||
cons.dot(path, options);
|
||||
cons.dot(path, options, fn);
|
||||
|
||||
cons.dust(path);
|
||||
cons.dust(path, options);
|
||||
cons.dust(path, options, fn);
|
||||
|
||||
cons.eco(path);
|
||||
cons.eco(path, options);
|
||||
cons.eco(path, options, fn);
|
||||
|
||||
cons.ect(path);
|
||||
cons.ect(path, options);
|
||||
cons.ect(path, options, fn);
|
||||
|
||||
cons.ejs(path);
|
||||
cons.ejs(path, options);
|
||||
cons.ejs(path, options, fn);
|
||||
|
||||
cons.haml(path);
|
||||
cons.haml(path, options);
|
||||
cons.haml(path, options, fn);
|
||||
|
||||
// TODO figure out how to type haml-coffee
|
||||
// cons['haml-coffee'](path, options, fn);
|
||||
|
||||
cons.hamlet(path);
|
||||
cons.hamlet(path, options);
|
||||
cons.hamlet(path, options, fn);
|
||||
|
||||
cons.handlebars(path);
|
||||
cons.handlebars(path, options);
|
||||
cons.handlebars(path, options, fn);
|
||||
|
||||
cons.hogan(path);
|
||||
cons.hogan(path, options);
|
||||
cons.hogan(path, options, fn);
|
||||
|
||||
cons.htmling(path);
|
||||
cons.htmling(path, options);
|
||||
cons.htmling(path, options, fn);
|
||||
|
||||
cons.jade(path);
|
||||
cons.jade(path, options);
|
||||
cons.jade(path, options, fn);
|
||||
|
||||
cons.jazz(path);
|
||||
cons.jazz(path, options);
|
||||
cons.jazz(path, options, fn);
|
||||
|
||||
cons.jqtpl(path);
|
||||
cons.jqtpl(path, options);
|
||||
cons.jqtpl(path, options, fn);
|
||||
|
||||
cons.just(path);
|
||||
cons.just(path, options);
|
||||
cons.just(path, options, fn);
|
||||
|
||||
cons.liquid(path);
|
||||
cons.liquid(path, options);
|
||||
cons.liquid(path, options, fn);
|
||||
|
||||
cons.liquor(path);
|
||||
cons.liquor(path, options);
|
||||
cons.liquor(path, options, fn);
|
||||
|
||||
cons.lodash(path);
|
||||
cons.lodash(path, options);
|
||||
cons.lodash(path, options, fn);
|
||||
|
||||
cons.mote(path);
|
||||
cons.mote(path, options);
|
||||
cons.mote(path, options, fn);
|
||||
|
||||
cons.mustache(path);
|
||||
cons.mustache(path, options);
|
||||
cons.mustache(path, options, fn);
|
||||
|
||||
cons.nunjucks(path);
|
||||
cons.nunjucks(path, options);
|
||||
cons.nunjucks(path, options, fn);
|
||||
|
||||
cons.qejs(path);
|
||||
cons.qejs(path, options);
|
||||
cons.qejs(path, options, fn);
|
||||
|
||||
cons.ractive(path);
|
||||
cons.ractive(path, options);
|
||||
cons.ractive(path, options, fn);
|
||||
|
||||
cons.react(path);
|
||||
cons.react(path, options);
|
||||
cons.react(path, options, fn);
|
||||
|
||||
cons.swig(path);
|
||||
cons.swig(path, options);
|
||||
cons.swig(path, options, fn);
|
||||
|
||||
cons.templayed(path);
|
||||
cons.templayed(path, options);
|
||||
cons.templayed(path, options, fn);
|
||||
|
||||
cons.toffee(path);
|
||||
cons.toffee(path, options);
|
||||
cons.toffee(path, options, fn);
|
||||
|
||||
cons.underscore(path);
|
||||
cons.underscore(path, options);
|
||||
cons.underscore(path, options, fn);
|
||||
|
||||
cons.walrus(path);
|
||||
cons.walrus(path, options);
|
||||
cons.walrus(path, options, fn);
|
||||
|
||||
cons.whiskers(path);
|
||||
cons.whiskers(path, options);
|
||||
cons.whiskers(path, options, fn);
|
||||
|
||||
/**
|
||||
* Examples from documentation
|
||||
* https://github.com/tj/consolidate.js/
|
||||
*/
|
||||
// Common use
|
||||
cons.swig('views/page.html', { user: 'tobi' }, function(err, html) {
|
||||
if (err) throw err;
|
||||
console.log(html);
|
||||
});
|
||||
|
||||
// Options object is optional
|
||||
cons.swig('views/page.html', function(err, html) {
|
||||
if (err) throw err;
|
||||
console.log(html);
|
||||
});
|
||||
|
||||
// To dynamically pass the engine, simply use the subscript operator and a variable:
|
||||
cons['swig']('views/page.html', { user: 'tobi' }, function(err, html) {
|
||||
if (err) throw err;
|
||||
console.log(html);
|
||||
});
|
||||
|
||||
// Returns a promise if no is callback passed in:
|
||||
cons.swig('views/page.html', { user: 'tobi' })
|
||||
.then(function(html) {
|
||||
console.log(html);
|
||||
})
|
||||
.catch(function(err) {
|
||||
throw err;
|
||||
});
|
||||
|
||||
// Caching
|
||||
cons.swig('views/page.html', { cache: false, user: 'tobi' }, function(err, html) {
|
||||
if (err) throw err;
|
||||
console.log(html);
|
||||
});
|
||||
|
||||
var path: string = null;
|
||||
var options: any = null;
|
||||
var fn: any = null;
|
||||
|
||||
consolidate.clearCache();
|
||||
consolidate.jade(path, options, fn);
|
||||
consolidate.dust(path, options, fn);
|
||||
consolidate.swig(path, options, fn);
|
||||
consolidate.liquor(path, options, fn);
|
||||
consolidate.ejs(path, options, fn);
|
||||
consolidate.eco(path, options, fn);
|
||||
consolidate.jazz(path, options, fn);
|
||||
consolidate.jqtpl(path, options, fn);
|
||||
consolidate.haml(path, options, fn);
|
||||
consolidate.whiskers(path, options, fn);
|
||||
//consolidate.'haml-coffee':Function;
|
||||
consolidate.hogan(path, options, fn);
|
||||
consolidate.handlebars(path, options, fn);
|
||||
consolidate.underscore(path, options, fn);
|
||||
consolidate.qejs(path, options, fn);
|
||||
consolidate.walrus(path, options, fn);
|
||||
consolidate.mustache(path, options, fn);
|
||||
consolidate.dot(path, options, fn);
|
||||
|
||||
Vendored
+65
-20
@@ -1,30 +1,75 @@
|
||||
// Type definitions for consolidate
|
||||
// Project: https://github.com/visionmedia/consolidate.js
|
||||
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>
|
||||
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>, Theo Sherry <https://github.com/theosherry>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
// Imported from: https://github.com/soywiz/typescript-node-definitions/consolidate.d.ts
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference path="../bluebird/bluebird.d.ts" />
|
||||
|
||||
declare module "consolidate" {
|
||||
export function clearCache(): void;
|
||||
export var jade: (path: String, options: any, fn: any) => void;
|
||||
export var dust: (path: String, options: any, fn: any) => void;
|
||||
export var swig: (path: String, options: any, fn: any) => void;
|
||||
export var liquor: (path: String, options: any, fn: any) => void;
|
||||
export var ejs: (path: String, options: any, fn: any) => void;
|
||||
export var eco: (path: String, options: any, fn: any) => void;
|
||||
export var jazz: (path: String, options: any, fn: any) => void;
|
||||
export var jqtpl: (path: String, options: any, fn: any) => void;
|
||||
export var haml: (path: String, options: any, fn: any) => void;
|
||||
export var whiskers: (path: String, options: any, fn: any) => void;
|
||||
//export var 'haml-coffee':Function;
|
||||
export var hogan: (path: String, options: any, fn: any) => void;
|
||||
export var handlebars: (path: String, options: any, fn: any) => void;
|
||||
export var underscore: (path: String, options: any, fn: any) => void;
|
||||
export var qejs: (path: String, options: any, fn: any) => void;
|
||||
export var walrus: (path: String, options: any, fn: any) => void;
|
||||
export var mustache: (path: String, options: any, fn: any) => void;
|
||||
export var dot: (path: String, options: any, fn: any) => void;
|
||||
var cons: Consolidate;
|
||||
|
||||
export = cons;
|
||||
|
||||
interface Consolidate {
|
||||
/**
|
||||
* expose the instance of the engine
|
||||
*/
|
||||
requires: Object;
|
||||
|
||||
/**
|
||||
* Clear the cache.
|
||||
*
|
||||
* @api public
|
||||
*/
|
||||
clearCache(): void;
|
||||
// template engines
|
||||
atpl: RendererInterface;
|
||||
dot: RendererInterface;
|
||||
dust: RendererInterface;
|
||||
eco: RendererInterface;
|
||||
ejs: RendererInterface;
|
||||
ect: RendererInterface;
|
||||
haml: RendererInterface;
|
||||
// TODO figure out how to do haml-coffee
|
||||
hamlet: RendererInterface;
|
||||
handlebars: RendererInterface;
|
||||
hogan: RendererInterface;
|
||||
htmling: RendererInterface;
|
||||
jade: RendererInterface;
|
||||
jazz: RendererInterface;
|
||||
jqtpl: RendererInterface;
|
||||
just: RendererInterface;
|
||||
liquid: RendererInterface;
|
||||
liquor: RendererInterface;
|
||||
lodash: RendererInterface;
|
||||
mote: RendererInterface;
|
||||
mustache: RendererInterface;
|
||||
nunjucks: RendererInterface;
|
||||
qejs: RendererInterface;
|
||||
ractive: RendererInterface;
|
||||
react: RendererInterface;
|
||||
swig: RendererInterface;
|
||||
templayed: RendererInterface;
|
||||
toffee: RendererInterface;
|
||||
underscore: RendererInterface;
|
||||
walrus: RendererInterface;
|
||||
whiskers: RendererInterface;
|
||||
}
|
||||
|
||||
interface RendererInterface {
|
||||
render(path: String, fn: (err: Error, html: String) => any): any;
|
||||
|
||||
render(path: String, options: {cache?: boolean, [otherOptions: string]: any}, fn: (err: Error, html: String) => any): any;
|
||||
|
||||
render(path: String, options?: { cache?: boolean, [otherOptions: string]: any }): Promise<String>;
|
||||
|
||||
(path: String, fn: (err: Error, html: String) => any): any;
|
||||
|
||||
(path: String, options: { cache?: boolean, [otherOptions: string]: any }, fn: (err: Error, html: String) => any): any;
|
||||
|
||||
(path: String, options?: { cache?: boolean, [otherOptions: string]: any }): Promise<String>;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
@@ -0,0 +1,9 @@
|
||||
// Type definitions for contentful-resolve-response v0.1.2
|
||||
// Project: https://github.com/contentful/contentful-resolve-response
|
||||
// Definitions by: Anton Karsten <https://github.com/antonkarsten>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module 'contentful-resolve-response' {
|
||||
function resolveResponse(response: any): any;
|
||||
export = resolveResponse;
|
||||
}
|
||||
@@ -6,6 +6,42 @@ import validator = require('validator');
|
||||
|
||||
// define a schema
|
||||
|
||||
// straight from the convict tests
|
||||
const format : convict.Format = {
|
||||
name: 'float-percent',
|
||||
validate: function(val) {
|
||||
if (val !== 0 && (!val || val > 1 || val < 0)) {
|
||||
throw new Error('must be a float between 0 and 1, inclusive');
|
||||
}
|
||||
},
|
||||
coerce: function(val) {
|
||||
return +(<string> val);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
convict.addFormat(format);
|
||||
convict.addFormats({
|
||||
prime: {
|
||||
validate: function(val) {
|
||||
function isPrime(n: number) {
|
||||
if (n <= 1) return false; // zero and one are not prime
|
||||
for (var i=2; i*i <= n; i++) {
|
||||
if (n % i === 0) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if (!isPrime(val)) throw new Error('must be a prime number');
|
||||
},
|
||||
coerce: function(val) {
|
||||
return parseInt(val, 10);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
var conf = convict({
|
||||
env: {
|
||||
doc: 'The applicaton environment.',
|
||||
@@ -46,7 +82,15 @@ var conf = convict({
|
||||
env: 'PORT',
|
||||
arg: 'port',
|
||||
}
|
||||
}
|
||||
},
|
||||
primeNumber: {
|
||||
format: 'prime',
|
||||
default: 17
|
||||
},
|
||||
percentNumber: {
|
||||
format: 'float-percent',
|
||||
default: 0.5
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
@@ -72,4 +116,10 @@ if (conf.has('key')) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
conf.getSchema();
|
||||
conf.getProperties();
|
||||
conf.getSchemaString();
|
||||
conf.toString();
|
||||
|
||||
// vim:et:sw=2:ts=2
|
||||
|
||||
Vendored
+67
-23
@@ -4,30 +4,74 @@
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "convict" {
|
||||
function convict(schema: convict.Schema): convict.Config;
|
||||
module convict {
|
||||
|
||||
module convict {
|
||||
interface Schema {
|
||||
[name: string]: convict.Schema | {
|
||||
default: any;
|
||||
doc?: string;
|
||||
format?: any;
|
||||
env?: string;
|
||||
arg?: string;
|
||||
};
|
||||
}
|
||||
interface Format {
|
||||
name?: string;
|
||||
validate?: (val: any) => void;
|
||||
coerce?: (val: any) => any;
|
||||
}
|
||||
|
||||
interface Config {
|
||||
get(name: string): any;
|
||||
default(name: string): any;
|
||||
has(name: string): boolean;
|
||||
set(name: string, value: any): void;
|
||||
load(conf: Object): void;
|
||||
loadFile(file: string): void;
|
||||
loadFile(files: string[]): void;
|
||||
validate(): void;
|
||||
}
|
||||
}
|
||||
interface Schema {
|
||||
[name: string]: convict.Schema | {
|
||||
default: any;
|
||||
doc?: string;
|
||||
/**
|
||||
* From the implementation:
|
||||
*
|
||||
* format can be a:
|
||||
* - predefine type, as seen below
|
||||
* - an array of enumerated values, e.g. ["production", "development", "testing"]
|
||||
* - built-in JavaScript type, i.e. Object, Array, String, Number, Boolean
|
||||
* - or if omitted, the Object.prototype.toString.call of the default value
|
||||
*
|
||||
* The docs also state that any function that validates is ok too
|
||||
*/
|
||||
format?: string | Array<any> | Function;
|
||||
env?: string;
|
||||
arg?: string;
|
||||
};
|
||||
}
|
||||
|
||||
export = convict;
|
||||
interface Config {
|
||||
get(name: string): any;
|
||||
default(name: string): any;
|
||||
has(name: string): boolean;
|
||||
set(name: string, value: any): void;
|
||||
load(conf: Object): void;
|
||||
loadFile(file: string): void;
|
||||
loadFile(files: string[]): void;
|
||||
validate(): void;
|
||||
/**
|
||||
* Exports all the properties (that is the keys and their current values) as a {JSON} {Object}
|
||||
* @returns {Object} A {JSON} compliant {Object}
|
||||
*/
|
||||
getProperties() : Object;
|
||||
/**
|
||||
* Exports the schema as a {JSON} {Object}
|
||||
* @returns {Object} A {JSON} compliant {Object}
|
||||
*/
|
||||
getSchema() : Object;
|
||||
|
||||
/**
|
||||
* Exports all the properties (that is the keys and their current values) as a JSON string.
|
||||
* @returns {String} a string representing this object
|
||||
*/
|
||||
toString() : string;
|
||||
|
||||
/**
|
||||
* Exports the schema as a JSON string.
|
||||
* @returns {String} a string representing the schema of this {Config}
|
||||
*/
|
||||
getSchemaString() : string;
|
||||
}
|
||||
}
|
||||
interface convict {
|
||||
addFormat(format: convict.Format): void;
|
||||
addFormats(formats: { [name: string]: convict.Format }): void;
|
||||
(config: convict.Schema): convict.Config;
|
||||
}
|
||||
var convict : convict;
|
||||
export = convict;
|
||||
}
|
||||
|
||||
|
||||
Vendored
+82
-80
@@ -8,91 +8,93 @@
|
||||
declare module "cookies" {
|
||||
import * as http from "http"
|
||||
|
||||
interface ICookies {
|
||||
/**
|
||||
* This extracts the cookie with the given name from the
|
||||
* Cookie header in the request. If such a cookie exists,
|
||||
* its value is returned. Otherwise, nothing is returned.
|
||||
*/
|
||||
get(name: string): string;
|
||||
/**
|
||||
* This extracts the cookie with the given name from the
|
||||
* Cookie header in the request. If such a cookie exists,
|
||||
* its value is returned. Otherwise, nothing is returned.
|
||||
*/
|
||||
get(name: string, opts: IOptions): string;
|
||||
|
||||
/**
|
||||
* This sets the given cookie in the response and returns
|
||||
* the current context to allow chaining.If the value is omitted,
|
||||
* an outbound header with an expired date is used to delete the cookie.
|
||||
*/
|
||||
set(name: string, value: string): ICookies;
|
||||
/**
|
||||
* This sets the given cookie in the response and returns
|
||||
* the current context to allow chaining.If the value is omitted,
|
||||
* an outbound header with an expired date is used to delete the cookie.
|
||||
*/
|
||||
set(name: string, value: string, opts: IOptions): ICookies;
|
||||
}
|
||||
module cookies {
|
||||
interface ICookies {
|
||||
/**
|
||||
* This extracts the cookie with the given name from the
|
||||
* Cookie header in the request. If such a cookie exists,
|
||||
* its value is returned. Otherwise, nothing is returned.
|
||||
*/
|
||||
get(name: string): string;
|
||||
/**
|
||||
* This extracts the cookie with the given name from the
|
||||
* Cookie header in the request. If such a cookie exists,
|
||||
* its value is returned. Otherwise, nothing is returned.
|
||||
*/
|
||||
get(name: string, opts: IOptions): string;
|
||||
|
||||
/**
|
||||
* This sets the given cookie in the response and returns
|
||||
* the current context to allow chaining.If the value is omitted,
|
||||
* an outbound header with an expired date is used to delete the cookie.
|
||||
*/
|
||||
set(name: string, value: string): ICookies;
|
||||
/**
|
||||
* This sets the given cookie in the response and returns
|
||||
* the current context to allow chaining.If the value is omitted,
|
||||
* an outbound header with an expired date is used to delete the cookie.
|
||||
*/
|
||||
set(name: string, value: string, opts: IOptions): ICookies;
|
||||
}
|
||||
|
||||
interface IOptions {
|
||||
/**
|
||||
* a number representing the milliseconds from Date.now() for expiry
|
||||
*/
|
||||
maxAge?: number;
|
||||
/**
|
||||
* a Date object indicating the cookie's expiration
|
||||
* date (expires at the end of session by default).
|
||||
*/
|
||||
expires?: Date;
|
||||
/**
|
||||
* a string indicating the path of the cookie (/ by default).
|
||||
*/
|
||||
path?: string;
|
||||
/**
|
||||
* a string indicating the domain of the cookie (no default).
|
||||
*/
|
||||
domain?: string;
|
||||
/**
|
||||
* a boolean indicating whether the cookie is only to be sent
|
||||
* over HTTPS (false by default for HTTP, true by default for HTTPS).
|
||||
*/
|
||||
secure?: boolean;
|
||||
/**
|
||||
* a boolean indicating whether the cookie is only to be sent
|
||||
* over HTTPS (use this if you handle SSL not in your node process).
|
||||
*/
|
||||
secureProxy?: boolean;
|
||||
/**
|
||||
* a boolean indicating whether the cookie is only to be sent over HTTP(S),
|
||||
* and not made available to client JavaScript (true by default).
|
||||
*/
|
||||
httpOnly?: boolean;
|
||||
/**
|
||||
* a boolean indicating whether the cookie is to be signed (false by default).
|
||||
* If this is true, another cookie of the same name with the .sig suffix
|
||||
* appended will also be sent, with a 27-byte url-safe base64 SHA1 value
|
||||
* representing the hash of cookie-name=cookie-value against the first Keygrip key.
|
||||
* This signature key is used to detect tampering the next time a cookie is received.
|
||||
*/
|
||||
signed?: boolean;
|
||||
/**
|
||||
* a boolean indicating whether to overwrite previously set
|
||||
* cookies of the same name (false by default). If this is true,
|
||||
* all cookies set during the same request with the same
|
||||
* name (regardless of path or domain) are filtered out of
|
||||
* the Set-Cookie header when setting this cookie.
|
||||
*/
|
||||
overwrite?: boolean;
|
||||
interface IOptions {
|
||||
/**
|
||||
* a number representing the milliseconds from Date.now() for expiry
|
||||
*/
|
||||
maxAge?: number;
|
||||
/**
|
||||
* a Date object indicating the cookie's expiration
|
||||
* date (expires at the end of session by default).
|
||||
*/
|
||||
expires?: Date;
|
||||
/**
|
||||
* a string indicating the path of the cookie (/ by default).
|
||||
*/
|
||||
path?: string;
|
||||
/**
|
||||
* a string indicating the domain of the cookie (no default).
|
||||
*/
|
||||
domain?: string;
|
||||
/**
|
||||
* a boolean indicating whether the cookie is only to be sent
|
||||
* over HTTPS (false by default for HTTP, true by default for HTTPS).
|
||||
*/
|
||||
secure?: boolean;
|
||||
/**
|
||||
* a boolean indicating whether the cookie is only to be sent
|
||||
* over HTTPS (use this if you handle SSL not in your node process).
|
||||
*/
|
||||
secureProxy?: boolean;
|
||||
/**
|
||||
* a boolean indicating whether the cookie is only to be sent over HTTP(S),
|
||||
* and not made available to client JavaScript (true by default).
|
||||
*/
|
||||
httpOnly?: boolean;
|
||||
/**
|
||||
* a boolean indicating whether the cookie is to be signed (false by default).
|
||||
* If this is true, another cookie of the same name with the .sig suffix
|
||||
* appended will also be sent, with a 27-byte url-safe base64 SHA1 value
|
||||
* representing the hash of cookie-name=cookie-value against the first Keygrip key.
|
||||
* This signature key is used to detect tampering the next time a cookie is received.
|
||||
*/
|
||||
signed?: boolean;
|
||||
/**
|
||||
* a boolean indicating whether to overwrite previously set
|
||||
* cookies of the same name (false by default). If this is true,
|
||||
* all cookies set during the same request with the same
|
||||
* name (regardless of path or domain) are filtered out of
|
||||
* the Set-Cookie header when setting this cookie.
|
||||
*/
|
||||
overwrite?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
interface CookiesStatic {
|
||||
new (request: http.IncomingMessage, response: http.ServerResponse): ICookies;
|
||||
new (request: http.IncomingMessage, response: http.ServerResponse, keys?: Array<string>): ICookies;
|
||||
new (request: http.IncomingMessage, response: http.ServerResponse): cookies.ICookies;
|
||||
new (request: http.IncomingMessage, response: http.ServerResponse, keys?: Array<string>): cookies.ICookies;
|
||||
}
|
||||
|
||||
const _tmp: CookiesStatic;
|
||||
const cookies: CookiesStatic;
|
||||
|
||||
export = _tmp
|
||||
export = cookies
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference path="copy-paste.d.ts" />
|
||||
|
||||
import * as CopyPaste from 'copy-paste';
|
||||
|
||||
class TestClass {}
|
||||
|
||||
let strRet: string = CopyPaste.copy("content");
|
||||
strRet = CopyPaste.copy("content", (err: Error) => { return; });
|
||||
|
||||
|
||||
let objRet: TestClass = CopyPaste.copy(new TestClass());
|
||||
objRet = CopyPaste.copy(new TestClass(), (err: Error) => { return; });
|
||||
|
||||
strRet = CopyPaste.paste();
|
||||
CopyPaste.paste((err: Error, content: string) => { return; });
|
||||
Vendored
+46
@@ -0,0 +1,46 @@
|
||||
// Type definitions for copy-paste v1.1.3
|
||||
// Project: https://github.com/xavi-/node-copy-paste
|
||||
// Definitions by: Tobias Kahlert <https://github.com/SrTobi>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module 'copy-paste' {
|
||||
|
||||
export type CopyCallback = (err: Error) => void;
|
||||
export type PasteCallback = (err: Error, content: string) => void;
|
||||
|
||||
/**
|
||||
* Asynchronously replaces the current contents of the clip board with text.
|
||||
*
|
||||
* @param {T} content Takes either a string, array, object, or readable stream.
|
||||
* @return {T} Returns the same value passed in.
|
||||
*/
|
||||
export function copy<T>(content: T): T;
|
||||
|
||||
/**
|
||||
* Asynchronously replaces the current contents of the clip board with text.
|
||||
*
|
||||
* @param {T} content Takes either a string, array, object, or readable stream.
|
||||
* @param {CopyCallback} callback will fire when the copy operation is complete.
|
||||
* @return {T} Returns the same value passed in.
|
||||
*/
|
||||
export function copy<T>(content: T, callback: CopyCallback): T;
|
||||
|
||||
|
||||
/**
|
||||
* Synchronously returns the current contents of the system clip board.
|
||||
*
|
||||
* Note: The synchronous version of paste is not always availabled.
|
||||
* An error message is shown if the synchronous version of paste is used on an unsupported platform.
|
||||
* The asynchronous version of paste is always available.
|
||||
*
|
||||
* @return {string} Returns the current contents of the system clip board.
|
||||
*/
|
||||
export function paste(): string;
|
||||
|
||||
/**
|
||||
* Asynchronously returns the current contents of the system clip board.
|
||||
*
|
||||
* @param {PasteCallback} callback The contents of the system clip board are passed to the callback as the second parameter.
|
||||
*/
|
||||
export function paste(callback: PasteCallback): void;
|
||||
}
|
||||
Vendored
+13
-2
@@ -37,8 +37,11 @@ interface Media {
|
||||
mediaError?: (error: MediaError) => void): void;
|
||||
/** Returns the duration of an audio file in seconds. If the duration is unknown, it returns a value of -1. */
|
||||
getDuration(): number;
|
||||
/** Starts or resumes playing an audio file. */
|
||||
play(): void;
|
||||
/**
|
||||
* Starts or resumes playing an audio file.
|
||||
* @param iosPlayOptions: iOS options quirks
|
||||
*/
|
||||
play(iosPlayOptions?: IosPlayOptions): void;
|
||||
/** Pauses playing an audio file. */
|
||||
pause(): void;
|
||||
/**
|
||||
@@ -71,3 +74,11 @@ interface Media {
|
||||
/** The duration of the media, in seconds. */
|
||||
duration: number;
|
||||
}
|
||||
/**
|
||||
* iOS optional parameters for media.play
|
||||
* See https://github.com/apache/cordova-plugin-media#ios-quirks
|
||||
*/
|
||||
interface IosPlayOptions {
|
||||
numberOfLoops?: number;
|
||||
playAudioWhenScreenIsLocked?: boolean;
|
||||
}
|
||||
|
||||
Vendored
+2
@@ -73,3 +73,5 @@ interface StatusBar {
|
||||
*/
|
||||
isVisible: boolean;
|
||||
}
|
||||
|
||||
declare var StatusBar: StatusBar;
|
||||
|
||||
@@ -1,21 +1,16 @@
|
||||
/// <reference path="couchbase.d.ts"/>
|
||||
|
||||
import couchbase = require('couchbase');
|
||||
var db = new couchbase.Connection({ bucket: "default" }, function (err) {
|
||||
if (err) throw err;
|
||||
var cluster = new couchbase.Cluster('couchbase://127.0.0.1');
|
||||
var bucket = cluster.openBucket('default');
|
||||
|
||||
// TS 0.9.5 bug https://typescript.codeplex.com/workitem/2035, todo: remove cast after fix
|
||||
(<couchbase.Connection>db).set('testdoc', { name: 'Frank' }, function (err, result) {
|
||||
if (err) throw err;
|
||||
bucket.upsert('testdoc', { name: 'Frank' }, (error) => {
|
||||
if (error) throw error;
|
||||
|
||||
var s: string = err.message;
|
||||
bucket.get('testdoc', (err, result) => {
|
||||
if (err) throw err;
|
||||
|
||||
// TS 0.9.5 bug https://typescript.codeplex.com/workitem/2035, todo: remove cast after fix
|
||||
(<couchbase.Connection>db).get('testdoc', function (err, result) {
|
||||
if (err) throw err;
|
||||
|
||||
console.log(result.value);
|
||||
// {name: Frank}
|
||||
});
|
||||
console.log(result.value);
|
||||
// {name: Frank}
|
||||
});
|
||||
});
|
||||
Vendored
+984
-584
File diff suppressed because it is too large
Load Diff
Vendored
+40
@@ -3032,6 +3032,46 @@ declare module d3 {
|
||||
padding(padding: number): Pack<T>;
|
||||
}
|
||||
|
||||
export function partition(): Partition<partition.Node>;
|
||||
export function partition<T extends partition.Node>(): Partition<T>;
|
||||
|
||||
module partition {
|
||||
interface Link<T extends Node> {
|
||||
source: T;
|
||||
target: T;
|
||||
}
|
||||
|
||||
interface Node {
|
||||
parent?: Node;
|
||||
children?: number;
|
||||
value?: number;
|
||||
depth?: number;
|
||||
x?: number;
|
||||
y?: number;
|
||||
dx?: number;
|
||||
dy?: number;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export interface Partition<T extends partition.Node> {
|
||||
nodes(root: T): T[];
|
||||
|
||||
links(nodes: T[]): partition.Link<T>[];
|
||||
|
||||
children(): (node: T, depth: number) => T[];
|
||||
children(children: (node: T, depth: number) => T[]): Partition<T>;
|
||||
|
||||
sort(): (a: T, b: T) => number;
|
||||
sort(comparator: (a: T, b: T) => number): Partition<T>;
|
||||
|
||||
value(): (node: T) => number;
|
||||
value(value: (node: T) => number): Partition<T>;
|
||||
|
||||
size(): [number, number];
|
||||
size(size: [number, number]): Partition<T>;
|
||||
}
|
||||
|
||||
export function pie(): Pie<number>;
|
||||
export function pie<T>(): Pie<T>;
|
||||
|
||||
|
||||
Vendored
+4
@@ -31,3 +31,7 @@ declare module Dagre{
|
||||
}
|
||||
|
||||
declare var dagre: Dagre.DagreFactory;
|
||||
|
||||
declare module "dagre" {
|
||||
export = dagre;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
/// <reference path="debug.d.ts" />
|
||||
|
||||
import debug = require("debug");
|
||||
@@ -6,7 +5,7 @@ import debug = require("debug");
|
||||
debug.disable();
|
||||
debug.enable("DefinitelyTyped:*");
|
||||
|
||||
var log: debug.Debugger = debug("DefinitelyTyped:log");
|
||||
var log:debug.IDebugger = debug("DefinitelyTyped:log");
|
||||
|
||||
log("Just text");
|
||||
log("Formatted test (%d arg)", 1);
|
||||
@@ -15,6 +14,6 @@ log("Formatted %s (%d args)", "test", 2);
|
||||
log("Enabled?: %s", debug.enabled("DefinitelyTyped:log"));
|
||||
log("Namespace: %s", log.namespace);
|
||||
|
||||
var error: debug.Debugger = debug("DefinitelyTyped:error");
|
||||
var error:debug.IDebugger = debug("DefinitelyTyped:error");
|
||||
error.log = console.error.bind(console);
|
||||
error("This should be printed to stderr");
|
||||
|
||||
Vendored
+31
-23
@@ -1,30 +1,38 @@
|
||||
// Type definitions for debug
|
||||
// Project: https://github.com/visionmedia/debug
|
||||
// Definitions by: Seon-Wook Park <https://github.com/swook>
|
||||
// Definitions by: Seon-Wook Park <https://github.com/swook>, Gal Talmor <https://github.com/galtalmor>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "debug" {
|
||||
|
||||
function d(namespace: string): d.Debugger;
|
||||
|
||||
module d {
|
||||
export var log: Function;
|
||||
|
||||
function enable(namespaces: string): void;
|
||||
function disable(): void;
|
||||
|
||||
function enabled(namespace: string): boolean;
|
||||
|
||||
export interface Debugger {
|
||||
(formatter: any, ...args: any[]): void;
|
||||
|
||||
enabled: boolean;
|
||||
log: Function;
|
||||
namespace: string;
|
||||
}
|
||||
}
|
||||
|
||||
export = d;
|
||||
declare var debug: debug.IDebug;
|
||||
|
||||
// Support AMD require
|
||||
declare module 'debug' {
|
||||
export = debug;
|
||||
}
|
||||
|
||||
declare module debug {
|
||||
export interface IDebug {
|
||||
(namespace: string): debug.IDebugger,
|
||||
coerce: (val: any) => any,
|
||||
disable: () => void,
|
||||
enable: (namespaces: string) => void,
|
||||
enabled: (namespaces: string) => boolean,
|
||||
|
||||
names: string[],
|
||||
skips: string[],
|
||||
|
||||
formatters: IFormatters
|
||||
}
|
||||
|
||||
export interface IFormatters {
|
||||
[formatter: string]: Function
|
||||
}
|
||||
|
||||
export interface IDebugger {
|
||||
(formatter: any, ...args: any[]): void;
|
||||
|
||||
enabled: boolean;
|
||||
log: Function;
|
||||
namespace: string;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,3 +35,5 @@ paths = del.sync(["tmp/*.js", "!tmp/unicorn.js"], {force: true});
|
||||
paths = del.sync("tmp/*.js");
|
||||
|
||||
paths = del.sync("tmp/*.js", {force: true});
|
||||
|
||||
paths = del.sync("tmp/*.js", {dryRun: true});
|
||||
|
||||
Vendored
+4
-3
@@ -1,6 +1,6 @@
|
||||
// Type definitions for del v1.2.0
|
||||
// Type definitions for del v2.2.0
|
||||
// Project: https://github.com/sindresorhus/del
|
||||
// Definitions by: Asana <https://asana.com>
|
||||
// Definitions by: Asana <https://asana.com>, Aya Morisawa <https://github.com/AyaMorisawa>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../glob/glob.d.ts"/>
|
||||
@@ -20,7 +20,8 @@ declare module "del" {
|
||||
function sync(patterns: string[], options?: Options): string[];
|
||||
|
||||
interface Options extends glob.IOptions {
|
||||
force?: boolean
|
||||
force?: boolean;
|
||||
dryRun?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Vendored
+18
@@ -1165,11 +1165,22 @@ interface SchedulerStatic{
|
||||
*/
|
||||
deleteEvent(id: any);
|
||||
|
||||
/**
|
||||
* removes all blocking sets from the scheduler
|
||||
*/
|
||||
deleteMarkedTimespan();
|
||||
|
||||
/**
|
||||
* removes marking/blocking set by the addMarkedTimespan() and blockTime() methods
|
||||
* @param id the timespan id
|
||||
*/
|
||||
deleteMarkedTimespan(id: string);
|
||||
|
||||
/**
|
||||
* removes marking/blocking set by the addMarkedTimespan() and blockTime() methods
|
||||
* @param configuration for deleting
|
||||
*/
|
||||
deleteMarkedTimespan(config: any);
|
||||
|
||||
/**
|
||||
* deletes a section from the currently active view (if the opened view isn't Timeline in the 'Tree' mode - the method will be ignored)
|
||||
@@ -1212,6 +1223,13 @@ interface SchedulerStatic{
|
||||
* expands the scheduler to the full screen view
|
||||
*/
|
||||
expand();
|
||||
|
||||
/**
|
||||
* filter events that will be displayed on the week view
|
||||
* @param id event-id
|
||||
* @param event event-object
|
||||
*/
|
||||
filter_week(id: any, event: any);
|
||||
|
||||
/**
|
||||
* gives access to the objects of lightbox's sections
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
/// <reference path="./dot-prop.d.ts" />
|
||||
|
||||
import * as dotProp from 'dot-prop';
|
||||
|
||||
dotProp.get({foo: {bar: 'unicorn'}}, 'foo.bar');
|
||||
dotProp.get({foo: {bar: 'a'}}, 'foo.notDefined.deep');
|
||||
dotProp.get({foo: {'dot.dot': 'unicorn'}}, 'foo.dot\\.dot');
|
||||
|
||||
const obj = {foo: {bar: 'a'}};
|
||||
dotProp.set(obj, 'foo.bar', 'b');
|
||||
dotProp.set(obj, 'foo.baz', 'x');
|
||||
dotProp.set(obj, 'foo.dot\\.dot', 'unicorn');
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
// Type definitions for dot-prop
|
||||
// Project: https://github.com/sindresorhus/dot-prop
|
||||
// Definitions by: Sam Verschueren <https://github.com/samverschueren>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "dot-prop" {
|
||||
export function get(object: any, path: string): any;
|
||||
export function set(object: any, path: string, value: any): void;
|
||||
}
|
||||
@@ -131,6 +131,13 @@ dropzoneWithOptionsVariations = new Dropzone(".test", {
|
||||
clickable: ["test", document.getElementById("test")]
|
||||
});
|
||||
|
||||
dropzoneWithOptionsVariations = new Dropzone(".test", {
|
||||
success: (file:DropzoneFile, response:Object) => console.log(file, response)
|
||||
});
|
||||
dropzoneWithOptionsVariations = new Dropzone(".test", {
|
||||
success: (file:DropzoneFile, response:string) => console.log(file, response)
|
||||
});
|
||||
|
||||
const dropzone = new Dropzone(".test");
|
||||
|
||||
dropzone.enable();
|
||||
|
||||
Vendored
+1
-1
@@ -96,7 +96,7 @@ interface DropzoneOptions {
|
||||
sending?(file:DropzoneFile, xhr:XMLHttpRequest, formData:{}):void;
|
||||
sendingmultiple?(files:DropzoneFile[], xhr:XMLHttpRequest, formData:{}):void;
|
||||
|
||||
success?(file:DropzoneFile, responseText:string):void;
|
||||
success?(file: DropzoneFile, response: Object|string): void;
|
||||
successmultiple?(files:DropzoneFile[], responseText:string):void;
|
||||
|
||||
canceled?(file:DropzoneFile):void;
|
||||
|
||||
Vendored
+6
-4
@@ -3,10 +3,10 @@
|
||||
// Definitions by: Magnus Gustafsson <https://github.com/borundin>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
/*
|
||||
easystarjs.d.ts may be freely distributed under the MIT license.
|
||||
*/
|
||||
easystarjs.d.ts may be freely distributed under the MIT license.
|
||||
*/
|
||||
|
||||
declare module "easystarjs"
|
||||
declare module easystarjs
|
||||
{
|
||||
class js
|
||||
{
|
||||
@@ -31,4 +31,6 @@ declare module "easystarjs"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
declare module "easystarjs" {
|
||||
export = easystarjs;
|
||||
}
|
||||
+3
-3
@@ -81,12 +81,12 @@ declare namespace ElectronPackager {
|
||||
/** Electron-packager done callback. */
|
||||
export interface Callback {
|
||||
/**
|
||||
* Callback wich is called when electron-packager is done.
|
||||
* Callback which is called when electron-packager is done.
|
||||
*
|
||||
* @param err - Contains errors if any.
|
||||
* @param appPath - Path to the newly created application.
|
||||
* @param appPath - Path(s) to the newly created application(s).
|
||||
*/
|
||||
(err: Error, appPath: string): void
|
||||
(err: Error, appPath: string|string[]): void
|
||||
}
|
||||
|
||||
/** Electron-packager function */
|
||||
|
||||
@@ -68,6 +68,9 @@ promiseNumber = thenWithUndefinedFullFillAndPromiseReject;
|
||||
var thenWithNoResultAndNoReject = promiseString.then<number>();
|
||||
promiseNumber = thenWithNoResultAndNoReject;
|
||||
|
||||
var catchAfterThen = promiseString.then().catch<number>();
|
||||
promiseNumber = catchAfterThen;
|
||||
|
||||
var voidPromise = new Promise<void>(function (resolve) { resolve(); });
|
||||
|
||||
//catch test
|
||||
@@ -161,31 +164,31 @@ getJSON('story.json').then(function(story: Story) {
|
||||
(<HTMLElement>document.querySelector('.spinner')).style.display = 'none';
|
||||
});
|
||||
|
||||
interface T1 {
|
||||
__t1: string;
|
||||
}
|
||||
|
||||
interface T2 {
|
||||
__t2: string;
|
||||
}
|
||||
|
||||
interface T3 {
|
||||
__t3: string;
|
||||
}
|
||||
|
||||
function f1(): Promise<T1> {
|
||||
return Promise.resolve({ __t1: "foo_t1" });
|
||||
}
|
||||
|
||||
function f2(x: T1): T2 {
|
||||
return { __t2: x.__t1 + ":foo_21" };
|
||||
}
|
||||
|
||||
var x3 = f1()
|
||||
.then(f2, (e: Error) => {
|
||||
console.log("error 1");
|
||||
throw e;
|
||||
})
|
||||
.then((x: T2) => {
|
||||
return { __t3: x.__t2 + "bar" };
|
||||
interface T1 {
|
||||
__t1: string;
|
||||
}
|
||||
|
||||
interface T2 {
|
||||
__t2: string;
|
||||
}
|
||||
|
||||
interface T3 {
|
||||
__t3: string;
|
||||
}
|
||||
|
||||
function f1(): Promise<T1> {
|
||||
return Promise.resolve({ __t1: "foo_t1" });
|
||||
}
|
||||
|
||||
function f2(x: T1): T2 {
|
||||
return { __t2: x.__t1 + ":foo_21" };
|
||||
}
|
||||
|
||||
var x3 = f1()
|
||||
.then(f2, (e: Error) => {
|
||||
console.log("error 1");
|
||||
throw e;
|
||||
})
|
||||
.then((x: T2) => {
|
||||
return { __t3: x.__t2 + "bar" };
|
||||
});
|
||||
Vendored
+1
@@ -6,6 +6,7 @@
|
||||
interface Thenable<R> {
|
||||
then<U>(onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => U | Thenable<U>): Thenable<U>;
|
||||
then<U>(onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => void): Thenable<U>;
|
||||
catch<U>(onRejected?: (error: any) => U | Thenable<U>): Thenable<U>;
|
||||
}
|
||||
|
||||
declare class Promise<R> implements Thenable<R> {
|
||||
|
||||
@@ -6,9 +6,8 @@ import express = require('express');
|
||||
import exphbs = require('express-handlebars');
|
||||
|
||||
var app = express();
|
||||
var hbs: Exphbs = exphbs.create({defaultLayout: 'main'});
|
||||
|
||||
app.engine('handlebars', hbs.engine);
|
||||
app.engine('handlebars', exphbs({defaultLayout: 'main'}));
|
||||
app.set('view engine', 'handlebars');
|
||||
|
||||
app.listen(1337);
|
||||
|
||||
+7
-2
@@ -1,6 +1,6 @@
|
||||
// Type definitions for express-handlebars
|
||||
// Project: https://github.com/ericf/express-handlebars
|
||||
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
|
||||
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>, Igor Dultsev <https://github.com/yhaskell>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../es6-promise/es6-promise.d.ts" />
|
||||
@@ -40,7 +40,12 @@ interface Exphbs {
|
||||
renderView(viewPath: string, optionsOrCallback: any, callback?: () => string): void;
|
||||
}
|
||||
|
||||
interface ExpressHandlebars {
|
||||
(options?: ExphbsOptions): Function;
|
||||
create (options?: ExphbsOptions): Exphbs;
|
||||
}
|
||||
|
||||
declare module "express-handlebars" {
|
||||
var exphbs: Exphbs;
|
||||
var exphbs: ExpressHandlebars;
|
||||
export = exphbs;
|
||||
}
|
||||
|
||||
@@ -21,7 +21,25 @@ app.get('/', function(req, res){
|
||||
res.send('hello world');
|
||||
});
|
||||
|
||||
var router = express.Router();
|
||||
const router = express.Router();
|
||||
|
||||
|
||||
const pathStr : string = 'test';
|
||||
const pathRE : RegExp = /test/;
|
||||
const path = true? pathStr : pathRE;
|
||||
|
||||
router.get(path);
|
||||
router.put(path)
|
||||
router.post(path);
|
||||
router.delete(path);
|
||||
router.get(pathStr);
|
||||
router.put(pathStr)
|
||||
router.post(pathStr);
|
||||
router.delete(pathStr);
|
||||
router.get(pathRE);
|
||||
router.put(pathRE)
|
||||
router.post(pathRE);
|
||||
router.delete(pathRE);
|
||||
|
||||
router.use((req, res, next) => { next(); })
|
||||
router.route('/users')
|
||||
|
||||
Vendored
+2
-4
@@ -44,8 +44,7 @@ declare module "express" {
|
||||
}
|
||||
|
||||
interface IRouterMatcher<T> {
|
||||
(name: string, ...handlers: RequestHandler[]): T;
|
||||
(name: RegExp, ...handlers: RequestHandler[]): T;
|
||||
(name: string|RegExp, ...handlers: RequestHandler[]): T;
|
||||
}
|
||||
|
||||
interface IRouter<T> extends RequestHandler {
|
||||
@@ -881,8 +880,7 @@ declare module "express" {
|
||||
set(setting: string, val: any): Application;
|
||||
get: {
|
||||
(name: string): any; // Getter
|
||||
(name: string, ...handlers: RequestHandler[]): Application;
|
||||
(name: RegExp, ...handlers: RequestHandler[]): Application;
|
||||
(name: string|RegExp, ...handlers: RequestHandler[]): Application;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+2
-1
@@ -5,5 +5,6 @@
|
||||
declare module "extend" {
|
||||
|
||||
function extend(deepOrObject:boolean | Object, ...objectN: Object[]): any;
|
||||
namespace extend {}
|
||||
export = extend;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
/// <reference path="extended-listbox.d.ts" />
|
||||
|
||||
|
||||
var $test = $("#test");
|
||||
|
||||
// Create Listbox with defaults
|
||||
var rootElement: any = $test.listbox();
|
||||
|
||||
|
||||
// Create with options
|
||||
var options = <ListBoxOptions>{};
|
||||
options.multiple = true;
|
||||
options.onItemsChanged = (items: ListboxItem[]): void => {
|
||||
console.log(items);
|
||||
};
|
||||
options.getItems = function (): any[] {
|
||||
return ["Test1"];
|
||||
};
|
||||
options.searchBar = false;
|
||||
options.searchBarWatermark = "Search";
|
||||
options.onFilterChanged = (filter): void => {
|
||||
console.log(filter);
|
||||
};
|
||||
options.onValueChanged = function (value: any): void {
|
||||
console.log(value);
|
||||
};
|
||||
options.searchBarButton = { icon: "fa fa-search", visible: true, onClick: function () { alert(); } };
|
||||
|
||||
rootElement = $test.listbox(options);
|
||||
|
||||
|
||||
// Add string item
|
||||
rootElement.listbox("addItem", "Test2");
|
||||
|
||||
|
||||
// Add item
|
||||
var item: ListboxItem = <ListboxItem>{};
|
||||
item.selected = true;
|
||||
item.disabled = false;
|
||||
item.childItems = ["Test4"];
|
||||
item.groupHeader = false;
|
||||
item.id = "ouetioreit";
|
||||
item.index = 0;
|
||||
item.text = "Test3";
|
||||
var id: string = rootElement.listbox("addItem", item);
|
||||
|
||||
|
||||
// Remove item
|
||||
rootElement.listbox("removeItem", id);
|
||||
|
||||
|
||||
// Get item
|
||||
var i: ListboxItem = rootElement.listbox("getItem", id);
|
||||
|
||||
|
||||
// Get items
|
||||
var allItems: ListboxItem[] = rootElement.listbox("getItems");
|
||||
|
||||
|
||||
// Move item up
|
||||
var newIndex: number = rootElement.listbox("moveItemUp", i.id);
|
||||
|
||||
|
||||
// Move item down
|
||||
newIndex = rootElement.listbox("moveItemDown", i.id);
|
||||
|
||||
|
||||
// Clear selection
|
||||
newIndex = rootElement.listbox("clearSelection");
|
||||
|
||||
|
||||
// Enable
|
||||
newIndex = rootElement.listbox("enable", false);
|
||||
|
||||
|
||||
// Destroy
|
||||
newIndex = rootElement.listbox("destroy");
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user