mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-09 14:03:11 +08:00
20 lines
342 B
TypeScript
20 lines
342 B
TypeScript
import { ActionType } from '../action-types';
|
|
|
|
export interface LoginAction {
|
|
type: ActionType.login;
|
|
payload: string;
|
|
}
|
|
|
|
export interface LogoutAction {
|
|
type: ActionType.logout;
|
|
}
|
|
|
|
export interface AutoLoginAction {
|
|
type: ActionType.autoLogin;
|
|
payload: string;
|
|
}
|
|
|
|
export interface AuthErrorAction {
|
|
type: ActionType.authError;
|
|
}
|