@stackend/api
Version:
JS bindings to api.stackend.com
14 lines • 586 B
TypeScript
import { User } from '../user';
import { LoginActions } from './loginAction';
export declare const LOGIN = "LOGIN";
export declare const LOGOUT = "LOGOUT";
export declare const UPDATE_LOGIN_DATA = "UPDATE_LOGIN_DATA";
export declare const REQUEST_LOGIN_DATA = "REQUEST_LOGIN_DATA";
export interface CurrentUserType {
isLoggedIn: boolean;
lastUpdated: number;
user: User | null;
}
export declare const loginReducer: (state: CurrentUserType | undefined, action: LoginActions) => Partial<CurrentUserType>;
export default loginReducer;
//# sourceMappingURL=loginReducer.d.ts.map