mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
refactor(github): organize concrete feature owners (#41601)
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import type { GhAccountBinding } from '../../shared/github/account-binding'
|
||||
import type { GhAccountBinding } from '../../shared/github/accounts/account-binding'
|
||||
import { ipcRenderer } from 'electron'
|
||||
import type { GitHubCommentResult } from '../../shared/github/comment-types'
|
||||
import type { GitHubAssignableUser, GitHubOwnerRepo } from '../../shared/github/pull-request-types'
|
||||
import type { GetRateLimitResult } from '../../shared/github/rate-limit-types'
|
||||
import type { GitHubCommentResult } from '../../shared/github/comments/comment-types'
|
||||
import type { GitHubAssignableUser } from '../../shared/github/pull-requests/pull-request-types'
|
||||
import type { GitHubRepositoryIdentity as GitHubOwnerRepo } from '../../shared/github/repositories/repository-identity'
|
||||
import type { GetRateLimitResult } from '../../shared/github/api/rate-limit-types'
|
||||
import type {
|
||||
GhAccountBindingInventory,
|
||||
GhAccountBindingValidationResult,
|
||||
GhAuthDiagnostic
|
||||
} from '../../shared/github/auth-types'
|
||||
} from '../../shared/github/accounts/auth-types'
|
||||
import type { TaskSourceContext } from '../../shared/work-items/task-source-context'
|
||||
import type {
|
||||
GetProjectViewTableResult,
|
||||
@@ -20,7 +21,7 @@ import type {
|
||||
ListProjectViewsResult,
|
||||
ProjectWorkItemDetailsBySlugResult,
|
||||
ResolveProjectRefResult
|
||||
} from '../../shared/github/project-result-types'
|
||||
} from '../../shared/github/projects/project-result-types'
|
||||
import type {
|
||||
AddIssueCommentBySlugArgs,
|
||||
ClearProjectItemFieldArgs,
|
||||
@@ -38,7 +39,7 @@ import type {
|
||||
UpdateIssueTypeBySlugArgs,
|
||||
UpdatePullRequestBySlugArgs,
|
||||
UpdateProjectItemFieldArgs
|
||||
} from '../../shared/github/project-request-types'
|
||||
} from '../../shared/github/projects/project-request-types'
|
||||
import type { AppStarSource } from '../../shared/gh-star-source'
|
||||
import type { PreloadApi } from '../api-types'
|
||||
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
import type { GhAccountBinding } from '../../shared/github/account-binding'
|
||||
import type { GhAccountBinding } from '../../shared/github/accounts/account-binding'
|
||||
import { ipcRenderer } from 'electron'
|
||||
import type { GitHubReactionContent } from '../../shared/github/comment-types'
|
||||
import type { GitHubReactionContent } from '../../shared/github/comments/comment-types'
|
||||
import type {
|
||||
GitHubPRRefreshCandidate,
|
||||
GitHubPRRefreshEvent,
|
||||
GitHubPRRefreshReason
|
||||
} from '../../shared/github/pull-request-refresh-types'
|
||||
import type { GitHubOwnerRepo } from '../../shared/github/pull-request-types'
|
||||
import type { GitHubWorkItem, ListWorkItemsResult } from '../../shared/github/work-item-types'
|
||||
} from '../../shared/github/pull-requests/refresh/pull-request-refresh-types'
|
||||
import type { GitHubRepositoryIdentity as GitHubOwnerRepo } from '../../shared/github/repositories/repository-identity'
|
||||
import type {
|
||||
GitHubWorkItem,
|
||||
ListWorkItemsResult
|
||||
} from '../../shared/github/work-items/work-item-types'
|
||||
import type { GitHubCreateIssueResult } from '../../shared/issue-mutation-types'
|
||||
import type { TaskSourceContext } from '../../shared/work-items/task-source-context'
|
||||
import type { PreloadApi } from '../api-types'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type {
|
||||
GhAccountBindingInventory,
|
||||
GhAccountBindingValidationResult
|
||||
} from '../../shared/github/auth-types'
|
||||
} from '../../shared/github/accounts/auth-types'
|
||||
|
||||
export type GithubAccountApi = {
|
||||
listBindableAccounts: (args: {
|
||||
|
||||
@@ -1,29 +1,29 @@
|
||||
import type { GhAccountBinding } from '../../shared/github/account-binding'
|
||||
import type { GhAccountBinding } from '../../shared/github/accounts/account-binding'
|
||||
import type { AppStarSource } from '../../shared/gh-star-source'
|
||||
import type { GhAuthDiagnostic } from '../../shared/github/auth-types'
|
||||
import type { GhAuthDiagnostic } from '../../shared/github/accounts/auth-types'
|
||||
import type { TaskSourceContext } from '../../shared/work-items/task-source-context'
|
||||
import type { PRCheckDetail, PRCheckRunDetails } from '../../shared/github/check-types'
|
||||
import type { PRCheckDetail, PRCheckRunDetails } from '../../shared/github/checks/check-types'
|
||||
import type {
|
||||
GitHubCommentResult,
|
||||
GitHubPRReviewCommentInput,
|
||||
GitHubReactionContent,
|
||||
PRComment
|
||||
} from '../../shared/github/comment-types'
|
||||
} from '../../shared/github/comments/comment-types'
|
||||
import type {
|
||||
GitHubPRRefreshCandidate,
|
||||
GitHubPRRefreshEnqueueResult,
|
||||
GitHubPRRefreshEvent,
|
||||
GitHubPRRefreshReason,
|
||||
PRRefreshOutcome
|
||||
} from '../../shared/github/pull-request-refresh-types'
|
||||
} from '../../shared/github/pull-requests/refresh/pull-request-refresh-types'
|
||||
import type { GitHubRepositoryIdentity as GitHubOwnerRepo } from '../../shared/github/repositories/repository-identity'
|
||||
import type {
|
||||
GitHubOwnerRepo,
|
||||
GitHubPRFile,
|
||||
GitHubPRFileContents,
|
||||
GitHubViewer,
|
||||
PRInfo
|
||||
} from '../../shared/github/pull-request-types'
|
||||
import type { GetRateLimitResult } from '../../shared/github/rate-limit-types'
|
||||
} from '../../shared/github/pull-requests/pull-request-types'
|
||||
import type { GetRateLimitResult } from '../../shared/github/api/rate-limit-types'
|
||||
import type { GitHubRepoSelectorArgs } from './github-work-item-api'
|
||||
|
||||
export type GithubPullRequestApi = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { GhAccountBinding } from '../../shared/github/account-binding'
|
||||
import type { GhAccountBinding } from '../../shared/github/accounts/account-binding'
|
||||
import type {
|
||||
GetProjectViewTableResult,
|
||||
GitHubProjectCommentMutationResult,
|
||||
@@ -10,7 +10,7 @@ import type {
|
||||
ListProjectViewsResult,
|
||||
ProjectWorkItemDetailsBySlugResult,
|
||||
ResolveProjectRefResult
|
||||
} from '../../shared/github/project-result-types'
|
||||
} from '../../shared/github/projects/project-result-types'
|
||||
import type {
|
||||
AddIssueCommentBySlugArgs,
|
||||
ClearProjectItemFieldArgs,
|
||||
@@ -28,19 +28,19 @@ import type {
|
||||
UpdateIssueTypeBySlugArgs,
|
||||
UpdateProjectItemFieldArgs,
|
||||
UpdatePullRequestBySlugArgs
|
||||
} from '../../shared/github/project-request-types'
|
||||
} from '../../shared/github/projects/project-request-types'
|
||||
import type { TaskSourceContext } from '../../shared/work-items/task-source-context'
|
||||
import type { GitHubCommentResult } from '../../shared/github/comment-types'
|
||||
import type { GitHubCommentResult } from '../../shared/github/comments/comment-types'
|
||||
import type {
|
||||
GitHubAssignableUser,
|
||||
GitHubOwnerRepo,
|
||||
IssueInfo
|
||||
} from '../../shared/github/pull-request-types'
|
||||
} from '../../shared/github/pull-requests/pull-request-types'
|
||||
import type { GitHubRepositoryIdentity as GitHubOwnerRepo } from '../../shared/github/repositories/repository-identity'
|
||||
import type {
|
||||
GitHubWorkItem,
|
||||
GitHubWorkItemDetails,
|
||||
ListWorkItemsResult
|
||||
} from '../../shared/github/work-item-types'
|
||||
} from '../../shared/github/work-items/work-item-types'
|
||||
import type { GitHubCreateIssueResult, GitHubIssueUpdate } from '../../shared/issue-mutation-types'
|
||||
|
||||
export type GitHubRepoSelectorArgs = {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { RepoCreateFailure } from '../../shared/repo-create-failure-copy'
|
||||
import type { CloneTargetArgs, CloneTargetCheck } from '../../shared/git/clone/clone-target-check'
|
||||
import type { ExecutionHostId } from '../../shared/execution-host'
|
||||
import type { GhAccountBinding } from '../../shared/github/account-binding'
|
||||
import type { GhAccountBinding } from '../../shared/github/accounts/account-binding'
|
||||
import type {
|
||||
NestedRepoScanResult,
|
||||
ProjectGroup,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { IssueInfo, PRInfo } from '../../shared/github/pull-request-types'
|
||||
import type { IssueInfo, PRInfo } from '../../shared/github/pull-requests/pull-request-types'
|
||||
import type {
|
||||
WorkspaceSessionPatch,
|
||||
WorkspaceSessionState
|
||||
|
||||
Reference in New Issue
Block a user