czh-api 1.0.5 → 1.0.6
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.
- package/CHANGELOG.md +9 -0
- package/api.json +39529 -0
- package/dist/commands/build.js +35 -16
- package/package.json +1 -1
- package/src/commands/build.ts +405 -377
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
所有重要的版本更新都会记录在此文件中。
|
|
4
4
|
|
|
5
|
+
## [1.0.6] - 2026-04-14
|
|
6
|
+
|
|
7
|
+
### 修复
|
|
8
|
+
- 修复部分模块在 schema 编译阶段因嵌套字段 `title` 含中文标点、空值或数字开头而生成非法类型别名的问题(如 `export type = ...`、`export type 12 = ...`)。
|
|
9
|
+
- 修复 `expert/groups`、`expert/customers` 等模块在同步解析时出现 `Declaration or statement expected` / `'{` expected` 报错的问题。
|
|
10
|
+
|
|
11
|
+
### 改进
|
|
12
|
+
- 在类型编译前新增 schema 预处理:递归移除嵌套 schema 的 `title`,仅保留顶层 schema 名称作为类型名来源,避免无效标识符影响 `json-schema-to-typescript` 生成结果。
|
|
13
|
+
|
|
5
14
|
## [1.0.5] - 2026-03-19
|
|
6
15
|
|
|
7
16
|
### 修复
|