PDF Web Viewer
    Preparing search index...

    Interface IActivityEvent

    A single structured UI-activity event.

    id is the fully-qualified, stable key. For tool activations it is a value of ActivityToolId (e.g. 'comment.draw'); for other kinds it is a stable identifier for that surface/action.

    interface IActivityEvent {
        action: string;
        category: string;
        id: string;
        meta?: Record<string, unknown>;
        surface: ActivitySurface;
        timestamp: number;
        type: ActivityType;
    }
    Index

    Properties

    action: string

    Specific action within the category, e.g. 'draw'.

    category: string

    Broad group, e.g. the HeaderTab value 'comment'.

    id: string

    Fully-qualified stable id, e.g. 'comment.draw'.

    meta?: Record<string, unknown>

    Optional structured extras (e.g. { dialogType }, { tab }, tool options).

    Which UI region it came from.

    timestamp: number

    Milliseconds since the epoch (Date.now()), filled by the viewer.

    What kind of interaction this is.