@tsofist/schema-forge 4.2.1 → 4.2.2

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 +1 @@
1
- {"version":3,"file":"kw-common.d.ts","sourceRoot":"","sources":["../../src/schema-registry/kw-common.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,KAAK,CAAC;AAQ7C,eAAO,MAAM,iBAAiB,EAAE,SAAS,iBAAiB,EA2FtD,CAAC"}
1
+ {"version":3,"file":"kw-common.d.ts","sourceRoot":"","sources":["../../src/schema-registry/kw-common.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,KAAK,CAAC;AAO7C,eAAO,MAAM,iBAAiB,EAAE,SAAS,iBAAiB,EA2FtD,CAAC"}
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SFRCommonKeywords = void 0;
4
4
  const FakerModulePattern = '^[a-zA-Z.]+$';
5
5
  const NP_ENUM_KEY = '^[a-zA-Z0-9-\\._]+$';
6
- const NP_ENUM_VALUE = '^[a-zA-Z0-9-\\._:]+$';
7
6
  exports.SFRCommonKeywords = [
8
7
  {
9
8
  keyword: 'version',
@@ -55,7 +54,7 @@ exports.SFRCommonKeywords = [
55
54
  minItems: 1,
56
55
  maxItems: 3,
57
56
  items: [
58
- { title: 'value', type: ['string', 'number'], pattern: NP_ENUM_VALUE },
57
+ { title: 'value', type: ['string', 'number'] },
59
58
  { title: 'note', type: 'string' },
60
59
  { title: 'comment', type: 'string' },
61
60
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsofist/schema-forge",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "Generate JSON schema from TypeScript types",
5
5
  "author": "Andrew Berdnikov <tsofistgudmen@gmail.com>",
6
6
  "license": "LGPL-3.0",