Skip to content

Commit

Permalink
Dev/ts (#181)
Browse files Browse the repository at this point in the history
* feat: 新增cov命令

* fix: 补充d.ts

* feat: 补充ci智能语音和云查毒接口

* fix: 修复Body类型

* fix: 更新依赖库版本

* upd: version

* fix: 恢复版本

* upd: 新增单测

* upd: 新增单测

* upd: 新增单测

* upd: 新增单测

* upd: 补充单测

* upd: 补充单测

* upd: 补充单测

* feat: uploadSliceItem透传headers

* upd: 补充单测

* upd: 补充单测

* upd: 更好xml2js

* feat: 默认关闭FollowRedirect

* upd: 补充图片处理、存储桶配置、文档处理、文件处理nodejs sdk (merge request !3)

Squash merge branch 'dev/xueyunzhou' into 'master'
upd: 补充图片处理、存储桶配置、文档处理、文件处理nodejs sdk

* fix: 更新XMLParser配置

* fix: 更新XMLParser配置

* fix: 优化d.ts

* feat: 优化万象demo (merge request !4)

Squash merge branch 'dev/demo' into 'master'

* feat: 更新依赖

* fix: 优化单测

* fix: 修复分块复制headers不正确

* fix: 修复d.ts

---------

Co-authored-by: zhouxueyun <[email protected]>
  • Loading branch information
livehigh and zhouxueyun authored Aug 3, 2023
1 parent c9502d9 commit b84405e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ declare namespace COS {
/** 存储桶的预设 ACL @see https://cloud.tencent.com/document/product/436/30752#.E9.A2.84.E8.AE.BE.E7.9A.84-acl */
type BucketACL = 'private' | 'public-read' | 'public-read-write' | 'authenticated-read';
/** 对象的预设 ACL @see https://cloud.tencent.com/document/product/436/30752#.E9.A2.84.E8.AE.BE.E7.9A.84-acl */
type ObjectACL = 'default' | 'private' | 'public-read' | 'authenticated-read' | 'bucket-owner-read' | 'bucket-owner-full-contro';
type ObjectACL = 'default' | 'private' | 'public-read' | 'authenticated-read' | 'bucket-owner-read' | 'bucket-owner-full-control';
/** 二进制值的字符串,'true' | 'false' */
type BooleanString = 'true' | 'false';
/** 所有者的信息 */
Expand Down Expand Up @@ -1474,7 +1474,13 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
'x-cos-meta-*'?: string
}
/** putObjectCopy 接口返回值 */
interface PutObjectCopyResult extends GeneralResult {}
interface PutObjectCopyResult extends GeneralResult {
ETag: string;
CRC64: string;
LastModified: string;
VersionId: string;
Location: Location;
}

// putObjectTagging
/** putObjectTagging 接口参数 */
Expand Down

0 comments on commit b84405e

Please sign in to comment.