mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-03 23:23:21 +00:00
21 lines
530 B
TypeScript
21 lines
530 B
TypeScript
type OfflineAction = "create" | "resume" | "dictation" | "import_list";
|
|
|
|
type AnalyticsEvent =
|
|
| {
|
|
type: "daemon_active_changed";
|
|
daemonId: string;
|
|
previousDaemonId: string | null;
|
|
source?: string;
|
|
}
|
|
| {
|
|
type: "offline_daemon_action_attempt";
|
|
action: OfflineAction;
|
|
daemonId: string | null;
|
|
status: string | null;
|
|
reason?: string | null;
|
|
};
|
|
|
|
export function trackAnalyticsEvent(_event: AnalyticsEvent) {
|
|
// Placeholder until a real analytics sink is wired in.
|
|
}
|