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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user