mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Add Likes in Post component
This commit is contained in:
7
app/javascript/interfaces/ILike.ts
Normal file
7
app/javascript/interfaces/ILike.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
interface ILike {
|
||||
id: number;
|
||||
fullName: string;
|
||||
email: string;
|
||||
}
|
||||
|
||||
export default ILike;
|
||||
9
app/javascript/interfaces/json/ILike.ts
Normal file
9
app/javascript/interfaces/json/ILike.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
interface ILikeJSON {
|
||||
id: number;
|
||||
user_id: number;
|
||||
post_id: number;
|
||||
full_name: string;
|
||||
email: string;
|
||||
}
|
||||
|
||||
export default ILikeJSON;
|
||||
Reference in New Issue
Block a user