Add session store for authentication

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/4f110557-7f62-4ff3-8a36-35e08e9379c0.jpg
This commit is contained in:
alphaeusmote
2025-04-08 20:53:33 +00:00
parent 589fa3cc8d
commit 69c5c814a7
+3
View File
@@ -32,6 +32,9 @@ const pool = new Pool({
const PostgresStore = connectPg(session);
export interface IStorage {
// Session store for authentication
sessionStore: session.Store;
// User management
getUser(id: number): Promise<User | undefined>;
getUserByUsername(username: string): Promise<User | undefined>;