source: src/schemas/models/user.ts@ 87c9f1e

main
Last change on this file since 87c9f1e was 87c9f1e, checked in by Naum Shapkarovski <naumshapkarovski@…>, 5 weeks ago

update the seed script. update the prisma schema, use mapping

  • Property mode set to 100644
File size: 286 bytes
Line 
1import { z } from 'zod';
2import { userSchema, userRoleSchema } from '../user';
3
4export type User = z.infer<typeof userSchema>;
5export type UserRole = z.infer<typeof userRoleSchema>;
6export type NewUser = Omit<User, 'id'>;
7export type UpdateUser = Omit<User, 'id' | 'uid' | 'tenantId'>;
Note: See TracBrowser for help on using the repository browser.