bitbucket
Version:
Bitbucket API client for Browser and Node.js
17 lines (12 loc) • 477 B
text/typescript
export { Options } from '../../client/types'
export { RequestOptions } from '../../endpoint/types'
export type APIClient = import('../../client/types').APIClient
type AuthBasic = import('../auth/types').AuthBasic
type AuthToken = import('../auth/types').AuthToken
export type AuthenticateOptions =
| AuthBasic & { type: 'apppassword' | 'basic' }
| AuthToken & { type: 'token' }
export type AuthenticatePluginState = {
client: APIClient
auth?: AuthenticateOptions
}