From 0a7179538a73e71a0e497ec2c8578a50c3abfdf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustaf=20R=C3=A4ntil=C3=A4?= Date: Fri, 14 Jan 2022 16:35:33 +0100 Subject: [PATCH] fix(cicd-statistics): Don't export branchTypes, it's not very useful MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gustaf Räntilä --- plugins/cicd-statistics/api-report.md | 5 ----- plugins/cicd-statistics/src/apis/types.ts | 1 - 2 files changed, 6 deletions(-) diff --git a/plugins/cicd-statistics/api-report.md b/plugins/cicd-statistics/api-report.md index 09e0948753..c2e7e0934d 100644 --- a/plugins/cicd-statistics/api-report.md +++ b/plugins/cicd-statistics/api-report.md @@ -15,11 +15,6 @@ import { RouteRef } from '@backstage/core-plugin-api'; // @public export class AbortError extends Error {} -// Warning: (ae-missing-release-tag) "branchTypes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const branchTypes: Array; - // Warning: (ae-missing-release-tag) "Build" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public diff --git a/plugins/cicd-statistics/src/apis/types.ts b/plugins/cicd-statistics/src/apis/types.ts index 6ff0b67741..d89b0e1f0c 100644 --- a/plugins/cicd-statistics/src/apis/types.ts +++ b/plugins/cicd-statistics/src/apis/types.ts @@ -52,7 +52,6 @@ export const statusTypes: Array = [ * which is then up to the Api to map accordingly. */ export type FilterBranchType = 'master' | 'branch'; -export const branchTypes: Array = ['master', 'branch']; /** * A Stage is a part of either a Build or a parent Stage.