OneDriveMultipartOptions
Defined in: src/providers/cloud/OneDriveProvider.ts:74
Resumable-upload session tuning for the OneDrive provider.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
enabled? | boolean | Enable Microsoft Graph upload sessions. Defaults to true so payloads above OneDriveMultipartOptions.thresholdBytes stream in fixed-size chunks via createUploadSession instead of being buffered into a single PUT /content. Set to false to force the legacy single-shot behaviour. | src/providers/cloud/OneDriveProvider.ts:81 |
partSizeBytes? | number | Target chunk size in bytes. Must be a multiple of 320 KiB per the Graph protocol (the final chunk is exempt). Defaults to 10 MiB. | src/providers/cloud/OneDriveProvider.ts:88 |
thresholdBytes? | number | Object size threshold above which an upload session is used. Defaults to 4 MiB. | src/providers/cloud/OneDriveProvider.ts:83 |