Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
export const UserViewModelSchema = z.object({
id: z.string().uuid(),
name: z.string(),
lastName: z.string(),
login: z.string(),
isActive: z.boolean(),
loyaltyPoints: z.number(),
address: AddressViewModelSchema.nullable(),
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment