T3 Code Atlas

contracts/pullRequest

97 schemas in 1 file.

Stablev0.1.14c0eed7328db2· 2026-12-05

Blast radius

3 direct · 5 transitive workspaces · 6 apps affected

What a change to these 97 schemas can reach, from workspace dependencies, imports, call sites, and protocol edges.

Affected apps (browser, edge, electron-main, electron-preload, node, react-native, worker)
Contracts in its surface33 RPC1 HTTP5 MCP
Framework
effect-schema
Shape
›union11 members
| "merge"
| "ready"
| "draft"
| "close"
| "reopen"
| "delete-branch"
| "update-branch"
| "enable-auto-merge"
| "disable-auto-merge"
| "revert"
| "approve-workflows"
Framework
effect-schema
Shape
›{7 fields }
stackNumber?: PositiveInt
expectedStackHeads?: PullRequestStackHead[]
expectedHeadSha?: TrimmedNonEmptyString
replyWithSummary?: true
Framework
effect-schema
Shape
›{10 fields }
author?: PullRequestActor | null
reviewers?: PullRequestActor[]
comments: PullRequestComment[]
commentCount: NonNegativeInt
commentsTruncated: boolean
reviewThreadsTruncated?: boolean
reviewThreads: PullRequestReviewThread[]
overviewThreads?: PullRequestOverviewThread[]
reactions?: PullRequestReaction[]
Framework
effect-schema
Shape
›{4 fields }
isBot?: boolean
name: string | null
avatarUrl: string | null
Framework
effect-schema
Shape
"up-to-date" | "behind" | "unknown"
Framework
effect-schema
Shape
›{20 fields }
diff: boolean
comment: boolean
actions: ForwardCompatibleArray
mergeMethods: ForwardCompatibleArray
deleteBranch?: boolean
updateMethods?: ForwardCompatibleArray
search: boolean
reactions?: boolean
stacks?: boolean
stackActions?: boolean
stackAutoMerge?: boolean
labels?: boolean
mentions?: boolean
referenceSigils?: ForwardCompatibleArray
checksAlwaysReport?: boolean
withheldFileDiff?: boolean
Framework
effect-schema
Shape
›union2 members
›| {5 fields }
›code: {2 fields }
additions: NonNegativeInt
deletions: NonNegativeInt
›tests: {2 fields }
additions: NonNegativeInt
deletions: NonNegativeInt
›mocks: {2 fields }
additions: NonNegativeInt
deletions: NonNegativeInt
›generated: {2 fields }
additions: NonNegativeInt
deletions: NonNegativeInt
›docs?: {2 fields }
additions: NonNegativeInt
deletions: NonNegativeInt
| null
Framework
effect-schema
Shape
›{6 fields }
description: string | null
url: string | null
required?: boolean
placeholder?: boolean
Framework
effect-schema
Shape
›union7 members
| "pending"
| "action-required"
| "success"
| "failure"
| "skipped"
| "neutral"
| "cancelled"
Framework
effect-schema
Shape
›{4 fields }
observedAt?: number
workflowApprovalsRequired?: NonNegativeInt
Framework
effect-schema
Shape
"passing" | "failing" | "pending"
Framework
effect-schema
Shape
›{11 fields }
author: PullRequestActor | null
body: string
createdAt: string
editedAt?: string | null
url: string | null
path: string | null
reviewState: string | null
reactions?: PullRequestReaction[]
canEdit?: boolean
Framework
effect-schema
Shape
›{1 field }
body: string
Framework
effect-schema
Shape
"issue-comment" | "review-comment" | "review"
Framework
effect-schema
Shape
›{3 fields }
kind: "issue-comment" | "review-comment"
body: string
Framework
effect-schema
Shape
›{7 fields }
messageHeadline: string
committedDate: string
additions?: NonNegativeInt
deletions?: NonNegativeInt
changedFiles?: NonNegativeInt
authors?: PullRequestActor[]
Framework
effect-schema
Shape
›{43 fields }
viewerPermissions: PullRequestViewerPermissions
projectId: makeEntityId
projectTitle: TrimmedNonEmptyString
workspaceRoot: TrimmedNonEmptyString
number: PositiveInt
body: string
author: PullRequestActor | null
isDraft: boolean
rebaseRequired?: boolean
additions: NonNegativeInt
deletions: NonNegativeInt
changedFiles: NonNegativeInt
headBranch: GitRefName
headRepositoryNameWithOwner?: TrimmedNonEmptyString | null
baseBranch: GitRefName
createdAt: string
updatedAt: string
observedAt?: number
mergedAt: string | null
mergeCommitSha?: TrimmedNonEmptyString
mergedBy?: PullRequestActor
closedAt: string | null
reviewers: PullRequestActor[]
mergeCapabilities: PullRequestMergeCapabilities
baseComparison?: PullRequestBaseComparison
behindBy?: NonNegativeInt
autoMergeEnabled?: boolean
autoMergeMethod?: PullRequestMergeMethod
workflowApprovalsRequired?: NonNegativeInt
mergeQueueRemoval?: PullRequestMergeQueueRemoval
maintainerCanModify?: boolean
Framework
effect-schema
Shape
›{2 fields }
author: PullRequestActor | null
reviewers: PullRequestActor[]
Framework
effect-schema
Shape
›{4 fields }
changeType: "change" | "rename-pure" | "rename-changed" | "new" | "deleted"
oldPath: string
newPath: string
Framework
effect-schema
Shape
›{2 fields }
oldContents: string
newContents: string
Framework
effect-schema
Shape
›{3 fields }
path?: string
Framework
effect-schema
Shape
›{5 fields }
patch: string
truncated: boolean
nextCursor: TrimmedNonEmptyString | null
omittedFileStats?: PullRequestOmittedFileStat[]
withheldFilesReadable?: boolean
Framework
effect-schema
Shape
"left" | "right"
Framework
effect-schema
Shape
›{6 fields }
projectId: makeEntityId
number: PositiveInt
additions: NonNegativeInt
deletions: NonNegativeInt
Framework
effect-schema
Shape
›{3 fields }
changeRequest: boolean
comment: boolean
maintainerEdits?: boolean
Framework
effect-schema
Shape
›{2 fields }
path: string
Framework
effect-schema
Shape
"unviewed" | "viewed" | "dismissed"
Framework
effect-schema
Shape
›{2 fields }
truncated: boolean
Framework
effect-schema
Shape
"labels" | "authors" | "references"
Framework
effect-schema
Shape
›{4 fields }
authors: PullRequestActor[]
truncated: boolean
Framework
effect-schema
Shape
›{6 fields }
projectId?: makeEntityId
projectIds?: makeEntityId[]
Framework
effect-schema
Shape
›{2 fields }
reference?: PullRequestRef
filesViewedOnly?: boolean
Framework
effect-schema
Shape
"all" | "reviewing" | "authored"
Framework
effect-schema
Shape
›{3 fields }
color: string | null
description?: string | null
Framework
effect-schema
Shape
›{2 fields }
description: string | null
isApplied: boolean
Framework
effect-schema
Shape
›{2 fields }
truncated: boolean
Framework
effect-schema
Shape
›{2 fields }
applied: boolean
Framework
effect-schema
Shape
›{1 field }
›threads: arrayof
›{5 fields }
id: makeEntityId
projectId: makeEntityId
title: string
archivedAt: string | null
settled?: boolean
Framework
effect-schema
Shape
›{26 fields }
projectId: makeEntityId
projectTitle: TrimmedNonEmptyString
number: PositiveInt
author: PullRequestActor | null
headBranch: GitRefName
baseBranch: GitRefName
isDraft: boolean
rebaseRequired?: boolean
additions: NonNegativeInt
deletions: NonNegativeInt
createdAt: string
updatedAt: string
observedAt?: number
viewerReviewRequested: boolean
reviewDecision?: PullRequestReviewDecision
Framework
effect-schema
Shape
›{6 fields }
draft?: "only" | "hide"
review?: "approved" | "changes-requested" | "review-required" | "none"
checks?: "passing" | "failing"
labels?: …[][]
excludedLabels?: TrimmedNonEmptyString[]
Framework
effect-schema
Shape
›{9 fields }
projectId?: makeEntityId
projectIds?: makeEntityId[]
limit?: number
Framework
effect-schema
Shape
›{4 fields }
projectId: makeEntityId
projectTitle: TrimmedNonEmptyString
Framework
effect-schema
Shape
"all" | "open" | "closed" | "merged"
Framework
effect-schema
Shape
›{4 fields }
merge: boolean
squash: boolean
rebase: boolean
fast-forward?: boolean
Framework
effect-schema
Shape
"merge" | "squash" | "rebase" | "fast-forward"
Framework
effect-schema
Shape
›{3 fields }
removedAt: string
reason: string | null
Framework
effect-schema
Shape
"mergeable" | "conflicting" | "unknown"
Framework
effect-schema
Shape
›{3 fields }
path: string
additions: number
deletions: number
Framework
effect-schema
Shape
›{2 fields }
_tag: "PullRequestOperationError"
httpApiStatus: 503
Framework
effect-schema
Shape
›{2 fields }
path: null
line: null
Framework
effect-schema
Shape
›{11 fields }
projectId: makeEntityId
number: PositiveInt
author: PullRequestActor | null
isDraft: boolean
createdAt: string
updatedAt?: string
observedAt?: number
Framework
effect-schema
Shape
›{8 fields }
searchesOnHost: boolean
actions?: ForwardCompatibleArray
projectCount: PositiveInt
projectIds?: makeEntityId[]
configured: boolean
detail: TrimmedNonEmptyString | null
Framework
effect-schema
Shape
›{4 fields }
viewerHasReacted: boolean
Framework
effect-schema
Shape
›union8 members
| "thumbs-up"
| "thumbs-down"
| "laugh"
| "hooray"
| "confused"
| "heart"
| "rocket"
| "eyes"
Framework
effect-schema
Shape
›{3 fields }
reacted: boolean
Framework
effect-schema
Shape
›{6 fields }
projectId: makeEntityId
expectedAccountId?: TrimmedNonEmptyString
allowStale?: boolean
number: PositiveInt
Framework
effect-schema
Shape
›{5 fields }
kind: "issue" | "change-request"
number: PositiveInt
title: string
state: "open" | "closed" | "merged"
Framework
effect-schema
Shape
›{3 fields }
reference: PullRequestRef
isDraft?: boolean
Framework
effect-schema
Shape
›{5 fields }
inlineComment: boolean
rangeComment?: boolean
reply: boolean
resolve: boolean
verdicts: ForwardCompatibleArray
Framework
effect-schema
Shape
"approved" | "changes-requested" | "review-required"
Framework
effect-schema
Shape
›union3 members · discriminated by kind
›| "added"{2 fields }
kind: "added"
newLine: PositiveInt
›| "deleted"{2 fields }
kind: "deleted"
oldLine: PositiveInt
›| "context"{4 fields }
kind: "context"
oldLine: PositiveInt
newLine: PositiveInt
Framework
effect-schema
Shape
›{10 fields }
path: string
line: PositiveInt | null
isResolved: boolean
isOutdated: boolean
commentCount?: NonNegativeInt
nextCommentsCursor?: TrimmedNonEmptyString
canResolve?: boolean
Framework
effect-schema
Shape
"comment" | "approve" | "request-changes"
Framework
effect-schema
Shape
›{2 fields }
truncated: boolean
Framework
effect-schema
Shape
›{3 fields }
request: boolean
listCandidates: boolean
searchCandidates?: boolean
Framework
effect-schema
Shape
›{2 fields }
›reviewers: arrayof
requested: boolean
Framework
effect-schema
Shape
›{1 field }
›files: arrayof
›{3 fields }
path: string
viewed: boolean
Framework
effect-schema
Shape
›{5 fields }
number: PositiveInt
›layers: arrayof
›{6 fields }
number: PositiveInt
title?: string
isDraft?: boolean
headBranch: GitRefName
Framework
effect-schema
Shape
"open" | "closed" | "merged"
Framework
effect-schema
Shape
›{26 fields }
projectId: makeEntityId
number: PositiveInt
isDraft?: boolean
headBranch: GitRefName
baseBranch: GitRefName
closedAt?: string | null
mergedAt?: string | null
updatedAt: string
observedAt?: number
author?: PullRequestActor | null
additions?: NonNegativeInt
deletions?: NonNegativeInt
changedFiles?: NonNegativeInt
reviewDecision?: PullRequestReviewDecision | null
checksState?: PullRequestChecksState | null
rebaseRequired?: boolean
autoMergeEnabled?: boolean
autoMergeMethod?: PullRequestMergeMethod
Framework
effect-schema
Shape
›{9 fields }
author: PullRequestActor | null
body: string
createdAt: string
editedAt?: string | null
url: string | null
reviewUrl?: string | null
reactions?: PullRequestReaction[]
canEdit?: boolean
Framework
effect-schema
Shape
›{2 fields }
body: string
Framework
effect-schema
Shape
›{2 fields }
resolved: boolean
Framework
effect-schema
Shape
›{2 fields }
_tag: "PullRequestUnavailableError"
httpApiStatus: 503
Framework
effect-schema
Shape
"cli-missing" | "cli-unauthenticated" | "provider-unsupported" | "repository-without-project"
Framework
effect-schema
Shape
›{3 fields }
body?: string
maintainerCanModify?: boolean
Framework
effect-schema
Shape
"merge" | "rebase"
Framework
effect-schema
Shape
"host" | "environment"
Framework
effect-schema
Shape
›{10 fields }
stackRebase?: boolean
actions: ForwardCompatibleArray
comment: boolean
resolve: boolean
verdicts: ForwardCompatibleArray
requestReviewers: boolean
updateMethods?: ForwardCompatibleArray
labels?: boolean
editChangeRequest?: boolean
maintainerEdits?: boolean
Framework
effect-schema
Shape
"public" | "private"
Powered by Everdoc. Compiled from source by static analysis; no LLM in the loop.Stable v0.1.14c0eed7328db22026-12-05