heartbeat-monitor/node_modules/next/dist/build/webpack/loaders/next-flight-action-entry-loader.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

32 lines
938 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function() {
return _default;
}
});
function nextFlightActionEntryLoader() {
const { actions } = this.getOptions();
const actionList = JSON.parse(actions);
const individualActions = actionList.map(([path, actionsFromModule])=>{
return actionsFromModule.map(([id, name])=>{
return [
id,
path,
name
];
});
}).flat();
return `
${individualActions.map(([id, path, name])=>{
// Re-export the same functions from the original module path as action IDs.
return `export { ${name} as "${id}" } from ${JSON.stringify(path)}`;
}).join('\n')}
`;
}
const _default = nextFlightActionEntryLoader;
//# sourceMappingURL=next-flight-action-entry-loader.js.map