Migrate post{actions,actionType,reducer} to TypeScript

This commit is contained in:
Qolzam
2017-10-07 12:59:58 +07:00
parent 418453dd02
commit 1810550331
7 changed files with 395 additions and 354 deletions

View File

@@ -0,0 +1,11 @@
export enum postActionType {
ADD_IMAGE_POST = "ADD_IMAGE_POST",
ADD_VIDEO_POST = "ADD_VIDEO_POST",
ADD_POST = "ADD_POST",
UPDATE_POST = "UPDATE_POST",
DELETE_POST = "DELETE_POST",
ADD_LIST_POST = "ADD_LIST_POST",
CLEAR_ALL_DATA_POST = "CLEAR_ALL_DATA_POST"
};