@@ -7,13 +7,9 @@ import { Config } from '@backstage/config';
|
||||
import express from 'express';
|
||||
import { Logger } from 'winston';
|
||||
|
||||
// Warning: (ae-missing-release-tag) "createRouter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "RouterOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export interface RouterOptions {
|
||||
// (undocumented)
|
||||
|
||||
@@ -25,11 +25,13 @@ import { Config } from '@backstage/config';
|
||||
import helmet from 'helmet';
|
||||
import { makeExecutableSchema } from '@graphql-tools/schema';
|
||||
|
||||
/** @public */
|
||||
export interface RouterOptions {
|
||||
logger: Logger;
|
||||
config: Config;
|
||||
}
|
||||
|
||||
/** @public */
|
||||
export async function createRouter(
|
||||
options: RouterOptions,
|
||||
): Promise<express.Router> {
|
||||
|
||||
@@ -209,7 +209,6 @@ const ALLOW_WARNINGS = [
|
||||
'plugins/github-deployments',
|
||||
'plugins/github-pull-requests-board',
|
||||
'plugins/gitops-profiles',
|
||||
'plugins/graphql-backend',
|
||||
'plugins/jenkins',
|
||||
'plugins/jenkins-backend',
|
||||
'plugins/kubernetes',
|
||||
|
||||
Reference in New Issue
Block a user