Skip to content

Commit b2737b9

Browse files
committed
chore: update schema
1 parent 8194872 commit b2737b9

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

packages/rum-core/src/rumEvent.types.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,50 +960,62 @@ export type RumViewEvent = CommonProperties &
960960
*/
961961
readonly time_spent: number
962962
/**
963+
* @deprecated
963964
* Duration in ns to the first rendering (deprecated in favor of `view.performance.fcp.timestamp`)
964965
*/
965966
readonly first_contentful_paint?: number
966967
/**
968+
* @deprecated
967969
* Duration in ns to the largest contentful paint (deprecated in favor of `view.performance.lcp.timestamp`)
968970
*/
969971
readonly largest_contentful_paint?: number
970972
/**
973+
* @deprecated
971974
* CSS selector path of the largest contentful paint element (deprecated in favor of `view.performance.lcp.target_selector`)
972975
*/
973976
readonly largest_contentful_paint_target_selector?: string
974977
/**
978+
* @deprecated
975979
* Duration in ns of the first input event delay (deprecated in favor of `view.performance.fid.duration`)
976980
*/
977981
readonly first_input_delay?: number
978982
/**
983+
* @deprecated
979984
* Duration in ns to the first input (deprecated in favor of `view.performance.fid.timestamp`)
980985
*/
981986
readonly first_input_time?: number
982987
/**
988+
* @deprecated
983989
* CSS selector path of the first input target element (deprecated in favor of `view.performance.fid.target_selector`)
984990
*/
985991
readonly first_input_target_selector?: string
986992
/**
993+
* @deprecated
987994
* Longest duration in ns between an interaction and the next paint (deprecated in favor of `view.performance.inp.duration`)
988995
*/
989996
readonly interaction_to_next_paint?: number
990997
/**
998+
* @deprecated
991999
* Duration in ns between start of the view and start of the INP (deprecated in favor of `view.performance.inp.timestamp`)
9921000
*/
9931001
readonly interaction_to_next_paint_time?: number
9941002
/**
1003+
* @deprecated
9951004
* CSS selector path of the interacted element corresponding to INP (deprecated in favor of `view.performance.inp.target_selector`)
9961005
*/
9971006
readonly interaction_to_next_paint_target_selector?: string
9981007
/**
1008+
* @deprecated
9991009
* Total layout shift score that occurred on the view (deprecated in favor of `view.performance.cls.score`)
10001010
*/
10011011
readonly cumulative_layout_shift?: number
10021012
/**
1013+
* @deprecated
10031014
* Duration in ns between start of the view and start of the largest layout shift contributing to CLS (deprecated in favor of `view.performance.cls.timestamp`)
10041015
*/
10051016
readonly cumulative_layout_shift_time?: number
10061017
/**
1018+
* @deprecated
10071019
* CSS selector path of the first element (in document order) of the largest layout shift contributing to CLS (deprecated in favor of `view.performance.cls.target_selector`)
10081020
*/
10091021
readonly cumulative_layout_shift_target_selector?: string

0 commit comments

Comments
 (0)