Skip to content

Commit

Permalink
chore: update plugin config schema
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Barbosa <tbarbos@hotmail.com>
  • Loading branch information
t1agob committed Jul 12, 2024
1 parent 90ab30e commit d0c0ca4
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

import { PagerDutyOAuthConfig } from "@pagerduty/backstage-plugin-common";
import { PagerDutyAccountConfig, PagerDutyOAuthConfig } from '@pagerduty/backstage-plugin-common';

export interface Config {
/**
Expand All @@ -28,9 +28,24 @@ export interface Config {
*/
eventsBaseUrl?: string;
/**
* Optional API Base URL to override the default.
* @visibility frontend
*/
* Optional API Base URL to override the default.
* @visibility frontend
*/
apiBaseUrl?: string;
/**
* Optional PagerDuty API Token used in API calls from the backend component.
* @visibility secret
*/
apiToken?: string;
/**
* Optional PagerDuty Scoped OAuth Token used in API calls from the backend component.
* @deepVisibility secret
*/
oauth?: PagerDutyOAuthConfig;
/**
* Optional PagerDuty multi-account configuration
* @deepVisibility secret
*/
accounts?: PagerDutyAccountConfig[];
};
}

0 comments on commit d0c0ca4

Please sign in to comment.