feat[convex]: api key auth support

This commit is contained in:
2025-10-20 00:17:41 +00:00
parent a4544a3f09
commit d0893e13be
7 changed files with 80 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
import { createClient, type GenericCtx } from "@convex-dev/better-auth"
import { convex, crossDomain } from "@convex-dev/better-auth/plugins"
import { betterAuth } from "better-auth"
import { components } from "@fileone/convex/api"
import type { DataModel } from "@fileone/convex/dataModel"
import { betterAuth } from "better-auth"
import authSchema from "./betterauth/schema"
const siteUrl = process.env.SITE_URL!