Updating api reports

Signed-off-by: Callen Barton <7515844+cal5barton@users.noreply.github.com>
This commit is contained in:
Callen Barton
2022-07-07 10:29:38 -06:00
parent 2321793465
commit fc583608d8
2 changed files with 12 additions and 0 deletions
@@ -12,6 +12,7 @@ import express from 'express';
import { GitRepository } from 'azure-devops-node-api/interfaces/GitInterfaces';
import { GitTag } from '@backstage/plugin-azure-devops-common';
import { Logger } from 'winston';
import { Project } from '@backstage/plugin-azure-devops-common';
import { PullRequest } from '@backstage/plugin-azure-devops-common';
import { PullRequestOptions } from '@backstage/plugin-azure-devops-common';
import { RepoBuild } from '@backstage/plugin-azure-devops-common';
@@ -64,6 +65,8 @@ export class AzureDevOpsApi {
// (undocumented)
getGitTags(projectName: string, repoName: string): Promise<GitTag[]>;
// (undocumented)
getProjects(): Promise<Project[]>;
// (undocumented)
getPullRequests(
projectName: string,
repoName: string,
@@ -168,6 +168,15 @@ export enum PolicyTypeId {
Status = 'cbdc66da-9728-4af8-aada-9a5a32e4a226',
}
// Warning: (ae-missing-release-tag) "Project" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Project = {
id?: string;
name?: string;
description?: string;
};
// Warning: (ae-missing-release-tag) "PullRequest" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)