UNPKG

@jfvilas/plugin-kwirth-backend

Version:
24 lines (20 loc) 849 B
import express from 'express'; import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api'; import { DiscoveryService, RootConfigService, LoggerService, UserInfoService, AuthService, HttpAuthService } from '@backstage/backend-plugin-api'; type KwirthRouterOptions = { discoverySvc: DiscoveryService; configSvc: RootConfigService; loggerSvc: LoggerService; userInfoSvc: UserInfoService; authSvc: AuthService; httpAuthSvc: HttpAuthService; }; /** * * @param options core services we need for Kwirthbackstage to work * @returns an express Router */ declare function createRouter(options: KwirthRouterOptions): Promise<express.Router>; declare const kwirthPlugin: _backstage_backend_plugin_api.BackendFeatureCompat; export { createRouter, kwirthPlugin as default }; export type { KwirthRouterOptions };