* feat: routes permissions
* fix: try to fix roles.pages action
* 多态关联
* bugfix
* fix: auto generate when option value is undefined or null
* feat: add pages' permissions saving/listing
* feat: add permission filter for getRoutes
* roles description
* feat: get root permissions all true and create user with default role
* feat: roles.collections list output with permission
* add permissions description
* fix: add context to parseApiJson
* fix: typo
* 小细节补充
Co-authored-by: mytharcher <mytharcher@gmail.com>
* feat: add AsDefault field type
* fix: association definition in test case
* fix: logic of field as default in bulkCreate
* fix: change to asDefault field
* refactor: rename to radio and move unit test cases back to database package
* change to radio
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add createdBy/updatedBy field config for table managed by collections
* fix: update by different users and field initialization
* fix: function argument
* add: test cases
Co-authored-by: chenos <chenlinxh@gmail.com>
* refactor: change sort strategy from offset to targetId
* fix: remove unnecessary query to optimize performance
* refactor: change sort api to allow object
* refactor: change function member positions
* fix: test case names
* fix: static to instance
* feat: add sort value initialization via beforeCreate hook
* fix: after reinitialization, hooks are lost
* test: temp test for hook
* fix: hooks defined in the table options does not work
* refactor: change sort config into sort type field and fix updateAssociations to create with foreignKey
* refactor: abstract utility functions
* fix: type definition
* fix: type and where value type
Co-authored-by: chenos <chenlinxh@gmail.com>
* Create node.js.yml
* fix: npm install command
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by build dependencies
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by set env
* fix: try to fix ci fail by pg version
* fix: try to fix ci fail by fix types
* fix(test): Type '""' is not assignable to type 'IndexType'.
* fix(test): Type '""' is not assignable to type 'IndexType'
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>