feat: implement profile settings and comprehensive mentor-intern project management system

This commit is contained in:
Kemas M. Aryadary Rasyad
2026-07-10 10:01:25 +07:00
parent 88f457258d
commit 17e3928d35
30 changed files with 302 additions and 278 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import type {
UpdateTaskPayload,
TaskSubmissionData,
} from "../types/task.types";
import type { Project } from "../types/project.types";
import type { InternTaskItem, Project } from "../types/project.types";
import type { MentorTaskItem, AdminTaskDetail } from "../types/task.types";
// ── Task ──────────────────────────────────────────────
@@ -22,7 +22,7 @@ export const createTask = async (
export const getProjectTasks = async (
projectId: string | number
): Promise<ProjectTask[]> => {
): Promise<InternTaskItem[]> => {
const res = await api.get(`/task-api/projects/${projectId}/tasks`);
return res.data.data;
};