fix: update target property in config interface to be optional

Signed-off-by: Jonathan Roebuck <jroebuck@spotify.com>
This commit is contained in:
Jonathan Roebuck
2025-03-04 08:52:11 +00:00
parent 6343c3ee1c
commit c8ed8ba085
2 changed files with 8 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-msgraph': patch
---
Update actual catalog.providers.microsoftGraphOrg.target config def to be optional as this has a default value. Revert the previously mistakenly updated processors config which as it is deprecated.
+3 -3
View File
@@ -32,7 +32,7 @@ export interface Config {
* The prefix of the target that this matches on, e.g.
* "https://graph.microsoft.com/v1.0", with no trailing slash.
*/
target?: string;
target: string;
/**
* The auth authority used.
*
@@ -116,7 +116,7 @@ export interface Config {
* The prefix of the target that this matches on, e.g.
* "https://graph.microsoft.com/v1.0", with no trailing slash.
*/
target: string;
target?: string;
/**
* The auth authority used.
*
@@ -231,7 +231,7 @@ export interface Config {
* The prefix of the target that this matches on, e.g.
* "https://graph.microsoft.com/v1.0", with no trailing slash.
*/
target: string;
target?: string;
/**
* The auth authority used.
*