Adding feature to denote fetch table names function.

This commit is contained in:
mike12345567 2023-05-22 14:28:18 +01:00
parent d6c07f47b6
commit 83ddb9c8dd
6 changed files with 22 additions and 6 deletions

View File

@ -63,10 +63,13 @@ const SCHEMA: Integration = {
relationships: false, relationships: false,
docs: "https://developers.google.com/sheets/api/quickstart/nodejs", docs: "https://developers.google.com/sheets/api/quickstart/nodejs",
description: description:
"Create and collaborate on online spreadsheets in real-time and from any device. ", "Create and collaborate on online spreadsheets in real-time and from any device.",
friendlyName: "Google Sheets", friendlyName: "Google Sheets",
type: "Spreadsheet", type: "Spreadsheet",
features: [DatasourceFeature.CONNECTION_CHECKING], features: [
DatasourceFeature.CONNECTION_CHECKING,
DatasourceFeature.FETCH_TABLE_NAMES,
],
datasource: { datasource: {
spreadsheetId: { spreadsheetId: {
display: "Google Sheet URL", display: "Google Sheet URL",

View File

@ -40,7 +40,10 @@ const SCHEMA: Integration = {
"Microsoft SQL Server is a relational database management system developed by Microsoft. ", "Microsoft SQL Server is a relational database management system developed by Microsoft. ",
friendlyName: "MS SQL Server", friendlyName: "MS SQL Server",
type: "Relational", type: "Relational",
features: [DatasourceFeature.CONNECTION_CHECKING], features: [
DatasourceFeature.CONNECTION_CHECKING,
DatasourceFeature.FETCH_TABLE_NAMES,
],
datasource: { datasource: {
user: { user: {
type: DatasourceFieldType.STRING, type: DatasourceFieldType.STRING,

View File

@ -36,7 +36,10 @@ const SCHEMA: Integration = {
type: "Relational", type: "Relational",
description: description:
"MySQL Database Service is a fully managed database service to deploy cloud-native applications. ", "MySQL Database Service is a fully managed database service to deploy cloud-native applications. ",
features: [DatasourceFeature.CONNECTION_CHECKING], features: [
DatasourceFeature.CONNECTION_CHECKING,
DatasourceFeature.FETCH_TABLE_NAMES,
],
datasource: { datasource: {
host: { host: {
type: DatasourceFieldType.STRING, type: DatasourceFieldType.STRING,

View File

@ -50,7 +50,10 @@ const SCHEMA: Integration = {
type: "Relational", type: "Relational",
description: description:
"Oracle Database is an object-relational database management system developed by Oracle Corporation", "Oracle Database is an object-relational database management system developed by Oracle Corporation",
features: [DatasourceFeature.CONNECTION_CHECKING], features: [
DatasourceFeature.CONNECTION_CHECKING,
DatasourceFeature.FETCH_TABLE_NAMES,
],
datasource: { datasource: {
host: { host: {
type: DatasourceFieldType.STRING, type: DatasourceFieldType.STRING,

View File

@ -52,7 +52,10 @@ const SCHEMA: Integration = {
type: "Relational", type: "Relational",
description: description:
"PostgreSQL, also known as Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance.", "PostgreSQL, also known as Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance.",
features: [DatasourceFeature.CONNECTION_CHECKING], features: [
DatasourceFeature.CONNECTION_CHECKING,
DatasourceFeature.FETCH_TABLE_NAMES,
],
datasource: { datasource: {
host: { host: {
type: DatasourceFieldType.STRING, type: DatasourceFieldType.STRING,

View File

@ -75,6 +75,7 @@ export enum FilterType {
export enum DatasourceFeature { export enum DatasourceFeature {
CONNECTION_CHECKING = "connection", CONNECTION_CHECKING = "connection",
FETCH_TABLE_NAMES = "fetch_table_names",
} }
export interface StepDefinition { export interface StepDefinition {