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;