From af8906b15661bd9052e0c53045692c80460bfe1c Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Thu, 11 Jun 2026 10:09:23 +0200 Subject: [PATCH] fix(admin): commit missing infrastructure-modules types app/api/webhooks/woodpecker/route.ts (committed in 529c37d) imports WoodpeckerWebhookPayload, ExtractedError + BacklogSource from @/types/infrastructure-modules, but that file was never committed. Clean checkouts (Docker build, CI) fail with 'Cannot find module'. Restore the file so the admin build is green again. Pure type declarations, no logic. Co-Authored-By: Claude Opus 4.7 --- .../types/infrastructure-modules.ts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 admin-compliance/types/infrastructure-modules.ts diff --git a/admin-compliance/types/infrastructure-modules.ts b/admin-compliance/types/infrastructure-modules.ts new file mode 100644 index 00000000..ca189c2b --- /dev/null +++ b/admin-compliance/types/infrastructure-modules.ts @@ -0,0 +1,21 @@ +export interface WoodpeckerWebhookPayload { + event: string + repo_id: number + pipeline_number: number + branch?: string + commit?: string + author?: string + message?: string +} + +export interface ExtractedError { + message: string + file_path?: string + service?: string + category: string + step?: string + line?: number + suggested_fix?: string +} + +export type BacklogSource = 'ci_cd' | 'manual' | 'scan'