@types/ali-oss 6.16.7 → 6.16.8

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 +6 -2
  3. 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: Tue, 06 Dec 2022 05:33:01 GMT
11
+ * Last updated: Sat, 13 May 2023 02:02:51 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
ali-oss/index.d.ts CHANGED
@@ -420,6 +420,10 @@ declare namespace OSS {
420
420
  res: NormalSuccessResponse;
421
421
  }
422
422
 
423
+ interface DeleteResult {
424
+ res: NormalSuccessResponse;
425
+ }
426
+
423
427
  interface DeleteMultiOptions {
424
428
  /** quite mode or verbose mode, default is false */
425
429
  quiet?: boolean | undefined;
@@ -687,7 +691,7 @@ declare namespace OSS {
687
691
 
688
692
  getStream(name?: string, options?: GetStreamOptions): Promise<GetStreamResult>;
689
693
 
690
- delete(name: string, options?: RequestOptions): Promise<NormalSuccessResponse>;
694
+ delete(name: string, options?: RequestOptions): Promise<DeleteResult>;
691
695
 
692
696
  copy(name: string, sourceName: string, options?: CopyObjectOptions): Promise<CopyAndPutMetaResult>;
693
697
 
@@ -1042,7 +1046,7 @@ declare class OSS {
1042
1046
  /**
1043
1047
  * Delete an object from the bucket.
1044
1048
  */
1045
- delete(name: string, options?: OSS.RequestOptions): Promise<OSS.NormalSuccessResponse>;
1049
+ delete(name: string, options?: OSS.RequestOptions): Promise<OSS.DeleteResult>;
1046
1050
 
1047
1051
  /**
1048
1052
  * Copy an object from sourceName to name.
ali-oss/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/ali-oss",
3
- "version": "6.16.7",
3
+ "version": "6.16.8",
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": "bed8cb3cf3410c91d8c468ff2a235f11b8c5d79f802894dc3bb5a65822fa1aa0",
24
- "typeScriptVersion": "4.2"
23
+ "typesPublisherContentHash": "3096883ec2323f93aea0e7b9f9d74e5ca35577cf1af69a19acf8b92bcf4f695e",
24
+ "typeScriptVersion": "4.3"
25
25
  }