refactor: remove legacy evaluation route and update user management interfaces

- Deleted the obsolete evaluations route to streamline the API.
- Added User and UserFormData interfaces to admin-client for better user management.
- Updated useUsersManagement hook to utilize adminClient for fetching and creating users, improving data handling.
- Cleaned up unused imports and code for better maintainability.
This commit is contained in:
Julien Froidefond
2025-08-25 08:30:34 +02:00
parent 26496e7473
commit dc06f00342
5 changed files with 27 additions and 97 deletions

View File

@@ -2,7 +2,6 @@ import { NextRequest, NextResponse } from "next/server";
import { cookies } from "next/headers";
import { evaluationService } from "@/services/evaluation-service";
import { userService } from "@/services/user-service";
import { UserProfile, SkillLevel } from "@/lib/types";
const COOKIE_NAME = "peakSkills_userId";