UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

8 lines (7 loc) 444 B
import { DBFieldAttribute } from "@better-auth/core/db"; //#region src/db/field-converter.d.ts declare function convertToDB<T extends Record<string, any>>(fields: Record<string, DBFieldAttribute>, values: T): T; declare function convertFromDB<T extends Record<string, any>>(fields: Record<string, DBFieldAttribute>, values: T | null): T | null; //#endregion export { convertFromDB, convertToDB }; //# sourceMappingURL=field-converter.d.mts.map