Move AnalyticsImplementationBlueprint to @backstage/plugin-app-react

Migrated the AnalyticsImplementationBlueprint and
AnalyticsImplementationFactory from @backstage/frontend-plugin-api to
@backstage/plugin-app-react. The original exports are deprecated with
pointers to the new location.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-05 10:01:46 +01:00
parent d0b53e39fd
commit 2c383b535b
8 changed files with 166 additions and 3 deletions
+2 -2
View File
@@ -81,7 +81,7 @@ export type AnalyticsImplementation = {
captureEvent(event: AnalyticsEvent): void;
};
// @public
// @public @deprecated
export const AnalyticsImplementationBlueprint: ExtensionBlueprint_2<{
kind: 'analytics';
params: <TDeps extends { [name in string]: unknown }>(
@@ -104,7 +104,7 @@ export const AnalyticsImplementationBlueprint: ExtensionBlueprint_2<{
};
}>;
// @public (undocumented)
// @public @deprecated (undocumented)
export type AnalyticsImplementationFactory<
Deps extends {
[name in string]: unknown;
@@ -21,7 +21,10 @@ import {
createExtensionDataRef,
} from '../wiring';
/** @public */
/**
* @public
* @deprecated Use {@link AnalyticsImplementationFactory} from `@backstage/plugin-app-react` instead.
*/
export type AnalyticsImplementationFactory<
Deps extends { [name in string]: unknown } = {},
> = {
@@ -38,6 +41,7 @@ const factoryDataRef =
* Creates analytics implementations.
*
* @public
* @deprecated Use {@link AnalyticsImplementationBlueprint} from `@backstage/plugin-app-react` instead.
*/
export const AnalyticsImplementationBlueprint = createExtensionBlueprint({
kind: 'analytics',