angular2-in-memory-web-api
Version:
An in-memory web api for Angular 2 demos and tests
453 lines (452 loc) • 11 kB
TypeScript
export declare let STATUS: {
CONTINUE: number;
SWITCHING_PROTOCOLS: number;
OK: number;
CREATED: number;
ACCEPTED: number;
NON_AUTHORITATIVE_INFORMATION: number;
NO_CONTENT: number;
RESET_CONTENT: number;
PARTIAL_CONTENT: number;
MULTIPLE_CHOICES: number;
MOVED_PERMANTENTLY: number;
FOUND: number;
SEE_OTHER: number;
NOT_MODIFIED: number;
USE_PROXY: number;
TEMPORARY_REDIRECT: number;
BAD_REQUEST: number;
UNAUTHORIZED: number;
PAYMENT_REQUIRED: number;
FORBIDDEN: number;
NOT_FOUND: number;
METHOD_NOT_ALLOWED: number;
NOT_ACCEPTABLE: number;
PROXY_AUTHENTICATION_REQUIRED: number;
REQUEST_TIMEOUT: number;
CONFLICT: number;
GONE: number;
LENGTH_REQUIRED: number;
PRECONDITION_FAILED: number;
PAYLOAD_TO_LARGE: number;
URI_TOO_LONG: number;
UNSUPPORTED_MEDIA_TYPE: number;
RANGE_NOT_SATISFIABLE: number;
EXPECTATION_FAILED: number;
IM_A_TEAPOT: number;
UPGRADE_REQUIRED: number;
INTERNAL_SERVER_ERROR: number;
NOT_IMPLEMENTED: number;
BAD_GATEWAY: number;
SERVICE_UNAVAILABLE: number;
GATEWAY_TIMEOUT: number;
HTTP_VERSION_NOT_SUPPORTED: number;
PROCESSING: number;
MULTI_STATUS: number;
IM_USED: number;
PERMANENT_REDIRECT: number;
UNPROCESSABLE_ENTRY: number;
LOCKED: number;
FAILED_DEPENDENCY: number;
PRECONDITION_REQUIRED: number;
TOO_MANY_REQUESTS: number;
REQUEST_HEADER_FIELDS_TOO_LARGE: number;
UNAVAILABLE_FOR_LEGAL_REASONS: number;
VARIANT_ALSO_NEGOTIATES: number;
INSUFFICIENT_STORAGE: number;
NETWORK_AUTHENTICATION_REQUIRED: number;
};
export declare let STATUS_CODE_INFO: {
"100": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"101": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"102": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"200": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"201": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"202": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"203": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"204": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"205": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"206": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"207": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"226": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"300": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"301": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"302": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"303": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"304": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"305": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"307": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"308": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"400": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"401": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"402": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"403": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"404": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"405": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"406": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"407": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"408": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"409": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"410": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"411": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"412": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"413": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"414": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"415": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"416": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"417": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"418": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"422": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"423": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"424": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"426": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"428": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"429": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"431": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"451": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"500": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"501": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"502": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"503": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"504": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"505": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"506": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"507": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
"511": {
"code": number;
"text": string;
"description": string;
"spec_title": string;
"spec_href": string;
};
};