Skip to content

Commit

Permalink
feat: implement http redirect response interface
Browse files Browse the repository at this point in the history
  • Loading branch information
guilopesn committed Sep 5, 2023
1 parent 2d13d08 commit 91f8c22
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export {
HttpServer,
HttpExceptionBody,
HttpExceptionBodyMessage,
HttpRedirectResponse,
INestApplication,
INestApplicationContext,
INestMicroservice,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { HttpStatus } from '../../enums';

export interface HttpRedirectResponse {
url: string;

statusCode: HttpStatus;
}
1 change: 1 addition & 0 deletions packages/common/interfaces/http/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from './http-exception-body.interface';
export * from './http-redirect-response.interface';
export * from './http-server.interface';
export * from './message-event.interface';
export * from './raw-body-request.interface';

0 comments on commit 91f8c22

Please sign in to comment.