@hyext/types-ext-sdk-hy 3.12.2-beta.4 → 3.12.2-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +6 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3699,6 +3699,7 @@ type CleanResParams = {
|
|
|
3699
3699
|
* @property status - 状态码,0是成功,非0失败
|
|
3700
3700
|
* @property statusMsg - 状态说明
|
|
3701
3701
|
* @property url - 文件url
|
|
3702
|
+
* @property content - 文件base64内容
|
|
3702
3703
|
* @property name - 文件名
|
|
3703
3704
|
* @property localPath - 文件路径
|
|
3704
3705
|
*/
|
|
@@ -3706,6 +3707,7 @@ type LocalFileInfo = {
|
|
|
3706
3707
|
status: number;
|
|
3707
3708
|
statusMsg: string;
|
|
3708
3709
|
url: string;
|
|
3710
|
+
content: string;
|
|
3709
3711
|
name: string;
|
|
3710
3712
|
localPath: string;
|
|
3711
3713
|
};
|
|
@@ -3717,13 +3719,13 @@ type SaveFileCallback = (info: LocalFileInfo) => void;
|
|
|
3717
3719
|
|
|
3718
3720
|
/**
|
|
3719
3721
|
* 保存文件信息
|
|
3720
|
-
* @property url - 文件url,type是url的时候必填
|
|
3721
|
-
* @property content - 文件内容,type是base64的时候必填
|
|
3722
|
+
* @property [url] - 文件url,type是url的时候必填
|
|
3723
|
+
* @property [content] - 文件内容,type是base64的时候必填
|
|
3722
3724
|
* @property name - 文件名
|
|
3723
3725
|
*/
|
|
3724
3726
|
type SaveFileInfo = {
|
|
3725
|
-
url
|
|
3726
|
-
content
|
|
3727
|
+
url?: string;
|
|
3728
|
+
content?: string;
|
|
3727
3729
|
name: string;
|
|
3728
3730
|
};
|
|
3729
3731
|
|