import type { DateTimeTzString } from "../types/DateTimeTzString"; import type { Issue } from "./Issue"; import type { PullRequestAttachmentFile } from "./PullRequestAttachmentFile"; import type { PullRequestStatus } from "./PullRequestStatus"; import type { Star } from "./Star"; import type { User } from "./User"; export interface PullRequest { readonly id: number; readonly projectId: number; readonly repositoryId: number; readonly number: number; readonly summary: string; readonly description: string; readonly base: string; readonly branch: string; readonly status: PullRequestStatus; readonly assignee: User | null; readonly issue: Issue | null; readonly baseCommit: string | null; readonly branchCommit: string | null; readonly mergeCommit: string | null; readonly closeAt: DateTimeTzString | null; readonly mergeAt: DateTimeTzString | null; readonly createdUser: User; readonly created: DateTimeTzString; readonly updatedUser: User; readonly updated: DateTimeTzString; readonly attachments: PullRequestAttachmentFile[]; readonly stars: Star[]; }