Skip to content

Commit b84405e

Browse files
livehighzhouxueyun
and
zhouxueyun
authored
Dev/ts (#181)
* 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]>
1 parent c9502d9 commit b84405e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

index.d.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ declare namespace COS {
5151
/** 存储桶的预设 ACL @see https://cloud.tencent.com/document/product/436/30752#.E9.A2.84.E8.AE.BE.E7.9A.84-acl */
5252
type BucketACL = 'private' | 'public-read' | 'public-read-write' | 'authenticated-read';
5353
/** 对象的预设 ACL @see https://cloud.tencent.com/document/product/436/30752#.E9.A2.84.E8.AE.BE.E7.9A.84-acl */
54-
type ObjectACL = 'default' | 'private' | 'public-read' | 'authenticated-read' | 'bucket-owner-read' | 'bucket-owner-full-contro';
54+
type ObjectACL = 'default' | 'private' | 'public-read' | 'authenticated-read' | 'bucket-owner-read' | 'bucket-owner-full-control';
5555
/** 二进制值的字符串,'true' | 'false' */
5656
type BooleanString = 'true' | 'false';
5757
/** 所有者的信息 */
@@ -1474,7 +1474,13 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
14741474
'x-cos-meta-*'?: string
14751475
}
14761476
/** putObjectCopy 接口返回值 */
1477-
interface PutObjectCopyResult extends GeneralResult {}
1477+
interface PutObjectCopyResult extends GeneralResult {
1478+
ETag: string;
1479+
CRC64: string;
1480+
LastModified: string;
1481+
VersionId: string;
1482+
Location: Location;
1483+
}
14781484

14791485
// putObjectTagging
14801486
/** putObjectTagging 接口参数 */

0 commit comments

Comments
 (0)