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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user