Spaces:
Running
Running
File size: 282 Bytes
e4a770a |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import type { ObjectId } from "bson";
import type { Timestamps } from "./Timestamps";
import type { User } from "./User";
export interface Session extends Timestamps {
_id: ObjectId;
sessionId: string;
userId: User["_id"];
userAgent?: string;
ip?: string;
expiresAt: Date;
}
|