diff --git a/packages/core-plugin-api/report-alpha.api.md b/packages/core-plugin-api/report-alpha.api.md index c0f0d02535..281d943e50 100644 --- a/packages/core-plugin-api/report-alpha.api.md +++ b/packages/core-plugin-api/report-alpha.api.md @@ -4,6 +4,8 @@ ```ts import { ApiRef } from '@backstage/core-plugin-api'; +import { Expand } from '@backstage/types'; +import { ExpandRecursive } from '@backstage/types'; import { Observable } from '@backstage/types'; import { TranslationMessages as TranslationMessages_2 } from '@backstage/core-plugin-api/alpha'; import { TranslationRef as TranslationRef_2 } from '@backstage/core-plugin-api/alpha'; diff --git a/packages/frontend-plugin-api/report.api.md b/packages/frontend-plugin-api/report.api.md index acc9efed61..24c2ff6d3b 100644 --- a/packages/frontend-plugin-api/report.api.md +++ b/packages/frontend-plugin-api/report.api.md @@ -39,6 +39,7 @@ import { ErrorApi } from '@backstage/core-plugin-api'; import { ErrorApiError } from '@backstage/core-plugin-api'; import { ErrorApiErrorContext } from '@backstage/core-plugin-api'; import { errorApiRef } from '@backstage/core-plugin-api'; +import { Expand } from '@backstage/types'; import { FeatureFlag } from '@backstage/core-plugin-api'; import { FeatureFlagsApi } from '@backstage/core-plugin-api'; import { featureFlagsApiRef } from '@backstage/core-plugin-api'; diff --git a/packages/types/report.api.md b/packages/types/report.api.md index 8169a506ef..b6bfae0862 100644 --- a/packages/types/report.api.md +++ b/packages/types/report.api.md @@ -21,6 +21,20 @@ export type DeferredPromise< // @public export function durationToMilliseconds(duration: HumanDuration): number; +// @public +export type Expand = T extends infer O + ? { + [K in keyof O]: O[K]; + } + : never; + +// @public +export type ExpandRecursive = T extends infer O + ? { + [K in keyof O]: ExpandRecursive; + } + : never; + // @public export type HumanDuration = { years?: number;