'use strict';
import { ciDatabaseConstants, environmentVariables } from '../constants/ci-constants.js';
import { getStringEnvSetting } from '../../../fd-toolbox/infra/env-functions.js';

var __defProp=Object['defineProperty'],__name=(_0x1dc0b4,_0x568d72)=>__defProp(_0x1dc0b4,'name',{'value':_0x568d72,'configurable':!![]});function buildDbConnectionString(_0x1a2940,_0x498b0c){const _0x57e633=ciDatabaseConstants['user'],_0x4b4864=getStringEnvSetting(environmentVariables['postgreSqlPassword']),_0x14a243=_0x498b0c??ciDatabaseConstants['host'];return ''+ciDatabaseConstants['protocol']+_0x57e633+':'+_0x4b4864+'@'+_0x14a243+'/'+_0x1a2940;}__name(buildDbConnectionString,'buildDbConnectionString');

export { buildDbConnectionString };
