2018-11-08 10:29:29 -08:00
|
|
|
import { UserProposal, User } from 'types';
|
2018-10-04 21:27:02 -07:00
|
|
|
|
|
|
|
export interface Comment {
|
2018-11-08 10:29:29 -08:00
|
|
|
proposalId: number;
|
|
|
|
commentId: number;
|
2018-10-04 21:27:02 -07:00
|
|
|
body: string;
|
|
|
|
dateCreated: number;
|
|
|
|
author: User;
|
|
|
|
replies: Comment[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface UserComment {
|
|
|
|
commentId: number | string;
|
|
|
|
body: string;
|
|
|
|
dateCreated: number;
|
|
|
|
proposal: UserProposal;
|
|
|
|
}
|