Merge pull request #33139 from backstage/rugvip/move-analytics-blueprint-to-app-react

Move AnalyticsImplementationBlueprint to @backstage/plugin-app-react
This commit is contained in:
Patrik Oldsberg
2026-03-05 13:50:43 +01:00
committed by GitHub
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 `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 `AnalyticsImplementationBlueprint` from `@backstage/plugin-app-react` instead.
*/
export const AnalyticsImplementationBlueprint = createExtensionBlueprint({
kind: 'analytics',