Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Update S3/Azure TypeScript definition file #1830

Merged
merged 1 commit into from
May 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions client/typescript/fine-uploader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2650,7 +2650,7 @@ declare namespace FineUploader {
*
* @default `5242880`
*/
partSize: number;
partSize?: number;
}

/**
Expand All @@ -2662,7 +2662,7 @@ declare namespace FineUploader {
*
* @default `true`
*/
allowXdr: boolean;
allowXdr?: boolean;
}

/**
Expand Down Expand Up @@ -2708,7 +2708,7 @@ declare namespace FineUploader {
*
* @default `'private'`
*/
acl: string;
acl?: string;
/**
* Describes the name of the bucket used to house the file in S3.
*
Expand All @@ -2720,7 +2720,7 @@ declare namespace FineUploader {
*
* @default `(assumes the bucket can be determined by parsing the endpoint string)`
*/
bucket: string | BucketFunction;
bucket?: string | BucketFunction;
/**
* The hostname of your S3 bucket.
*
Expand All @@ -2732,7 +2732,7 @@ declare namespace FineUploader {
*
* @default `(uses the request endpoint to determine the hostname)`
*/
host: string | HostFunction;
host?: string | HostFunction;
/**
* Describes the object key used to identify the file in your S3 bucket.
*
Expand All @@ -2743,25 +2743,25 @@ declare namespace FineUploader {
*
* @default `'uuid'`
*/
key: string | KeyFunction;
key?: string | KeyFunction;
/**
* Set this to true if you would like to use the reduced redundancy storage class for all objects uploaded to S3
*
* @default `false`
*/
reducedRedundancy: boolean;
reducedRedundancy?: boolean;
/**
* Version 4 signatures only: The S3 region identifier for the target bucket
*
* @default `'us-east-1'`
*/
region: string;
region?: string;
/**
* Set this to true if you would like all uploaded files to be encrypted by AWS
*
* @default `false`
*/
serverSideEncryption: boolean;
serverSideEncryption?: boolean;
}

/**
Expand Down Expand Up @@ -3101,7 +3101,7 @@ declare namespace FineUploader {
*
* @default `true`
*/
allowXdr: boolean;
allowXdr?: boolean;
}

/**
Expand Down