@types/ali-oss 6.16.5 → 6.16.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ali-oss/README.md +1 -1
- ali-oss/index.d.ts +18 -1
- ali-oss/package.json +3 -3
ali-oss/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for ali-oss (https://github.com/aliyun/os
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ali-oss.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 06 Dec 2022 05:33:01 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
ali-oss/index.d.ts
CHANGED
|
@@ -671,7 +671,7 @@ declare namespace OSS {
|
|
|
671
671
|
/**
|
|
672
672
|
* @since 6.12.0
|
|
673
673
|
*/
|
|
674
|
-
listV2(query: ListV2ObjectsQuery | null, options
|
|
674
|
+
listV2(query: ListV2ObjectsQuery | null, options?: RequestOptions): Promise<ListObjectResult>;
|
|
675
675
|
|
|
676
676
|
put(name: string, file: any, options?: PutObjectOptions): Promise<PutObjectResult>;
|
|
677
677
|
|
|
@@ -697,6 +697,8 @@ declare namespace OSS {
|
|
|
697
697
|
|
|
698
698
|
signatureUrl(name: string, options?: SignatureUrlOptions): string;
|
|
699
699
|
|
|
700
|
+
asyncSignatureUrl(name: string, options?: SignatureUrlOptions): Promise<string>;
|
|
701
|
+
|
|
700
702
|
putACL(name: string, acl: ACLType, options?: RequestOptions): Promise<NormalSuccessResponse>;
|
|
701
703
|
|
|
702
704
|
restore(name: string, options?: RequestOptions): Promise<NormalSuccessResponse>;
|
|
@@ -789,6 +791,11 @@ declare namespace OSS {
|
|
|
789
791
|
* Create a signature url for directly download.
|
|
790
792
|
*/
|
|
791
793
|
signatureUrl(name: string, options?: { expires?: string | undefined; timeout?: string | undefined }): string;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Basically the same as signatureUrl, if refreshSTSToken is configured asyncSignatureUrl will refresh stsToken
|
|
797
|
+
*/
|
|
798
|
+
asyncSignatureUrl(name: string, options?: SignatureUrlOptions): Promise<string>;
|
|
792
799
|
}
|
|
793
800
|
}
|
|
794
801
|
|
|
@@ -983,6 +990,11 @@ declare class OSS {
|
|
|
983
990
|
*/
|
|
984
991
|
list(query: OSS.ListObjectsQuery | null, options: OSS.RequestOptions): Promise<OSS.ListObjectResult>;
|
|
985
992
|
|
|
993
|
+
/**
|
|
994
|
+
* List Objects in the bucket.(V2)
|
|
995
|
+
*/
|
|
996
|
+
listV2(query: OSS.ListV2ObjectsQuery | null, options: OSS.RequestOptions): Promise<OSS.ListObjectResult>;
|
|
997
|
+
|
|
986
998
|
/**
|
|
987
999
|
* Add an object to the bucket.
|
|
988
1000
|
*/
|
|
@@ -1053,6 +1065,11 @@ declare class OSS {
|
|
|
1053
1065
|
*/
|
|
1054
1066
|
signatureUrl(name: string, options?: OSS.SignatureUrlOptions): string;
|
|
1055
1067
|
|
|
1068
|
+
/**
|
|
1069
|
+
* Basically the same as signatureUrl, if refreshSTSToken is configured asyncSignatureUrl will refresh stsToken
|
|
1070
|
+
*/
|
|
1071
|
+
asyncSignatureUrl(name: string, options?: OSS.SignatureUrlOptions): Promise<string>;
|
|
1072
|
+
|
|
1056
1073
|
/**
|
|
1057
1074
|
* Set object's ACL.
|
|
1058
1075
|
*/
|
ali-oss/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/ali-oss",
|
|
3
|
-
"version": "6.16.
|
|
3
|
+
"version": "6.16.7",
|
|
4
4
|
"description": "TypeScript definitions for ali-oss",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ali-oss",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {},
|
|
22
22
|
"dependencies": {},
|
|
23
|
-
"typesPublisherContentHash": "
|
|
24
|
-
"typeScriptVersion": "4.
|
|
23
|
+
"typesPublisherContentHash": "bed8cb3cf3410c91d8c468ff2a235f11b8c5d79f802894dc3bb5a65822fa1aa0",
|
|
24
|
+
"typeScriptVersion": "4.2"
|
|
25
25
|
}
|