mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Add Redux and use it for state management
This commit is contained in:
11
app/javascript/interfaces/json/IPost.ts
Normal file
11
app/javascript/interfaces/json/IPost.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
interface IPostJSON {
|
||||
id: number;
|
||||
title: string;
|
||||
description?: string;
|
||||
board_id: number;
|
||||
post_status_id?: number;
|
||||
user_id: number;
|
||||
created_at: string;
|
||||
}
|
||||
|
||||
export default IPostJSON;
|
||||
Reference in New Issue
Block a user