Optimize ts declarisions.
This commit is contained in:
Родитель
1600bf2a7a
Коммит
47714c23e3
|
@ -11,7 +11,7 @@ This project provides a Node.js package and a browser compatible [JavaScript Cli
|
||||||
|
|
||||||
| SDK Name | Version | Description | NPM/API Reference Links |
|
| SDK Name | Version | Description | NPM/API Reference Links |
|
||||||
|------------------------------------------------------------------------------------------|-------------|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|------------------------------------------------------------------------------------------|-------------|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [Storage SDK v10 for JavaScript](https://github.com/Azure/azure-storage-js) | v10-Preview | The next generation async Storage SDK (Blob only, async and promise support) | [NPM](https://www.npmjs.com/package/@azure/storage-blob) |
|
| [Storage SDK v10 for JavaScript](https://github.com/Azure/azure-storage-js) | v10-Preview | The next generation async Storage SDK (Blob only, async and promise support) | [NPM](https://www.npmjs.com/package/@azure/storage-blob) - [Reference](https://docs.microsoft.com/en-us/javascript/api/%40azure/storage-blob/index?view=azure-node-preview) |
|
||||||
| [Storage SDK v2 for JavaScript](https://github.com/Azure/azure-storage-node) | v2 | Legacy Storage SDK in this repository (Blob/Queue/File/Table, callback style) | [NPM](https://www.npmjs.com/package/azure-storage) - [Reference](https://docs.microsoft.com/en-us/javascript/api/azure-storage/?view=azure-node-latest) |
|
| [Storage SDK v2 for JavaScript](https://github.com/Azure/azure-storage-node) | v2 | Legacy Storage SDK in this repository (Blob/Queue/File/Table, callback style) | [NPM](https://www.npmjs.com/package/azure-storage) - [Reference](https://docs.microsoft.com/en-us/javascript/api/azure-storage/?view=azure-node-latest) |
|
||||||
| [Azure Management SDKs for JavaScript](https://github.com/Azure/azure-sdk-for-node) | v2 | Management SDKs including Storage Resource Provider APIs | [NPM](https://www.npmjs.com/package/azure) - [Reference](https://github.com/Azure/azure-sdk-for-node#documentation) |
|
| [Azure Management SDKs for JavaScript](https://github.com/Azure/azure-sdk-for-node) | v2 | Management SDKs including Storage Resource Provider APIs | [NPM](https://www.npmjs.com/package/azure) - [Reference](https://github.com/Azure/azure-sdk-for-node#documentation) |
|
||||||
|
|
||||||
|
|
|
@ -671,10 +671,10 @@ declare module azurestorage {
|
||||||
* @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation.
|
* @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation.
|
||||||
* @param {errorOrResult} callback `error` will contain information
|
* @param {errorOrResult} callback `error` will contain information
|
||||||
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
|
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
|
||||||
* `entries` gives a list of `[directories]{@link DirectoryResult}` and the `continuationToken` is used for the next listing operation.
|
* `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation.
|
||||||
* `response` will contain information related to this operation.
|
* `response` will contain information related to this operation.
|
||||||
*/
|
*/
|
||||||
listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, callback: ErrorOrResult<BlobService.ListBlobPrefixesResult>): void;
|
listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, callback: ErrorOrResult<BlobService.ListBlobDirectoriesResult>): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Lists a segment containing a collection of blob directory items in the container.
|
* Lists a segment containing a collection of blob directory items in the container.
|
||||||
|
@ -696,13 +696,13 @@ declare module azurestorage {
|
||||||
* The default value is false.
|
* The default value is false.
|
||||||
* @param {errorOrResult} callback `error` will contain information
|
* @param {errorOrResult} callback `error` will contain information
|
||||||
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
|
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
|
||||||
* `entries` gives a list of `[directories]{@link DirectoryResult}` and the `continuationToken` is used for the next listing operation.
|
* `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation.
|
||||||
* `response` will contain information related to this operation.
|
* `response` will contain information related to this operation.
|
||||||
*/
|
*/
|
||||||
listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult<BlobService.ListBlobPrefixesResult>): void;
|
listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult<BlobService.ListBlobDirectoriesResult>): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Lists a segment containing a collection of blob items whose names begin with the specified prefix in the container.
|
* Lists a segment containing a collection of blob directory items whose names begin with the specified prefix in the container.
|
||||||
*
|
*
|
||||||
* @this {BlobService}
|
* @this {BlobService}
|
||||||
* @param {string} container The container name.
|
* @param {string} container The container name.
|
||||||
|
@ -710,13 +710,13 @@ declare module azurestorage {
|
||||||
* @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation.
|
* @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation.
|
||||||
* @param {errorOrResult} callback `error` will contain information
|
* @param {errorOrResult} callback `error` will contain information
|
||||||
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
|
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
|
||||||
* `entries` gives a list of `[directories]{@link BlobResult}` and the `continuationToken` is used for the next listing operation.
|
* `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation.
|
||||||
* `response` will contain information related to this operation.
|
* `response` will contain information related to this operation.
|
||||||
*/
|
*/
|
||||||
listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, callback: ErrorOrResult<BlobService.ListBlobPrefixesResult>): void;
|
listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, callback: ErrorOrResult<BlobService.ListBlobDirectoriesResult>): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Lists a segment containing a collection of blob directory items in the container.
|
* Lists a segment containing a collection of blob directory items whose names begin with the specified prefix in the container.
|
||||||
*
|
*
|
||||||
* @this {BlobService}
|
* @this {BlobService}
|
||||||
* @param {string} container The container name.
|
* @param {string} container The container name.
|
||||||
|
@ -736,10 +736,10 @@ declare module azurestorage {
|
||||||
* The default value is false.
|
* The default value is false.
|
||||||
* @param {errorOrResult} callback `error` will contain information
|
* @param {errorOrResult} callback `error` will contain information
|
||||||
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
|
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
|
||||||
* `entries` gives a list of `[directories]{@link BlobResult}` and the `continuationToken` is used for the next listing operation.
|
* `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation.
|
||||||
* `response` will contain information related to this operation.
|
* `response` will contain information related to this operation.
|
||||||
*/
|
*/
|
||||||
listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult<BlobService.ListBlobPrefixesResult>): void;
|
listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult<BlobService.ListBlobDirectoriesResult>): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Lists a segment containing a collection of blob items in the container.
|
* Lists a segment containing a collection of blob items in the container.
|
||||||
|
@ -3046,8 +3046,8 @@ declare module azurestorage {
|
||||||
continuationToken?: common.ContinuationToken;
|
continuationToken?: common.ContinuationToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ListBlobPrefixesResult {
|
export interface ListBlobDirectoriesResult {
|
||||||
entries: BlobPrefixResult[];
|
entries: BlobDirectoryResult[];
|
||||||
continuationToken?: common.ContinuationToken;
|
continuationToken?: common.ContinuationToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3078,7 +3078,7 @@ declare module azurestorage {
|
||||||
entries: ContainerResult[];
|
entries: ContainerResult[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BlobPrefixResult {
|
export interface BlobDirectoryResult {
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче