Skip to content

feat: 补充schema工具#26

Merged
cmtlyt merged 3 commits intoversion/0.6.0from
feature/schema-tools
May 10, 2025
Merged

feat: 补充schema工具#26
cmtlyt merged 3 commits intoversion/0.6.0from
feature/schema-tools

Conversation

@cmtlyt
Copy link
Owner

@cmtlyt cmtlyt commented Apr 29, 2025

defineScheme 的参数中注入 stringType, numberType, booleanType, getArrayType, getObjectType 等属性或方法

@cmtlyt cmtlyt changed the base branch from main to version/0.6.0 April 29, 2025 02:58
hahaXiaoxin and others added 2 commits May 7, 2025 10:29
* fix: 修复了getObjectType中对properties的错误判断

* feat: 抽离了isObject方法

* feat: 通过Object.keys遍历替代forin,防止遍历到原型链上的键
@palespring
Copy link
Collaborator

agree

@cmtlyt cmtlyt merged commit 900f389 into version/0.6.0 May 10, 2025
2 checks passed
@cmtlyt cmtlyt deleted the feature/schema-tools branch May 10, 2025 03:20
cmtlyt added a commit that referenced this pull request May 16, 2025
* chore: 更新依赖 (#23)

Co-authored-by: cmtlyt <cmtlyt@163.com>

* fix: 修正了错误的变量命名 (#31)

Co-authored-by: cmtlyt <cmtlyt@163.com>

* feat: 补充schema工具 (#26)

* feat: 新增schema工具

* fix: 修复了getObjectType中对properties的错误判断 (#29)

* fix: 修复了getObjectType中对properties的错误判断

* feat: 抽离了isObject方法

* feat: 通过Object.keys遍历替代forin,防止遍历到原型链上的键

---------

Co-authored-by: cmtlyt <cmtlyt@163.com>
Co-authored-by: xiaoxin <130760663+hahaXiaoxin@users.noreply.github.com>

* feat: build命令支持复制文件 (#25)

* feat: build命令支持复制文件

* fix: 字段名修订

* fix: 修正了函数命名 (#30)

---------

Co-authored-by: cmtlyt <cmtlyt@163.com>
Co-authored-by: xiaoxin <130760663+hahaXiaoxin@users.noreply.github.com>

* chore: 依赖更新 (#32)

Co-authored-by: cmtlyt <cmtlyt@163.com>

* feat: 类型与模板优化 (#34)

* perf: 类型生成优化&模板调整&scheam类型调整

* chore: 更新锁文件

* fix: 细节调整

---------

Co-authored-by: cmtlyt <cmtlyt@163.com>

* 0.6.0

* chore: deploy

---------

Co-authored-by: xiaoxin <130760663+hahaXiaoxin@users.noreply.github.com>
Co-authored-by: cmtlyt <cmtlyt@163.com>
cmtlyt added a commit that referenced this pull request May 19, 2025
* feat: 新增schema工具

* fix: 修复了getObjectType中对properties的错误判断 (#29)

* fix: 修复了getObjectType中对properties的错误判断

* feat: 抽离了isObject方法

* feat: 通过Object.keys遍历替代forin,防止遍历到原型链上的键

---------

Co-authored-by: cmtlyt <cmtlyt@163.com>
Co-authored-by: xiaoxin <130760663+hahaXiaoxin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants