From b011a1052aa290c38847f86c7315507c9f69eaca Mon Sep 17 00:00:00 2001 From: Nick Marinelli Date: Fri, 17 Jun 2022 10:31:16 -0400 Subject: [PATCH] remove hooks and added icons Signed-off-by: Nick Marinelli --- plugins/azure-devops/api-report.md | 79 ------------------------------ plugins/azure-devops/src/index.ts | 3 -- 2 files changed, 82 deletions(-) diff --git a/plugins/azure-devops/api-report.md b/plugins/azure-devops/api-report.md index 78880eb389..b366166d95 100644 --- a/plugins/azure-devops/api-report.md +++ b/plugins/azure-devops/api-report.md @@ -16,7 +16,6 @@ import { GitTag } from '@backstage/plugin-azure-devops-common'; import { IdentityApi } from '@backstage/core-plugin-api'; import { PullRequest } from '@backstage/plugin-azure-devops-common'; import { PullRequestOptions } from '@backstage/plugin-azure-devops-common'; -import { PullRequestStatus } from '@backstage/plugin-azure-devops-common'; import { RepoBuild } from '@backstage/plugin-azure-devops-common'; import { RepoBuildOptions } from '@backstage/plugin-azure-devops-common'; import { SvgIconProps } from '@material-ui/core'; @@ -173,16 +172,6 @@ export class AzureDevOpsClient implements AzureDevOpsApi { // @public (undocumented) export const azureDevOpsPlugin: BackstagePlugin<{}, {}>; -// Warning: (ae-missing-release-tag) "AzureGitTagsIcon" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const AzureGitTagsIcon: (props: SvgIconProps) => JSX.Element; - -// Warning: (ae-missing-release-tag) "AzurePipelinesIcon" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export const AzurePipelinesIcon: (props: SvgIconProps) => JSX.Element; - // Warning: (ae-missing-release-tag) "AzurePullRequestsIcon" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) @@ -349,73 +338,5 @@ export interface PullRequestColumnConfig { // @public (undocumented) export type PullRequestFilter = (pullRequest: DashboardPullRequest) => boolean; -// Warning: (ae-missing-release-tag) "useAllTeams" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useAllTeams(): { - teams?: Team[]; - loading: boolean; - error?: Error; -}; - -// Warning: (ae-missing-release-tag) "useDashboardPullRequests" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useDashboardPullRequests( - project?: string, - pollingInterval?: number, -): { - pullRequests?: DashboardPullRequest[]; - loading: boolean; - error?: Error; -}; - -// Warning: (ae-missing-release-tag) "useProjectRepoFromEntity" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useProjectRepoFromEntity(entity: Entity): { - project: string; - repo: string; -}; - -// Warning: (ae-missing-release-tag) "usePullRequests" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function usePullRequests( - entity: Entity, - defaultLimit?: number, - requestedStatus?: PullRequestStatus, -): { - items?: PullRequest[]; - loading: boolean; - error?: Error; -}; - -// Warning: (ae-missing-release-tag) "useRepoBuilds" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useRepoBuilds( - entity: Entity, - defaultLimit?: number, -): { - items?: RepoBuild[]; - loading: boolean; - error?: Error; -}; - -// Warning: (ae-missing-release-tag) "useUserEmail" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useUserEmail(): string | undefined; - -// Warning: (ae-missing-release-tag) "useUserTeamIds" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// -// @public (undocumented) -export function useUserTeamIds(userId: string | undefined): { - teamIds?: string[]; - loading: boolean; - error?: Error; -}; - // (No @packageDocumentation comment for this package) ``` diff --git a/plugins/azure-devops/src/index.ts b/plugins/azure-devops/src/index.ts index def88f68c6..e65c1d02a3 100644 --- a/plugins/azure-devops/src/index.ts +++ b/plugins/azure-devops/src/index.ts @@ -25,11 +25,8 @@ export { } from './plugin'; export { AzurePullRequestsIcon } from './components/AzurePullRequestsIcon'; -export { AzureGitTagsIcon } from './components/AzureGitTagsIcon'; -export { AzurePipelinesIcon } from './components/AzurePipelinesIcon'; export * from './api'; -export * from './hooks'; export { FilterType } from './components/PullRequestsPage'; export type {