Skip to content
Migrating from NextAuth.js v4? Read our migration guide.

lib/utils

DefaultSchema<Flavor>

type DefaultSchema<Flavor> = Flavor extends AnyMySqlDatabase ? DefaultMySqlSchema : Flavor extends AnyPostgresDatabase ? DefaultPostgresSchema : Flavor extends AnySQLiteDatabase ? DefaultSQLiteSchema : never;

Type Parameters

Type Parameter
Flavor extends SqlFlavorOptions

SqlFlavorOptions

type SqlFlavorOptions = AnyPostgresDatabase | AnyMySqlDatabase | AnySQLiteDatabase;
Auth.js © Balázs Orbán and Team - 2025