UNPKG

@eggjs/dal-plugin

Version:
9 lines (8 loc) 433 B
import type { LifecycleHook } from '@eggjs/lifecycle'; import type { Logger } from '@eggjs/tegg-types'; import type { EggPrototype, EggPrototypeLifecycleContext } from '@eggjs/metadata'; export declare class DalTableEggPrototypeHook implements LifecycleHook<EggPrototypeLifecycleContext, EggPrototype> { private readonly logger; constructor(logger: Logger); preCreate(ctx: EggPrototypeLifecycleContext): Promise<void>; }