* feat: collection hooks * export action middlewares * add associated middleware * cleanup * add field interface options * 调整配置参数 * 补充字段类型 options * 继续调整配置参数 * 支持排序 * filterable & sortable & draggable * feat: add random name for creating table (#23) * feat: add random name for creating table * fix: random number * Feature: collections field (#24) * feat: add random name for field and update table options * fix: make field name required * fix: this declaration * showInXX 参数调整 * showInXX 放 component 里 * 继续调整参数 * 字段分组、pages 表配置参数等 * change date to datetime * 选择类型字段的 options 改为 dataSource * feat: refactor hooks initialization and add field options by interface (#25) * feat: refactor hooks initialization and add field options by interface * refactor: use model.set to build input values * refactor: extend setter/getter to adapt field options * fix: try to fix virtual field * refactor: setter/getter of FieldModel * 改进自定义 model 等细节 * 补充注释 * bugfix Co-authored-by: Junyi <mytharcher@users.noreply.github.com> |
||
---|---|---|
packages | ||
.editorconfig | ||
.env.example | ||
.eslintrc | ||
.fatherrc.ts | ||
.gitignore | ||
docker-compose.yml | ||
dotenv.js | ||
jest.config.js | ||
lerna.json | ||
nodemon.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Development
Install Dependencies
# Install dependencies for root project
npm i
# Install dependencies for sub packages via lerna
npm run bootstrap
Set Environment Variables
cp .env.example .env
Test
# For all packages
npm test
# For specific package
npm test packages/<name>