mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 08:42:12 +10:00
15 lines
411 B
TypeScript
15 lines
411 B
TypeScript
import { z } from 'zod';
|
|
|
|
export const ZUpdateProfileMutationSchema = z.object({
|
|
name: z.string().min(1),
|
|
signature: z.string(),
|
|
});
|
|
|
|
export type TUpdateProfileMutationSchema = z.infer<typeof ZUpdateProfileMutationSchema>;
|
|
|
|
export const ZUpdatePasswordMutationSchema = z.object({
|
|
password: z.string().min(6),
|
|
});
|
|
|
|
export type TUpdatePasswordMutationSchema = z.infer<typeof ZUpdatePasswordMutationSchema>;
|