Skip to content

Commit fd61fb5

Browse files
authored
👷 Remove unused vital.custom field in favor of duration vital (#289)
* 👷 Deprecate vital.custom field * remove the custom field
1 parent e2357bd commit fd61fb5

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

‎lib/cjs/generated/rum.d.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,12 +1175,6 @@ export declare type RumVitalEvent = CommonProperties & ViewContainerSchema & {
11751175
* Duration of the vital in nanoseconds
11761176
*/
11771177
readonly duration?: number;
1178-
/**
1179-
* User custom vital.
1180-
*/
1181-
readonly custom?: {
1182-
[k: string]: number;
1183-
};
11841178
/**
11851179
* Type of the step that triggered the vital, if applicable
11861180
*/

‎lib/esm/generated/rum.d.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,12 +1175,6 @@ export declare type RumVitalEvent = CommonProperties & ViewContainerSchema & {
11751175
* Duration of the vital in nanoseconds
11761176
*/
11771177
readonly duration?: number;
1178-
/**
1179-
* User custom vital.
1180-
*/
1181-
readonly custom?: {
1182-
[k: string]: number;
1183-
};
11841178
/**
11851179
* Type of the step that triggered the vital, if applicable
11861180
*/

‎schemas/rum/vital-schema.json‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@
5858
"description": "Duration of the vital in nanoseconds",
5959
"readOnly": true
6060
},
61-
"custom": {
62-
"type": "object",
63-
"description": "User custom vital.",
64-
"additionalProperties": {
65-
"type": "number",
66-
"minimum": 0,
67-
"readOnly": true
68-
},
69-
"readOnly": true
70-
},
7161
"step_type": {
7262
"type": "string",
7363
"description": "Type of the step that triggered the vital, if applicable",

0 commit comments

Comments
 (0)