1 | import authentication from "./reducers/authenticate";
|
2 | import configure from "./reducers/configure";
|
3 | import user from "./reducers/user";
|
4 | import ui from "./reducers/ui";
|
5 | import emailSignIn from "./reducers/email-sign-in";
|
6 | import emailSignUp from "./reducers/email-sign-up";
|
7 | import oAuthSignIn from "./reducers/oauth-sign-in";
|
8 | import requestPasswordReset from "./reducers/request-password-reset";
|
9 | import updatePassword from "./reducers/update-password";
|
10 | import updatePasswordModal from "./reducers/update-password-modal";
|
11 | import server from "./reducers/server";
|
12 | import signOut from "./reducers/sign-out";
|
13 | import destroyAccount from "./reducers/destroy-account";
|
14 | import {combineReducers} from "redux-immutablejs";
|
15 |
|
16 |
|
17 | export const authStateReducer = combineReducers({
|
18 | configure,
|
19 | emailSignIn,
|
20 | emailSignUp,
|
21 | signOut,
|
22 | authentication,
|
23 | requestPasswordReset,
|
24 | oAuthSignIn,
|
25 | updatePassword,
|
26 | updatePasswordModal,
|
27 | destroyAccount,
|
28 | server,
|
29 | ui,
|
30 | user
|
31 | });
|
32 |
|
33 |
|
34 | export {configure} from "./actions/configure";
|
35 | export {authenticate} from "./actions/authenticate";
|
36 | export {emailSignIn, emailSignInFormUpdate} from "./actions/email-sign-in";
|
37 | export {signOut} from "./actions/sign-out";
|
38 | export {emailSignUp, emailSignUpFormUpdate} from "./actions/email-sign-up";
|
39 | export {oAuthSignIn} from "./actions/oauth-sign-in";
|
40 | export {requestPasswordReset, requestPasswordResetFormUpdate} from "./actions/request-password-reset";
|
41 | export {updatePassword, updatePasswordFormUpdate} from "./actions/update-password";
|
42 | export {updatePasswordModal, updatePasswordModalFormUpdate} from "./actions/update-password-modal";
|
43 | export {destroyAccount} from "./actions/destroy-account";
|
44 | export verifyAuth from "./utils/verify-auth";
|
45 | export {getApiUrl} from "./utils/session-storage";
|
46 | export {
|
47 | hideEmailSignInSuccessModal,
|
48 | hideEmailSignInErrorModal,
|
49 | hideOAuthSignInSuccessModal,
|
50 | hideOAuthSignInErrorModal,
|
51 | hideSignOutSuccessModal,
|
52 | hideSignOutErrorModal,
|
53 | hideEmailSignUpSuccessModal,
|
54 | hideEmailSignUpErrorModal,
|
55 | showFirstTimeLoginSuccessModal,
|
56 | showPasswordResetSuccessModal,
|
57 | hideFirstTimeLoginSuccessModal,
|
58 | hidePasswordResetSuccessModal,
|
59 | showFirstTimeLoginErrorModal,
|
60 | showPasswordResetErrorModal,
|
61 | hideFirstTimeLoginErrorModal,
|
62 | hidePasswordResetErrorModal,
|
63 | hidePasswordResetRequestSuccessModal,
|
64 | hidePasswordResetRequestErrorModal,
|
65 | hideUpdatePasswordSuccessModal,
|
66 | hideUpdatePasswordErrorModal,
|
67 | hideDestroyAccountSuccessModal,
|
68 | hideDestroyAccountErrorModal
|
69 | } from "./actions/ui";
|
70 |
|
71 |
|
72 | export {
|
73 | AuthGlobals,
|
74 | EmailSignInForm,
|
75 | EmailSignUpForm,
|
76 | SignOutButton,
|
77 | RequestPasswordResetForm,
|
78 | OAuthSignInButton,
|
79 | UpdatePasswordForm,
|
80 | DestroyAccountButton,
|
81 | TokenBridge
|
82 | } from "./views/default";
|
83 |
|
84 |
|
85 | export {default as fetch} from "./utils/fetch";
|