homeInitialState.js 589 Bytes
/**
 * # guideInitialState.js
 *
 *
 */
'use strict';
/**
 * ## Import immutable record
 */
import {Record, List, Map} from 'immutable';

/**
 * ## InitialState
 *
 * The fields we're concerned with
 */
let InitialState = Record({
	isFetching: false,
	error: null,
	ptr: true,
	banner: new (Record({
		duration: 3,
		list: List(),
	})),
	notice: new (Record({
		duration: 3,
		open: 'N',
		list: List(),
	})),
	section: List(),
	recommendation: new (Record({
		isFetching: false,
		error: null,
		lastedTime: 0,
		list: List(),
		endReached: false,
	})),
});

export default InitialState;