UNPKG

better-auth-dashboard

Version:

A better-Auth powered admin dashboard.

9 lines (7 loc) 295 B
import type { BetterAuthClientPlugin } from "better-auth/client"; import type { DashboardPlugin } from "./server"; export const dashboardClientPlugin = () => ({ id: "better-auth-dashboard", $InferServerPlugin: {} as ReturnType<DashboardPlugin>, }) satisfies BetterAuthClientPlugin;