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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user