Cleanup exports

Signed-off-by: manusant <ney.br.santos@gmail.com>
This commit is contained in:
manusant
2022-11-10 10:13:57 +00:00
parent ece8c70bb2
commit a4a7166fd0
4 changed files with 20 additions and 19 deletions
+12 -3
View File
@@ -32,6 +32,17 @@ export const isSonarQubeAvailable: (entity: Entity) => boolean;
// @public (undocumented)
export const SONARQUBE_PROJECT_KEY_ANNOTATION = 'sonarqube.org/project-key';
// @public (undocumented)
export const SonarQubeCard: (props: {
variant?: InfoCardVariants;
duplicationRatings?: DuplicationRating[];
}) => JSX.Element;
// @public (undocumented)
export const SonarQubeContentPage: (
props: SonarQubeContentPageProps,
) => JSX.Element;
// @public (undocumented)
export type SonarQubeContentPageProps = {
title?: string;
@@ -39,7 +50,5 @@ export type SonarQubeContentPageProps = {
};
// @public (undocumented)
const sonarQubePlugin: BackstagePlugin<{}, {}, {}>;
export { sonarQubePlugin as plugin };
export { sonarQubePlugin };
export const sonarQubePlugin: BackstagePlugin<{}, {}, {}>;
```
@@ -13,4 +13,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export * from './SonarQubeContentPage';
export { SonarQubeContentPage } from './SonarQubeContentPage';
export type { SonarQubeContentPageProps } from './SonarQubeContentPage';
+4 -2
View File
@@ -14,8 +14,10 @@
* limitations under the License.
*/
export * from './SonarQubeCard';
export * from './SonarQubeContentPage';
export { SonarQubeCard } from './SonarQubeCard';
export type { DuplicationRating } from './SonarQubeCard';
export { SonarQubeContentPage } from './SonarQubeContentPage';
export type { SonarQubeContentPageProps } from './SonarQubeContentPage';
export {
isSonarQubeAvailable,
SONARQUBE_PROJECT_KEY_ANNOTATION,
+2 -13
View File
@@ -21,16 +21,5 @@
* @packageDocumentation
*/
export type {
DuplicationRating,
SonarQubeContentPageProps,
SONARQUBE_PROJECT_KEY_ANNOTATION,
isSonarQubeAvailable,
} from './components';
export {
sonarQubePlugin,
sonarQubePlugin as plugin,
EntitySonarQubeCard,
EntitySonarQubeContentPage,
} from './plugin';
export * from './components';
export * from './plugin';