Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 4506e12

Browse files
authored
release: 0.2.1 (#7)
### Description This release fixes an issue with the missing plugin config schema. Without it the Backstage instance will not load. ## Acknowledgement By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. **Disclaimer:** We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.
2 parents 272e8ca + 47cfe93 commit 4506e12

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

config.d.ts

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*
2+
* Copyright 2023 The Backstage Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
import { PagerDutyAccountConfig, PagerDutyOAuthConfig } from '@pagerduty/backstage-plugin-common';
18+
19+
export interface Config {
20+
/**
21+
* Configuration for the PagerDuty plugin
22+
* @visibility frontend
23+
*/
24+
pagerDuty?: {
25+
/**
26+
* Optional Events Base URL to override the default.
27+
* @visibility frontend
28+
*/
29+
eventsBaseUrl?: string;
30+
/**
31+
* Optional API Base URL to override the default.
32+
* @visibility frontend
33+
*/
34+
apiBaseUrl?: string;
35+
/**
36+
* Optional PagerDuty API Token used in API calls from the backend component.
37+
* @visibility secret
38+
*/
39+
apiToken?: string;
40+
/**
41+
* Optional PagerDuty Scoped OAuth Token used in API calls from the backend component.
42+
* @deepVisibility secret
43+
*/
44+
oauth?: PagerDutyOAuthConfig;
45+
46+
/**
47+
* Optional PagerDuty multi-account configuration
48+
* @deepVisibility secret
49+
*/
50+
accounts?: PagerDutyAccountConfig[];
51+
};
52+
}

0 commit comments

Comments
 (0)