mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Group actions into folders
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import ICommentJSON from '../interfaces/json/IComment';
|
||||
import ICommentJSON from '../../interfaces/json/IComment';
|
||||
|
||||
export const COMMENT_REQUEST_SUCCESS = 'COMMENT_REQUEST_SUCCESS';
|
||||
export interface CommentRequestSuccessAction {
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Action } from 'redux';
|
||||
import { ThunkAction } from 'redux-thunk';
|
||||
|
||||
import ICommentJSON from '../interfaces/json/IComment';
|
||||
import ICommentJSON from '../../interfaces/json/IComment';
|
||||
|
||||
import { State } from '../reducers/rootReducer';
|
||||
import { State } from '../../reducers/rootReducer';
|
||||
|
||||
export const COMMENTS_REQUEST_START = 'COMMENTS_REQUEST_START';
|
||||
interface CommentsRequestStartAction {
|
||||
@@ -1,10 +1,10 @@
|
||||
import { Action } from 'redux';
|
||||
import { ThunkAction } from 'redux-thunk';
|
||||
import { State } from '../reducers/rootReducer';
|
||||
import { State } from '../../reducers/rootReducer';
|
||||
|
||||
import ICommentJSON from '../interfaces/json/IComment';
|
||||
import buildRequestHeaders from '../helpers/buildRequestHeaders';
|
||||
import HttpStatus from '../constants/http_status';
|
||||
import ICommentJSON from '../../interfaces/json/IComment';
|
||||
import buildRequestHeaders from '../../helpers/buildRequestHeaders';
|
||||
import HttpStatus from '../../constants/http_status';
|
||||
|
||||
export const COMMENT_SUBMIT_START = 'COMMENT_SUBMIT_START';
|
||||
interface CommentSubmitStartAction {
|
||||
@@ -1,8 +1,8 @@
|
||||
import { ThunkAction } from "redux-thunk";
|
||||
import { State } from "../reducers/rootReducer";
|
||||
import { State } from "../../reducers/rootReducer";
|
||||
import { Action } from "redux";
|
||||
|
||||
import buildRequestHeaders from "../helpers/buildRequestHeaders";
|
||||
import buildRequestHeaders from "../../helpers/buildRequestHeaders";
|
||||
|
||||
export const TOGGLE_COMMENT_IS_UPDATE_SUCCESS = 'TOGGLE_COMMENT_IS_UPDATE_SUCCESS';
|
||||
export interface ToggleIsUpdateSuccessAction {
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Action } from 'redux';
|
||||
import { ThunkAction } from 'redux-thunk';
|
||||
|
||||
import ILikeJSON from '../interfaces/json/ILike';
|
||||
import ILikeJSON from '../../interfaces/json/ILike';
|
||||
|
||||
import { State } from '../reducers/rootReducer';
|
||||
import { State } from '../../reducers/rootReducer';
|
||||
|
||||
export const LIKES_REQUEST_START = 'LIKES_REQUEST_START';
|
||||
interface LikesRequestStartAction {
|
||||
@@ -1,10 +1,10 @@
|
||||
import { Action } from "redux";
|
||||
import { ThunkAction } from "redux-thunk";
|
||||
|
||||
import { State } from "../reducers/rootReducer";
|
||||
import ILikeJSON from "../interfaces/json/ILike";
|
||||
import buildRequestHeaders from "../helpers/buildRequestHeaders";
|
||||
import HttpStatus from "../constants/http_status";
|
||||
import { State } from "../../reducers/rootReducer";
|
||||
import ILikeJSON from "../../interfaces/json/ILike";
|
||||
import buildRequestHeaders from "../../helpers/buildRequestHeaders";
|
||||
import HttpStatus from "../../constants/http_status";
|
||||
|
||||
export const LIKE_SUBMIT_SUCCESS = 'LIKE_SUBMIT_SUCCESS';
|
||||
interface LikeSubmitSuccessAction {
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Action } from 'redux';
|
||||
import { ThunkAction } from 'redux-thunk';
|
||||
import { State } from '../reducers/rootReducer';
|
||||
import { State } from '../../reducers/rootReducer';
|
||||
|
||||
import buildRequestHeaders from '../helpers/buildRequestHeaders';
|
||||
import buildRequestHeaders from '../../helpers/buildRequestHeaders';
|
||||
|
||||
export const CHANGE_POST_BOARD_SUCCESS = 'CHANGE_POST_BOARD_SUCCESS';
|
||||
export interface ChangePostBoardSuccessAction {
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Action } from 'redux';
|
||||
import { ThunkAction } from 'redux-thunk';
|
||||
import { State } from '../reducers/rootReducer';
|
||||
import { State } from '../../reducers/rootReducer';
|
||||
|
||||
import buildRequestHeaders from '../helpers/buildRequestHeaders';
|
||||
import buildRequestHeaders from '../../helpers/buildRequestHeaders';
|
||||
|
||||
export const CHANGE_POST_STATUS_SUCCESS = 'CHANGE_POST_STATUS_SUCCESS';
|
||||
export interface ChangePostStatusSuccessAction {
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Action } from 'redux';
|
||||
import { ThunkAction } from 'redux-thunk';
|
||||
|
||||
import IPostJSON from '../interfaces/json/IPost';
|
||||
import IPostJSON from '../../interfaces/json/IPost';
|
||||
|
||||
import { State } from '../reducers/rootReducer';
|
||||
import { State } from '../../reducers/rootReducer';
|
||||
|
||||
export const POST_REQUEST_START = 'POST_REQUEST_START';
|
||||
interface PostRequestStartAction {
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Action } from 'redux';
|
||||
import { ThunkAction } from 'redux-thunk';
|
||||
|
||||
import IPostJSON from '../interfaces/json/IPost';
|
||||
import IPostJSON from '../../interfaces/json/IPost';
|
||||
|
||||
import { State } from '../reducers/rootReducer';
|
||||
import { State } from '../../reducers/rootReducer';
|
||||
|
||||
export const POSTS_REQUEST_START = 'POSTS_REQUEST_START';
|
||||
interface PostsRequestStartAction {
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Action } from "redux";
|
||||
import { ThunkAction } from "redux-thunk";
|
||||
import buildRequestHeaders from "../helpers/buildRequestHeaders";
|
||||
import { State } from "../reducers/rootReducer";
|
||||
import buildRequestHeaders from "../../helpers/buildRequestHeaders";
|
||||
import { State } from "../../reducers/rootReducer";
|
||||
|
||||
export const POST_STATUS_DELETE_START = 'POST_STATUS_DELETE_START';
|
||||
interface PostStatusDeleteStartAction {
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Action } from 'redux';
|
||||
import { ThunkAction } from 'redux-thunk';
|
||||
|
||||
import IPostStatus from '../interfaces/IPostStatus';
|
||||
import IPostStatus from '../../interfaces/IPostStatus';
|
||||
|
||||
import { State } from '../reducers/rootReducer';
|
||||
import { State } from '../../reducers/rootReducer';
|
||||
|
||||
export const POST_STATUSES_REQUEST_START = 'POST_STATUSES_REQUEST_START';
|
||||
interface PostStatusesRequestStartAction {
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Action } from "redux";
|
||||
import { ThunkAction } from "redux-thunk";
|
||||
import HttpStatus from "../constants/http_status";
|
||||
import buildRequestHeaders from "../helpers/buildRequestHeaders";
|
||||
import IPostStatusJSON from "../interfaces/json/IPostStatus";
|
||||
import { State } from "../reducers/rootReducer";
|
||||
import HttpStatus from "../../constants/http_status";
|
||||
import buildRequestHeaders from "../../helpers/buildRequestHeaders";
|
||||
import IPostStatusJSON from "../../interfaces/json/IPostStatus";
|
||||
import { State } from "../../reducers/rootReducer";
|
||||
|
||||
export const POSTSTATUS_SUBMIT_START = 'POSTSTATUS_SUBMIT_START';
|
||||
interface PostStatusSubmitStartAction {
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Action } from "redux";
|
||||
import { ThunkAction } from "redux-thunk";
|
||||
import HttpStatus from "../constants/http_status";
|
||||
import buildRequestHeaders from "../helpers/buildRequestHeaders";
|
||||
import IPostStatusJSON from "../interfaces/json/IPostStatus";
|
||||
import { State } from "../reducers/rootReducer";
|
||||
import HttpStatus from "../../constants/http_status";
|
||||
import buildRequestHeaders from "../../helpers/buildRequestHeaders";
|
||||
import IPostStatusJSON from "../../interfaces/json/IPostStatus";
|
||||
import { State } from "../../reducers/rootReducer";
|
||||
|
||||
export const POSTSTATUS_UPDATE_START = 'POSTSTATUS_UPDATE_START';
|
||||
interface PostStatusUpdateStartAction {
|
||||
@@ -1,10 +1,10 @@
|
||||
import { Action } from "redux";
|
||||
import { ThunkAction } from "redux-thunk";
|
||||
import HttpStatus from "../constants/http_status";
|
||||
import HttpStatus from "../../constants/http_status";
|
||||
|
||||
import buildRequestHeaders from "../helpers/buildRequestHeaders";
|
||||
import IPostStatus from "../interfaces/IPostStatus";
|
||||
import { State } from "../reducers/rootReducer";
|
||||
import buildRequestHeaders from "../../helpers/buildRequestHeaders";
|
||||
import IPostStatus from "../../interfaces/IPostStatus";
|
||||
import { State } from "../../reducers/rootReducer";
|
||||
|
||||
export const POSTSTATUS_ORDER_UPDATE_START = 'POSTSTATUS_ORDER_UPDATE_START';
|
||||
interface PostStatusOrderUpdateStartAction {
|
||||
@@ -1,7 +1,7 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { requestPosts } from '../actions/requestPosts';
|
||||
import { requestPostStatuses } from '../actions/requestPostStatuses';
|
||||
import { requestPosts } from '../actions/Post/requestPosts';
|
||||
import { requestPostStatuses } from '../actions/PostStatus/requestPostStatuses';
|
||||
import {
|
||||
setSearchFilter,
|
||||
setPostStatusFilter,
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { requestComments } from '../actions/requestComments';
|
||||
import { requestComments } from '../actions/Comment/requestComments';
|
||||
import {
|
||||
toggleCommentReply,
|
||||
setCommentReplyBody,
|
||||
} from '../actions/handleCommentReplies';
|
||||
import { toggleCommentIsUpdate } from '../actions/updateComment';
|
||||
import { submitComment } from '../actions/submitComment';
|
||||
} from '../actions/Comment/handleCommentReplies';
|
||||
import { toggleCommentIsUpdate } from '../actions/Comment/updateComment';
|
||||
import { submitComment } from '../actions/Comment/submitComment';
|
||||
|
||||
import { State } from '../reducers/rootReducer';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { connect } from 'react-redux';
|
||||
|
||||
import LikeButtonP from '../components/LikeButton/LikeButtonP';
|
||||
|
||||
import { submitLike } from '../actions/submitLike';
|
||||
import { submitLike } from '../actions/Like/submitLike';
|
||||
|
||||
const mapDispatchToProps = dispatch => ({
|
||||
handleLikeSubmit(postId: number, isLike: boolean, authenticityToken: string) {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { requestPost } from '../actions/requestPost';
|
||||
import { requestLikes } from '../actions/requestLikes';
|
||||
import { changePostBoard } from '../actions/changePostBoard';
|
||||
import { changePostStatus } from '../actions/changePostStatus';
|
||||
import { requestPost } from '../actions/Post/requestPost';
|
||||
import { requestLikes } from '../actions/Like/requestLikes';
|
||||
import { changePostBoard } from '../actions/Post/changePostBoard';
|
||||
import { changePostStatus } from '../actions/Post/changePostStatus';
|
||||
|
||||
import { State } from '../reducers/rootReducer';
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { connect } from "react-redux";
|
||||
import { deletePostStatus } from "../actions/deletePostStatus";
|
||||
import { deletePostStatus } from "../actions/PostStatus/deletePostStatus";
|
||||
|
||||
import { requestPostStatuses } from "../actions/requestPostStatuses";
|
||||
import { submitPostStatus } from "../actions/submitPostStatus";
|
||||
import { updatePostStatus } from "../actions/updatePostStatus";
|
||||
import { updatePostStatusOrder } from "../actions/updatePostStatusOrder";
|
||||
import { requestPostStatuses } from "../actions/PostStatus/requestPostStatuses";
|
||||
import { submitPostStatus } from "../actions/PostStatus/submitPostStatus";
|
||||
import { updatePostStatus } from "../actions/PostStatus/updatePostStatus";
|
||||
import { updatePostStatusOrder } from "../actions/PostStatus/updatePostStatusOrder";
|
||||
import PostStatusesSiteSettingsP from "../components/SiteSettings/PostStatuses/PostStatusesSiteSettingsP";
|
||||
import HttpStatus from "../constants/http_status";
|
||||
import IPostStatus from "../interfaces/IPostStatus";
|
||||
|
||||
@@ -3,28 +3,28 @@ import {
|
||||
POSTSTATUS_ORDER_UPDATE_START,
|
||||
POSTSTATUS_ORDER_UPDATE_SUCCESS,
|
||||
POSTSTATUS_ORDER_UPDATE_FAILURE,
|
||||
} from '../../actions/updatePostStatusOrder';
|
||||
} from '../../actions/PostStatus/updatePostStatusOrder';
|
||||
|
||||
import {
|
||||
PostStatusDeleteActionTypes,
|
||||
POST_STATUS_DELETE_START,
|
||||
POST_STATUS_DELETE_SUCCESS,
|
||||
POST_STATUS_DELETE_FAILURE,
|
||||
} from '../../actions/deletePostStatus';
|
||||
} from '../../actions/PostStatus/deletePostStatus';
|
||||
|
||||
import {
|
||||
PostStatusSubmitActionTypes,
|
||||
POSTSTATUS_SUBMIT_START,
|
||||
POSTSTATUS_SUBMIT_SUCCESS,
|
||||
POSTSTATUS_SUBMIT_FAILURE,
|
||||
} from '../../actions/submitPostStatus';
|
||||
} from '../../actions/PostStatus/submitPostStatus';
|
||||
|
||||
import {
|
||||
PostStatusUpdateActionTypes,
|
||||
POSTSTATUS_UPDATE_START,
|
||||
POSTSTATUS_UPDATE_SUCCESS,
|
||||
POSTSTATUS_UPDATE_FAILURE,
|
||||
} from '../../actions/updatePostStatus';
|
||||
} from '../../actions/PostStatus/updatePostStatus';
|
||||
|
||||
export interface SiteSettingsPostStatusesState {
|
||||
areUpdating: boolean;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {
|
||||
CommentRequestSuccessAction,
|
||||
COMMENT_REQUEST_SUCCESS,
|
||||
} from '../actions/requestComment';
|
||||
} from '../actions/Comment/requestComment';
|
||||
|
||||
import IComment from '../interfaces/IComment';
|
||||
|
||||
|
||||
@@ -3,27 +3,27 @@ import {
|
||||
COMMENTS_REQUEST_START,
|
||||
COMMENTS_REQUEST_SUCCESS,
|
||||
COMMENTS_REQUEST_FAILURE,
|
||||
} from '../actions/requestComments';
|
||||
} from '../actions/Comment/requestComments';
|
||||
|
||||
import { commentRequestSuccess } from '../actions/requestComment';
|
||||
import { commentRequestSuccess } from '../actions/Comment/requestComment';
|
||||
|
||||
import {
|
||||
HandleCommentRepliesType,
|
||||
TOGGLE_COMMENT_REPLY,
|
||||
SET_COMMENT_REPLY_BODY,
|
||||
} from '../actions/handleCommentReplies';
|
||||
} from '../actions/Comment/handleCommentReplies';
|
||||
|
||||
import {
|
||||
CommentSubmitActionTypes,
|
||||
COMMENT_SUBMIT_START,
|
||||
COMMENT_SUBMIT_SUCCESS,
|
||||
COMMENT_SUBMIT_FAILURE,
|
||||
} from '../actions/submitComment';
|
||||
} from '../actions/Comment/submitComment';
|
||||
|
||||
import {
|
||||
ToggleIsUpdateSuccessAction,
|
||||
TOGGLE_COMMENT_IS_UPDATE_SUCCESS,
|
||||
} from '../actions/updateComment';
|
||||
} from '../actions/Comment/updateComment';
|
||||
|
||||
import commentReducer from './commentReducer';
|
||||
import replyFormsReducer from './replyFormsReducer';
|
||||
|
||||
@@ -3,54 +3,54 @@ import {
|
||||
POST_REQUEST_START,
|
||||
POST_REQUEST_SUCCESS,
|
||||
POST_REQUEST_FAILURE,
|
||||
} from '../actions/requestPost';
|
||||
} from '../actions/Post/requestPost';
|
||||
|
||||
import {
|
||||
ChangePostBoardSuccessAction,
|
||||
CHANGE_POST_BOARD_SUCCESS,
|
||||
} from '../actions/changePostBoard';
|
||||
} from '../actions/Post/changePostBoard';
|
||||
|
||||
import {
|
||||
ChangePostStatusSuccessAction,
|
||||
CHANGE_POST_STATUS_SUCCESS,
|
||||
} from '../actions/changePostStatus';
|
||||
} from '../actions/Post/changePostStatus';
|
||||
|
||||
import {
|
||||
LikesRequestActionTypes,
|
||||
LIKES_REQUEST_START,
|
||||
LIKES_REQUEST_SUCCESS,
|
||||
LIKES_REQUEST_FAILURE,
|
||||
} from '../actions/requestLikes';
|
||||
} from '../actions/Like/requestLikes';
|
||||
|
||||
import {
|
||||
LikeActionTypes,
|
||||
LIKE_SUBMIT_SUCCESS,
|
||||
} from '../actions/submitLike';
|
||||
} from '../actions/Like/submitLike';
|
||||
|
||||
import {
|
||||
CommentsRequestActionTypes,
|
||||
COMMENTS_REQUEST_START,
|
||||
COMMENTS_REQUEST_SUCCESS,
|
||||
COMMENTS_REQUEST_FAILURE,
|
||||
} from '../actions/requestComments';
|
||||
} from '../actions/Comment/requestComments';
|
||||
|
||||
import {
|
||||
HandleCommentRepliesType,
|
||||
TOGGLE_COMMENT_REPLY,
|
||||
SET_COMMENT_REPLY_BODY,
|
||||
} from '../actions/handleCommentReplies';
|
||||
} from '../actions/Comment/handleCommentReplies';
|
||||
|
||||
import {
|
||||
CommentSubmitActionTypes,
|
||||
COMMENT_SUBMIT_START,
|
||||
COMMENT_SUBMIT_SUCCESS,
|
||||
COMMENT_SUBMIT_FAILURE,
|
||||
} from '../actions/submitComment';
|
||||
} from '../actions/Comment/submitComment';
|
||||
|
||||
import {
|
||||
ToggleIsUpdateSuccessAction,
|
||||
TOGGLE_COMMENT_IS_UPDATE_SUCCESS,
|
||||
} from '../actions/updateComment';
|
||||
} from '../actions/Comment/updateComment';
|
||||
|
||||
import postReducer from './postReducer';
|
||||
import likesReducer from './likesReducer';
|
||||
|
||||
@@ -3,12 +3,12 @@ import {
|
||||
LIKES_REQUEST_START,
|
||||
LIKES_REQUEST_SUCCESS,
|
||||
LIKES_REQUEST_FAILURE,
|
||||
} from '../actions/requestLikes';
|
||||
} from '../actions/Like/requestLikes';
|
||||
|
||||
import {
|
||||
LikeActionTypes,
|
||||
LIKE_SUBMIT_SUCCESS,
|
||||
} from '../actions/submitLike';
|
||||
} from '../actions/Like/submitLike';
|
||||
|
||||
import ILike from '../interfaces/ILike';
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
import {
|
||||
PostRequestActionTypes,
|
||||
POST_REQUEST_SUCCESS,
|
||||
} from '../actions/requestPost';
|
||||
} from '../actions/Post/requestPost';
|
||||
|
||||
import {
|
||||
ChangePostBoardSuccessAction,
|
||||
CHANGE_POST_BOARD_SUCCESS,
|
||||
} from '../actions/changePostBoard';
|
||||
} from '../actions/Post/changePostBoard';
|
||||
|
||||
import {
|
||||
ChangePostStatusSuccessAction,
|
||||
CHANGE_POST_STATUS_SUCCESS,
|
||||
} from '../actions/changePostStatus';
|
||||
} from '../actions/Post/changePostStatus';
|
||||
|
||||
import IPost from '../interfaces/IPost';
|
||||
|
||||
|
||||
@@ -3,27 +3,27 @@ import {
|
||||
POST_STATUSES_REQUEST_START,
|
||||
POST_STATUSES_REQUEST_SUCCESS,
|
||||
POST_STATUSES_REQUEST_FAILURE,
|
||||
} from '../actions/requestPostStatuses';
|
||||
} from '../actions/PostStatus/requestPostStatuses';
|
||||
|
||||
import {
|
||||
PostStatusOrderUpdateActionTypes,
|
||||
POSTSTATUS_ORDER_UPDATE_START,
|
||||
} from '../actions/updatePostStatusOrder';
|
||||
} from '../actions/PostStatus/updatePostStatusOrder';
|
||||
|
||||
import {
|
||||
PostStatusDeleteActionTypes,
|
||||
POST_STATUS_DELETE_SUCCESS,
|
||||
} from '../actions/deletePostStatus';
|
||||
} from '../actions/PostStatus/deletePostStatus';
|
||||
|
||||
import {
|
||||
PostStatusSubmitActionTypes,
|
||||
POSTSTATUS_SUBMIT_SUCCESS,
|
||||
} from '../actions/submitPostStatus';
|
||||
} from '../actions/PostStatus/submitPostStatus';
|
||||
|
||||
import {
|
||||
PostStatusUpdateActionTypes,
|
||||
POSTSTATUS_UPDATE_SUCCESS,
|
||||
} from '../actions/updatePostStatus';
|
||||
} from '../actions/PostStatus/updatePostStatus';
|
||||
|
||||
import IPostStatus from '../interfaces/IPostStatus';
|
||||
|
||||
|
||||
@@ -12,9 +12,9 @@ import {
|
||||
POSTS_REQUEST_START,
|
||||
POSTS_REQUEST_SUCCESS,
|
||||
POSTS_REQUEST_FAILURE,
|
||||
} from '../actions/requestPosts';
|
||||
} from '../actions/Post/requestPosts';
|
||||
|
||||
import { postRequestSuccess } from '../actions/requestPost';
|
||||
import { postRequestSuccess } from '../actions/Post/requestPost';
|
||||
|
||||
import {
|
||||
ChangeFiltersActionTypes,
|
||||
@@ -25,7 +25,7 @@ import {
|
||||
import {
|
||||
LikeActionTypes,
|
||||
LIKE_SUBMIT_SUCCESS,
|
||||
} from '../actions/submitLike';
|
||||
} from '../actions/Like/submitLike';
|
||||
|
||||
export interface PostsState {
|
||||
items: Array<IPost>;
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
import {
|
||||
CommentRequestSuccessAction,
|
||||
COMMENT_REQUEST_SUCCESS,
|
||||
} from '../actions/requestComment';
|
||||
} from '../actions/Comment/requestComment';
|
||||
|
||||
import {
|
||||
HandleCommentRepliesType,
|
||||
TOGGLE_COMMENT_REPLY,
|
||||
SET_COMMENT_REPLY_BODY,
|
||||
} from '../actions/handleCommentReplies';
|
||||
} from '../actions/Comment/handleCommentReplies';
|
||||
|
||||
import {
|
||||
CommentSubmitActionTypes,
|
||||
COMMENT_SUBMIT_START,
|
||||
COMMENT_SUBMIT_SUCCESS,
|
||||
COMMENT_SUBMIT_FAILURE,
|
||||
} from '../actions/submitComment';
|
||||
} from '../actions/Comment/submitComment';
|
||||
|
||||
export interface ReplyFormState {
|
||||
commentId: number;
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
import {
|
||||
CommentsRequestActionTypes,
|
||||
COMMENTS_REQUEST_SUCCESS,
|
||||
} from '../actions/requestComments';
|
||||
} from '../actions/Comment/requestComments';
|
||||
|
||||
import { commentRequestSuccess } from '../actions/requestComment';
|
||||
import { commentRequestSuccess } from '../actions/Comment/requestComment';
|
||||
|
||||
import {
|
||||
HandleCommentRepliesType,
|
||||
TOGGLE_COMMENT_REPLY,
|
||||
SET_COMMENT_REPLY_BODY,
|
||||
} from '../actions/handleCommentReplies';
|
||||
} from '../actions/Comment/handleCommentReplies';
|
||||
|
||||
import {
|
||||
CommentSubmitActionTypes,
|
||||
COMMENT_SUBMIT_START,
|
||||
COMMENT_SUBMIT_SUCCESS,
|
||||
COMMENT_SUBMIT_FAILURE,
|
||||
} from '../actions/submitComment';
|
||||
} from '../actions/Comment/submitComment';
|
||||
|
||||
import replyFormReducer, { ReplyFormState } from './replyFormReducer';
|
||||
|
||||
|
||||
@@ -3,28 +3,28 @@ import {
|
||||
POSTSTATUS_ORDER_UPDATE_START,
|
||||
POSTSTATUS_ORDER_UPDATE_SUCCESS,
|
||||
POSTSTATUS_ORDER_UPDATE_FAILURE,
|
||||
} from '../actions/updatePostStatusOrder';
|
||||
} from '../actions/PostStatus/updatePostStatusOrder';
|
||||
|
||||
import {
|
||||
PostStatusDeleteActionTypes,
|
||||
POST_STATUS_DELETE_START,
|
||||
POST_STATUS_DELETE_SUCCESS,
|
||||
POST_STATUS_DELETE_FAILURE,
|
||||
} from '../actions/deletePostStatus';
|
||||
} from '../actions/PostStatus/deletePostStatus';
|
||||
|
||||
import {
|
||||
PostStatusSubmitActionTypes,
|
||||
POSTSTATUS_SUBMIT_START,
|
||||
POSTSTATUS_SUBMIT_SUCCESS,
|
||||
POSTSTATUS_SUBMIT_FAILURE,
|
||||
} from '../actions/submitPostStatus';
|
||||
} from '../actions/PostStatus/submitPostStatus';
|
||||
|
||||
import {
|
||||
PostStatusUpdateActionTypes,
|
||||
POSTSTATUS_UPDATE_START,
|
||||
POSTSTATUS_UPDATE_SUCCESS,
|
||||
POSTSTATUS_UPDATE_FAILURE,
|
||||
} from '../actions/updatePostStatus';
|
||||
} from '../actions/PostStatus/updatePostStatus';
|
||||
|
||||
import siteSettingsPostStatusesReducer, { SiteSettingsPostStatusesState } from './SiteSettings/postStatusesReducer';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user