@travetto/schema
Advanced tools
Comparing version
{ | ||
"name": "@travetto/schema", | ||
"version": "6.0.0-rc.2", | ||
"version": "6.0.0", | ||
"description": "Data type registry for runtime validation, reflection and binding.", | ||
@@ -30,6 +30,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@travetto/registry": "^6.0.0-rc.2" | ||
"@travetto/registry": "^6.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@travetto/transformer": "^6.0.0-rc.3" | ||
"@travetto/transformer": "^6.0.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "peerDependenciesMeta": { |
@@ -28,2 +28,3 @@ <!-- This file was generated by @travetto/doc and should not be modified directly --> | ||
* `examples` - A set of examples as [JSON](https://www.json.org) or [YAML](https://en.wikipedia.org/wiki/YAML) | ||
The `title` will be picked up from the [JSDoc](http://usejsdoc.org/about-getting-started.html) comments, and additionally all fields can be set using the [@Describe](https://github.com/travetto/travetto/tree/main/module/schema/src/decorator/common.ts#L15) decorator. | ||
@@ -89,2 +90,3 @@ | ||
* [@SubTypeField](https://github.com/travetto/travetto/tree/main/module/schema/src/decorator/field.ts#L204) allows for promoting a given field as the owner of the sub type discriminator (defaults to `type`). | ||
Additionally, schemas can be nested to form more complex data structures that are able to bound and validated. | ||
@@ -95,2 +97,3 @@ | ||
* `examples` - A set of examples as [JSON](https://www.json.org) or [YAML](https://en.wikipedia.org/wiki/YAML) | ||
And similarly, the `description` will be picked up from the [JSDoc](http://usejsdoc.org/about-getting-started.html) comments, and additionally all fields can be set using the [@Describe](https://github.com/travetto/travetto/tree/main/module/schema/src/decorator/common.ts#L15) decorator. | ||
@@ -97,0 +100,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
-100%410
0.74%103977
-0.01%Updated