feat(users): enhance user schema and extend service dependencies

Add `email` and `status` fields to user schema for better data handling. Update `UsersService` with new service dependencies (`RbacService`, `MediaService`, `S3Service`, `ConfigService`) for enhanced functionality. Mock dependencies in tests for improved coverage. Adjust user model with optional and extended fields for flexibility. Streamline and update import statements.
This commit is contained in:
Mathis HERRIOT
2026-01-14 21:58:28 +01:00
parent 02d70f27ea
commit 3908989b39
5 changed files with 39 additions and 8 deletions

View File

@@ -1,8 +1,7 @@
"use client";
import { LogIn, User as UserIcon } from "lucide-react";
import { LogIn } from "lucide-react";
import Link from "next/link";
import * as React from "react";
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
import { Button } from "@/components/ui/button";
import { useAuth } from "@/providers/auth-provider";