forked from mtusi2026/mtusi2026lab5
feat: add rabbitmq broker, outbox relay and worker services
This commit is contained in:
+2
-1
@@ -13,6 +13,7 @@ import { parseJobMessage } from '../src/jobs/job-message';
|
||||
import {
|
||||
JobProcessor,
|
||||
Outcome,
|
||||
ProcessorHooks,
|
||||
ProcessorOptions,
|
||||
processorOptions,
|
||||
} from '../src/jobs/processor';
|
||||
@@ -55,7 +56,7 @@ export async function createTestApp(
|
||||
export async function processAttachment(
|
||||
app: INestApplication,
|
||||
attachmentId: string,
|
||||
hooks: { afterStore?: () => Promise<void> } = {},
|
||||
hooks: ProcessorHooks = {},
|
||||
options: Partial<ProcessorOptions> = {},
|
||||
): Promise<Outcome> {
|
||||
const prisma = app.get(PrismaService);
|
||||
|
||||
Reference in New Issue
Block a user