/**
 * Generated by orval v8.8.0 🍺
 * Do not edit manually.
 * OpenAPI spec version: 0.0.0
 */
import type { AuthorMinimal } from "./authorMinimal";
import type { PostContent } from "./postContent";
import type { PostHub } from "./postHub";
import type { Tags } from "./tags";

export interface Post {
  readonly id: number;
  content?: string;
  readonly created_at: Date;
  readonly updated_at: Date;
  readonly author: number;
  readonly author_detail: AuthorMinimal;
  /** @nullable */
  hub?: number | null;
  readonly hub_detail: PostHub;
  /** @nullable */
  reply_to?: number | null;
  readonly tags: readonly Tags[];
  readonly contents: readonly PostContent[];
  readonly vote_score: string;
  readonly user_vote: string;
  readonly reply_count: number;
  readonly is_saved: string;
  readonly save_count: string;
}
