22 lines
519 B
TypeScript
Raw Normal View History

2025-01-18 21:57:27 +08:00
import { GA_EventName } from "../ga/type";
2024-12-27 14:14:38 +08:00
export enum DocumentEvent {
/**
* inject到content的事件
*/
Inject2Content = "inject2content",
/**
* content到inject的事件
*/
Content2Inject = "content2inject",
2025-01-12 17:57:02 +08:00
EngineVersion = "engineVersion",
2025-01-18 21:57:27 +08:00
GoogleAnalytics = "googleAnalytics",
2025-01-19 11:35:51 +08:00
LoadInjectCss = "load-inject-css",
GameInspectorBegan = "GameInspectorBegan",
GameInspectorEnd = "GameInspectorEnd",
2025-01-18 21:57:27 +08:00
}
export interface GoogleAnalyticsData {
event: GA_EventName;
params: string;
2024-12-27 14:23:27 +08:00
}