bitbucket
Version:
Bitbucket API client for Browser and Node.js
20 lines (15 loc) • 433 B
text/typescript
export type APIClient = import('../../client/types').APIClient
export type Options = import('../../client/types').Options
export type RequestOptions = import('../../endpoint/types').RequestOptions
export type AuthBasic = {
username: string
password: string
}
export type AuthToken = {
token: string
}
export type AuthOptions = AuthBasic | AuthToken
export type AuthPluginState = {
client: APIClient
auth: AuthOptions
}