diff --git a/packages/builder/src/components/backend/DataTable/ExternalDataSourceTable.svelte b/packages/builder/src/components/backend/DataTable/ExternalDataSourceTable.svelte new file mode 100644 index 0000000000..75a5abed82 --- /dev/null +++ b/packages/builder/src/components/backend/DataTable/ExternalDataSourceTable.svelte @@ -0,0 +1,32 @@ + + + + +
diff --git a/packages/builder/src/components/backend/DataTable/buttons/EditIntegrationConfigButton.svelte b/packages/builder/src/components/backend/DataTable/buttons/EditIntegrationConfigButton.svelte new file mode 100644 index 0000000000..223fc8b6b1 --- /dev/null +++ b/packages/builder/src/components/backend/DataTable/buttons/EditIntegrationConfigButton.svelte @@ -0,0 +1,43 @@ + + +
+ +
+ + + + + diff --git a/packages/builder/src/components/backend/DataTable/modals/EditIntegrationConfig.svelte b/packages/builder/src/components/backend/DataTable/modals/EditIntegrationConfig.svelte new file mode 100644 index 0000000000..8bd8cecb51 --- /dev/null +++ b/packages/builder/src/components/backend/DataTable/modals/EditIntegrationConfig.svelte @@ -0,0 +1,69 @@ + + +
+ Schema + + {#each fields as field} +
+ + +
+ {/each} + + + Datasource + {#each Object.keys(table.integration) as configKey} + + {/each} +
+ + diff --git a/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte b/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte new file mode 100644 index 0000000000..913e26f668 --- /dev/null +++ b/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte @@ -0,0 +1,15 @@ + + +
+ {#each Object.keys(integration) as configKey} + + {/each} +
diff --git a/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/index.svelte b/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/index.svelte new file mode 100644 index 0000000000..cdf7ba99f3 --- /dev/null +++ b/packages/builder/src/components/backend/TableNavigator/TableIntegrationMenu/index.svelte @@ -0,0 +1,52 @@ + + +
+ {#await integrationsPromise} + Loading integrations... + {:then integrations} + {#each Object.keys(integrations) as integrationType} +
{ + selectedIntegration = integrations[integrationType] + integration.type = integrationType + }}> +
{integrationType}
+
+ {/each} + {:catch} + shit itself + {/await} + + {#if selectedIntegration} + {#each Object.keys(selectedIntegration) as configKey} + + {/each} +