chore: move types to definition folder and fix imports
This commit is contained in:
parent
b56f6048d4
commit
ff0925cc96
|
@ -1,6 +1,6 @@
|
||||||
import { Action } from 'redux';
|
import { Action } from 'redux';
|
||||||
|
|
||||||
import { IUser } from '../types';
|
import { IUser } from '../definitions';
|
||||||
import * as types from './actionsTypes';
|
import * as types from './actionsTypes';
|
||||||
|
|
||||||
type User = {
|
type User = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ActiveUser, ApplicationActions } from '../types';
|
import { ActiveUser, ApplicationActions } from '../definitions';
|
||||||
import { SET_ACTIVE_USERS } from '../actions/actionsTypes';
|
import { SET_ACTIVE_USERS } from '../actions/actionsTypes';
|
||||||
|
|
||||||
export interface IActiveUsers {
|
export interface IActiveUsers {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { IUser, ApplicationActions } from '../types';
|
import { IUser, ApplicationActions } from '../definitions';
|
||||||
import { SELECTED_USERS } from '../actions/actionsTypes';
|
import { SELECTED_USERS } from '../actions/actionsTypes';
|
||||||
|
|
||||||
export interface ISelectedUsers {
|
export interface ISelectedUsers {
|
||||||
|
|
|
@ -21,7 +21,7 @@ import UserItem from '../presentation/UserItem';
|
||||||
import { getUserSelector } from '../selectors/login';
|
import { getUserSelector } from '../selectors/login';
|
||||||
import { ChatsStackParamList } from '../stacks/types';
|
import { ChatsStackParamList } from '../stacks/types';
|
||||||
import { withTheme } from '../theme';
|
import { withTheme } from '../theme';
|
||||||
import { ApplicationState, BaseScreen, IUser } from '../types';
|
import { ApplicationState, BaseScreen, IUser } from '../definitions';
|
||||||
import { showErrorAlert } from '../utils/info';
|
import { showErrorAlert } from '../utils/info';
|
||||||
import log, { events, logEvent } from '../utils/log';
|
import log, { events, logEvent } from '../utils/log';
|
||||||
import sharedStyles from './Styles';
|
import sharedStyles from './Styles';
|
||||||
|
|
Loading…
Reference in New Issue