mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Add edit and delete actions to posts and comments (#125)
This commit is contained in:
committed by
GitHub
parent
07ca2a304a
commit
bc15140512
@@ -5,6 +5,7 @@ interface ICommentJSON {
|
||||
is_post_update: boolean;
|
||||
user_full_name: string;
|
||||
user_email: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ interface IPostJSON {
|
||||
comments_count: number;
|
||||
hotness: number;
|
||||
user_id: number;
|
||||
user_email: string;
|
||||
user_full_name: string;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user