Skip to content

Commit

Permalink
fix: upd d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
livehigh committed Aug 12, 2024
1 parent bf6712a commit b02af3a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1314,6 +1314,13 @@ declare namespace COS {
StorageClass?: StorageClass;
/** 包括用户自定义元数据头部后缀和用户自定义元数据信息,将作为对象元数据保存,大小限制为2KB,注意:用户自定义元数据信息支持下划线(_),但用户自定义元数据头部后缀不支持下划线,仅支持减号(-) */
'x-cos-meta-*'?: string;
/** 加密相关 */
ServerSideEncryption?: string;
SSECustomerAlgorithm?: string;
SSECustomerKey?: string;
SSECustomerKeyMD5?: string;
SSEKMSKeyId?: string;
SSEContext?: string;
/** 任务开始上传的回调方法 */
onTaskReady?: (TaskId: COS.TaskId) => void;
onTaskStart?: (TaskInfo: COS.Task) => void;
Expand Down Expand Up @@ -1797,6 +1804,13 @@ Bulk:批量模式,恢复时间为24 - 48小时。 */
StorageClass?: StorageClass;
/** 包括用户自定义元数据头部后缀和用户自定义元数据信息,将作为对象元数据保存,大小限制为2KB,注意:用户自定义元数据信息支持下划线(_),但用户自定义元数据头部后缀不支持下划线,仅支持减号(-) */
'x-cos-meta-*'?: string;
/** 加密相关 */
ServerSideEncryption?: string;
SSECustomerAlgorithm?: string;
SSECustomerKey?: string;
SSECustomerKeyMD5?: string;
SSEKMSKeyId?: string;
SSEContext?: string;
/** 任务开始上传的回调方法 */
onTaskReady?: (TaskId: COS.TaskId) => void;
onTaskStart?: (TaskInfo: COS.Task) => void;
Expand Down

0 comments on commit b02af3a

Please sign in to comment.