@wzyjs/types 0.2.9 → 0.2.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.
package/.fatherrc.ts CHANGED
@@ -3,7 +3,4 @@ import { defineConfig } from 'father'
3
3
  export default defineConfig({
4
4
  esm: { input: 'src' },
5
5
  cjs: { input: 'src' },
6
- prebundle: {
7
- deps: {}
8
- },
9
6
  })
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@wzyjs/types",
3
- "version": "0.2.9",
3
+ "version": "0.2.13",
4
4
  "description": "description",
5
5
  "author": "wzy",
6
- "license": "ISC",
7
6
  "scripts": {
8
7
  "dev": "father dev",
9
8
  "build": "father build"
@@ -14,6 +13,13 @@
14
13
  "require": "./dist/cjs/index.js"
15
14
  }
16
15
  },
16
+ "typesVersions": {
17
+ "*": {
18
+ "*": [
19
+ "./dist/esm/index.d.js"
20
+ ]
21
+ }
22
+ },
17
23
  "dependencies": {
18
24
  "father": "^4.4.5"
19
25
  },
@@ -24,5 +30,5 @@
24
30
  "type": "git",
25
31
  "url": "https://gitee.com/wang-zhenyu/app.git"
26
32
  },
27
- "gitHead": "24d7d21aecb4236ea4fdfea572069e449e7676d6"
33
+ "gitHead": "71a13cabc07c9a897ae1981dbb9c6120c01b1004"
28
34
  }
package/src/api.ts CHANGED
@@ -7,12 +7,6 @@ export interface RequestRes<D = any> {
7
7
  data: D,
8
8
  }
9
9
 
10
- // 分页的类型
11
- export interface Pagination {
12
- current?: number,
13
- pageSize?: number,
14
- }
15
-
16
10
  // 后端排序参数的类型
17
11
  export type Order = { [key: string]: 'asc' | 'desc' }
18
12
 
package/src/other.ts CHANGED
@@ -7,3 +7,9 @@ export interface Option<V extends string | number = string> {
7
7
  value: V,
8
8
  children?: Option<V>[],
9
9
  }
10
+
11
+ // 分页的类型
12
+ export interface Pagination {
13
+ current?: number,
14
+ pageSize?: number,
15
+ }