@hyext/types-ext-sdk-hy 3.12.0-beta.7 → 3.12.0-beta.8
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 +10 -12
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3710,7 +3710,7 @@ type CleanResParams = {
|
|
|
3710
3710
|
* @property name - 文件名
|
|
3711
3711
|
* @property localPath - 文件路径
|
|
3712
3712
|
*/
|
|
3713
|
-
type
|
|
3713
|
+
type SaveFileInfo = {
|
|
3714
3714
|
status: number;
|
|
3715
3715
|
statusMsg: string;
|
|
3716
3716
|
url: string;
|
|
@@ -3719,26 +3719,24 @@ type LocalFileInfo = {
|
|
|
3719
3719
|
};
|
|
3720
3720
|
|
|
3721
3721
|
/**
|
|
3722
|
-
*
|
|
3723
|
-
* @property info - 本地文件列表
|
|
3724
|
-
*/
|
|
3725
|
-
type SaveFile = {
|
|
3726
|
-
info: LocalFileInfo;
|
|
3727
|
-
};
|
|
3728
|
-
|
|
3729
|
-
/**
|
|
3730
|
-
* @param rsp - 保存结果
|
|
3722
|
+
* @param info - 保存结果
|
|
3731
3723
|
*/
|
|
3732
|
-
type SaveFileCallback = (
|
|
3724
|
+
type SaveFileCallback = (info: SaveFileInfo) => void;
|
|
3733
3725
|
|
|
3734
3726
|
/**
|
|
3735
|
-
*
|
|
3727
|
+
* 本地文件信息
|
|
3728
|
+
* @property status - 状态码,0是成功,非0失败
|
|
3729
|
+
* @property statusMsg - 状态说明
|
|
3736
3730
|
* @property url - 文件url
|
|
3737
3731
|
* @property name - 文件名
|
|
3732
|
+
* @property localPath - 文件路径
|
|
3738
3733
|
*/
|
|
3739
3734
|
type SaveFileInfo = {
|
|
3735
|
+
status: number;
|
|
3736
|
+
statusMsg: string;
|
|
3740
3737
|
url: string;
|
|
3741
3738
|
name: string;
|
|
3739
|
+
localPath: string;
|
|
3742
3740
|
};
|
|
3743
3741
|
|
|
3744
3742
|
/**
|