import { getTypeFromEntity } from "./getTypeFromEntity";
/**
 * Given an item type, return its HubEntityType
 * Simple wrapper over the poorly named `getTypeFromEntity` function
 * @param itemType
 * @returns
 */
export function getHubTypeFromItemType(itemType) {
    const fakeEntity = {
        type: itemType,
    };
    return getTypeFromEntity(fakeEntity);
}
//# sourceMappingURL=getHubTypeFromItemType.js.map