Signed-off-by: mo <mcassidy@hchb.com>
This commit is contained in:
mo
2022-04-29 07:34:17 -05:00
parent 37fb63ae2b
commit 00939d3b38
3 changed files with 3 additions and 0 deletions
@@ -39,6 +39,7 @@ export interface AzureDevOpsApi {
): Promise<{ items: RepoBuild[] }>;
getGitTags(
// TODO: Keep iterating down this rabbit hole on the client once the service has caught up
projectName: string,
repoName: string,
options?: PullRequestOptions,
@@ -29,6 +29,7 @@ import { DiscoveryApi, IdentityApi } from '@backstage/core-plugin-api';
import { AzureDevOpsApi } from './AzureDevOpsApi';
import { ResponseError } from '@backstage/errors';
// TODO: See red squiggly below
export class AzureDevOpsClient implements AzureDevOpsApi {
private readonly discoveryApi: DiscoveryApi;
private readonly identityApi: IdentityApi;
@@ -28,6 +28,7 @@ import useAsync from 'react-use/lib/useAsync';
import { useProjectRepoFromEntity } from './useProjectRepoFromEntity';
export function useGitTags(
// TODO: Keep iterating down this rabbit hole on the client once the service has caught up
entity: Entity,
defaultLimit?: number,
requestedStatus?: PullRequestStatus,