catalog-graphql

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-08-19 14:05:29 +02:00
parent 7f7cbf1796
commit 8b0d2528fb
3 changed files with 2 additions and 5 deletions
-4
View File
@@ -7,13 +7,9 @@ import { Config } from '@backstage/config';
import { Logger } from 'winston';
import { Module } from 'graphql-modules';
// Warning: (ae-missing-release-tag) "createModule" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export function createModule(options: ModuleOptions): Promise<Module>;
// Warning: (ae-missing-release-tag) "ModuleOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ModuleOptions {
// (undocumented)
@@ -27,11 +27,13 @@ import GraphQLJSON, { GraphQLJSONObject } from 'graphql-type-json';
import { Entity } from '@backstage/catalog-model';
import typeDefs from '../schema';
/** @public */
export interface ModuleOptions {
logger: Logger;
config: Config;
}
/** @public */
export async function createModule(options: ModuleOptions): Promise<Module> {
const catalogClient = new CatalogClient(
options.config.getString('backend.baseUrl'),
-1
View File
@@ -200,7 +200,6 @@ const PACKAGE_ROOTS = ['packages', 'plugins'];
const ALLOW_WARNINGS = [
'packages/core-components',
'plugins/catalog',
'plugins/catalog-graphql',
'plugins/catalog-import',
'plugins/cicd-statistics',
'plugins/circleci',