// import { IApplicationRootState } from 'types'; import { ActionType } from 'typesafe-actions'; import * as actions from 'CommentSection/actions'; export interface IComment { id: string; message: string; author: string; authorId: string; createdDate: string; isOwner: boolean; } export interface IUser { id: string; username: string; firstName: string; lastName: string; } export interface ICommentState { comments: IComment[]; users: IUser[]; threadId: string; replyUser: string; } type Actions = ActionType; // type RootState = IApplicationRootState; type ContainerState = ICommentState; type ContainerActions = Actions; export { ContainerState, ContainerActions };