Add better-auth integration and update dependencies in package.json and bun.lock

This commit is contained in:
2025-10-22 15:13:34 -03:00
parent 9f251b1bc4
commit 577261bf67
22 changed files with 2592 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
import { createApi } from "@convex-dev/better-auth";
import schema from "./schema";
import { createAuth } from "../auth";
export const {
create,
findOne,
findMany,
updateOne,
updateMany,
deleteOne,
deleteMany,
} = createApi(schema, createAuth);