about summary refs log tree commit diff
path: root/src/lib/analytics/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/analytics/types.ts')
-rw-r--r--src/lib/analytics/types.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/analytics/types.ts b/src/lib/analytics/types.ts
index d677f3217..9883cc36e 100644
--- a/src/lib/analytics/types.ts
+++ b/src/lib/analytics/types.ts
@@ -7,6 +7,7 @@ export type ScreenEvent = (
   name: keyof ScreenPropertiesMap,
   properties?: ScreenPropertiesMap[keyof ScreenPropertiesMap],
 ) => Promise<void>
+
 interface TrackPropertiesMap {
   // LOGIN / SIGN UP events
   'Sign In': {resumedSession: boolean} // CAN BE SERVER
@@ -150,3 +151,8 @@ interface ScreenPropertiesMap {
   MutedAccounts: {}
   SavedFeeds: {}
 }
+
+export type AnalyticsMethods = {
+  screen: ScreenEvent
+  track: TrackEvent
+}