@thepalaceproject/circulation-admin
Preparing search index...
components/EditableConfigList
EditableConfigListProps
Interface EditableConfigListProps<T>
interface
EditableConfigListProps
<
T
>
{
additionalData
?:
any
;
csrfToken
:
string
;
data
?:
T
;
deleteItem
?:
(
identifier
:
string
|
number
)
=>
Promise
<
void
>
;
editItem
?:
(
data
:
FormData
)
=>
Promise
<
void
>
;
editOrCreate
?:
string
;
fetchData
?:
()
=>
Promise
<
T
>
;
fetchError
?:
FetchErrorData
;
formError
?:
FetchErrorData
;
identifier
?:
string
;
isFetching
?:
boolean
;
responseBody
?:
string
;
settingUp
?:
boolean
;
store
?:
Store
<
{
api
:
CombinedState
<
{}
,
any
,
"api"
>
;
bookEditor
:
BookState
;
catalog
:
State
;
editor
:
CombinedState
<
State
>
;
}
,
>
;
}
Type Parameters
T
Hierarchy (
View Summary
)
EditableConfigListStateProps
<
T
>
EditableConfigListDispatchProps
<
T
>
EditableConfigListOwnProps
EditableConfigListProps
Index
Properties
additional
Data?
csrf
Token
data?
delete
Item?
edit
Item?
edit
Or
Create?
fetch
Data?
fetch
Error?
form
Error?
identifier?
is
Fetching?
response
Body?
setting
Up?
store?
Properties
Optional
additional
Data
additionalData
?:
any
csrf
Token
csrfToken
:
string
Optional
data
data
?:
T
Optional
delete
Item
deleteItem
?:
(
identifier
:
string
|
number
)
=>
Promise
<
void
>
Optional
edit
Item
editItem
?:
(
data
:
FormData
)
=>
Promise
<
void
>
Optional
edit
Or
Create
editOrCreate
?:
string
Optional
fetch
Data
fetchData
?:
()
=>
Promise
<
T
>
Optional
fetch
Error
fetchError
?:
FetchErrorData
Optional
form
Error
formError
?:
FetchErrorData
Optional
identifier
identifier
?:
string
Optional
is
Fetching
isFetching
?:
boolean
Optional
response
Body
responseBody
?:
string
Optional
setting
Up
settingUp
?:
boolean
Optional
store
store
?:
Store
<
{
api
:
CombinedState
<
{}
,
any
,
"api"
>
;
bookEditor
:
BookState
;
catalog
:
State
;
editor
:
CombinedState
<
State
>
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
additional
Data
csrf
Token
data
delete
Item
edit
Item
edit
Or
Create
fetch
Data
fetch
Error
form
Error
identifier
is
Fetching
response
Body
setting
Up
store
@thepalaceproject/circulation-admin
Loading...