From 8d4b350afd34718d801a538012777bf80ee2e312 Mon Sep 17 00:00:00 2001 From: Jonathan Mezach Date: Tue, 2 May 2023 13:21:35 +0200 Subject: [PATCH] Regenerate API report Signed-off-by: Jonathan Mezach --- plugins/octopus-deploy/api-report.md | 12 ++++++++---- plugins/octopus-deploy/src/index.ts | 2 ++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/plugins/octopus-deploy/api-report.md b/plugins/octopus-deploy/api-report.md index 55b44a0ce9..53c92403bd 100644 --- a/plugins/octopus-deploy/api-report.md +++ b/plugins/octopus-deploy/api-report.md @@ -26,8 +26,7 @@ export const OCTOPUS_DEPLOY_PROJECT_ID_ANNOTATION = 'octopus.com/project-id'; export interface OctopusDeployApi { // (undocumented) getReleaseProgression(opts: { - projectId: string; - spaceId?: string; + projectReference: ProjectReference; releaseHistoryCount: number; }): Promise; } @@ -44,8 +43,7 @@ export class OctopusDeployClient implements OctopusDeployApi { }); // (undocumented) getReleaseProgression(opts: { - projectId: string; - spaceId?: string; + projectReference: ProjectReference; releaseHistoryCount: number; }): Promise; } @@ -84,5 +82,11 @@ export type OctopusReleaseProgression = { }; }; +// @public (undocumented) +export type ProjectReference = { + projectId: string; + spaceId?: string; +}; + // (No @packageDocumentation comment for this package) ``` diff --git a/plugins/octopus-deploy/src/index.ts b/plugins/octopus-deploy/src/index.ts index e3264efaf0..2b39431606 100644 --- a/plugins/octopus-deploy/src/index.ts +++ b/plugins/octopus-deploy/src/index.ts @@ -21,4 +21,6 @@ export { export * from './api'; +export type { ProjectReference } from './utils/getAnnotationFromEntity'; + export { OCTOPUS_DEPLOY_PROJECT_ID_ANNOTATION } from './constants';