// auth/types/request-user.type.ts

import { User, Role, Branch } from 'generated/prisma/client';

export type RequestUser = Omit<User, 'hash'> & {
    role: Role | null;
    branches: {
        branchId: string;
        userId: string;
        branch: Branch;
    }[];
};