@@ -5,6 +5,7 @@
|
||||
```ts
|
||||
import express from 'express';
|
||||
import { Logger as Logger_2 } from 'winston';
|
||||
import { PluginEndpointDiscovery } from '@backstage/backend-common';
|
||||
import { SearchEngine } from '@backstage/plugin-search-backend-node';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "createRouter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
@@ -18,5 +19,7 @@ export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
export type RouterOptions = {
|
||||
engine: SearchEngine;
|
||||
logger: Logger_2;
|
||||
discovery: PluginEndpointDiscovery;
|
||||
allowedLocationProtocols?: string[];
|
||||
};
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user