From aaa5c1841f1c0fd7008184fe356513c717fbd935 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Tue, 14 Dec 2021 12:30:26 +0000 Subject: [PATCH] Variables UI WIP --- .../rest/RestExtraConfigForm.svelte | 37 +++++++++- .../variables/ViewDynamicVariables.svelte | 40 +++++++++++ .../integration/KeyValueBuilder.svelte | 28 +++++++- .../[selectedDatasource]/index.svelte | 6 +- .../rest/[query]/index.svelte | 69 ++++++++++++++++++- 5 files changed, 175 insertions(+), 5 deletions(-) create mode 100644 packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/variables/ViewDynamicVariables.svelte diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/RestExtraConfigForm.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/RestExtraConfigForm.svelte index 0272463d92..8a4f49523f 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/RestExtraConfigForm.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/rest/RestExtraConfigForm.svelte @@ -1,9 +1,18 @@ @@ -43,6 +52,32 @@ + +
+
+ Variables + Optional +
+
+Variables enabled you to store and reuse values in queries. Static variables + use constant values while dynamic values can be bound to the response headers + or body of a query +Static + + + +
+Dynamic + +