events-node: update API report

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-05-25 16:03:58 +02:00
parent 3f7e67bf33
commit 4ea914f12e
+16 -5
View File
@@ -3,6 +3,9 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { AuthService } from '@backstage/backend-plugin-api';
import { DiscoveryService } from '@backstage/backend-plugin-api';
import { LifecycleService } from '@backstage/backend-plugin-api';
import { LoggerService } from '@backstage/backend-plugin-api';
import { ServiceFactory } from '@backstage/backend-plugin-api';
import { ServiceRef } from '@backstage/backend-plugin-api';
@@ -11,11 +14,19 @@ import { ServiceRef } from '@backstage/backend-plugin-api';
export class DefaultEventsService implements EventsService {
// (undocumented)
static create(options: { logger: LoggerService }): DefaultEventsService;
forPlugin(pluginId: string): EventsService;
// (undocumented)
publish(params: EventParams): Promise<void>;
// (undocumented)
subscribe(options: EventsServiceSubscribeOptions): Promise<void>;
forPlugin(
pluginId: string,
options?: {
discovery: DiscoveryService;
logger: LoggerService;
auth: AuthService;
lifecycle: LifecycleService;
},
): EventsService;
// @deprecated (undocumented)
publish(_params: EventParams): Promise<void>;
// @deprecated (undocumented)
subscribe(_options: EventsServiceSubscribeOptions): Promise<void>;
}
// @public @deprecated