mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
14 lines
347 B
TypeScript
14 lines
347 B
TypeScript
import { z } from 'zod';
|
|
|
|
export const ZEarlyAdopterCheckoutMetadataSchema = z.object({
|
|
name: z.string(),
|
|
email: z.string(),
|
|
signatureText: z.string(),
|
|
signatureDataUrl: z.string().optional(),
|
|
source: z.literal('marketing'),
|
|
});
|
|
|
|
export type TEarlyAdopterCheckoutMetadataSchema = z.infer<
|
|
typeof ZEarlyAdopterCheckoutMetadataSchema
|
|
>;
|