Sha256: 84a3237268b1b4d6b296571b62ae02afb656b589c296d75b846ecbe5a54c6e03
Contents?: true
Size: 747 Bytes
Versions: 42
Compression:
Stored size: 747 Bytes
Contents
import { selectAPIStatus, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import { selectDoesIntervalExist } from 'foremanReact/redux/middlewares/IntervalMiddleware/IntervalSelectors'; import { TARGETING_HOSTS } from './TargetingHostsConsts'; export const selectItems = state => selectAPIResponse(state, TARGETING_HOSTS).hosts || []; export const selectAutoRefresh = state => selectAPIResponse(state, TARGETING_HOSTS).autoRefresh || ''; export const selectApiStatus = state => selectAPIStatus(state, TARGETING_HOSTS); export const selectTotalHosts = state => selectAPIResponse(state, TARGETING_HOSTS).total_hosts || 0; export const selectIntervalExists = state => selectDoesIntervalExist(state, TARGETING_HOSTS);
Version data entries
42 entries across 42 versions & 1 rubygems