import { events } from "../events.js";
function buildEventMap(defs) {
  const map = {};
  for (const def of defs) {
    const suffix = def.id.replace("progress.job.", "");
    map[`JOB_${suffix.toUpperCase()}`] = def.id;
  }
  return map;
}
const PROGRESS_EVENTS = buildEventMap(events);
export {
  PROGRESS_EVENTS
};
//# sourceMappingURL=events.js.map
