UNPKG

@convex-dev/better-auth

Version:
14 lines (12 loc) 269 B
import { createApi } from "../client/index.js"; import { options } from "../auth-options.js"; import schema from "./schema.js"; export const { create, findOne, findMany, updateOne, updateMany, deleteOne, deleteMany, } = createApi(schema, () => options);