heartbeat-monitor/node_modules/next/dist/server/app-render/parse-loader-tree.js
Matt Bruce bed1169443 Initial commit: Heartbeat Monitor dashboard
- Full-featured monitoring dashboard for local web apps
- Real-time status tracking with uptime percentages
- Visual sparklines for status history
- Add/Edit/Delete apps dynamically
- Categories and color coding
- Auto-refresh every 30 seconds
- API endpoints for apps and status management
2026-02-18 11:16:01 -06:00

29 lines
910 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "parseLoaderTree", {
enumerable: true,
get: function() {
return parseLoaderTree;
}
});
const _segment = require("../../shared/lib/segment");
function parseLoaderTree(tree) {
const [segment, parallelRoutes, modules] = tree;
const { layout } = modules;
let { page } = modules;
// a __DEFAULT__ segment means that this route didn't match any of the
// segments in the route, so we should use the default page
page = segment === _segment.DEFAULT_SEGMENT_KEY ? modules.defaultPage : page;
const layoutOrPagePath = (layout == null ? void 0 : layout[1]) || (page == null ? void 0 : page[1]);
return {
page,
segment,
modules,
layoutOrPagePath,
parallelRoutes
};
}
//# sourceMappingURL=parse-loader-tree.js.map