@midwayjs/validate 3.11.11 → 3.11.15

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,4 +1,4 @@
1
- export interface Dto<T> extends Function {
1
+ export interface Dto<T> {
2
2
  new (): T;
3
3
  }
4
4
  export declare function PickDto<T, K extends keyof T>(dto: Dto<T>, keys: K[]): Dto<Pick<T, (typeof keys)[number]>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/validate",
3
- "version": "3.11.11",
3
+ "version": "3.11.15",
4
4
  "description": "Midway Component for mongoose",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
@@ -23,14 +23,14 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@midwayjs/i18n": "^3.11.11",
26
+ "@midwayjs/i18n": "^3.11.15",
27
27
  "joi": "17.9.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@midwayjs/core": "^3.11.11",
31
- "@midwayjs/express": "^3.11.11",
32
- "@midwayjs/koa": "^3.11.11",
33
- "@midwayjs/mock": "^3.11.11"
30
+ "@midwayjs/core": "^3.11.15",
31
+ "@midwayjs/express": "^3.11.15",
32
+ "@midwayjs/koa": "^3.11.15",
33
+ "@midwayjs/mock": "^3.11.15"
34
34
  },
35
- "gitHead": "3d2e85a212cfecb5cecb8ab45134fa361fe6cba2"
35
+ "gitHead": "a4054247f3b9f4fc8ba51684c002606d849e0bd3"
36
36
  }