From b7797c08fdbc81d20dfd0d70b8d2927e8f11eed6 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Fri, 16 Feb 2024 09:04:50 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20allow=20any=20value=20in=20extra?= =?UTF-8?q?BodyProperties?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/index.d.ts | 2 +- docs/static/schemas/config.json | 5 +---- extensions/vscode/config_schema.json | 5 +---- extensions/vscode/continue_rc_schema.json | 5 +---- 4 files changed, 4 insertions(+), 13 deletions(-) diff --git a/core/index.d.ts b/core/index.d.ts index ad01aedfe..b3e9334ed 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -505,7 +505,7 @@ export interface RequestOptions { caBundlePath?: string | string[]; proxy?: string; headers?: { [key: string]: string }; - extraBodyProperties?: { [key: string]: string }; + extraBodyProperties?: { [key: string]: any }; } export interface StepWithParams { diff --git a/docs/static/schemas/config.json b/docs/static/schemas/config.json index d4ab00298..3a352d5a5 100644 --- a/docs/static/schemas/config.json +++ b/docs/static/schemas/config.json @@ -91,10 +91,7 @@ "extraBodyProperties": { "title": "Extra Body Properties", "description": "This object will be merged with the body when making the HTTP requests", - "type": "object", - "additionalProperties": { - "type": "string" - } + "type": "object" } } }, diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index d4ab00298..3a352d5a5 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -91,10 +91,7 @@ "extraBodyProperties": { "title": "Extra Body Properties", "description": "This object will be merged with the body when making the HTTP requests", - "type": "object", - "additionalProperties": { - "type": "string" - } + "type": "object" } } }, diff --git a/extensions/vscode/continue_rc_schema.json b/extensions/vscode/continue_rc_schema.json index 7c2643f0d..efd517f75 100644 --- a/extensions/vscode/continue_rc_schema.json +++ b/extensions/vscode/continue_rc_schema.json @@ -98,10 +98,7 @@ "extraBodyProperties": { "title": "Extra Body Properties", "description": "This object will be merged with the body when making the HTTP requests", - "type": "object", - "additionalProperties": { - "type": "string" - } + "type": "object" } } },