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