zcash-grant-system/frontend/types/comment.ts

17 lines
310 B
TypeScript
Raw Normal View History

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