@pagerduty/backstage-plugin-entity-processor 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.d.ts +52 -0
- package/package.json +1 -1
package/config.d.ts
ADDED
|
@@ -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
|
+
}
|