@hyext/types-ext-sdk-hy 3.12.0-beta.8 → 3.12.0-beta.9
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 +3 -9
- 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 LocalFileInfo = {
|
|
3714
3714
|
status: number;
|
|
3715
3715
|
statusMsg: string;
|
|
3716
3716
|
url: string;
|
|
@@ -3721,22 +3721,16 @@ type SaveFileInfo = {
|
|
|
3721
3721
|
/**
|
|
3722
3722
|
* @param info - 保存结果
|
|
3723
3723
|
*/
|
|
3724
|
-
type SaveFileCallback = (info:
|
|
3724
|
+
type SaveFileCallback = (info: LocalFileInfo) => void;
|
|
3725
3725
|
|
|
3726
3726
|
/**
|
|
3727
|
-
*
|
|
3728
|
-
* @property status - 状态码,0是成功,非0失败
|
|
3729
|
-
* @property statusMsg - 状态说明
|
|
3727
|
+
* 保存文件信息
|
|
3730
3728
|
* @property url - 文件url
|
|
3731
3729
|
* @property name - 文件名
|
|
3732
|
-
* @property localPath - 文件路径
|
|
3733
3730
|
*/
|
|
3734
3731
|
type SaveFileInfo = {
|
|
3735
|
-
status: number;
|
|
3736
|
-
statusMsg: string;
|
|
3737
3732
|
url: string;
|
|
3738
3733
|
name: string;
|
|
3739
|
-
localPath: string;
|
|
3740
3734
|
};
|
|
3741
3735
|
|
|
3742
3736
|
/**
|