@eggjs/dal-plugin
Version:
dal plugin for egg
10 lines (9 loc) • 540 B
TypeScript
import type { LifecycleHook } from '@eggjs/lifecycle';
import type { ModuleConfigHolder, Logger } from '@eggjs/tegg-types';
import type { EggPrototype, EggPrototypeLifecycleContext } from '@eggjs/metadata';
export declare class TransactionPrototypeHook implements LifecycleHook<EggPrototypeLifecycleContext, EggPrototype> {
private readonly moduleConfigs;
private readonly logger;
constructor(moduleConfigs: Record<string, ModuleConfigHolder>, logger: Logger);
preCreate(ctx: EggPrototypeLifecycleContext): Promise<void>;
}