manifold/common/tracking.ts

19 lines
286 B
TypeScript
Raw Normal View History

2022-04-19 05:16:08 +00:00
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
}