fix: envelope numbers and direct templates

This commit is contained in:
David Nguyen
2025-11-09 18:31:16 +11:00
parent 9fd9613076
commit a385a6785b
10 changed files with 300 additions and 154 deletions

View File

@ -16,7 +16,7 @@ export const ZSignEnvelopeFieldValue = z.discriminatedUnion('type', [
}),
z.object({
type: z.literal(FieldType.NUMBER),
value: z.number().nullable(),
value: z.string().nullable(),
}),
z.object({
type: z.literal(FieldType.EMAIL),