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:
@@ -83,7 +83,8 @@ export type BadgeSpec = {
|
||||
};
|
||||
|
||||
// @public
|
||||
export const badgesPlugin: () => BackendFeature;
|
||||
const badgesPlugin: () => BackendFeature;
|
||||
export default badgesPlugin;
|
||||
|
||||
// @public
|
||||
export interface BadgesStore {
|
||||
|
||||
@@ -25,4 +25,4 @@ export * from './lib';
|
||||
export * from './service/router';
|
||||
export * from './types';
|
||||
export * from './database/badgesStore';
|
||||
export { badgesPlugin } from './plugin';
|
||||
export { badgesPlugin as default } from './plugin';
|
||||
|
||||
Reference in New Issue
Block a user