Better organise exports

Signed-off-by: Andrew Shirley <andrew.shirley@sainsburys.co.uk>
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
Andrew Shirley
2021-07-02 11:35:46 +01:00
committed by blam
parent aaa12c8bdb
commit 5a3bd232a2
2 changed files with 21 additions and 6 deletions
+1 -6
View File
@@ -14,9 +14,4 @@
* limitations under the License.
*/
export * from './service/router';
export type {
JenkinsInfo,
JenkinsInfoProvider,
} from './service/jenkinsInfoProvider';
export { DefaultJenkinsInfoProvider } from './service/jenkinsInfoProvider';
export * from './service';
@@ -0,0 +1,20 @@
/*
* Copyright 2020 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 type { RouterOptions } from './router';
export { createRouter } from './router';
export type { JenkinsInfo, JenkinsInfoProvider } from './jenkinsInfoProvider';
export { DefaultJenkinsInfoProvider } from './jenkinsInfoProvider';