diff --git a/README.md b/README.md index 6ed05f3bc5..dfc5671f8d 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ List of Definitions * [Knockout.Mapping](https://github.com/SteveSanderson/knockout.mapping) (by [Boris Yankov](https://github.com/borisyankov)) * [Knockout.Postbox](https://github.com/rniemeyer/knockout-postbox) (by [Judah Gabriel](https://github.com/JudahGabriel)) * [Knockout.Validation](https://github.com/ericmbarnard/Knockout-Validation) (by [Dan Ludwig](https://github.com/danludwig)) -* [Knockout.Viewmodel](http://romanych.github.com/ko.editables/) (by [Oisin Grehan](https://github.com/oising)) +* [Knockout.Viewmodel](http://coderenaissance.github.com/knockout.viewmodel/) (by [Oisin Grehan](https://github.com/oising)) * [ko.editables](http://romanych.github.com/ko.editables/) (by [Oisin Grehan](https://github.com/oising)) * [KoLite](https://github.com/CodeSeven/kolite) (by [Boris Yankov](https://github.com/borisyankov)) * [Leaflet](https://github.com/Leaflet/Leaflet) (by [Vladimir](https://github.com/rgripper)) @@ -112,6 +112,7 @@ List of Definitions * [PouchDB](http://pouchdb.com) (by [Bill Sears](https://github.com/MrBigDog2U/)) * [PreloadJS](http://www.createjs.com/#!/PreloadJS) (by [Pedro Ferreira](https://bitbucket.org/drk4)) * [QUnit](http://qunitjs.com/) (by [Diullei Gomes](https://github.com/Diullei)) +* [Restify](https://github.com/mcavage/node-restify) (by [Bret Little](https://github.com/blittle)) * [Rx.js](http://rx.codeplex.com/) (by [gsino](http://www.codeplex.com/site/users/view/gsino)) * [Raphael](http://raphaeljs.com/) (by [CheCoxshall](https://github.com/CheCoxshall)) * [require.js](http://requirejs.org/) (by [Josh Baldwin](https://github.com/jbaldwin/)) diff --git a/casperjs/casperjs.d.ts b/casperjs/casperjs.d.ts index 9bf4485a5f..b1f7550225 100644 --- a/casperjs/casperjs.d.ts +++ b/casperjs/casperjs.d.ts @@ -1,9 +1,7 @@ -/************************************************ -* * -* CasperJS v1.0.0 API * -* http://casperjs.org/api.html * -* * -************************************************/ +// Type definitions for CasperJS v1.0.0 API +// Project: http://casperjs.org/ +// Definitions by: Jed Hunsaker +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/d3/d3.d.ts b/d3/d3.d.ts index 939ea0df40..1e278ea68b 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -1,3 +1,8 @@ +// Type definitions for d3JS +// Project: http://d3js.org/ +// Definitions by: TypeScript samples +// Definitions: https://github.com/borisyankov/DefinitelyTyped + interface ID3Selectors { select: { (selector: string): ID3Selection; diff --git a/jquery.transit/jquery.transit.d.ts b/jquery.transit/jquery.transit.d.ts index 3507233e09..2153164aab 100644 --- a/jquery.transit/jquery.transit.d.ts +++ b/jquery.transit/jquery.transit.d.ts @@ -1,4 +1,7 @@ -// Type definitions for jQuery.transit.js +// Type definitions for jQuery.transit.js 0.9.9 +// Project: http://ricostacruz.com/jquery.transit/ +// Definitions by: MrBigDog2U +// Definitions: https://github.com/borisyankov/DefinitelyTyped /// diff --git a/knockout.validation/knockout.validation.d.ts b/knockout.validation/knockout.validation.d.ts index b54fa36902..c0346ed104 100644 --- a/knockout.validation/knockout.validation.d.ts +++ b/knockout.validation/knockout.validation.d.ts @@ -1,11 +1,16 @@ +// Type definitions for Knockout Validation +// Project: https://github.com/ericmbarnard/Knockout-Validation +// Definitions by: Dan Ludwig +// Definitions: https://github.com/borisyankov/DefinitelyTyped + /// -interface KnockoutValidationGroupingOptions { +interface KnockoutValidationGroupingOptions { deep?: bool; observable?: bool; } -interface KnockoutValidationConfiguration { +interface KnockoutValidationConfiguration { registerExtenders?: bool; messagesOnModified?: bool; messageTemplate?: string; @@ -19,7 +24,7 @@ interface KnockoutValidationConfiguration { grouping?: KnockoutValidationGroupingOptions; } -interface KnockoutValidationUtils { +interface KnockoutValidationUtils { isArray(o: any): bool; isObject(o: any): bool; values(o: any): any[]; @@ -35,31 +40,31 @@ interface KnockoutValidationUtils { isEmptyVal(val: any): bool; } -interface KnockoutValidationAsyncCallbackArgs { +interface KnockoutValidationAsyncCallbackArgs { isValid: bool; message: string; } -interface KnockoutValidationAsyncCallback { +interface KnockoutValidationAsyncCallback { (result: bool): void; (result: KnockoutValidationAsyncCallbackArgs): void; } -interface KnockoutValidationRuleDefinition { +interface KnockoutValidationRuleDefinition { message: string; validator(value: any, params: any): bool; } -interface KnockoutValidationAsyncRuleDefinition extends KnockoutValidationRuleDefinition { +interface KnockoutValidationAsyncRuleDefinition extends KnockoutValidationRuleDefinition { async: bool; validator(value: any, params: any, callback: KnockoutValidationAsyncCallback): void; } -interface KnockoutValidationAnonymousRuleDefinition { +interface KnockoutValidationAnonymousRuleDefinition { validation: KnockoutValidationRuleDefinition; } -interface KnockoutValidationRuleDefinitions { +interface KnockoutValidationRuleDefinitions { date: KnockoutValidationRuleDefinition; dateISO: KnockoutValidationRuleDefinition; digit: KnockoutValidationRuleDefinition; @@ -78,30 +83,30 @@ interface KnockoutValidationRuleDefinitions { unique: KnockoutValidationRuleDefinition; } -interface KnockoutValidationRule { +interface KnockoutValidationRule { rule: string; params: any; message?: string; condition?: () => bool; } -interface KnockoutValidationErrors { +interface KnockoutValidationErrors { (): string[]; showAllMessages(): void; showAllMessages(show: bool): void; } -interface KnockoutValidationGroup { - errors?: KnockoutValidationErrors; - isValid?: () => bool; - isAnyMessageShown?: () => bool; +interface KnockoutValidationGroup { + errors?: KnockoutValidationErrors; + isValid?: () => bool; + isAnyMessageShown?: () => bool; } -interface KnockoutValidationStatic { - init(options?: KnockoutValidationConfiguration, force?: bool): void; - configure(options: KnockoutValidationConfiguration): void; - reset(): void; - +interface KnockoutValidationStatic { + init(options?: KnockoutValidationConfiguration, force?: bool): void; + configure(options: KnockoutValidationConfiguration): void; + reset(): void; + group(obj: any, options?: any): () => string[]; formatMessage(message: string, params: string): string; @@ -132,8 +137,8 @@ interface KnockoutStatic { applyBindingsWithValidation(viewModel: any, rootNode?: any, options?: KnockoutValidationConfiguration): void; } -interface KnockoutSubscribableFunctions { - isValid: KnockoutComputed; +interface KnockoutSubscribableFunctions { + isValid: KnockoutComputed; isValidating: KnockoutObservableBool; rules: KnockoutObservableArray; } diff --git a/knockout.viewmodel/knockout.viewmodel.d.ts b/knockout.viewmodel/knockout.viewmodel.d.ts index 206927fd56..39b98d2fa6 100644 --- a/knockout.viewmodel/knockout.viewmodel.d.ts +++ b/knockout.viewmodel/knockout.viewmodel.d.ts @@ -1,7 +1,9 @@ -/// +// Type definitions for Knockout Viewmodel 1.1.3 +// Project: http://coderenaissance.github.com/knockout.viewmodel/ +// Definitions by: Oisin Grehan +// Definitions: https://github.com/borisyankov/DefinitelyTyped -// build: knockout.viewmodel 1.1.3 -// http://coderenaissance.github.com/knockout.viewmodel/ +/// interface KnockoutViewModelStatic { toModel(viewmodel: any): any; diff --git a/marked/marked.d.ts b/marked/marked.d.ts index f669fda267..8b20b273ac 100644 --- a/marked/marked.d.ts +++ b/marked/marked.d.ts @@ -1,3 +1,8 @@ +// Type definitions for Marked +// Project: https://github.com/chjj/marked +// Definitions by: William Orr +// Definitions: https://github.com/borisyankov/DefinitelyTyped + declare module "marked" { export function (src: string, opt?: Options): string; export function lexer(src: string, opt?: Options): Array; diff --git a/phantomjs/phantomjs.d.ts b/phantomjs/phantomjs.d.ts index 3d851d422c..b1c692b5a8 100644 --- a/phantomjs/phantomjs.d.ts +++ b/phantomjs/phantomjs.d.ts @@ -1,9 +1,7 @@ -/********************************************************** -* * -* PlantomJS v1.8.0 API * -* https://github.com/ariya/phantomjs/wiki/API-Reference * -* * -**********************************************************/ +// Type definitions for PlantomJS v1.8.0 API +// Project: https://github.com/ariya/phantomjs/wiki/API-Reference +// Definitions by: Jed Hunsaker +// Definitions: https://github.com/borisyankov/DefinitelyTyped interface Phantom { diff --git a/restify/restify.d.ts b/restify/restify.d.ts index 9d5edd93d9..3450b33b00 100644 --- a/restify/restify.d.ts +++ b/restify/restify.d.ts @@ -1,3 +1,8 @@ +// Type definitions for node.js REST framework 2.0 +// Project: https://github.com/mcavage/node-restify +// Definitions by: Bret Little +// Definitions: https://github.com/borisyankov/DefinitelyTyped + interface addressInterface { port: number; family: string;