graphql-backend

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-19 14:44:58 +02:00
parent 9d322594ac
commit 12d29b72eb
3 changed files with 2 additions and 5 deletions
@@ -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> {