feat: checkpoint
This commit is contained in:
11
apps/react/src/stores/user.ts
Normal file
11
apps/react/src/stores/user.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { ContactSchema } from "@spec/schemas/contact.ts";
|
||||
import { NameSchema } from "@spec/schemas/name.ts";
|
||||
import z from "zod";
|
||||
|
||||
export const UserSchema = z.object({
|
||||
id: z.string(),
|
||||
name: NameSchema,
|
||||
contact: ContactSchema,
|
||||
});
|
||||
|
||||
export type User = z.infer<typeof UserSchema>;
|
||||
Reference in New Issue
Block a user