api ulangan

This commit is contained in:
Samandar Turgunboyev
2025-12-22 19:03:57 +05:00
parent fd397b670b
commit 7f2fe3868b
121 changed files with 12636 additions and 5528 deletions

View File

@@ -0,0 +1,11 @@
import type { StatisticResponse } from "@/features/home/lib/type";
import httpClient from "@/shared/config/api/httpClient";
import { API_URLS } from "@/shared/config/api/URLs";
import type { AxiosResponse } from "axios";
export const statisticApi = {
async fetchStatistics(): Promise<AxiosResponse<StatisticResponse>> {
const response = await httpClient.get(API_URLS.Statistica);
return response.data;
},
};