wip: add IRoles to IAplicationState interface

This commit is contained in:
GleidsonDaniel 2022-01-17 15:29:37 -03:00
parent 8d22b84253
commit 01fca753b6
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ import { IActionRoles } from '../../actions/roles';
import { TActionSelectedUsers } from '../../actions/selectedUsers'; import { TActionSelectedUsers } from '../../actions/selectedUsers';
// REDUCERS // REDUCERS
import { IActiveUsers } from '../../reducers/activeUsers'; import { IActiveUsers } from '../../reducers/activeUsers';
import { IRoles } from '../../reducers/roles';
import { ISelectedUsers } from '../../reducers/selectedUsers'; import { ISelectedUsers } from '../../reducers/selectedUsers';
export interface IApplicationState { export interface IApplicationState {
@ -26,7 +27,7 @@ export interface IApplicationState {
enterpriseModules: any; enterpriseModules: any;
encryption: any; encryption: any;
permissions: any; permissions: any;
roles: any; roles: IRoles;
} }
export type TApplicationActions = TActionActiveUsers & TActionSelectedUsers & IActionRoles; export type TApplicationActions = TActionActiveUsers & TActionSelectedUsers & IActionRoles;