fix: manual function creation

This commit is contained in:
Arman
2025-04-09 14:10:11 +02:00
parent a0d36303a8
commit 222658cf43
2 changed files with 6 additions and 6 deletions
@@ -48,7 +48,7 @@
let runtime: Runtime;
let entrypoint = '';
let buildCommand = '';
let scopes: string[] = [];
let roles: string[] = [];
let variables: Partial<Models.Variable>[] = [];
let files: FileList;
let specification = specificationOptions[0].value;
@@ -61,7 +61,7 @@
id || ID.unique(),
name,
runtime,
undefined,
roles?.length ? roles : undefined,
undefined,
undefined,
undefined,
@@ -69,7 +69,7 @@
undefined,
entrypoint,
undefined,
scopes,
undefined,
undefined,
undefined,
undefined,
@@ -188,7 +188,7 @@
options={runtimeOptions}
showEntrypoint />
<Configuration bind:buildCommand bind:scopes />
<Configuration bind:buildCommand bind:roles />
</Layout.Stack>
</Form>
<svelte:fragment slot="aside">
@@ -5,7 +5,7 @@
import { Accordion, Fieldset, Layout } from '@appwrite.io/pink-svelte';
export let buildCommand = '';
export let scopes: string[] = [];
export let roles: string[] = [];
</script>
<Fieldset legend="Settings">
@@ -28,7 +28,7 @@
>Learn more</Link>
</span>
<Roles bind:roles={scopes} />
<Roles bind:roles />
</Layout.Stack>
</Accordion>
</Layout.Stack>