Add edit and delete actions to posts and comments (#125)

This commit is contained in:
Riccardo Graziosi
2022-06-22 10:17:42 +02:00
committed by GitHub
parent 07ca2a304a
commit bc15140512
52 changed files with 1495 additions and 481 deletions

View File

@@ -5,6 +5,7 @@ interface ICommentJSON {
is_post_update: boolean;
user_full_name: string;
user_email: string;
created_at: string;
updated_at: string;
}

View File

@@ -9,6 +9,8 @@ interface IPostJSON {
comments_count: number;
hotness: number;
user_id: number;
user_email: string;
user_full_name: string;
created_at: string;
}

View File

@@ -2,7 +2,7 @@ interface IPostStatusChangeJSON {
post_status_id: number;
user_full_name: string;
user_email: string;
updated_at: string;
created_at: string;
}
export default IPostStatusChangeJSON;