Refactor Bitbucket header utility: remove unused BitbucketClone type definition to streamline the code and enhance maintainability.

This commit is contained in:
Mauricio Siu
2025-11-09 03:43:54 -06:00
parent f718ab334e
commit d8ab7a59ff

View File

@@ -76,11 +76,6 @@ export const getBitbucketHeaders = (bitbucketProvider: Bitbucket) => {
};
};
type BitbucketClone = (ApplicationWithBitbucket | ComposeWithBitbucket) & {
serverId: string | null;
type?: "application" | "compose";
};
interface CloneBitbucketRepository {
appName: string;
bitbucketRepository: string | null;