"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getHubTypeFromItemType = getHubTypeFromItemType;
const getTypeFromEntity_1 = require("./getTypeFromEntity");
/**
 * Given an item type, return its HubEntityType
 * Simple wrapper over the poorly named `getTypeFromEntity` function
 * @param itemType
 * @returns
 */
function getHubTypeFromItemType(itemType) {
    const fakeEntity = {
        type: itemType,
    };
    return (0, getTypeFromEntity_1.getTypeFromEntity)(fakeEntity);
}
//# sourceMappingURL=getHubTypeFromItemType.js.map