- Add Superforms + Zod 4 for all admin form validation - Replace address isDefault with three separate boolean defaults (Mailing, Billing, Shipping) - Update profiles page with three-checkbox address form and toast improvements - Convert all admin page server actions to pass request directly to crud - Export superFormErrorsToFieldErrors helper for profiles server actions - Regenerate Prisma client for new schema fields
13 lines
177 B
TypeScript
13 lines
177 B
TypeScript
import type { Session, User } from 'better-auth';
|
|
|
|
declare global {
|
|
namespace App {
|
|
interface Locals {
|
|
session: Session | null;
|
|
user: User | null;
|
|
}
|
|
}
|
|
}
|
|
|
|
export {};
|