Type Alias: VCSPullRequestDetail
Makaio Framework / contracts / VCSPullRequestDetail
Type Alias: VCSPullRequestDetail
Section titled “Type Alias: VCSPullRequestDetail”VCSPullRequestDetail =
z.infer<typeofVCSPullRequestDetailSchema>
Defined in: ../../../packages/contracts/src/capabilities/vcs/schemas/pr.ts:97
Type Composition
Section titled “Type Composition”VCSPullRequestDetailz.infer<typeof VCSPullRequestDetailSchema>typeof VCSPullRequestDetailSchema
Resolved Shape
Section titled “Resolved Shape”type VCSPullRequestDetail = { id: string; number: number; title: string; state: 'merged' | 'open' | 'closed'; draft: boolean; author: string; branch: string; baseBranch: string; url: string; createdAt: string; updatedAt: string; mergedAt: string | null; body: string | null; reviews: Array<{ id: number; author: string; state: 'APPROVED' | 'CHANGES_REQUESTED' | 'COMMENTED' | 'PENDING' | 'DISMISSED'; body: string | null; submittedAt: string | null; }>; labels: Array<string>; assignees: Array<string>; requestedReviewers: Array<string>; mergeable: boolean | null; additions?: number | undefined; deletions?: number | undefined; changedFiles?: number | undefined; commentCount?: number | undefined; reviewCount?: number | undefined; head?: { ref: string; sha: string; } | null | undefined; mergeableState?: string | undefined;};