Factory
@agros/tools / Factory
Interface: Factory
Table of contents
Properties
Properties
create
• create: <T>(ModuleClass
: Type
<T
>) => Promise
<ComponentInstance
>
Type declaration
▸ <T
>(ModuleClass
): Promise
<ComponentInstance
>
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
ModuleClass | Type <T > |
Returns
Promise
<ComponentInstance
>
Defined in
packages/agros-tools/src/types.ts:114
generateDependencyMap
• generateDependencyMap: (componentInstanceOrId
: string
| ComponentInstance
) => Map
<Type
<any
>, any
>
Type declaration
▸ (componentInstanceOrId
): Map
<Type
<any
>, any
>
Parameters
Name | Type |
---|---|
componentInstanceOrId | string | ComponentInstance |
Returns
Map
<Type
<any
>, any
>
Defined in
packages/agros-tools/src/types.ts:115
getComponentInstanceMap
• getComponentInstanceMap: () => Map
<Type
<any
>, ComponentInstance
>
Type declaration
▸ (): Map
<Type
<any
>, ComponentInstance
>
Returns
Map
<Type
<any
>, ComponentInstance
>
Defined in
packages/agros-tools/src/types.ts:118
getModuleInstanceMap
• getModuleInstanceMap: () => Map
<Type
<any
>, ModuleInstance
>
Type declaration
▸ (): Map
<Type
<any
>, ModuleInstance
>
Returns
Map
<Type
<any
>, ModuleInstance
>
Defined in
packages/agros-tools/src/types.ts:116
getRootModuleInstance
• getRootModuleInstance: () => ModuleInstance
Type declaration
▸ (): ModuleInstance