@types/ali-oss 6.16.3 → 6.16.5
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 +7 -0
- 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: Wed, 05 Oct 2022 07:02:54 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
ali-oss/index.d.ts
CHANGED
|
@@ -445,9 +445,15 @@ declare namespace OSS {
|
|
|
445
445
|
method?: HTTPMethods | undefined;
|
|
446
446
|
/** set the request content type */
|
|
447
447
|
'Content-Type'?: string | undefined;
|
|
448
|
+
/** image process params, will send with x-oss-process e.g.: {process: 'image/resize,w_200'} */
|
|
448
449
|
process?: string | undefined;
|
|
450
|
+
/** traffic limit, range: 819200~838860800 */
|
|
451
|
+
trafficLimit?: number | undefined;
|
|
452
|
+
/** additional signature parameters in url */
|
|
453
|
+
subResource?: object | undefined;
|
|
449
454
|
/** set the response headers for download */
|
|
450
455
|
response?: ResponseHeaderType | undefined;
|
|
456
|
+
/** set the callback for the operation */
|
|
451
457
|
callback?: ObjectCallback | undefined;
|
|
452
458
|
}
|
|
453
459
|
|
|
@@ -1030,6 +1036,7 @@ declare class OSS {
|
|
|
1030
1036
|
* Copy an object from sourceName to name.
|
|
1031
1037
|
*/
|
|
1032
1038
|
copy(name: string, sourceName: string, options?: OSS.CopyObjectOptions): Promise<OSS.CopyAndPutMetaResult>;
|
|
1039
|
+
copy(name: string, sourceName: string, sourceBucket?: string, options?: OSS.CopyObjectOptions): Promise<OSS.CopyAndPutMetaResult>;
|
|
1033
1040
|
|
|
1034
1041
|
/**
|
|
1035
1042
|
* Set an exists object meta.
|
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.5",
|
|
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": "
|
|
23
|
+
"typesPublisherContentHash": "6007df319f6ed856ae479e922117afe6601a52fe8169845f14c4730490938b2c",
|
|
24
|
+
"typeScriptVersion": "4.1"
|
|
25
25
|
}
|