|
1 |
| -import { ChangeUserRole } from '../../../../cloud-foundry/src/actions/users.actions'; |
2 |
| -import { |
3 |
| - defaultUserOrgRoleState, |
4 |
| -} from '../../../../cloud-foundry/src/store/reducers/current-user-roles-reducer/current-user-roles-org.reducer'; |
5 |
| -import { |
6 |
| - defaultUserSpaceRoleState, |
7 |
| -} from '../../../../cloud-foundry/src/store/reducers/current-user-roles-reducer/current-user-roles-space.reducer'; |
8 |
| -import { |
9 |
| - ICfRolesState, |
10 |
| - IOrgRoleState, |
11 |
| - ISpaceRoleState, |
12 |
| -} from '../../../../cloud-foundry/src/store/types/cf-current-user-roles.types'; |
13 |
| -import { PermissionStrings } from '../../../../core/src/core/current-user-permissions.config'; |
14 |
| -import { ICurrentUserRolesState } from '../../types/current-user-roles.types'; |
15 |
| -import { APISuccessOrFailedAction } from '../../types/request.types'; |
16 |
| -import { OrgUserRoleNames, SpaceUserRoleNames } from '../../../../cloud-foundry/src/store/types/user.types'; |
| 1 | +import { PermissionStrings } from '../../../../../core/src/core/current-user-permissions.config'; |
| 2 | +import { ICurrentUserRolesState } from '../../../../../store/src/types/current-user-roles.types'; |
| 3 | +import { APISuccessOrFailedAction } from '../../../../../store/src/types/request.types'; |
| 4 | +import { ChangeUserRole } from '../../../actions/users.actions'; |
| 5 | +import { ICfRolesState, IOrgRoleState, ISpaceRoleState } from '../../types/cf-current-user-roles.types'; |
| 6 | +import { OrgUserRoleNames, SpaceUserRoleNames } from '../../types/user.types'; |
| 7 | +import { defaultUserOrgRoleState } from './current-user-roles-org.reducer'; |
| 8 | +import { defaultUserSpaceRoleState } from './current-user-roles-space.reducer'; |
17 | 9 |
|
18 | 10 | export function updateAfterRoleChange(
|
19 | 11 | state: ICurrentUserRolesState,
|
|
0 commit comments