From bf072ab2e890867e8fcabd3562f9a1cd915c7b69 Mon Sep 17 00:00:00 2001 From: Jonathan Mezach Date: Fri, 17 Feb 2023 15:42:31 +0100 Subject: [PATCH] Expose annotation constant in API Signed-off-by: Jonathan Mezach --- plugins/octopus-deploy/api-report.md | 3 +++ plugins/octopus-deploy/src/constants.ts | 2 ++ plugins/octopus-deploy/src/index.ts | 2 ++ 3 files changed, 7 insertions(+) diff --git a/plugins/octopus-deploy/api-report.md b/plugins/octopus-deploy/api-report.md index 563e7ebea4..48487c46c9 100644 --- a/plugins/octopus-deploy/api-report.md +++ b/plugins/octopus-deploy/api-report.md @@ -19,6 +19,9 @@ export const EntityOctopusDeployContent: (props: { // @public (undocumented) export const isOctopusDeployAvailable: (entity: Entity) => boolean; +// @public (undocumented) +export const OCTOPUS_DEPLOY_PROJECT_ID_ANNOTATION = 'octopus.com/project-id'; + // @public (undocumented) export interface OctopusDeployApi { // (undocumented) diff --git a/plugins/octopus-deploy/src/constants.ts b/plugins/octopus-deploy/src/constants.ts index 391dacb42c..3bdc48252f 100644 --- a/plugins/octopus-deploy/src/constants.ts +++ b/plugins/octopus-deploy/src/constants.ts @@ -13,4 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/** @public */ export const OCTOPUS_DEPLOY_PROJECT_ID_ANNOTATION = 'octopus.com/project-id'; diff --git a/plugins/octopus-deploy/src/index.ts b/plugins/octopus-deploy/src/index.ts index f3696853df..e3264efaf0 100644 --- a/plugins/octopus-deploy/src/index.ts +++ b/plugins/octopus-deploy/src/index.ts @@ -20,3 +20,5 @@ export { } from './plugin'; export * from './api'; + +export { OCTOPUS_DEPLOY_PROJECT_ID_ANNOTATION } from './constants';