This is a pretty far-developed starting point. Authentication has been intialized with Better-Auth, a database has been setup with Prisma, and Google + email logins have been enabled, as well as Google + Email registration.
13 lines
164 B
TypeScript
13 lines
164 B
TypeScript
import type { Session, User } from "better-auth";
|
|
|
|
declare global {
|
|
namespace App {
|
|
interface Locals {
|
|
session: Session,
|
|
user: User,
|
|
}
|
|
}
|
|
}
|
|
|
|
export { };
|