Sha256: 135a68a18ff011f09d8c784504b6a5bf25ffe731bc3b5b7f82ea6664203b053d
Contents?: true
Size: 878 Bytes
Versions: 57
Compression:
Stored size: 878 Bytes
Contents
import { selectAPIStatus, selectAPIError, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import { STATUS } from 'foremanReact/constants'; import SMART_PROXY_CONTENT_KEY, { SMART_PROXY_KEY } from './SmartProxyContentConstants'; export const selectSmartProxyContent = state => selectAPIResponse(state, SMART_PROXY_CONTENT_KEY) || {}; export const selectSmartProxyContentStatus = state => selectAPIStatus(state, SMART_PROXY_CONTENT_KEY) || STATUS.PENDING; export const selectSmartProxyContentError = state => selectAPIError(state, SMART_PROXY_CONTENT_KEY); export const selectSmartProxy = state => selectAPIResponse(state, SMART_PROXY_KEY) || {}; export const selectSmartProxyStatus = state => selectAPIStatus(state, SMART_PROXY_KEY) || STATUS.PENDING; export const selectSmartProxyError = state => selectAPIError(state, SMART_PROXY_KEY);
Version data entries
57 entries across 57 versions & 1 rubygems