1
0
Fork 0
mirror of synced 2024-09-17 09:49:11 +12:00
budibase/packages/server/src/integrations/index.js

34 lines
880 B
JavaScript
Raw Normal View History

2020-11-27 03:43:56 +13:00
const postgres = require("./postgres")
2020-11-27 05:46:36 +13:00
const dynamodb = require("./dynamodb")
const mongodb = require("./mongodb")
2020-11-27 06:03:18 +13:00
const elasticsearch = require("./elasticsearch")
const couchdb = require("./couchdb")
2020-11-27 05:46:36 +13:00
// const redis = require("./redis")
2020-12-13 10:48:51 +13:00
const sqlServer = require("./microsoftSqlServer")
const s3 = require("./s3")
2020-11-27 03:43:56 +13:00
const DEFINITIONS = {
POSTGRES: postgres.schema,
2020-11-27 05:46:36 +13:00
DYNAMODB: dynamodb.schema,
MONGODB: mongodb.schema,
2020-11-27 06:03:18 +13:00
ELASTICSEARCH: elasticsearch.schema,
COUCHDB: couchdb.schema,
2020-12-13 10:48:51 +13:00
SQL_SERVER: sqlServer.schema,
S3: s3.schema,
2020-11-27 03:43:56 +13:00
}
const INTEGRATIONS = {
POSTGRES: postgres.integration,
2020-11-27 05:46:36 +13:00
DYNAMODB: dynamodb.integration,
MONGODB: mongodb.integration,
2020-11-27 06:03:18 +13:00
ELASTICSEARCH: elasticsearch.integration,
COUCHDB: couchdb.integration,
S3: s3.integration,
2020-12-13 10:48:51 +13:00
SQL_SERVER: sqlServer.integration,
2020-11-27 03:43:56 +13:00
}
module.exports = {
definitions: DEFINITIONS,
integrations: INTEGRATIONS,
}