/**
 * Type augmentation for nuxt-auth-utils UserSession
 *
 * Extends the User type with additional properties from our database schema
 */

declare module '#auth-utils' {
  interface User {
    id: string
    experimentaId: string | null
    email: string
    firstName: string
    lastName: string
    salutation: 'male' | 'female' | 'other' | null
    dateOfBirth: Date | string | null
    street: string | null
    postCode: string | null
    city: string | null
    countryCode: string | null
  }

  interface UserSession {
    user: User
    accessToken?: string
    loggedInAt?: string
  }
}

export {}
