replacing export of bitbucketCloudBranchRestriction in index.ts with direct import inside module.ts

Signed-off-by: liad.shachoach <liad.shachoach@controlup.com>
This commit is contained in:
liad.shachoach
2025-01-16 15:03:31 +02:00
parent 9b13d54ad7
commit 7ae762de86
3 changed files with 1 additions and 20 deletions
@@ -13,24 +13,6 @@ import { TemplateAction } from '@backstage/plugin-scaffolder-node';
const bitbucketCloudModule: BackendFeature;
export default bitbucketCloudModule;
// @public
export function createBitbucketCloudBranchRestrictionAction(options: {
integrations: ScmIntegrationRegistry;
}): TemplateAction<
{
repoUrl: string;
kind: string;
branchMatchKind?: string | undefined;
branchType?: string | undefined;
pattern?: string | undefined;
value?: number | undefined;
users?: object[] | undefined;
groups?: object[] | undefined;
token?: string | undefined;
},
JsonObject
>;
// @public
export const createBitbucketPipelinesRunAction: (options: {
integrations: ScmIntegrationRegistry;
@@ -16,4 +16,3 @@
export * from './bitbucketCloud';
export { createBitbucketPipelinesRunAction } from './bitbucketCloudPipelinesRun';
export * from './bitbucketCloudPullRequest';
export * from './bitbucketCloudBranchRestriction';
@@ -21,11 +21,11 @@ import {
scaffolderActionsExtensionPoint,
scaffolderAutocompleteExtensionPoint,
} from '@backstage/plugin-scaffolder-node/alpha';
import { createBitbucketCloudBranchRestrictionAction } from './actions/bitbucketCloudBranchRestriction';
import {
createBitbucketPipelinesRunAction,
createPublishBitbucketCloudAction,
createPublishBitbucketCloudPullRequestAction,
createBitbucketCloudBranchRestrictionAction,
} from './actions';
import { ScmIntegrations } from '@backstage/integration';
import { handleAutocompleteRequest } from './autocomplete/autocomplete';