Skip to content

Commit 14f737f

Browse files
Merge branch 'master' of https://github.com/nestjs/nest
2 parents a9922da + b1f7096 commit 14f737f

84 files changed

Lines changed: 7005 additions & 109 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/common/cache/interfaces/cache-module.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ModuleMetadata, Type } from './../../interfaces';
1+
import { ModuleMetadata, Type } from '../../interfaces';
22
import { CacheManagerOptions } from './cache-manager.interface';
33

44
export interface CacheModuleOptions extends CacheManagerOptions {

packages/common/exceptions/bad-gateway.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpException } from './http.exception';
22
import { HttpStatus } from '../enums/http-status.enum';
3-
import { createHttpExceptionBody } from './../utils/http-exception-body.util';
3+
import { createHttpExceptionBody } from '../utils/http-exception-body.util';
44

55
export class BadGatewayException extends HttpException {
66
constructor(message?: string | object | any, error = 'Bad Gateway') {

packages/common/exceptions/bad-request.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpException } from './http.exception';
22
import { HttpStatus } from '../enums/http-status.enum';
3-
import { createHttpExceptionBody } from './../utils/http-exception-body.util';
3+
import { createHttpExceptionBody } from '../utils/http-exception-body.util';
44

55
export class BadRequestException extends HttpException {
66
constructor(message?: string | object | any, error = 'Bad Request') {

packages/common/exceptions/conflict.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpException } from './http.exception';
22
import { HttpStatus } from '../enums/http-status.enum';
3-
import { createHttpExceptionBody } from './../utils/http-exception-body.util';
3+
import { createHttpExceptionBody } from '../utils/http-exception-body.util';
44

55
export class ConflictException extends HttpException {
66
constructor(message?: string | object | any, error = 'Conflict') {

packages/common/exceptions/forbidden.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpException } from './http.exception';
22
import { HttpStatus } from '../enums/http-status.enum';
3-
import { createHttpExceptionBody } from './../utils/http-exception-body.util';
3+
import { createHttpExceptionBody } from '../utils/http-exception-body.util';
44

55
export class ForbiddenException extends HttpException {
66
constructor(message?: string | object | any, error = 'Forbidden') {

packages/common/exceptions/gateway-timeout.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpException } from './http.exception';
22
import { HttpStatus } from '../enums/http-status.enum';
3-
import { createHttpExceptionBody } from './../utils/http-exception-body.util';
3+
import { createHttpExceptionBody } from '../utils/http-exception-body.util';
44

55
export class GatewayTimeoutException extends HttpException {
66
constructor(message?: string | object | any, error = 'Gateway Timeout') {

packages/common/exceptions/gone.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpException } from './http.exception';
22
import { HttpStatus } from '../enums/http-status.enum';
3-
import { createHttpExceptionBody } from './../utils/http-exception-body.util';
3+
import { createHttpExceptionBody } from '../utils/http-exception-body.util';
44

55
export class GoneException extends HttpException {
66
constructor(message?: string | object | any, error = 'Gone') {

packages/common/exceptions/internal-server-error.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpException } from './http.exception';
22
import { HttpStatus } from '../enums/http-status.enum';
3-
import { createHttpExceptionBody } from './../utils/http-exception-body.util';
3+
import { createHttpExceptionBody } from '../utils/http-exception-body.util';
44

55
export class InternalServerErrorException extends HttpException {
66
constructor(

packages/common/exceptions/method-not-allowed.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpException } from './http.exception';
22
import { HttpStatus } from '../enums/http-status.enum';
3-
import { createHttpExceptionBody } from './../utils/http-exception-body.util';
3+
import { createHttpExceptionBody } from '../utils/http-exception-body.util';
44

55
export class MethodNotAllowedException extends HttpException {
66
constructor(message?: string | object | any, error = 'Method Not Allowed') {

packages/common/exceptions/not-acceptable.exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HttpException } from './http.exception';
22
import { HttpStatus } from '../enums/http-status.enum';
3-
import { createHttpExceptionBody } from './../utils/http-exception-body.util';
3+
import { createHttpExceptionBody } from '../utils/http-exception-body.util';
44

55
export class NotAcceptableException extends HttpException {
66
constructor(message?: string | object | any, error = 'Not Acceptable') {

0 commit comments

Comments
 (0)