Corrections based on feedback

Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
This commit is contained in:
Andre Wanlin
2023-05-29 10:01:10 -05:00
parent 447270a7d9
commit de8bb7f92f
+3 -7
View File
@@ -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;
}>;