UNPKG

better-auth-cloudflare

Version:

Seamlessly integrate better-auth with Cloudflare Workers, D1, Hyperdrive, KV, R2, and geolocation services.

10 lines (9 loc) 358 B
import type { AuthPluginSchema } from "better-auth"; import type { CloudflarePluginOptions } from "./types"; /** * Generates database schema for Cloudflare plugin * * @param options - Plugin configuration * @returns Schema with geolocation fields and file tracking */ export declare const schema: (options: CloudflarePluginOptions) => AuthPluginSchema;