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

17 lines
316 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;
content: string;
2018-10-04 21:27:02 -07:00
dateCreated: number;
author: User;
replies: Comment[];
}
export interface UserComment {
commentId: number | string;
content: string;
2018-10-04 21:27:02 -07:00
dateCreated: number;
proposal: UserProposal;
}