From ad1007ffdc341028533f7c4f74d071d4936b7757 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 9 Dec 2021 12:30:05 +0000 Subject: [PATCH] Adding in the ability to retrieve and view the headers from a rest response. --- .../src/components/common/HelpIcon.svelte | 28 +++++++++++++++++-- .../integration/KeyValueBuilder.svelte | 3 ++ .../rest/[query]/index.svelte | 5 +++- .../server/src/api/controllers/query/index.js | 4 +-- packages/server/src/integrations/rest.ts | 11 ++++++-- packages/server/src/threads/query.js | 10 +++---- 6 files changed, 49 insertions(+), 12 deletions(-) diff --git a/packages/builder/src/components/common/HelpIcon.svelte b/packages/builder/src/components/common/HelpIcon.svelte index bebc67e5f2..bb3256792e 100644 --- a/packages/builder/src/components/common/HelpIcon.svelte +++ b/packages/builder/src/components/common/HelpIcon.svelte @@ -1,12 +1,30 @@ - +
+ + +
diff --git a/packages/builder/src/components/integration/KeyValueBuilder.svelte b/packages/builder/src/components/integration/KeyValueBuilder.svelte index 904cec9944..bde1dc256a 100644 --- a/packages/builder/src/components/integration/KeyValueBuilder.svelte +++ b/packages/builder/src/components/integration/KeyValueBuilder.svelte @@ -134,4 +134,7 @@ .container-active { grid-template-columns: 1fr 1fr 50px 20px; } + .readOnly { + grid-template-columns: 1fr 1fr; + } diff --git a/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/rest/[query]/index.svelte b/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/rest/[query]/index.svelte index 3c611459c1..53a4b0bf41 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/rest/[query]/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/rest/[query]/index.svelte @@ -266,7 +266,10 @@ /> -