Migrate authorize{ actions, actionType, reducer} to TS & make factory service for interfaces #15

This commit is contained in:
Qolzam
2017-10-08 17:30:03 +07:00
parent f7c1a1ac00
commit 3b3899e7af
26 changed files with 652 additions and 218 deletions

30
app/domain/users/user.ts Normal file
View File

@@ -0,0 +1,30 @@
import { BaseDomain } from "domain/common";
class User extends BaseDomain {
/**
* Email of the user
*
* @type {string}
* @memberof User
*/
public email: string;
/**
* Password of the user
*
* @type {string}
* @memberof User
*/
public password: string;
/**
* User identifier
*
* @type {string}
* @memberof User
*/
public userId: string;
}
export default User;