import { FILTER_STATES } from './constants';

const createState = replicableType => ({
  replicableType,
  isLoading: false,

  replicableItems: [],
  totalReplicableItems: 0,
  pageSize: 0,
  currentPage: 1,

  searchFilter: '',
  currentFilterIndex: 0,
  filterOptions: Object.values(FILTER_STATES),
});
export default createState;
