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 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-06-11 10:09:23 +02:00
parent 7fa9968ce1
commit af8906b156
@@ -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'