import { UserStepType } from "./UserStepType"; import {i32, Option} from "./_commons"; export interface PageVisitUserStep { /** * One of: clk, kbd, nav * Renamed to step_type in metroplex */ type: UserStepType; /** The type of tag such as img or span */ tag?: Option; /** * The source of the tag such as an image url * Renamed to source in metroplex */ src?: Option; /** * The ALT tag type text * Renamed to text in metroplex */ txt?: Option; /** * The HTML ID of the thing clicked. Note that this field was added in * March 2020 so data older than that did not have this field. Somday this * can be made non-optional * Renamed to html_id in metroplex */ hid?: Option; /** The css class of the interacted element */ class?: Option; /** The css selector of the interacted element */ selector?: Option; /** The click event pageX value */ x?: Option; /** The click event pageY value */ y?: Option; /** The document width */ w?: Option; /** The document height */ h?: Option; }