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"; }