TypeScript API / @laikacms/bitbucket/storage-bb / BitbucketStorageRepositoryOptions
Interface: BitbucketStorageRepositoryOptions
Configuration for a BitbucketDataSource.
Extends
Properties
apiUrl?
ts
readonly optional apiUrl?: string;Override the API base URL. Defaults to https://api.bitbucket.org/2.0.
Inherited from
BitbucketDataSourceOptions.apiUrl
auth
ts
readonly auth: BitbucketAuth;Inherited from
BitbucketDataSourceOptions.auth
branch
ts
readonly branch: string;Branch every commit lands on.
Inherited from
BitbucketDataSourceOptions.branch
commitAuthor?
ts
readonly optional commitAuthor?: object;email
ts
readonly email: string;name
ts
readonly name: string;defaultFileExtension
ts
readonly defaultFileExtension: string;determineExtension?
ts
readonly optional determineExtension?: DetermineExtension;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>
Inherited from
BitbucketDataSourceOptions.fetch
ignoreList?
ts
readonly optional ignoreList?: readonly string[];repo
ts
readonly repo: string;Inherited from
BitbucketDataSourceOptions.repo
serializerRegistry
ts
readonly serializerRegistry: StorageSerializerRegistry;workspace
ts
readonly workspace: string;