2018-07-23 15:12:18 +02:00
|
|
|
import * as LBRYINC_ACTIONS from 'constants/action_types';
|
|
|
|
import Lbryio from 'lbryio';
|
|
|
|
|
|
|
|
// constants
|
|
|
|
export { LBRYINC_ACTIONS };
|
|
|
|
|
|
|
|
// Lbryio
|
|
|
|
export { Lbryio };
|
|
|
|
|
|
|
|
// actions
|
|
|
|
export { doGenerateAuthToken } from 'redux/actions/auth';
|
|
|
|
export {
|
|
|
|
doRewardList,
|
|
|
|
doClaimRewardType,
|
|
|
|
doClaimEligiblePurchaseRewards,
|
|
|
|
doClaimRewardClearError,
|
|
|
|
} from 'redux/actions/rewards';
|
2018-08-17 20:10:52 +02:00
|
|
|
export {
|
|
|
|
doFetchInviteStatus,
|
|
|
|
doInstallNew,
|
|
|
|
doAuthenticate,
|
|
|
|
doUserFetch,
|
|
|
|
doUserEmailNew,
|
|
|
|
doUserEmailToVerify,
|
|
|
|
doUserEmailVerifyFailure,
|
|
|
|
doUserEmailVerify,
|
|
|
|
doFetchAccessToken,
|
|
|
|
} from 'redux/actions/user';
|
2018-07-23 15:12:18 +02:00
|
|
|
|
|
|
|
// reducers
|
|
|
|
export { authReducer } from 'redux/reducers/auth';
|
|
|
|
export { rewardsReducer } from 'redux/reducers/rewards';
|
|
|
|
export { userReducer } from 'redux/reducers/user';
|
|
|
|
|
|
|
|
// selectors
|
2018-08-17 20:10:52 +02:00
|
|
|
export { selectAuthToken, selectIsAuthenticating } from 'redux/selectors/auth';
|
2018-07-23 15:12:18 +02:00
|
|
|
export {
|
|
|
|
makeSelectClaimRewardError,
|
|
|
|
makeSelectIsRewardClaimPending,
|
|
|
|
makeSelectRewardAmountByType,
|
|
|
|
makeSelectRewardByType,
|
|
|
|
selectUnclaimedRewardsByType,
|
|
|
|
selectClaimedRewardsById,
|
|
|
|
selectClaimedRewards,
|
|
|
|
selectClaimedRewardsByTransactionId,
|
|
|
|
selectUnclaimedRewards,
|
|
|
|
selectFetchingRewards,
|
|
|
|
selectUnclaimedRewardValue,
|
|
|
|
selectClaimsPendingByType,
|
|
|
|
selectIsClaimRewardPending,
|
|
|
|
selectClaimErrorsByType,
|
|
|
|
selectClaimRewardError,
|
|
|
|
selectRewardByType,
|
|
|
|
} from 'redux/selectors/rewards';
|
|
|
|
export {
|
|
|
|
selectAuthenticationIsPending,
|
|
|
|
selectUserIsPending,
|
|
|
|
selectUser,
|
|
|
|
selectUserEmail,
|
|
|
|
selectUserPhone,
|
|
|
|
selectUserCountryCode,
|
|
|
|
selectEmailToVerify,
|
|
|
|
selectPhoneToVerify,
|
|
|
|
selectUserIsRewardApproved,
|
|
|
|
selectEmailNewIsPending,
|
|
|
|
selectEmailNewErrorMessage,
|
|
|
|
selectPhoneNewErrorMessage,
|
|
|
|
selectEmailVerifyIsPending,
|
|
|
|
selectEmailVerifyErrorMessage,
|
|
|
|
selectPhoneVerifyErrorMessage,
|
|
|
|
selectIdentityVerifyIsPending,
|
|
|
|
selectIdentityVerifyErrorMessage,
|
|
|
|
selectUserIsVerificationCandidate,
|
|
|
|
selectAccessToken,
|
|
|
|
selectUserInviteStatusIsPending,
|
|
|
|
selectUserInvitesRemaining,
|
|
|
|
selectUserInvitees,
|
|
|
|
selectUserInviteStatusFailed,
|
|
|
|
selectUserInviteNewIsPending,
|
|
|
|
selectUserInviteNewErrorMessage,
|
|
|
|
} from 'redux/selectors/user';
|