aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/comments.ts
blob: b196142246e12c5b97025e12b68b2ec7399f58ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export type CommentAuthor = {
  gravatarUrl: string;
  name: string;
  url: string;
};

export type Comment = {
  approved: '';
  author: CommentAuthor;
  commentId: number;
  content: string;
  date: string;
  id: string;
};

export type CommentsResponse = {
  nodes: Comment[];
};