"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTypesFromEntityType = void 0;
/**
 * return the item type(s) associated with a provided
 * Hub entity type. This is effectively the reverse of
 * getTypeFromEntity
 *
 * @param entityType - the hub entity type
 * @returns {string[]}
 */
const getTypesFromEntityType = (entityType) => {
    let type = [];
    switch (entityType) {
        case "site":
            type = ["Hub Site Application", "Site Application"];
            break;
        case "page":
            type = ["Hub Page", "Site Page"];
            break;
        case "project":
            type = ["Hub Project"];
            break;
        case "initiative":
            type = ["Hub Initiative"];
            break;
        case "discussion":
            type = ["Discussion"];
            break;
        case "template":
            type = ["Solution"];
            break;
        case "group":
            type = ["Group"];
            break;
        case "initiativeTemplate":
            type = ["Hub Initiative Template"];
            break;
    }
    return type;
};
exports.getTypesFromEntityType = getTypesFromEntityType;
//# sourceMappingURL=getTypesFromEntityType.js.map