zy-react-library 2.0.12 → 2.0.13

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.
@@ -1,8 +1,4 @@
1
- export interface UploadFile {
2
- /** 原始文件对象 */
3
- originFileObj?: File;
4
- [key: string]: any;
5
- }
1
+ import type { UploadFile } from "antd/es/upload";
6
2
 
7
3
  interface UseImportFileOptions {
8
4
  /** 要上传的文件数组 */
@@ -11,11 +7,6 @@ interface UseImportFileOptions {
11
7
  params?: Record<string, any>;
12
8
  }
13
9
 
14
- export interface ImportFileOptions {
15
- url: string;
16
- options: UseImportFileOptions;
17
- }
18
-
19
10
  export type ImportFileFunction = (url: string, options: UseImportFileOptions) => Promise<any>;
20
11
 
21
12
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zy-react-library",
3
3
  "private": false,
4
- "version": "2.0.12",
4
+ "version": "2.0.13",
5
5
  "type": "module",
6
6
  "description": "",
7
7
  "author": "LiuJiaNan",