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

18 lines
323 B
TypeScript
Raw Normal View History

import { UserProposal, User } from 'types';
2018-10-04 21:27:02 -07:00
export interface Comment {
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;
}