diff --git a/.changeset/mighty-cheetahs-call.md b/.changeset/mighty-cheetahs-call.md new file mode 100644 index 0000000000..f5d17d8b20 --- /dev/null +++ b/.changeset/mighty-cheetahs-call.md @@ -0,0 +1,5 @@ +--- +'@backstage/backend-defaults': patch +--- + +Move down the discovery config to be in the root diff --git a/packages/backend-defaults/config.d.ts b/packages/backend-defaults/config.d.ts index 5f068735ce..a8c6e1c290 100644 --- a/packages/backend-defaults/config.d.ts +++ b/packages/backend-defaults/config.d.ts @@ -374,28 +374,6 @@ export interface Config { >; }; - /** - * Options used by the default discovery service. - */ - discovery?: { - /** - * A list of target baseUrls and the associated plugins. - */ - endpoints: Array<{ - /** - * The target base URL to use for the plugin. - * - * Can be either a string or an object with internal and external keys. - * Targets with `{{pluginId}}` or `{{ pluginId }} in the URL will be replaced with the plugin ID. - */ - target: string | { internal: string; external: string }; - /** - * Array of plugins which use the target base URL. - */ - plugins: string[]; - }>; - }; - /** Database connection configuration, select base database type using the `client` field */ database: { /** Default database client to use */ @@ -574,4 +552,26 @@ export interface Config { }>; }; }; + + /** + * Options used by the default discovery service. + */ + discovery?: { + /** + * A list of target baseUrls and the associated plugins. + */ + endpoints: Array<{ + /** + * The target base URL to use for the plugin. + * + * Can be either a string or an object with internal and external keys. + * Targets with `{{pluginId}}` or `{{ pluginId }} in the URL will be replaced with the plugin ID. + */ + target: string | { internal: string; external: string }; + /** + * Array of plugins which use the target base URL. + */ + plugins: string[]; + }>; + }; }