From a433637f76a87edf9b2fe95a04eb3836a680e546 Mon Sep 17 00:00:00 2001 From: Seth Fowler Date: Mon, 13 Jan 2025 16:13:13 +0000 Subject: [PATCH] Move performance namespace inside view --- lib/cjs/generated/rum.d.ts | 8 ++++---- lib/esm/generated/rum.d.ts | 8 ++++---- schemas/rum/view-schema.json | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index 209ff64..c9cc4ce 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -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; }; /** @@ -1085,10 +1089,6 @@ export declare type RumViewEvent = CommonProperties & ViewContainerSchema & { }; [k: string]: unknown; }; - /** - * Performance data. (Web Vitals, etc.) - */ - performance?: ViewPerformanceData; [k: string]: unknown; }; /** diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index 209ff64..c9cc4ce 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -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; }; /** @@ -1085,10 +1089,6 @@ export declare type RumViewEvent = CommonProperties & ViewContainerSchema & { }; [k: string]: unknown; }; - /** - * Performance data. (Web Vitals, etc.) - */ - performance?: ViewPerformanceData; [k: string]: unknown; }; /** diff --git a/schemas/rum/view-schema.json b/schemas/rum/view-schema.json index 433169f..bbbb3c4 100644 --- a/schemas/rum/view-schema.json +++ b/schemas/rum/view-schema.json @@ -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 @@ -508,10 +512,6 @@ "readOnly": true } } - }, - "performance": { - "description": "Performance data. (Web Vitals, etc.)", - "allOf": [{ "$ref": "_view-performance-schema.json" }] } } }