lbry-redux/src/index.js

78 lines
2.2 KiB
JavaScript
Raw Normal View History

// common
import Lbry from 'lbry';
import LbryApi from 'lbryapi';
import Lbryuri from 'lbryuri';
export { Lbry, LbryApi, Lbryuri };
2018-01-11 13:12:37 +01:00
// actions
export { doFetchClaimListMine, doAbandonClaim, doResolveUris, doResolveUri } from 'redux/actions/claims';
export { doFetchCostInfoForUri } from 'redux/actions/cost_info';
export { doFetchFileInfo, doFileList, doFetchFileInfosAndPublishedClaims } from 'redux/actions/file_info';
export { doSearch } from 'redux/actions/search';
// reducers
export { claimsReducer } from 'redux/reducers/claims';
export { costInfoReducer } from 'redux/reducers/cost_info';
export { fileInfoReducer } from 'redux/reducers/file_info';
export { searchReducer } from 'redux/reducers/search';
export { walletReducer } from 'redux/reducers/wallet';
// selectors
export {
makeSelectClaimForUri,
makeSelectClaimIsMine,
makeSelectFetchingChannelClaims,
makeSelectClaimsInChannelForCurrentPage,
makeSelectMetadataForUri,
makeSelectTitleForUri,
makeSelectContentTypeForUri,
makeSelectIsUriResolving,
selectClaimsById,
selectClaimsByUri,
selectAllClaimsByChannel,
selectMyClaimsRaw,
selectAbandoningIds,
selectMyActiveClaims,
selectAllFetchingChannelClaims,
selectIsFetchingClaimListMine,
selectPendingClaims,
selectMyClaims,
selectMyClaimsWithoutChannels,
selectAllMyClaimsByOutpoint,
selectMyClaimsOutpoints,
selectFetchingMyChannels,
selectMyChannelClaims,
selectResolvingUris
} from 'redux/selectors/claims';
export {
makeSelectFetchingCostInfoForUri,
makeSelectCostInfoForUri,
selectAllCostInfoByUri,
selectCostForCurrentPageUri,
selectFetchingCostInfo
} from 'redux/selectors/cost_info';
export {
selectFileInfosByOutpoint,
selectIsFetchingFileList,
selectIsFetchingFileListDownloadedOrPublished,
makeSelectFileInfoForUri,
selectDownloadingByOutpoint,
makeSelectDownloadingForUri,
selectUrisLoading,
makeSelectLoadingForUri,
selectFileInfosDownloaded,
selectDownloadingFileInfos,
selectTotalDownloadProgress
} from 'redux/selectors/file_info';
export {
makeSelectSearchUris,
selectSearchQuery,
selectIsSearching,
selectSearchUrisByQuery,
selectWunderBarAddress,
selectWunderBarIcon
} from 'redux/selectors/search';