frontend-app-api: fix phased predicate type checks

Use internal extension shapes when reading predicate metadata and type the finalized app test helper explicitly. This fixes the typecheck breakage introduced by the phased predicate and override changes.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-14 15:43:01 +01:00
parent d65d4812f6
commit b6fc7f861f
2 changed files with 23 additions and 19 deletions
@@ -17,10 +17,10 @@
import {
Extension,
FeatureFlagConfig,
FilterPredicate,
IconElement,
OverridableFrontendPlugin,
} from '@backstage/frontend-plugin-api';
import { FilterPredicate } from '@backstage/filter-predicates';
import { JsonObject } from '@backstage/types';
import { OpaqueType } from '@internal/opaque';