listInitialState.js 511 Bytes
'use strict';

import {Record, List, Map} from 'immutable';

let InitialState = Record({
	selected_index: '',
	selected_skn: '',
	banner: new (Record({
        isFetching: false,
        error: null,
        data: null,
    })),
    products: new (Record({
		ptr: false,
        isFetching: false,
        error: null,
        list: null,
        currentPage: 0,
        pageCount: 0,
        pageSize: 20,
        total: 0,
        endReached: false,
    })),
	liking: false,
});

export default InitialState;