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

View File

@@ -0,0 +1,7 @@
export enum AuthorizeActionType
{
LOGIN = 'LOGIN',
LOGOUT = 'LOGOUT',
SIGNUP = 'SIGNUP',
UPDATE_PASSWORD = 'UPDATE_PASSWORD'
}

View File

@@ -1,5 +1,5 @@
export enum postActionType {
export enum PostActionType {
ADD_IMAGE_POST = "ADD_IMAGE_POST",
ADD_VIDEO_POST = "ADD_VIDEO_POST",
ADD_POST = "ADD_POST",
@@ -7,5 +7,5 @@
DELETE_POST = "DELETE_POST",
ADD_LIST_POST = "ADD_LIST_POST",
CLEAR_ALL_DATA_POST = "CLEAR_ALL_DATA_POST"
};
}