heartbeat-monitor/node_modules/next/dist/telemetry/events/session-stopped.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

36 lines
978 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "eventCliSessionStopped", {
enumerable: true,
get: function() {
return eventCliSessionStopped;
}
});
const EVENT_VERSION = 'NEXT_CLI_SESSION_STOPPED';
function eventCliSessionStopped(event) {
// This should be an invariant, if it fails our build tooling is broken.
if (typeof "15.1.6" !== 'string') {
return [];
}
const payload = {
nextVersion: "15.1.6",
nodeVersion: process.version,
cliCommand: event.cliCommand,
durationMilliseconds: event.durationMilliseconds,
...typeof event.turboFlag !== 'undefined' ? {
turboFlag: !!event.turboFlag
} : {},
pagesDir: event.pagesDir,
appDir: event.appDir
};
return [
{
eventName: EVENT_VERSION,
payload
}
];
}
//# sourceMappingURL=session-stopped.js.map