- Updated various dependencies in package.json and bun.lock for better compatibility and features. - Added OLM (Object Location Management) support by including necessary files and updating authentication logic. - Enhanced the authentication flow with better error handling and user feedback. - Introduced new database schema for OLM accounts and updated related API components. - Improved socket connection management and user interface elements for a smoother user experience.
13 lines
No EOL
266 B
TypeScript
13 lines
No EOL
266 B
TypeScript
import { createApi } from "@convex-dev/better-auth";
|
|
import { createAuthOptions } from "../auth";
|
|
import schema from "./schema";
|
|
|
|
export const {
|
|
create,
|
|
findOne,
|
|
findMany,
|
|
updateOne,
|
|
updateMany,
|
|
deleteOne,
|
|
deleteMany,
|
|
} = createApi(schema, createAuthOptions); |