readme-metric-reporter-nestjs
Version:
Report Nest.js API usage metrics to README.com
13 lines • 556 B
TypeScript
import { RouteInfo } from '@nestjs/common/interfaces';
import { Request, Response } from 'express';
import { IMetricReporter } from 'readme-metric-reporter';
import { IMetricCollector } from 'readme-metric-reporter-express';
export interface MetricReporterModuleOptions {
reporter: IMetricReporter;
collector: IMetricCollector;
routes: (string | RouteInfo)[];
excludedRoutes?: (string | RouteInfo)[];
baseUrl?: string;
createUUID?(req: Request, res: Response): string;
}
//# sourceMappingURL=metrics-reporter.module-options.d.ts.map