Skip to content

Commit

Permalink
Move performance namespace inside view
Browse files Browse the repository at this point in the history
  • Loading branch information
sethfowler-datadog committed Jan 13, 2025
1 parent 61e86d1 commit a433637
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions lib/cjs/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,10 @@ export declare type RumViewEvent = CommonProperties & ViewContainerSchema & {
* The JavaScript refresh rate for React Native
*/
js_refresh_rate?: RumPerfMetric;
/**
* Performance data. (Web Vitals, etc.)
*/
performance?: ViewPerformanceData;
[k: string]: unknown;
};
/**
Expand Down Expand Up @@ -1085,10 +1089,6 @@ export declare type RumViewEvent = CommonProperties & ViewContainerSchema & {
};
[k: string]: unknown;
};
/**
* Performance data. (Web Vitals, etc.)
*/
performance?: ViewPerformanceData;
[k: string]: unknown;
};
/**
Expand Down
8 changes: 4 additions & 4 deletions lib/esm/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,10 @@ export declare type RumViewEvent = CommonProperties & ViewContainerSchema & {
* The JavaScript refresh rate for React Native
*/
js_refresh_rate?: RumPerfMetric;
/**
* Performance data. (Web Vitals, etc.)
*/
performance?: ViewPerformanceData;
[k: string]: unknown;
};
/**
Expand Down Expand Up @@ -1085,10 +1089,6 @@ export declare type RumViewEvent = CommonProperties & ViewContainerSchema & {
};
[k: string]: unknown;
};
/**
* Performance data. (Web Vitals, etc.)
*/
performance?: ViewPerformanceData;
[k: string]: unknown;
};
/**
Expand Down
8 changes: 4 additions & 4 deletions schemas/rum/view-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@
"js_refresh_rate": {
"description": "The JavaScript refresh rate for React Native",
"allOf": [{ "$ref": "_perf-metric-schema.json" }]
},
"performance": {
"description": "Performance data. (Web Vitals, etc.)",
"allOf": [{ "$ref": "_view-performance-schema.json" }]
}
},
"readOnly": true
Expand Down Expand Up @@ -508,10 +512,6 @@
"readOnly": true
}
}
},
"performance": {
"description": "Performance data. (Web Vitals, etc.)",
"allOf": [{ "$ref": "_view-performance-schema.json" }]
}
}
}
Expand Down

0 comments on commit a433637

Please sign in to comment.