@types/ali-oss 6.23.0 → 6.23.1

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 +26 -0
  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: Tue, 06 Jan 2026 13:13:51 GMT
11
+ * Last updated: Mon, 19 Jan 2026 08:02:30 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;
@@ -1210,6 +1219,23 @@ declare class OSS {
1210
1219
  policy: object | string,
1211
1220
  ): OSS.PostObjectParams;
1212
1221
 
1222
+ /**
1223
+ * put symlink
1224
+ */
1225
+ putSymlink(
1226
+ name: string,
1227
+ targetName: string,
1228
+ options?: OSS.PutSymlinkOptions,
1229
+ ): Promise<{ res: OSS.NormalSuccessResponse }>;
1230
+
1231
+ /**
1232
+ * get symlink
1233
+ */
1234
+ getSymlink(
1235
+ name: string,
1236
+ options?: { versionId?: string | undefined; timeout?: number | undefined; headers?: object | undefined },
1237
+ ): Promise<{ targetName: string; res: OSS.NormalSuccessResponse }>;
1238
+
1213
1239
  /************************************************ RTMP Operations *************************************************************/
1214
1240
  /**
1215
1241
  * 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.0",
3
+ "version": "6.23.1",
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": "e36d92cc9b00c5ea7f9ac0fae55e87e854cf022401ed648d91f2e0cf75da60f5",
34
+ "typesPublisherContentHash": "a4b0f1217d487dccaae345d32f659309cfafcbf3963d0ae9f7266d64a7c5d01a",
35
35
  "typeScriptVersion": "5.2"
36
36
  }