From 2ef24573e25275cdd5be0d72fc0bcaea196a4fed Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 02:01:45 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/lib/docx-pleading.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/docx-pleading.ts b/src/lib/docx-pleading.ts index e6aa9ac..e40e8aa 100644 --- a/src/lib/docx-pleading.ts +++ b/src/lib/docx-pleading.ts @@ -27,8 +27,10 @@ export interface PleadingFootnote { export interface PleadingSignature { /** Multi-line block placed under the signature line (name, bar no., firm, etc.) */ block: string; - /** Optional PNG/JPG bytes of a scanned signature placed above the line */ + /** Optional PNG/JPG bytes of a scanned signature placed above the line (for DOCX) */ imageBytes?: ArrayBuffer | Uint8Array; + /** Same image as a data URL (for PDF generator, which needs a string) */ + imageDataUrl?: string; imageType?: "png" | "jpg" | "jpeg"; }