[Refactoring][Breaking Changes]

- Move `reducers` and `actions` folders to `store` folder.
 - Move pages container components to `containers` folder.
This commit is contained in:
Qolzam
2018-03-25 10:27:57 +07:00
parent 4c40069c7d
commit 99646c9222
136 changed files with 211 additions and 211 deletions

View File

@@ -0,0 +1,39 @@
import { User,Profile } from 'src/core/domain/users'
/**
* User state
*
* @export
* @class UserState
*/
export class UserState {
/**
* The list of users information
*
* @type {({[userId: string]: Profile} | null)}
* @memberof UserState
*/
info: {[userId: string]: Profile} = {}
/**
* If users profile are loaded
*
* @type {Boolean}
* @memberof UserState
*/
loaded: Boolean = false
/**
* If edit profile is open {true} or not {false}
*
* @type {Boolean}
* @memberof UserState
*/
openEditProfile: Boolean = false
/**
* People data storage
*/
people?: {hasMoreData: boolean, lastPageRequest: number, lastUserId: string} =
{hasMoreData: true, lastPageRequest: -1, lastUserId: ''}
}