[ACA-4287] Move hooks to shared library (#2052)

* * move hooks

* * import fixed

* fix prod build

* * refactor hook service

* * fixed test

* * docs added

* * revert tsconfig

* * revert tsconfig

* * docs updated

* * fixed setting testing

* * lint fixed

* * remove duplicate actions
This commit is contained in:
Dharan
2021-04-29 13:50:25 +05:30
committed by GitHub
parent 4ebc7447f9
commit 759099bde7
33 changed files with 279 additions and 165 deletions

View File

@@ -31,8 +31,7 @@ export enum LibraryActionTypes {
Create = 'CREATE_LIBRARY',
Navigate = 'NAVIGATE_LIBRARY',
Update = 'UPDATE_LIBRARY',
Leave = 'LEAVE_LIBRARY',
Reload = 'RELOAD_LIBRARY'
Leave = 'LEAVE_LIBRARY'
}
export class DeleteLibraryAction implements Action {
@@ -62,6 +61,3 @@ export class LeaveLibraryAction implements Action {
constructor(public payload?: string) {}
}
export class ReloadLibraryAction implements Action {
readonly type = LibraryActionTypes.Reload;
}