import { apiRequest } from "@/lib/api/api-service";
import { ApiResponse } from "@/types/api-response";
import { UserResponseDto } from "./types";

/**
 * Users Service - Example Implementation
 * Matches Backend: /api/users/*
 */

const getMe = () => {
  return apiRequest<ApiResponse<UserResponseDto>>({
    url: "/users/me",
    client: "core",
    method: "get",
  });
};

export const usersService = {
  getMe,
};
