Files
vontor-cz/frontend/src/api/generated/private/models/post.ts

27 lines
695 B
TypeScript

/**
* 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 { 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;
/** @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;
}