import {rest} from "msw";
import {GET_USER_ROUTE} from "@/core/data/apiRoutes";

export const userHandler = [
    rest.get(GET_USER_ROUTE, (req, res, ctx) => {
        return res(ctx.json({
            data: {
                id: 10,
                full_name: "Witel Company",
                position: "Software Engineer",
                permissions: [
                    "manage_users",
                    "manage_roles",
                    "manage_boss"
                ],
            }
        }))
    }),
]
