import { PlatformId } from '../../constants' ; import { Http , HttpOptions , HttpResponse , InternalHttpOptions } from '.' ; let baseUrl = 'https://api.bitbucket.org/' ; export const setBaseUrl = ( url ) : void => { baseUrl = url ; } ; export class BitbucketHttp extends Http { constructor ( options ? ) { super ( PlatformId . Bitbucket , options ) ; } protected override request < T > ( url , options ? ) { const opts = { baseUrl , ... options } ; return super . request < T > ( url , opts ) ; } }