@logixjs/core
Preparing search index...
ActionsFromMap
Type Alias ActionsFromMap<M>
ActionsFromMap
:
{
[
K
in
keyof
M
]
:
M
[
K
]
extends
Schema.Schema
<
any
,
any
,
any
>
?
PayloadOfActionDef
<
M
[
K
]
>
extends
void
?
{
_tag
:
K
;
payload
?:
PayloadOfActionDef
<
M
[
K
]
>
}
:
{
_tag
:
K
;
payload
:
PayloadOfActionDef
<
M
[
K
]
>
}
:
M
[
K
]
extends
ActionToken
<
any
,
any
,
any
>
?
ReturnType
<
M
[
K
]
>
:
never
}
[
keyof
M
]
Module (definition object) public API.
Domain factories (Form / CRUD / ...) should return this object.
.tag
is the identity anchor (ModuleTag/Context.Tag), used by
$.use(...)
and Env injection.
.impl
is the assembly blueprint (ModuleImpl), consumed by React/Runtime entry points.
.logic()
only produces the logic value;
.withLogic/withLayer(s)
changes the runnable shape (immutable: returns a new object).
Type Parameters
M
extends
Record
<
string
,
AnySchema
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@logixjs/core
Loading...
Module (definition object) public API.
.tagis the identity anchor (ModuleTag/Context.Tag), used by$.use(...)and Env injection..implis the assembly blueprint (ModuleImpl), consumed by React/Runtime entry points..logic()only produces the logic value;.withLogic/withLayer(s)changes the runnable shape (immutable: returns a new object).