From 668abb205bc4ee4697316dd7387608f8b2b90f26 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:00:55 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/lib/docx-pleading.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib/docx-pleading.ts b/src/lib/docx-pleading.ts index e994a14..695d65d 100644 --- a/src/lib/docx-pleading.ts +++ b/src/lib/docx-pleading.ts @@ -23,6 +23,14 @@ export interface PleadingFootnote { text: string; } +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 */ + imageBytes?: ArrayBuffer | Uint8Array; + imageType?: "png" | "jpg" | "jpeg"; +} + export interface PleadingInput { courtType: "CIRCUIT" | "COUNTY"; circuit: string; // e.g. "ELEVENTH" @@ -37,6 +45,7 @@ export interface PleadingInput { footerLeft?: string; footerCenter?: string; footerRight?: string; // user text prepended to "Page X of Y" + signature?: PleadingSignature; } const FONT = "Bookman Old Style";