2024-07-12 20:38:46 +02:00
|
|
|
import { PostApprovalStatus } from "../IPost";
|
|
|
|
|
|
2019-09-11 18:30:59 +02:00
|
|
|
interface IPostJSON {
|
|
|
|
|
id: number;
|
|
|
|
|
title: string;
|
2024-04-05 18:23:31 +02:00
|
|
|
slug?: string;
|
2019-09-11 18:30:59 +02:00
|
|
|
description?: string;
|
2024-07-12 20:38:46 +02:00
|
|
|
approval_status: PostApprovalStatus;
|
2019-09-11 18:30:59 +02:00
|
|
|
board_id: number;
|
|
|
|
|
post_status_id?: number;
|
2019-09-27 16:57:23 +02:00
|
|
|
likes_count: number;
|
|
|
|
|
liked: number;
|
2019-09-21 11:17:58 +02:00
|
|
|
comments_count: number;
|
2019-09-27 16:57:23 +02:00
|
|
|
hotness: number;
|
2019-09-11 18:30:59 +02:00
|
|
|
user_id: number;
|
2022-06-22 10:17:42 +02:00
|
|
|
user_email: string;
|
|
|
|
|
user_full_name: string;
|
2019-09-11 18:30:59 +02:00
|
|
|
created_at: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default IPostJSON;
|