TypeScript API / @laikacms/bitbucket/storage-bb / BitbucketDataSourceOptions
Interface: BitbucketDataSourceOptions
Configuration for a BitbucketDataSource.
Extended by
Properties
apiUrl?
ts
readonly optional apiUrl?: string;Override the API base URL. Defaults to https://api.bitbucket.org/2.0.
auth
ts
readonly auth: BitbucketAuth;branch
ts
readonly branch: string;Branch every commit lands on.
fetch?
ts
readonly optional fetch?: {
(input, init?): Promise<Response>;
(input, init?): Promise<Response>;
};Custom fetch — useful for tests and non-standard runtimes.
Call Signature
ts
(input, init?): Promise<Response>;Parameters
| Parameter | Type |
|---|---|
input | RequestInfo | URL |
init? | RequestInit |
Returns
Promise<Response>
Call Signature
ts
(input, init?): Promise<Response>;Parameters
| Parameter | Type |
|---|---|
input | string | Request | URL |
init? | RequestInit |
Returns
Promise<Response>
repo
ts
readonly repo: string;workspace
ts
readonly workspace: string;