wip
This commit is contained in:
parent
85d42002f9
commit
a344f2216c
File diff suppressed because it is too large
Load Diff
|
@ -52,6 +52,7 @@ export interface DatasourceDescribeReturn {
|
||||||
dsProvider: Promise<DatasourceDescribeReturnPromise>
|
dsProvider: Promise<DatasourceDescribeReturnPromise>
|
||||||
isInternal: boolean
|
isInternal: boolean
|
||||||
isExternal: boolean
|
isExternal: boolean
|
||||||
|
isSql: boolean
|
||||||
isMySQL: boolean
|
isMySQL: boolean
|
||||||
isPostgres: boolean
|
isPostgres: boolean
|
||||||
isMongodb: boolean
|
isMongodb: boolean
|
||||||
|
@ -118,6 +119,13 @@ export function datasourceDescribe(
|
||||||
dsProvider: createDatasources(config, name),
|
dsProvider: createDatasources(config, name),
|
||||||
isInternal: name === DatabaseName.SQS,
|
isInternal: name === DatabaseName.SQS,
|
||||||
isExternal: name !== DatabaseName.SQS,
|
isExternal: name !== DatabaseName.SQS,
|
||||||
|
isSql: [
|
||||||
|
DatabaseName.MARIADB,
|
||||||
|
DatabaseName.MYSQL,
|
||||||
|
DatabaseName.POSTGRES,
|
||||||
|
DatabaseName.SQL_SERVER,
|
||||||
|
DatabaseName.ORACLE,
|
||||||
|
].includes(name),
|
||||||
isMySQL: name === DatabaseName.MYSQL,
|
isMySQL: name === DatabaseName.MYSQL,
|
||||||
isPostgres: name === DatabaseName.POSTGRES,
|
isPostgres: name === DatabaseName.POSTGRES,
|
||||||
isMongodb: name === DatabaseName.MONGODB,
|
isMongodb: name === DatabaseName.MONGODB,
|
||||||
|
|
Loading…
Reference in New Issue