Files
orca/src/preload/api/github-account-api.ts
T

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>
}