ignore folder

This commit is contained in:
2026-04-21 06:30:48 +07:00
commit ca00b36f19
70 changed files with 3871 additions and 0 deletions

10
services/audit.ts Normal file
View File

@ -0,0 +1,10 @@
import { ApiResponse, AuditItem } from "@/types/api";
import { apiClient } from "./api";
export async function getAudit(limit = 50): Promise<AuditItem[]> {
const response = await apiClient.get<ApiResponse<AuditItem[]>>("/api/audit", {
params: { limit }
});
if (!response.data.success) throw new Error(response.data.message);
return response.data.data;
}