main
UI Deploy (Next-Auth Support) 🎨 / build-and-deploy (push) Has been cancelled

This commit is contained in:
Harun CAN
2026-04-05 17:29:01 +03:00
parent 0c29878fb3
commit d8f9865dcf
8 changed files with 96 additions and 139 deletions
+7
View File
@@ -260,6 +260,13 @@ export interface NotificationListResponse {
// ── API Functions ────────────────────────────────────────────────────
export const authApi = {
login: (data: any) =>
apiClient.post('/auth/login', data).then((r) => r.data),
register: (data: any) =>
apiClient.post('/auth/register', data).then((r) => r.data),
};
export const projectsApi = {
list: (params?: { page?: number; limit?: number; status?: string }) =>
apiClient.get<PaginatedResponse<Project>>('/projects', { params }).then((r) => r.data),