跳到主要内容
版本:Next

ServerlessStarterOptions

Hierarchy

  • IMidwayBootstrapOptions
    • ServerlessStarterOptions

Index

Properties

optionalaggregationHandlerName

aggregationHandlerName?: string

optionalappDir

appDir?: string

optionalapplicationContext

applicationContext?: IMidwayContainer

optionalasyncContextManager

asyncContextManager?: AsyncContextManager

optionalbaseDir

baseDir?: string

optionalconfigurationModule

configurationModule?: any
@deprecated

please use ‘imports’

optionalcreateAdapter

createAdapter?: () => Promise<{ close: any; createAppHook: any }>

optionalglobalConfig

globalConfig?: Record<string, any> | {}[]

optionalhandlerName

handlerName?: string

optionalhandlerNameMapping

handlerNameMapping?: (handlerName: string, ...args: unknown[]) => [string, ...unknown[]]

optionalignore

ignore?: string[]
@deprecated

please set it from ‘@Configuration’ decorator

optionalimports

imports?: any

optionalinitializeMethodName

initializeMethodName?: string

optionallogger

logger?: boolean | ILogger

optionalloggerFactory

loggerFactory?: LoggerFactory<any, any>

optionalmoduleDetector

moduleDetector?: false | IFileDetector

optionalmoduleLoadType

moduleLoadType?: ModuleLoadType

optionalperformance

performance?: { end: any; mark: any }

optionalpreloadModules

preloadModules?: any[]