@mwcp/kmore
Version:
midway component for knex, supports declarative transaction and OpenTelemetry
9 lines • 442 B
TypeScript
import type { Context, IMiddleware, NextFunction } from '@mwcp/share';
import { TrxStatusService } from '../lib/index.js';
export declare class KmoreMiddleware implements IMiddleware<Context, NextFunction> {
readonly trxStatusSvc: TrxStatusService;
static getName(): string;
match(ctx?: Context): ctx is Context;
resolve(): (ctx: Context, next: NextFunction) => Promise<void>;
}
//# sourceMappingURL=db-trx.middleware.d.ts.map