4f02e664fb
Signed-off-by: Enrico Alvarenga <enrico.alvarenga@segment.com>
1.2 KiB
1.2 KiB
@backstage/plugin-scaffolder, @backstage/plugin-scaffolder-backend-module-cookiecutter, @backstage/plugin-scaffolder-backend-module-rails, @backstage/plugin-scaffolder-backend-module-yeoman, @backstage/plugin-scaffolder-backend
| @backstage/plugin-scaffolder | @backstage/plugin-scaffolder-backend-module-cookiecutter | @backstage/plugin-scaffolder-backend-module-rails | @backstage/plugin-scaffolder-backend-module-yeoman | @backstage/plugin-scaffolder-backend |
|---|---|---|---|---|
| minor | patch | patch | patch | patch |
Added catalogFilter field to OwnerPicker and EntityPicker components to support filtering options by any field(s) of an entity.
The allowedKinds field has been deprecated. Use catalogFilter instead. This field allows users to specify a filter on the shape of EntityFilterQuery, which can be passed into the CatalogClient. See examples below:
-
Get all entities of kind
Groupowner: title: Owner type: string description: Owner of the component ui:field: OwnerPicker ui:options: catalogFilter: - kind: Group -
Get entities of kind
Groupand spec.typeteamowner: title: Owner type: string description: Owner of the component ui:field: OwnerPicker ui:options: catalogFilter: - kind: Group spec.type: team