Merge pull request #16222 from backstage/freben/TypesToServiceRef

Removed the unused `TypesToServiceRef` type
This commit is contained in:
Fredrik Adelöw
2023-02-07 11:18:35 +01:00
committed by GitHub
4 changed files with 5 additions and 9 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-plugin-api': patch
---
Removed the unused `TypesToServiceRef` type
@@ -530,11 +530,6 @@ export interface TokenManagerService {
}>;
}
// @public (undocumented)
export type TypesToServiceRef<T> = {
[key in keyof T]: ServiceRef<T[key]>;
};
// @public
export interface UrlReaderService {
readTree(url: string, options?: ReadTreeOptions): Promise<ReadTreeResponse>;
@@ -17,7 +17,6 @@
export type {
ServiceRef,
ServiceRefConfig,
TypesToServiceRef,
ServiceFactory,
PluginServiceFactoryConfig,
RootServiceFactoryConfig,
@@ -47,9 +47,6 @@ export type ServiceRef<
$$type: '@backstage/ServiceRef';
};
/** @public */
export type TypesToServiceRef<T> = { [key in keyof T]: ServiceRef<T[key]> };
/** @public */
export type ServiceFactory<TService = unknown> =
| {