Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/agynio/gh-pr-review
/ types & classes
Types & classes
58 in github.com/agynio/gh-pr-review
⨍
Functions
163
◇
Types & classes
58
Interface
API
API defines the subset of GitHub API interactions required by the command logic.
internal/ghcli/ghcli.go:20
Struct
APIError
APIError wraps errors returned by the `gh api` command, exposing the HTTP status code when detected.
internal/ghcli/ghcli.go:51
Struct
ActionOptions
ActionOptions controls resolve/unresolve operations.
internal/threads/service.go:42
Struct
ActionResult
ActionResult captures the outcome of a resolve/unresolve mutation.
internal/threads/service.go:47
Struct
Client
Client executes GitHub API requests through the `gh` CLI to reuse the authenticated context and host configuration provided by the user.
internal/ghcli/ghcli.go:15
Struct
FilterOptions
FilterOptions controls shaping of reviews and threads.
internal/report/domain.go:16
Struct
GraphQLError
GraphQLError represents GraphQL-level errors returned alongside a response.
internal/ghcli/ghcli.go:32
Struct
GraphQLErrorEntry
GraphQLErrorEntry captures a single GraphQL error payload.
internal/ghcli/ghcli.go:26
Struct
Identity
Identity represents a fully-resolved pull request reference.
internal/resolver/resolver.go:18
Struct
LatestOptions
LatestOptions configures lookup of the latest submitted review for a reviewer.
internal/review/latest.go:14
Struct
ListOptions
ListOptions configures list filtering.
internal/threads/service.go:25
Struct
Options
Options controls data retrieval and shaping for the report.
internal/report/service.go:25
Struct
PendingOptions
PendingOptions configures lookup of the latest pending review for a reviewer.
internal/review/pending.go:14
Struct
PendingSummary
PendingSummary captures pending review metadata for output.
internal/review/pending.go:20
Struct
Reply
Reply represents the normalized GraphQL response after adding a thread reply.
internal/comments/service.go:63
Struct
ReplyOptions
ReplyOptions contains the payload for replying to a review comment thread.
internal/comments/service.go:56
Struct
Report
Report is the serialized output structure for the report command.
internal/report/domain.go:58
Struct
ReportComment
ReportComment contains the shaped parent comment for a thread.
internal/report/domain.go:73
Struct
ReportReview
ReportReview aggregates review data and associated thread comments.
internal/report/domain.go:63
Struct
Review
Review models a pull request review fetched from GraphQL.
internal/report/domain.go:26
Struct
ReviewState
ReviewState contains metadata about a review after opening or submitting it.
internal/review/service.go:21
Struct
ReviewSummary
ReviewSummary captures a subset of review metadata returned to callers.
internal/review/latest.go:21
Struct
ReviewThread
ReviewThread represents an inline comment thread added to a pending review.
internal/review/service.go:34
Struct
ReviewUser
ReviewUser mirrors the minimal REST user schema exposed in summaries.
internal/review/latest.go:31
Struct
Service
Service exposes pull request review thread operations.
internal/threads/service.go:15
Struct
Service
Service provides high-level review comment operations.
internal/comments/service.go:51
Struct
Service
Service coordinates review GraphQL operations through the gh CLI.
internal/review/service.go:13
Struct
Service
Service fetches and shapes pull request review reports.
internal/report/service.go:20
TypeAlias
State
State represents the pull request review state supported by the report command.
internal/report/domain.go:6
Struct
SubmitInput
SubmitInput contains the payload for submitting a pending review.
internal/review/service.go:53
Struct
SubmitStatus
SubmitStatus represents the outcome of a review submission mutation.
internal/review/service.go:28
Struct
Thread
Thread represents a normalized review thread payload for JSON output.
internal/threads/service.go:31
Struct
Thread
Thread captures a review thread and its constituent comments.
internal/report/domain.go:36
Struct
ThreadComment
ThreadComment represents a single comment node within a thread.
internal/report/domain.go:46
Struct
ThreadInput
ThreadInput describes the inline comment details for AddThread.
internal/review/service.go:42
Struct
ThreadReply
ThreadReply captures a reply within a thread.
internal/report/domain.go:87
Struct
commandFakeAPI
cmd/comments_test.go:16
Struct
commentDetails
internal/comments/service.go:82
Struct
commentsOptions
cmd/comments.go:13
Struct
commentsReplyOptions
cmd/comments.go:73
Struct
fakeAPI
internal/threads/service_test.go:15
Struct
fakeAPI
internal/comments/service_test.go:14
Struct
fakeAPI
internal/review/service_test.go:14
Struct
fakeViewAPI
cmd/review_view_test.go:152
Struct
pendingNode
internal/review/pending.go:74
Struct
pullContext
internal/threads/service.go:52
Struct
restReview
internal/review/latest.go:112
Struct
reviewOptions
cmd/review.go:52
Struct
reviewViewOptions
cmd/review_view.go:42
Struct
stubAPI
internal/report/service_test.go:127
Struct
testReviewNode
internal/review/pending_test.go:14
Struct
threadDetails
internal/threads/service.go:315
Struct
threadDetails
internal/comments/service.go:104
Struct
threadNode
internal/threads/service.go:169
Struct
threadsListOptions
cmd/threads.go:50
Struct
threadsMutationOptions
cmd/threads.go:125
Struct
threadsQueryResponse
internal/threads/service.go:157
Struct
timedSummary
internal/review/pending.go:88