From e4d327c3cdd2bbffc808cabe3fedc323ebc0b411 Mon Sep 17 00:00:00 2001 From: romanG <158156364+RomanGaignault@users.noreply.github.com> Date: Thu, 7 Nov 2024 15:34:36 +0100 Subject: [PATCH] Revert "add content type property (#227)" This reverts commit 66cfaf891d4a8598c0d2db3e8a7d183ed2c703d6. --- lib/cjs/generated/rum.d.ts | 4 ---- lib/esm/generated/rum.d.ts | 4 ---- samples/rum-events/resource.json | 3 +-- schemas/rum/resource-schema.json | 5 ----- 4 files changed, 1 insertion(+), 15 deletions(-) diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index e0b3343..4cdb48d 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -651,10 +651,6 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties * Network protocol used to fetch the resource (e.g., 'http/1.1', 'h2') */ readonly protocol?: string; - /** - * Content type of the fetched resource - */ - readonly content_type?: string; /** * The provider for this resource */ diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index e0b3343..4cdb48d 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -651,10 +651,6 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties * Network protocol used to fetch the resource (e.g., 'http/1.1', 'h2') */ readonly protocol?: string; - /** - * Content type of the fetched resource - */ - readonly content_type?: string; /** * The provider for this resource */ diff --git a/samples/rum-events/resource.json b/samples/rum-events/resource.json index f15346d..ddf0d04 100644 --- a/samples/rum-events/resource.json +++ b/samples/rum-events/resource.json @@ -34,8 +34,7 @@ "duration": 157090000, "start": 88945000 }, - "protocol": "HTTP/1.1", - "content_type": "application/json" + "protocol": "HTTP/1.1" }, "action": { "id": "ae3a5d82-cdd1-468d-9bc9-3aa9e54d953c" diff --git a/schemas/rum/resource-schema.json b/schemas/rum/resource-schema.json index 8863ccf..295ca31 100644 --- a/schemas/rum/resource-schema.json +++ b/schemas/rum/resource-schema.json @@ -218,11 +218,6 @@ "description": "Network protocol used to fetch the resource (e.g., 'http/1.1', 'h2')", "readOnly": true }, - "content_type": { - "type": "string", - "description": "Content type of the fetched resource", - "readOnly": true - }, "provider": { "type": "object", "description": "The provider for this resource",