"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.indexStatusReducer = void 0; var _reduxActions = require("redux-actions"); var _actions = require("../actions"); var _utils = require("./utils"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const initialState = { indexStatus: (0, _utils.asyncInitState)() }; const indexStatusReducer = (0, _reduxActions.handleActions)({ ...(0, _utils.handleAsyncAction)('indexStatus', _actions.indexStatusAction) }, initialState); exports.indexStatusReducer = indexStatusReducer;