Merge pull request #25593 from backstage/mob/nbs10-service-modules
[NBS 1.0] Enabling multiple service implementations
This commit is contained in:
@@ -37,7 +37,7 @@ export type SignalPayload<TMessage extends JsonObject = JsonObject> = {
|
||||
export interface SignalService extends SignalsService {}
|
||||
|
||||
// @public @deprecated (undocumented)
|
||||
export const signalService: ServiceRef<SignalsService, 'plugin'>;
|
||||
export const signalService: ServiceRef<SignalsService, 'plugin', 'singleton'>;
|
||||
|
||||
// @public (undocumented)
|
||||
export interface SignalsService {
|
||||
@@ -52,7 +52,11 @@ export type SignalsServiceOptions = {
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export const signalsServiceRef: ServiceRef<SignalsService, 'plugin'>;
|
||||
export const signalsServiceRef: ServiceRef<
|
||||
SignalsService,
|
||||
'plugin',
|
||||
'singleton'
|
||||
>;
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user