[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,60 @@
import { Circle, UserTie } from 'src/core/domain/circles'
/**
* Circle state
*
* @export
* @class CircleState
*/
export class CircleState {
/**
* The list of users belong to users circle
*
* @memberof CircleState
*/
userTies: { [userId: string]: UserTie } = {}
/**
* The list of users belong to users circle
*
* @memberof CircleState
*/
userTieds: { [userId: string]: UserTie } = {}
/**
* The list of circle of current user
*/
circleList: { [circleId: string]: Circle }
/**
* Whether select circle box is open for the selected user
*/
selectCircleStatus: { [userId: string]: boolean }
/**
* Whether following loading is shown for the selected user
*/
followingLoadingStatus: { [userId: string]: boolean }
/**
* Keep selected circles for refere user
*/
selectedCircles: { [userId: string]: string[] }
/**
* Whether the select circles box for referer user is open
*/
openSelecteCircles: { [userId: string]: boolean }
/**
* If user circles are loaded {true} or not {false}
*
* @memberof CircleState
*/
loaded: boolean = false
/**
* Circle stting state
*/
openSetting: {[circleId: string]: boolean }
}