Fix save progress bug
This commit is contained in:
@@ -222,3 +222,10 @@ export const putDraftBodySchema = z.object({
|
||||
payload: createFlowStateSchema,
|
||||
});
|
||||
export type CreateFlowStateValidated = z.infer<typeof createFlowStateSchema>;
|
||||
|
||||
export const magicLinkRequestBodySchema = z.object({
|
||||
email: z.string(),
|
||||
next: z.string().optional(),
|
||||
draft: createFlowStateSchema.optional(),
|
||||
});
|
||||
export type MagicLinkRequestBody = z.infer<typeof magicLinkRequestBodySchema>;
|
||||
|
||||
Reference in New Issue
Block a user