This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: LicenseRef-ConusAI-Template-1.0
|
||||
// The component's database functions over the locally installed schema.
|
||||
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,
|
||||
)
|
||||
Reference in New Issue
Block a user