export function mergeEnvData(env1, env2) {
    if (!env2)
        return env1;
    const allKeys = Array.from(new Set([...Object.keys(env1), ...Object.keys(env2)]));
    return allKeys.reduce((acc, key) => {
        acc[key] = { ...env1[key], ...env2[key] };
        return acc;
    }, {});
}
export function getServerEnvName(server) {
    return server.description || server.url;
}
//# sourceMappingURL=environments.js.map