diff --git a/.changeset/smart-planes-march.md b/.changeset/smart-planes-march.md new file mode 100644 index 0000000000..619c37c675 --- /dev/null +++ b/.changeset/smart-planes-march.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-search-backend-module-catalog': patch +--- + +Allow filter to be an array in config schema diff --git a/plugins/search-backend-module-catalog/config.d.ts b/plugins/search-backend-module-catalog/config.d.ts index be9122b907..0c4302a9c4 100644 --- a/plugins/search-backend-module-catalog/config.d.ts +++ b/plugins/search-backend-module-catalog/config.d.ts @@ -36,7 +36,7 @@ export interface Config { * * Defaults to no filter, ie indexing all entities. */ - filter?: object; + filter?: object | object[]; /** * The number of entities to process at a time. Keep this at a * reasonable number to avoid overloading either the catalog or the