Skip to content

Commit

Permalink
rename max_depth_time and max_depth_scroll_height fields (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer authored Sep 25, 2023
1 parent 1c476e4 commit f69ca46
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
12 changes: 6 additions & 6 deletions lib/cjs/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
12 changes: 6 additions & 6 deletions lib/esm/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
14 changes: 7 additions & 7 deletions schemas/rum/view-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},
Expand Down

0 comments on commit f69ca46

Please sign in to comment.