From 5aaf576e98c0fdfab927a930686a4fb6121e1cf6 Mon Sep 17 00:00:00 2001 From: MaiMai <40591810+WanGe2000@users.noreply.github.com> Date: Mon, 19 Jan 2026 15:58:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#74364=20[@type?= =?UTF-8?q?s/ali-oss]=20Add=20putSymlink=20and=20getSymlink=20definition?= =?UTF-8?q?=20by=20@WanGe2000?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 周翔 --- types/ali-oss/ali-oss-tests.ts | 12 ++++++++++++ types/ali-oss/index.d.ts | 26 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/types/ali-oss/ali-oss-tests.ts b/types/ali-oss/ali-oss-tests.ts index f5139c08ae7dec..e13774b14eab4c 100644 --- a/types/ali-oss/ali-oss-tests.ts +++ b/types/ali-oss/ali-oss-tests.ts @@ -10,6 +10,18 @@ const ossOptions: OSS.Options = { const client = new OSS(ossOptions); +client.putSymlink("newfile.png", "sourcefile.png"); +client.putSymlink("newfile.png", "sourcefile.png", { + storageClass: "IA", + meta: { + uid: 1, + pid: 0, + }, +}); + +client.getSymlink("newfile.png"); +client.getSymlink("newfile.png", { versionId: "123" }); + client.listV2({ "max-keys": 1000 }); client.copy("newfile.png", "sourcefile.png"); client.copy("newfile.png", "sourcefile.png", { timeout: 1000 }); diff --git a/types/ali-oss/index.d.ts b/types/ali-oss/index.d.ts index 38c7b68ba2bb0d..8da606a460da83 100644 --- a/types/ali-oss/index.d.ts +++ b/types/ali-oss/index.d.ts @@ -581,6 +581,15 @@ declare namespace OSS { uploads: Upload[]; } + interface PutSymlinkOptions { + /** the storage type include (Standard,IA,Archive) */ + storageClass?: string | undefined; + /** user meta, will send with x-oss-meta- prefix string */ + meta?: UserMeta | undefined; + /** extra headers */ + headers?: object | undefined; + } + interface PutChannelConf { Description?: string | undefined; Status?: string | undefined; @@ -1210,6 +1219,23 @@ declare class OSS { policy: object | string, ): OSS.PostObjectParams; + /** + * put symlink + */ + putSymlink( + name: string, + targetName: string, + options?: OSS.PutSymlinkOptions, + ): Promise<{ res: OSS.NormalSuccessResponse }>; + + /** + * get symlink + */ + getSymlink( + name: string, + options?: { versionId?: string | undefined; timeout?: number | undefined; headers?: object | undefined }, + ): Promise<{ targetName: string; res: OSS.NormalSuccessResponse }>; + /************************************************ RTMP Operations *************************************************************/ /** * Create a live channel. From 305bd35f0bbd10999b52130bf7107a1c234e2f5d Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Mon, 19 Jan 2026 08:16:23 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A4=96=20Update=20CODEOWNERS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/CODEOWNERS | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4e60407fecbd90..39b588adbaeb3e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -3542,11 +3542,11 @@ /types/jalaali-js/ @alitaheri /types/japanese-characters/ @peterblazejewicz /types/japanese-holidays/ @syamatoo @peterblazejewicz -/types/jasmine/ @borisyankov @theodorejb @lukas-zech-software @Engineer2B @cyungmann @Roaders @fdim @kolodny @stephenfarrar @djungowski @chivesrs @kirjs @Semigradsky +/types/jasmine/ @borisyankov @theodorejb @lukas-zech-software @Engineer2B @Roaders @fdim @kolodny @stephenfarrar @djungowski @chivesrs @kirjs @Semigradsky /types/jasmine/v1/ @borisyankov -/types/jasmine/v2/ @borisyankov @theodorejb @davidparsson @gmoothart @lukas-zech-software @Engineer2B @cyungmann @devoto13 @fdim -/types/jasmine/v3/ @borisyankov @theodorejb @davidparsson @lukas-zech-software @Engineer2B @cyungmann @Roaders @devoto13 @fdim @kolodny @stephenfarrar @djungowski @chivesrs @kirjs @Semigradsky -/types/jasmine/v4/ @borisyankov @theodorejb @davidparsson @lukas-zech-software @Engineer2B @cyungmann @Roaders @devoto13 @fdim @kolodny @stephenfarrar @djungowski @chivesrs @kirjs +/types/jasmine/v2/ @borisyankov @theodorejb @davidparsson @gmoothart @lukas-zech-software @Engineer2B @devoto13 @fdim +/types/jasmine/v3/ @borisyankov @theodorejb @davidparsson @lukas-zech-software @Engineer2B @Roaders @devoto13 @fdim @kolodny @stephenfarrar @djungowski @chivesrs @kirjs @Semigradsky +/types/jasmine/v4/ @borisyankov @theodorejb @davidparsson @lukas-zech-software @Engineer2B @Roaders @devoto13 @fdim @kolodny @stephenfarrar @djungowski @chivesrs @kirjs /types/jasmine-ajax/ @lgrignon @jgonggrijp /types/jasmine-data-provider/ @tlaziuk /types/jasmine-data_driven_tests/ @AnthonyMacKinnon @@ -4154,7 +4154,6 @@ /types/leaflet-editable/v0/ @dalie /types/leaflet-freedraw/ @Esurnir /types/leaflet-freehandshapes/ @cynthiameng -/types/leaflet-fullscreen/ @DenisCarriere @bjubes /types/leaflet-geocoder-mapzen/ @leezu /types/leaflet-gpx/ @soucekv @molnarm /types/leaflet-groupedlayercontrol/ @ryanc16 @@ -4175,6 +4174,7 @@ /types/leaflet.awesome-markers/v0/ @Odrin @sebek64 /types/leaflet.chinatmsproviders/ @TwoKe945 /types/leaflet.featuregroup.subgroup/ @drtomato +/types/leaflet.fullscreen/ @wcomartin @danmana /types/leaflet.gridlayer.googlemutant/ @ernest-rhinozeros /types/leaflet.heat/ @onderceylan /types/leaflet.icon.glyph/ @BePo65 @@ -5247,7 +5247,7 @@ /types/node-zookeeper-client/ @plantain-00 @jessezhang91 /types/node-zopfli/ @Alorel /types/node-zopfli-es/ @Alorel -/types/nodegit/ @dolanmiu @tniessen @pvigier @IGI-111 @DaGaMs @julien-c @jmurzy @nikwen +/types/nodegit/ @dolanmiu @tniessen @pvigier @IGI-111 @DaGaMs @julien-c @jmurzy /types/nodejs-license-file/ @trodi /types/nodemailer/ @rogierschouten @dex4er @bioball /types/nodemailer/v6/ @rogierschouten @dex4er @bioball @@ -8236,6 +8236,7 @@ /types/vusion__webfonts-generator/ @atlowChemi /types/vxna__mini-html-webpack-template/ @peterblazejewicz /types/w2ui/ @Ptival +/types/w3c-capture-all-screens/ @paulinagacek @GrapeGreen @shangl /types/w3c-controlled-frame/ @paulinagacek @GrapeGreen @shangl /types/w3c-css-typed-object-model-level-1/ @sandersn /types/w3c-direct-sockets/ @paulinagacek @GrapeGreen @shangl