feat: email verification + delete confirmation + smtp/cors/prod hardening
This commit is contained in:
@@ -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">;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user