Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions types/ali-oss/ali-oss-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
26 changes: 26 additions & 0 deletions types/ali-oss/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down