// (C) 2021-2026 GoodData Corporation
import { createSelector } from "@reduxjs/toolkit";
import { newMapForObjectWithIdentity } from "../../../_staging/metadata/objRefMap.js";
import { listedDashboardsEntityAdapter } from "./listedDashboardsEntityAdapter.js";
const selectSelf = createSelector((state) => state, (state) => state.listedDashboards);
const adapterSelectors = listedDashboardsEntityAdapter.getSelectors(selectSelf);
/**
 * Select all listed dashboard in project.
 *
 * @alpha
 */
export const selectListedDashboards = adapterSelectors.selectAll;
/**
 * Select all listed dashboard in project and returns them in a mapping of obj ref to the insight object.
 *
 * @alpha
 */
export const selectListedDashboardsMap = createSelector(selectListedDashboards, (dashboards) => {
    return newMapForObjectWithIdentity(dashboards);
});
//# sourceMappingURL=listedDashboardsSelectors.js.map