import { api } from "@/lib/api-client";
import type { StudentProgression } from "@/types/student-progress";
import type { PaginatedResponse, PaginationParams } from "@/types";

export const studentProgressService = {
  async listProgress(params?: PaginationParams): Promise<PaginatedResponse<StudentProgression>> {
    return api.get<PaginatedResponse<StudentProgression>>("/student-progress", params as Record<string, string | number | boolean | undefined>);
  },
};
