Removed the unused TypesToServiceRef type
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-plugin-api': patch
|
||||
---
|
||||
|
||||
Removed the unused `TypesToServiceRef` type
|
||||
@@ -525,11 +525,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<
|
||||
$$ref: 'service';
|
||||
};
|
||||
|
||||
/** @public */
|
||||
export type TypesToServiceRef<T> = { [key in keyof T]: ServiceRef<T[key]> };
|
||||
|
||||
/** @public */
|
||||
export type ServiceFactory<TService = unknown> =
|
||||
| {
|
||||
|
||||
Reference in New Issue
Block a user