/**
 * Generated by orval v8.3.0 🍺
 * Do not edit manually.
 * Mission Control API
 * OpenAPI spec version: 0.1.0
 */
import type { ForgejoRepositoryConnectionInfo } from "./forgejoRepositoryConnectionInfo";
import type { ForgejoRepositoryReadLabelsItem } from "./forgejoRepositoryReadLabelsItem";

/**
 * Repository payload returned from read endpoints.
 */
export interface ForgejoRepositoryRead {
  owner: string;
  repo: string;
  display_name?: string;
  default_branch?: string;
  active?: boolean;
  id: string;
  organization_id: string;
  connection_id: string;
  connection: ForgejoRepositoryConnectionInfo;
  has_webhook_secret?: boolean;
  description?: string | null;
  open_issues_count?: number;
  is_archived?: boolean;
  topics?: string[];
  labels?: ForgejoRepositoryReadLabelsItem[];
  last_sync_at: string | null;
  last_sync_error: string | null;
  created_at: string;
  updated_at: string;
}
