Skip to content

Commit

Permalink
fix: remove import from barrel
Browse files Browse the repository at this point in the history
  • Loading branch information
Papooch committed Oct 24, 2021
1 parent a281248 commit ad27dde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/lib/cls.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import {
NestInterceptor,
} from '@nestjs/common';
import { Observable } from 'rxjs';
import { CLS_ID } from '..';
import { ClsServiceManager } from './cls-service-manager';
import { CLS_INTERCEPTOR_OPTIONS } from './cls.constants';
import { CLS_ID, CLS_INTERCEPTOR_OPTIONS } from './cls.constants';
import { ClsInterceptorOptions } from './cls.interfaces';

@Injectable()
Expand Down
2 changes: 1 addition & 1 deletion src/lib/cls.middleware.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Inject, Injectable, NestMiddleware } from '@nestjs/common';
import { ClsServiceManager } from '..';
import { ClsServiceManager } from './cls-service-manager';
import { CLS_ID, CLS_MIDDLEWARE_OPTIONS } from './cls.constants';
import { CLS_REQ, CLS_RES } from './cls.constants';
import { ClsMiddlewareOptions } from './cls.interfaces';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/cls.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import {
HttpAdapterHost,
ModuleRef,
} from '@nestjs/core';
import { ClsInterceptor } from '..';
import { ClsServiceManager, getClsServiceToken } from './cls-service-manager';
import {
CLS_GUARD_OPTIONS,
CLS_INTERCEPTOR_OPTIONS,
CLS_MIDDLEWARE_OPTIONS,
} from './cls.constants';
import { ClsGuard } from './cls.guard';
import { ClsInterceptor } from './cls.interceptor';
import {
ClsGuardOptions,
ClsInterceptorOptions,
Expand Down

0 comments on commit ad27dde

Please sign in to comment.