blob: b4d89d432b6a0089ab1a5c67fed053e064b4be55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import * as types from './actionTypes';
export const fetchAction = items => ({
type: types.FETCH_TIMELINE_DATA,
items,
});
export const postAction = (text, media, privacy) => ({
type: types.POST,
text,
media,
privacy
});
export const toggleLikeAction = item => ({
type: types.TOGGLE_LIKE,
item,
});
export const fetchCommentAction = item => ({
type: types.FETCH_COMMENT_DATA,
item,
});
export const postCommentAction = (comment) => ({
type: types.POST_COMMENT,
comment,
});
export const closeNotifAction = {
type: types.CLOSE_NOTIF
};
|