Merge branch 'master' into rename-repo-url

This commit is contained in:
vvakame
2016-03-17 21:06:54 +09:00
1140 changed files with 179704 additions and 179635 deletions
+16 -16
View File
@@ -13,7 +13,7 @@ declare module "rest" {
function rest(path: string): rest.ResponsePromise;
function rest(request: rest.Request): rest.ResponsePromise;
module rest {
namespace rest {
export function setDefaultClient(client: Client): void;
export function getDefaultClient(): Client;
export function resetDefaultClient(): void;
@@ -77,7 +77,7 @@ declare module "rest/interceptor" {
function interceptor<T, U>(config: interceptor.Config<T, U>): rest.Interceptor<T>;
module interceptor {
namespace interceptor {
interface Config<T, U> {
init?: (config: T) => U;
request?: (request: rest.Request, config: U, meta: rest.Meta) => rest.Request | when.Promise<rest.Request>;
@@ -95,7 +95,7 @@ declare module "rest/interceptor/defaultRequest" {
var defaultRequest: rest.Interceptor<defaultRequest.Config>;
module defaultRequest {
namespace defaultRequest {
interface Config {
method?: string;
path?: string;
@@ -114,7 +114,7 @@ declare module "rest/interceptor/hateoas" {
var hateoas: rest.Interceptor<hateoas.Config>;
module hateoas {
namespace hateoas {
interface Config {
target?: string;
client?: rest.Client;
@@ -129,7 +129,7 @@ declare module "rest/interceptor/location" {
var location: rest.Interceptor<location.Config>;
module location {
namespace location {
interface Config {
client?: rest.Client;
code?: number;
@@ -145,7 +145,7 @@ declare module "rest/interceptor/mime" {
var mime: rest.Interceptor<mime.Config>;
module mime {
namespace mime {
interface Config {
mime?: string;
accept?: string;
@@ -162,7 +162,7 @@ declare module "rest/interceptor/pathPrefix" {
var pathPrefix: rest.Interceptor<pathPrefix.Config>;
module pathPrefix {
namespace pathPrefix {
interface Config {
prefix?: string;
}
@@ -176,7 +176,7 @@ declare module "rest/interceptor/basicAuth" {
var basicAuth: rest.Interceptor<basicAuth.Config>;
module basicAuth {
namespace basicAuth {
interface Config {
username?: string;
password?: string;
@@ -191,7 +191,7 @@ declare module "rest/interceptor/oAuth" {
var oAuth: rest.Interceptor<oAuth.Config>;
module oAuth {
namespace oAuth {
interface DismissWindow {
(): void;
}
@@ -215,7 +215,7 @@ declare module "rest/interceptor/csrf" {
var csrf: rest.Interceptor<csrf.Config>;
module csrf {
namespace csrf {
interface Config {
name?: string;
token?: string;
@@ -230,7 +230,7 @@ declare module "rest/interceptor/errorCode" {
var errorCode: rest.Interceptor<errorCode.Config>;
module errorCode {
namespace errorCode {
interface Config {
code?: number;
}
@@ -244,7 +244,7 @@ declare module "rest/interceptor/retry" {
var retry: rest.Interceptor<retry.Config>;
module retry {
namespace retry {
interface Config {
initial?: number;
multiplier?: number;
@@ -260,7 +260,7 @@ declare module "rest/interceptor/template" {
var template: rest.Interceptor<template.Config>;
module template {
namespace template {
interface Config {
template?: string;
params?: {
@@ -277,7 +277,7 @@ declare module "rest/interceptor/timeout" {
var timeout: rest.Interceptor<timeout.Config>;
module timeout {
namespace timeout {
interface Config {
timeout?: number;
transient?: boolean;
@@ -292,7 +292,7 @@ declare module "rest/interceptor/jsonp" {
var jsonp: rest.Interceptor<jsonp.Config>;
module jsonp {
namespace jsonp {
interface Config {
callback?: {
param?: string;
@@ -326,7 +326,7 @@ declare module "rest/mime/registry" {
var registry: registry.Registry;
module registry {
namespace registry {
interface MIMEConverter {
read(value: string): any | when.Promise<any>;
write(value: any): string | when.Promise<string>;