adjusted comment object to allow for null and parent comment id

master
j 2024-04-07 22:01:29 -04:00
parent be1dd71f73
commit fe1ca738c3
1 changed files with 23 additions and 23 deletions

View File

@ -40,11 +40,11 @@ export type Comment = {
is_nsfw: boolean;
level: number;
permalink: string;
pinned: string;
pinned: string | null;
parent_comment_id?: number | null;
post_id: number;
replies: number[];
reports: Record<string, unknown>;
score: number;
upvotes: number;
};
};