import { DatabaseType } from './types';

const DriverDependencies: Record<DatabaseType, string> = {
  postgres: '@cubejs-backend/postgres-driver',
  mysql: '@cubejs-backend/mysql-driver',
  mysqlauroraserverless: '@cubejs-backend/mysql-aurora-serverless-driver',
  mssql: '@cubejs-backend/mssql-driver',
  athena: '@cubejs-backend/athena-driver',
  jdbc: '@cubejs-backend/jdbc-driver',
  mongobi: '@cubejs-backend/mongobi-driver',
  bigquery: '@cubejs-backend/bigquery-driver',
  redshift: '@cubejs-backend/redshift-driver',
  clickhouse: '@cubejs-backend/clickhouse-driver',
  crate: '@cubejs-backend/crate-driver',
  firebolt: '@cubejs-backend/firebolt-driver',
  hive: '@cubejs-backend/hive-driver',
  snowflake: '@cubejs-backend/snowflake-driver',
  prestodb: '@cubejs-backend/prestodb-driver',
  trino: '@cubejs-backend/trino-driver',
  oracle: '@cubejs-backend/oracle-driver',
  sqlite: '@cubejs-backend/sqlite-driver',
  dremio: '@cubejs-backend/dremio-driver',
  druid: '@cubejs-backend/druid-driver',
  duckdb: '@cubejs-backend/duckdb-driver',
  cubestore: '@cubejs-backend/cubestore-driver',
  ksql: '@cubejs-backend/ksql-driver',
  questdb: '@cubejs-backend/questdb-driver',
  materialize: '@cubejs-backend/materialize-driver',
  vertica: '@cubejs-backend/vertica-driver',
  pinot: '@cubejs-backend/pinot-driver',
  // List for JDBC drivers
  'databricks-jdbc': '@cubejs-backend/databricks-jdbc-driver',
};

export default DriverDependencies;
