add internals export file

Signed-off-by: Juan Pablo Garcia Ripa <sarabadu@gmail.com>
This commit is contained in:
Juan Pablo Garcia Ripa
2023-01-02 17:05:53 +01:00
parent 8024341620
commit bdc49a2ab8
3 changed files with 22 additions and 22 deletions
+4 -13
View File
@@ -66,7 +66,6 @@ declare namespace components {
ResponseStepListItem,
};
}
export { components };
declare namespace constants {
export {
@@ -76,7 +75,6 @@ declare namespace constants {
TAG_OBJECT_MESSAGE,
};
}
export { constants };
// Warning: (ae-forgotten-export) The symbol "GetBranchResult" needs to be exported by the entry point index.d.ts
// Warning: (ae-missing-release-tag) "createMockBranch" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -285,20 +283,14 @@ declare namespace helpers {
validateTagName,
};
}
export { helpers };
// @public (undocumented)
const InfoCardPlus: (props: { children?: React_2.ReactNode }) => JSX.Element;
// Warning: (ae-missing-release-tag) "internals" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const internals: {
components: typeof components;
constants: typeof constants;
helpers: typeof helpers;
testHelpers: typeof testHelpers;
};
declare namespace internals {
export { components, constants, helpers, testHelpers };
}
export { internals };
// Warning: (ae-missing-release-tag) "isCalverTagParts" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
@@ -725,7 +717,6 @@ const TEST_IDS: {
declare namespace testHelpers {
export { stats, testHelpers_2 as testHelpers, testIds };
}
export { testHelpers };
declare namespace testHelpers_2 {
export {
+2 -9
View File
@@ -26,16 +26,9 @@ export {
gitReleaseManagerApiRef,
} from './plugin';
import { components, constants, helpers, testHelpers } from './plugin';
import * as internals from './internals';
export const internals = {
components,
constants,
helpers,
testHelpers,
};
export { components, constants, helpers, testHelpers };
export { internals };
export type {
ComponentConfig,
@@ -0,0 +1,16 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { components, constants, helpers, testHelpers } from './plugin';