/**
 * Generated by orval v8.3.0 🍺
 * Do not edit manually.
 * Mission Control API
 * OpenAPI spec version: 0.1.0
 */
import type { ForgejoIssueReadAssigneesItem } from "./forgejoIssueReadAssigneesItem";
import type { ForgejoIssueReadLabelsItem } from "./forgejoIssueReadLabelsItem";
import type { ForgejoIssueReadMilestone } from "./forgejoIssueReadMilestone";

/**
 * Issue payload returned from read endpoints.
 */
export interface ForgejoIssueRead {
  forgejo_issue_number: number;
  title: string;
  body?: string | null;
  body_preview?: string | null;
  state: string;
  is_pull_request: boolean;
  labels?: ForgejoIssueReadLabelsItem[];
  assignees?: ForgejoIssueReadAssigneesItem[];
  milestone?: ForgejoIssueReadMilestone;
  author: string;
  html_url: string;
  forgejo_created_at: string;
  forgejo_updated_at: string;
  forgejo_closed_at?: string | null;
  id: string;
  organization_id: string;
  repository_id: string;
  created_at: string;
  updated_at: string;
}
