Sha256: 84bd28e1c9bd9e8881be7792ae599187a2f59c8381c6f00adad2866c39c57c64
Contents?: true
Size: 622 Bytes
Versions: 69
Compression:
Stored size: 622 Bytes
Contents
import { selectAPIStatus, selectAPIError, selectAPIResponse, } from 'foremanReact/redux/API/APISelectors'; import { STATUS } from 'foremanReact/constants'; import { MODULE_STREAMS_KEY } from './ModuleStreamsConstants'; export const selectModuleStream = state => selectAPIResponse(state, MODULE_STREAMS_KEY) ?? {}; export const selectHostId = state => selectAPIResponse(state, MODULE_STREAMS_KEY) ?? {}; export const selectModuleStreamStatus = state => selectAPIStatus(state, MODULE_STREAMS_KEY) ?? STATUS.PENDING; export const selecModuleStreamError = state => selectAPIError(state, MODULE_STREAMS_KEY);
Version data entries
69 entries across 69 versions & 1 rubygems