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';