-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use redux-saga to handle REST API requests in the authservice user ad…
…min frontend
- Loading branch information
Showing
33 changed files
with
4,616 additions
and
4,008 deletions.
There are no files selected for viewing
7,847 changes: 4,017 additions & 3,830 deletions
7,847
authservice.web.users.frontend/src/main/frontend/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
authservice.web.users.frontend/src/main/frontend/src/actiontypes.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,33 @@ | ||
import { createAction } from '@reduxjs/toolkit'; | ||
|
||
export const USERS_REQUEST = createAction('USERS_REQUEST'); | ||
export const USERS_RECEIVED = createAction('USERS_RECEIVED'); | ||
export const USERS_ERROR = createAction('USERS_ERROR'); | ||
export const USER_UPDATE = createAction('USER_UPDATE'); | ||
export const USER_MODIFY = createAction('USER_MODIFY'); | ||
export const USER_ADD = createAction('USER_ADD'); | ||
export const USER_ADD_ROLES = createAction('USER_ADD_ROLES'); | ||
export const USER_REMOVE_ROLES = createAction('USER_REMOVE_ROLES'); | ||
export const USERROLES_REQUEST = createAction('USERROLES_REQUEST'); | ||
export const USERROLES_RECEIVED = createAction('USERROLES_RECEIVED'); | ||
export const USERROLES_ERROR = createAction('USERROLES_ERROR'); | ||
export const PASSWORDS_UPDATE = createAction('PASSWORDS_UPDATE'); | ||
export const PASSWORDS_MODIFY = createAction('PASSWORDS_MODIFY'); | ||
export const ROLES_REQUEST = createAction('ROLES_REQUEST'); | ||
export const ROLES_RECEIVED = createAction('ROLES_RECEIVED'); | ||
export const ROLES_ERROR = createAction('ROLES_ERROR'); | ||
export const ROLE_UPDATE = createAction('ROLE_UPDATE'); | ||
export const ROLE_MODIFY = createAction('ROLE_MODIFY'); | ||
export const ROLE_ADD = createAction('ROLE_ADD'); | ||
export const ROLE_ADD_PERMISSIONS = createAction('ROLE_ADD_PERMISSIONS'); | ||
export const ROLE_REMOVE_PERMISSIONS = createAction('ROLE_REMOVE_PERMISSIONS'); | ||
export const ROLEPERMISSIONS_REQUEST = createAction('ROLEPERMISSIONS_REQUEST'); | ||
export const ROLEPERMISSIONS_RECEIVED = createAction('ROLEPERMISSIONS_RECEIVED'); | ||
export const ROLEPERMISSIONS_ERROR = createAction('ROLEPERMISSIONS_ERROR'); | ||
export const PERMISSIONS_REQUEST = createAction('PERMISSIONS_REQUEST'); | ||
export const PERMISSIONS_RECEIVED = createAction('PERMISSIONS_RECEIVED'); | ||
export const PERMISSIONS_ERROR = createAction('PERMISSIONS_ERROR'); | ||
export const PERMISSION_UPDATE = createAction('PERMISSION_UPDATE'); | ||
export const PERMISSION_MODIFY = createAction('PERMISSION_MODIFY'); | ||
export const PERMISSION_ADD = createAction('PERMISSION_ADD'); | ||
export const FORMFIELD_UPDATE = createAction('FORMFIELD_UPDATE'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.