From de8bb7f92fa73c90fd4b51967a51fb424cd18c00 Mon Sep 17 00:00:00 2001 From: Andre Wanlin <67169551+awanlin@users.noreply.github.com> Date: Mon, 29 May 2023 10:01:10 -0500 Subject: [PATCH] Corrections based on feedback Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com> --- packages/backend-common/config.d.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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; }>;