1
0
Fork 0
mirror of synced 2024-09-21 03:43:21 +12:00
budibase/packages/builder/src/components/integration/index.svelte

18 lines
302 B
Svelte
Raw Normal View History

2020-12-19 07:19:43 +13:00
<script>
import { TextArea } from "@budibase/bbui"
2020-12-31 00:46:37 +13:00
import Editor from "./Editor.svelte"
2020-12-19 07:19:43 +13:00
const QueryTypes = {
SQL: "sql",
}
export let queryType
export let query
2020-12-31 00:46:37 +13:00
$: console.log(query)
2020-12-19 07:19:43 +13:00
</script>
{#if queryType === QueryTypes.SQL}
2020-12-31 00:46:37 +13:00
<Editor label="Query" bind:value={query} />
2020-12-19 07:19:43 +13:00
{/if}