chore: fix naming

This commit is contained in:
GleidsonDaniel 2022-01-10 18:05:12 -03:00
parent f19787f35a
commit f1ac7ce77c
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ interface ICreateChannelFailure extends Action {
isTeam: boolean; isTeam: boolean;
} }
export type TActionCreateApp = ICreateChannelRequest & ICreateChannelSuccess & ICreateChannelFailure; export type TActionCreateChannel = ICreateChannelRequest & ICreateChannelSuccess & ICreateChannelFailure;
export function createChannelRequest(data: any): ICreateChannelRequest { export function createChannelRequest(data: any): ICreateChannelRequest {
return { return {

View File

@ -1,7 +1,7 @@
import { TActionSelectedUsers } from '../../actions/selectedUsers'; import { TActionSelectedUsers } from '../../actions/selectedUsers';
import { TActionActiveUsers } from '../../actions/activeUsers'; import { TActionActiveUsers } from '../../actions/activeUsers';
import { TActionApp } from '../../actions/app'; import { TActionApp } from '../../actions/app';
import { TActionCreateApp } from '../../actions/createChannel'; import { TActionCreateChannel } from '../../actions/createChannel';
// REDUCERS // REDUCERS
import { IActiveUsers } from '../../reducers/activeUsers'; import { IActiveUsers } from '../../reducers/activeUsers';
import { ISelectedUsers } from '../../reducers/selectedUsers'; import { ISelectedUsers } from '../../reducers/selectedUsers';
@ -33,4 +33,4 @@ export interface IApplicationState {
roles: any; roles: any;
} }
export type TApplicationActions = TActionActiveUsers & TActionSelectedUsers & TActionApp & TActionCreateApp; export type TApplicationActions = TActionActiveUsers & TActionSelectedUsers & TActionApp & TActionCreateChannel;