Skip to content

Commit 47714c2

Browse files
committed
Optimize ts declarisions.
1 parent 1600bf2 commit 47714c2

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This project provides a Node.js package and a browser compatible [JavaScript Cli
1111
1212
| SDK Name | Version | Description | NPM/API Reference Links |
1313
|------------------------------------------------------------------------------------------|-------------|------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
14-
| [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) |
14+
| [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) |
1515
| [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) |
1616
| [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) |
1717

typings/azure-storage/azure-storage.d.ts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -671,10 +671,10 @@ declare module azurestorage {
671671
* @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation.
672672
* @param {errorOrResult} callback `error` will contain information
673673
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
674-
* `entries` gives a list of `[directories]{@link DirectoryResult}` and the `continuationToken` is used for the next listing operation.
674+
* `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation.
675675
* `response` will contain information related to this operation.
676676
*/
677-
listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, callback: ErrorOrResult<BlobService.ListBlobPrefixesResult>): void;
677+
listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, callback: ErrorOrResult<BlobService.ListBlobDirectoriesResult>): void;
678678

679679
/**
680680
* Lists a segment containing a collection of blob directory items in the container.
@@ -696,27 +696,27 @@ declare module azurestorage {
696696
* The default value is false.
697697
* @param {errorOrResult} callback `error` will contain information
698698
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
699-
* `entries` gives a list of `[directories]{@link DirectoryResult}` and the `continuationToken` is used for the next listing operation.
699+
* `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation.
700700
* `response` will contain information related to this operation.
701701
*/
702-
listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult<BlobService.ListBlobPrefixesResult>): void;
702+
listBlobDirectoriesSegmented(container: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult<BlobService.ListBlobDirectoriesResult>): void;
703703

704704
/**
705-
* Lists a segment containing a collection of blob items whose names begin with the specified prefix in the container.
705+
* Lists a segment containing a collection of blob directory items whose names begin with the specified prefix in the container.
706706
*
707707
* @this {BlobService}
708708
* @param {string} container The container name.
709709
* @param {string} prefix The prefix of the blob name.
710710
* @param {Object} currentToken A continuation token returned by a previous listing operation. Please use 'null' or 'undefined' if this is the first operation.
711711
* @param {errorOrResult} callback `error` will contain information
712712
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
713-
* `entries` gives a list of `[directories]{@link BlobResult}` and the `continuationToken` is used for the next listing operation.
713+
* `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation.
714714
* `response` will contain information related to this operation.
715715
*/
716-
listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, callback: ErrorOrResult<BlobService.ListBlobPrefixesResult>): void;
716+
listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, callback: ErrorOrResult<BlobService.ListBlobDirectoriesResult>): void;
717717

718718
/**
719-
* Lists a segment containing a collection of blob directory items in the container.
719+
* Lists a segment containing a collection of blob directory items whose names begin with the specified prefix in the container.
720720
*
721721
* @this {BlobService}
722722
* @param {string} container The container name.
@@ -736,10 +736,10 @@ declare module azurestorage {
736736
* The default value is false.
737737
* @param {errorOrResult} callback `error` will contain information
738738
* if an error occurs; otherwise `result` will contain `entries` and `continuationToken`.
739-
* `entries` gives a list of `[directories]{@link BlobResult}` and the `continuationToken` is used for the next listing operation.
739+
* `entries` gives a list of `[directories]{@link BlobDirectoryResult}` and the `continuationToken` is used for the next listing operation.
740740
* `response` will contain information related to this operation.
741741
*/
742-
listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult<BlobService.ListBlobPrefixesResult>): void;
742+
listBlobDirectoriesSegmentedWithPrefix(container: string, prefix: string, currentToken: common.ContinuationToken, options: BlobService.ListBlobPrefixesSegmentedRequestOptions, callback: ErrorOrResult<BlobService.ListBlobDirectoriesResult>): void;
743743

744744
/**
745745
* Lists a segment containing a collection of blob items in the container.
@@ -3046,8 +3046,8 @@ declare module azurestorage {
30463046
continuationToken?: common.ContinuationToken;
30473047
}
30483048

3049-
export interface ListBlobPrefixesResult {
3050-
entries: BlobPrefixResult[];
3049+
export interface ListBlobDirectoriesResult {
3050+
entries: BlobDirectoryResult[];
30513051
continuationToken?: common.ContinuationToken;
30523052
}
30533053

@@ -3078,7 +3078,7 @@ declare module azurestorage {
30783078
entries: ContainerResult[];
30793079
}
30803080

3081-
export interface BlobPrefixResult {
3081+
export interface BlobDirectoryResult {
30823082
name: string;
30833083
}
30843084

0 commit comments

Comments
 (0)