Last active
April 2, 2019 20:51
-
-
Save alex-okrushko/327c8ac59a8ce6346cb4bdf9f0c3e31b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** see below - comment is required for all exported symbols */ | |
export const LOGIN = '[Login Page] Login', | |
interface LoginPayload { | |
username: string; | |
password: string; | |
} | |
/** Action to log in the User from the Login Page */ | |
export class Login implements Action { | |
readonly type = LOGIN; | |
constructor(readonly payload: LoginPayload) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment