From c8ed8ba085c806221ac426ab1317875021fa4e57 Mon Sep 17 00:00:00 2001 From: Jonathan Roebuck Date: Tue, 4 Mar 2025 08:52:11 +0000 Subject: [PATCH] fix: update target property in config interface to be optional Signed-off-by: Jonathan Roebuck --- .changeset/nine-frogs-kick.md | 5 +++++ plugins/catalog-backend-module-msgraph/config.d.ts | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changeset/nine-frogs-kick.md diff --git a/.changeset/nine-frogs-kick.md b/.changeset/nine-frogs-kick.md new file mode 100644 index 0000000000..5be2a2cf7c --- /dev/null +++ b/.changeset/nine-frogs-kick.md @@ -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. diff --git a/plugins/catalog-backend-module-msgraph/config.d.ts b/plugins/catalog-backend-module-msgraph/config.d.ts index d91d3f9d34..8928da6f53 100644 --- a/plugins/catalog-backend-module-msgraph/config.d.ts +++ b/plugins/catalog-backend-module-msgraph/config.d.ts @@ -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. *