Interface: ModuleManager
Since
2.0.0
- direct access to the module manager will be removed in version 4
Hierarchy
-
MetadataAccess
↳
ModuleManager
Implemented by
Methods
get
▸ get(id
): undefined
| Module
Parameters
Name | Type |
---|---|
id | string |
Returns
undefined
| Module
Defined in
src/core/contracts/module-manager.ts:19
getByNameCommandType
▸ getByNameCommandType<T
>(name
, commandType
): undefined
| CommandModuleDefs
[T
]
Type parameters
Name | Type |
---|---|
T | extends CommandType |
Parameters
Name | Type |
---|---|
name | string |
commandType | T |
Returns
undefined
| CommandModuleDefs
[T
]
Defined in
src/core/contracts/module-manager.ts:30
getMetadata
▸ getMetadata(m
): undefined
| CommandMeta
Parameters
Name | Type |
---|---|
m | Module |
Returns
undefined
| CommandMeta
Inherited from
MetadataAccess.getMetadata
Defined in
src/core/contracts/module-manager.ts:10
getPublishableCommands
▸ getPublishableCommands(): CommandModule
[]
Returns
Deprecated
Defined in
src/core/contracts/module-manager.ts:25
set
▸ set(id
, path
): void
Parameters
Name | Type |
---|---|
id | string |
path | Module |
Returns
void
Defined in
src/core/contracts/module-manager.ts:21
setMetadata
▸ setMetadata(m
, c
): void
Parameters
Name | Type |
---|---|
m | Module |
c | CommandMeta |
Returns
void
Inherited from
MetadataAccess.setMetadata