* feat(schemas): define data hook events
define data hook events
* fix(schemas,core): fix the type error
fix the type error
* fix(core): fix unit test
fix unit test
* feat(test): add integration tests for DataHooks
add integration tests for DataHooks
* fix(test): fix ut of management api hook middleware
fix ut of the management api hook middleware
* refactor(test,core,schemas): refactor some DataHook definiations
refactor some DataHook definitations
* chore(test): remove upper scope describe wrap
remove upper scope describe wrap
* fix(test): fix tests
fix tests
* refactor(schemas): rename the info.update events
rename the info.update events
* refactor(schemas): rename
rename
* refactor(core,schemas): refactor DataHook code
refactor DataHook code to address some code review comments
* fix(test): fix ut
fix ut
* fix(schemas): update DataHookEventPayload type
update DataHookEventPayload type
* chore(schemas): update comments
update comments
* 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>
* fix(experience): redirect to sign-in page on socical sign-in error
redirect user to sign-in page on social sign-in error
* test(experience): add integration tests
add integration tests
* feat(console): update user access immediately on tenant role updates
* chore: improve comments
Co-authored-by: Gao Sun <gao@silverhand.io>
---------
Co-authored-by: Gao Sun <gao@silverhand.io>
* feat(core): add api to fetch user organization scopes
* chore: add openapi.json
* fix: integration test
* chore: turn off max-lines lint rules for openapi json files
* chore: add changeset
* refactor: return all scope information instead of just the name