* feat: init management api hook middleware function
* refactor: fix type issues
* feat(core): implement auto triggered management api hooks
implement auto triggered managment api hooks
* refactor(console,core,schemas): rename the managementHook to dataHook
rename the managementHooke to dataHook and redefine the types
* feat(core): add dev feature guard
add dev feature guard
* chore: update changeset
update changeset
* refactor(core,console,schemas,shared): update the webhook logics
update the webhook logics. Address some PR review comments
* fix(test): fix integration tests
fix integration tests
* fix(test): remove legacy code
remove legacy code
* refactor(core,schemas): refactor the hook library code
refactor the webhooks library code. address some comments
* fix(core): address rebase issue
update console log using getConsoleLogFromContext
* fix(core): fix ut
fix ut
* fix(core): refactor data webhook code
refactor data webhook codes
* refactor(core): clean up some management api webhook code
clean up some management api webhook code
---------
Co-authored-by: simeng-li <simeng@silverhand.io>