Martin McKeaveney
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
26 additions and
4 deletions
-
packages/builder/src/components/automation/SetupPanel/GenericBindingPopover.svelte
-
packages/builder/src/components/design/PropertiesPanel/BindingPanel.svelte
-
packages/server/src/integrations/microsoftSqlServer.js
-
packages/server/src/integrations/mysql.js
|
|
|
@ -167,7 +167,13 @@ |
|
|
|
.binding__description { |
|
|
|
color: var(--grey-8); |
|
|
|
margin-top: 2px; |
|
|
|
white-space: normal; |
|
|
|
} |
|
|
|
|
|
|
|
pre { |
|
|
|
white-space: normal; |
|
|
|
} |
|
|
|
|
|
|
|
.binding__type { |
|
|
|
font-family: monospace; |
|
|
|
background-color: var(--grey-2); |
|
|
|
|
|
|
|
@ -170,6 +170,11 @@ |
|
|
|
border-width: 1px 0 1px 0; |
|
|
|
} |
|
|
|
|
|
|
|
pre, |
|
|
|
.description { |
|
|
|
white-space: normal; |
|
|
|
} |
|
|
|
|
|
|
|
li:hover { |
|
|
|
color: var(--ink); |
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
@ -17,6 +17,11 @@ const SCHEMA = { |
|
|
|
type: FIELD_TYPES.STRING, |
|
|
|
default: "localhost", |
|
|
|
}, |
|
|
|
port: { |
|
|
|
type: FIELD_TYPES.NUMBER, |
|
|
|
required: false, |
|
|
|
default: 1433, |
|
|
|
}, |
|
|
|
database: { |
|
|
|
type: FIELD_TYPES.STRING, |
|
|
|
default: "root", |
|
|
|
|
|
|
|
@ -1,25 +1,31 @@ |
|
|
|
const mysql = require("mysql") |
|
|
|
const { FIELD_TYPES } = require("./Integration") |
|
|
|
|
|
|
|
const SCHEMA = { |
|
|
|
docs: "https://github.com/mysqljs/mysql", |
|
|
|
datasource: { |
|
|
|
host: { |
|
|
|
type: "string", |
|
|
|
type: FIELD_TYPES.STRING, |
|
|
|
default: "localhost", |
|
|
|
required: true, |
|
|
|
}, |
|
|
|
port: { |
|
|
|
type: FIELD_TYPES.NUMBER, |
|
|
|
default: 1433, |
|
|
|
required: false, |
|
|
|
}, |
|
|
|
user: { |
|
|
|
type: "string", |
|
|
|
type: FIELD_TYPES.STRING, |
|
|
|
default: "root", |
|
|
|
required: true, |
|
|
|
}, |
|
|
|
password: { |
|
|
|
type: "password", |
|
|
|
type: FIELD_TYPES.PASSWORD, |
|
|
|
default: "root", |
|
|
|
required: true, |
|
|
|
}, |
|
|
|
database: { |
|
|
|
type: "string", |
|
|
|
type: FIELD_TYPES.STRING, |
|
|
|
required: true, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|