+
+
Public (anyone can execute)
+
+ This could include unauthorized users and search engines.
+
+
-
-
- {#if !showCustomId}
-
-
(showCustomId = !showCustomId)}>
-
- Function ID
-
+
+
+
+
+ Function scopes
+
+ {#each templateScopes as scope, i}
+
+
+
+
+
+
+
{scope.scope}
+
{scope.description}
+
+
+
+
- {:else}
-
- {/if}
+ {#if i < templateScopes.length - 1}
+
+ {/if}
+ {/each}
diff --git a/src/lib/wizards/functions/store.ts b/src/lib/wizards/functions/store.ts
index 090d97117..94902c944 100644
--- a/src/lib/wizards/functions/store.ts
+++ b/src/lib/wizards/functions/store.ts
@@ -16,6 +16,8 @@ export const templateConfig = writable<{
repositoryId: string;
appwriteApiKey?: string;
generateKey?: boolean;
+ execute?: boolean;
+ scopes?: string[];
}>();
export const repository = writable();
export const installation = writable();