@midwayjs/decorator
Index
Classes
Enumerations
Functions
- All
- App
- ApplicationContext
- Aspect
- Autoload
- Body
- Catch
- Config
- Configuration
- Consumer
- ContentType
- Controller
- Del
- Destroy
- DubboMethod
- Emit
- Fields
- File
- Files
- Framework
- Get
- GrpcMethod
- Guard
- HSF
- Head
- Headers
- HttpCode
- Init
- Inject
- InjectClient
- KafkaListener
- Logger
- Match
- Middleware
- Mock
- OnConnection
- OnDisConnection
- OnMessage
- OnWSConnection
- OnWSDisConnection
- OnWSMessage
- Options
- Param
- Patch
- Pipe
- Pipeline
- Plugin
- Post
- Provide
- Provider
- Put
- Queries
- Query
- Queue
- RabbitMQListener
- Redirect
- RequestIP
- RequestMapping
- RequestPath
- Schedule
- Scope
- ServerlessFunction
- ServerlessTrigger
- Session
- SetHeader
- Singleton
- Task
- TaskLocal
- UseGuard
- WSBroadCast
- WSController
- WSEmit
- attachClassMetadata
- attachPropertyDataToClass
- attachPropertyMetadata
- bindContainer
- clearAllModule
- clearBindContainer
- createCustomMethodDecorator
- createCustomParamDecorator
- createCustomPropertyDecorator
- createRender
- createRequestParamDecorator
- getClassExtendedMetadata
- getClassMetadata
- getMethodParamTypes
- getMethodReturnTypes
- getObjectDefinition
- getPropertyDataFromClass
- getPropertyInject
- getPropertyMetadata
- getPropertyType
- getProviderId
- getProviderName
- getProviderUUId
- isProvide
- listModule
- listPreloadModule
- listPropertyDataFromClass
- resetModule
- saveClassMetadata
- saveModule
- saveObjectDefinition
- savePreloadModule
- savePropertyDataToClass
- savePropertyInject
- savePropertyMetadata
- saveProviderId
- sleep
- transformTypeFromTSDesign
Interfaces
- CommonSchedule
- ControllerOption
- HSFOpts
- IComponentInfo
- IManagedInstance
- IMethodAspect
- IModuleStore
- InjectionConfigurationOptions
- JoinPoint
- KafkaListenerOptions
- ObjectDefinitionOptions
- RabbitMQListenerOptions
- ReflectResult
- ResolveFilter
- RouterOption
- RouterParamValue
- ScheduleOpts
- TagClsMetadata
- TagPropsMetadata
- WSControllerOption
- WSEventInfo
Namespaces
Type Aliases
Variables
- ALL
- APPLICATION_CONTEXT_KEY
- APPLICATION_KEY
- ASPECT_KEY
- CATCH_KEY
- CLASS_KEY_CONSTRUCTOR
- CONFIGURATION_KEY
- CONFIG_KEY
- CONTROLLER_KEY
- FACTORY_SERVICE_CLIENT_KEY
- FORMAT
- FRAMEWORK_KEY
- FUNC_KEY
- FileUtils
- GUARD_KEY
- HSF_KEY
- INJECT_CLASS_KEY_PREFIX
- INJECT_CUSTOM_METHOD
- INJECT_CUSTOM_PARAM
- INJECT_CUSTOM_PROPERTY
- INJECT_TAG
- LIFECYCLE_IDENTIFIER_PREFIX
- LOGGER_KEY
- MAIN_MODULE_KEY
- MATCH_KEY
- MOCK_KEY
- MODULE_TASK_KEY
- MODULE_TASK_METADATA
- MODULE_TASK_QUEUE_KEY
- MODULE_TASK_QUEUE_OPTIONS
- MODULE_TASK_TASK_LOCAL_KEY
- MODULE_TASK_TASK_LOCAL_OPTIONS
- MS_CONSUMER_KEY
- MS_DUBBO_METHOD_KEY
- MS_GRPC_METHOD_KEY
- MS_HSF_METHOD_KEY
- MS_PRODUCER_KEY
- MS_PROVIDER_KEY
- NAMED_TAG
- OBJ_DEF_CLS
- PIPELINE_IDENTIFIER
- PLUGIN_KEY
- PRELOAD_MODULE_KEY
- PRIVATE_META_DATA_KEY
- RPC_DUBBO_KEY
- RPC_GRPC_KEY
- RequestMethod
- SCHEDULE_KEY
- SERVERLESS_FUNC_KEY
- TAGGED_CLS
- TAGGED_FUN
- Types
- Utils
- WEB_RESPONSE_CONTENT_TYPE
- WEB_RESPONSE_HEADER
- WEB_RESPONSE_HTTP_CODE
- WEB_RESPONSE_KEY
- WEB_RESPONSE_REDIRECT
- WEB_RESPONSE_RENDER
- WEB_ROUTER_KEY
- WEB_ROUTER_PARAM_KEY
- WS_CONTROLLER_KEY
- WS_EVENT_KEY
Type Aliases
ConsumerRunConfig
ConsumerSubscribeTopic
ConsumerSubscribeTopics
CustomParamDecorator
Type parameters
- T = unknown
ExpressLikeCustomParamDecorator
Type parameters
- T = unknown
GroupModeType
KoaLikeCustomParamDecorator
Type parameters
- T = unknown
MatchPattern
Type parameters
- CtxOrReq = any
- Res = any
Replaced by ConsumerSubscribeTopics