@goodhood/tracking
Advanced tools
@@ -32,3 +32,3 @@ export type BaseEvent = { | ||
| }; | ||
| export type ClickEvent = InteractionEvent & ContentEvent & PlanInfoEvent & { | ||
| export type ClickEvent = InteractionEvent & Partial<ContentEvent> & Partial<PlanInfoEvent> & { | ||
| search_term: string; | ||
@@ -42,18 +42,18 @@ click_name: string; | ||
| }; | ||
| export type RemoveEvent = InteractionEvent & ContentEvent; | ||
| export type EditEvent = InteractionEvent & ContentEvent; | ||
| export type ErrorEvent = InteractionEvent & ContentEvent & PlanInfoEvent & { | ||
| export type RemoveEvent = InteractionEvent & Partial<ContentEvent>; | ||
| export type EditEvent = InteractionEvent & Partial<ContentEvent>; | ||
| export type ErrorEvent = InteractionEvent & Partial<ContentEvent> & Partial<PlanInfoEvent> & { | ||
| event_action: string; | ||
| }; | ||
| export type ReactEvent = InteractionEvent & ContentEvent & { | ||
| export type ReactEvent = InteractionEvent & Partial<ContentEvent> & { | ||
| reaction_type: string; | ||
| }; | ||
| export type SearchEvent = InteractionEvent & ContentEvent & { | ||
| export type SearchEvent = InteractionEvent & Partial<ContentEvent> & { | ||
| search_term: string; | ||
| click_name: string; | ||
| }; | ||
| export type SwipeEvent = InteractionEvent & ContentEvent & { | ||
| export type SwipeEvent = InteractionEvent & Partial<ContentEvent> & { | ||
| swipe_direction: string; | ||
| }; | ||
| export type ViewEvent = InteractionEvent & ContentEvent & { | ||
| export type ViewEvent = InteractionEvent & Partial<ContentEvent> & { | ||
| search_term: string; | ||
@@ -60,0 +60,0 @@ content_position: string; |
+1
-1
@@ -9,3 +9,3 @@ { | ||
| "bugs": "https://github.com/goodhood-eu/goodhood/issues", | ||
| "version": "2.0.12", | ||
| "version": "2.0.13", | ||
| "module": "lib/index.esm.js", | ||
@@ -12,0 +12,0 @@ "main": "lib/index.js", |
42884
0.21%