Files
OnePieceDle/src/app.d.ts
whidix b45909f86e feat: add user admin status and profile management
- Updated user schema to include isAdmin field.
- Enhanced authentication hooks to fetch and set user admin status.
- Created ProfileButton component for user profile actions.
- Implemented profile and password update functionality.
- Added session management for user accounts.
- Developed login and signup pages with form handling.
- Introduced layout server for user session data.
- Updated daily page to reflect character changes.
2026-03-02 22:00:24 +01:00

13 lines
197 B
TypeScript

import type { User, Session } from 'better-auth/minimal';
declare global {
namespace App {
interface Locals {
user?: User & { isAdmin?: boolean };
session?: Session;
}
}
}
export {};