import { getAppConfigValue } from "../../utils/app-config/config.js";
const getNavigationLinks = () => {
  const microApps = getAppConfigValue("microFrontendApps");
  if (!microApps) return [];
  return Object.keys(microApps).reduce((value, id) => {
    const { name, homeRoute } = microApps[id] || {};
    if (name && homeRoute) value.push({ id, name, path: homeRoute });
    return value;
  }, []);
};
export {
  getNavigationLinks
};
