Extends StoreExtensionOptions

Properties

url

Server URL, defaults to empty string

url?: string

name

The name of the form field being submitted with the form POST, defaults to 'entry'

name?: string

fetchMetadata

When restoring a file, first fetch metadata so file details are updated sooner, defaults to true.

fetchMetadata?: boolean

getBasename

Hook that runs when determining the name for a file. Defaults to () => 'Untitled'.

getBasename?: (entry: FilePondFileEntry, blob: Blob) => string

resolveRequest

Resolve the URL and options sent to XMLHttpRequest

resolveRequest?: { metadata?: RequestResolver; store?: RequestResolver; restore?: RequestResolver; release?: RequestResolver; }

resolveResponse

Resolve the requested value from the response, when storing a file this is the server entry id, when restoring a file this is a File object

resolveResponse?: { metadata?: ResponseResolver<FormPostStoreMetadata>; store?: ResponseResolver<string>; restore?: ResponseResolver<File>; }