@types/ali-oss 6.23.1 → 6.23.3

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.
Files changed (3) hide show
  1. ali-oss/README.md +1 -1
  2. ali-oss/index.d.ts +22 -2
  3. 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: Mon, 19 Jan 2026 08:02:30 GMT
11
+ * Last updated: Sun, 15 Feb 2026 05:47:26 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
ali-oss/index.d.ts CHANGED
@@ -317,6 +317,15 @@ declare namespace OSS {
317
317
  res: NormalSuccessResponse;
318
318
  }
319
319
 
320
+ interface ListV2ObjectResult {
321
+ objects: ObjectMeta[];
322
+ prefixes: string[];
323
+ isTruncated: boolean;
324
+ nextContinuationToken: string;
325
+ keyCount: number;
326
+ res: NormalSuccessResponse;
327
+ }
328
+
320
329
  interface PutObjectOptions {
321
330
  /** the operation timeout */
322
331
  timeout?: number | undefined;
@@ -680,7 +689,7 @@ declare namespace OSS {
680
689
  /**
681
690
  * @since 6.12.0
682
691
  */
683
- listV2(query: ListV2ObjectsQuery | null, options?: RequestOptions): Promise<ListObjectResult>;
692
+ listV2(query: ListV2ObjectsQuery | null, options?: RequestOptions): Promise<ListV2ObjectResult>;
684
693
 
685
694
  put(name: string, file: any, options?: PutObjectOptions): Promise<PutObjectResult>;
686
695
 
@@ -1017,7 +1026,7 @@ declare class OSS {
1017
1026
  /**
1018
1027
  * List Objects in the bucket.(V2)
1019
1028
  */
1020
- listV2(query: OSS.ListV2ObjectsQuery | null, options?: OSS.RequestOptions): Promise<OSS.ListObjectResult>;
1029
+ listV2(query: OSS.ListV2ObjectsQuery | null, options?: OSS.RequestOptions): Promise<OSS.ListV2ObjectResult>;
1021
1030
 
1022
1031
  /**
1023
1032
  * Add an object to the bucket.
@@ -1209,6 +1218,17 @@ declare class OSS {
1209
1218
  options?: OSS.RequestOptions,
1210
1219
  ): Promise<OSS.NormalSuccessResponse>;
1211
1220
 
1221
+ /**
1222
+ * Cancel the current multipart upload operation.
1223
+ * If abort is provided, it will also call abortMultipartUpload.
1224
+ */
1225
+ cancel(abort?: { name: string; uploadId: string; options?: OSS.RequestOptions }): void;
1226
+
1227
+ /**
1228
+ * Check if the upload has been cancelled.
1229
+ */
1230
+ isCancel(): boolean;
1231
+
1212
1232
  /**
1213
1233
  * get postObject params.
1214
1234
  */
ali-oss/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/ali-oss",
3
- "version": "6.23.1",
3
+ "version": "6.23.3",
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": "a4b0f1217d487dccaae345d32f659309cfafcbf3963d0ae9f7266d64a7c5d01a",
34
+ "typesPublisherContentHash": "0650119214da6fa4b7651bb18d8610d1c6f888193d629d97fd1af46947400ecf",
35
35
  "typeScriptVersion": "5.2"
36
36
  }