chore: added api-reports

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-05-07 11:46:35 +02:00
parent e6d2096510
commit c6113b5e78
2 changed files with 17 additions and 0 deletions
+10
View File
@@ -17,6 +17,7 @@ import { BackstageUserPrincipal } from '@backstage/backend-plugin-api';
import { CacheService } from '@backstage/backend-plugin-api';
import { DatabaseService } from '@backstage/backend-plugin-api';
import { DiscoveryService } from '@backstage/backend-plugin-api';
import { EventsService } from '@backstage/plugin-events-node';
import { ExtendedHttpServer } from '@backstage/backend-app-api';
import { ExtensionPoint } from '@backstage/backend-plugin-api';
import { HttpAuthService } from '@backstage/backend-plugin-api';
@@ -183,6 +184,15 @@ export namespace mockServices {
partialImpl?: Partial<DiscoveryService> | undefined,
) => ServiceMock<DiscoveryService>;
}
// (undocumented)
export namespace events {
const // (undocumented)
factory: () => ServiceFactory<EventsService, 'plugin'>;
const // (undocumented)
mock: (
partialImpl?: Partial<EventsService> | undefined,
) => ServiceMock<EventsService>;
}
export function httpAuth(options?: {
pluginId?: string;
defaultCredentials?: BackstageCredentials;
+7
View File
@@ -4,6 +4,7 @@
```ts
import { LoggerService } from '@backstage/backend-plugin-api';
import { ServiceFactory } from '@backstage/backend-plugin-api';
import { ServiceRef } from '@backstage/backend-plugin-api';
// @public
@@ -61,6 +62,12 @@ export interface EventsService {
// @public (undocumented)
export type EventsServiceEventHandler = (params: EventParams) => Promise<void>;
// @public (undocumented)
export const eventsServiceFactory: () => ServiceFactory<
EventsService,
'plugin'
>;
// @public
export const eventsServiceRef: ServiceRef<EventsService, 'plugin'>;