UNPKG

805 BTypeScriptView Raw
1/**
2 * -------------------------------------------------------------------------------------------
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
4 * See License in the project root for license information.
5 * -------------------------------------------------------------------------------------------
6 */
7/**
8 * @constant
9 * Get the valid rangeSize for a file slicing (validity is based on the constrains mentioned in here
10 * {@link https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/driveitem_createuploadsession#upload-bytes-to-the-upload-session})
11 *
12 * @param {number} [rangeSize = DEFAULT_FILE_SIZE] - The rangeSize value.
13 * @returns The valid rangeSize
14 */
15export declare const getValidRangeSize: (rangeSize?: number) => number;