import _ from 'lodash';
export const getFullPath = (path, name) => {
    if (!path && !name) {
        return '';
    }
    if (!path) {
        return name;
    }
    if (!name) {
        return path;
    }
    return path + '.' + name;
};
export const getContent = (contentConfig, path) => {
    return path ? _.get(contentConfig, path) : contentConfig;
};
//# sourceMappingURL=common.js.map
