2018-01-17 06:28:01 +01:00
|
|
|
// common
|
|
|
|
import Lbry from 'lbry';
|
2018-01-19 12:30:02 +01:00
|
|
|
import Lbryapi from 'lbryapi';
|
2018-01-17 06:28:01 +01:00
|
|
|
import Lbryuri from 'lbryuri';
|
2018-01-19 12:20:07 +01:00
|
|
|
|
2018-01-19 12:30:02 +01:00
|
|
|
export { Lbry, Lbryapi, Lbryuri };
|
2018-01-11 13:12:37 +01:00
|
|
|
|
2018-01-17 06:28:01 +01:00
|
|
|
// actions
|
2018-01-17 13:24:35 +01:00
|
|
|
export { doOpenModal, doCloseModal, doShowSnackBar } from 'redux/actions/app';
|
2018-01-19 12:20:07 +01:00
|
|
|
export {
|
|
|
|
doFetchClaimListMine,
|
|
|
|
doAbandonClaim,
|
|
|
|
doResolveUris,
|
|
|
|
doResolveUri,
|
|
|
|
} from 'redux/actions/claims';
|
2018-01-17 06:28:01 +01:00
|
|
|
export { doFetchCostInfoForUri } from 'redux/actions/cost_info';
|
2018-01-19 12:20:07 +01:00
|
|
|
export {
|
|
|
|
doFetchFileInfo,
|
|
|
|
doFileList,
|
|
|
|
doFetchFileInfosAndPublishedClaims,
|
|
|
|
} from 'redux/actions/file_info';
|
2018-01-19 11:48:43 +01:00
|
|
|
export {
|
|
|
|
doNavigate,
|
|
|
|
doAuthNavigate,
|
|
|
|
doHistoryTraverse,
|
|
|
|
doHistoryBack,
|
|
|
|
doHistoryForward,
|
2018-01-19 12:20:07 +01:00
|
|
|
doRecordScroll,
|
2018-01-19 11:48:43 +01:00
|
|
|
} from 'redux/actions/navigation';
|
2018-01-17 06:28:01 +01:00
|
|
|
export { doSearch } from 'redux/actions/search';
|
2018-01-17 13:24:35 +01:00
|
|
|
export {
|
|
|
|
doUpdateBalance,
|
|
|
|
doBalanceSubscribe,
|
|
|
|
doFetchTransactions,
|
|
|
|
doFetchBlock,
|
|
|
|
doGetNewAddress,
|
|
|
|
doCheckAddressIsMine,
|
|
|
|
doSendDraftTransaction,
|
|
|
|
doSetDraftTransactionAmount,
|
|
|
|
doSetDraftTransactionAddress,
|
2018-01-19 12:20:07 +01:00
|
|
|
doSendSupport,
|
2018-01-17 13:24:35 +01:00
|
|
|
} from 'redux/actions/wallet';
|
2018-01-17 06:28:01 +01:00
|
|
|
|
2018-01-19 11:48:43 +01:00
|
|
|
// utils
|
|
|
|
export { batchActions } from 'util/batchActions';
|
|
|
|
export { parseQueryParams, toQueryString } from 'util/query_params';
|
|
|
|
|
2018-01-17 06:28:01 +01:00
|
|
|
// reducers
|
2018-01-19 12:20:07 +01:00
|
|
|
export { claimsReducer } from 'redux/reducers/claims';
|
2018-01-17 06:28:01 +01:00
|
|
|
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,
|
2018-01-19 12:20:07 +01:00
|
|
|
selectResolvingUris,
|
2018-01-17 06:28:01 +01:00
|
|
|
} from 'redux/selectors/claims';
|
|
|
|
|
|
|
|
export {
|
2018-01-19 12:20:07 +01:00
|
|
|
makeSelectFetchingCostInfoForUri,
|
|
|
|
makeSelectCostInfoForUri,
|
|
|
|
selectAllCostInfoByUri,
|
|
|
|
selectCostForCurrentPageUri,
|
|
|
|
selectFetchingCostInfo,
|
2018-01-17 06:28:01 +01:00
|
|
|
} from 'redux/selectors/cost_info';
|
|
|
|
|
|
|
|
export {
|
2018-01-17 13:24:35 +01:00
|
|
|
makeSelectFileInfoForUri,
|
|
|
|
makeSelectDownloadingForUri,
|
|
|
|
makeSelectLoadingForUri,
|
2018-01-17 06:28:01 +01:00
|
|
|
selectFileInfosByOutpoint,
|
|
|
|
selectIsFetchingFileList,
|
|
|
|
selectIsFetchingFileListDownloadedOrPublished,
|
|
|
|
selectDownloadingByOutpoint,
|
|
|
|
selectUrisLoading,
|
|
|
|
selectFileInfosDownloaded,
|
|
|
|
selectDownloadingFileInfos,
|
2018-01-19 12:20:07 +01:00
|
|
|
selectTotalDownloadProgress,
|
2018-01-17 06:28:01 +01:00
|
|
|
} from 'redux/selectors/file_info';
|
|
|
|
|
2018-01-19 11:48:43 +01:00
|
|
|
export {
|
|
|
|
computePageFromPath,
|
|
|
|
makeSelectCurrentParam,
|
|
|
|
selectCurrentPath,
|
|
|
|
selectCurrentPage,
|
|
|
|
selectCurrentParams,
|
|
|
|
selectHeaderLinks,
|
|
|
|
selectPageTitle,
|
|
|
|
selectPathAfterAuth,
|
|
|
|
selectIsBackDisabled,
|
|
|
|
selectIsForwardDisabled,
|
|
|
|
selectHistoryIndex,
|
|
|
|
selectHistoryStack,
|
2018-01-19 12:20:07 +01:00
|
|
|
selectActiveHistoryEntry,
|
2018-01-19 11:48:43 +01:00
|
|
|
} from 'redux/selectors/navigation';
|
|
|
|
|
2018-01-17 06:28:01 +01:00
|
|
|
export {
|
|
|
|
makeSelectSearchUris,
|
|
|
|
selectSearchQuery,
|
|
|
|
selectIsSearching,
|
|
|
|
selectSearchUrisByQuery,
|
|
|
|
selectWunderBarAddress,
|
2018-01-19 12:20:07 +01:00
|
|
|
selectWunderBarIcon,
|
2018-01-17 06:28:01 +01:00
|
|
|
} from 'redux/selectors/search';
|
2018-01-17 13:24:35 +01:00
|
|
|
|
|
|
|
export {
|
|
|
|
makeSelectBlockDate,
|
|
|
|
selectBalance,
|
|
|
|
selectTransactionsById,
|
|
|
|
selectTransactionItems,
|
|
|
|
selectRecentTransactions,
|
|
|
|
selectHasTransactions,
|
|
|
|
selectIsFetchingTransactions,
|
|
|
|
selectIsSendingSupport,
|
|
|
|
selectReceiveAddress,
|
|
|
|
selectGettingNewAddress,
|
|
|
|
selectDraftTransaction,
|
|
|
|
selectDraftTransactionAmount,
|
|
|
|
selectDraftTransactionAddress,
|
|
|
|
selectDraftTransactionError,
|
2018-01-19 12:20:07 +01:00
|
|
|
selectBlocks,
|
2018-01-17 13:24:35 +01:00
|
|
|
} from 'redux/selectors/wallet';
|