backend-app-api: rename BackendRegistrable to BackendFeature

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-08-12 13:40:59 +02:00
parent 5e3761d2e7
commit e3d514507a
7 changed files with 24 additions and 30 deletions
@@ -19,7 +19,7 @@ import {
AnyServiceFactory,
ServiceRef,
createServiceFactory,
BackendRegistrable,
BackendFeature,
} from '@backstage/backend-plugin-api';
/** @alpha */
@@ -53,7 +53,7 @@ export function createTestBackend<TServices extends any[]>(
/** @alpha */
export async function startTestBackend<TServices extends any[]>(
options: TestBackendOptions<TServices> & {
registrables?: BackendRegistrable[];
registrables?: BackendFeature[];
},
): Promise<void> {
const { registrables = [], ...otherOptions } = options;