@blogic-cz/agent-tools 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -121,6 +121,10 @@
|
|
|
121
121
|
"description": "Database name.",
|
|
122
122
|
"type": "string"
|
|
123
123
|
},
|
|
124
|
+
"password": {
|
|
125
|
+
"description": "Plain-text database password. Use for local development only; prefer passwordEnvVar for non-local environments.",
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
124
128
|
"passwordEnvVar": {
|
|
125
129
|
"description": "Name of the environment variable holding the database password.",
|
|
126
130
|
"type": "string"
|
package/src/config/loader.ts
CHANGED
package/src/config/types.ts
CHANGED
|
@@ -19,6 +19,8 @@ export type DbEnvConfig = {
|
|
|
19
19
|
port: number;
|
|
20
20
|
user: string;
|
|
21
21
|
database: string;
|
|
22
|
+
/** Plain-text password for local development. Prefer passwordEnvVar for non-local environments. */
|
|
23
|
+
password?: string;
|
|
22
24
|
/** Name of environment variable holding the password, e.g. "DB_TEST_PWD" */
|
|
23
25
|
passwordEnvVar?: string;
|
|
24
26
|
};
|