diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index e852d8d1..f72f6774 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -813,18 +813,18 @@ export declare type RumViewEvent = CommonProperties & { * Distance between the top and the lowest point reached on this view (in pixels) */ readonly max_depth: number; - /** - * Page scroll height (total height) when the maximum scroll depth was reached for this view (in pixels) - */ - readonly max_depth_scroll_height: number; /** * Page scroll top (scrolled distance) when the maximum scroll depth was reached for this view (in pixels) */ readonly max_depth_scroll_top: number; /** - * Duration between the view start and the scroll event that reached the maximum scroll depth for this view (in nanoseconds) + * Maximum page scroll height (total height) for this view (in pixels) + */ + readonly max_scroll_height: number; + /** + * Duration between the view start and the time the max scroll height was reached for this view (in nanoseconds) */ - readonly max_depth_time: number; + readonly max_scroll_height_time: number; [k: string]: unknown; }; [k: string]: unknown; diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index e852d8d1..f72f6774 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -813,18 +813,18 @@ export declare type RumViewEvent = CommonProperties & { * Distance between the top and the lowest point reached on this view (in pixels) */ readonly max_depth: number; - /** - * Page scroll height (total height) when the maximum scroll depth was reached for this view (in pixels) - */ - readonly max_depth_scroll_height: number; /** * Page scroll top (scrolled distance) when the maximum scroll depth was reached for this view (in pixels) */ readonly max_depth_scroll_top: number; /** - * Duration between the view start and the scroll event that reached the maximum scroll depth for this view (in nanoseconds) + * Maximum page scroll height (total height) for this view (in pixels) + */ + readonly max_scroll_height: number; + /** + * Duration between the view start and the time the max scroll height was reached for this view (in nanoseconds) */ - readonly max_depth_time: number; + readonly max_scroll_height_time: number; [k: string]: unknown; }; [k: string]: unknown; diff --git a/schemas/rum/view-schema.json b/schemas/rum/view-schema.json index cbe5d3ef..4543845c 100644 --- a/schemas/rum/view-schema.json +++ b/schemas/rum/view-schema.json @@ -437,26 +437,26 @@ "scroll": { "type": "object", "description": "Scroll properties", - "required": ["max_depth", "max_depth_scroll_height", "max_depth_scroll_top", "max_depth_time"], + "required": ["max_depth", "max_depth_scroll_top", "max_scroll_height", "max_scroll_height_time"], "properties": { "max_depth": { "type": "number", "description": "Distance between the top and the lowest point reached on this view (in pixels)", "readOnly": true }, - "max_depth_scroll_height": { + "max_depth_scroll_top": { "type": "number", - "description": "Page scroll height (total height) when the maximum scroll depth was reached for this view (in pixels)", + "description": "Page scroll top (scrolled distance) when the maximum scroll depth was reached for this view (in pixels)", "readOnly": true }, - "max_depth_scroll_top": { + "max_scroll_height": { "type": "number", - "description": "Page scroll top (scrolled distance) when the maximum scroll depth was reached for this view (in pixels)", + "description": "Maximum page scroll height (total height) for this view (in pixels)", "readOnly": true }, - "max_depth_time": { + "max_scroll_height_time": { "type": "number", - "description": "Duration between the view start and the scroll event that reached the maximum scroll depth for this view (in nanoseconds)", + "description": "Duration between the view start and the time the max scroll height was reached for this view (in nanoseconds)", "readOnly": true } },