Sha256: 1cd2141dcdf46eb87c126bf95d887c6756f0c48baced130230e27678735c021b
Contents?: true
Size: 682 Bytes
Versions: 77
Compression:
Stored size: 682 Bytes
Contents
import { selectAPIStatus, selectAPIError, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import { STATUS } from 'foremanReact/constants'; import { cvVersionPublishKey } from '../ContentViewsConstants'; export const selectPublishContentViews = (state, cvId, versionCount) => selectAPIResponse(state, cvVersionPublishKey(cvId, versionCount)) || {}; export const selectPublishContentViewStatus = (state, cvId, versionCount) => selectAPIStatus(state, cvVersionPublishKey(cvId, versionCount)) || STATUS.PENDING; export const selectPublishContentViewsError = (state, cvId, versionCount) => selectAPIError(state, cvVersionPublishKey(cvId, versionCount));
Version data entries
77 entries across 77 versions & 1 rubygems