azure-sites - Deprecated legacy backend (#2042)
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
parent
067af9a780
commit
21014532bf
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@backstage-community/plugin-azure-sites-backend': patch
|
||||
---
|
||||
|
||||
Deprecated `createRouter` and its router options in favour of the new backend system.
|
||||
|
|
@ -58,10 +58,10 @@ export class AzureSitesConfig {
|
|||
const azureSitesPlugin: BackendFeature;
|
||||
export default azureSitesPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export interface RouterOptions {
|
||||
// (undocumented)
|
||||
auth?: AuthService;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,10 @@ import {
|
|||
PermissionsService,
|
||||
} from '@backstage/backend-plugin-api';
|
||||
|
||||
/** @public */
|
||||
/**
|
||||
* @deprecated Please migrate to the new backend system as this will be removed in the future.
|
||||
*
|
||||
* @public */
|
||||
export interface RouterOptions {
|
||||
logger: LoggerService;
|
||||
azureSitesApi: AzureSitesApi;
|
||||
|
|
@ -51,7 +54,10 @@ export interface RouterOptions {
|
|||
httpAuth?: HttpAuthService;
|
||||
}
|
||||
|
||||
/** @public */
|
||||
/**
|
||||
* @deprecated Please migrate to the new backend system as this will be removed in the future.
|
||||
*
|
||||
* @public */
|
||||
export async function createRouter(
|
||||
options: RouterOptions,
|
||||
): Promise<express.Router> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue