@aomex/core
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [2.2.0](https://github.com/aomex/aomex/compare/v2.1.0...v2.2.0) (2024-08-05) | ||
### Bug Fixes | ||
* **core:** rule.allOf返回了联合类型 ([061121c](https://github.com/aomex/aomex/commit/061121cd42f6f326a367e98434391aa3e1664379)) | ||
# [2.1.0](https://github.com/aomex/aomex/compare/v2.0.2...v2.1.0) (2024-07-28) | ||
@@ -8,0 +19,0 @@ |
import { OpenAPIV3 } from 'openapi-types'; | ||
export { OpenAPIV3 as OpenAPI } from 'openapi-types'; | ||
import { NonReadonly } from '@aomex/internal-tools'; | ||
import { NonReadonly, Union2Intersection } from '@aomex/internal-tools'; | ||
import * as stream from 'stream'; | ||
@@ -927,5 +927,5 @@ import stream$1 from 'node:stream'; | ||
*/ | ||
allOf<T extends Validator[], A extends Validator, B extends Validator>(rules: [rule1: A, rule2: B, ...others: T]): AllOfValidator<Validator.Infer<A> | Validator.Infer<B> | { | ||
allOf<T extends Validator[], A extends Validator, B extends Validator>(rules: [rule1: A, rule2: B, ...others: T]): AllOfValidator<Validator.Infer<A> & Validator.Infer<B> & Union2Intersection<{ | ||
[K in keyof T]: Validator.Infer<T[K]>; | ||
}[number]>; | ||
}[number]>>; | ||
/** | ||
@@ -932,0 +932,0 @@ * 允许任何类型: |
{ | ||
"name": "@aomex/core", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "aomex核心库", | ||
@@ -38,5 +38,5 @@ "type": "module", | ||
"openapi-types": "^12.1.3", | ||
"@aomex/internal-tools": "^2.1.0" | ||
"@aomex/internal-tools": "^2.2.0" | ||
}, | ||
"scripts": {} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
213779
Updated@aomex/internal-tools@^2.2.0