@fastcar/koa 0.1.12 → 0.1.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/index.d.ts CHANGED
@@ -60,4 +60,7 @@ export function KoaStatic(app: FastCarApplication): MiddleWareType;
60
60
  //支持api说明
61
61
  export function Swagger(app: FastCarApplication): MiddleWareType;
62
62
 
63
+ //增强multi文件解析
64
+ export function KoaMulter(app: FastCarApplication): MiddleWareType;
65
+
63
66
  export * from "./src/type/DesignMeta";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastcar/koa",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "homepage": "https://github.com/williamDazhangyu/fast-car",
5
5
  "description": "fastcar框架下对koa的包装",
6
6
  "main": "target/index.js",
package/src/annotation.ts CHANGED
@@ -8,7 +8,6 @@ import PatchMapping from "./annotation/router/PatchMapping";
8
8
  import PostMapping from "./annotation/router/PostMapping";
9
9
  import PutMapping from "./annotation/router/PutMapping";
10
10
  import RequestMapping from "./annotation/router/RequestMapping";
11
- import KoaMulter from "./middleware/KoaMulter";
12
11
 
13
12
  //声明简化的方式
14
13
  const GET = GetMapping;
@@ -41,5 +40,4 @@ export {
41
40
  PATCH,
42
41
  ALL,
43
42
  REQUEST,
44
- KoaMulter,
45
43
  };