Interface: Action
Defined in: action.ts:19
Represents a user action that occurred in the application. Actions are used for tracking user interactions, analytics, and state management.
Action
Properties
time
time:
number
Defined in: action.ts:21
Timestamp when the action occurred (in milliseconds since epoch)
type?
optional
type:string
Defined in: action.ts:23
Optional string identifier for the type of action (e.g., 'BUTTON_PRESSED', 'FORM_SUBMITTED')
payload?
optional
payload:ActionPayload
Defined in: action.ts:25
Optional payload containing additional data about the action