@aomex/web
Advanced tools
Comparing version 0.0.21 to 0.0.22
# @aomex/web | ||
## 0.0.22 | ||
### Patch Changes | ||
- [`e9996cb`](https://github.com/aomex/aomex/commit/e9996cb33cc0ef70b42147be02fbbe2b4954e022) Thanks [@geekact](https://github.com/geekact)! - feat(validator): docs method provide second parameter determine how to merge document | ||
- Updated dependencies []: | ||
- @aomex/core@0.0.21 | ||
## 0.0.21 | ||
@@ -4,0 +13,0 @@ |
@@ -292,3 +292,3 @@ import { Chain, PureChain, PureMiddlewareToken, Next, Middleware, OpenAPI, Validator, TransformedValidator, magistrate } from '@aomex/core'; | ||
protected config: FileValidator.Options<T>; | ||
docs: (docs: Validator.PartialOpenAPISchema) => this; | ||
docs: (docs: Validator.PartialOpenAPISchema, mode?: Validator.DocumentMergeMode) => this; | ||
optional: () => FileValidator<T | Validator.TOptional>; | ||
@@ -295,0 +295,0 @@ transform: <T1>(fn: Validator.TransformFn<T, T1>) => TransformedValidator<T1>; |
{ | ||
"name": "@aomex/web", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "", | ||
@@ -29,3 +29,3 @@ "type": "module", | ||
"peerDependencies": { | ||
"@aomex/core": "^0.0.20" | ||
"@aomex/core": "^0.0.21" | ||
}, | ||
@@ -60,3 +60,3 @@ "dependencies": { | ||
"devDependencies": { | ||
"@aomex/core": "^0.0.20", | ||
"@aomex/core": "^0.0.21", | ||
"@types/co-body": "^6.1.0", | ||
@@ -63,0 +63,0 @@ "@types/content-type": "^1.1.5", |
Sorry, the diff of this file is not supported yet
103012