From 55a413084df70e177f4e46786497411c44e4e12d Mon Sep 17 00:00:00 2001 From: Arman Date: Tue, 18 Jun 2024 10:25:20 +0200 Subject: [PATCH] feat: execute function wizard --- .../executions/+page.svelte | 7 +- .../executions/execute-function/+page.svelte | 249 ++++++++++++++++++ 2 files changed, 254 insertions(+), 2 deletions(-) create mode 100644 src/routes/console/project-[project]/functions/function-[function]/executions/execute-function/+page.svelte diff --git a/src/routes/console/project-[project]/functions/function-[function]/executions/+page.svelte b/src/routes/console/project-[project]/functions/function-[function]/executions/+page.svelte index c9eae98f7..6de32a50f 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/executions/+page.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/executions/+page.svelte @@ -1,5 +1,5 @@ + + + Execute function - Appwrite + + + + (showExitModal = true)}> + Execute function + + +
+ + {#if func?.version !== 'v3'} + + + Customizable execution data now available for functions v3.0 + + Update your function version to make use of new features including customizable + HTTP data in your executions. + + + + + + {:else} + + + + +
+

+ Headers + (optional) + +

+ + + {#if headers} + {#each headers as [name, value], index} + + + + + + + + {/each} + {/if} + + +
+ + + {/if} +
+
+ test +
+ + + + + +