UploadFromTicketOptions
Defined in: libs/ccs-files-user-client/src/core/types.ts:882
Extends
Section titled “Extends”Properties
Section titled “Properties”concurrency?
Section titled “concurrency?”
optionalconcurrency?:number
Defined in: libs/ccs-files-user-client/src/core/types.ts:875
Parts in flight. Default: the client’s concurrency (4).
Inherited from
Section titled “Inherited from”onProgress?
Section titled “onProgress?”
optionalonProgress?: (progress) =>void
Defined in: libs/ccs-files-user-client/src/core/types.ts:877
Shorthand for handle.on('progress', ...), registered before anything is sent.
Parameters
Section titled “Parameters”progress
Section titled “progress”Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: libs/ccs-files-user-client/src/core/types.ts:879
Aborting it cancels the upload.
Inherited from
Section titled “Inherited from”xhrFactory?
Section titled “xhrFactory?”
optionalxhrFactory?: () =>XhrLike
Defined in: libs/ccs-files-user-client/src/core/types.ts:884
Builds the XMLHttpRequest of each PUT. Default new XMLHttpRequest(); without one, fetch (no byte progress).
Returns
Section titled “Returns”fetch?
Section titled “fetch?”
optionalfetch?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: libs/ccs-files-user-client/src/core/types.ts:885
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
partUrls?
Section titled “partUrls?”
optionalpartUrls?: (range) =>Promise<{parts:UploadPartUrl[]; }>
Defined in: libs/ccs-files-user-client/src/core/types.ts:891
More part URLs, for a multipart ticket of more than 100 parts or after a part URL expired (403): ask your
backend, which calls uploads.parts(upload_id, { from, count }) with the Node SDK. Without it, a missing or
expired part URL fails the upload.
Parameters
Section titled “Parameters”number
number
Returns
Section titled “Returns”Promise<{ parts: UploadPartUrl[]; }>
debug?
Section titled “debug?”
optionaldebug?:boolean
Defined in: libs/ccs-files-user-client/src/core/types.ts:895