UNPKG

@eggjs/tegg-plugin

Version:

module plugin for egg

17 lines (16 loc) 630 B
import { Application } from 'egg'; import { Loader } from '@eggjs/tegg-metadata'; import { EggProtoImplClass } from '@eggjs/tegg'; export declare const APP_CLAZZ_BLACK_LIST: string[]; export declare const CONTEXT_CLAZZ_BLACK_LIST: string[]; export declare const DEFAULT_APP_CLAZZ: string[]; export declare const DEFAULT_CONTEXT_CLAZZ: string[]; export declare class EggAppLoader implements Loader { private readonly app; private readonly moduleConfigLoader; constructor(app: Application); private buildClazz; private buildAppLoggerClazz; private getLoggerNames; load(): Promise<EggProtoImplClass[]>; }