MCPcopy
hub / github.com/pqina/filepond / FilePondServerConfigProps

Interface FilePondServerConfigProps

types/index.d.ts:275–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275export interface FilePondServerConfigProps {
276 /**
277 * Immediately upload new files to the server.
278 * @default true
279 */
280 instantUpload?: boolean;
281 /**
282 * The maximum number of files that can be uploaded in parallel.
283 * @default 2
284 */
285 maxParallelUploads?: number;
286
287 /**
288 * Server API Configuration.
289 * See: https://pqina.nl/filepond/docs/patterns/api/server
290 * @default null
291 */
292 server?:
293 | string
294 | {
295 url?: string;
296 timeout?: number;
297 headers?: { [key: string]: string | boolean | number };
298 process?: string | ServerUrl | ProcessServerConfigFunction | null;
299 revert?: string | ServerUrl | RevertServerConfigFunction | null;
300 restore?: string | ServerUrl | RestoreServerConfigFunction | null;
301 load?: string | ServerUrl | LoadServerConfigFunction | null;
302 fetch?: string | ServerUrl | FetchServerConfigFunction | null;
303 patch?: string | ServerUrl | null;
304 remove?: RemoveServerConfigFunction | null;
305 }
306 | null;
307
308 /**
309 * Enable chunk uploads
310 * @default false
311 */
312 chunkUploads?: boolean;
313 /**
314 * Force use of chunk uploads even for files smaller than chunk size
315 * @default false
316 */
317 chunkForce?: boolean;
318 /**
319 * Size of chunks (5MB default)
320 * @default 5000000
321 */
322 chunkSize?: number;
323 /**
324 * Amount of times to retry upload of a chunk when it fails
325 * @default [500, 1000, 3000]
326 */
327 chunkRetryDelays?: number[];
328
329 /**
330 * A list of file locations that should be loaded immediately.
331 * See: https://pqina.nl/filepond/docs/patterns/api/filepond-object/#setting-initial-files
332 * @default []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected