plugins: refactory to use default export for new backend system
Co-authored-by: Fredrik Adelöw <freben@gmail.com> Co-authored-by: Camila Belo <camilaibs@gmail.com> Co-authored-by: Johan Haals <johan.haals@gmail.com> Co-authored-by: Philipp Hugenroth <philipph@spotify.com> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -14,7 +14,8 @@ import { PluginEndpointDiscovery } from '@backstage/backend-common';
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @public
|
||||
export const entityFeedbackPlugin: () => BackendFeature;
|
||||
const entityFeedbackPlugin: () => BackendFeature;
|
||||
export default entityFeedbackPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
* @packageDocumentation
|
||||
*/
|
||||
export * from './service/router';
|
||||
export { entityFeedbackPlugin } from './plugin';
|
||||
export { entityFeedbackPlugin as default } from './plugin';
|
||||
|
||||
Reference in New Issue
Block a user