Merge pull request #32631 from backstage/freben/predicates-2
Introduce the `@backstage/filter-predicates` package
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-graph': patch
|
||||
'@backstage/plugin-kubernetes': patch
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
'@backstage/plugin-api-docs': patch
|
||||
'@backstage/plugin-techdocs': patch
|
||||
'@backstage/plugin-catalog': patch
|
||||
'@backstage/plugin-org': patch
|
||||
---
|
||||
|
||||
Adjusted to use the new `@backstage/filter-predicates` types for predicate expressions.
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-react': minor
|
||||
---
|
||||
|
||||
**BREAKING ALPHA**: All of the predicate types and functions have been moved to the `@backstage/filter-predicates` package.
|
||||
|
||||
When moving into the more general package, they were renamed as follows:
|
||||
|
||||
- `EntityPredicate` -> `FilterPredicate`
|
||||
- `EntityPredicateExpression` -> `FilterPredicateExpression`
|
||||
- `EntityPredicatePrimitive` -> `FilterPredicatePrimitive`
|
||||
- `entityPredicateToFilterFunction` -> `filterPredicateToFilterFunction`
|
||||
- `EntityPredicateValue` -> `FilterPredicateValue`
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/filter-predicates': minor
|
||||
---
|
||||
|
||||
Introduced package, basically as the extracted predicate types from `@backstage/plugin-catalog-react/alpha`
|
||||
Reference in New Issue
Block a user