Files
orca/src/main/github/client.ts
T
Brennan Benson df95f03101 Show ready and close actions for draft reviews (#16889)
* Fix draft review sidebar actions

* Drop unused React import in draft actions test

The automatic JSX runtime makes the default React import dead, and
tsconfig.tc.web.json failed the branch on TS6133.

* Add localization keys for draft review actions

The new Ready for review controls introduced five untranslated keys and
the static analysis job requires them present in en.json.

* Name the draft action for what it does

The button read 'Ready for review', which states a status rather than an
action, directly under a header already showing the PR state. The i18n
key (markReady), the in-flight label ('Marking ready...') and the success
toast ('marked ready for review') all already used the verb.
2026-08-28 12:31:55 -07:00

46 lines
2.6 KiB
TypeScript

export {
_getMergeQueueCacheSizeForTests,
_resetMergeQueueCacheForTests
} from './client/detect/repository-merge-metadata-cache'
export { _resetPRStackSummaryCacheForTests } from './client/lookup/pr-stack-summary-cache'
export {
_getTrackedUpstreamBranchCacheSizesForTests,
__resetTrackedUpstreamBranchCacheForTests
} from './client/lookup/tracked-upstream-cache'
export { addPRReviewComment, addPRReviewCommentReply } from './client/create/add-pr-review-comment'
export { checkOrcaStarred, starOrca } from './client/fetch/orca-star'
export { countWorkItems } from './client/list/count-work-items'
export { createGitHubPullRequest } from './client/create/create-github-pull-request'
export { getAuthenticatedViewer } from './client/fetch/authenticated-viewer'
export { getGitHubPRLookupRateLimitBlock } from './client/lookup/pr-lookup-rate-limit'
export { getPRCheckDetails } from './client/check/get-pr-check-details'
export { getPRChecks } from './client/check/get-pr-checks'
export { getPRComments } from './client/fetch/get-pr-comments'
export { getPRForBranch } from './client/lookup/get-pr-for-branch'
export { getPRForBranchOutcome } from './client/lookup/pr-for-branch-outcome'
export {
getPullRequestPushTarget,
type PullRequestPushTarget
} from './client/lookup/pull-request-push-target'
export { getRepoSlug, getRepoUpstream } from './client/fetch/repo-slug-upstream'
export { getWorkItem, getWorkItemByOwnerRepo } from './client/fetch/get-work-item'
export { listWorkItems } from './client/list/list-work-items'
export { mergePR } from './client/merge/merge-pr'
export { removePRReviewers, requestPRReviewers } from './client/update/pr-reviewers'
export { rerunPRChecks } from './client/check/rerun-pr-checks'
export { resolveReviewThread } from './client/update/resolve-review-thread'
export { setPRAutoMerge } from './client/merge/pr-auto-merge'
export { setPRCommentReaction } from './client/update/pr-comment-reaction'
export { setPRFileViewed } from './client/update/pr-file-viewed'
export { updatePRDetails, updatePRTitle } from './client/update/pr-details'
export { markPRReadyForReview } from './client/update/pr-ready'
export { updatePRState } from './client/update/pr-state'
export type { GitHubPRBranchLookupOptions } from './client/lookup/pull-request-lookup-data'
export type { MainWorkItem } from './client/map/work-item-field-coercion'
export { _resetOwnerRepoCache } from './gh-utils'
export { getIssue, listIssues } from './issues'
export { createIssue } from './issue-create'
export { updateIssue } from './issue-update'
export { addIssueComment } from './issue-comment'
export { listLabels, listAssignableUsers } from './issue-field-options'