diff --git a/packages/backend-common/config.d.ts b/packages/backend-common/config.d.ts index 512341ec3a..3fd886874e 100644 --- a/packages/backend-common/config.d.ts +++ b/packages/backend-common/config.d.ts @@ -14,9 +14,6 @@ * limitations under the License. */ -import { CustomTypesConfig } from 'pg'; -import { ConnectionOptions } from 'tls'; - export interface Config { app: { baseUrl: string; // defined in core, but repeated here without doc @@ -75,20 +72,19 @@ export interface Config { /** Default database client to use */ client: 'better-sqlite3' | 'sqlite3' | 'pg'; /** - * Base database connection string or Knex (PG) object - * PG object details come from: https://node-postgres.com/apis/client + * Base database connection string, or object with individual connection properties * @visibility secret */ connection: | string | Partial<{ /** - * Password that belongs to the Postgres User + * Password that belongs to the client User * @visibility secret */ password: string; /** - * Other Knex (PG) object settings + * Other connection settings */ [key: string]: unknown; }>;