feat: email verification + delete confirmation + smtp/cors/prod hardening

This commit is contained in:
2026-02-09 14:46:49 -06:00
parent 27cc7d159b
commit 9856317641
22 changed files with 896 additions and 58 deletions

View File

@@ -1,7 +1,18 @@
import { useQuery, type UseQueryOptions } from "@tanstack/react-query";
import { http } from "../api/http";
type SessionResponse = { ok: true; userId: string; email: string | null; displayName: string | null };
type SessionResponse = {
ok: true;
userId: string;
email: string | null;
displayName: string | null;
emailVerified: boolean;
updateNotice: {
version: number;
title: string;
body: string;
} | null;
};
type Options = Omit<UseQueryOptions<SessionResponse, Error>, "queryKey" | "queryFn">;