UNPKG

@hedystia/better-auth-typeorm

Version:

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

9 lines (6 loc) • 330 B
import { DataSource } from 'typeorm'; import { BetterAuthOptions, Adapter } from 'better-auth/types'; export { migrations } from './migrations/index.js'; export { entities } from './entities/index.js'; declare const typeormAdapter: (dataSource: DataSource) => (options: BetterAuthOptions) => Adapter; export { typeormAdapter };