mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 19:57:52 +01:00
21 lines
430 B
TypeScript
21 lines
430 B
TypeScript
import { PostApprovalStatus } from "../IPost";
|
|
|
|
interface IPostJSON {
|
|
id: number;
|
|
title: string;
|
|
slug?: string;
|
|
description?: string;
|
|
approval_status: PostApprovalStatus;
|
|
board_id: number;
|
|
post_status_id?: number;
|
|
likes_count: number;
|
|
liked: number;
|
|
comments_count: number;
|
|
hotness: number;
|
|
user_id: number;
|
|
user_email: string;
|
|
user_full_name: string;
|
|
created_at: string;
|
|
}
|
|
|
|
export default IPostJSON; |