feat(28-03): add profile navigation link and extend /me with createdAt

Adds Profile link to UserMenu dropdown (above Settings), extends /me
endpoint to return user's createdAt for member-since display, and
updates AuthState interface with optional createdAt field.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-12 17:50:36 +02:00
parent 23692514cb
commit 1b0013422f
3 changed files with 25 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
import { apiDelete, apiGet, apiPost } from "../lib/api";
interface AuthState {
user: { id: string; email?: string } | null;
user: { id: string; email?: string; createdAt?: string } | null;
authenticated: boolean;
}