Refactor: Remove Cronitor RUM tracking

This commit is contained in:
gpt-engineer-app[bot]
2025-11-05 15:59:05 +00:00
parent 1f93e7433b
commit 6e1ff944c8
6 changed files with 56 additions and 184 deletions

View File

@@ -1,23 +0,0 @@
declare module '@cronitorio/cronitor-rum' {
export interface CronitorConfig {
debug?: boolean;
trackMode?: 'history' | 'off';
}
export function load(apiKey: string, config?: CronitorConfig): void;
export function track(eventName: string, data?: Record<string, any>): void;
export function error(error: Error | string, metadata?: Record<string, any>): void;
}
declare global {
interface Window {
cronitor?: {
track: (eventName: string, data?: Record<string, any>) => void;
error: (error: Error | string, metadata?: Record<string, any>) => void;
};
}
}
export {};