Interface: MapRegistry
Registry containing available models for actions.
Extends
Methods
modelFor()
modelFor(
rawType
):Promise
<null
|Model
>
Resolve a registered model by its type. Type may be normalized for easier resolve.
Parameters
• rawType: string
Returns
Promise
<null
| Model
>
Inherited from
Source
Properties
register()
register: (
models
) =>void
Parameters
• models: MapRegistryModelsRegistration
Returns
void
Source
packages/core/src/registry/types.ts:26
registerModel()
registerModel: (
model
) =>void
Parameters
• model: MapRegistryModelRegistration
Returns
void