Fix typings
This commit is contained in:
parent
b6f9ae762d
commit
ec3f962d3c
|
@ -90,6 +90,7 @@ const SCHEMA: Integration = {
|
|||
},
|
||||
authType: {
|
||||
type: DatasourceFieldType.SELECT,
|
||||
display: "Advanced auth",
|
||||
config: { options: [MSSQLConfigAuthType.ACTIVE_DIRECTORY] },
|
||||
},
|
||||
adConfig: {
|
||||
|
|
|
@ -26,25 +26,25 @@ const SCHEMA: Integration = {
|
|||
},
|
||||
datasource: {
|
||||
host: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: true,
|
||||
default: "localhost",
|
||||
},
|
||||
port: {
|
||||
type: "number",
|
||||
type: DatasourceFieldType.NUMBER,
|
||||
required: true,
|
||||
default: 6379,
|
||||
},
|
||||
username: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: false,
|
||||
},
|
||||
password: {
|
||||
type: "password",
|
||||
type: DatasourceFieldType.PASSWORD,
|
||||
required: false,
|
||||
},
|
||||
db: {
|
||||
type: "number",
|
||||
type: DatasourceFieldType.NUMBER,
|
||||
required: false,
|
||||
display: "DB",
|
||||
default: 0,
|
||||
|
|
|
@ -29,24 +29,24 @@ const SCHEMA: Integration = {
|
|||
},
|
||||
datasource: {
|
||||
region: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: false,
|
||||
default: "us-east-1",
|
||||
},
|
||||
accessKeyId: {
|
||||
type: "password",
|
||||
type: DatasourceFieldType.PASSWORD,
|
||||
required: true,
|
||||
},
|
||||
secretAccessKey: {
|
||||
type: "password",
|
||||
type: DatasourceFieldType.PASSWORD,
|
||||
required: true,
|
||||
},
|
||||
endpoint: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: false,
|
||||
},
|
||||
signatureVersion: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: false,
|
||||
default: "v4",
|
||||
},
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import {
|
||||
ConnectionInfo,
|
||||
DatasourceFeature,
|
||||
DatasourceFieldType,
|
||||
Integration,
|
||||
QueryType,
|
||||
SqlQuery,
|
||||
|
@ -27,30 +28,30 @@ const SCHEMA: Integration = {
|
|||
},
|
||||
datasource: {
|
||||
account: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: true,
|
||||
},
|
||||
username: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: true,
|
||||
},
|
||||
password: {
|
||||
type: "password",
|
||||
type: DatasourceFieldType.PASSWORD,
|
||||
required: true,
|
||||
},
|
||||
role: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
},
|
||||
warehouse: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: true,
|
||||
},
|
||||
database: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: true,
|
||||
},
|
||||
schema: {
|
||||
type: "string",
|
||||
type: DatasourceFieldType.STRING,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue