跳到主要内容
版本:Next

Configuration

Index

Constructors

constructor

Properties

app

app: IMidwayBaseApplication<Context>

decoratorService

decoratorService: MidwayDecoratorService

legacyMode

legacyMode: boolean = false

modelMap

modelMap: WeakMap<object, any> = ...

oldMongooseConfig

oldMongooseConfig: any

Methods

init

  • init(): Promise<void>

onReady

  • onReady(container: IMidwayContainer): Promise<void>

onStop

  • onStop(): Promise<void>