Search
Preparing search index...
The search index is not available
ezyVet Javascript Helper Library Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
src/fetchStateMachine/types
FetchActionToPayload
Interface FetchActionToPayload<T>
Type parameters
T
Hierarchy
FetchActionToPayload
Index
Properties
[
Fetch
Actions.FETCH]
[
Fetch
Actions.REJECT]
[
Fetch
Actions.RESOLVE]
Properties
[
Fetch
Actions.FETCH]
[
Fetch
Actions.FETCH]
:
{
body
?:
Record
<
string
,
unknown
>
;
credentials
?:
RequestCredentials
;
headers
:
Headers
;
method
:
FetchMethod
;
url
:
RequestInfo
}
Type declaration
Optional
body
?:
Record
<
string
,
unknown
>
Optional
credentials
?:
RequestCredentials
headers
:
Headers
method
:
FetchMethod
url
:
RequestInfo
[
Fetch
Actions.REJECT]
[
Fetch
Actions.REJECT]
:
{
additionalData
?:
{
response
?:
Response
}
;
reason
:
Error
}
Type declaration
Optional
additional
Data
?:
{
response
?:
Response
}
Optional
response
?:
Response
reason
:
Error
[
Fetch
Actions.RESOLVE]
[
Fetch
Actions.RESOLVE]
:
{
responseBody
:
T
}
Type declaration
response
Body
:
T
Globals
src/fetch
State
Machine/types
Fetch
Actions
Fetch
Method
Fetch
States
Create
Fetch
State
Machine
Props
Fetch
Action
ToPayload
[
Fetch
Actions.FETCH]
[
Fetch
Actions.REJECT]
[
Fetch
Actions.RESOLVE]
Perform
Fetch
Props
Fetch
State
Machine
Fire
Fetch
Request
Props
Generated using
TypeDoc