@tsofist/schema-forge 5.2.1 → 5.2.3
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,11 +1,11 @@
|
|
|
1
1
|
export declare const TMP_FILES_SUFFIX = ".schema-forge.temporary-generated.tmp";
|
|
2
|
-
export declare const SFG_EXTRA_TAGS: readonly ["apiInterface", "apiProperty", "apiMethod", "apiMember", "dbFK", "dbEntity", "dbColumn", "dbIndex", "dbEnum", "enumAnnotation", "enumMember", "spec", "faker", "version", "hash", "repository", "package"];
|
|
2
|
+
export declare const SFG_EXTRA_TAGS: readonly ["interface", "property", "method", "member", "apiInterface", "apiProperty", "apiMethod", "apiMember", "dbFK", "dbEntity", "dbColumn", "dbIndex", "dbEnum", "enumAnnotation", "enumMember", "spec", "faker", "version", "hash", "repository", "package"];
|
|
3
3
|
export declare const SFG_CONFIG_DEFAULTS: {
|
|
4
4
|
readonly additionalProperties: false;
|
|
5
5
|
readonly discriminatorType: undefined;
|
|
6
6
|
readonly encodeRefs: false;
|
|
7
7
|
readonly expose: "export";
|
|
8
|
-
readonly extraTags: ("spec" | "hash" | "dbEntity" | "dbFK" | "dbColumn" | "dbIndex" | "dbEnum" | "enumAnnotation" | "enumMember" | "version" | "package" | "repository" | "apiInterface" | "apiProperty" | "apiMethod" | "apiMember" | "faker")[];
|
|
8
|
+
readonly extraTags: ("spec" | "hash" | "dbEntity" | "dbFK" | "dbColumn" | "dbIndex" | "dbEnum" | "enumAnnotation" | "enumMember" | "version" | "package" | "repository" | "interface" | "property" | "method" | "member" | "apiInterface" | "apiProperty" | "apiMethod" | "apiMember" | "faker")[];
|
|
9
9
|
readonly functions: "hide";
|
|
10
10
|
readonly markdownDescription: false;
|
|
11
11
|
readonly skipTypeCheck: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/schema-generator/types.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,0CAA0C,CAAC;AAExE,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/schema-generator/types.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,0CAA0C,CAAC;AAExE,eAAO,MAAM,cAAc,mQA6BjB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;CAWL,CAAC;AAE5B,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtF,eAAO,MAAM,oBAAoB;;;CAGN,CAAC"}
|
|
@@ -3,7 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SFG_CONFIG_MANDATORY = exports.SFG_CONFIG_DEFAULTS = exports.SFG_EXTRA_TAGS = exports.TMP_FILES_SUFFIX = void 0;
|
|
4
4
|
exports.TMP_FILES_SUFFIX = '.schema-forge.temporary-generated.tmp';
|
|
5
5
|
exports.SFG_EXTRA_TAGS = [
|
|
6
|
-
//
|
|
6
|
+
// todo legacy names -->
|
|
7
|
+
'interface',
|
|
8
|
+
'property',
|
|
9
|
+
'method',
|
|
10
|
+
'member',
|
|
11
|
+
// <--
|
|
7
12
|
'apiInterface',
|
|
8
13
|
'apiProperty',
|
|
9
14
|
'apiMethod',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kw-api.d.ts","sourceRoot":"","sources":["../../src/schema-registry/kw-api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,KAAK,CAAC;AAQ7C,eAAO,MAAM,wBAAwB,EAAE,SAAS,iBAAiB,
|
|
1
|
+
{"version":3,"file":"kw-api.d.ts","sourceRoot":"","sources":["../../src/schema-registry/kw-api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,KAAK,CAAC;AAQ7C,eAAO,MAAM,wBAAwB,EAAE,SAAS,iBAAiB,EAyB7D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsofist/schema-forge",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.3",
|
|
4
4
|
"description": "Generate JSON schema from TypeScript types",
|
|
5
5
|
"author": "Andrew Berdnikov <tsofistgudmen@gmail.com>",
|
|
6
6
|
"license": "LGPL-3.0",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"test:watch": "jest --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dbml/core": "~3.
|
|
23
|
+
"@dbml/core": "~3.14.1",
|
|
24
24
|
"@faker-js/faker": "^9.9.0",
|
|
25
|
-
"@tsofist/stem": "^5.
|
|
25
|
+
"@tsofist/stem": "^5.9.0",
|
|
26
26
|
"@ungap/structured-clone": "^1.3.0",
|
|
27
27
|
"ajv": "^8.17.1",
|
|
28
28
|
"ajv-formats": "^3.0.1",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"@types/node": "^20.19.0",
|
|
39
39
|
"@types/supertest": "^6.0.3",
|
|
40
40
|
"@types/ungap__structured-clone": "^1.2.0",
|
|
41
|
-
"jest": "~30.
|
|
41
|
+
"jest": "~30.2.0",
|
|
42
42
|
"rimraf": "^6.0.1",
|
|
43
43
|
"supertest": "^7.1.4",
|
|
44
|
-
"ts-jest": "~29.4.
|
|
45
|
-
"typescript": "~5.9.
|
|
44
|
+
"ts-jest": "~29.4.4",
|
|
45
|
+
"typescript": "~5.9.3"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"registry": "https://registry.npmjs.org/",
|