nocobase/packages/plugin-action-logs/src/constants.ts
Junyi f9c4fb9df0
Feature/action logs (#62)
* feat: add hasMany field for action logs

* fix: add scope to log field

* test: add cases

* test: remove console.log

* test: add expects

* refactor: use constants for hook types

* fix: missing pageInfo

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-02-01 13:32:02 +08:00

4 lines
125 B
TypeScript

export const LOG_TYPE_CREATE = 'create';
export const LOG_TYPE_UPDATE = 'update';
export const LOG_TYPE_DESTROY = 'destroy';