diff --git a/lib/Typertext/Http/HttpException.ts b/lib/Typertext/Http/HttpException.ts index 0df631c..00aad8d 100644 --- a/lib/Typertext/Http/HttpException.ts +++ b/lib/Typertext/Http/HttpException.ts @@ -1,4 +1,11 @@ +/** + * @namespace Typertext + * @module Http + */ module Typertext.Http { + /** + * @class HttpException + */ export class HttpException extends Typertext.BaseException { } } \ No newline at end of file diff --git a/lib/Typertext/Http/HttpHeaderData.ts b/lib/Typertext/Http/HttpHeaderData.ts index be33bb6..fa9a6ea 100644 --- a/lib/Typertext/Http/HttpHeaderData.ts +++ b/lib/Typertext/Http/HttpHeaderData.ts @@ -1,4 +1,11 @@ +/** + * @namespace Typertext + * @module Http + */ module Typertext.Http { + /** + * @interface HttpHeaderData + */ export interface HttpHeaderData { [index:string]:string } diff --git a/lib/Typertext/Http/HttpMethod.ts b/lib/Typertext/Http/HttpMethod.ts index d553b44..428c96d 100644 --- a/lib/Typertext/Http/HttpMethod.ts +++ b/lib/Typertext/Http/HttpMethod.ts @@ -1,4 +1,11 @@ +/** + * @namespace Typertext + * @module Http + */ module Typertext.Http { + /** + * TODO figure out the proper annotations for enums + */ export enum HttpMethod { GET, POST diff --git a/lib/Typertext/Http/HttpPostData.ts b/lib/Typertext/Http/HttpPostData.ts index 4513aa9..9a5aceb 100644 --- a/lib/Typertext/Http/HttpPostData.ts +++ b/lib/Typertext/Http/HttpPostData.ts @@ -1,4 +1,11 @@ +/** + * @namespace Typertext + * @module Http + */ module Typertext.Http { + /** + * @interface HttpPostData + */ export interface HttpPostData { [index:string]:string } diff --git a/lib/Typertext/Http/HttpProtocol.ts b/lib/Typertext/Http/HttpProtocol.ts index 9b5464e..ceb103e 100644 --- a/lib/Typertext/Http/HttpProtocol.ts +++ b/lib/Typertext/Http/HttpProtocol.ts @@ -1,3 +1,7 @@ +/** + * @namespace Typertext + * @module Http + */ module Typertext.Http { export enum HttpProtocol { http, diff --git a/lib/Typertext/Http/HttpQueryString.ts b/lib/Typertext/Http/HttpQueryString.ts index c06b7ee..d8f064c 100644 --- a/lib/Typertext/Http/HttpQueryString.ts +++ b/lib/Typertext/Http/HttpQueryString.ts @@ -1,4 +1,11 @@ +/** + * @namespace Typertext + * @module Http + */ module Typertext.Http { + /** + * @interface HttpQueryString + */ export interface HttpQueryString { [index:string]:string } diff --git a/lib/Typertext/Http/HttpResponseHandler.ts b/lib/Typertext/Http/HttpResponseHandler.ts index 0901c8c..244b9ac 100644 --- a/lib/Typertext/Http/HttpResponseHandler.ts +++ b/lib/Typertext/Http/HttpResponseHandler.ts @@ -1,4 +1,11 @@ +/** + * @namespace Typertext + * @module Http + */ module Typertext.Http { + /** + * @interface HttpResponseHandler + */ export interface HttpResponseHandler extends Typertext.GenericResponseHandler { } } \ No newline at end of file diff --git a/lib/Typertext/Http/HttpResponseStatus.ts b/lib/Typertext/Http/HttpResponseStatus.ts index 25e309c..69e1262 100644 --- a/lib/Typertext/Http/HttpResponseStatus.ts +++ b/lib/Typertext/Http/HttpResponseStatus.ts @@ -1,3 +1,7 @@ +/** + * @namespace Typertext + * @module Http + */ module Typertext.Http { export enum HttpResponseStatus { success, diff --git a/lib/Typertext/Http/HttpUrl.ts b/lib/Typertext/Http/HttpUrl.ts index 043cda6..3c982bc 100644 --- a/lib/Typertext/Http/HttpUrl.ts +++ b/lib/Typertext/Http/HttpUrl.ts @@ -13,14 +13,9 @@ module Typertext.Http { }; /** - * A common interface for building a URL into something that can easily be decomposed for a client * * @param protocol * @returns {number} - * - * @author Kegan Myers - * @version 0.3.0 - * @constructor */ public static DefaultPort(protocol:HttpProtocol) { return ((protocol == HttpProtocol.http) ? 80 : 443) @@ -122,6 +117,7 @@ module Typertext.Http { } /** + * A common interface for building a URL into something that can easily be decomposed for a client * * @param {string} domain * @param {HttpProtocol} protocol @@ -129,6 +125,7 @@ module Typertext.Http { * @param {HttpQueryString} queryString * @param {number} port * + * @class HttpUrl * @author Kegan Myers * @version 0.3.0 * @constructor diff --git a/lib/Typertext/Json/JsonException.ts b/lib/Typertext/Json/JsonException.ts index 35976e3..12e1fde 100644 --- a/lib/Typertext/Json/JsonException.ts +++ b/lib/Typertext/Json/JsonException.ts @@ -10,6 +10,7 @@ module Typertext.Json { * @param {string} message * @param {number} code * + * @class JsonException * @author Kegan Myers * @version 0.3.0 * @constructor diff --git a/lib/Typertext/Json/JsonObject.ts b/lib/Typertext/Json/JsonObject.ts index 04d9af7..d5d40a0 100644 --- a/lib/Typertext/Json/JsonObject.ts +++ b/lib/Typertext/Json/JsonObject.ts @@ -1,4 +1,11 @@ +/** + * @namespace Typertext + * @module Json + */ module Typertext.Json { + /** + * @interface JsonObject + */ export interface JsonObject { [index:string]:any } diff --git a/lib/Typertext/Json/JsonResponseHandler.ts b/lib/Typertext/Json/JsonResponseHandler.ts index 3043bad..a1e3967 100644 --- a/lib/Typertext/Json/JsonResponseHandler.ts +++ b/lib/Typertext/Json/JsonResponseHandler.ts @@ -1,4 +1,11 @@ +/** + * @namespace Typertext + * @module Json + */ module Typertext.Json { + /** + * @interface JsonResponseHandler + */ export interface JsonResponseHandler extends Typertext.GenericResponseHandler { } } \ No newline at end of file