refactor(monorepo): decouple api and webui into workspaces packages

This commit is contained in:
yiling
2026-06-01 23:35:00 +08:00
parent e3f4fa219e
commit 1f341c15d0
288 changed files with 18024 additions and 21178 deletions
+8
View File
@@ -0,0 +1,8 @@
import { createAuthClient } from 'better-auth/react'
export const authClient = createAuthClient({
// eslint-disable-next-line @typescript-eslint/naming-convention
baseURL: window.location.origin,
})
export const { signIn, signUp, useSession, signOut } = authClient