Migrate actions,reducers and action types to TS #15

This commit is contained in:
Qolzam
2017-10-10 08:01:25 +07:00
parent 3b3899e7af
commit f9d213f741
113 changed files with 2692 additions and 1275 deletions

View File

@@ -0,0 +1,40 @@
/**
* Post state
*
* @export
* @class AuthorizeState
*/
export class AuthorizeState {
/**
* Authorized user identifier
*
* @type {number}
* @memberof AuthorizeState
*/
uid: number = 0;
/**
* If user is authed {true} or not {false}
*
* @type {Boolean}
* @memberof AuthorizeState
*/
authed: Boolean = false;
/**
* If user password is updated {true} or not {false}
*
* @type {Boolean}
* @memberof AuthorizeState
*/
updatePassword: Boolean = false;
/**
* If the user is guest {true} or not {false}
*
* @type {Boolean}
* @memberof AuthorizeState
*/
guest: Boolean = false;
}