"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getFeaturedContentCatalogs = getFeaturedContentCatalogs;
const wellKnownCatalog_1 = require("../../../search/wellKnownCatalog");
/**
 * Return a catalog structured for picking featured content.
 * @param user
 * @returns
 */
function getFeaturedContentCatalogs(user) {
    const catalogNames = [
        "myContent",
        "favorites",
        "organization",
        "world",
    ];
    const catalogs = catalogNames.map((name) => {
        const opts = { user };
        const catalog = (0, wellKnownCatalog_1.getWellKnownCatalog)("shared.fields.featuredContent", name, "item", opts);
        return catalog;
    });
    return catalogs;
}
//# sourceMappingURL=getFeaturedContentCatalogs.js.map