chat-ui / src /lib /types /User.ts
fredguth's picture
feat openid login with google (#250)
fa3b3b4 unverified
raw history blame
No virus
309 Bytes
import type { ObjectId } from "mongodb";
import type { Timestamps } from "./Timestamps";
export interface User extends Timestamps {
_id: ObjectId;
username?: string;
name: string;
email?: string;
avatarUrl: string;
hfUserId: string;
// Session identifier, stored in the cookie
sessionId: string;
}