Search
Preparing search index...
The search index is not available
@foxy.io/sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@foxy.io/sdk
<internal>
TransitionDefinition
Interface TransitionDefinition<TContext, TEvent>
Type Parameters
TContext
TEvent
extends
EventObject
Hierarchy
TransitionConfig
<
TContext
,
TEvent
>
TransitionDefinition
DelayedTransitionDefinition
Index
Properties
actions
cond
event
Type
in
internal
meta
source
target
Methods
toJSON
Properties
actions
actions
:
ActionObject
<
TContext
,
TEvent
>
[]
Optional
cond
cond
?:
Record
<
string
,
any
>
&
{
type
:
string
}
|
GuardPredicate
<
TContext
,
TEvent
>
event
Type
event
Type
:
NullEvent
|
"*"
|
TEvent
[
"type"
]
Optional
in
in
?:
string
|
StateValueMap
Optional
internal
internal
?:
boolean
Optional
meta
meta
?:
Record
<
string
,
any
>
source
source
:
StateNode
<
TContext
,
any
,
TEvent
,
{
context
:
TContext
;
value
:
any
}
>
target
target
:
undefined
|
StateNode
<
TContext
,
any
,
TEvent
,
{
context
:
TContext
;
value
:
any
}
>
[]
Methods
toJSON
toJSON
(
)
:
{
actions
:
ActionObject
<
TContext
,
TEvent
>
[]
;
cond
?:
Record
<
string
,
any
>
&
{
type
:
string
}
|
GuardPredicate
<
TContext
,
TEvent
>
;
eventType
:
NullEvent
|
"*"
|
TEvent
[
"type"
]
;
meta
?:
Record
<
string
,
any
>
;
source
:
string
;
target
:
undefined
|
string
[]
}
Returns
{
actions
:
ActionObject
<
TContext
,
TEvent
>
[]
;
cond
?:
Record
<
string
,
any
>
&
{
type
:
string
}
|
GuardPredicate
<
TContext
,
TEvent
>
;
eventType
:
NullEvent
|
"*"
|
TEvent
[
"type"
]
;
meta
?:
Record
<
string
,
any
>
;
source
:
string
;
target
:
undefined
|
string
[]
}
actions
:
ActionObject
<
TContext
,
TEvent
>
[]
Optional
cond
?:
Record
<
string
,
any
>
&
{
type
:
string
}
|
GuardPredicate
<
TContext
,
TEvent
>
event
Type
:
NullEvent
|
"*"
|
TEvent
[
"type"
]
Optional
meta
?:
Record
<
string
,
any
>
source
:
string
target
:
undefined
|
string
[]
Modules
<internal>
Cookie
Cookie
Jar
Backend
Core
Customer
Transition
Definition
actions
cond
event
Type
in
internal
meta
source
target
toJSON
Generated using
TypeDoc