yuppi 1.3.4 → 1.3.5

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.
Files changed (2) hide show
  1. package/README.md +1 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -62,6 +62,7 @@ Schemas that can be converted to Yup and JSON Schema.
62
62
  - Contains ready regex patterns
63
63
  - Portable schemas as a JSON file
64
64
  - Works with Yup, stable and secure
65
+ - Schemas can be declared for TypeScript
65
66
  - It is strict and therefore does not accept more than one type
66
67
  - Error messages are ready to be understood but can be edited if desired
67
68
  - Can be converted to Yup and [JSON Schema](https://json-schema.org). JSON Schema is OpenAPI compatible
@@ -162,7 +163,6 @@ Validate the properties with your Yuppi schema.
162
163
  > const schema: Schema = {
163
164
  > display_name: {
164
165
  > type: 'string',
165
- > min: 1,
166
166
  > max: 32,
167
167
  > nullable: false,
168
168
  > required: true
@@ -278,7 +278,6 @@ Convert your Yuppi schema into [JSON Schema](https://json-schema.org).
278
278
  > properties: {
279
279
  > display_name: {
280
280
  > type: "string",
281
- > minLength: 1,
282
281
  > maxLength: 32,
283
282
  > },
284
283
  > username: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yuppi",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Schemas that can be converted to Yup and JSON Schema.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/keift/yuppi",