feat: add prefilling pdf form fields via api

This commit is contained in:
Mythie
2024-04-08 17:01:11 +07:00
parent 48a8f5fe07
commit 08b693ff95
8 changed files with 128 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Document" ADD COLUMN "formValues" JSONB;

View File

@ -257,6 +257,7 @@ model Document {
userId Int
User User @relation(fields: [userId], references: [id], onDelete: Cascade)
authOptions Json?
formValues Json?
title String
status DocumentStatus @default(DRAFT)
Recipient Recipient[]