import { ExecutionContext , HttpException } from '@nestjs/common' ; import { OgmaInterceptorServiceOptions } from '../../interfaces/ogma-options.interface' ; import { LogObject } from './log.interface' ; export interface InterceptorMeta { context : ExecutionContext ; startTime : number ; options : OgmaInterceptorServiceOptions ; correlationId : string ; } export interface InterceptorService { getSuccessContext ( data , context , startTime , options ) : LogObject ; getErrorContext ( error , context , startTime , options ) : LogObject ; }