chore: move types to definition folder and fix imports

This commit is contained in:
GleidsonDaniel 2021-12-22 09:38:11 -03:00
parent b56f6048d4
commit ff0925cc96
6 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import { Action } from 'redux';
import { IUser } from '../types';
import { IUser } from '../definitions';
import * as types from './actionsTypes';
type User = {

View File

@ -1,4 +1,4 @@
import { ActiveUser, ApplicationActions } from '../types';
import { ActiveUser, ApplicationActions } from '../definitions';
import { SET_ACTIVE_USERS } from '../actions/actionsTypes';
export interface IActiveUsers {

View File

@ -1,4 +1,4 @@
import { IUser, ApplicationActions } from '../types';
import { IUser, ApplicationActions } from '../definitions';
import { SELECTED_USERS } from '../actions/actionsTypes';
export interface ISelectedUsers {

View File

@ -21,7 +21,7 @@ import UserItem from '../presentation/UserItem';
import { getUserSelector } from '../selectors/login';
import { ChatsStackParamList } from '../stacks/types';
import { withTheme } from '../theme';
import { ApplicationState, BaseScreen, IUser } from '../types';
import { ApplicationState, BaseScreen, IUser } from '../definitions';
import { showErrorAlert } from '../utils/info';
import log, { events, logEvent } from '../utils/log';
import sharedStyles from './Styles';