← back to Marketing Command Center

modules/compose/index.js

14 lines

// Compose — the merged posting panel (Suggested = engine, Manual = composer)
// under a single nav entry. This module is a NO-OP mount that exists only so the
// shell gets a "Compose" nav entry + panel metadata. It owns NO API of its own:
// the front-end panel (public/panels/compose.js) calls the still-mounted
// /api/engine/*, /api/composer/*, and /api/channels/* directly. The engine and
// composer modules therefore stay in registry.js (their routers must remain
// mounted); only their NAV entries are hidden (denylist in public/app.js).
module.exports = {
  id: 'compose',
  title: 'Compose',
  icon: '✍️',
  mount(_router) { /* intentionally empty — no /api/compose/* routes */ },
};