mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 09:27:29 +00:00
19 lines
472 B
TypeScript
19 lines
472 B
TypeScript
import type {
|
|
GhAccountBindingInventory,
|
|
GhAccountBindingValidationResult
|
|
} from '../../shared/github/accounts/auth-types'
|
|
|
|
export type GithubAccountApi = {
|
|
listBindableAccounts: (args: {
|
|
repoPath: string
|
|
repoId?: string
|
|
refreshCapability?: boolean
|
|
}) => Promise<GhAccountBindingInventory>
|
|
validateAccountBinding: (args: {
|
|
repoPath: string
|
|
repoId?: string
|
|
host: string
|
|
user: string
|
|
}) => Promise<GhAccountBindingValidationResult>
|
|
}
|