feat(auth): add Discord OAuth sign-in and user timezones

Add persistent user and session storage, protected profile requests, and React sign-in controls. Capture and preserve each user's timezone, and load development and production configuration before migrations and server startup.
This commit is contained in:
syntaxbullet
2026-09-04 08:29:48 +02:00
parent 29bf75760b
commit d3cbf2f7dc
22 changed files with 997 additions and 24 deletions

8
src/shared/user.ts Normal file
View File

@@ -0,0 +1,8 @@
export type PublicUser = {
id: string;
discordId: string;
username: string;
displayName: string;
avatarUrl: string | null;
timezone: string;
};