BaseUser: BaseEntity & { email: string; roles: Role[] }

Common properties shared by all users.

Type Parameters

  • Role extends string

Type declaration

  • email: string

    The email of the user.

  • roles: Role[]

    The roles of the user.