UNPKG

@hedystia/better-auth-typeorm

Version:

<div align="center"> <p> <strong>📦 @hedystia/better-auth-typeorm</strong> </p>

12 lines (9 loc) • 399 B
import * as better_auth_adapters from 'better-auth/adapters'; import { DataSource } from 'typeorm'; interface TypeormAdapterOptions { outputDir?: string; migrationsDir?: string; entitiesDir?: string; } declare const typeormAdapter: (dataSource: DataSource, options?: TypeormAdapterOptions) => better_auth_adapters.AdapterFactory; export { type TypeormAdapterOptions, typeormAdapter };