tachybase_todo/packages/database/src
chenos b5ddd6a6ba
feat: collection options & hooks (#21)
* 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>
2020-12-01 20:11:39 +08:00
..
__tests__ feat: collection options & hooks (#21) 2020-12-01 20:11:39 +08:00
fields first commit 2020-10-24 15:34:43 +08:00
database.ts 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
index.ts first commit 2020-10-24 15:34:43 +08:00
model.ts Test/list (#19) 2020-11-23 16:49:46 +08:00
table.ts feat: collection options & hooks (#21) 2020-12-01 20:11:39 +08:00
utils.ts Test/list (#19) 2020-11-23 16:49:46 +08:00