From a73473b16c967fa034602d4ab9d1ffb173cc1845 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 26 Jan 2021 11:07:30 +0000 Subject: [PATCH 1/3] MySQL integration and self hosted deploy event --- .../DatasourceNavigator/icons/MySQL.svelte | 83 +++++++++++++++++++ .../DatasourceNavigator/icons/index.js | 2 + .../start/BuilderSettingsModal.svelte | 5 +- .../builder/src/constants/backend/index.js | 5 ++ .../pages/[application]/deploy/index.svelte | 6 +- packages/server/package.json | 3 +- packages/server/src/integrations/index.js | 4 +- packages/server/src/integrations/mysql.js | 80 ++++++++++++++++++ packages/server/yarn.lock | 42 +++++++--- 9 files changed, 214 insertions(+), 16 deletions(-) create mode 100644 packages/builder/src/components/backend/DatasourceNavigator/icons/MySQL.svelte create mode 100644 packages/server/src/integrations/mysql.js diff --git a/packages/builder/src/components/backend/DatasourceNavigator/icons/MySQL.svelte b/packages/builder/src/components/backend/DatasourceNavigator/icons/MySQL.svelte new file mode 100644 index 0000000000..d2e612e7e3 --- /dev/null +++ b/packages/builder/src/components/backend/DatasourceNavigator/icons/MySQL.svelte @@ -0,0 +1,83 @@ + + + + + + + diff --git a/packages/builder/src/components/backend/DatasourceNavigator/icons/index.js b/packages/builder/src/components/backend/DatasourceNavigator/icons/index.js index afedb9e78f..4f8d79dbf4 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/icons/index.js +++ b/packages/builder/src/components/backend/DatasourceNavigator/icons/index.js @@ -6,6 +6,7 @@ import CouchDB from "./CouchDB.svelte" import S3 from "./S3.svelte" import Airtable from "./Airtable.svelte" import SqlServer from "./SQLServer.svelte" +import MySQL from "./MySQL.svelte" export default { POSTGRES: Postgres, @@ -16,4 +17,5 @@ export default { SQL_SERVER: SqlServer, S3: S3, AIRTABLE: Airtable, + MYSQL: MySQL, } diff --git a/packages/builder/src/components/start/BuilderSettingsModal.svelte b/packages/builder/src/components/start/BuilderSettingsModal.svelte index 57cdef0c29..6be420b5f9 100644 --- a/packages/builder/src/components/start/BuilderSettingsModal.svelte +++ b/packages/builder/src/components/start/BuilderSettingsModal.svelte @@ -1,6 +1,7 @@