feat(marketing-pages): bind binders accept (bus, queue) params

This commit is contained in:
2026-05-08 16:05:49 +02:00
parent a9100de052
commit 4e77134ff6
5 changed files with 29 additions and 5 deletions

View File

@@ -6,6 +6,8 @@ import {
type ITracer,
type ILogger,
} from "@repo/core-shared/instrumentation";
import type { IEventBus } from "@repo/core-events";
import type { IJobQueue } from "@repo/core-shared/jobs";
import { marketingPagesContainer } from "./container";
import { MARKETING_PAGES_SYMBOLS } from "./symbols";
import { PagesRepository } from "../infrastructure/repositories/pages.repository";
@@ -19,6 +21,8 @@ export function bindProductionMarketingPages(
config: SanitizedConfig,
tracer: ITracer,
logger: ILogger,
bus: IEventBus,
queue: IJobQueue,
): void {
// Bind shared instrumentation into feature container
if (marketingPagesContainer.isBound(INSTRUMENTATION_SYMBOLS.TRACER)) {
@@ -113,6 +117,10 @@ export function bindProductionMarketingPages(
),
),
);
// bus + queue are accept-and-forward in Phase 6; consumed by Phase 7 generator
// output at the <gen:event-handlers> / <gen:jobs> anchors below.
void bus;
void queue;
// <gen:event-handlers>
// <gen:jobs>
}