manifold/common/tracking.ts
2022-04-21 01:00:08 -05:00

19 lines
286 B
TypeScript

export type View = {
contractId: string
timestamp: number
}
export type UserEvent = ClickEvent
export type ClickEvent = {
type: 'click'
contractId: string
timestamp: number
}
export type LatencyEvent = {
type: 'feed' | 'portfolio'
latency: number
timestamp: number
}