core-plugin-api: Remove deprecated AnyAnalyticsContext type
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-plugin-api': minor
|
||||
---
|
||||
|
||||
**BREAKING**: Removed deprecated `AnyAnalyticsContext` type which is replaced by `AnalyticsContextValue`
|
||||
@@ -76,11 +76,6 @@ export type AnalyticsTracker = {
|
||||
) => void;
|
||||
};
|
||||
|
||||
// @public @deprecated
|
||||
export type AnyAnalyticsContext = {
|
||||
[param in string]: string | boolean | number | undefined;
|
||||
};
|
||||
|
||||
// @public
|
||||
export type AnyApiFactory = ApiFactory<
|
||||
unknown,
|
||||
|
||||
@@ -15,9 +15,5 @@
|
||||
*/
|
||||
|
||||
export { AnalyticsContext } from './AnalyticsContext';
|
||||
export type {
|
||||
AnalyticsContextValue,
|
||||
AnyAnalyticsContext,
|
||||
CommonAnalyticsContext,
|
||||
} from './types';
|
||||
export type { AnalyticsContextValue, CommonAnalyticsContext } from './types';
|
||||
export { useAnalytics } from './useAnalytics';
|
||||
|
||||
@@ -36,16 +36,6 @@ export type CommonAnalyticsContext = {
|
||||
extension: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Allows arbitrary scalar values as context attributes too.
|
||||
*
|
||||
* @public
|
||||
* @deprecated Will be removed, use `AnalyticsContextValue` instead
|
||||
*/
|
||||
export type AnyAnalyticsContext = {
|
||||
[param in string]: string | boolean | number | undefined;
|
||||
};
|
||||
|
||||
/**
|
||||
* Analytics context envelope.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user