"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getContent = exports.getFullPath = void 0;
const tslib_1 = require("tslib");
const lodash_1 = tslib_1.__importDefault(require("lodash"));
const getFullPath = (path, name) => {
    if (!path && !name) {
        return '';
    }
    if (!path) {
        return name;
    }
    if (!name) {
        return path;
    }
    return path + '.' + name;
};
exports.getFullPath = getFullPath;
const getContent = (contentConfig, path) => {
    return path ? lodash_1.default.get(contentConfig, path) : contentConfig;
};
exports.getContent = getContent;
//# sourceMappingURL=common.js.map
