import { validationRoutes } from "../../routes/validations.js"; import type { ServerModule } from "../index.js"; // Merchant-scan ticket validation as a venue module. Kept for the Bar until a Bar // module absorbs it (wiki/decisions/venue-modules.md, decision 1). The routes // themselves still live in routes/validations.ts (unchanged location, now guarded by // requireModule("validation")); this folder is the registry hook. export const validationModule: ServerModule = { id: "validation", async register(app, { db, eventLog }) { await validationRoutes(app, db, eventLog); }, };