diff --git a/config.d.ts b/config.d.ts index ffb3ffc..fce94d3 100644 --- a/config.d.ts +++ b/config.d.ts @@ -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 { /** @@ -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[]; }; }