From 40198d6f87a2cb816b7eb091719c4e00e79ad170 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Tue, 13 Jun 2023 19:12:44 -0400 Subject: [PATCH] feat: Add config schema definition to PagerDuty plugin Signed-off-by: Adam Harvey --- plugins/pagerduty/config.d.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 plugins/pagerduty/config.d.ts diff --git a/plugins/pagerduty/config.d.ts b/plugins/pagerduty/config.d.ts new file mode 100644 index 0000000000..317b18ed61 --- /dev/null +++ b/plugins/pagerduty/config.d.ts @@ -0,0 +1,28 @@ +/* + * Copyright 2023 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export interface Config { + /** + * Configuration for the PagerDuty plugin + * @visibility frontend + */ + pagerduty?: { + /** + * Optional Events Base URL to override the default. + * @visibility frontend + */ + eventsBaseUrl?: string; + }; +}