@types/ali-oss 6.23.0 → 6.23.2
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 +37 -0
- ali-oss/package.json +2 -2
ali-oss/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for ali-oss (https://github.com/ali-sdk/a
|
|
|
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, 28 Jan 2026 10:42:02 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
ali-oss/index.d.ts
CHANGED
|
@@ -581,6 +581,15 @@ declare namespace OSS {
|
|
|
581
581
|
uploads: Upload[];
|
|
582
582
|
}
|
|
583
583
|
|
|
584
|
+
interface PutSymlinkOptions {
|
|
585
|
+
/** the storage type include (Standard,IA,Archive) */
|
|
586
|
+
storageClass?: string | undefined;
|
|
587
|
+
/** user meta, will send with x-oss-meta- prefix string */
|
|
588
|
+
meta?: UserMeta | undefined;
|
|
589
|
+
/** extra headers */
|
|
590
|
+
headers?: object | undefined;
|
|
591
|
+
}
|
|
592
|
+
|
|
584
593
|
interface PutChannelConf {
|
|
585
594
|
Description?: string | undefined;
|
|
586
595
|
Status?: string | undefined;
|
|
@@ -1200,6 +1209,17 @@ declare class OSS {
|
|
|
1200
1209
|
options?: OSS.RequestOptions,
|
|
1201
1210
|
): Promise<OSS.NormalSuccessResponse>;
|
|
1202
1211
|
|
|
1212
|
+
/**
|
|
1213
|
+
* Cancel the current multipart upload operation.
|
|
1214
|
+
* If abort is provided, it will also call abortMultipartUpload.
|
|
1215
|
+
*/
|
|
1216
|
+
cancel(abort?: { name: string; uploadId: string; options?: OSS.RequestOptions }): void;
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* Check if the upload has been cancelled.
|
|
1220
|
+
*/
|
|
1221
|
+
isCancel(): boolean;
|
|
1222
|
+
|
|
1203
1223
|
/**
|
|
1204
1224
|
* get postObject params.
|
|
1205
1225
|
*/
|
|
@@ -1210,6 +1230,23 @@ declare class OSS {
|
|
|
1210
1230
|
policy: object | string,
|
|
1211
1231
|
): OSS.PostObjectParams;
|
|
1212
1232
|
|
|
1233
|
+
/**
|
|
1234
|
+
* put symlink
|
|
1235
|
+
*/
|
|
1236
|
+
putSymlink(
|
|
1237
|
+
name: string,
|
|
1238
|
+
targetName: string,
|
|
1239
|
+
options?: OSS.PutSymlinkOptions,
|
|
1240
|
+
): Promise<{ res: OSS.NormalSuccessResponse }>;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* get symlink
|
|
1244
|
+
*/
|
|
1245
|
+
getSymlink(
|
|
1246
|
+
name: string,
|
|
1247
|
+
options?: { versionId?: string | undefined; timeout?: number | undefined; headers?: object | undefined },
|
|
1248
|
+
): Promise<{ targetName: string; res: OSS.NormalSuccessResponse }>;
|
|
1249
|
+
|
|
1213
1250
|
/************************************************ RTMP Operations *************************************************************/
|
|
1214
1251
|
/**
|
|
1215
1252
|
* Create a live channel.
|
ali-oss/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/ali-oss",
|
|
3
|
-
"version": "6.23.
|
|
3
|
+
"version": "6.23.2",
|
|
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",
|
|
@@ -31,6 +31,6 @@
|
|
|
31
31
|
"scripts": {},
|
|
32
32
|
"dependencies": {},
|
|
33
33
|
"peerDependencies": {},
|
|
34
|
-
"typesPublisherContentHash": "
|
|
34
|
+
"typesPublisherContentHash": "3cae0f5f3553d80d8810120661d051f79f1073011ffd08827f86f01a9f8c2795",
|
|
35
35
|
"typeScriptVersion": "5.2"
|
|
36
36
|
}
|