Properties
Optional
additionalData
additionalData?: any
csrfToken
csrfToken: string
Optional
deleteItem
deleteItem?: ((identifier: string | number) => Promise<void>)
Type declaration
-
- (identifier: string | number): Promise<void>
-
Parameters
-
identifier: string | number
Returns Promise<void>
Optional
editItem
editItem?: ((data: FormData) => Promise<void>)
Type declaration
-
- (data: FormData): Promise<void>
-
Returns Promise<void>
Optional
editOrCreate
editOrCreate?: string
Optional
fetchData
fetchData?: (() => Promise<T>)
Type declaration
-
- (): Promise<T>
-
Returns Promise<T>
Optional
fetchError
fetchError?: FetchErrorData
Optional
formError
formError?: FetchErrorData
Optional
identifier
identifier?: string
Optional
isFetching
isFetching?: boolean
Optional
responseBody
responseBody?: string
Optional
settingUp
settingUp?: boolean
Optional
store
store?: Store<Object, UnknownAction, unknown>