import api from "./http"; import { AuthResponse, PublicConfig, UserInfo } from "./types"; // ─── Auth API ───────────────────────────────────────────── export const googleLogin = (credential: string) => api.post("/auth/google", { credential }); export const getMe = () => api.get("/auth/me"); export const logoutCleanup = () => api.post("/auth/logout"); export const getPublicConfig = () => api.get("/config/public");