code-coverage - Deprecated legacy backend (#2046)
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
parent
fe5f938175
commit
37bd870128
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@backstage-community/plugin-code-coverage-backend': patch
|
||||
---
|
||||
|
||||
Deprecated `createRouter` and its router options in favour of the new backend system.
|
||||
|
|
@ -18,10 +18,10 @@ import { UrlReaderService } from '@backstage/backend-plugin-api';
|
|||
const codeCoveragePlugin: BackendFeature;
|
||||
export default codeCoveragePlugin;
|
||||
|
||||
// @public
|
||||
// @public @deprecated (undocumented)
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @public
|
||||
// @public @deprecated (undocumented)
|
||||
export interface RouterOptions {
|
||||
// (undocumented)
|
||||
auth?: AuthService;
|
||||
|
|
|
|||
|
|
@ -38,6 +38,8 @@ import {
|
|||
import { MiddlewareFactory } from '@backstage/backend-defaults/rootHttpRouter';
|
||||
|
||||
/**
|
||||
* @deprecated Please migrate to the new backend system as this will be removed in the future.
|
||||
*
|
||||
* Options for {@link createRouter}.
|
||||
*
|
||||
* @public
|
||||
|
|
@ -263,6 +265,8 @@ export const makeRouter = async (
|
|||
};
|
||||
|
||||
/**
|
||||
* @deprecated Please migrate to the new backend system as this will be removed in the future.
|
||||
*
|
||||
* Creates a code-coverage plugin backend router.
|
||||
*
|
||||
* @public
|
||||
|
|
|
|||
Loading…
Reference in New Issue